content
stringlengths
2
6.21k
label
stringclasses
16 values
p_gt_\n\n_lt_p_gt_\n\tThe problem is the following _dd_ I draw the boxes_t_ edges with the enable edges rendering function. When the edges are belonoging to boxes in the sea_co_ I_t_m expecting to see them at least _qt_blurry_qt__co_ cause there is some water above it. Right now_co_ the edges doesn_t_t seem to be afect...
JavaScript
= nestedList.flatten(); // [1, 2, 3, 4, 5, 6] /// ``` Iterable<E> flatten() sync* { for (final current in this) { yield* current; } } } extension IterableFutureX<E> on Iterable<Future<E>> { /// Create a stream from a group of futures. /// /// The stream reports the results of the futures on ...
Dart
GCWTool(tool: const Tiger_192(), id: 'hashes_tiger192', searchKeys: const [ 'hashes', 'hashes_tiger_192', ], licenses: [ stl._toolLicensePointyCastle ]), GCWTool( tool: const Tiger_192HMac(), id: 'hashes_tiger192hmac', searchKeys: const [ 'hashes', ...
Dart
'.7z', 'w', zipfile.ZIP_DEFLATED) as zipf: # zipf.write(cam, os.path.split(cam)[1]) # print('compactando... FIM ', time.ctime()) # import py7zr # print(time.ctime(), 'compactando... ') # with py7zr.SevenZipFile(cam + '.7z', 'w') as archive: # archive.writeall(cam, os.path.split(cam)[1]) # print(time.ctime...
Python
sh":"84b2234fb34e835dccd048255d7ad3194b81af7d978c3bf157e3469592ae4e02","groupHash":"4dd408e5fdff9323c76a9b6f087ba8fdc5a6da907bd9217d9d10f2287d081957"}`, }, DrandDevnet: { Servers: []string{ "https://dev1.drand.sh", "https://dev2.drand.sh", }, Relays: []string{ "/dnsaddr/dev1.drand.sh/", "/dnsaddr/de...
Go
.082031 C 9.699219 45.101562 9.675781 45.148438 9.632812 45.167969 C 9.632812 45.210938 9.609375 45.257812 9.609375 45.277344 C 9.589844 45.320312 9.589844 45.367188 9.566406 45.386719 L 9.566406 45.496094 C 9.546875 45.539062 9.546875 45.585938 9.546875 45.648438 L 9.546875 45.738281 C 9.546875 45.78125 9.566406 45.82...
JavaScript
6C92\u6709\u91D1\u9470"}, {"Alias.alias.references.an.entry.type.that.is.not.a.private.key.entry.The.keyclone.command.only.supports.cloning.of.private.key", "\u5225\u540D <{0}> \u6240\u53C3\u7167\u7684\u9805\u76EE\u4E0D\u662F\u79C1\u5BC6\u91D1\u9470\u985E\u578B\u3002-keyclone \u547D\u4EE4\u50C5...
Java
Parent; var idx = toc.length - 1; temp = toc[idx]; // Walk backward from last available activity, // checking each until we get to a sibling of the current activity while (temp.mParent != -1 && temp.mParent != curParent) { temp = toc[temp.mParent]; var stopTrav = this.getActivity(temp....
JavaScript
0 0 # t0 is the loop index "i" li t1 0 # t1 is the running total loss loop_start: # Check loop end condition beq t0 a2 loop_end # Get addresses of "i"th element of both arrays slli t2 t0 2 # t2 = index * sizeof(int) add t3 t2 a0 add t4 t2 a1 # Load "i"th element of both arrays lw ...
Assembly
STACK_OF(CONF_VALUE) *values) { BASIC_CONSTRAINTS *bcons = NULL; CONF_VALUE *val; size_t i; if (!(bcons = BASIC_CONSTRAINTS_new())) { OPENSSL_PUT_ERROR(X509V3, ERR_R_MALLOC_FAILURE); return NULL; } for (i = 0; i < sk_CONF_VALUE_num(values...
C
r!(MostPlayedEmbed { author, description, footer, thumbnail, title, }); use std::fs; struct Cart { x: i32, y: i32, dir: (i32, i32), next_turn: u32, } fn main() { let input = fs::read_to_string("input").expect("Error reading file"); let grid: Vec<Vec<char>> = input.lines()....
Rust
wn() && !(was & StateFlag::Down)) { clicked(Qt::KeyboardModifiers(), Qt::LeftButton); } } } // namespace Profile /* This file is part of Telegram Desktop, the official desktop application for the Telegram messaging service. For license and copyright information please follow this link: https://github.com/telegramd...
C++
+### 政策概要 + +* **隔週程度の休日開庁の試行的実施:** まずは、住民ニーズの高い窓口(例:各種証明書発行、転入・転出届など)に限定し、月に数回(例えば隔週の日曜日など)の休日開庁を試行します。 +* **職員の柔軟な勤務体制の整備:** 休日開庁に対応するため、職員の交代制勤務を導入し、総労働時間が増加しないよう配慮します。既存の平日の業務体制への影響も最小限に抑える工夫を行います。 +* **取り扱い業務の明確化と効率的な運用:** + * 休日開庁日の業務は、書類の受付・確認、簡易な相談対応、定型的な証明書発行などに限定します。 + * 即時処理が難しい案件や専門的な判断を要する相...
Markdown
super.initAttribute(context, attributeSet) val typedArray = context.obtainStyledAttributes(attributeSet, R.styleable.DslTabLayout) dividerWidth = typedArray.getDimensionPixelOffset( R.styleable.DslTabLayout_tab_divider_width, dividerWidth ) dividerHeight...
Kotlin
nIn the past, we\'ve explored a few options on providing a forum for our users to help each other: [Google group](https://groups.google.com/forum/#!forum/loopbackjs), [Gitter](https://gitter.im/strongloop/loopback) and GitHub. We are pleased to announce that the LoopBack Slack workspace, [https://loopbackio.slack.com/]...
JavaScript
username target=_blank>kelevra </a><a class=tm-comment-thread__comment-link href=#comment_27136602 target=_blank><time datetime=2024-08-07T05:19:29.000Z title="2024-08-07, 08:19">7 авг в 08:19</time></a></span></span></div><div class=tm-comment__buttons></div></header><div class="tm-comment__body-content_v2 tm-comment_...
HTML
d,Z:Ad,"%":Ws},K={a:Ie,A:Ce,b:Pe,B:Ye,c:null,d:Vs,e:Vs,f:Rd,g:Bd,G:zd,H:Ed,I:bd,j:Id,L:Xs,m:Od,M:Cd,p:Be,q:dn,Q:Ys,s:Ks,S:Pd,u:Md,U:wd,V:Dd,w:Nd,W:Ld,x:null,X:null,y:Fd,Y:Ud,Z:jd,"%":Ws},nt={a:yt,A:lt,b:jt,B:vt,c:tt,d:Bs,e:Bs,f:rd,g:Fs,G:Ls,H:Us,I:Us,j:_f,L:nd,m:qf,M:td,p:Tt,q:kf,Q:od,s:id,S:ed,u:Yf,U:Kf,V:Zf,w:Wf,W:Jf...
JavaScript
d8x64<bool>(this->chunks[0] >= mask, this->chunks[1] >= mask, this->chunks[2] >= mask, this->chunks[3] >= mask) .to_bitmask(); } simdutf_really_inline uint64_t gteq_unsigned(const uint8_t m) const { const simd8<uint8_t> mask = simd8<uint8_t>::splat(m); return simd8x64<bool>...
C++
() { return failedRegistered; } public Set<GrpcURL> getFailedUnregistered() { return failedUnregistered; } public Map<GrpcURL, Set<NotifyListener.NotifyServiceListener>> getFailedSubscribed() { return failedSubscribed; } public Map<GrpcURL, Set<NotifyListener.NotifyServiceListener>> getFailed...
Java
EFT PARENTHESIS (OP_OP30) ÷ [0.3] × 002C × 0308 ÷ 0028 ÷ # × [0.3] COMMA (IS) × [9.0] COMBINING DIAERESIS (CM1_CM) ÷ [999.0] LEFT PARENTHESIS (OP_OP30) ÷ [0.3] × 002C × 0308 × 0020 ÷ 0028 ÷ # × [0.3] COMMA (IS) × [9.0] COMBINING DIAERESIS (CM1_CM) × [7.01] SPACE (SP) ÷ [18.0] LEFT PARENTHESIS (OP_OP30) ÷ [0.3] × 002C...
Dart
u?g:k.getUTCDate()!==c?g:k.getTime()+d*_},E=r.MIN_MS=r.dateTime2ms("-9999"),L=r.MAX_MS=r.dateTime2ms("9999-12-31 23:59:59.9999"),r.isDateTime=function(t,e){return r.dateTime2ms(t,e)!==g};var C=90*y,z=3*b,I=5*x;r.ms2DateTime=function(t,e,r){if("number"!=typeof t||!(t>=E&&t<=L))return g;e||(e=0);var i,o,s,l,u,c,h=Math.fl...
HTML
]="and press Continue. If the" Text[0x0221]="orientation on the next" Text[0x0222]="screen is wrong go back" Text[0x0223]="and try again." Text[0x0224]="Continue" Text[0x0229]="Set Orientation Manually" Text[0x0227]="Other settings" Text[0x022B]="WARNING!" Text[0x022C]="This will reset the" Text[0x...
Lua
// use fallback on windows, since it's faster #[cfg(all(target_os = "windows", any(target_pointer_width = "32", target_pointer_width = "64")))] fn memchr_specific(needle: u8, haystack: &[u8]) -> Option<usize> { fallback::memchr(needle, haystack) } memchr_spe...
Rust
0 25px 70px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2); } .dark-theme .input-wrapper:focus-within { background-color: rgba(28, 28, 30, 0.95); border-color: rgba(0, 122, 255, 0.4); box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1), 0...
CSS
x6040:34 DMC__Actual position lag LINT (64 bits)</pre></td> </tr> <tr class="txpdo"> <td colspan=3 align="left"></td> <td ><pre> 0x6040:35 DMC__Actual velocity INT (16 bits)</pre></td> </tr> <tr class="txpdo"> <td colspan=3 align="left"></td> <td ><pre> 0x6040:36 DMC__Actual position ...
Markdown
<< 0) pub const mask: u8 = 0xff << offset; /// Read-only values (empty) pub mod R {} /// Write-only values (empty) pub mod W {} /// Read-write values (empty) pub mod RW {} } } #[repr(C)] pub struct RegisterBlock { /// Control Register pub CTRL: RWRegi...
Rust
infuck&oldid=1235460695', licenseType: ToolLicenseType.CCBYSA4), ToolLicensePortedCode( context: context, author: 'Fabian Mastenbroek', title: 'brainfuck', sourceUrl: 'https://web.archive.org/web/20250511150306/https://github.com/fabianishere/brainfuck', ...
Dart
pInfo = &sl_pInfo[0] // Trampoline call after last array allocation if vkGetShaderInfoAMD.fnHandle == nil { vkGetShaderInfoAMD.fnHandle = dlHandle.NewProc("vkGetShaderInfoAMD") } rsys, _, _ = syscall.SyscallN(vkGetShaderInfoAMD.fnHandle.Addr(), uintptr(device), uintptr(pipeline), uintptr(shaderStage), uintptr(...
Go
`<script type="text/ecmascript"><![CDATA[` + svgPanJS + `]]></script>` + `<g id="viewport" transform="scale(0.5,0.5) translate(0,0)">` + svg[loc[0]:] } if loc := svgClose.FindStringIndex(svg); loc != nil { svg = svg[:loc[0]] + `</g>` + svg[loc[0]:] } return svg } // Copyright 2014 The Go Authors. ...
Go
manifest" href="%PUBLIC_URL%/manifest.json" /> <!-- Notice the use of %PUBLIC_URL% in the tags above. It will be replaced with the URL of the `public` folder during the build. Only files inside the `public` folder can be referenced from the HTML. Unlike "/favicon.ico" or "favicon.ico", "%PU...
HTML
float64(tEnd-prevTimestamp) / 1e3 return dv / dt } func rollupIderiv(rfa *rollupFuncArg) float64 { // There is no need in handling NaNs here, since they must be cleaned up // before calling rollup funcs. values := rfa.values timestamps := rfa.timestamps if len(values) < 2 { if len(values) == 0 { return nan...
Go
1 col_width1" style=""><div style="margin-left: 62px; text-indent: -32px;"> <img border="0" hspace="3" vspace="0" alt="*" src="LeafRowHandle.png"><img border="0" hspace="2" vspace="0" alt=" " src="Unchecked.png"> Ability to cherry-pick files before they're added to the assembly archive, and process them (processing usu...
HTML
tempomatMogli.cruiseControlOverlay:setUVs(getNormalizedUVs({793, 958, 26, 23})) tempomatMogli.cruiseControlOverlay:setColor(0.2122, 0.5271, 0.0307, 1) end end --********************************************************************************************************** -- tempomatMogli:deleteMap --********...
Lua
[Darkshore Grouper] .collect 729,3,38,1 -- Stringy Vulture Meat (3) .collect 730,3,38,1 -- Murloc Eye (3) .collect 731,3,38,1 -- Goretusk Snout (3) .collect 732,3,38,1 -- Okra (3) .collect 723,8,22,1 -- Goretusk Liver (8) .collect 5469,5,2178,1 -- Strider Meat (5) .collect 12238,6,1141,1 -- ...
Lua
# Copyright 2025 Ant Group Co., Ltd. # # 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 in wri...
Python
:subxt::StorageEntryKey { ::subxt::StorageEntryKey::Plain } } pub struct Vaults(pub ::core::primitive::u64); impl ::subxt::StorageEntry for Vaults { const PALLET: &'static str = "Vault"; const STORAGE: &'static str = "Vaults"; type Value = runtime_types::pallet_vault::models::VaultInfo< ...
Rust
ect.isTrue(c2_int is S); Expect.isTrue(c2_int is S<int>); Expect.isFalse(c2_int is S<String>); Expect.isFalse(c2_int.matches(c2)); Expect.isTrue(c2_int.matches(42)); Expect.isFalse(c2_int.matches("hello")); var c2_String = new C2<String>(); Expect.isTrue(c2_String is S); Expect.isTrue(c2_String is S<in...
Dart
background-color: #fff; border: 1px solid #eeeef0; -webkit-box-shadow: 0px -2px 2px 1px #eaedf5; -moz-box-shadow: 0px -2px 2px 1px #eaedf5; box-shadow: 0px -2px 2px 1px #eaedf5; } .theme-dark .ddp-association .ddp-label { float: left; padding: 31px 63px 31px 16px; font-size: 14px; ...
CSS
er_ = std::move(handler); } std::string_view get_request_attachment() const; std::string release_request_attachment(); std::any &tag() noexcept; const std::any &tag() const noexcept; coro_io::endpoint get_local_endpoint() const noexcept; coro_io::endpoint get_remote_endpoint() const noexcept; uint64_t g...
C++
Testreise 2019 – Swarovski Optik Z8i 3,5-28&#215;50 P</a> <span class="badge badge--review">9.5</span><div class="progressbar"><div class="progressbar__progress" style="width: 95%;"></div></div></article></li><li class="review"><article> <a class="review__title" href="https://www.jaegermagazin.de/jagdausruestung/jaege...
HTML
for deploy_arg_name, deploy_arg_list in deploy_op_args.items(): # if deploy_arg_name != 'c++_type' and isinstance(deploy_arg_list, str): # op_graph_code += f'{deploy_arg_list}\n' # if arg_code == '': # arg_code = '{"'+deploy_arg_name+'",'...
Python
fs_init(); return 0; err: kfree(zones); return ret; } module_init(pkg_temp_thermal_init) static void __exit pkg_temp_thermal_exit(void) { platform_thermal_package_notify = NULL; platform_thermal_package_rate_control = NULL; cpuhp_remove_state(pkg_thermal_hp_state); debugfs_remove_recursive(debugfs); kfree(zo...
C
"] = -9, ["1047_11_0"] = -9, ["1047_14_0"] = -2 } local key_to_index_map = {} local index_to_key_map = {} for k, v in pairs(key_to_index_map) do index_to_key_map[v] = k end local value_to_index_map = { ["\228\188\144\230\156\168\229\156\186"] = -1, ["\228\186\167\229\135\186\230\149\136\231\142\135\230\143\14...
Lua
'; import 'package:scrollable_positioned_list/scrollable_positioned_list.dart'; class ImmichAssetGrid extends HookConsumerWidget { final int? assetsPerRow; final double margin; final bool? showStorageIndicator; final ImmichAssetGridSelectionListener? listener; final bool selectionActive; final List<Asset>?...
Dart
padding: 0.4rem 0.6rem; text-decoration: none; border-radius: .64rem; text-transform: capitalize; } li > img { width: 2ex; height: 2ex; } </style> </head> <body> <ul> {% for app in apps %} <li> {% if let Some(icon) = app.icon %} ...
HTML
"Named_Snaps/Championship Soccer (19xx)(Hardisty, Mark James).png", "Named_Snaps/Championship Soccer (STD Software).png", "Named_Snaps/Championship Sprint (1988)(Electric Dreams).png", "Named_Snaps/Championship Sprint - Track Editor (1988)(Electric Dreams).png", "Named_Snaps/Chance in Hell, A (2011)(Flanagan, S...
Lua
e, MIN_ERROR_FLOOR) # Ensure a minimum error floor.\\n\\n # Final checks for NaN/Inf results before returning the final answer.\\n if np.isnan(final_answer) or np.isinf(final_answer):\\n return np.nan, np.inf\\n\\n # Ensure error_estimate is not NaN or Inf.\\n if np.isnan(final_error_estimate) or np....
HTML
: encoding: [0xe9,0xa8,0x0a,0x7e,0x01,0x77,0x39,0x05] v_rcp_f16 v5, v1 dpp8:[7,6,5,4,3,2,1,0] fi:1 // GFX12: encoding: [0xea,0xa8,0x0a,0x7e,0x01,0x77,0x39,0x05] v_rcp_f16 v127, v127 dpp8:[0,0,0,0,0,0,0,0] fi:0 // GFX12: encoding: [0xe9,0xa8,0xfe,0x7e,0x7f,0x00,0x00,0x00] v_rcp_f32 v5, v1 dpp8:[7,6,5,4,3,2,1,0] // GF...
Assembly
l s = y % 10 val b = y % 12 stem = stems[s] branch = branches[b] sName = sNames[s] bName = bNames[b] element = elements[s / 2] animal = animals[b] aspect = aspects[s % 2] cycle = y % 60 + 1 } override fun toString() = f...
Kotlin
width="22" height="11" class="mw-file-element" srcset=" //upload.wikimedia.org/wikipedia/commons/thumb/7/71/Flag_of_Ethiopia.svg/60px-Flag_of_Ethiopia.svg.p...
HTML
const ::PROTOBUF_NAMESPACE_ID::Message* request, ::PROTOBUF_NAMESPACE_ID::Message* response, ::google::protobuf::Closure* done) { GOOGLE_DCHECK_EQ(method->service(), file_level_service_descriptors_raftRPC_2eproto[0]); switch(meth...
C++
ATURE_RSB_CTXSW /* restore callee-saved registers */ popq %r15 popq %r14 popq %r13 popq %r12 popq %rbx popq %rbp jmp __switch_to SYM_FUNC_END(__switch_to_asm) .popsection /* * A newly forked process directly context switches into this address. * * rax: prev task we switched from * rbx: kernel thread func...
Assembly
if buffer[position] != rune('%') { goto l544 } position++ { position546, tokenIndex546 := position, tokenIndex if c := buffer[position]; c < rune('c') || c > rune('g') { goto l547 } position++ goto l546 l547: position, tokenIndex = position546, tokenIndex546 ...
Go
st", 4); addCard(Zone.HAND, playerA, "Delver of Secrets"); addCard(Zone.HAND, playerA, "Moonmist", 2); castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Delver of Secrets"); waitStackResolved(1, PhaseStep.PRECOMBAT_MAIN); castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Moonmist"...
Java
'{}' (expected [always, once, never]).", s )?, Error::InvalidSlot(slot) => writeln!( f, "Invalid slot '{}' (expected number between 1 and 20).", slot )?, Error::InvalidTouchPolicy(s) => writeln!( ...
Rust
VOICEMACRO_18_Tr_1", -- [45540] "VOICEMACRO_18_Tr_1_FEMALE", -- [45541] "VOICEMACRO_18_Tr_2", -- [45542] "VOICEMACRO_18_Tr_2_FEMALE", -- [45543] "VOICEMACRO_19_Dw_0", -- [45544] "VOICEMACRO_19_Dw_0_FEMALE", -- [45545] "VOICEMACRO_19_Dw_1", -- [45546] "VOICEMACRO_19_Dw_1_FEMALE", -- [45547] "VOICEMACRO_19_Dw_2",...
Lua
3AA1D52FAD1431B5"] = function() local L0_2, L1_2, L2_2 L0_2 = C4EE52E49562F8277 L0_2 = L0_2.S0B3F69C4549A0284 L0_2 = L0_2() if nil ~= L0_2 then L2_2 = L0_2 L1_2 = L0_2.F1E217886A5E348D9 L1_2(L2_2) end end L68_1 = "C4EE52E49562F8277" L68_1 = L25_1[L68_1] L69_1 = "S3AA1D52FAD1431B5" L70_1 = _ENV...
Lua
++i) { if(in.good()) { in >> data[i] ; } else { break ; } } if(!in.fail()) { data.swap(v) ; } else { //reload backup in.clear() ; in.seekg(in_pos) ; std::string input ; in >> input ; std::replace(input.begin(), input.end(), ';', ' ') ; std::stringstream ss...
C++
adrp x14, __aarch64_have_sme - ldrb w14, [x14, :lo12:__aarch64_have_sme] +#if __APPLE__ + adrp x14, ASMNAME (__aarch64_have_sme)@PAGE + ldrb w14, [x14, ASMNAME (__aarch64_have_sme)@PAGEOFF] +#else + adrp x14, ASMNAME (__aarch64_have_sme) + ldrb w14, [x14, :lo12:ASMNAME (__aarch64_have_sme)] +#endif cbz w14, L(end) ...
Assembly
a></b> ( int <i>index</i>, bool <i>visible</i> ) = 0</li> <li><div class="fn"/>virtual QString <b><a href="qdesignermembersheetextension.html#signature">signature</a></b> ( int <i>index</i> ) const = 0</li> </ul> <a name="details"></a> <hr /> <h2>Detailed Description</h2> <p>The QDesignerMemberSheetExtension class allo...
HTML
Url, 'user_id': item.userId, 'remote_path': item.remotePath, 'name': item.name, 'size': item.size, 'sign': item.sign, 'thumb': item.thumb, 'modified': item.modified, 'provider'...
Dart
<code id="documents:about:blank"><a href="infrastructure.html#about:blank">about:blank</a></code>であったとしても、その<a href="document-sequences.html#nav-document" id="documents:nav-document">アクティブな文書</a>の<a href="https://triple-underscore.github.io/DOM4-ja.html#concept-document-origin" id="documents:concept-document-origin-2" ...
HTML
.5s all; -ms-transition: 1.5s all; text-align: center; } .focus-layout:hover { background-color: transparent; transition: 0.5s all; -webkit-transition: 1.5s all; -moz-transition: 1.5s all; -o-transition: 1.5s all; -ms-transition: 1.5s all; } .focus-layout h4{ margin: 0 0 0 0; color:#4C4C4...
CSS
assert.equal(66.25, room.groups[2].averageRank); }); it("should distribute better matching ranks", () => { room.numClientsToMatch = 4; room.onJoin(createClient(), { rank: 1 }); room.onJoin(createClient(), { rank: 30 }); room.onJoin(createClient(), { rank: 50 }); room.onJoin(createClient(), { r...
Typescript
--エッジインプ・シザー function c30068120.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(30068120,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,30068120) e1:SetCost(c30068120.cost) e1:SetTarge...
Lua
current.getJSONObject("buff").put("tmpHP", (current.getJSONObject("buff").getIntValue("tmpHP") + blackboard.getJSONObject(0).getIntValue("value"))); } if (key.equals("immediate_reward")) { valueStr = blackboard.getJSONObject(0).getString("valueStr"); typ...
Java
-views-form fieldset .fieldset-legend { background: transparent url("../images/filter.png") no-repeat 0 0; color: #36a2f6; margin-top: 0; padding-left: 30px; /* LTR */ text-transform: uppercase; } html.js .view-filters fieldset.collapsible .fieldset-legend a, html.js .vbo-views-form fieldset .fieldset-lege...
CSS
dPrefs.getString("myString", any()) } returns "myValue" every { sharedPrefs.contains("myString") } returns true cache.clear() assertEquals("myValue", kvStorage[myString]) } @Test fun `kvStorage saves value into cache`() { kvStorage[myString] = "abcdefgh" assertEqual...
Kotlin
16.4494 11.852C16.7424 11.4135 17.1589 11.0717 17.6462 10.8699C18.1334 10.668 18.6696 10.6152 19.1869 10.7181C19.7042 10.821 20.1793 11.075 20.5523 11.4479C20.9252 11.8209 21.1792 12.296 21.2821 12.8133C21.385 13.3306 21.3322 13.8668 21.1303 14.354C20.9285 14.8413 20.5867 15.2578 20.1482 15.5508C19.7097 15.8438 19.194...
CSS
Property: (target, name: string): boolean => { return this.stateMap.delete(name); } }); return stateProxy; } bindTarget (target: any): void { this.targets.add(target); } unbindTarget (target: any): void { this.targets.delete(target); } private onChange (stateChange: StateCh...
Typescript
characters (e.g. "lorm", "loram", "lor123m", etc).</li> * <li><i>withSpaces</i>: When searching for "lor?m", the "?" will * match zero or one space or non-space character (e.g. "lor m", "loram", * etc). When searching for "lor*m", the "*" will match zero or more space * or non-space characters (e.g....
JavaScript
TextPainter textPainter = TextPainter( text: TextSpan(text: text, style: style), maxLines: 1, textDirection: TextDirection.ltr) ..layout(minWidth: 0, maxWidth: double.infinity); return textPainter.size; } final master = Image.asset('images/mastercard.png', width: 50, package: 'credit_card_...
Dart
/* * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
s): Rect { const option_direction = options?.direction ?? this.config.direction; const x = (options?.position?.x ?? this.config.group_offset_x); const y = (options?.position?.y ?? this.config.group_offset_y); if (option_direction === "row") { const w = children_count * (this....
Typescript
а може да бъде всякакъв текстов низ. Не е задължително да представлява валиден израз на Calcpad, тъй като на този етап не се обработва от синтактичния анализатор. Единствено, не е разрешено да включва дефинициите на други макроси и текстови променливи. Ако те обаче са дефинирани предварително, може да вмъквате референц...
HTML
string_double_quote = "Morshed Alam" single_quote = 'Morshed Alam' triple_single_quote = '''Hello Python''' triple_double_quote = """I love you Python."""
Python
int(stat.Mode().Perm())) } else { t.Logf("Running as non-root: asserting %s is world writable", path) must.Eq(t, current.Uid, fmt.Sprintf("%d", linuxStat.Uid)) must.Eq(t, 0o666, int(stat.Mode().Perm())) } } func TestLookupUnix_root(t *testing.T) { uid, gid, home, err := LookupUnix("root") must.NoError(t, er...
Go
g.B) { for _, size := range []int{1, 10, 100, 1000} { vals := make([]*proto3.Value, size) for i := 0; i < size; i++ { vals[i] = dateProto(d1) } lv := &proto3.ListValue{Values: vals} b.Run(strconv.Itoa(size), func(b *testing.B) { for _, s := range []struct { name string decode func(*proto3.Lis...
Go
} * returns a not present store and logs it to the user */ const value = name.slice(0, 3).toUpperCase() + type.slice(0, 3).toUpperCase() if (this.contents.has(value)) throw new ItemAlreadyPresentInStore(`${name} is already present in the store with a value of ${value}`) cons...
Typescript
) export const isSingleSelectField4 = and(and(isSingle)(hasEnoughItemsForSelect))( hasEnoughItemsForSelect, ) export const isSingleSelectField5 = pipe( hasEnoughItemsForSelect, and(isSingle), and(hasEnoughItemsForSelect), ) import {NotifyService} from "./notify.service"; import {EventEmitter, Injectable} from...
Typescript
, aliases: [], born: "In 188 AC or 189 AC", died: "In 209 AC, at King's Landing", childrenIds: [], allegiances: [291], bookIds: [6] }, { id: 105, name: "Alysanne Targaryen", isFemale: true, titles: ["Queen"], aliases: ["Good Queen Alysanne"], born: "36 AC", ...
Typescript
UnityEngine; namespace VisualPinball.Unity.Patcher { [AnyMatch] public class Defaults { [NameMatch("BallShadow1")] [NameMatch("BallShadow2")] [NameMatch("BallShadow3")] [NameMatch("BallShadow4")] [NameMatch("BallShadow5")] [NameMatch("BallShadow6")] [NameMatch("BallShadow7")] public void RemoveBallS...
C#
20 01107 ATTEMPT TO CONCATENATE A NULL VALUE.",// 335 "WARNING", IDS_HY_019, "HY019 01108 NON-CHARACTER AND NON-BINARY DATA SENT IN PIECES.",// 336 "WARNING", IDS_22_002, "22002 01109 INDICATOR VARIABLE REQUIRED BUT NOT SUPPLIED.",// 337 "WARNING", IDS_01_S07, "01S07 01110 FRACTIONAL TRUNCATION.",// 338 "WAR...
C
op = c; if part == 2 { // addition has precedence over muiltiplication // so hold off on performing the mult for now states.push_back(curr_state); curr_state = State::new(false); } } '...
Rust
}, }); err != nil { log.Fatal(err) } } func runCommand(ctx context.Context, b buildah.Buildah) error { return b.RunCommand(ctx, "build-container", []string{"ls"}, buildah.RunCommandOpts{}) } func buildFromDockerfile(ctx context.Context, b buildah.Buildah) (string, error) { dockerfileContent := ` FROM ubuntu:20...
Go
tml" title="class in com.ibm.j9ddr">CorruptDataException</a></span></div> <div class="summary-table three-column-summary"> <div class="table-header col-first">Modifier</div> <div class="table-header col-second">Constructor</div> <div class="table-header col-last">Description</div> <div class="col-first even-row-color">...
HTML
#include "testsuite_facade.h" TESTSUITE(9,"risings, heliacal risings") double jd, xxtret[10]; double geolat, geolon, altitude, tret; double atpress, attemp, athumid, atktot, obsage, obsSN; char serr[255], star[100], object[100]; int rc, ipl; swe_set_ephe_path(NULL); SETUP { *serr = '\0'; geolat = GET_D(geolat); ...
C
L_PlayerByIndex( i ); if ( player && player->IsPlayer() && engine->GetPlayerInfo( i, &playerInfo ) ) { char playerName[64]; V_snprintf( playerName, sizeof( playerName ), ", %s%s%s%s", playerInfo.name, player->IsObserver() ? "|SPEC" : "", C_BasePlayer::IsLocalPlayer( player ) ? "|LOCAL" : "",...
C++
// Observable Library // Copyright (c) 2016 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. #ifndef OBS_OBSERVERS_H_INCLUDED #define OBS_OBSERVERS_H_INCLUDED #pragma once #include "obs/safe_list.h" namespace obs { template<typename T> class obs...
C
SortBy } export function formatScopeQ(scope?: ResourceScope) { let scopeQ = '' if(scope) { scopeQ = scope === 'me' ? '' : scope scopeQ = `/${ scopeQ}` } return scopeQ } export const getBasePath = (spaceId?: string|number) => { if(spaceId) return `/spaces/${spaceId}` return '/home' } export funct...
Typescript
from .. import IconBase class IconUndoDot(IconBase): class_name = "lucide lucide-undo-dot" svg_data = { "attrs": { "width": "24", "height": "24", "view_box": "0 0 24 24", "fill": "none", "stroke": "currentColor", "stroke_width": "2", "stroke_linecap"...
Python
"Meyerbeer": [ "NNP" ], "Arney": [ "NNP" ], "scurried": [ "VBD" ], "federal-court": [ "JJ", "NN" ], "Arai": [ "NNP" ], "hail": [ "NN", "VB", "VBP" ], "hair": [ "NN" ], "T...
JavaScript
weenPosition(UDim2.new(0, 0, 1, -50), 'InOut', 'Quad', 0.5, true) local GOING_IN = true CMD_BAR_H.bar.Changed:connect(function() if CMD_BAR_H.bar.Text ~= 'press ; to execute a command' and CMD_BAR_H.bar.Focused and not GOING_IN then if CMD_BAR_H.bar.Text ~= '' then if not CMD_BAR_H.bar.Text:find(' ') then CM...
Lua
bool* allow_caching_ptr) { int chunk_index = c >> 13; switch (chunk_index) { case 0: return LookupMapping<true>(kToUppercaseTable0, kToUppercaseTable0Size, kToUppercaseMultiStrings0, ...
C++
39e0: 6d 00 00 cvtwd $0x0,$0x0 [d-float] 639e3: 00 halt 639e4: 18 00 bgeq 639e6 <op+0x4b8a> 639e6: 00 halt 639e7: 00 halt 639e8: f8 ff ff ff ashp *7439ed <_end+0x6d3fc5>,$0x0,$0x0,(fp),$0x0,$0x0 639ec: 6d 00 00 00 639f0: 6d 00 00 639f3: 00 ha...
Assembly
ass="separator:ga531d91de372f0dffb8d64abecf88b0c0"><td class="memSeparator" colspan="2">&#160;</td></tr> <tr class="memitem:ga38cdcc339eb8976d23296b99aa37d629" id="r_ga38cdcc339eb8976d23296b99aa37d629"><td class="memItemLeft" align="right" valign="top"><a class="el" href="nats_8h.html#a3bc1b3fe7f64083e60c7c3b93f205bad"...
HTML
let body_value: serde_json::Value = serde_json::from_slice(&body)?; let message = match body_value.get("message") { Some(value) => value.as_str().unwrap_or("Request was malformed."), None => "Request malformed.", }; ...
Rust
getAllocateUnits) log.Infof("successfully schedule pvc %s", utils.GetName(pvc.ObjectMeta)) return bindingInfo, nil } func unitsToBinding(pvcs []*corev1.PersistentVolumeClaim, units []cache.AllocatedUnit) *pkg.BindingInfo { if len(units) <= 0 || len(units) > 1 { log.Errorf("unexpected allocated unit number: %d", l...
Go
SSIONS}</option>{S_FORUM_OPTIONS}</select></dd> </dl> <!-- ENDIF --> <dl> <dt><label for="forum_name">{L_FORUM_NAME}{L_COLON}</label></dt> <dd><input class="text medium" type="text" id="forum_name" name="forum_name" value="{FORUM_NAME}" maxlength="255" /></dd> </dl> <dl> <dt><label for="forum_desc">{L_FORUM...
HTML
te("icon",itemData.Quality) self.main:FindChild("Icon"):GetComponent("UnityEngine.UI.Image").sprite = UITools.GetSprite("itemicon",itemData.Icon) self.main:FindChild("Name"):GetComponent("UnityEngine.UI.Text").text = itemData.Name end function BountyMatchGetRewardAPI:ClosePanel() Object.Destroy(self.this.transfo...
Lua