Starts level 3 and 4
176217
private void startLevel34Containers() {
    level3 = start(new PlatformLevel3(level2));
    level4 = start(new PlatformLevel4(level3, level4AddedComponents));
  }
589301
def on_train_begin(self, n_epochs:int, epoch:int, **kwargs:Any)->None:
        ""
        res = {'epoch':self.start_epoch} if self.start_epoch is not None else None
        self.start_epoch = ifnone(self.start_epoch, epoch)
        self.tot_epochs = ifnone(self.tot_epochs, n_epochs)
        n = len(self.learn.data.train_dl) * self.tot_epochs
        a1 = int(n * self.pct_start)
        a2 = n-a1
        self.phases = ((a1, annealing_cos), (a2, annealing_cos))
        low_lr = self.lr_max/self.div_factor
        self.lr_scheds = self.steps((low_lr, self.lr_max), (self.lr_max, self.lr_max/self.final_div))
        self.mom_scheds = self.steps(self.moms, (self.moms[1], self.moms[0]))
        self.opt = self.learn.opt
        self.opt.lr,self.opt.mom = self.lr_scheds[0].start,self.mom_scheds[0].start
        self.idx_s = 0
        return res
613784
protected void createDefaultLevels() {
        this.listLevels = new ArrayList();	// listlevels
        for(int i=0; i<=8; i++) {
            // create a list level
            RtfListLevel ll = new RtfListLevel(this.document);
            ll.setListType(RtfListLevel.LIST_TYPE_NUMBERED);
        	ll.setFirstIndent(0);
        	ll.setLeftIndent(0);
        	ll.setLevelTextNumber(i);
            ll.setTentative(true);
            ll.correctIndentation();
            this.listLevels.add(ll);
        }

    }
674976
function setLogLevel(level){

    level = level > 0 ? level : 0;
    level = level < 4 ? level : 4;
    level = parseInt(level);
    
    logLevel = level; 

}
638628
function startTable()
    {
        $this->CurrentStackNumber += 1;
        $this->DocumentStack[$this->CurrentStackNumber]['Type'] = 'table';
        $this->DocumentStack[$this->CurrentStackNumber]['CurrentRow'] = 0;
        $this->DocumentStack[$this->CurrentStackNumber]['CurrentCell'] = 0;
        $this->DocumentStack[$this->CurrentStackNumber]['ChildArray'] = array();
    }
1179559
public void increment(int level) {
		assert level >= 1;
		if (this.numbers.size() < level) {
			do {
				this.numbers.addLast(0);
			} while (this.numbers.size() < level);
		} else if (this.numbers.size() > level) {
			do {
				this.numbers.removeLast();
			} while (this.numbers.size() > level);
		}
		assert this.numbers.size() == level;
		final int previousSection = this.numbers.removeLast();
		this.numbers.addLast(previousSection + 1);
	}
951793
def starts(self, layer):
        """"""
        starts = []
        for data in self[layer]:
            starts.append(data[START])
        return starts
769616
function start( next ) {
	/* jshint validthis:true */
	cnt += 1;

	this.rid = process.pid + ':' + cnt;

	this.start = null;
	this.end = null;
	this.timer = null;

	this.req = {
		'opts': this._opts,
		'body': this._body
	};
	this.res = {
		'status': null,
		'headers': null,
		'body': null,
		'bytes': 0
	};

	next();
}
1109081
private void setRunLevel(int level) {

        if (m_instance != null) {
            if (m_instance.m_runLevel >= OpenCms.RUNLEVEL_1_CORE_OBJECT) {
                // otherwise the log is not available
                if (CmsLog.INIT.isInfoEnabled()) {
                    CmsLog.INIT.info(
                        Messages.get().getBundle().key(
                            Messages.INIT_RUNLEVEL_CHANGE_2,
                            new Integer(m_instance.m_runLevel),
                            new Integer(level)));
                }
            }
            m_instance.m_runLevel = level;
        }
    }
