content
stringlengths
2
6.21k
label
stringclasses
16 values
ilter"); packet.ReadInt32("ClassFilter"); packet.ResetBitReader(); var nameLen = packet.ReadBits(6); var virtualRealmNameLen = packet.ReadBits(9); var guildLen = packet.ReadBits(7); var guildVirtualRealmNameLen = packet.ReadBits(9); v...
C#
) <br /><b><a href="/wiki/Assistant_referee_(association_football)#Fifth_official" title="Assistant referee (association football)">Fifth official</a>:</b> <br />Enock Molefe (<a href="/wiki/South_African_Football_Association" title="South African Football Association">South Africa</a>) </p> </td></tr></tbody></table> ...
HTML
et I=this.$$.callbacks[c]||(this.$$.callbacks[c]=[]);return I.push(G),()=>{let l=I.indexOf(G);l!==-1&&I.splice(l,1)}}$set(c){this.$$set&&!iW(c)&&(this.$$.skip_bound=!0,this.$$set(c),this.$$.skip_bound=!1)}});var O=class{$destroy(){M(this,1),this.$destroy=DI}$on(G,I){if(!VI(I))return DI;let l=this.$$.callbacks[G]||(this...
JavaScript
�輪を%2にする %3', zerone_follow_line: '線に沿って移動する %1', zerone_follow_line_until: '線に沿って %1 まで移動する %2', zerone_follow_line_until_intersection: '線にそって交差点まで移動する %1', zerone_cross_intersection: '交差点を渡る %1', zerone_turn_at_intersection: '交差点で %1 へ回る %2', zer...
JavaScript
dif %} </p> </div> <button type="submit" class="w-full bg-purple-600 hover:bg-purple-700 dark:bg-purple-700 dark:hover:bg-purple-600 text-white font-semibold py-4 text-lg rounded-lg transition-colors focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2"> {...
HTML
// Don't apply ultra-small damage thrust if (thrust < FRACUNIT/100) thrust = 0; // make fall forwards sometimes if ((damage < 40) && (damage > target->health) && (target->Z() - origin->Z() > 64*FRACUNIT) && (pr_damagemobj()&1) // [RH] But only if not too fast and not flying && thrust < 10...
C++
character reference to a white space /// character other than space (`#x20`), the normalized value contains the referenced character /// itself (`#xD`, `#xA` or `#x9`). This contrasts with the case where the unnormalized value /// contains a white space character (not a reference), which is replaced with a space chara...
Rust
es_get(&pd->inv_m, &im11, &im12, NULL, &im21, &im22, NULL, &im31, &im32, NULL); //Draw for (int local_y = pd->boundary.y1; local_y < dst_buf_height; local_y++) { for (int local_x = pd->boundary.x1; local_x < dst_buf_width...
C
$_has(2); @$pb.TagNumber(3) void clearRenderSpec() => $_clearField(3); @$pb.TagNumber(3) BasicRenderSpec ensureRenderSpec() => $_ensure(2); } class MaskProperty extends $pb.GeneratedMessage { factory MaskProperty({ LayerGeneralSpec? generalSpec, ResourceSource? maskSrc, }) { final result = cre...
Dart
ient, priv); return devm_snd_soc_register_component(&client->dev, &soc_component_dev_pcm1681, &pcm1681_dai, 1); } static struct i2c_driver pcm1681_i2c_driver = { .driver = { .name = "pcm1681", .of_match_table = of_match_ptr(pcm1681_dt_ids), }, .id_table = pcm1681_i2c_id, .probe = pcm1681_i2c_probe, }; ...
C
e/src/form/_Panel.scss */ .x-label-align-left .x-component-outer, .x-label-align-right .x-component-outer { -webkit-box-flex: 1; -ms-flex: 1 0 0px; flex: 1 0 0px; } /* line 48, /home/teamcity/buildAgent/work/b52f9c8a2f79967b/touch/resources/themes/stylesheets/sencha-touch/base/src/form/_Panel.scss */ .x-label-al...
CSS
,nil,nil,21,nil,nil,0}, [1866] = {'Ravenclaw Slave',222,247,11,12,0,{[130]={{45.83,54.42},{45.68,54.45},{46.24,54.63},{46.96,54.1},{53.02,16.19},{52.91,15.3},{53.41,14.99},{53.99,15.44},{52.22,14.49},{53.7,14.67},{47.15,53.61},{46.95,52.97},{53.0,14.14},{52.32,13.55},{51.68,13.7},{51.73,14.08},{52.04,13.92},{51.94,13.7...
Lua
slideObject: GoogleAppsScript.Slides.Slide): SlideGS { return new SlideGS(slideObject); } /** * Gets the underlying Google Apps Script object for direct access * * @param {SlideGS} obj the Slide object * @return {GoogleAppsScript.Slides.Slide} the Slide object */ export function getSlideObject(obj: SlideGS): Go...
Typescript
, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, null, false, "الرياض", "Riyadh", null, null }, { 3L, null, new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified), null, null, null, false, "الدمام", "Damam", null, null } }); migrationBuilder.InsertData( ...
C#
uto 0fr 4fr 2fr}.BlockNode_nodeWrapper__DoBZe.BlockNode_template-rows-0fr-4fr-2fr-auto__kJL9t{grid-template-rows:0fr 4fr 2fr auto}.BlockNode_nodeWrapper__DoBZe.BlockNode_template-rows-auto-0fr-4fr-2fr-auto__5GBA3{grid-template-rows:auto 0fr 4fr 2fr auto}.BlockNode_nodeWrapper__DoBZe.BlockNode_template-columns-0fr-4fr-2...
CSS
id="a2382ce9663b8b75e2819f77d6b8da742a0a5a53ab0276f524ae039952449beb3b"></a>CAL_BIT_PASSED_ALL&#160;</td><td class="fielddoc"></td></tr> <tr><td class="fieldname"><a id="a2382ce9663b8b75e2819f77d6b8da742a798088a43876cadd6e396c912260c7c9"></a>CAL_BIT_MODE_MASK&#160;</td><td class="fielddoc"></td></tr> <tr><td class="fi...
HTML
this, child)</code>的方式进行调用,这使用<code>HT</code>常见的重载技巧, 这样的方式无需定义新类就可以进行函数重载,且可以根据需要调用原始函数逻辑:</p> <pre><code>var node3 = new ht.Node(); node3.setPosition(130, 140); node3.s({ &#39;label.font&#39;: &#39;bold 21px arial&#39;, &#39;label.color&#39;: &#39;white&#39;, &#39;label.offset.y&#39;: 8, &#39;label.b...
HTML
iber //! //! # #[cfg(feature = "std")] //! dispatcher::with_default(&my_dispatch, || { //! // my_subscriber is the default //! }); //! //! // no default subscriber again //! ``` //! It's important to note that `with_default` will not propagate the current //! thread's default subscriber to any threads spawned withi...
Rust
现贫雇的领导,又可团结大多数农民,使农代会成为领导农民自己翻身、团结大多数农民的主要组织形式、领导形式,与代行人代会职权的区乡的最高权力机关:农协委员会起组织执行的作用;农协小组会起发动多数、贯彻决议、组织分村斗争等作用。并适时地运用青代会、妇代会、家庭会等形式,以便从各方面贯彻发动多数。在整个运动中不论政策和计划,均应通过上述组织形式放手交给群众,充分发动农民讨论,这样政策方针才能变成实践。很多问题,如土地与生产救灾、治淮等矛盾,只要放手交给群众讨论,均能获得解决。 </p> <p> 第三批土地改革在抓这两个环节上是好的,创造也是最多的。 </p> <p> 4、系统运用人民法庭,配合农民讲理讲法斗争,这...
HTML
Properties JSON input, * it will be deserialized into the BaseExtension.properties object. * You can define an interface to describe it. */ export interface ICustomizerLifecycleEventsApplicationCustomizerProperties { // This is an example; replace with your own property testMessage: string; } /** A Custom Actio...
Typescript
仍然表示 0−9)。 输出格式<br> 对于每一组进制转换,程序的输出都由三行构成。 第一行包含两个数字,首先是输入进制(十进制表示),然后是用输入进制表示的输入数字。 第二行包含两个数字,首先是输出进制(十进制表示),然后是用输出进制表示的输入数字。 第三行为空白行。 同一行内数字用空格隔开。 输入样例: ``` 8 62 2 abcdefghiz 10 16 1234567890123456789012345678901234567890 16 35 3A0C92075C0DBF3B8ACBC5F96CE3F0AD2 35 23 333YMHOUE8JPLT7OX6K9FYCQ8A 23 49 946B9AA02MI...
Markdown
Shielding", [30826] = "Design: Ring of Arcane Shielding", [30827] = "Lexicon Demonica", [30828] = "Vial of Underworld Loam", [30829] = "Tear of the Earthmother", [30830] = "Trident of the Outcast Tribe", [30831] = "Cloak of Arcane Evasion", [30832] = "Gavel of Unearthed Secrets", [30833] = "Pattern: Clo...
Lua
int tmp = *data; //@ produce_limits(tmp); if(tmp < 100) tmp++; *data = tmp; //@ close datainv (data)(); mylock_release(mylock); //@ close thread_run_post(run)(session, myinfo(mylock,data)); } int main() //@ requires true; //@ ensures true; { struct session * s = malloc(sizeof(...
C
with no continuation function, or it is called from a thread that is not running inside a resume (e.g., the main thread). <h2>4.9 &ndash; <a name="4.9">The Debug Interface</a></h2> <p> Lua has no built-in debugging facilities. Instead, it offers a special interface by means of functions and <em>hooks</em>. This...
HTML
ار المحرر","Toggle FPS counter":"تبديل عداد الإطارات في الثانية","Toggle spectator camera":"تبديل كاميرا المشاهد","Spectator forwards":"الانتقال للأمام كمشاهد","Spectator backwards":"الانتقال للخلف كمشاهد","Spectator left":"الانتقال لليسار كمشاهد","Spectator right":"الانتقال لليمين كمشاهد","Spectator speed modifier":"م...
JavaScript
{transform:rotate(315deg) translate(-14%,16%)}.btn-right:after{transform:rotate(45deg) translate(-14%,16%)}.btn-left:after{transform:rotate(225deg) translate(-14%,16%)}.btn-close{padding:0}.btn-close:after,.btn-close:before{background-color:var(--spry-btn-color-text);content:"";height:60%;inset:0;margin:auto;position:a...
CSS
'webdriver', { get: () => undefined }); ''' }) return driver async def scrape_async(self, urls: List[str], max_concurrent: int = 10) -> List[ScrapingResult]: """비동기 배치 스크래핑""" async with aiohttp.ClientSession() as session...
Python
, int); CHEAP_RTTI_FOR(Fl_Input); #define _DECL_FUNC(name,nparams,pmask,isStatic) {_SC(#name),_MyFl_Input_##name,nparams,pmask,isStatic} static SQRegFunction fl_input_obj_funcs[]={ CHEAP_RTTI_REG_FUN_FOR(Fl_Input) _DECL_FUNC(constructor,-5,FLTK_constructor_Mask,SQFalse), _DECL_FUNC(handle,2,_SC("xi"),SQFalse), ...
C++
<body> <div id="app"> <!-- Tab Bar --> <div id="tabs-container"> <div id="tab-groups" class="tab-groups"> <!-- Tab groups will be inserted here --> </div> <div id="tabs" class="tabs"> <!-- Tabs without a group will be shown here --> </div> <div class="tab-actions"...
HTML
�资源 const completeFun = () => { const retData = Laya.loader.getRes(resUrl); // to do ... 资源的释放 if ((retData instanceof Laya.Sprite3D)) { if (!retData.loaded) { Global.Log.Error(`没有加载成功(${re...
Typescript
188V18.8438C15.1875 19.1544 14.9357 19.4062 14.625 19.4062H13.7812V20.25C13.7812 20.5607 13.5294 20.8125 13.2188 20.8125H12.0938C11.7831 20.8125 11.5312 20.5607 11.5312 20.25V19.4062H10.6875C10.3768 19.4062 10.125 19.1544 10.125 18.8438V17.7188C10.125 17.4081 10.3768 17.1562 10.6875 17.1562H11.5312Z", ...
JavaScript
olcache[1][1] = 75; BUS_READ_IVAR(device_get_parent(dev), dev, EMU_VAR_ROUTE, &route); sc->route = route; switch (route) { case RT_FRONT: sc->rt.amounts_left[0] = 0xff; sc->rt.amounts_right[1] = 0xff; sc->rt_mono.amounts_left[0] = 0xff; sc->rt_mono.amounts_left[1] = 0xff; if (sc->is_emu10k1) sc->codec ...
C
c_losses = 0, c_wins = 0, c_rounds = 0, c_hands_played = 0, c_face_cards_played = 0, c_jokers_sold = 0, c_cards_sold = 0, c_single_hand_round_streak = 0, }, progress = { }, joker_usage = {}, cons...
Lua
nfig.Icon), { Size = UDim2.new(0, 20, 0, 20), Position = UDim2.new(0, 25, 0, 15) }) WindowIcon.Parent = MainWindow.TopBar end MakeDraggable(DragPoint, MainWindow) AddConnection(CloseBtn.MouseButton1Up, function() MainWindow.Visible = false UIHidden = true OrionLib:MakeNotification({ Name = "Int...
Lua
(currentHash.isNotEmpty) { _folderHashCache[folderPath] = currentHash; await _saveFolderHashCache(); debugPrint("已更新文件夹 $folderPath 的hash缓存"); } // 同时更新子文件夹hash缓存 final subFolderHashes = await _calculateSubFolderHashes(folderPath); _subFolderHashCache[folderPath] = subFolderHashe...
Dart
ransformer for adding milliseconds if not present in value. Example: input: ""2024-05-03T04:27:56Z" output: "2024-05-03T04:27:56.000Z" """ @staticmethod def transform(timestamp): try: # Regular expression pattern to match th format '%Y-%m-%dT%H:%M:%SZ' without milli ...
Python
/* Some commonly-used VEC types. Copyright (C) 2012-2013 Free Software Foundation, Inc. This file is part of GDB. 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 ...
C
ine">\(a,b,h,k\)</span>?</h3> <p>So a general trick we use is to first simplify the equations so that we isolate what are the parameters of the model and what are the equilibrium variables we are solving for. In this problem, we are solving for <span class="math inline">\(Q^{equi}\)</span> and <span class="math inline"...
HTML
xnorcc %r16, 0x05de, %r12 .word 0x98440011 ! 6840: ADDC_R addc %r16, %r17, %r12 .word 0x8f3c1011 ! 6840: SRAX_R srax %r16, %r17, %r7 .word 0x843c0011 ! 6840: XNOR_R xnor %r16, %r17, %r2 .word 0x8e942c17 ! 6840: ORcc_I orcc %r16, 0x0c17, %r7 .word 0x973c2001 ! 6840: SRA_I sra %r16, 0x0001, %r11 !Branch co...
Assembly
ள் பயன்படுத்தக்கூடாது. அவை நிலையான அல்லது GCODE கட்டுப்படுத்தப்பட்ட டிசிட்டல் வெளியீடுகள் அல்லது வன்பொருள்-PWM ஊசிகளாக எ.கா. ரசிகர்கள். "SX1509" முன்னொட்டு கொண்ட எந்தவொரு பிரிவுகளையும் ஒருவர் வரையறுக்கலாம். ஒவ்வொரு விரிவாக்கமும் 16 ஊசிகளின் தொகுப்பை வழங்குகிறது (SX1509_MY_SX1509: PIN_0 முதல் SX1509_MY_SX1509: PIN_15) இ...
Markdown
[2].isNotEmpty()) appleMatch.groupValues[2].toDoubleOrNull() ?: 0.0 else appleMatch.groupValues[1].toDoubleOrNull() ?: 0.0 val seconds = appleMatch.groupValues[3].toDouble() // Apple has no idea how a TTML file works. So omit offset just for their ...
Kotlin
NextPageSelector() = "button.btn-secondary" // Latest override fun latestUpdatesRequest(page: Int): Request = popularMangaRequest(page) override fun latestUpdatesSelector() = popularMangaSelector() override fun latestUpdatesFromElement(element: Element): SManga = popularMangaFromElement(elem...
Kotlin
, @(4,r14) mov.l r13, @(8,r14) mov.l r13, @(12,r14) mov.l r13, @(36,r14) mov #68, r0 mov.l @(r0,r14), r0 cmp/eq #1, r0 bf .Mainloop_exec mov.l @r14, r0 cmp/eq #24, r0 bt .Mainloop_exec mov #6, r0 bra .Mainloop_skip mov.l r0, @(8,r14) .Mainloop_exec: mov.l @r14, r6 mov r14, r5 mov ...
Assembly
etTypeSchema(typeof(DynamicDropDownTestDto), context); // Assert schema.ShouldNotBeNull(); schema.Properties.ShouldContainKey("systemLLM"); var systemLLMProperty = schema.Properties["systemLLM"]; systemLLMProperty.ShouldNotBeNull(); // Should have dynam...
C#
terface IMessage { id: string; text: string; type: 'text' | 'poll'; user: IUser; isPublic?: boolean; options?: { id: number; text: string; }[]; } import { expect } from 'chai' import { get } from '../utils' const mockDataObject = { apples: { numExpired: 2, numGood: 5, }, bananas: { ...
Typescript
Clone)] pub struct ChallengeCell { pub input: CellInput, pub output: CellOutput, pub output_data: Bytes, } /// sync params #[derive(Clone)] pub struct SyncParam { /// contains transitions from tip to fork point pub reverts: Vec<RevertedL1Action>, /// contains transitions from fork point to new...
Rust
"(njësi të panjohura valutore)","one":"(njësi e panjohur valutore)"},"symbol":"¤","narrow":"¤"},"YDD":{"displayName":{"other":"YDD"},"symbol":"YDD","narrow":"YDD"},"YER":{"displayName":{"other":"rialë jemeni","one":"rial jemeni"},"symbol":"YER","narrow":"YER"},"YUD":{"displayName":{"other":"YUD"},"symbol":"YUD","narrow...
JavaScript
namespace Framework { using System; /// <summary> /// Determines the validity of an argument and throws Argument exceptions if invalid. /// </summary> public static partial class Guard { /// <summary> /// Confirms that the parameter value is not an instance of the specified typ...
C#
", [20100] = "Джессел", [20101] = "Ловчий Пустоты", [20102] = "Гоблин-обыватель", [20103] = "[PH] Сплетни NPC, гоблин, женщина, Рождество", [20104] = "[PH] Сплетни NPC, гоблин, женщина", [20105] = "[PH] Сплетни NPC, гоблин, женщина, Лунный фестиваль", [20106] = "[PH] Сплетни NPC, гоблин, мужчина, Лунный ф...
Lua
# Copyright 2017 Google, ARM Limited # # 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 i...
Python
es = { 'python' }, root_dir = util.root_pattern(unpack(root_files)), single_file_support = true, settings = { python = { analysis = { autoSearchPaths = true, useLibraryCodeForTypes = true, diagnosticMode = 'workspace', }, }, }, }, commands = ...
Lua
query += "&matrikel=" + inputs[2].value; console.log(query); sendRequest(query, handleInsertResponse); } function refresh(_event: Event): void { let query: string = "command=find"; sendRequest(query, handleFindResponse); } function sendRequest(_query...
Typescript
/* * Copyright (C) 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
C
DOM element //The data we want is the first item in the returned JSON, hence value "0" $("#searchTerm").html(data[0]); //The results data we want is the second item in the returned JSON, hence value "1" //Create a var to save the array of search results var searchResults = data[1]; //Loop through t...
JavaScript
LOG_2</b> returns the integer part of the logarithm base 2 of |I|. </li> <li> <b>I4_TO_ANGLE</b> maps integers to points on a circle. </li> <li> <b>I4_TO_RGB</b> maps integers to RGB colors. </li> <li> <b>I4_TO_S_LEFT</b> converts an integer ...
HTML
Carousel" data-dojo-props='textDir: "ltr", height:"150px", navButton:true, store:store1, numVisible:"1", title:"Hello &#1506;&#1493;&#1500;&#1501;!"'></div> <div id="carousel4" data-dojo-type="dojox.mobile.StoreCarousel" data-dojo-props='textDir: "ltr", height:"150px", navButton:true, store:store1, numVisible:...
HTML
DOCTYPE HTML> <html> <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=667520 --> <head> <title>Test for Bug 667520</title> <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/> </head> <body> <a target="_bl...
HTML
derecha."}}, [28687] = {"Enseña a un hombre a pescar... o a robar.", nil, {"Tienes que robar 22 lubinas de Monrojo. Encontrarás los pescados en redes en el embarcadero, en la parte trasera de la aldea. La Aldea Monrojo se encuentra al norte del campamento, a la derecha."}}, [28688] = {"Orden del Jefe de Guerra: ¡Norte ...
Lua
辦 鄧 勸 雙 書 擊 撲 節 術 朮 厲 佈 龍 滅 軋 東 佔 盧 業 舊 帥 歸 葉 電 號 隻 嘰 嘆 歎 們 儀 叢 爾 樂 冊 處 鼕 鳥 務 飢 饑 馮 閃 蘭 匯 彙 頭 漢 寧 牠 討 寫 讓 禮 訓 議 訊 記 齣 遼 邊 發 髮 聖 對 臺 檯 颱 糾 絲 動 釦 託 鞏 執 擴 掃 場 揚 亞 樸 機 權 過 協 壓 厭 頁 誇 奪 達 夾 軌 堯 劃 邁 畢 貞 師 塵 當 噹 籲 嚇 蟲 麴 團 糰 呂 衕 弔 喫 嗎 嶼 歲 迴 豈 則 剛 網 硃 丟 遷 喬 偉 傳 優 傷 價 倫 華 僞 嚮 曏 後 會 殺 閤 衆 爺 傘 創 朶 雜 負 爭 壯 衝 沖 妝 莊 慶 劉 齊 産 產 決 閉 問 闖...
Lua
:3.75rem}}.block-time{line-height:0.9375rem;padding:0.1875rem 0 0.75rem 0.625rem;position:relative}.block-time.published-time{font-size:0.8125rem;line-height:1.125rem;font-family:"Guardian Text Sans Web","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;margin:0;font-weight:bold}.block-time .live-pulse-icon--...
HTML
%D0%BE%D1%87%D0%B5%D0%BC%D1%83-%D1%81%D0%B0%D0%BC%D0%BE%D1%81%D1%82%D0%BE%D1%8F%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F-%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B8%D0%BA%D0%B0-%E2%80%94-%D1%8D%D1%82%D0%BE-%D1%81%D0%BB%D0%BE%D0%B6%D0%BD%D0%BE><span>1.4 Почему самостоятельная настройка — это сложно?</span></a></h2><p>Чт...
HTML
pixel_values.shape[3]) pixel_values = torch.cat([pixel_values, pad_pixel_values_], dim=0) pixel_values = torch.split(pixel_values, len(pixel_values) // sp_size, dim=0) pixel_values = pixel_values[sp_rank].contiguous() ...
Python
if rel="noopener noreferrer nofollow">SwitchyOmega</a>) которое позволяет включать/выключать локальные настройки прокси или делает это автоматически в зависимости от открываемого сайта.<h4>V2Ray/XRay</h4><p><a href=https://web.archive.org/web/20240502080813/https://github.com/v2ray/v2ray-core rel="noopener noreferrer n...
HTML
75186464], [51.493514344448386, 0.06139696839756516], [51.49340431706167, 0.061756671176640236], [51.493543800206126, 0.06205535556203697], [51.493793311150995, 0.06199433910905676]], {"bubblingMouseEvents": true, "color": "#ff0000", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ff...
HTML
, 0, wxSVGMark::MID)); prevAngle = angle; px = x; py = y; } marks.back().angle = prevAngle; marks.back().type = wxSVGMark::END; } void GetPathMarkPoints(const wxSVGPathSegList& segments, vector<wxSVGMark>& marks) { // This code should assume that ANY type of segment can appear at ANY index. // It should a...
C++
/**************************************************************************** * Copyright 2020 Thomas E. Dickey * * Copyright 1998-2004,2009 Free Software Foundation, Inc. * * * * Permi...
C
, &ff_swf_muxer, &ff_tee_muxer, &ff_tg2_muxer, &ff_tgp_muxer, &ff_mkvtimestamp_v2_muxer, &ff_truehd_muxer, &ff_tta_muxer, &ff_ttml_muxer, &ff_uncodedframecrc_muxer, &ff_vc1_muxer, &ff_vc1t_muxer, &ff_voc_muxer, &ff_vvc_muxer, &ff_w64_muxer, &ff_wav_muxer, ...
C
0) sout += " - \n"; else { // swe_revjul(tret[1], gregflag, &jyear, &jmon, &jday, &jut); sd.setJulDay(tret[1]); sd.setCalendarType(gregflag,SweDate.SE_KEEP_JD); // Keep JulDay! jyear=sd.getYear(); jmon=sd.getMonth(); jday=sd....
Java
库与 web 应用交互 在本节中,我们将开始编写 Python 代码,以使用请求库执行 HTTP 请求。 # 请求库 Requests 是用 Python 编写的 Apache2 许可 HTTP 库。创建它是为了减少使用`urllib2`和目前可用的其他 HTTP 库时所需的复杂性和工作量。 这是使用`urllib2`库时使用身份验证执行`api.github.com`请求所需的代码示例: ```py import urllib2 gh_url = 'https://api.github.com' req = urllib2.Request(gh_url) password_manager = urllib2.HTT...
Markdown
,399.0243301 177.4011465,398.9758231 177.3841306,398.9579522 177.3454048,398.9209337 177.2697135,398.8494498 176.9247018,398.5201134 176.8096979,398.4103345 176.6612490,398.2686433 176.3532028,397.9712192 176.2182492,397.8282515 176.0715606,397.6737952 176.2622558,397.2691453"/> <polygon id="uswijs212" fill="#EBECED" s...
HTML
', '', '', '', '1013367', '', '1,0,1', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1013367', '', '总不可能波塞冬去找阿瑞斯只是为了用阿瑞斯的权限发一个遗言吧?', '', '', '', '', '', '', '', '', '', '7014001', '', '', '2', '', '赫拉', 'Hera', '', '2', '', '5', '', '', '', '', '', '', '', '1013368', '', '1,0,1', '', '', '', '', '', '', ''...
Lua
04H216c-13.3 0-24 10.8-24 24 0 13.3 10.7 24 24 24h298.2c3.8 15.4 5.8 31.4 5.8 48zm-304-24h208c13.3 0 24 10.7 24 24 0 13.2-10.7 24-24 24H216c-13.3 0-24-10.7-24-24 0-13.2 10.7-24 24-24z"],"itch-io":[512,512,[],"f83a","M71.92 34.77C50.2 47.67 7.4 96.84 7 109.7v21.34c0 27.06 25.29 50.84 48.25 50.84 27.57 0 50.54-22.85 50.5...
JavaScript
{ pub fn xsltTestCompMatchList( ctxt: xsltTransformContextPtr, node: xmlNodePtr, comp: xsltCompMatchPtr, ) -> ::std::os::raw::c_int; } extern "C" { pub fn xsltNormalizeCompSteps( payload: *mut ::std::os::raw::c_void, data: *mut ::std::os::raw::c_void, name: *...
Rust
time.sleep(30) wait = WebDriverWait(self.driver, 20) wait.until(EC.presence_of_element_located((By.XPATH, '//div[@class="company-info"]'))) elem = self.driver.find_element_by_tag_name("body") for i in range(10): # elem.send_keys(Keys.PAGE_DOWN) self.drive...
Python
), RequireMixedCase: B(true), RequireNumberChar: B(true), RequireSpecialChar: B(true), }, }, Secondary: &rest_model.AuthPolicySecondary{ RequireExtJWTSigner: ToPtr(createExtJwtSignerResp.Payload.Data.ID), RequireTotp: B(false), }, Tags: &rest_model.Tags{SubT...
Go
11, '6': '.google.api.NodeSettings', '10': 'nodeSettings' }, { '1': 'dotnet_settings', '3': 26, '4': 1, '5': 11, '6': '.google.api.DotnetSettings', '10': 'dotnetSettings' }, { '1': 'ruby_settings', '3': 27, '4': 1, '5': 11, '...
Dart
.GetCidsCount() == 0 { return types.EMState{ RankValues: make([]float64, 0), EntropyValues: make([]float64, 0), KarmaValues: make([]float64, 0), } } tolerance := ctx.GetTolerance() dampingFactor := ctx.GetDampingFactor() cidsCount := ctx.GetCidsCount() stakesCount := ctx.GetNeuronsCount() ran...
Go
, U, V> proxy(fn: (a: A, b: B, c: C, d: D, t: T, u: U, v: V) -> TReturn, context: Nothing?, a: A, b: B, c: C, d: D): (t: T, u: U, v: V) -> TReturn fun <TReturn, A, B, C, T, U, V> proxy(fn: (a: A, b: B, c: C, t: T, u: U, v: V) -> TReturn, context: Nothing?, a: A, b: B, c: C): (t: T, u: U, v: V) -> TReturn fun <T...
Kotlin
0d ".format(i)) } println() for (row in 0..12) { print("%-3d".format(row)) for (i in 0..row) { val l = lah(BigInteger.valueOf(row.toLong()), BigInteger.valueOf(i.toLong())) print("%11d".format(l)) } println() } println("\nMaximum value from the...
Kotlin
asmota-KO.bin.gz</a></td><td bgcolor=#fcf7cf bordercolor=#fcf7cf>http://ota.tasmota.com/tasmota/release/tasmota-KO.bin.gz</td><td bgcolor=#fcf7cf bordercolor=#fcf7cf>447k</td><td><a href=tasmota-KO.bin>tasmota-KO.bin</a></td><td>626k</td><td>20220825 13:59</td><td>Korean (Korea)</td></tr><tr><td bgcolor=#fcf7cf borderc...
HTML
ci, &dci_dl_rx, str, (uint32_t)sizeof(str)); printf("Found DCI: %s\n", str); // Convert DCI to PDSCH transmission srsran_sch_cfg_nr_t pdsch_cfg = {}; if (rnti_type == srsran_rnti_type_ra) { pdsch_hl_cfg.common_time_ra[0].k = 0; pdsch_hl_cfg.common_time_ra[0].mapping_type = srsran_sch_mapping...
C++
${xTexelName(r, left - 2)} = getX(batch, xR, xC - 2, d1); }`; } if (col > 0) { mainLoop += `xR${r}C${left - 2} = ${constructTexel(r, left - 2, strideWidth, padLeft)};`; } if (left - 1 >= 0 && left - 1 < filterWidth) { mainLoop ...
Typescript
clude <linux/linkage.h> #include <asm/page_types.h> #include <asm/segment.h> #include <asm/nospec-branch.h> .text .code64 SYM_CODE_START(__efi64_thunk) push %rbp push %rbx /* * Switch to 1:1 mapped 32-bit stack pointer. */ movq %rsp, %rax movq efi_scratch(%rip), %rsp push %rax /* * Calculate the physi...
Assembly
"message_count", len(messages), "system_prompt_length", len(prompt), "user_messages", len(allMessages)) // Debug each message for i, msg := range messages { x.log.Debug("Message details", "index", i, "role", msg.Role, "parts_count", len(msg.Parts)) for j, part := range msg.Parts {...
Go
/></svg>");height:26px;width:26px}.is-mobile .modal-close-button{display:block;z-index:2;top:10px;right:12px;padding:4px;font-size:34px;width:34px;height:34px;background-color:var(--background-primary)}.is-mobile .modal-close-button:before{font-weight:300;color:var(--text-muted)}.is-mobile .modal-close-button:hover{ba...
CSS
s {unusedLocalVariables} f is only used for nested messages */ proto.SeasonCenter.toObject = function(includeInstance, msg) { var f, obj = { seasonid: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, battlepass: (f = msg.getBattlepass()) && proto.BattlePass.toObject(includeInstance, f), bpquestlist: (f =...
JavaScript
�为向量类型: [tidb]> SELECT VEC_DIMS('[0.3, 0.5, -0.1]'); +------------------------------+ | VEC_DIMS('[0.3, 0.5, -0.1]') | +------------------------------+ | 3 | +------------------------------+ 1 row in set (0.01 sec) -- 也可以使用 VEC_FROM_TEXT 显式地将字符串转换为向量类型后传递给 VEC_DIMS 函数: [tidb]> SELECT VEC_DIM...
Markdown
BudgetRecommendationTypeRequiresEitherPositiveOrNegativeLocationIdsForSearchChannel = 29, /// <summary> /// Ad group info is required for the CAMPAIGN_BUDGET recommendation type for /// SEARCH channel. /// </summary> [pbr::OriginalName("CAMPAIGN_BUDGET_RECOMMENDATION_TYPE_REQUIRE...
C#
"jp", "jrcxz", "js", "kaddb", "kaddd", "kaddq", "kaddw", "kandb", "kandd", "kandnb", "kandnd", "kandnq", "kandnw", "kandq", "kandw", "kmovb", "kmovd", "kmovq", "kmovw", "knotb", "knotd", "knotq", "knotw", "korb", "kord", "korq", "kortestb", "kortestd", "kortestq", "kortestw", "korw", "ksh...
Rust
option's argument (i.e. therefore the regex has to match * anything after even though they're not alphanumeric characters). */ const OPT_REGEX = /^-[a-zA-Z\d].*$/; /** * Regex pattern of a long option and its argument (if present). */ const LONG_OPT_REGEX = /^--[a-zA-Z\d]+(-([a-zA-Z\d])+)*(=.*)?$/; /** * Parse C...
Typescript
006C ; =0x0223EE34 ldr r3, [r0] mvn r1, #0 add r0, r3, #0x100 ldrsb ip, [r0, #0x21] ldr r0, [r3, #0x114] ldr r3, _02220070 ; =0x0223EE36 mov ip, ip, lsl #2 ldrh r2, [r2, ip] ldrh r3, [r3, ip] bl ov13_02239888 ldmia sp!, {r4, pc} .align 2, 0 _02220068: .word ov13_0224303C _0222006C: .word ov13_0223EE34 _0222...
Assembly
_REQUEST", 400002, "Bad Request") // E.g. Invalid JSON @JvmField val INVALID = Failed.Invalid ("INVALID" , 400003, "Invalid") // E.g. Valid JSON but invalid values @JvmField val NOT_FOUND = Failed.Invalid ("NOT_FOUND" , 400004, "Not found") // E.g. Resource/End point no...
Kotlin
def job_class(self) -> type: """Return the job class.""" return TrainModelJob def generate_jobs( self, args: dict | None = None, prev_stage_result: PREV_STAGE_RESULT = None, ) -> Generator[TrainModelJob, None, None]: """Generate training jobs for each tile locat...
Python
req); } // This test verifies that error is reported when the HTTP version // string doesn't contain a slash character. TEST_F(HttpRequestParserTest, invalidHttpVersionNoSlash) { std::string http_req = "POST /foo/ HTTP 1.1\r\n" "Content-Type: text/html\r\n\r\n"; testInvalidHttpRequest(http_req); } // ...
C++
d_sprite_load("S-top-shadow", { frame_sequence = top_sequence, frame_count = 18, draw_as_shadow = true }) }}, west_animation = { layers = { bmd_sprite_load("W-top", { frame_sequence = top_sequence, frame_count = 18, }), bmd_sprite_l...
Lua
ch (JiraRestApi\JiraException $e) { print('Error Occured! ' . $e->getMessage()); } ``` #### Delete version [See Jira API reference](https://docs.atlassian.com/software/jira/docs/api/REST/latest/#api/2/version-delete) ```php <?php require 'vendor/autoload.php'; use JiraRestApi\Version\VersionService; use JiraRe...
Markdown
Bytes([0, 1, 2, 3, 4, 5, 6, 7, 8, 9]); List<int> data = buf.getBytes(); print(data); return entry.writeBytes(buf).then((_) { return "choose: ${entry.name}; written successfully"; }); }); summaryFuture(f); } void handleFileRename() { chrome.ChooseEntryOptions options = new chrome.ChooseEn...
Dart
.searchoptions);n.sopt||(n.sopt=[],n.sopt[0]="select"===q.stype?"eq":b.defaultSearch);a.each(b.odata,function(){m.push(this.oper)});for(q=0;q<n.sopt.length;q++)r=a.inArray(n.sopt[q], m),-1!==r&&(p=g===b.odata[r].oper?"ui-state-highlight":"",f+='<li class="ui-menu-item '+p+'" role="presentation"><a class="ui-corner-all ...
JavaScript
ptr) uintptr { return (uintptr)(C.ScintillaEdit_markerLineFromHandle(this.h, (C.intptr_t)(markerHandle))) } func (this *ScintillaEdit) MarkerDeleteHandle(markerHandle uintptr) { C.ScintillaEdit_markerDeleteHandle(this.h, (C.intptr_t)(markerHandle)) } func (this *ScintillaEdit) MarkerHandleFromLine(line uintptr, whi...
Go
, %l7, %l6 ld [%l6], %o5 st %o5, [%l6] add %l6, %l7, %l6 ld [%l6], %o5 st %o5, [%l6] add %l6, %l7, %l6 ld [%l6], %o5 st %o5, [%l6] P4471: !_DWST [5] (maybe <- 0x41800085) (FP) ! 0 th moved, current_fp_src=21 fmovs %f16, %f21 fadds %f16, %f17, %f16 std %f20, [%i1 + 72] P4472: !_REPLACEMENT [12] (Int) sethi %hi(0x0)...
Assembly