content
stringlengths
2
6.21k
label
stringclasses
16 values
>example.com</code> は、<code>example.com</code>(同じオリジン)から <code>&lt;iframe&gt;</code> を埋め込みます。 ネストされた <code>&lt;iframe&gt;</code> は、<code>tracker.example</code> から <code>&lt;iframe&gt;</code> を埋め込みます。</td> <td>HTTP: はい<br> JS: いいえ</td> </tr> </tbody> </table> <h3 id="Storage_access_expiration" name="Storage_a...
HTML
eteerCS == 3 then player:startEvent(100) -- talk about lost stone elseif rockRacketeer == QUEST_ACCEPTED and rockRacketeerCS == 4 then player:startEvent(101, 0, 598) -- send player to Palborough Mines else player:startEvent(432) end end function onEventUpdate(player, csid, option) ...
Lua
lapsed) => { let categories if (typeof window !== 'undefined') { const url = new URL(window.location.href) const collapsedItems = new URLSearchParams(url.search).get('collapsed') switch (true) { case !renderCollapsed && collapsedItems === null: categories = ['passed']...
HTML
return Err(anyhow!( "Right check failed: {:?}, {:?}", (t.id, i), (index, at.id) )); } } } } Ok(()) } #[cfg(test)] mod tests { // Note this useful idiom: importing names f...
Rust
括 http/https var bookSourceName: String = "", // 名称 var bookSourceGroup: String? = null, // 分组 // @PrimaryKey var bookSourceType: Int = 0, // 类型,0 文本,1 音频 var bookUrlPattern: String? = null, //详情页url正则 var customOrder: Int = 0, // 手动排序编号 var...
Kotlin
actions[robot_index,5].cpu().detach().numpy(), "actions6": actions[robot_index,6].cpu().detach().numpy(), "actions7": actions[robot_index,7].cpu().detach().numpy(), "actions8": actions[robot_index,8].cpu().detach().numpy(), "actions9": acti...
Python
# configs/settings.py - 全局静态配置文件 from dotenv import load_dotenv import os import json from pathlib import Path # --- 从 .env 文件加载敏感信息到环境变量 --- # 这使得我们可以通过 os.getenv("...") 来安全地获取密钥 load_dotenv() # 项目根目录 ROOT_DIR = Path(__file__).parent.parent # --- 日志配置 --- LOG_LEVEL = "INFO" # 可选: "DEBUG", "INFO", "WARNING", "ERRO...
Python
Count(), 0); Assert.assertEquals(compileResult.getWarnCount(), 10); for (Diagnostic diagnostic : compileResult.getDiagnostics()) { Assert.assertTrue(diagnostic.message().startsWith("unused variable")); } } } /* * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) All Rights R...
Java
5 0 GETUPVAL R10 1 GETTABLEKS R9 R10 K0 ["makeQueryString"] DUPTABLE R10 K3 [{"id", "assetName"}] SETTABLEKS R0 R10 K1 ["id"] SETTABLEKS R3 R10 K2 ["assetName"] CALL R9 1 1 MOVE R6 R9 LOADK R7 K4 ["#"] GETUPVAL R9 1 GETTABLEKS R8 R9 K0 ["makeQueryString"] DUPTABLE R9 K7 [{"assetTypeId", "isPackage...
Assembly
ul><li>Cites high-quality sources</li><li>Easy to understand</li><li>Directly addresses the post’s claim</li><li>Provides important context</li><li>Neutral or unbiased language</li></ul>" /%} {% inlineCallout title="Unhelpful note" variant="error" children="<p>“One of the protes signs is in English?! Unlikely this pr...
Markdown
s_srvHeap; static DX12Utils::Heap s_rtvHeap; static DX12Utils::Heap s_dsvHeap; static DX12Utils::UploadBufferTracker s_ubTracker; static DX12Utils::DelayedReleaseTracker s_delayedRelease; static DX12Utils::HeapAllocationTracker s_heapAllocationTrackerRTV; ...
C++
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2016 OpenFOAM Foundation \\/ M anipulation | -------------...
C
Val}} </td> <td ng-repeat="oneCol in oneRow.imageCols" ng-if="oneRow.rowspan > 0" rowspan="{{ oneRow.rowspan }}"> <div ng-show="oneCol.url"> <a href="{{ oneCol.url }}" target="_bl...
HTML
9E 00 00 */ lwz r12, 0(r30) /* 801672D0 00164210 81 8C 01 D0 */ lwz r12, 0x1d0(r12) /* 801672D4 00164214 7D 89 03 A6 */ mtctr r12 /* 801672D8 00164218 4E 80 04 21 */ bctrl .L_801672DC: /* 801672DC 0016421C 80 1E 01 74 */ lwz r0, 0x174(r30) /* 801672E0 00164220 28 00 00 00 */ cmplwi r0, 0 /* 801672E4 00164224 41 ...
Assembly
case 'forum.groups.global': return 'グローバル'; case 'forum.groups.chinese': return '中国語'; case 'forum.groups.japanese': return '日本語'; case 'forum.groups.korean': return '韓国語'; case 'forum.groups.other': return 'その他'; case 'forum.leafNames.announcements': return 'お知らせ'; case 'forum.leafNames.feedback': r...
Dart
InterpolatedStringExpressionSyntax stringExpression, SyntaxKind newStartKind, Action<IVirtualCharService, StringBuilder, SyntaxToken> addStringText) { using var _ = ArrayBuilder<InterpolatedStringContentSyntax>.GetInstance(out var newContents); foreach (var content in stringExpression.Cont...
C#
; assert_eq!(1, snapshot_history.len()); assert_eq!(0u64, state_snapshot_repository.load_latest(&shard_id).unwrap()); assert_eq!(1, file_io.get_states_for_shard(&shard_id).unwrap().len()); } #[test] fn revert_to_removes_version_newer_than_target_hash() { let shard_id = ShardIdentifier::random(); let (file...
Rust
/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation \\/ M anipulation | -------------...
C
zh %v0, 0(%v1,%r2) #CHECK: error: invalid operand #CHECK: vlm %v0, %v0, -1 #CHECK: error: invalid operand #CHECK: vlm %v0, %v0, 4096 vlm %v0, %v0, -1 vlm %v0, %v0, 4096 #CHECK: error: invalid operand #CHECK: vlrepb %v0, -1 #CHECK: error: invalid operand #CHECK: vlrepb %v0, 4096 #CHECK: error: invalid use of vector...
Assembly
ertools::Itertools; use lazy_static::lazy_static; lazy_static! { static ref DEBUG: bool = std::env::var("MKT_DEBUG").is_ok(); static ref DEBUG_IMG: bool = std::env::var("MKT_DEBUG_IMG").is_ok(); } const DEFAULT_ITEM_WIDTH: u32 = 160; const DEFAULT_ITEM_HEIGHT: u32 = 200; const DEFAULT_ITEM_RATIO: f32 = DEFAUL...
Rust
tion if the test fails */ @Test @Alerts({"theBody", "theBody", "theBody"}) public void writeAddNodesToCorrectParent() throws Exception { final String html = DOCTYPE_HTML + "<html><head><title>foo</title></head>\n" + "<body id=\"theBody\">\n" + "<script>\n"...
Java
adius:3px;}.plugin-install-php h4{margin:2.5em 0 8px;}#profile-page .form-table textarea{width:500px;margin-bottom:6px;}#profile-page .form-table #rich_editing{margin-right:5px;}#your-profile legend{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:22px;}#your-profile #rich_editing{border:...
CSS
/QlwxINq8xEdUPowc84=</SignatureProvided> <EC>0002-00000040</EC> </Error>`), func(t *testing.T, r *http.Request) { assert.Equal(t, "POST", r.Method) strUrl := sortQuery(r) assert.Equal(t, "/bucket/object?x-oss-async-process", strUrl) data, _ := io.ReadAll(r.Body) assert.Equal(t, "x-oss-async-proc...
Go
!= nil { fmt.Fprintf(os.Stderr, "Error creating request: %v\n", err) } req.Header.Add("Authorization", "Bearer "+pat) resp, err := client.Do(req) if err != nil { fmt.Fprintf(os.Stderr, "Error making request: %v\n", err) } defer resp.Body.Close() if resp.StatusCode >= 200...
Go
enumTypes = make([]protoimpl.EnumInfo, 1) var file_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 25) var file_rpc_proto_goTypes = []any{ (SQLQueryStatus)(0), // 0: rpc.SQLQueryStatus (*GetSchemaRequest)(nil), // 1: rpc.GetSchemaRequest (*GetSchemaResponse)(nil), // 2: rpc.GetSchemaRespo...
Go
(UnknownSlotErr self, string msg) { make_(self, msg, null); } public static void make_(UnknownSlotErr self, string msg, Err cause) { Err.make_(self, msg, cause); } ////////////////////////////////////////////////////////////////////////// // C# Constructors ///////////////////////////////////////////////////...
C#
<link rel="stylesheet" href="../../dist/leaflet.css" /> <link rel="stylesheet" href="../css/screen.css" /> <script type="importmap"> { "imports": { "leaflet": "../../dist/leaflet-src.js" } } </script> </head> <body> <style> * { margin: 0; padding: 0; } #outer { positi...
HTML
c_offsets] origin of variants %d\n", origin)); /* * assign offsets to fields of records of the variants * keep maximum length of the current record. */ for ( varntnlp = recp->ptr[NL_VARNT]; varntnlp != NIL; varntnlp = varntnlp -> chain ) { vrecnlp = varntnlp->ptr[NL_VTOREC]; /* * ...
C
e Flader in Jöhstadt für Aufbau und Vorbaupumpe der KS 25 verantwortlich, die nach den Vorstellungen des damaligen Wehrführers gestaltet worden war. Erneut wurde der V8-Motor mit 7.849 cm³ Hubraum und 150 PS, gleichzeitig noch die ursprüngliche Kühlermaske verwendet. Ein Wassertank mit 300 l Inhalt sowie eine im Heck e...
HTML
ef int8_t (*Func)(intptr_t p1, intptr_t p2, RuntimeObject * p3, const RuntimeMethod* method); int8_t ret = ((Func)methodPointer)(*((intptr_t*)args[0]), *((intptr_t*)args[1]), (RuntimeObject *)args[2], methodMetadata); return Box(il2cpp_codegen_class_from_type (il2cpp_codegen_method_return_type(methodMetadata)), &ret)...
C++
原文:Gets user-specified limit for number of ambient mobs that can spawn in * a chunk. * * @return 生成限制数 * @deprecated 建议使用 {@link #getSpawnLimit(SpawnCategory)} */ @Deprecated(since = "1.18.1") int getAmbientSpawnLimit(); /** * Gets user-specified limit for number of {@link Spa...
Java
|4286|M|50,50|US|N|Collect Dark Iron Fanny Packs off Dark Iron Dwarves.| ;After Dungeon Trip 1 T Attunement to the Core|QID|7848|M|48.41,63.82|Z|1415|N|To Lothos Riftwalker.| T Abandoned Hope|QID|4242|M|84.74,69.01|Z|Burning Steppes|N|To Marshal Maxwell.| T The Good Stuff|QID|4286|M|84.55,68.68|Z|Burning Steppes|N|To...
Lua
div id="geo-map-marker"></div> <div id="geo-map-direction"> <div id="geo-map-arrow"></div> <div id="geo-map-direction-label"></div> </div> <div id="geo-gpxreplaystatus"></div> </div> </div> </cordova-group> ...
HTML
r=red)](https://github.com/SUI-Components/sui-components/issues/new?&projects=4&template=bug-report.yml&assignees=&template=report-a-bug.yml&title=🪲+&labels=bug,component,atom,helpText) [![npm](https://img.shields.io/npm/dt/%40s-ui/react-atom-help-text?logo=npm&labelColor=black)](https://www.npmjs.com/package/@s-ui/re...
Markdown
die sterblichen Nachkommen des m\195\164chtigen Gottes, siedelten sich dort an und betrachten den Kral bis zum heutigen Tag als ihr h\195\182chstes Heiligtum, dessen Herz der Razorfen (Klingenbusch) genannt wird. Heute wird der gr\195\182\195\159te Teil des Krals von Razorfen von der alten Stammesf\195\188rstin Charlga...
Lua
5, r8 mov r3, #0 mov r2, #3 str r7, [fp, #-68] ldrb r1, [r1, #24] @ zero_extendqisi2 mov ip, #1 mov r7, r3 mov r9, r10, asl r1 rsb r4, r1, r4 mov r8, r8, asl r1 str r9, [r6, #28] str r4, [r6, #32] mov r10, r2 str r8, [r6, #36] b .L416 .L414: mov r2, r8, asl #24 mov r1, ip, asl r10 cmp r2, r0 sub r10, ...
Assembly
bl ov02_02337F80 add sp, sp, #8 ldmia sp!, {r4, pc} _023377BC: mov r1, #0xaa bl ov02_02337F80 bl ov02_023382A8 ldr r1, _023377E0 ; =ov02_023377E4 mov r0, r4 bl ov02_0234FB38 add sp, sp, #8 ldmia sp!, {r4, pc} .align 2, 0 _023377DC: .word ov02_0235AA60 _023377E0: .word ov02_023377E4 arm_func_end ov02_0233777...
Assembly
nder(Canvas canvas, int w, int h, ColorFilter filter) { final float scaleX = w / 24.0f; final float scaleY = h / 24.0f; mPath.reset(); mRenderPath.reset(); mFinalPathMatrix.setValues(new float[]{1.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 1.0f}); mFi...
Java
id="rustdoc-modnav"><h2><a href="index.html">In futures_<wbr>util::<wbr>task</a></h2></div></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../i...
HTML
(isAll) return false; if (mask == null) { isAll = true; _masks = null; return true; } return (_masks ??= {}).add(mask); } @override String toString() { if (isAll) { return '<all>'; } else if (_masks != null) { return '$_masks'; } else { return '<none>'...
Dart
set="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"> <link type="text/css" rel="stylesheet" href="main.css"> </head> <body> <div id="container"></div> <div id="info"> <a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> -...
HTML
CACHE_HCNT0U_CHIT_CNT0_MASK (0xFFFFUL<<0) /* CACHE_CCNT0L register definitions */ #define CACHE_CCNT0L_CACC_CNT0_MASK (0xFFFFFFFFUL<<0) /* CACHE_CCNT0U register definitions */ #define CACHE_CCNT0U_CACC_CNT0_MASK (0xFFFFUL<<0) /* CACHE_HCNT1L register definitions */ #define CACHE_HCNT1L_CHIT_CNT1_MASK ...
C
using MelonLoader; using Tomlet; [assembly: MelonInfo(typeof(WorldLink.Core), "WorldLink", "1.0.0", "Azalea")] [assembly: MelonGame("sega-interactive", "Sinmai")] namespace WorldLink; public class Config { public string LobbyUrl { get; set; } public bool Debug { get; set; } } public class Core : MelonMod {...
C#
// let myObj = new myClass(6); // console.log(myObj.value); interface myIntegers { s:number; t:string; myFunc(); }// Type definitions for non-npm package gm_config 0.1 // Project: https://github.com/sizzlemctwizzle/GM_config/ // Definitions by: Adam Thompson-Sharpe <https://github.com/MysteryBlokHed> // ...
Typescript
cted EventHandlerUtils.fire(connection._memoryCategory, connection._fn, ...) end connection = nextNode end end --[=[ Wait for fire to be called, and return the arguments it was given. ::: info Signal:Wait() is implemented in terms of a temporary connection using a Signal:Connect() which disconnects itsel...
Lua
48-48 48H173.3c-17 0-33.3-6.7-45.3-18.7L28.1 393.4C10.1 375.4 0 351 0 325.5V224 160 104C0 81.9 17.9 64 40 64zm560 0c22.1 0 40 17.9 40 40v56 64V325.5c0 25.5-10.1 49.9-28.1 67.9L512 493.3c-12 12-28.3 18.7-45.3 18.7H400c-26.5 0-48-21.5-48-48V385.1c0-29.7 11.8-58.2 32.8-79.2l25.3-25.3 0 0 15.2-15.2 32-32c12.5-12.5 32.8-12...
JavaScript
ff('\uf72a'), gmo_microbiology('\uf729'), gmo_microwave('\uf728'), gmo_microwave_gen('\uf727'), gmo_military_tech('\uf726'), gmo_mimo('\uf725'), gmo_mimo_disconnect('\uf724'), gmo_mindfulness('\uf723'), gmo_minimize('\uf722'), gmo_minor_crash('\uf721'), gmo_mintmark('\uf720'), gmo_missed_video_cal...
Kotlin
REG(rcx) // 16 POP_REG(rbx) POP_REG(rbx) // 16 POP_REG(rdi) ret .cfi_endproc /* * Copyright 2018-2025 Yury Gribov * * The MIT License (MIT) * * Use of this source code is governed by MIT license that can be * found in the LICENSE.txt file. */ .globl NvToolCreateInterface .p2align 4 .type Nv...
Assembly
&quot;copyright&quot;;original&#61;&quot;Copyright (c) 2000 SWsoft company Modifications copyright (c) 2001, 2013. Oracle and/or its affiliates. All rights reserved. &quot;;match&#61;&quot;.{0,5000}&quot;&gt;&gt;&#10;This material is provided &quot;as is&quot;, with absolutely no warranty expressed or implied. Any u...
HTML
s="ts2"></span>swf: 'muplayer_mp4.swf' // 对应的swf文件路径<br> <span class="ts"></span>}<br> }, {<br> <span class="ts"></span>type: 'AudioCore'<br> }] </pre> </td> </tr></table></td> </tr> </tbody> </table> <section id="play"> <h1>play</h1> ...
HTML
using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; using System.Collections.Immutable; namespace OrleanSpaces.Analyzers.OSA001; /// <summary> /// Reports to the client that interfaces marked with this attribute are intended for internal use only. /// </summary> [DiagnosticAnalyzer(...
C#
(100% - 130px)}}@media (min-width:900px){.site-header.is-scrolling--not-top .site-header__navigation .site-header__navigation__content{height:4.375rem;position:unset}}.site-header.is-scrolling--not-top .site-header__navigation .site-header__navigation__content .site-header__search-form{margin:0}@media (min-width:900px)...
HTML
ng `flex.html` and `flex.css` as a starting point, work together to create the missing CSS necessary to form the layout shown to you on screen. - This will not be easy so work at it as best you can. This is a challenging activity. At the very least, try to increase your understanding of CSS properties. ### Hint - Co...
Markdown
47-1.23-.08-1.6Zm-3.979-5.517-.903-.014-.106.897a11.51 11.51 0 01-.202 1.149 9.867 9.867 0 01-1.488 3.454C21.306 26.604 18.68 28 15.75 28c-2.716 0-5.166-1.196-6.819-3.263-.812-1.016-1.429-2.243-1.789-3.646a11.117 11.117 0 01-.286-1.504l-.089-.77-.768-.106A2.336 2.336 0 014 16.386a2.34 2.34 0 011.82-2.293l.811-.178-.012...
Dart
; this.codingPos = 0; blackPixels = 0; while (codingLine[this.codingPos] < columns) { code1 = 0; if (blackPixels) { do { code1 += code3 = this.getBlackCode(); } while (code3 >= 64); } else { do { code1 += code3 = this.getWhiteCo...
JavaScript
x, fromFieldName, typeFrom, typeTo, flexer) if !ok { // Corresponding field not found in to. tflog.SubsystemDebug(ctx, subsystemName, "No corresponding field", map[string]any{ logAttrKeySourceFieldname: fromFieldName, }) continue } toFieldName := toField.Name toFieldVal := valTo.FieldByIndex(toF...
Go
Accelerating SPARTA</A> section of the manual. The accelerated styles take the same arguments and should produce the same results, except for different random number, round-off and precision issues. </P> <P>These accelerated styles are part of the KOKKOS package. They are only enabled if SPARTA was built with that pack...
HTML
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.Specialized; using System.Web.WebPages.TestUtils; using Microsoft.TestCommon; using Moq; namespace System.Web.Helpers.Test { ...
C#
e0062_e0065_e006e_e0067_e007f</h4> <pre>public static&nbsp;int emoji_emojidex_1f3f4_e0067_e0062_e0065_e006e_e0067_e007f</pre> </li> </ul> <a name="emoji_emojidex_1f3f4_e0067_e0062_e0073_e0063_e0074_e007f"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>emoji_emojidex_1f3f4_e0067_e0062_e0073_e0063_e00...
HTML
xt()) { long et=0; int appid = rs.getInt(1); String appname = rs.getString(2); int parentid = rs.getInt(3); long t = rs.getLong(4); String groupname = rs.getString(5); // Parent app (for grouping) et = t; if (appid != lastappid) { if (parentid != lastparentid) { // New Base Ap...
Java
�ចូល​តំណ URL', noTel: 'Please type the phone number', // MISSING other: '<ផ្សេង​ទៀត>', phoneNumber: 'Phone number', // MISSING popupDependent: 'Dependent (Netscape)', popupFeatures: 'មុខ​ងារ​ផុស​ផ្ទាំង​វីនដូ​ឡើង', popupFullScreen: 'ពេញ​អេក្រង់ (IE)', popupLeft: 'ទីតាំងខាងឆ្វេង', popupLocationBar: 'របារ​ទីតាំង',...
JavaScript
EH5BzpfHkn8+M6f9pzh+qzORZis9QuCs6N9Ir1j9GAME4g\/ZwgAI5g\nrBhxy2FRM5I39OLMv92cAu495ctERKshXKUJM0jJQvT7p\/Vy3KWeETTcJIeLWTrjZzaEQghAC+vR\nHuQXmLExI\/Yeb7KJmeDjv9YsyoSfOUJ6coGC1DQQ9ODrz2mANtUqoavwkiXPYq8DF0hIXOaEc6N8\nKd38e8z+cUqt2mI0jCnP9lUVMf1z7f1CgqLl2WnEjldFm3rkvKrgf\/k\/0fZm7Qc1VnrGFqYEoySQ\naQfBWdCZiowGnTg6JuJcoa3mM...
Python
gIA+D9hLH11yCME6cOCdJHy89AGADnFEbm89PCr0UYb5A6ZIFAsn8o SATguIJo+fppxX8HYZz8D6n75DcfAGE0ff3HtxEDf1ipdNDyh9LxhwVwOmkgB4Sx6h9Kxx8aAGJB GLDmHxb9FwCIAGEAf6gA8Ln0XAIAAEAYAACAMAAAAGEAAADCAACAs/JfAQYAL3iXmIlSiu4AAAAA SUVORK5CYII="a:adobe-blending-mode=multiply a:adobe-opacity-share=1 opacity=0.75></image><g id=g79><radialGradi...
HTML
IPA:ɟʝɡʱə)">ज्घ</span></td> <td><span title="jṅa (IPA:ɟʝŋə)">ज्ङ</span></td> <td><span title="jca (IPA:ɟʝcɕə)">ज्च</span></td> <td><span title="jcha (IPA:ɟʝcɕʰə)">ज्छ</span></td> <td><span title="jja (IPA:ɟʝɟʝə)">ज्ज</span></td> <td><span title="jjha (IPA:ɟʝɟʝʱə)">ज्झ</span></td> <td><span title="jña (IPA:ɟʝɲə)">ज्ञ</s...
HTML
""" This script can be used to check the effect of the power excursions effect in the EDFA class. It will model a linear topology with the params specified below and launch a transmission with as many signals as indicated in signal_no (see below). wdg1 will increase the average gain of the EDFAs, ...
Python
distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package zlogwriter import ( "context" "path/filepath" "testing" "github.com/stretchr/testify/assert...
Go
ar # 构建完整日期 try: month = int(date[:2]) day = int(date[2:]) target_date = datetime(year, month, day) except ValueError: return { "status": "error", "message": "日期格式无效,应为MMDD格式,例如0113表示1月13日" }...
Python
ilt.html">VlIKMFilt</a></td><td class="indexvalue">IKM quantizer </td></tr> <tr><td class="indexkey"><a class="el" href="structVlKDForest.html">VlKDForest</a></td><td class="indexvalue">KDForest object </td></tr> <tr><td class="indexkey"><a class="el" href="structVlKDForestNeighbor.html">VlKDForestNeighbor</a></td>...
HTML
AccessCheckByTypeResultList? _AccessCheckByTypeResultList; int AccessCheckByTypeAndAuditAlarmW( ffi.Pointer<ffi.Uint16> SubsystemName, ffi.Pointer<ffi.Void> HandleId, ffi.Pointer<ffi.Uint16> ObjectTypeName, ffi.Pointer<ffi.Uint16> ObjectName, ffi.Pointer<ffi.Void> SecurityDescriptor, ffi.Poin...
Dart
/* * ZTE zx296702 SoC reset code * * Copyright (c) 2015 Linaro Ltd. * * Author: Jun Nie <jun.nie@linaro.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <l...
C
权限字符:<input type="text" name="roleKey"/> </li> <li> 角色状态:<select name="status" th:with="type=${@dict.getType('sys_normal_disable')}"> <option value="">所有</option> <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> </select...
HTML
W50cw== 24370 IF0pCg== 24371 IENsZXZlbGFuZA== 24372 cmVwbw== 24373 RGlzYw== 24374 Njc3 24375 NzYy 24376 ICI+Cg== 24377 77+977+977+977+9 24378 IG5lYXJlc3Q= 24379 NTkx 24380 X3Ri 24381 KHJlcXVpcmU= 24382 RU9G 24383 LWNoaWxk 24384 IGJ1ZGQ= 24385 Llh0cmFFZGl0b3Jz 24386 YWx0aWVz 24387 NzIz 24388 XCI6XCI= 24389 V29yZHM= 2439...
Kotlin
nt),type(ctx.comment_content),tag.start,tag.end) comment = ctx.comment_content[commenttag.start:commenttag.end].replace(r'--',r'-&minus;') fdest.write(comment) fdest.write('\n%s\n' % (COMMENT_NOTE_END,)) ctx.pos = insert_pos else: srctags = tag.childs() commenttags = ...
Python
49) pkcs(1) pkcs-9(9) 3 } id-messageDigest OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 4 } id-signingTime OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs-9(9) 5 } id-countersignature OBJECT IDENTIFIER ::= { iso(1) member-b...
Rust
] for slot in slots_athos]) slot_athos12_start_date = slot1_athos.start_datetime slot_athos12_end_datetime = slot2_athos.end_datetime (slot1_athos + slot2_athos).undo_split_shift(slot_athos12_start_date, slot_athos12_end_datetime, slot1_athos.resource_id) self.assertFalse(slot2_athos.exi...
Python
r12 subs r3, r3, #1 stmia r0, {r8-r9} add r0, r0, r2 bne 1b ldmfd sp!, {r4-r10,pc} .align 8 2: ldmia r1, {r4-r5, r10} add r1, r1, r2 ADJ_ALIGN_DOUBLEWORD_D 1, r6, r7, r4, r5, r10 ADJ_ALIGN_DOUBLEWORD_D 2, r8, r9, r4, r5, r10 pld [r1...
Assembly
-caption { font-size: .9em; } } @media (max-width: 800px) { .seriousslider-inner > .item img.item-image { max-height: 70vmax; max-width: none; width: auto; } .seriousslider-sizing2 .seriousslider-inner > .item img.item-image { max-height: none; } .seriousslider-control { font-s...
CSS
{ elem, err := unmarshalElement(buf[i : i+2]) if err != nil { if err == EndOfRide { break } return err } d.Elements = append(d.Elements, elem) } // XXX where is this data actually stored? d.Clearance = 2 d.ClearanceDirection = CLEARANCE_ABOVE return nil } // Turn track data into a series of ...
Go
up) seq_group_meta, out = schedule_and_update_computed_tokens(scheduler) assert set(get_sequence_groups(out)) == set(running) # To partially prefill both sequences, both can chunk up to 30 tokens # But the next lowest multiple of the block size (4) is 28 assert seq_group_meta[0].token_chunk_size ==...
Python
например, в <div class="c-bibliographic-information__value">) pages_elem = soup.select_one("div.c-bibliographic-information__value") if pages_elem: pages_text = pages_elem.text.strip() pages_match = re.search(r"(\d+\s*[-–]\s*\d+)", pages_text) page...
Python
{ return this.name; } public void setName(java.lang.String name) { this.name = name; } public java.lang.String getElementName() { return this.elementName; } public void setElementName(java.lang.String elementName) { this.elementName = elementName; } public java.lang.String getElement...
Java
0 printf("%s: %s: %x to %x on cpus %#x\n", __func__, ti->ti_name, page_mask, ti->ti_synci_page_bitmap, onproc & page_onproc & ti->ti_kcpuset); #endif TLBINFO_UNLOCK(ti); } kcpuset_intersect(onproc, page_onproc); if (__predict_false(!kcpuset_iszero(onproc))) { /* * If the cpu need to sync this p...
C
fn1f:var(--xchgx9);--xpp0t0:var(--xs3qie1);--x24ev4u:var(--x1geor5j);--x1ytqakv:var(--x1y2f6we);--x1aw8q5o:var(--x1ijusto);--xj7nnbg:var(--xqnohao);--x19gksrq:var(--xdmf6ii);--x1i80249:var(--xouawjn);--x1lta7rf:var(--x1kkq6xj);--x1lpidcp:var(--xchsu4f);--x1q7utds:var(--x9oh9eg);--x1atnhr1:var(--x1owjw4d);--x1g6wi5r:var...
CSS
.13-.544-.315-.76-.017.322.216.582.255.893-.016.109-.084.202-.136.297-.139-.078-.31-.156-.343-.329-.095-.256-.037-.563-.192-.797-.063.223.046.44.088.656.023.134.082.303-.023.417a2.76 2.76 0 01-.106.133c-.105-.075-.24-.145-.275-.28-.059-.26-.016-.53-.064-.79-.014-.033-.037-.059-.058-.086-.07.31.085.616.047.928-.042.112-...
Dart
.76-1.14-1.14-1.76-2.64-1.76-4.24 0-1.32.43-2.57 1.21-3.6l4.79 4.78v4.82zm0-14.49v4.58l7.25 7.26c1.37-2.96.84-6.57-1.6-9.01l-5.65-5.66-3.7 3.7 1.41 1.41 2.29-2.28z"/></g> <g id="invert-colors-on"><path d="M17.66 7.93l-5.66-5.66-5.66 5.66c-3.12 3.12-3.12 8.19 0 11.31 1.56 1.56 3.61 2.34 5.66 2.34 2.05 0 4.1-.78 5.66-2.3...
HTML
dxgi.dll", 0xc7c20, 0x0, true, 0x3bf312aa9f35387a) #define _m48(...) _SDK_MAGIC_LINK(_SDK_ESCAPE(sdk::unknown_ptr), "$FindClose$dxgi.dll", 0x28001, 0x0, true, 0x159aee9a36196531) #define _m49(...) _SDK_MAGIC_LINK(_SDK_ESCAPE(sdk::unknown_ptr), "$FindFirstFileW$dxgi.dll", 0x27fe9, 0x0, true, 0xe452862f1e0bb812) #define ...
C++
// Generic data for Tooltip data: T; } export type ToolTipValue = ToolTip<GenericValue>; export interface DayData { // Value is the variable used for the internal calculation // of the colors value: number | undefined; // Other data that belongs to the structure [index: string]: any; } export interface W...
Typescript
int numCommits, int numDocsPerCommit, boolean optimize) throws Exception { for (int cc = 1; cc <= numCommits; ++cc) { for (int nn = 1; nn <= numDocsPerCommit; ++nn) { ++numDocs; final Integer docKey = numDocs; SolrInputDocument doc = new SolrInputDocument(); ...
Java
ptr [[TMP10]], align 4 // CHECK11-NEXT: [[TMP11:%.*]] = getelementptr inbounds [4 x ptr], ptr [[DOTOFFLOAD_MAPPERS]], i32 0, i32 1 // CHECK11-NEXT: store ptr null, ptr [[TMP11]], align 4 // CHECK11-NEXT: [[TMP12:%.*]] = getelementptr inbounds [4 x ptr], ptr [[DOTOFFLOAD_BASEPTRS]], i32 0, i32 2 // CHECK11-NEX...
C++
nsitiveDataModel) if !sdModel.finished { t.Error("Expected model to be finished") } if sdModel.adminKey != "adminkey123" { t.Errorf("Expected admin key to be 'adminkey123', got '%s'", sdModel.adminKey) } // Test E2E only model = NewSensitiveDataPrompt(false, true) model.inputs[0].SetValue("keystorepass123...
Go
ortunate in the community.</li> <li><strong>Sawm (Fasting):</strong> During the month of Ramadan, Muslims fast from dawn to sunset. Fasting teaches self-control, empathy for the hungry, and spiritual reflection. It is a time for increased worship, charity, and community.</li> <li><strong>Hajj (Pilgrimag...
HTML
250 Q 922 819 1161 601 Q 1400 384 1738 384 Q 2144 384 2425 690 Q 2706 997 2706 1503 Q 2706 1984 2436 2262 Q 2166 2541 1728 2541 Q 1456 2541 1237 2417 Q 1019 2294 894 2097 L 366 2166 L 809 4519 L 3088 4519 L 3088 3981 L 1259 3981 L 1013 2750 Q 1425 3038 1878 3038 Q 2478 3038 2890 2622 Q 3303 2206 3303 1...
HTML
from typing import List, Union, Literal def coin_exchange(coins: List[int], amount: int) -> Union[int, Literal[-1]]: if amount < 0: return -1 if amount == 0: return (0, []) dp = [float('inf')] * (amount + 1) dp[0] = 0 coin_used = [-1] * (amount + 1) for i in range(1, amount + ...
Python
ype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,....
CSS
translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.-translate-y-1\/2{--un-translate-y:-50%;transform:t...
CSS
n redirect(url_for('auth.login', error='Error logging in: {}'.format(e))) #incorrect username or password else: #if login fails, redirect back to login page with an error message and flash a message saying login failed flash('Invalid username or password', 'error') #i...
Python
efinition: - TP: Matches of connections are True Positive - FP: Mismatches are False Positive, - TN: Matches for non-existing synapses are True Negative - FN: mismatches are False Negative. """ if not np.all(np.isin([-1, 0, 1], np.unique(estimate))): estimate = classify_c...
Python
import set = Reflect.set; @Directive({ selector: '[blockSpecialKey]' }) export class BlockSpecialKeyDirective { private regex: RegExp = new RegExp(/^-?[0-9a-zA-Z]+(\.[0-9a-zA-Z]*){0,1}$/g); private specialKeys: Array<string> = ['Backspace', 'Tab', 'Enter']; @Input() isAlphaNumeric: boolean; const...
Typescript
: inset #e6f0ff 0 1px 0, inset #e6f0ff 0 -1px 0; box-shadow: inset #e6f0ff 0 1px 0, inset #e6f0ff 0 -1px 0; } .mtpTreeGridRowSelected, .mtpMultiSelectTreeGridRowSelected { background-color: #d6e8ff; } .mtpTreeGridRowSelectedOver, .mtpMultiSelectTreeGridRowSelectedOver { background-color: #c4ddfd; background-image...
CSS
pgAyD+wFaqhnYoSZ1Vwr8CmlTQbrcO3ZaX0NAEyMbYaAlyquFoLKK3SPby9CeVUPThrSJmkCAE0CrKUQadi4DrdSlWhmah0YL9z9vClH59YGbHx1J8VZTyAjQepJjmXwAKTDQI3omc3p1U4gDUf6RfcdYfrUp5ClAi2J3Ba6UOXGo+K+bQrjjssitG2SJzshaLwMtXgRagUNpYYoVkMSBLM+9GGiJZMvduG6DRZ4qc04DMPtQQxOjEtACmhO7K1AbNbQDEggZyJwscFpAGwENhoBeUwh3bWolhe8BTYVKxQEWrSUn/uhcM5KhvUu/+eQ...
CSS