senslist : AT LPAREN levelsigs RPAREN
551148
def p_sens_level_paren(self, p):
        ''
        p[0] = SensList(p[3], lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))
173685
def cli(context, verbose, quiet, database, sense):
    """"""
    logger = logging.getLogger()
    handler = logging.StreamHandler(sys.stderr)
    handler.setFormatter(LevelFormatter())
    logger.addHandler(handler)
    logger.setLevel(logging.WARNING + (quiet-verbose)*10)
    logging.debug(_('Subcommand: %s'), context.invoked_subcommand)
    context.obj['database'] = Database(database)
    try:
        context.obj['sense'] = SenseWithExport(sense).__enter__()
    except Exception:
        pass
657646
def p_negedgesig(self, p):
        ''
        p[0] = Sens(p[2], 'negedge', lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))
1217404
def set_objective_sense(self, sense):
        """"""
        if sense == ObjectiveSense.Minimize:
            self._cp.objective.set_sense(self._cp.objective.sense.minimize)
        elif sense == ObjectiveSense.Maximize:
            self._cp.objective.set_sense(self._cp.objective.sense.maximize)
        else:
            raise ValueError('Invalid objective sense')
1145351
function loadLevel(
  {
    number,
    description,
    tip,
    clue,
    floor: { size, stairs, warrior, units = [] },
  },
  playerCode,
) {
  const { width, height } = size;
  const stairsLocation = [stairs.x, stairs.y];
  const floor = new Floor(width, height, stairsLocation);

  loadWarrior(warrior, floor, playerCode);
  units.forEach(unit => loadUnit(unit, floor));

  return new Level(number, description, tip, clue, floor);
}
1120778
public void setLevel(int v) {
    if (ListItem_Type.featOkTst && ((ListItem_Type)jcasType).casFeat_level == null)
      jcasType.jcas.throwFeatMissing("level", "de.julielab.jules.types.ListItem");
    jcasType.ll_cas.ll_setIntValue(addr, ((ListItem_Type)jcasType).casFeatCode_level, v);}
903880
def ustep(self):
        """"""

        self.U += self.rsdl_r(self.AX, self.Y)
31266
function(oList, iLevel){
		oList._iLevel = iLevel;
		var aLists = oList.getSubLists();
		for (var i = 0; i < aLists.length; i++) {
			setLevel(aLists[i], iLevel + 1);
		}
	}
1112511
function handleTouchStart(sense, evt) {
        //a4p.InternalLog.log('a4p.Sense ' + sense.name + ' ' + sense.state, 'handleTouchStart');
        sense.timeStamp = (new Date()).getTime();
        sense.inTouchMove = false;
        sense.evtHandled = false;
        sense.evtTriggered = false;
        if (sense.fingers.length <= 0) {
            bindOnTouchOther(sense);
        }
        onTouchStart[sense.state].call(sense, evt);
        if (sense.evtTriggered) {
            if (!sense.options.defaultAction) preventDefault(evt);
            if (!sense.options.bubble) stopPropagation(evt);
        }
        return !sense.options.defaultAction;
    }
918378
def sens_from_spec(spec, labels, scores, *args, **kwargs):
    
    """
    thresh = thresh_from_spec(spec, labels, scores)
    df = pd.DataFrame(list(zip(labels, scores[scores > thresh].astype(int))))
    c = Confusion(df, *args, **kwargs)
    return c._binary_sensitivity
474239
private void touchFixed() {
        assert this.dense;
        assert this.level == 0;
        assert this.schedule;
        while (this.touched < this.trail.size()) {
            final int lit = this.trail.get(this.touched++);
            assert val(lit) > 0;
            assert var(lit).level() == 0;
            final CLOccs os = occs(lit);
            for (final CLClause c : os) {
                for (int i = 0; i < c.lits().size(); i++) {
                    final int other = c.lits().get(i);
                    if (val(other) == VALUE_TRUE) { continue; }
                    assert other != lit;
                    touch(other);
                }
            }
        }
    }
971672
public void setLevel(Level level)
  {
    _level = level;

    if (level.intValue() < _lowLevel.intValue())
      _lowLevel = level;
  }
480541
private void triggerResolveInit() {
        Iterator<TransportResolverListener> iter = getListenersList().iterator();
        while (iter.hasNext()) {
            TransportResolverListener trl = iter.next();
            if (trl instanceof TransportResolverListener.Resolver) {
                TransportResolverListener.Resolver li = (TransportResolverListener.Resolver) trl;
                li.init();
            }
        }
    }
998390
function () {
            if (!this.coords.w_rs) {
                return;
            }

            this.labels.p_min = this.labels.w_min / this.coords.w_rs * 100;
            this.labels.p_max = this.labels.w_max / this.coords.w_rs * 100;
        }
589180
function addNestedLevelProps(childNode, level) {
  let currentLevel = level;

  if (childNode.tagName) {
    childNode.level = currentLevel;
  }

  return currentLevel;
}
1369717
def p_sens_all(self, p):
        ''
        p[0] = SensList(
            (Sens(None, 'all', lineno=p.lineno(1)),), lineno=p.lineno(1))
        p.set_lineno(0, p.lineno(1))
602081
function(content, opts, onOk, oncancel) {
        Dialog.setup('prompt', content, opts, onOk, oncancel);
      }