content
stringlengths
2
6.21k
label
stringclasses
16 values
[1, 15, 1, -1], [2, 15, 1, -1], [1, 15, 1, -1], [3, 15, 1, -1], ]); }); }); import Game from "./DataTransferObject/Game"; import { GameFactoryEasy, GameFactoryHard, GameFactoryMedium } from "./AbstractFactory/GameFactory"; const gameEasy = new Game(new GameFactoryEasy()); const gameMediu...
Typescript
') case SCTE35_OATCLS: switch seg.SCTE.CueType { case SCTE35Cue_Start: if seg.SCTE.Cue != "" { p.buf.WriteString("#EXT-OATCLS-SCTE35:") p.buf.WriteString(seg.SCTE.Cue) p.buf.WriteRune('\n') } p.buf.WriteString("#EXT-X-CUE-OUT:") p.buf.WriteString(strconv.FormatFloat(seg....
Go
} fun wearOsIcon(): ImageVector = ImageVector.Builder( name = "WearOsIcon", defaultWidth = 469.7.dp, defaultHeight = 359.dp, viewportWidth = 469.7f, viewportHeight = 359f ).apply { path( fill = SolidColor(Color(0xFF00A94B)), fillAlpha = 1.0f, stroke = null, stro...
Kotlin
4 + %r5] .word 0xe4312628 ! 428: STH_I sth %r18, [%r4 + 0x0628] .word 0xfef92f04 ! 429: SWAPA_I swapa %r31, [%r4 + 0x0f04] %asi .word 0xdf210005 ! 430: STF_R st %f15, [%r5, %r4] .word 0xe6312c66 ! 431: STH_I sth %r19, [%r4 + 0x0c66] .word 0xd6f04989 ! 433: STXA_R stxa %r11, [%r1 + %r9] 0x4c .word 0xda290005 ...
Assembly
ift left and OR RLA, // Rotate left and AND SRE, // Shift right and XOR RRA, // Rotate right and add SAX, // Store A & X LAX, // Load accumulator and X DCP, // Decrement and compare ISB, // Increment and subtract } #[derive(Debug, Clone, Copy, PartialEq, Eq)] pub enum AddressingM...
Rust
.sort((a, b) => (a.timeAsleep > b.timeAsleep ? -1 : 1)); const sleepiestGuard = sortedTime[0].guardNumber; const sleepiestGuardPairs = guardEventPairs[sleepiestGuard]; const sleepiestMinute = findSleepiestMinute(sleepiestGuardPairs); //run through it for each guard const guardSleepiestMinutes = keys.map(g...
Typescript
ain-navigation li ul li a:hover { background: #e3e3e3; color: #444; } .main-navigation .current-menu-item > a, .main-navigation .current-menu-ancestor > a, .main-navigation .current_page_item > a, .main-navigation .current_page_ancestor > a { color: #636363; font-weight: bold; } .menu-toggle { display: none; } .en...
CSS
get pod -oname | \ sed -n /\\/$APP_INSTANCE_NAME-sonarqube/s.pods\\?/..p) \ -- bash -c "rm -rf /opt/sonarqube/data/es5/* " ``` 1. Enable incoming connections for the `sonar` database schema: ```shell kubectl --namespace $NAMESPACE exec -t \ $(kubectl -n$NAMESPACE get pod -oname | \ ...
Markdown
一行:</p><pre><div class="bg-black rounded-md mb-4"><div class="flex items-center relative text-gray-200 bg-gray-800 px-4 py-2 text-xs font-sans justify-between rounded-t-md"><span>python</span><button class="flex ml-auto gap-2"><svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="r...
HTML
erial)) as Material; } else { m_CachedClearMaterial = unityARVideo.m_ClearMaterial; GameObject.Destroy(unityARVideo); } unityARVideo = camera.gameObject.AddComponent<UnityARVideo>(); unityARVideo.m_ClearMaterial = m...
C#
ndif typedef int (*synctex_fprintf_t)(void *, const char * , ...); /* print formatted to either FILE * or gzFile */ # define SYNCTEX_BITS_PER_BYTE 8 struct __synctex_updater_t { gzFile file; /* the foo.synctex or foo.synctex.gz I/O identifier */ synctex_fprintf_t fprintf; /* either fpr...
C
/* Copyright (C) 2011-2015 de4dot@gmail.com This file is part of de4dot. de4dot 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 la...
C#
05 3.53v.06c.29.09.55.57.76 1.45l.67 2.94a.3.3 0 0 1 0 .1.41.41 0 0 1 0 .11c0 .26-.2.51-.6.74l-.33.19c-.35.2-.54.18-.58-.06l-.62-3a1.13 1.13 0 0 0-.31-.63c-.11-.09-.29-.06-.53.08l-.41.24V206a1 1 0 0 1-.6.84l-.3.17c-.36.26-.55.2-.55-.13zm2.27-7.69a1.32 1.32 0 0 0 .52-.76 4.11 4.11 0 0 0 .21-1.37 2 2 0 0 0-.21-1.1.39.39 ...
JavaScript
outesId", nameRegex.routes()[0].id()); * } * } * } * </pre> * */ public static CompletableFuture<GetGreyTagRoutesResult> getGreyTagRoutesPlain(GetGreyTagRoutesPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("alicloud:sae/getGreyTagRoute...
Java
lls", methods=["GET","POST","DELETE"]) def bills(): with SessionLocal() as db: if request.method == "POST": data = request.get_json(force=True) name, due, amount = data.get("name"), dateparser.parse(data.get("due")).date(), float(data.get("amount", 0)) db.add(Bill(name=na...
Python
]:true(返回事件将关闭dialog,但是不会关闭页面), /// false(返回事件不会关闭loading,也不会关闭页面),你仍然可以使用dismiss方法来关闭dialog /// /// [keepSingle]:默认(false),true(多次调用[show]并不会生成多个dialog,仅仅保持一个dialog), /// false(多次调用[show]会生成多个dialog) /// /// [permanent]:默认(false),true(将该dialog设置为永久化dialog),false(不设置); /// 框架内部各种兜底操作(返回事件,路由)无法关闭永久化dialog...
Dart
not name then return end local s = stamina_players[name] if not s then return end local e = s.exhaust if not e then s.exhaust = 0 end e = e + v if e > STAMINA_EXHAUST_LVL then e = 0 local h = tonumber(stamina_players[name].level) if h > 0 then stamina_update(player, h - 1) end end s.exh...
Lua
定义的常量。 * 默认值:VerticalAlign.TOP。 * @member egret.gui.TextBase#verticalAlign */ verticalAlign: string; private lineSpacingChanged; _lineSpacing: number; /** * 行间距 * @member egret.gui.TextBase#lineSpacing */ lineSpacing: number; ...
Typescript
(bom e velho) e-mail. </p> <p>Só mandar uma mensagem para <a href="mailto:hello@dorlyneto.com">hello@dorlyneto.com</a> </p> </div> </body> </html> <!DOCTYPE html> <head> <meta charset="UTF-8"> <title>Sobre mim | Dorly Neto</title> <meta property="og:title" ...
HTML
< countof(m_LayoutNames); i2++) { if (!m_LayoutNames[i2].bUsed) continue; if (m_LayoutNames[i2].hkl == (DWORD_PTR)hKeyb[i1]) { bKnown = true; break; } } if (!bKnown) { iUnknownLeft++; } } lbFound = (iUnknownLeft == 1); wsprintf(sz...
C++
40 Q 3278 1734 3278 1309 Q 3278 722 2862 322 Q 2447 -78 1769 -78 Q 1091 -78 675 323 Q 259 725 259 1325 Q 259 1772 486 2073 Q 713 2375 1131 2484 z M 1019 3438 Q 1019 3113 1228 2906 Q 1438 2700 1772 2700 Q 2097 2700 2305 2904 Q 2513 3109 2513 3406 Q 2513 3716 2298 3927 Q 2084 4138 1766 4138 Q 1444 4138 123...
HTML
reamsResponse buildListStreamsResponse() { final o = api.ListStreamsResponse(); buildCounterListStreamsResponse++; if (buildCounterListStreamsResponse < 3) { o.nextPageToken = 'foo'; o.streams = buildUnnamed13(); o.unreachable = buildUnnamed14(); } buildCounterListStreamsResponse--; return o; } ...
Dart
<a href="../data/1874.html">野猪</a>&ensp; <span class="select_page"><a href="../data/2855.html">猛犸</a></span>&ensp; <a href="../data/1837.html">跳狗龙</a>&ensp; <a href="../data/1875.html">云羊鹿</a>&ensp; <a href="../data/2853.html">黑猫</a>&ensp; <a href="../data/1876.html">苔藓猪</a>&ensp; <a href="../data/18...
HTML
>(BoundaryCondition::Nearest)); itl2::setValue(projections, temp); raw::writed(projections, "fbp/transmission"); RecSettings settings; settings.angles = angles; settings.sampleShifts = sampleShifts; settings.rotationAxisShifts = raShifts; settings.cameraShifts = cameraShifts; settings.source...
C++
.enum.homeScience) end } L_ShortCutConst.shortCutMapNeedFlag = { [C_InputManager_KeyType.EMainMountRoulette] = true, [C_InputManager_KeyType.EMainTab] = true, [C_InputManager_KeyType.EMainPetSkillRoulette] = true } L_ShortCutConst.mainCityKeyMap = { [C_EWorldType.World] = { menuPage = "pageMainMenu", ...
Lua
,viewBox:"0 0 24 24",strokeWidth:a,stroke:i,fill:"none",strokeLinecap:"round",strokeLinejoin:"round"},c),e.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),e.createElement("path",{d:"M12 3v5m4 4h5"}),e.createElement("circle",{cx:12,cy:12,r:4}),e.createElement("circle",{cx:12,cy:12,r:9}))}var am=null;...
JavaScript
(IE)',popupScrollBars:'Rullibjálki',popupDependent:'Bundið (Netscape)',popupLeft:'Frástøða frá vinstru',popupTop:'Frástøða frá íerva',id:'Id',langDir:'Tekstkós',langDirLTR:'Frá vinstru til høgru (LTR)',langDirRTL:'Frá høgru til vinstru (RTL)',acccessKey:'Snarvegisknappur',name:'Navn',langCode:'Tekstkós',tabIndex:'Innt...
JavaScript
ACK); SetLayoutMode(LM_VERTICAL); header_ = new BorderImage(context_); header_->SetName("TP_Header"); header_->SetInternal(true); header_->SetLayoutMode(LM_HORIZONTAL); header_->SetLayoutSpacing(6); header_->SetFixedHeight(30); header_->SetHorizontalAlign...
C++
list>li.active>a{background-color:#eef8ff}body.skin-2,.skin-2 .sidebar{background-color:#505050}.skin-2 .nav-list>li:hover>a>span{color:#FFF}.skin-2 .nav-list>li:hover>a>[class*="icon-"]:first-child{color:#FFF}.skin-2 .menu-min .nav-list>li>a:hover>[class*="icon-"]:first-child{color:#FFF}.rtl .nav-list li.active>a:afte...
CSS
-webkit-transition:.3s box-shadow;transition:.3s box-shadow}.mw-body input[type="button"]:hover,.mw-body input[type="submit"]:hover,.mw-body button:hover,.mw-body input[type="button"]:focus,.mw-body input[type="submit"]:focus,.mw-body button:focus{color:black;box-shadow:0 0 0 .4em #694D9F,0 2px 2px -1px rgba(0,0,0,.1);...
CSS
, MENTION = 2, FOLLOWER = 3, } @Entity('notifications') export class Notification { @PrimaryColumn() id: number; @Column() @IsInt() type: NotificationType; @ManyToOne(() => User, (user) => user.notifications) receiver: User; @Column() @IsUUID(4) receiverId: string; @OneToOne(() => VideoLi...
Typescript
.94,133.81 645.91,133.70 645.91,133.55 645.97,133.43 646.14,133.38 646.31,133.36 646.46,133.25 646.66,133.04 646.74,132.92 647.10,132.98 647.15,133.18 647.21,133.22 647.36,133.20 647.61,133.12 647.81,133.18 648.07,133.41 648.42,133.66 648.61,133.82 648.68,133.93 648.87,134.04 649.13,134.17 649.34,134.38 649.53,134.85 6...
HTML
\030\002 \001(\t\022K\n\rattack_vector\030\003 \001(\01624.g" + "oogle.cloud.websecurityscanner.v1.Xss.At" + "tackVector\022\036\n\026stored_xss_seeding_url\030\004 \001" + "(\t\"\271\002\n\014AttackVector\022\035\n\031ATTACK_VECTOR_UNS" + "PECIFIED\020\000\022\021\n\rLOCAL_STORA...
Java
tatic.upbit.com/logos/'; export const short = async (msg: Message, args: string[]) => { let coinCodeToBuy = args.pop(); if(coinCodeToBuy === undefined) { return new MessageEmbed() .setTitle("도움말") .addField("숏 [코드1] [코드2] [양]", "[코드1] 코인을 [코드2]코인 [양]만큼 공매도합니다.") .set...
Typescript
,float startY,float stopX,float stopY); /** * 画文字 * text:文本内容 * x:起点的横坐标 * x:起点的纵坐标 */ void drawText(const char * text,float x,float y); /** * 不可在onDraw里面调用。 * 重新绘图 */ void invalidate(); /** * 通知系统需要重新绘图 */ void postInvalidate(); /** * 不可在onDraw里面调用。 * left,top,right,bottom:绘图区域 * 重新绘图 */ void invalid...
HTML
REG_RAM_BANK ; sector bank lda #BANK_SECTORS sta REG_RAM_BANK ; if(bs->height_floor > sec->height_floor) ldy SECTOR_PTR_I ldx BACKSEC_PTR_I sec lda SECTOR_STRUCT_FLOOR_HEIGHT_L,x sbc SECTOR_STRUCT_FLOOR_HEIGHT_L,y sta WALL_TMP_CALC_L lda SECTOR_STRUCT_FLOOR_HEIGHT_H,x sbc SECTOR_STRUCT_FLOOR_HEIGHT_H,y b...
Assembly
EANALYTICS4", "Results provider is Universal Analytics"); }); test("GoogleAnalytics4Provider returns static data", t => { let provider = new GoogleAnalytics4Provider(), url = "https://www.google-analytics.com/g/collect?v=1&_v=j68&a=1805905905&t=pageview&_s=1&dl=https%3A%2F%2Fomnibug.io%2F&ul=en-us&de=UTF-8...
JavaScript
lue(for example, 0x0000). */ .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 .byte 0x90, 0x90 ...
Assembly
of <b>--source-files</b>. (Conversely: <b>--no-source-files-freshly-captured</b>)</p> <p style="margin-left:11%;"><b>--source-files-procedure-names</b></p> <p style="margin-left:17%;">Activates: Print the names of procedure of each source file in the output of <b>--source-files</b> (Conversely: <b>--no-source-files-...
HTML
dEventListener("click", () => { findString("Bananas"); }); document.getElementById("find-orange").addEventListener("click", () => { findString("Orange"); }); ``` ### Ergebnis {{EmbedLiveSample("Examples")}} ## Hinweise In einigen Browsern markiert (hervorhebt) `Window.find()` den gefundenen Inhalt auf der Websi...
Markdown
aInputMgr : public ecs::IGenHidEventHandler { public: DaInputMgr() { if (HumanInput::IGenPointing *mouse = global_cls_drv_pnt ? global_cls_drv_pnt->getDevice(0) : nullptr) mouse->setRelativeMovementMode(true); //== required for correct handling mouse DZ events register_hid_event_handler(this, 100); ...
C++
,这里是剑奴训练场。另外,当他发现自己脸上被戴上面具的时候,已经是当天晚上了。欧鲁巴愕然面对镜子,为这看似无聊的玩笑愤慨不已,拼命想要从脸上将面具扯下来,但面具与脸上的皮肤紧紧地粘在一起,应该说更像是成为了皮肤的一部分似的,怎么也取不下来。<br /> 在和面具格斗了大约一个小时后,他气喘吁吁,浑身是汗,不禁一拳挥向镜子中映照着的自己那奇怪的样子。<br /> 镜子&ldquo;噼&rdquo;地一声现出裂纹,反射出歪曲了的铁面具。<br /> (他们究竟把人轻视成什么。究竟打算玩弄人到什么程度,甚至为此做出如此可笑的行为。)<br /> (我一定要活着离开这里。一定要把对我做出这种事的人全部找出来,然后让他们尝尝同样的滋味。)<b...
Dart
ional Debug Access</h3> <p>CMSIS provides additional debug functions to enlarge the Cortex-M3 Debug Access. Data can be transmitted via a certain global buffer variable towards the target system.</p> <p>The buffer variable and the prototypes of the additional functions are shown in the table below.</p> <table class...
HTML
.min_ray_length_m = min_ray_length_m; tsdf_config.max_ray_length_m = max_ray_length_m; tsdf_config.enable_anti_grazing = enable_anti_grazing; tsdf_config.default_truncation_distance = truncation_distance; tsdf_config.voxel_carving_enabled = voxel_carving_enabled; } GlobalVoxbloxIntegrator::GlobalVoxbloxIntegra...
C++
s::SetAxis::Request& req, xarm_msgs::SetAxis::Response& res) { res.ret = arm->motion_enable(req.data, req.id); if(req.data == 1) { res.message = "motion enable, ret = " + std::to_string(res.ret); } else { res.message = "motion disable, ret = " + std::to_string(res.ret); } return true; } bool X...
C++
JustFinishedList); if (getCloudletExecList().isEmpty() && getCloudletWaitingList().isEmpty()) { setPreviousTime(currentTime); return 0.0; } // Update cloudlets in waiting list, if any updateWaitingCloudlets(currentTime, null); cloudletJustFinishedList.clear(); // estimate finish time of cloudlets...
Java
public IJsonMessage<List<JSONObject>> diskInfo(HttpServletRequest request, String machineId) { NodeModel node = tryGetNode(); if (node != null) { return NodeForward.request(node, request, NodeUrl.DiskInfo); } MachineNodeModel model = machineNodeServer.getByKey(machineId);...
Java
: " ", "&nbump;": "≎̸", "&nbumpe;": "≏̸", "&ncap;": "⩃", "&ncaron;": "ň", "&ncedil;": "ņ", "&ncong;": "≇", "&ncongdot;": "⩭̸", "&ncup;": "⩂", "&ncy;": "н", "&ndash;": "–", "&ne;": "≠", "&neArr;": "⇗", "&nearhk;": "⤤", "&nearr;": "↗", "&nearrow;": "↗", "&nedot;": "≐̸", "&nequiv;": "≢", ...
Dart
"category_ref_id, assigned_user_id, assigned_user_group_id, effort, " + "rationale, origin, goal, context, " + "precondition, postcondition, summary, external_references, " + "planned_version_ref_id, last_modified_version_ref_id, removed_ind, module_ref_id, " + "origin_category_ref_id, change_reason, change...
Java
arance.AvatarHeight + m_avatarHeightCorrection; // According to avatar bounding box in SL 2015-04-18: // standing = <-0.275,-0.35,-0.1-0.5*h> : <0.275,0.35,0.1+0.5*h> // groundsitting = <-0.3875,-0.5,-0.05-0.375*h> : <0.3875,0.5,0.5> // sitting = <-0.5875,-0.35,-0.35-0.3...
C#
, protocol uint) { t.Parallel() // Create a test backend only to have some valid genesis chain backend := newTestBackend(3) defer backend.close() var ( genesis = backend.chain.Genesis() head = backend.chain.CurrentBlock() td = backend.chain.GetTd(head.Hash(), head.NumberU64()) forkID = forkid.Ne...
Go
import requests from allauth.socialaccount.providers.oauth2.views import ( OAuth2Adapter, OAuth2CallbackView, OAuth2LoginView, ) from .provider import StripeProvider class StripeOAuth2Adapter(OAuth2Adapter): provider_id = StripeProvider.id access_token_url = "https://connect.stripe.com/oauth/tok...
Python
.L().Fatal(err.Error()) } return nil }, } downloadCmd.PersistentFlags().StringVarP(&downloadInfo.AccountID, "account", "", "", "Kubescape SaaS account ID. Default will load account ID from cache") downloadCmd.PersistentFlags().StringVarP(&downloadInfo.AccessKey, "access-key", "", "", "Kubescape SaaS access ...
Go
。<br><br>即使如此,对于那些妖怪而言,不再圆满的月亮就仿如完成使命一般,与消失无异了。<br>特别是那些害怕日光的家伙,这更是关乎生死的问题。<br><br>人类与妖怪两人飞向了夜晚的幻想乡<br>理所当然,是为了寻觅月亮的碎片,以夺回幻想乡的满月。<br><br>              在找到之前就算是令夜幕静止<br><br>              即使无尽的黑夜会成为永远<br><br>——夏日结束了,离中秋的明月已经没有太多的时间。<br>  人类和妖怪两人,停止了夜晚。</div></td></tr><tr class="tt-content-header" id="=-20" data-pos="&#91...
Markdown
case 400: { return CusHttpException( code: statusCode, msg: '输入格式错误。Request syntax error', responseString: error.response.toString(), ); } case 401: ...
Dart
画布中间 makeTextCanvas(text, width, height) { this.canvas = document.createElement('canvas'); //console.log("makeTextCanvas", width, height) this.canvas.width = width; this.canvas.height = height; var textCtx = this.canvas.getContext("2d"); this.ctx = textCtx; /...
Typescript
5 1a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5zm-13 0a.5.5 0 0 0-.5.5v13a.5.5 0 0 0 1 0v-13a.5.5 0 0 0-.5-.5z"}},{tag:"path",attr:{d:"M6 13a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1v10z"}}]})(a)}function BsDistributeVertical(a){return(0,r.w_)({tag:"svg",attr:{fill:"currentColor",viewBox:...
JavaScript
# IMPORTS: THIS SCRIPT REQUIRES THE PACKAGES PYLAB AND MOVIEPY # It produces this gif: http://i.imgur.com/LbU55oK.gif from pylab import * import moviepy.editor as mp from moviepy.video.io.bindings import mplfig_to_npimage # PARAMETERS OF THE CURVE AND THE GIF curve = lambda t : ( cos(80*t) - cos(t)**3, sin(t) - si...
Python
} /// Convert this query into an iterator executing the request. /// /// This iterator yields only `FlavorSummary` objects, containing /// IDs and names. Use `into_iter_detailed` for full `Flavor` objects. /// /// Returns a `FallibleIterator`, which is an iterator with each `next` /// c...
Rust
e-700 border border-slate-600 rounded p-3 text-white placeholder-slate-400 resize-none" rows="3" placeholder="Add your notes and observations about this quest..." onchange="game.saveQuestNote('${quest.id}', this.value)" ...
JavaScript
= "Documents"; const t1_lbl_photos = "Photos"; const t1_lbl_video = "Videos"; const t1_profile_title = "Profile"; const open = "open"; const close = "close"; const t1_lbl_connect_to_pc = "Connect to Pc"; const t1_lbl_share_files = "Share Files"; const t1_lbl_send_files = "Send\nFiles"; const t1_lbl_profile_edit = "Pro...
Dart
+1] = 0 datafield[#datafield+1] = 'vel2' idx[#idx+1] = j colsizes[#colsizes + 1] = 1 padsizes[#padsizes + 1] = 2 - math.max(self.cfg.channelCCs, self.tracker_samples) if ( self.selectionBehavior == 1 ) then if (self.cfg.buzzNoteCols == 1) then grouplink[...
Lua
</p> <p> (一)督促检查高等学校贯彻执行中央的方针政策、各项计划和规章制度。 </p> <p> (二)对本地区高等学校的设置、撤销和调整,学校的发展规模,专业设置和修业年限提出建议;对直接管理的高等学校的事业计划提出建议。 </p> <p> (三)协助中央教育部和中央各业务部门,检查高等学校教学工作的情况,交流教学经验,提高教学质量。 </p> <p> (四)加强高等学校的思想政治工作;负责安排学校师生的社会活动和生产劳动;解决学校生活和其他由地方负责的物资供应问题;对学校的总务工作进行督促和检查;会同有关部门管理高等学校毕业生的劳动实习工作。 </p> <p>...
HTML
static Future<List<dynamic>> saveAll(List<Album> albums, {bool? exclusive, bool? noResult, bool? continueOnError}) async { List<dynamic>? result = []; // If there is no open transaction, start one final isStartedBatch = await Chinookdb().batchStart(); for (final obj in albums) { await obj....
Dart
ests, documented [here](../../docs/experiments-msmarco-doc-doc2query-details.md). As a result, we have had to rebuild all our regressions from the raw corpus. These new versions yield end-to-end scores that are slightly different, so if numbers reported in a paper do not exactly match the numbers here, this may be the ...
Markdown
ed if undefined is set', () => { meta.setTitle(testTitle); meta.setTitle(undefined); expect(meta.getTitle()).toBeUndefined(); }); it('ignore invalid input', () => { meta.setTitle(testTitle); meta.setTitle(null as unknown as string); expect(meta.getTitle()).toBe(testTitle);...
Typescript
/forums/$board/page-$page'), options: Options( responseType: ResponseType.plain, extra: { kPriority: priority } ), cancelToken: cancelToken ); final document = parse(response.data); return document.querySelectorAll('.structItem--thread').map((e) { // Like "6K" "400" final replyCoun...
Dart
while True: if not conn: break else: try: part = conn.read(MAX_CONNECTION_READ_SIZE) except AssertionError: part = b"" ...
Python
// Copyright 2021 The Nakama Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to ...
C#
max_overlap - 1, min_overlap); if (check_convergence(max_overlap, res, has_penalty_terms, epsilon)){ OverlapSmoother_delete(sm); if (!neighborhood_only){ break; } else { res = LARGE; neighborhood_only = FALSE; if (do_shrinking) shrink = 1; continue; } } res = OverlapSmo...
C
darken(rgba($o-we-handles-accent-color, .25), 5%) 10px ); } &.o_handlers_idle .o_side_x:hover, .o_side_x:active { &::before { width: $o-we-handle-border-width * 2; } .o_handle_indicator { ...
CSS
{ int ibyte = i / 8; int omask = 1 << (7 - (i % 8)); if ((pixels[i] & 0xff000000) == 0) { // Transparent bit if (ibyte < andMask.length) { andMask[ibyte] |= omask; } } } if (raster inst...
Java
t|Horizontal tab|0x0009| |\uxxxx|Unicode character|\u0052\u0041\u004e\u0054 = "RANT"| |\Uxxxxxxxx|Surrogate pair|\U0001f602 = &#128514;| ### Dynamic escape sequences Dynamic escape sequences either print a random selection from a list of characters, or print certain context-sensitive strings (\a and \N). |Escape seq...
Markdown
// // ClassDump By HuangBai Private // Copyright (C) 1997-2019 Steve Nygard. Updated HuangBai-2024 // #import <UIKit/UITableViewHeaderFooterView.h> @class UILabel, UIView, WCFinderHeadImageView; @protocol WCFinderMSPostHeaderDelegate; @interface WCFinderMSPostHeader : UITableViewHeaderFooterView { id <WCFinder...
C
html><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><META http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>LanguageSourceSet - Gradle DSL Version 2.14.1</title><link type="text/css" rel="stylesheet" href="base.css"><link type="text/css" rel="sty...
HTML
local Collection = require("neogit.lib.collection") ---@class ItemFilter ---@field new fun(table): ItemFilter ---@field create fun(table): ItemFilter ---@field accepts fun(self, string, string): boolean local ItemFilter = {} ItemFilter.__index = ItemFilter ---@return ItemFilter function ItemFilter.new(instance) ret...
Lua
t taint-time. // BSActor.Refresh() public override void Refresh() { m_physicsScene.DetailLog("{0},BSActorSetForce,refresh", m_controllingPrim.LocalID); // If not active any more, get rid of me (shouldn't ever happen, but just to be safe) if (m_controllingPrim...
C#
true); }, ], }); Object.assign(game.videoContent, { updateSkillControl(player, clear) { ui.updateSkillControl(player, clear); }, }); ui.skillControlArea = ui.create.div(); }, controlElement: { add(skill, eSkills) { if (Array.isArray(skill)) { var node = this; skil...
JavaScript
大全议上的发言) </p> <p> “上面一句话,(指推行大实验)下面做死人,高教部官僚主义。” </p> <p> (在一次教研组会上发言) </p> <p> 3.学习苏联是“作苏联的奴才”。 </p> <p> “过去学习英美,是做英美的奴才,今天学习苏联,是做苏联的奴才,但苏联人并不要我们作奴才。” </p> <p> (1982年推行学习苏联时在教研组会议上的发言) </p> <p> 4.向科学进军是“空喊口号,空见之于条文”。 </p> <p> “柯庆施同志关于上海工业方针的报告说,上海是人才大量集中的地方。不错,上海人才原来是大量...
HTML
.html"> LEGENDRE_RULE_FAST</a>, a FORTRAN90 program which uses a fast (order N) algorithm to compute a Gauss-Legendre quadrature rule of given order. </p> <p> <a href = "../../f_src/patterson_rule/patterson_rule.html"> PATTERSON_RULE</a>, a FORTRAN90 program which comp...
HTML
-spacing:0.4px;} #tz_114{left:335px;bottom:781px;letter-spacing:1.2px;word-spacing:-1.2px;} #t10_114{left:365px;bottom:781px;letter-spacing:3.7px;} #t11_114{left:373px;bottom:781px;} #t12_114{left:381px;bottom:781px;letter-spacing:1.2px;word-spacing:-1.2px;} #t13_114{left:406px;bottom:781px;} #t14_114{left:423px;bottom...
HTML
_12_R1.MinecraftServer * * @author cookiedragon234 11/May/2020 */ object TickCounter: PaperBinFeature { override fun registerTransformers() { register("net.minecraft.server.v1_12_R1.MinecraftServer") { classNode -> var count = 0 for (method in classNode.methods) { if (method.name == "D" && method.desc =...
Kotlin
// ----------------------------------------------------------------------------------------- // QSVEnc/NVEnc by rigaya // ----------------------------------------------------------------------------------------- // The MIT License // // Copyright (c) 2011-2016 rigaya // // Permission is hereby granted, free of charge,...
C
* Field constants. */ public static final String FIELD_AMOUNT_INQUIRED = "amount_inquired"; public static final String FIELD_DESCRIPTION = "description"; public static final String FIELD_REDIRECT_URL = "redirect_url"; /** * The uuid of the bunq.me. */ @Expose @SerializedName("uuid") private ...
Java
, iter.Current.Value); await CatchUp(source, previousValue: iter.Current.Value, token); } else { // we have a most recent entry but it is not in the source. // scan backwards until we find something in common with the source and // truncate everything in between. var keysToTruncate = new List<string>(...
C#
4.0 // CHECK: [0x01,0xf7,0x8a,0x92] s_bfm_b64 s[10:11], s1, src_vccz // CHECK: [0x01,0xfb,0x8a,0x92] s_bfm_b64 s[10:11], s1, src_execz // CHECK: [0x01,0xfc,0x8a,0x92] s_bfm_b64 s[10:11], s1, src_scc // CHECK: [0x01,0xfd,0x8a,0x92] s_bfm_b64 s[10:11], s1, 0xaf123456 // CHECK: [0x01,0xff,0x8a,0x92,0x56,0x34,0x12,0xaf...
Assembly
hen return false end if index < 1 then index = 1 end if index > #g.state.list then index = #g.state.list end g.state.selected = index fb.redraw() return index end fb.set_history_index = directory_movement.goto_history return fb
Lua
oreCurrentGuiOnClose: Boolean, newGuiScale: GuiScale) : this( restoreCurrentGuiOnClose, newGuiScale.ordinal ) fun restorePreviousScreen() { displayScreen(screenToRestore) } open fun updateGuiScale() { if (newGuiScale != -1 && !restoringGuiScale) { if (guiSca...
Kotlin
.1.0.RELEASE" JAR_NAME="stub-runner-boot-${VERSION}" JAR_LOCATION="target/${JAR_NAME}.jar" mkdir -p target curl -L "${URL}" -o "${JAR_LOCATION}"</code></pre> </div> </div> <div class="paragraph"> <p>Now let&#8217;s run the Stub Runner Boot application. We want to work in <code>offline</code> mode, and we want to downl...
HTML
quare sq, Piece ourPawn, in BitBoard ourPawns, File f, in BitBoard fixedPawns, Rank r, in BitBoard fence) { return pos.PieceAt(sq + Direction.West) == ourPawn && BitBoards.PopCount(ourPawns & (f - 1)) <= 1 && (fixedPawns & Square....
C#
util = util or {} function util.get_app(appid) local db = gg.dbmgr:getdb() if gg.dbmgr.db_type == "redis" then local key = string.format("app") local app = db:hget(key,appid) if app == nil then return nil else return cjson.decode(app) end else...
Lua
报上级准。工交组也要与外贸口联系,待研究解决。 </p> <p> 5、北京厂矿干校,学员是各厂矿的中层领导干部,文化革命中,他们不回原单位参加运动,在校也不搞运动,怎么办? </p> <p> 这些学员要回原单位参加运动。具体情况调查后,报政治组批准,通知他们回厂。 </p> <p> 6、有些厂矿职业学校,比如:海淀区鞋厂职业学校、冶金研究所职业学校。教师都是兼职工人,现已回厂,学生无人管,要求教师回校开展运动。 </p> <p> 对这些学校,要进行具体调查研究后再解决。 </p> <p> 7、房管系统学习“上海的重要通告”后,空房一律查封,现有些职工用房,没人管,...
HTML
height: 17px; width: 17px; background: transparent url('/static/images/browser_logos.png') no-repeat left top; opacity: 0.25; margin: -1px .25em 0 0; position: relative; } .browser_name { left: -3px; } .browser.ie .browser_name { white-space: nowrap; } .browser.chrome { background-position: left to...
CSS
udb::scan_time() { TOKUDB_HANDLER_DBUG_ENTER(""); double ret_val = (double)stats.records / 3; TOKUDB_HANDLER_TRACE_FOR_FLAGS( TOKUDB_DEBUG_RETURN, "return %" PRIu64 " %f", (uint64_t)stats.records, ret_val); DBUG_RETURN(ret_val); } double ha_tokudb::keyread_time(uint inde...
C++
":"%1 Steuerelement"},"uploadwidget":{"abort":"Hochladen durch den Benutzer abgebrochen.","doneOne":"Datei erfolgreich hochgeladen.","doneMany":"%1 Dateien erfolgreich hochgeladen.","uploadOne":"Datei wird hochgeladen ({percentage}%)...","uploadMany":"Dateien werden hochgeladen, {current} von {max} fertig ({percentage}...
JavaScript
{ if (response.statusCode == 200) { await SaverGallery.saveFile( filePath: filePath, fileName: name, androidRelativePath: "Pictures/${Constants.appName}", skipIfExists: false, ).whenComplete(File(filePath).tryDel); } ...
Dart
pipeline=train_pipeline), val=dict( type='TopDownAicDataset', ann_file=f'{data_root}/annotations/aic_val.json', img_prefix=f'{data_root}/ai_challenger_keypoint_validation_20170911/' 'keypoint_validation_images_20170911/', data_cfg=data_cfg, pipeline=val_pipeline)...
Python
:身强(生我。辰生辛→土生金) put("辛巳", "身弱"); // 辛+巳:身弱(克我。巳克辛→火克金) put("辛午", "身弱"); // 辛+午:身弱(克我。午克辛→火克金) put("辛未", "身强"); // 辛+未:身强(生我。未生辛→土生金) put("辛申", "身强"); // 辛+申:身强(同我。辛同申→金同金) put("辛酉", "身强"); // 辛+酉:身强(同我。辛同酉→金同金) put("辛戌", "身强"); // 辛+戌:身强(生我。戌生辛→土生金...
Java
snapIndex = skip + Math.floor((index - skip) / swiper.params.slidesPerGroup); const translate = swiper.rtlTranslate ? swiper.translate : -swiper.translate; if (translate >= swiper.snapGrid[snapIndex]) { // The current translate is on or after the current snap index, so the choice // is between the...
JavaScript
); addElement(this.mAvatarElement, this.mHash); this.mChannelTitleElement = new TextViewElement(paramContext); this.mChannelTitleElement.setColor(SkinManager.getTextColorNormal()); this.mChannelTitleElement.setMaxLineLimit(1); this.mChannelTitleElement.setVerticalAlignment(TextViewElement.VerticalAl...
Java