content
stringlengths
2
6.21k
label
stringclasses
16 values
0; GUI.Label(new Rect(10, 100, 200, 20), Shit1); try { if (menu) rc = GUI.Window(0, rc, new GUI.WindowFunction(GI), "Trash"); foreach (GameObject gameObj in badguys) { Transform[] allChildren = gameObj.transform.GetComponentsInChildre...
C#
TERPASSWORD, gui_isodialog_c::title(title_enter_password), ts::wstr_c(TTT("ATTENTION! Your profile is about to be encrypted with password. The only one way to open password-encrypted profile - enter correct password. If you forget password, you will lose your profile!",383)), ts::wst...
C++
ve a LINK element, check its REL type. if ( SUCCEEDED(pLinkElement->get_rel(&bstrREL)) && (bstrREL != NULL) && SUCCEEDED(pLinkElement->get_href(&bstrHREF)) ...
C++
# Illustrates basic definition of a class in Python class Person: def __init__(self, name, age): self.name = name self.age = age p1 = Person('John', 36) p2 = Person('Phoebe', 21) print('id(p1):', id(p1)) print('id(p2):', id(p2)) print(p1) print(p2)
Python
) then sourcecell = cellfromgrid( copy_source_x , copy_source_y ) targetcell = cellfromgrid( x , y ) memory_cell[targetcell] = simplecopy(memory_cell[sourcecell]) end end end end end redraw() end function grid_redraw() if g == nil then -- bail ...
Lua
mat("MMMM yyyy"); static final DateFormat _dayFormat = new DateFormat("dd"); static final DateFormat _firstDayFormat = new DateFormat("MMM dd"); static final DateFormat _fullDayFormat = new DateFormat("EEE MMM dd, yyyy"); static final DateFormat _apiDayFormat = new DateFormat("yyyy-MM-dd"); static String for...
Dart
="27"><h3 class="r"><a href="https://en.wikipedia.org/wiki/Cheese" onmousedown="return rwt(this,&#39;&#39;,&#39;&#39;,&#39;&#39;,&#39;1&#39;,&#39;AFQjCNFoPFU-N7RalkG4HpzKZ9txi_2fVQ&#39;,&#39;&#39;,&#39;0ahUKEwj3pvuatanPAhUCET4KHYeJCQEQFggcMAA&#39;,&#39;&#39;,&#39;&#39;,event)">Cheese - Wikipedia, the free encyclopedia<...
HTML
ly: , Verdana, Arial, Helvetica, sans-serif; font-size: 9pt; font-weight: normal; line-height: 15pt} .buttonText { font-family: , Verdana, Arial, Helvetica, sans-serif; font-size: 9pt; clip: rect( )} .sideBtn { font-family: , Verdana, Arial, Helvetica, sans-serif; font-size: 9pt; line-height: 9pt} .titleDesc { ...
CSS
} }); add( new HashMap<>() { { put("table", "admin_roles"); put("name", "20231208_14_00_00_admin_roles"); ...
Java
onNodeSelect = block } } class MultiSelectTreeViewElementBuilder<T : Tag> internal constructor( type: ComponentType<TreeViewProps>, classMap: List<Pair<Enum<*>, String>>, factory: (TagConsumer<Unit>) -> T ) : TreeViewElementBuilder<T>(type, classMap, factory, true) { var Tag.defaultSelected: Array<Str...
Kotlin
// Desc: Framework For Game Develop with Unity3d // Copyright: Copyright (C) 2017 SnowCold. All rights reserved. // WebSite: https://github.com/SnowCold/Qarth // Blog: http://blog.csdn.net/snowcoldgame // Author: SnowCold // E-mail: snowcold.ouyang@gmail.com using System; using Syst...
C#
t -= 1; } break; } case 3: { // Three bytes left: same as in the big loop above. We can't do this in // the loop because the loop above always reads 4 bytes, and the fourth // byte is past the end of the input. if (szdest < 4) return 0; uint32_t in = (uint32_...
C++
e of sequential address, it will be a lookup of the generated address against /// every known address plus the look ahead threshold. /// /// In the case of random address it will mainly be an attempt to decrypt the /// given hdpayload and reconstructing the address with it. /// fn lookup( ...
Rust
either express or implied. -- See the License for the specific language governing permissions and -- limitations under the License. function request_client(data, eos) ts.debug('request_client') ts.ctx['reqbody'] = ts.ctx['reqbody'] .. data ts.debug("req transform got " .. string.len(data) .. "bytes, eos=" .. ...
Lua
///is rotated into the msb. ///The resulting value of the flags register is: Z 0 0 C pub fn rr(register: u8, flags: &mut u8) -> u8 { let lsb: u8 = register & 1; let result: u8 = (register >> 1) | ((*flags & CARRY_FLAG_MASK) << 3); *flags = 0; *flags |= lsb << 4; //CY *flags |= !(((result & 0x7F) + 0x7F) | result)...
Rust
true; } fn r_mark_ndA(env: &mut SnowballEnv, context: &mut Context) -> bool { // (, line 215 // call check_vowel_harmony, line 216 if !r_check_vowel_harmony(env, context) { return false; } // among, line 217 if env.find_among_b(A_7, context) == 0 { return false; } return...
Rust
bkit-user-drag: none; } .fui-widget.fui-disabled { opacity: 0.3; } .fui-widget.fui-hide { display: none !important; } .fui-widget.fui-mask-animate { -webkit-transition: all 0.2s; -moz-transition: all 0.2s; transition: all 0.2s; } .fui-widget.fui-mask-hint { -webkit-transform: perspective(600px) translateZ(3...
CSS
Nb3ZlRml4dHVyZVJlcXVlc3QSFwoHcGxhbl9pZBgBIAEoCVIGcGxhbklkEjgKCmZpeHR1cmVfaWQYAiABKAsyGS5taXplci5maXh0dXJlcy5GaXh0dXJlSWRSCWZpeHR1cmVJZBIMCgF4GAMgASgBUgF4EgwKAXkYBCABKAFSAXk='); @$core.Deprecated('Use addImageRequestDescriptor instead') const AddImageRequest$json = const { '1': 'AddImageRequest', '2': const [ co...
Dart
ss="tt-zh" lang="zh"><div class="poem"></div></td></tr><tr class="tt-main-ja" id="=-23" data-pos="&#91;&quot;=&quot;,23&#93;"><td class="tt-time" lang="zh"><div class="poem"></div></td><td class="tt-ja" lang="ja"><div class="poem">暇潰しの暇もなく 素早く出来る</div></td><td class="tt-zh" lang="zh"><div class="poem"></div></td></tr><...
Markdown
** Support for fuzzy autocomplete suggestions. */ const autocomplete = (function() { const Autocomplete = function(sourceList, opt_ignoreCase) { this.sourceList_ = sourceList; this.headItems_ = sourceList.filter(item => item.head); this.items_ = sourceList.filter(item => !item.head); this.ignoreCase_ ...
HTML
function () { assert.notOk('#fffffg'.match(REGEXP)); assert.notOk('#ffffffg'.match(REGEXP)); assert.notOk('#fffff'.match(REGEXP)); assert.notOk('#fffffff'.match(REGEXP)); }); }); describe('Test CSS hexa (with 0x prefix) color Regex', () => { it('Should match color with only integer', function () { ...
Typescript
insptr++; if (g_banjoSong == 0) { switch (krand2()&3) { case 3: g_banjoSong = 262; break; case 0: g_banjoSong = 272; ...
C++
OR: FLAG_SPILL_LINE_VARS :OR: FLAG_NO_EXPAND_SKEW, 2, \ "stride_d,stride_s,ht,ht_info,bitptrs,orig_w,scratch", \ "x,stride_d,stride_s,bitptrs", bitptrs ;wk4 ; ******************************************************************** MACRO SourceWord8_16_16bits $src, $dst, $fixed_skew MOV $s...
Assembly
0.0")] public partial class DomainSecurityProfilesRequestBuilderGetRequestConfiguration : RequestConfiguration<global::Microsoft.Graph.Beta.Security.DomainSecurityProfiles.DomainSecurityProfilesRequestBuilder.DomainSecurityProfilesRequestBuilderGetQueryParameters> { } /// <summary> ...
C#
// HandleLabelUpdate godocs // // @Summary Update Label // @Tags Labels // @Produce json // @Param id path string true "Label ID" // @Success 200 {object} repo.LabelOut // @Router /v1/labels/{id} [PUT] // @Security Bearer func (ctrl *V1Controller) HandleLabelUpdate() errchain.HandlerFunc { fn := fun...
Go
td> <td></td> </tr> </table>NI \# 品 梱 I . 写出下列图片对应的字母。(8分) 䠶 1. $\qquad$ $\qquad$ 筧 它 , 3. $\qquad$ K 爿 出 岗 聞 煜 )4. )2. A. pig $\qquad$ 2. \% 4. $\qquad$ $\qquad$ $\qquad$ II. 根据图片选择正确的单词。(8 分) A. $\operatorname{dog}$ B. bag 完 祭 A. elephant B. ear III. 单项选择。(12 分) ( ) 1. It $\qquad$ a dog. A. is B. are C. have 关注微信占...
Markdown
) no-repeat -385px -125px} #smart_editor2 .se2_qeditor .se2_mercol{width:57px;height:19px;background:url("../../img/zh_CN/btn_set.png?160622") no-repeat -413px -125px} #smart_editor2 .se2_qeditor .se2_seprow_off{width:28px;height:19px;background:url("../../img/zh_CN/btn_set.png?160622") no-repeat -385px -87px} #smart_e...
CSS
() .padding(12.dp) .clickable { onClick.invoke() }, shape = CircleShape ) { Icon( imageVector = imageVector, contentDescription = null, modifier = Modifier .size(30.dp) .padding(4.dp) ...
Kotlin
} return result.toList(growable: growable); } static Map<String, IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference> mapFromJson(dynamic json) { final map = <String, IoK8sKubeAggregatorPkgApisApiregistrationV1ServiceReference>{}; if (json is Map && json.isNotEmpty)...
Dart
you need additional information or have any * questions. */ package org.graalvm.compiler.api.test; import java.util.Formatter; import org.graalvm.compiler.api.runtime.GraalJVMCICompiler; import org.graalvm.compiler.api.runtime.GraalRuntime; import jdk.vm.ci.runtime.JVMCI; import jdk.vm.ci.runtime.JVMCICompiler;...
Java
artışıyorlar. Üstelik bu tartışmayı gizli değil, kamuoyunun önünde açıkça ve özgürce yapıyorlar. <b><br/><br/>Tekrar Ergenekon’a dönersek... Ergenekon konusunda AKP’nin gizli hesapları olduğundan kuşkulanıyor musunuz? </b> <br/><br/>Çok açık söyleyeyim. Türkiye’de Kemalist, ulusalcı bir derin devlet vardır ve devletin ...
Markdown
t.querySelector(button) : button; if (!btnElement) return; const wasLoading = this.isLoading(btnElement); // 如果在loading状态,先清除loading if (wasLoading) { btnElement.classList.remove('btn-loading'); btnElement.disabled...
HTML
align l2_inv_api_params: .word 0x1, 0x00 l2_inv_gp: /* Execute smi to invalidate L2 cache */ mov r12, #0x1 @ set up to invalidate L2 smc #0 @ Call SMI monitor (smieq) /* Write to Aux control register to set some bits */ ldr r4, scratchpad_base ldr r3, [r4,#0xBC] ldr r0, [r3,#4] mov r12, #0x3 smc #0 @ Ca...
Assembly
# Copyright Materialize, Inc. and contributors. All rights reserved. # # Use of this software is governed by the Business Source License # included in the LICENSE file at the root of this repository. # # As of the Change Date specified in that file, in accordance with # the Business Source License, use of this software...
Python
using LiveCaptionsTranslator.utils; namespace LiveCaptionsTranslator.models { public class TranslationTaskQueue { private readonly object _lock = new object(); private readonly List<TranslationTask> tasks; private (string translatedText, bool isChoke) output; public (string tr...
C#
套标注化的DSL语言,并且非常方便的可以使用导入导出的功能进行工作流的复用。</p> <p><img src="https://api.allorigins.win/raw?url=https://mmbiz.qpic.cn/mmbiz_png/GkSBRc9GpQ7LmLw9beRB1Ix9lUGTsMiaMicpuMUw4YvEiaG0svqMDTl7aianhLvnR3qWXWW2gk2rpE69vT1exHK3PQ/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1" alt=""></p> <p><stron...
HTML
conv.Itoa(i)), []byte(strconv.Itoa(i))) } for i := 0; i < size; i++ { if err := tree.Delete([]byte(strconv.Itoa(i))); err != nil { t.Fatal("delete Failed", i) } if _, err := tree.Search([]byte(strconv.Itoa(i))); err == nil { t.Fatal("Find Failed", i) } } } func BenchmarkInsert(t *testing.B) { size :=...
Go
?}", data_size, data); Ok(CostedReturnType::new(0, NativeReturnType::ByteArray(ByteArray::new(data)))) } //pub fn vm_db_next_i64(iterator: i32, primary: &mut u64) -> i32; pub fn native_next_i64<T: StackAccessor>(mut accessor: T) -> Result<CostedReturnType> { println!("+++++++++++native_next_i64"); let iter...
Rust
46497", "name": "Sherman", "state_id": "3970" }, { "id": "46498", "name": "Slaton", "state_id": "3970" }, { "id": "46499", "name": "Smithville", "state_id": "3970" }, { "id": "46500", "name": "Snyder", "state_id": "3970" }, { "id": "46501", "name": "Socorro", "state_id": "3970" }, ...
Dart
1rem } .bignums-hint>li, .bignums-note>li { background-color: #ebf7fb } .bignums-hint>li:before, .bignums-note>li:before { background-color: #5bc0de; color: #212121 } .bignums-caution>li, .bignums-warning>li, .bignums-attention>li { background-color: #fdf5ea } .bignums-caution>li:before, .bignums-w...
CSS
6387", "[1, 0, 1, 2, 0, 0, 0]", "2207518.999397594", "[2, 0, 0, 0, 1, 4, 0]", "2207435.145801786", "[3, 2, 1, 0, 1, 1, 0]", "1761956.8888455457", "[4, 1, 1, 1, 0, 2, 2]", "1453095.9878387728", "[3, 2, 0, 1, 0, 3, 3]", "1290009.3401703774", "[2, 4, 1, 0, 0, 3, 3]", "1252255.714739398", "[3, 1, 1, 1, 1, 3, 3]", "1555332....
Java
column.et_pb_column_1_4 .et_pb_blog_grid .column.size-1of2,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_blog_grid .column.size-1of1,.et_pb_row_1-4_1-4_1-2>.et_pb_column.et_pb_column_1_4 .et_pb_blog_grid .column.size-1of2,.et_pb_row_1-5_1-5_3-5>.et_pb_column.et_pb_column_1_5 .et_pb_blog_grid .column.size...
HTML
<br /> <sub><b>Albert Fernández</b></sub> </a> </td> </tr> <tbody> </table> <!-- readme: contributors -end --> Tiny3D 2.0 ========== Tiny3D is one library to work with 2D/3D graphics (obsolete). NOTE: this repository is updated to the last PSL1GHT li...
Markdown
prefix?: string; parser?: Parser&lt;any&gt;; options?: ParserOptions; } &#x3D; {}, ): string | number | boolean | null { if (Types.isFunction(value)) { return render(value(syntax), { aliases, normalize, prefix, parser, options, }); } if (Types.isObject(value) &amp;&...
HTML
nt .file-list .v-box-header .h-left .tpl-table-black-operation { margin: 0 1rem; } .file-library .layui-layer-content .file-list .v-box-header .h-left .tpl-table-black-operation a { padding: 6px 10px; } .file-library .layui-layer-content .file-list .v-box-header .h-left .am-dropdown-togg...
CSS
Filters: [ { "score": { $gte: 8 } } ], multi: true} ) ``` ### 4.13. 数组: $addToSet `$addToSet`:仅当集合中不存在该元素时,才将元素添加到数组中。如果该元素已经存在数组中,`$addToSet`不会发生任何影响。 ```javascript // 语法 { $addToSet: { <field1>: <value1>, ... } } ``` - `$addToset`只确保没有重复的元素添加到集合中, 并不影响现有的重复的存在的元素。`$addToSet`不能保证元素的特定顺序。 - 如果使用`$addToSet`文档中不存...
Markdown
sMu.Unlock() cancel := func() { u.subsMu.Lock() if _, ok := u.subs[ch]; ok { delete(u.subs, ch) close(ch) } u.subsMu.Unlock() } return ch, cancel } func (u *UpstreamManager) tailLoop(ctx context.Context) { backoff := 250 * time.Millisecond for { if ctx.Err() != nil { return } // Run one tai...
Go
+,_t=Bs(),Xe--,_t===t?z=void 0:(g=z,z=t),z!==t?(vr=B,B=s="FLOAT"):(g=B,B=t)):(g=B,B=t),B}function ef(){var B,s,z,_t;return B=g,e.substr(g,6).toLowerCase()==="double"?(s=e.substr(g,6),g+=6):(s=t,Xe===0&&Lr(ev)),s!==t?(z=g,Xe++,_t=Bs(),Xe--,_t===t?z=void 0:(g=z,z=t),z!==t?(vr=B,B=s="DOUBLE"):(g=B,B=t)):(g=B,B=t),B}functi...
JavaScript
ned()), }; xfstate.add(&xvar); assert_eq!(xfstate.has("number1"), true); xfstate.remove("number1"); assert_eq!(xfstate.has("number1"), false); assert_eq!(xfstate.is_empty(), true); } use super::simple_sync::{PeerSyncInfo, FUTURE_SLOT_TOLERANCE}; use beacon_chain::{BeaconChain, BeaconChainType...
Rust
4 P6041: !CAS [14] (maybe <- 0x280023e) (Int) (Branch target of P5562) add %i3, 128, %l7 lduw [%l7], %l3 mov %l3, %l6 ! move %l6(lower) -> %o2(lower) or %l6, %o2, %o2 mov %l4, %o3 cas [%l7], %l6, %o3 ! move %o3(lower) -> %o3(upper) sllx %o3, 32, %o3 add %l4, 1, %l4 ba P6042 nop TARGET5562: ba RET5562 nop P6042: !...
Assembly
gs.AppendArg("exec"); } else { sing_args.AppendArg("run"); } // Bind // Mount under scratch std::string scratch; if (!param_eval_string(scratch, "MOUNT_UNDER_SCRATCH", "", &jobAd)) { param(scratch, "MOUNT_UNDER_SCRATCH"); } // Now add in scratch mounts requested by the job. std::string job_mount_under_sc...
C++
reserved. package iplists import ( "github.com/TeaOSLab/EdgeAdmin/internal/web/actions/actionutils" "github.com/TeaOSLab/EdgeCommon/pkg/rpc/dao" "github.com/TeaOSLab/EdgeCommon/pkg/rpc/pb" "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/firewallconfigs" "github.com/TeaOSLab/EdgeCommon/pkg/serverconfigs/ipconf...
Go
contoNoItem = false; } Sessao.vendaAtual = Sessao.vendaAtual!.copyWith( valorVenda: Value(totalGeral), taxaDesconto: Value(taxaDesconto), valorDesconto: Value(valorDesconto), valorFinal: Value(totalGeral - valorDesconto), valorBaseIcms: Value(totalGeral - valorDesconto), )...
Dart
有高深的科学技术;要培养程度高、品质好的大学果业生,也要靠大学教授和专家、研究员、助教等。在当前国民经济发展的高潮中,知识分子要准备迎接高潮和投入高潮。 </p> <p> 第二、对六年来知识分子的进步,要有实事求是的估计。中国一般的知识分子和我们党是合作的,是支持政府的,是为人民服务的。他们经过思想改造和各项实际斗争,政治上有了很大进步。他们对国家的发展和富强是有贡献的。 </p> <p> 第三、对知识分子的知识水平要有适当的估计。中国专家、科学家的水平不是很低的,有些已经赶上国际水平,有些是中等的水平,也有些是落后的,甚至空白的(即中国还没有的某种科学部门)。 </p> <p> 知识分子的...
HTML
s;background-color:var(--g-sub-sidebar-bg)}.sub-sidebar-container .el-menu[data-v-e268f728]:not(.el-menu--collapse){width:inherit}.sub-sidebar-container .el-menu.is-collapse-without-logo[data-v-e268f728]{padding-top:0}.sub-sidebar-container .el-menu.el-menu--collapse[data-v-e268f728] .title-icon{margin-right:0}.sub-sid...
CSS
s Server 2003, Windows XP ms.custom: 19H1 f1_keywords: - IBackgroundCopyJob4 - bits3_0/IBackgroundCopyJob4 dev_langs: - c++ topic_type: - APIRef - kbSyntax api_type: - COM api_location: - BitsPrx4.dll api_name: - IBackgroundCopyJob4 --- # IBackgroundCopyJob4 interface ## -description Use this interface to ...
Markdown
.urlParams_.Set("fields", googleapi.CombineFields(s)) return c } // IfNoneMatch sets an optional parameter which makes the operation fail if the // object's ETag matches the given value. This is useful for getting updates // only after the object has changed since the last request. func (c *ProjectsLocationsAgentsEnv...
Go
declaredElement); } @override void visitConstructorDeclaration(ConstructorDeclaration node) { var declaredElement = node.declaredElement; if (declaredElement == null || declaredElement.isFactory) return; var body = node.body; if (body is BlockFunctionBody) { for (var statement in body.bloc...
Dart
; const _bulletList = '-'; const _headerStyle = '#'; const _headerStyle2 = '##'; const _headerStyle3 = '###'; final SpaceShortcutEvent formatOrderedNumberToList = SpaceShortcutEvent( character: _orderedList, handler: (node, controller) => handleFormatBlockStyleBySpaceEvent( controller: controller, characte...
Dart
VSBIQ ZER, ZER, X0, SEL1 \ \ VACCQ X0, PL, CAR1 \ VAQ X0, PL, T0 \ VACCCQ X1, PH, CAR1, T2 \ VACQ X1, PH, CAR1, T1 \ \ VSEL X0, T0, SEL1, T0 \ VSEL X1, T1, SEL1, T1 \ VSEL ZER, T2, SEL1, T2 \ \ V...
Assembly
a href="references.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a> </div> </div> <script src="libs/gitbook-2.6.7/js/app.min.js"></script> <script src="libs/gitbook-2.6.7/js/clipboard.min.js"></script> <script src="libs/gitbook-2.6.7/js/plugin-search.js"></scr...
HTML
mes.push(line.split(' - ')); } } // Parse days/times let wasDec = false; let year = new Date().getFullYear(); scheduleDays = scheduleDays.map(scheduleDay => { if (scheduleDay.day.indexOf('Dec') > -1) { wasDec = true; } if (wasDec && scheduleDay.day.index...
Typescript
█ ┃ // ┣━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┫ // ┃ Copyright (c) 2017, the Perspective Authors. ┃ // ┃ ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ ┃ // ┃ This file is part of the Perspective library, distributed unde...
CSS
18 bl CopyBitsTo mov r0, r4 ldr r1, _02050734 ; =ADVENTURE_LOG_PTR mov r2, #0x80 ldr r1, [r1] bl CopyBitsTo mov r0, r4 ldr r1, _02050734 ; =ADVENTURE_LOG_PTR mov r2, #0xe ldr r1, [r1] add r1, r1, #0x2c bl CopyBitsTo mov r0, r4 ldr r1, _02050734 ; =ADVENTURE_LOG_PTR mov r2, #0xe ldr r1, [r1] add r1, r1,...
Assembly
= this.groupData.nodeInputs[this.selectedNodeInnerIndex]; const items = Object.keys(inputs ?? {}); const type = app.graph.extra.groupNodes[this.selectedGroup]; const config = type.config?.[this.selectedNodeInnerIndex]?.input; this.inputsPage.replaceChildren( ...items .map((oldName) => { let value =...
JavaScript
emaBuilder; this.database = { name, }; } public table(name: Identifier, fn: (builder: TableBuilder) => any) { if (!this.tableBuilders.has(name)) { this.tableBuilders.set(name, this.createTableBuilder(name)); } const builder = this.tableBuilders.ge...
Typescript
("unexpected error in NextField(): %s", err) } if fc.FieldNum != fieldNum { t.Fatalf("unexpected fieldNum; got %d; want %d", fc.FieldNum, fieldNum) } var ok bool vs, ok = fc.UnpackFixed32s(vs) if !ok { t.Fatalf("unexpected error in UnpackFixed32s()") } data = tail } if !reflect.DeepEqual(vs, va...
Go
= false Energize.Name = "Energize" Energize.Parent = Scripts Energize.BackgroundColor3 = Color3.new(0.960784, 0.419608, 0.145098) Energize.BorderColor3 = Color3.new(0.960784, 0.419608, 0.145098) Energize.BorderSizePixel = 3 Energize.Position = UDim2.new(0.183430299, 0, 0.0326275788, 0) Energize.Size = UDim2.new(0, 200...
Lua
.text .set noreorder foo: ldc3 $0, 0($0) ldc3 $1, 0($0) ldc3 $2, 0($0) ldc3 $3, 0($0) ldc3 $4, 0($0) ldc3 $5, 0($0) ldc3 $6, 0($0) ldc3 $7, 0($0) ldc3 $8, 0($0) ldc3 $9, 0($0) ldc3 $10, 0($0) ldc3 $11, 0($0) ldc3 $12, 0($0) ldc3 $13, 0($0) ldc3 $14, 0($0) ldc3 $15, 0($0) ldc3 $16, 0($0) ldc3 $17, 0($...
Assembly
{ pub static ref HPUX_CP1148_11_11: Encoding = parse_ucm(&request_mapping_file("hpux-cp1148-11.11").unwrap()).unwrap(); } lazy_static! { pub static ref HPUX_CP1149_11_11: Encoding = parse_ucm(&request_mapping_file("hpux-cp1149-11.11").unwrap()).unwrap(); } lazy_static! { pub static ref HPUX_CP1250_11_11: E...
Rust
ation within IP ---|'"sctp"' # Stream Control Transmission Protocol ---|'"fc"' # Fibre Channel ---|'"mobility-header"' # Mobility Header ---|'"manet"' # MANET Protocols ---|'"hip"' # Host Identity Protocol ---|'"shim6"' # Shim6 Protocol ---|'"wesp"' # Wrapped Encapsulating Security ...
Lua
5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9z")),t.HighlightFill=u("highlight",o,i(r,"M957.6 5...
JavaScript
/* * Copyright 2024 NXP * * SPDX-License-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <zephyr/kernel.h> #include <zephyr/drivers/mbox.h> static K_SEM_DEFINE(g_mbox_data_rx_sem, 0, 1); static uint32_t g_mbox_received_data; static uint32_t g_mbox_received_channel; ...
C
benchIncr; _varBench = (1.0 - _alpha) * (_varBench + benchDiff * benchIncr); //--- covariance _cov = (1.0 - _alpha) * (_cov + seriesDiff * benchIncr); //--- CAPM (Beta as TimeSeries<double>).Value = _cov / Math.Max(1e-10, _varBench); ...
C#
--イグザリオン・ユニバース --Exarion Universe local s,id=GetID() function s.initial_effect(c) --Loses 400 ATK, and if it does, inflict piercing damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_MZONE) e1:SetCountLimi...
Lua
Appl p = atom.getPredicate(); final ATermAppl s = translate(atom.getArgument1()); final ATermAppl o = translate(atom.getArgument2()); _term = ATermUtils.makePropAtom(p, s, o); } /** * {@inheritDoc} */ @Override public void visit(final DifferentIndividualsAtom atom) { final ATermAppl t1 = translate(at...
Java
br> <b><font size=+1 color=#0066CC>enum <a name="wxGridTableRequest">wxGridTableRequest</a></font></b><br> { <blockquote> wxGRIDTABLE_REQUEST_VIEW_GET_VALUES,<br> wxGRIDTABLE_REQUEST_VIEW_SEND_VALUES,<br> wxGRIDTABLE_NOTIFY_ROWS_INSERTED,<br> wxGRIDTABLE_NOTIFY_ROWS_APPENDED,<br> wxGRIDTABLE_NOTIFY_...
HTML
* 2)RULE-1 有值,RULE-3 必定有值(异常情况) */ // 有序查找,List带优先级模式 final JsonObject found = Ux.ruleAny(rules.rulePush(), queueNew, recordO); if (Objects.nonNull(found)) { /* * 当前数据是匹配的...
Java
from django.contrib.auth.models import AbstractUser from django.db import models from users.managers import CustomUserManager class CustomUser(AbstractUser): objects = CustomUserManager() units = models.IntegerField(default = 1000, blank = True) class Meta: verbose_name_plural = 'user' def...
Python
1lEhQKBXNj' 'b3JlGAUgASgFUgVzY29yZRIaCghpbnRpbWFjeRgGIAEoBVIIaW50aW1hY3kSIwoNbWFzdGVyX3' 'N0YXR1cxgHIAEoBVIMbWFzdGVyU3RhdHVzEh0KCmlzX3JlY2VpdmUYCCABKAVSCWlzUmVjZWl2' 'ZRIqChFtZWRhbF9jb2xvcl9zdGFydBgJIAEoA1IPbWVkYWxDb2xvclN0YXJ0EiYKD21lZGFsX2' 'NvbG9yX2VuZBgKIAEoA1INbWVkYWxDb2xvckVuZBIsChJtZWRhbF9jb2xvcl...
Dart
: "screenreader-only" }, qpe = cpe(Ei({ __name: "ScreenReader", props: { if: { type: Boolean, default: !0 } }, setup: e => (e, t) => e.$props.if ? (wl(), Sl("span", Fpe, [rs(e.$slots, "default", {}, void 0, !0)])) : rs(e.$slots, "default", { key: 1 }, void 0, !0) }), [["__scopeId", "data-v-df2e1026"]]), Hpe = { class: ...
JavaScript
init_poolmanager(self, *args, **kwargs): if self.ssl_context: kwargs['ssl_context'] = self.ssl_context return super(X509Adapter, self).init_poolmanager(*args, **kwargs) def proxy_manager_for(self, *args, **kwargs): if self.ssl_context: kwargs['ssl_context'] = self.s...
Python
foreach (var o in ts.Options) { var p = document.InsertParagraph($"{currentChar}: {o.Text}\n"); if (!string.IsNullOrEmpty(o.Image)) { var image = document.AddImage(o.Image); var picture = image.CreatePicture(100, 100); ...
C#
Err("tabix.output"); int returnCode = tabix.execute(); if (returnCode != 0) { throw new IOException( "The provided VCF file is malformed. Error during index creation: " + FileUtil.readFileAsString("tabix.output")); } } VcfFile pair = new VcfFile(); pair.setVcfFilename(vcfFil...
Java
urrently unused. -- function sln2005.properties(sln) _p('\tGlobalSection(SolutionProperties) = preSolution') _p('\t\tHideSolutionNode = FALSE') _p('\tEndGlobalSection') end -- -- Write out list of project nestings -- function sln2005.project_groups(sln) _p('\tGlobalSection(NestedProjects) = preSolution') ...
Lua
_1M(b *testing.B) { benchmarkAvx512(b, 1*1024*1024) } func BenchmarkAvx512_5M(b *testing.B) { benchmarkAvx512(b, 5*1024*1024) } func BenchmarkAvx512_10M(b *testing.B) { benchmarkAvx512(b, 10*1024*1024) } func benchmarkAvx512MultiCore(b *testing.B, size, cores int) { if !hasAvx512 { b.SkipNow() return } serv...
Go
parse(valueS) as T; } else if (type == "DateTime") { return DateTime.parse(valueS) as T; } else if (type == "bool") { if (valueS == '0' || valueS == '1') { return (valueS == '1') as T; } return (valueS == 'true') as T; } else if (type == "Map" || type.startsWith("Map<")) { ...
Dart
unlk %a6 rts ######################################################################### # MONADIC TEMPLATE # ######################################################################### global _fetoxm1s_ _fetoxm1s_: link %a6,&-LOCAL_SIZE movm.l &0x0303,EXC_DREGS(%a6) # save d0-d1/a0-a1 fmovm.l %fpcr,%fp...
Assembly
) throw MMKVException("MMKV instance $handle was destroyed") return NativeMMKVImpl.getStringList(handle, key) } override fun getBoolean(key: String): Boolean { if (!alive) throw MMKVException("MMKV instance $handle was destroyed") return NativeMMKVImpl.getBool(handle, key) } ov...
Kotlin
h, ZEND_ACC_PUBLIC) PHP_ME(study_coro_channel, pop, arginfo_study_coro_channel_pop, ZEND_ACC_PUBLIC) PHP_FE_END }; ``` `OK`,重新编译、安装扩展: ```shell ~/codeDir/cppCode/study # make clean ; make ; make install ---------------------------------------------------------------------- Build complete. Don't forget to run...
Markdown
_t i = 0; i < stackSize; ++i) args.append(pdfContentStack[stackSize - 1 - i]); #else size_t stackSize = pdfContent.Stack.size(); for (size_t i = 0; i < stackSize; ++i) args.append(pdfContent.Stack[stackSize - 1 - i]); #endif #if (PODOFO_VERSION >= PODOFO_MAKE_VERSION(1, 0, 0)) switch (pdfContent....
C++
UrFEpKxWbxZ_8jQb2Pxf6NEld0sqMvg1n8-MH4AVsjlbJozk9v4.","liveSexUrl":"\/front\/menu_livesex?segment=straight&token=MTY2MzgyODExNyXjeyvnoWJdc6OivFie__hg0Cp-zdWivEkkUrFEpKxWbxZ_8jQb2Pxf6NEld0sqMvg1n8-MH4AVsjlbJozk9v4.","photosUrl":"\/front\/menu_photos?segment=straight&token=MTY2MzgyODExNyXjeyvnoWJdc6OivFie__hg0Cp-zdWivEkk...
HTML
.controller) domainCache.EXPECT().GetDomainName(gomock.Any()).Return("test-domain", nil).AnyTimes() scanner := &ShardScanner{ shardID: 0, itr: mockItr, invariantManager: mockInvariantManager, failedWriter: failedWriter, progressReportFn: func() {}, domainCache: domainCache,...
Go
4%EB%9E%80) - [https://velog.io/@ggong/자바스크립트에서-싱글톤-패턴-이해하기](https://velog.io/@ggong/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%97%90%EC%84%9C-%EC%8B%B1%EA%B8%80%ED%86%A4-%ED%8C%A8%ED%84%B4-%EC%9D%B4%ED%95%B4%ED%95%98%EA%B8%B0) - [https://heecheolman.tistory.com/40](https://heecheolman.tistory.com/40) # ...
Markdown
-filtered remove" ); // Positional and relative selectors markup = "<div><span>1</span><span>2</span><span>3</span><span>4</span></div>"; div = jQuery( markup ); div.children().detach( "span:nth-child(2n)" ); assert.equal( div.text(), "13", "relative selector in detach" ); if ( jQuery.find.compile ) { div = j...
JavaScript
0, 10, 100, 10, 100, 30, 0, 30), items: [ createQuad(10, 10, 30, 10, 30, 30, 10, 30), createQuad(40, 10, 60, 10, 60, 30, 30, 40), createQuad(70, 10, 90, 10, 90, 30, 70, 30), ], extendedItems: [ createQuad(10, 10, 30, 10, 30, 30,...
Typescript
<html> <head> <title>Simple Math Task</title> <!-- stylesheets --> <link rel="stylesheet" type="text/css" href="../core/core.css"> <!-- JS --> <script src="../core/core.js"></script> <script src="../core/d3.v3.min.js"></script> <script src="../common/ui_utils.js"></script> <style> #area { text-align: center; } #math-p...
HTML
ngUtils; import org.jivesoftware.smack.util.TLSUtils; import org.jivesoftware.smack.util.dns.SmackDaneProvider; import org.jivesoftware.smack.util.dns.SmackDaneVerifier; import org.jxmpp.JxmppContext; import org.jxmpp.jid.DomainBareJid; import org.jxmpp.jid.EntityBareJid; import org.jxmpp.jid.impl.JidCreate; import or...
Java
nelDetails.ResumeLayout(false); this.panelDetails.PerformLayout(); this.ResumeLayout(false); } #endregion private bool Valid() { if (textBoxName.Text.Trim() == string.Empty) { DisplayMessage.Show(MessageId.TagProviderName...
C#
历一种认知上的眩晕。就像《黑客帝国》中Neo第一次看到Matrix代码,或者柏拉图洞穴中的囚徒第一次走出洞口。你一直以为坚实的现实,突然变得如此脆弱,如此...虚幻。 但这种虚幻并非虚无。相反,它揭示了一个更深层、更优雅的真相:宇宙用最经济的方式编码信息,而我们的感知,只是对这种编码的一种特定解读。 ## 1. 全息原理的数学本质 ### 1.1 贝肯斯坦界限 1972年,雅各布·贝肯斯坦提出了一个革命性的想法:任何有限区域能包含的信息量有上限,这个上限不是由体积决定,而是由表面积决定: $$S_{max} = \frac{k_B c^3 A}{4G\hbar} = \frac{A}{4\ell_P^2}$$ 其中: -...
Markdown