734378
def _prepare_first_step(self):
        """"""
        if self.townhalls:
            self._game_info.player_start_location = self.townhalls.first.position
        self._game_info.map_ramps = self._game_info._find_ramps()
1226632
private final void step4() {
		switch (b[k]) {
		case 'e':
			if (ends("icate")) {
				r("ic");
				break;
			}
			if (ends("ative")) {
				r("");
				break;
			}
			if (ends("alize")) {
				r("al");
				break;
			}
			break;
		case 'i':
			if (ends("iciti")) {
				r("ic");
				break;
			}
			break;
		case 'l':
			if (ends("ical")) {
				r("ic");
				break;
			}
			if (ends("ful")) {
				r("");
				break;
			}
			break;
		case 's':
			if (ends("ness")) {
				r("");
				break;
			}
			break;
		}
	}
644233
def on_train_begin(self, **kwargs: Any) -> None:
        ""
        self.path.parent.mkdir(parents=True, exist_ok=True)      
        self.file = self.path.open('a') if self.append else self.path.open('w')
        self.file.write(','.join(self.learn.recorder.names[:(None if self.add_time else -1)]) + '\n')
685526
protected function initThreshold()
	{
		switch ($this->thresholdPolicy) {
			case self::THRESHOLD_TWO_THIRD :
				$this->clientOptions['threshold'] = ceil($this->options['maxlength'] / 3);
				break;
			case self::THRESHOLD_THREE_QUARTERS :
				$this->clientOptions['threshold'] =  ceil($this->options['maxlength'] / 4);
				break;
			default:
				$this->clientOptions['threshold'] = ceil($this->options['maxlength'] / 2);
				break;
		}
	}
553927
public function begin()
    {
        if (!$this->_transactionStarted) {
            if ($this->_logQueries) {
                $this->log('BEGIN');
            }

            $this->getDisconnectRetry()->run(function () {
                $this->_driver->beginTransaction();
            });

            $this->_transactionLevel = 0;
            $this->_transactionStarted = true;
            $this->nestedTransactionRollbackException = null;

            return;
        }

        $this->_transactionLevel++;
        if ($this->isSavePointsEnabled()) {
            $this->createSavePoint((string)$this->_transactionLevel);
        }
    }
760870
protected function step4()
    {
        switch ($this->b[$this->k-1]) {
            case 'a':
                if ($this->ends("al",2))
                    break;

                return;
            case 'c':
                if ($this->ends("ance",4))
                    break;
                if ($this->ends("ence",4))
                    break;

                return;
            case 'e':
                if ($this->ends("er",2))
                    break;

                return;
            case 'i':
                if ($this->ends("ic",2))
                    break;

                return;
            case 'l':
                if ($this->ends("able",4))
                    break;
                if ($this->ends("ible",4))
                    break;

                return;
            case 'n':
                if ($this->ends("ant",3))
                    break;
                if ($this->ends("ement",5))
                    break;
                if ($this->ends("ment",4))
                    break;
                if ($this->ends("ent",3))
                    break;

                return;
            case 'o':
                if ($this->ends("ion",3) && ($this->b[$this->j] === 's' || $this->b[$this->j] === 't'))
                    break;
                if ($this->ends("ou",2))
                    break;

                return;
                /* takes care of -ous */
            case 's':
                if ($this->ends("ism",3))
                    break;

                return;
            case 't':
                if ($this->ends("ate",3))
                    break;
                if ($this->ends("iti",3))
                    break;

                return;
            case 'u':
                if ($this->ends("ous",3))
                    break;

                return;
            case 'v':
                if ($this->ends("ive",3))
                    break;

                return;
            case 'z':
                if ($this->ends("ize",3))
                    break;

                return;
            default:
                return;
        }
        if ($this->m() > 1) $this->k = $this->j;
    }
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);
}
184318
public synchronized void endInit() {
		if (win == null) return;
		progressText.setText("Starting framework...");
		progressBar.setMinimum(0);
		progressBar.setMaximum(10050);
		progressBar.setValue(50);
		bottom.invalidate();
	}