content
stringlengths
263
5.24M
pred_label
stringclasses
1 value
pred_score_pos
float64
0.6
1
<div class="element-fields element-eyes"> <?php echo $form->hiddenInput($element, 'eye_id', false, array('class' => 'sideField')); ?> <?php foreach (array('left' => 'right', 'right' => 'left') as $page_side => $eye_side) : ?> <div class="js-element-eye <?= $eye_side ?>-eye column <?= $page_side ?> <...
__label__POS
0.963552
<?php if (! function_exists('markdown')) { /** * Compile the given text to markdown document. * * @param string $text * @return string */ function markdown($text) { return app(App\Services\Markdown::class)->text($text); } } if (! function_exists('icon')) { /** ...
__label__POS
0.976752
#!/usr/local/bin/luatrace -s trace_codename = function(codename, callback) local debugid = trace.debugid(codename) if debugid ~= 0 then trace.single(debugid,callback) else printf("WARNING: Cannot locate debugid for '%s'\n", codename) end end initial_timestamp = 0 get_prefix = function(buf) if initial_timesta...
__label__POS
0.650745
#!/usr/local/bin/luatrace -s trace_codename = function(codename, callback) local debugid = trace.debugid(codename) if debugid ~= 0 then trace.single(debugid,callback) else printf("WARNING: Cannot locate debugid for '%s'\n", codename) end end initial_timestamp = 0 workqueue_ptr_map = {}; get_prefix = function(...
__label__POS
0.876363
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', function (Blueprint $table) { ...
__label__POS
0.940714
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateCommentsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('comments', function (Blueprint $table) { ...
__label__POS
0.928973
<?php namespace App\Providers; use Illuminate\Routing\Router; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to the controller routes in your routes file. * * In addition, it ...
__label__POS
0.864938
<?php namespace App\Transformers; use App\Comment; use Appkr\Api\TransformerAbstract; ; use League\Fractal\ParamBag; class CommentTransformer extends TransformerAbstract { /** * List of resources possible to include using url query string. * e.g. collection case -> ?include=comments:limit(5|1):order(c...
__label__POS
0.611177
<?php namespace App\Transformers; use App\Article; use Appkr\Api\TransformerAbstract; use League\Fractal\ParamBag; class ArticleTransformer extends TransformerAbstract { /** * List of resources possible to include using url query string. * e.g. collection case -> ?include=comments:limit(5|1):order(crea...
__label__POS
0.896035
<?php namespace App\Transformers; use App\Tag; use Appkr\Api\TransformerAbstract; use League\Fractal\ParamBag; class TagTransformer extends TransformerAbstract { protected $availableIncludes = ['articles']; /** * Transform single resource. * * @param \App\Tag $tag * @return array ...
__label__POS
0.854066
<?php namespace App\Transformers; use App\User; use Appkr\Api\TransformerAbstract; use League\Fractal\ParamBag; class UserTransformer extends TransformerAbstract { /** * List of resources possible to include using url query string. * e.g. collection case -> ?include=comments:limit(5|1):order(created_at...
__label__POS
0.81033
<?php namespace App\Reporters; class MonologSlackReport { /** * @var \Monolog\Logger */ protected $logger; public function __construct() { $this->createLogger(); } /** * Send slack report. * * @param \Exception $e * @return mixed */ public funct...
__label__POS
0.77228
<?php namespace App\Listeners; use App\Comment; class CommentsHandler { protected $to = []; /** * Handle the event. * * @param \App\Comment $comment */ public function handle(Comment $comment) { if ($comment->commentable->notification) { // get the Article aut...
__label__POS
0.973458
<?php namespace App\Repositories; use Cache; use Exception; use File; use Illuminate\Database\Eloquent\Model; use Image; abstract class MarkdownRepository implements RepositoryInterface { /** * @var \Illuminate\Database\Eloquent\Model */ protected $model; /** * @var string Directory name,...
__label__POS
0.816847
<?php namespace App\Console; use Illuminate\Console\Scheduling\Schedule; use Illuminate\Foundation\Console\Kernel as ConsoleKernel; class Kernel extends ConsoleKernel { /** * The Artisan commands provided by your application. * * @var array */ protected $commands = [ \App\Console\...
__label__POS
0.833895
<?php namespace App\Services; use ParsedownExtra; class Markdown extends ParsedownExtra { // Pattern to search for 'article#000, ArTicle#00, A#0, a#00, ...' mention const PATTERN_ARTICLE = '/(article|a)(\#|\@|\:\:)(?P<id>\d+)/i'; const PATTERN_REMOVE = '/<!--\s?@start\s?-->[\w\W\d\D]+<!--\s?@end\s?-->/...
__label__POS
0.602072
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Routing\Middleware\ThrottleRequests; class ThrottleApiRequests extends ThrottleRequests { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param int $maxAttempt...
__label__POS
0.969798
<?php namespace App\Http\Requests; class FilterArticlesRequest extends Request { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the reque...
__label__POS
0.751643
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; abstract class Request extends FormRequest { /** * Determine if the request is update * * @return bool */ protected function isUpdate() { $needle = ['put', 'patch']; return in_array(strtolo...
__label__POS
0.993993
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use Password; class PasswordsController extends Controller { /** * Create new password controller instance. */ public function __construct() { $this->middleware('guest'); parent::__construct(); ...
__label__POS
0.906037
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Http\Request; use Laravel\Socialite\Contracts\Factory as Socialite; class SocialController extends Controller { /** * @var Factory */ private $socialite; /** * Create social login controller instance. * * @param ...
__label__POS
0.919497
<?php namespace App\Http\Controllers; use App\Article; use App\Events\ArticleConsumed; use App\Events\ModelChanged; use App\Http\Requests\ArticlesRequest; use App\Http\Requests\FilterArticlesRequest; use App\Tag; use Illuminate\Database\Eloquent\Collection; use Illuminate\Http\Request; use Illuminate\Pagination\Lengt...
__label__POS
0.849001
<?php namespace App\Http\Controllers; use App\Comment; use App\Vote; use App\Events\ModelChanged; use Illuminate\Http\Request; class CommentsController extends Controller { public function __construct() { $this->middleware('auth'); $this->middleware('author:comment', ['except' => ['store', 'v...
__label__POS
0.69916
<?php namespace App\Http\Controllers; use App\User; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; class UsersController extends Controller { /** * Create user controller instance. */ public function __construct() { $this->middleware('guest'); paren...
__label__POS
0.705513
<?php namespace App\Http\Controllers; use App\Document; use App\Repositories\LessonRepository; use Request; class LessonsController extends Controller { /** * @var \App\Repositories\LessonRepository */ protected $repo; /** * Constructor. * * @param \App\Repositories\LessonReposi...
__label__POS
0.904296
<?php namespace App\Http\Controllers; class WelcomeController extends Controller { /** * Constructor. */ public function __construct() { $this->middleware('auth', ['only' => ['home']]); parent::__construct(); } /** * Get the index page * * @return \Illumi...
__label__POS
0.989287
<?php namespace App\Http\Controllers; use Auth; use Illuminate\Contracts\Validation\Validator; use Illuminate\Http\Request; class SessionsController extends Controller { /** * Create a new session controller instance. */ public function __construct() { $this->middleware('guest', ['excep...
__label__POS
0.875511
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\UsersController as ParentController; use App\User; use Illuminate\Contracts\Validation\Validator; class UsersController extends ParentController { public function __construct() { // Kill middleware defined by ParentController. ...
__label__POS
0.98073
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\SessionsController as ParentController; use Illuminate\Contracts\Validation\Validator; class SessionsController extends ParentController { public function __construct() { // Kill middleware defined by ParentController. // $thi...
__label__POS
0.958762
<?php namespace App\Http\Controllers\Api\V1; use App\Article; use App\Transformers\ArticleTransformer; use App\Http\Controllers\ArticlesController as ParentController; use Illuminate\Database\Eloquent\Collection; use Illuminate\Pagination\LengthAwarePaginator; class ArticlesController extends ParentController { ...
__label__POS
0.939834
<?php namespace Test\Http\Controllers; class SessionsController extends AuthTest { public function setUp() { parent::setUp(); $this->createTestStub(); } /** @test */ public function it_logs_a_user_in() { $this->login() ->see(trans('auth.welcome', ['name' =>...
__label__POS
0.953427
<?php namespace Test\Http\Controllers\Api; use App\Article; use App\Attachment; use App\Comment; use App\User; use Bican\Roles\Models\Role; use Illuminate\Foundation\Testing\DatabaseTransactions; class ApiTest extends \TestCase { use DatabaseTransactions; /** * The base URL to use while testing the app...
__label__POS
0.85788
<?php namespace Test\Http\Controllers\Api; use Teapot\StatusCode\All as StatusCode; class SessionsController extends ApiTest { /** @test */ public function it_respond_token_when_user_login() { $this->createUserStub() ->login() ->seeStatusCode(StatusCode::CREATED) ...
__label__POS
0.759528
# Copyright © 2023 Apple Inc. """Segment-tree library.""" from typing import Callable, Generic, Optional, TypeVar import numpy as np T = TypeVar("T") # TODO(tlu7): Add negative number support. class SegmentTree(Generic[T]): """Implements a segment tree data structure for efficient range queries (sum, min, max...
__label__POS
0.696258
<?php /** */ class m140624_162708_oe4282_change_types extends OEMigration { // This is a hash-of-list of table to affected columns which are // currently VARCHAR(4096) and should be TEXT. It's mainly here so // down() can revert the change. private static $CHANGES = array( 'et_ophtroperationn...
__label__POS
0.854428
<?php class m160217_103151_nod_export extends CDbMigration { public function up() { $this->addColumn('et_ophtroperationnote_cataract', 'pupil_size', 'VARCHAR(10)'); $this->addColumn('et_ophtroperationnote_cataract_version', 'pupil_size', 'VARCHAR(10)'); $cataracts = $this->getDbConnect...
__label__POS
0.993221
<?php class m140812_111740_fix_db_schema extends CDbMigration { public function up() { $this->dropForeignKey('et_ophtroperationnote_trabeculectomy_size_id_fk', 'et_ophtroperationnote_trabeculectomy'); $this->dropForeignKey('et_ophtroperationnote_trabeculectomy_site_id_fk', 'et_ophtroperationnot...
__label__POS
0.999186
<?php class m190325_111457_add_ophtr_operationnote_generic_procedure_comments_default_text extends OEMigration { public function up() { $this->createOETable('ophtroperationnote_generic_procedure_data', [ 'id' => 'pk', 'proc_id' => 'int(10) unsigned NOT NULL UNIQUE', ...
__label__POS
0.81869
/* * AppleCommander - An Apple ][ image utility. * Copyright (C) 2002-2022 by Robert Greene * robgreene at users.sourceforge.net * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either...
__label__POS
0.924454
<?php class m170509_120816_add_defaults_to_eye_id extends OEMigration { public function up() { $this->alterColumn('et_ophciexamination_cxl_history', 'eye_id', 'int(11) DEFAULT 3'); $this->alterColumn('et_ophciexamination_cxl_outcome', 'eye_id', 'int(11) DEFAULT 3'); $this->alterColumn(...
__label__POS
0.988432
{#job_id=0?: <TABLE CLASS="list" SUMMARY="Job List"> <THEAD> <TR><TH>ID</TH><TH>Name</TH><TH>User</TH><TH>Size</TH><TH>Pages</TH><TH>State</TH><TH>Control</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({phone}):}&nbsp;</TD> <TD>{?job_name=...
__label__POS
0.77048
<?php class m171026_084312_add_FKs_to_examination_cxl_tables extends OEMigration { public function up() { // et_ophciexamination_cxl_history $this->addForeignKey('et_ophciexamination_cxl_history_event', 'et_ophciexamination_cxl_history', 'event_id', 'event', 'id'); $this->alterColumn('e...
__label__POS
0.792389
<H2 CLASS="title">Change Settings</H2> <P><IMG SRC="data:image/gif;base64,R0lGODlhEAAQAIQAAP///wAAAPDw8IqKiuDg4EZGRnp6egAAAFhYWCQkJKysrL6+vhQUFJycnAQEBDY2NmhoaP///////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQABQD/ACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQ...
__label__POS
0.967628
BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:-//calendarserver.org//Zonal//EN BEGIN:VTIMEZONE TZID:Russia Time Zone 3 X-LIC-LOCATION:Russia Time Zone 3 BEGIN:STANDARD DTSTART:19190701T032020 RDATE:19190701T032020 TZNAME:+03 TZOFFSETFROM:+032020 TZOFFSETTO:+0300 END:STANDARD BEGIN:STANDARD DTSTART:19300621T0000...
__label__POS
0.609403
<h2>Operation Report</h2> <div class="row divider"> <?php $form = $this->beginWidget('BaseEventTypeCActiveForm', array( 'id' => 'module-report-form', 'enableAjaxValidation' => false, 'layoutColumns' => array('label' => 2, 'field' => 10), 'action' => Yii::app()->createUrl('/' . $this...
__label__POS
0.968901
#include "FlyWord.h" FlyWord* FlyWord::create(const char *word,const int fontSize,CCPoint begin){ FlyWord* ret = new FlyWord(); //дȫһЩ if(ret && ret->init(word,fontSize,begin)){ ret->autorelease(); return ret; } CC_SAFE_DELETE(ret);//ȫɾ return nullptr; } bool FlyWord::init(const char *word,const int fontSiz...
__label__POS
0.94881
package com.appium.tests; import com.appium.config.JSonParser; import com.appium.config.UserCredentials; import com.appium.manager.AppiumDriverManager; import com.appium.pages.LoginPage; import org.json.simple.JSONObject; import org.testng.Assert; import java.io.IOException; /** * Created by saikrisv on 26/06/16. ...
__label__POS
0.996069
package com.appium.tests; import com.annotation.values.Author; import com.appium.config.UserCredentials; import com.appium.manager.AppiumDriverManager; import com.appium.pages.AccountsPage; import com.appium.pages.LoginPage; import org.testng.Assert; import org.testng.annotations.BeforeMethod; import org.testng.annota...
__label__POS
0.617334
package com.appium.tests; import com.appium.config.UserCredentials; import com.appium.manager.AppiumDriverManager; import com.appium.pages.LoginPage; import com.appium.pages.PostPage; import org.testng.Assert; import org.testng.annotations.Test; import java.io.IOException; public class WritePostTest { LoginPage...
__label__POS
0.944334
package com.appium.pages; import com.appium.config.CommonAppiumTest; import com.appium.config.DeviceInterface; import com.appium.config.ViewFactory; import com.appium.page.objects.ViewSitePageObject; import io.appium.java_client.AppiumDriver; import org.openqa.selenium.WebElement; import io.appium.java_client.pagefact...
__label__POS
0.99424
package com.appium.pages; import com.appium.config.CommonAppiumTest; import com.appium.config.DeviceInterface; import com.appium.config.ViewFactory; import com.appium.manager.ScreenShotManager; import com.appium.page.objects.WelcomePageObjects; import io.appium.java_client.AppiumDriver; import org.openqa.selenium.By; ...
__label__POS
0.677662
package com.appium.pages; import com.appium.config.CommonAppiumTest; import com.appium.config.DeviceInterface; import com.appium.config.ViewFactory; import com.appium.page.objects.PostPageObjects; import io.appium.java_client.AppiumDriver; import org.openqa.selenium.WebElement; import io.appium.java_client.pagefactory...
__label__POS
0.826176
package com.appium.pages; import com.appium.config.CommonAppiumTest; import com.appium.config.DeviceInterface; import com.appium.config.ViewFactory; import com.appium.manager.ScreenShotManager; import com.appium.page.objects.CommentPageObjects; import io.appium.java_client.AppiumDriver; import org.openqa.selenium.WebE...
__label__POS
0.886554
package com.appium.pages; import com.appium.config.CommonAppiumTest; import com.appium.config.DeviceInterface; import com.appium.config.UserCredentials; import com.appium.config.ViewFactory; import com.appium.manager.ScreenShotManager; import com.appium.page.objects.LoginPageObjects; import io.appium.java_client.Appiu...
__label__POS
0.765131
package com.appium.pages; import com.appium.config.CommonAppiumTest; import com.appium.page.objects.PostPageObjects; import io.appium.java_client.AppiumDriver; import org.openqa.selenium.WebElement; import io.appium.java_client.pagefactory.AppiumFieldDecorator; import org.openqa.selenium.support.PageFactory; public c...
__label__POS
0.983896
package com.appium.page.objects; import org.openqa.selenium.WebElement; import io.appium.java_client.pagefactory.AndroidFindBy; import io.appium.java_client.pagefactory.iOSXCUITFindBy; public class PostPageObjects { @AndroidFindBy(xpath = ".//*[@text='Appium']") @iOSXCUITFindBy(className = "UIATableView") ...
__label__POS
0.763825
BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:-//Example Inc.//Example Calendar//EN METHOD:REQUEST BEGIN:VTIMEZONE TZID:US/Eastern BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD BEGIN:DAYLIGHT DTSTART:20000404T020000 RRU...
__label__POS
0.6394
BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:-//Example Inc.//Example Calendar//EN BEGIN:VTIMEZONE TZID:US/Eastern BEGIN:STANDARD DTSTART:20001026T020000 RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10 TZNAME:EST TZOFFSETFROM:-0400 TZOFFSETTO:-0500 END:STANDARD BEGIN:DAYLIGHT DTSTART:20000404T020000 RRULE:FREQ=YEARLY;...
__label__POS
0.634543
#define APPLE80211_IOC_PID_LOCK 0 #define APPLE80211_IOC_STA_IE_LIST 0 #define APPLE80211_IOC_STA_AUTHORIZE 0 #define APPLE80211_IOC_STA_DISASSOCIATE 0 #define APPLE80211_IOC_STA_DEAUTH 0 #define APPLE80211_IOC_RSN_CONF 0 #define APPLE80211_IOC_KEY_RSC 0 #define APPLE80211_IOC_STA_STATS 0 #define APPLE80211_IOC_ROAM_TH...
__label__POS
0.930886
<?php $http_request = Yii::app()->getRequest(); $requests = $data['requests']; $pagination = $data['pagination']; $display_none = 'style="display:none;"'; $default_columns = ['id', 'payload_received', 'request_type', 'overall_status', 'system_message', 'steps', 'payload_size', 'attached_size']; $extra_columns = Yii::ap...
__label__POS
0.732399
<?php class BaseLabResultElement extends BaseEventTypeElement { protected $htmlOptions = array(); /** * @param $input * * @return array|mixed */ public function getHtmlOptionsForInput($input) { if (array_key_exists($input, $this->htmlOptions)) { return $this->h...
__label__POS
0.696437
{#job_id=0?: <TABLE CLASS="list" SUMMARY="Job List"> <THEAD> <TR><TH>ID</TH><TH>Nome</TH><TH>Usu&Atilde;&Acirc;¡rio</TH><TH>Tamanho</TH><TH>P&Atilde;&Acirc;¡ginas</TH><TH>Estado</TH><TH>Controle</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone...
__label__POS
0.74256
<?php class OphInLabResults_Type_Options extends BaseActiveRecord { /** * @return string the associated database table name */ public function tableName() { return 'ophinlabresults_type_options'; } /** * @return array validation rules for model attributes. */ publi...
__label__POS
0.959174
<?php /** * Class Element_OphInLabResults_ResultTimedNumeric. */ class Element_OphInLabResults_ResultTimedNumeric extends BaseLabResultElement { /** * @return string */ public function tableName() { return 'et_ophinlabresults_result_timed_numeric'; } /** * @return array va...
__label__POS
0.641952
<?php class Element_OphInLabResults_Entry extends Element_OphInLabResults_ResultTimedNumeric { protected $htmlOptions = array( 'time' => array('type' => 'time'), 'result' => array('type' => 'number', 'step' => 0.1, 'min' => 0.1, 'max' => 50), ); /** * @return string */ public...
__label__POS
0.963317
<?php declare (strict_types = 1); namespace app; use think\App; use think\exception\ValidateException; use think\Validate; /** * 控制器基础类 */ abstract class BaseController { /** * Request实例 * @var \think\Request */ protected $request; /** * 应用实例 * @var \think\App */ prot...
__label__POS
0.955312
<?php class m190424_131625_add_type_to_lab_results_result_timed_numeric extends CDbMigration { public function up() { $default_result_type = $this->dbConnection->createCommand()->select('id')->from('ophinlabresults_type')->where('type = :type', [':type' => 'INR'])->queryScalar(); $this->addCol...
__label__POS
0.859021
{#job_id=0?: <TABLE CLASS="list" SUMMARY="Jobliste"> <THEAD> <TR><TH>ID</TH><TH>Navn</TH><TH>Bruger</TH><TH>Størrelse</TH><TH>Sider</TH><TH>Tilstand</TH><TH>Styring</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({phone}):}&nbsp;</TD> <TD>{...
__label__POS
0.707585
<section id="result-output" class="element-fields"> <div class="element-fields"> <div class="active-form"> <table class="cols-11"> <tbody> <tr> <td> <?= $form->hiddenInput($element, 'type');?> <?p...
__label__POS
0.81377
{#job_id=0?: <TABLE CLASS="list" SUMMARY="ジョブの一覧"> <THEAD> <TR><TH>ID</TH><TH>名前</TH><TH>ユーザー</TH><TH>サイズ</TH><TH>ページ</TH><TH>状態</TH><TH>制御</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({phone}):}&nbsp;</TD> <TD>{?job_name=?未知:{job_name}}...
__label__POS
0.786667
<section id="result-output" class="element-fields"> <div class="element-fields"> <div class="active-form"> <table class="standard cols-full"> <colgroup> <col class="cols-2"> <col class="cols-4"> </colgroup> <...
__label__POS
0.673378
<section id="result-output" class="element-fields"> <div class="element-fields"> <div class="active-form"> <table class="cols-11"> <tbody> <tr> <td> <?= $form->hiddenInput($element, 'type');?> <?php echo ...
__label__POS
0.960481
{#job_id=0?: <TABLE CLASS="list" SUMMARY="Auftragsliste"> <THEAD> <TR><TH>ID</TH><TH>Name</TH><TH>Benutzer</TH><TH>Größe</TH><TH>Seiten</TH><TH>Status</TH><TH>Steuerung</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({phone}):}&nbsp;</TD> <...
__label__POS
0.807963
{#job_id=0?: <TABLE CLASS="list" SUMMARY="Задания"> <THEAD> <TR><TH>Номер</TH><TH>Название</TH><TH>Пользователь</TH><TH>Размер</TH><TH>Страниц</TH><TH>Статус</TH><TH>Управление</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({phone}):}&nbsp...
__label__POS
0.762744
{#job_id=0?: <TABLE CLASS="list" SUMMARY="Listes des t&acirc;ches"> <THEAD> <TR><TH>ID</TH><TH>Nom</TH><TH>Utilisateur</TH><TH>Taille</TH><TH>Pages</TH><TH>&Eacute;tat</TH><TH>Contr&ocirc;le</TH></TR> </THEAD> <TBODY> {[job_id] <TR VALIGN="TOP"> <TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}{?phone? ({...
__label__POS
0.886627
<?php /** * @var TrialPatient $trialPatient */ $isInAnotherInterventionTrial = TrialPatient::isPatientInInterventionTrial( $data, $this->trialContext !== null ? $this->trialContext->id : null ); $shortlistedTrials = TrialPatient::getTrialCount($data, TrialPatientStatus::model()->find('code = "SHORTLISTED"'));...
__label__POS
0.7414
<?php /** * */ class TrialContext extends CWidget { public $trial; public $patient; /** * Renders the status of a patient in trials * @param array|null $data * @throws CException */ public function renderPatientTrialStatus($data = null) { $this->ensureTrialAndPatientS...
__label__POS
0.607902
<?php /* @var TrialController $this */ /* @var Trial $trial */ /* @var TrialPermission $permission */ ?> <nav class="oe-full-side-panel"> <h3>Actions</h3> <ul> <li> <?=\CHtml::link('Go Back to Trials', Yii::app()->createUrl('OETrial/trial')) ?> </li> <?php if ($trial->is_open && ...
__label__POS
0.991105
<?php /** * @var Trial $trial * @var TrialPermission $permission */ $editing = in_array($this->action->id, ['update', 'create'], true); ?> <!-- CERA-491 The css is hard-coded to solve the issue that the long title name break the layout. --> <nav class="oe-full-header flex-layout"> <?php if (strlen($title) <= 124...
__label__POS
0.933551
<?php /** * @var TrialController $this * @var TrialPermission $permission * @var UserTrialAssignment $data */ $permission = TrialController::getCurrentUserPermission(); ?> <tr class="js-user-trial-permission" data-permission-id="<?= $data->id; ?>"> <?= CHtml::hiddenField('user_id', CHtml::encode($data->user_...
__label__POS
0.627815
/* VitaShell Copyright (C) 2015-2016, TheFloW This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distribute...
__label__POS
0.725592
<?php use OEModule\OphDrPGDPSD\models\Element_DrugAdministration; class DrugAdministrationCreator extends \EventCreator { private $entries = array(); public function __construct($episode) { $da_event_type = \EventType::model()->find('name = "Drug Administration"'); parent::__construct($epi...
__label__POS
0.966996
<?php use OEModule\OphDrPGDPSD\models\{ OphDrPGDPSD_AssignedUser, OphDrPGDPSD_AssignedTeam }; /** * @extends BaseEventTypeController */ class DefaultController extends BaseEventTypeController { protected function checkUserPGDPSDAssignments() { if (OphDrPGDPSD_AssignedUser::model()->exists('u...
__label__POS
0.66226
using System.IO; using Newtonsoft.Json.UnityConverters.Configuration; using UnityEditor; using UnityEngine; namespace Newtonsoft.Json.UnityConverters.Editor { public static class UnityConvertersConfigMenu { [MenuItem("Edit/Json.NET converters settings...", false, 250)] public static void Open...
__label__POS
0.735728
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Newtonsoft.Json.Serialization; using UnityEngine; namespace Newtonsoft.Json.UnityConverters { public class UnityTypeContractResolver : DefaultContractResolver { protected override List<MemberInfo> GetSeri...
__label__POS
0.711784
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Newtonsoft.Json.UnityConverters.Helpers; using UnityEngine.Rendering; namespace Newtonsoft.Json.UnityConverters.Math { public class SphericalHarmonicsL2Converter : PartialConverter<SphericalHarmonicsL2> { // Magic numbers t...
__label__POS
0.680006
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Newtonsoft.Json.UnityConverters.Helpers; using NUnit.Framework; using UnityEngine; using State = UnityEngine.Random.State; namespace Newtonsoft.Json.UnityConverters.Tests.Random { public class RandomStateTests : Valu...
__label__POS
0.683547
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using Newtonsoft.Json.Linq; using NUnit.Framework; using UnityEngine; namespace Newtonsoft.Json.UnityConverters.Tests.Scripting { public class ScriptableObjectTests : TypeTester<ScriptableObjectTests.MockScriptableObject> {...
__label__POS
0.630986
using System.Collections.Generic; using System.Linq; #if UNITY_2019_3_OR_NEWER using UnityEngine.U2D; #else using UnityEngine.Experimental.U2D; #endif namespace Newtonsoft.Json.UnityConverters.Tests.SpriteShape { public class AngleRangeInfoTests : ValueTypeTester<AngleRangeInfo> { public static readon...
__label__POS
0.952633
using System.Collections.Generic; using Newtonsoft.Json.Linq; using NUnit.Framework; using UnityEngine; using UnityEngine.Scripting; namespace Newtonsoft.Json.UnityConverters.Tests { public class Issue55_StringEnumConverter : TypeTesterBase { [Test] public void SerializesCorrectly() { ...
__label__POS
0.977143
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using NUnit.Framework; using UnityEngine; using UnityEngine.AddressableAssets; namespace Newtonsoft.Json.UnityConverters.Tests.Addressables { public class AssetReferenceTTests : TypeTester<AssetReferenceT<TextAsset>> { public stat...
__label__POS
0.870654
using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using NUnit.Framework; using UnityEngine; using UnityEngine.AddressableAssets; namespace Newtonsoft.Json.UnityConverters.Tests.Addressables { public class AssetReferenceTests : TypeTester<AssetReference> { public static readonly ...
__label__POS
0.876206
using System.Collections.Generic; using UnityEngine; namespace Newtonsoft.Json.UnityConverters.Tests.Geometry { public class RectTests : ValueTypeTester<Rect> { public static readonly IReadOnlyCollection<(Rect deserialized, object anonymous)> representations = new (Rect, object)[] { (new R...
__label__POS
0.688783
#if HAVE_MODULE_AI || !UNITY_2019_1_OR_NEWER using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Reflection; using UnityEngine.AI; namespace Newtonsoft.Json.UnityConverters.Tests.AI.NavMesh { public class NavMeshQueryFilterTests : ValueTypeTester<NavMeshQueryFilter>...
__label__POS
0.720992
<?php namespace OEModule\PASAPI\components\Pases; use OEModule\PASAPI\models\PasApiAssignment; class SearchUpdatePas extends DefaultPas { /** * Checks if the PAS request is required or not * * @param $params * @return bool * @throws Exception */ public function isPASqueryRequired...
__label__POS
0.866703
<?php class m161228_144912_amino_base_change_types extends CDbMigration { public function up() { $this->addColumn('et_ophingenetictest_test', 'base_change_id', 'int(11)'); $this->addForeignKey('et_ophingenetictest_test_base_fk', 'et_ophingenetictest_test', 'base_change_id', 'pedigree_base_chang...
__label__POS
0.995542
<?php class m170320_201259_remove_external_source extends CDbMigration { public function up() { $this->dropForeignKey('et_ophingenetictest_test_external_source_id', 'et_ophingeneticresults_test'); $this->dropColumn('et_ophingeneticresults_test', 'external_source_id'); $this->dropColumn(...
__label__POS
0.945944
<?php /** * Class EffectAdminController * * Admin controller class for EffectAdminController */ class EffectAdminController extends BaseAdminController { /** * @var string */ public $layout = 'application.modules.Genetics.views.layouts.genetics'; protected $itemsPerPage = 100; public fu...
__label__POS
0.945161
<?php /** * Class ExternalSourceAdminController * * Admin controller class for ExternalSourceAdminController */ class ExternalSourceAdminController extends BaseAdminController { /** * @var string */ public $layout = '//../modules/genetics/views/layouts/genetics'; protected $itemsPerPage = 10...
__label__POS
0.977938
<?php class DefaultController extends BaseEventTypeController { /** * @return array */ public function accessRules() { return array( array('allow', 'actions' => array('Create', 'Update', 'View', 'Print', 'Delete'), 'roles' => array('OprnEditGene...
__label__POS
0.996743