content
stringlengths
2
6.21k
label
stringclasses
16 values
} } } } @Adaptive fun selectInputPlaygroundResult(config: `fun`.adaptive.doc.example.selectInput.SelectPlaygroundConfig) { val effectiveOptions = when (config.dataset) { "Options" -> (1 .. config.optionCount).map { _root_ide_package_.`fun`.adaptive.doc.example.selectInput.Option("...
Kotlin
+byte] 08 !call >_lua_pushnumber !add_esp_byte 0C !mov_eax #1 !pop_state !ret ]]}) -- The following are implemented in IEex.dll by default. -- Due to having to spin up an Async state, I need to know -- their actual addresses. Only way is to rewrite them myself. IEex_WriteAssemblyFunction("IEe...
Lua
container { container3 = container { } } } container3.alphaF = 0.5f container1.alphaF = 0.5f assertEquals(0.25, container3.renderColorMul.ad, 0.03) container3.alphaF = 0.10f container1.alphaF = 1.0f assertEquals(0.10, c...
Kotlin
40, 512, [], "f40b", "M104.9 352c-34.1 0-46.4-30.4-46.4-30.4L2.6 210.1S-7.8 192 13 192h32.8c10.4 0 13.2 8.7 18.8 18.1l36.7 74.5s5.2 13.1 21.1 13.1 21.1-13.1 21.1-13.1l36.7-74.5c5.6-9.5 8.4-18.1 18.8-18.1h32.8c20.8 0 10.4 18.1 10.4 18.1l-55.8 111.5S174.2 352 140 352h-35.1zm395 0c-34.1 0-46.4-30.4-46.4-30.4l-55.9-111.5S3...
JavaScript
t instanceof HTMLElement&&(t.target.isContentEditable||t.target.tagName==="BUTTON"||t.target.closest("[role='textbox']")!==null||t.target.closest("[contenteditable='true']")!==null||t.target.closest(".cm-editor")!==null),hasModifier:t=>t.ctrlKey||t.metaKey||t.altKey||t.shiftKey,isMetaOrCtrl:t=>t.metaKey||t.ctrlKey},Ff=...
JavaScript
��虎', '泰米爾伊拉姆猛虎'}, {'50513', '泰米尔伊拉姆猛虎', '泰米尔伊拉姆猛虎'}, {'50514', 'x1F40D', 'x1F40D'}, {'50515', '(?i)(金泰亨|TaeHyung|泰骑|泰泰|泰宝|김태형|泰亨).0,4(生日|应援|生快|12s*pP*s*30|birthday|庆生)|(生日|应援|生快|12s*pP*s*30|birthday|庆生).0,4(金泰亨|TaeHyung|泰骑|泰泰|泰宝|김태형|泰亨)', '(?i)(金泰亨|TaeHyung|泰骑|泰泰|泰宝|김태형|泰亨).0,4(生日|应援|生快|12s*pP*s*30|birthday|庆生)|(生日|应援...
Lua
valid. #### Parameters | Name | Type | | :------ | :------ | | `state` | [`AdyenComponentEventState`](../README.md#adyencomponenteventstate) | | `component` | [`AdyenComponent`](AdyenComponent.md) | #### Returns `void` #### Inherited from [AdyenComponentEvents](AdyenComponentEvents.md).[onSubmit](AdyenComponentE...
Markdown
collection.CreateRule = types.Pointer("@request.auth.id != '' && (@request.auth.role = 'admin' || @request.auth.view_findings = true)") collection.UpdateRule = types.Pointer("@request.auth.id != '' && (@request.auth.role = 'admin' || @request.auth.view_findings = true)") collection.DeleteRule = types.Pointer("@...
Go
Value("--"); } row.createCell(15).setCellValue(dataObj.getString("remark")); row.createCell(16).setCellValue(dataObj.getString("stateName")); row.createCell(17).setCellValue(dataObj.getString("createTime")); } } private void allocationStorehouse(IPageData...
Java
1PublicKey.fromStruct(json.asMap("publicKey"))); } /// Defines the layout for the Secp256k1 public key structure. static Layout<Map<String, dynamic>> layout({String? property}) { return LayoutConst.struct([ SuiSecp256k1PublicKey.layout(property: "publicKey"), ], property: property); } /// Crea...
Dart
. Response headers are in either // *Schema.ServerResponse.Header or (if a response was returned at all) in // error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check // whether the returned error was because http.StatusNotModified was returned. func (c *ProjectsSchemasDeleteRevisionCall) Do(opts ...googl...
Go
:param team_pattern: Compiled regex pattern of team name/city :param team: Name of the team that is being searched for :param sport: Sport that is being searched for :return: List containing raw data of team """ team_url = None team_name = None for link in soup.find_all('a'): if ...
Python
achine.db.impl.sql.catalog.DD_DB2J72 now mapped to a single class DD_Version. 5.0 databases will have this as the format identifier for their catalog version number. */ int DD_DB2J72_VERSION_ID = (MIN_ID_2 + 401); /** class com.splicemachine.db.impl.sql.catalog.DD_Versi...
Java
m *NinRepNative) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NinRepNative.Unmarshal(m, b) } func (m *NinRepNative) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { if deterministic { return xxx_messageInfo_NinRepNative.Marshal(b, m, deterministic) } else { b = b[:cap(b)] n, err := m.Marsh...
Go
PROTO_0: GETUPVAL R1 0 GETTABLEKS R0 R1 K0 ["BaseUrl"] LENGTH R3 R0 NAMECALL R1 R0 K1 ["sub"] CALL R1 2 1 JUMPIFEQKS R1 K2 ["/"] [+4] MOVE R1 R0 LOADK R2 K2 ["/"] CONCAT R0 R1 R2 LOADK R3 K3 ["://"] NAMECALL R1 R0 K4 ["find"] CALL R1 2 2 LOADK R5 K5 ["%."] ADDK R6 R2 K6 [1] NAMECALL R3 R0 ...
Assembly
syncing": "正在同步", "duplicate": "複製", "sign": "簽名", "sign_text": "簽名文字", "encrypt": "加密", "decrypt": "解密", "encrypt_file": "加密檔案", "decrypt_file": "解密檔案", "encrypt_text": "加密文字", "decrypt_text": "解密文字", "retry": "重試", "refresh": "重新整理", "personal": "個人", "personal_desc": "個人描述", "work": "工作",...
Dart
ctorBounds(pendingLeft, pendingTop, pendingRight, pendingBottom, pendingRemoveAll) } } } /** * This is called when the camera moves to a new (x,y) coord. We'll want to check whether we * need to re-calculate the bounds and warp the camera back to the center. */ private fun onCameraTranslate(x:...
Kotlin
eAndType filePath = null; if (context.PathProperties.TryGetValue(path, out var properties) && properties.TryGetValue(ContentOriginalFileKeyName, out var file)) { filePath = file as FileAndType; if (filePath == null) { Logger.LogWarning($"{ContentOrigin...
C#
default function Form() { const [value, setValue] = createSignal(""); return ( <div> <BasicComponent value={value()} /> <input type="text" onInput={(e) => setValue(e.currentTarget.value)} /> </div> ); } ``` この例では、おそらく `BasicComponent` が `input` に入力された現在の値を表示することを望んでいます。しかし、覚えておいてほしいのですが、`Ba...
Markdown
t_eulerAngles { template<typename TestRotationFunc> static int test(TestRotationFunc testRotationFunc, glm::vec3 const& I, glm::vec3 const& J, glm::vec3 const& K) { int Error = 0; typedef glm::mat4::value_type value; value const minAngle(-glm::pi<value>()); value const maxAngle(glm::pi<value>()); value co...
C++
ce { #[serde(flatten)] pub resource: Resource, #[doc = "Workspace properties."] #[serde(default, skip_serializing_if = "Option::is_none")] pub properties: Option<WorkspaceProperties>, #[doc = "The ETag of the workspace."] #[serde(rename = "eTag", default, skip_serializing_if = "Option::is_no...
Rust
4 | ### 上电条件和时序 1. 上电条件 只要满足下面任意一个条件即可以实现 PMIC 上电: - EN 信号从低电平变高电平触发 - EN 信号保持高电平,且 RTC 闹钟中断触发 - EN 信号保持高电平,按 PWRON 键触发 2. 上电时序 每款 SOC 平台对各路电源上电时序要求可能不一样,目前上电时序有如下情况,具体请参考最新的 datasheet: ![RK808-power-start-seq](Rockchip_RK808_Developer_Guide\RK808_power_start_seq.png) ## 配置 ### 驱动和 menuconfig #### *...
Markdown
tervals: [ { start: '07:30', end: '08:30' }] } Shedule.add(newSheduleDaily).catch(function (err) { expect(err).toStrictEqual(Error('Can not register time shock')) done() }) }) it('should return error "Can not register time shock" (new...
Typescript
a, b| a.max(b.clone())) } } /// A finite element representing quadratic basis functions on a triangle, in two dimensions. /// /// The reference element is chosen to be the triangle defined by the corners /// (-1, -1), (1, -1), (-1, 1). This perhaps unorthodox choice is due to the quadrature rules /// we employ. #[...
Rust
nd contrast == 0 and temperature == 0 and tint == 0 and saturation == 0: return img if exposure != 0: exposure_factor = 1 + (exposure / 100.0) enhancer = ImageEnhance.Brightness(img) img = enhancer.enhance(exposure_factor) if contrast != 0: c...
Python
**probability** (852) the measure of the chance of a desired outcome happening <!-- text, from page 0 (l=0.069,t=0.256,r=0.449,b=0.317), with ID 289c5fb3-1ad2-47ff-a786-d1721e079fa3 --> ## Pure Imaginary Number The complex number $a + bi$ when $a = 0$ and $b \neq 0$. <!-- text, from page 0 (l=0.069,t=0.320,r=0.426,...
Markdown
right: 20px; width: 25px; height: 25px; border: 1px solid #fff; } .what-arrow::before { content: ""; position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%) rotate(-45deg); border-left: 1px solid #fff; border-bottom: 1px solid #fff; transition: 0.5s; width: 10px; height: 1...
CSS
// get maxAmount, then calculateRealAmountWei, and compare with token balance const maxAmountBN = utils.calculateMaxAmountBN(Form.Deposit, testToken); const amountWei = utils.calculateRealAmountWei( Form.Deposit, testToken, maxAmountBN ); // make sure that numbers are the same fo...
Typescript
C783;110B 1175 11B6; # (잃; 잃; 잃; 잃; 잃; ) HANGUL SYLLABLE ILH C784;C784;110B 1175 11B7;C784;110B 1175 11B7; # (임; 임; 임; 임; 임; ) HANGUL SYLLABLE IM C785;C785;110B 1175 11B8;C785;110B 1175 11B8; # (입; 입; 입; 입; 입; ) HANGUL SYLLABLE IB C786;C786;110B 1175 11B9;C786;110B 1175 11B9; # (잆; 잆; 잆; 잆; 잆; ) HANGUL SYLLABLE IBS C78...
Kotlin
alue <code>k / (2<sup>m</sup> - 1)</code>, where <code>k ∈ { 0, 1, ..., 2<sup>m</sup>-1 }</code>, as <code>k</code> (e.g. 1.0 is represented in binary as a string of all ones).</p> * * <p>The viewport parameters shown in the above equations are found from these values as</p> * * <dl> * <dd><code>o<sub>x</sub> = x ...
Kotlin
px;box-shadow:0 2px 4px #0003;color:#131722;display:inline-flex;height:24px;justify-content:center;margin:0 4px;opacity:1;pointer-events:auto;transition:color .3s,visibility .4s,opacity .4s;-webkit-user-select:none;user-select:none;visibility:visible;width:24px;z-index:1}.chart-widget__bottom--themed-dark .control-bar_...
CSS
row + row], 0, num_cols); } public static void jcopy_sample_rows(ComponentBuffer input_array, int source_row, ComponentBuffer output_array, int dest_row, int num_rows, int num_cols) { for (int row = 0; row < num_rows; row++) Buffer.BlockCopy(input_array[source_row + ...
C#
@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.theme-teal .light .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots,.theme-teal.light .mat-mdc-progress-bar.mat-warn .mdc-linear-progress__buffer-dots{background-color:transparent;background-image:url("data:image/svg+xml,%3Csvg version...
CSS
import machine import time import uctypes # Define shift register input, reset, and clock pin numbers shift_register_input_pin_num = 9 shift_register_reset_pin_num = 8 shift_register_clock_pin_num = 7 DFRTP1_3_register_out_pin_num = 4 DFXTP1_1_register_out_pin_num = 3 # Initialize GPIO pins shift_register_input_pin =...
Python
nergyHandler. There is versions of the RF API in circulation, where this is NOT the case!!! if (RF_ENERGY && (EMIT_EU_AS_RF || isElectricRFReceiver(aTarget)) && (aTarget instanceof cofh.api.energy.IEnergyHandler || (RF_ENERGY_NEW && aTarget instanceof cofh.api.energy.IEnergyReceiver))) return !(aTarget instanceof cof...
Java
join(data_folder, fname)) text_processor = TextPreprocessor( text_col=text_col, n_cpus=1, maxlen=10, max_vocab=50 ) X_text = text_processor.fit_transform(df) chunk_text_processor = ChunkTextPreprocessor( text_col=text_col, n_chunks=1, n_cpus=1, maxlen=10, max_vocab=50 ) chunk_te...
Python
, 159, 135, 172, 32, 240, 159, 152, 128, 32, 240, 159, 144, 157, 32, 234, 177, 159, 32, 239, 188, 132, 32, 228, 185, 189, 32, 240, 159, 145, 168, 226, 128, 141, 240, 159, 154, ...
Dart
G FATAL is noreturn. #endif } } // namespace variant_internal ABSL_NAMESPACE_END } // namespace absl #else // https://github.com/abseil/abseil-cpp/issues/1465 // CMake builds on Apple platforms error when libraries are empty. // Our CMake configuration can avoid this error on header-only libraries, // but since th...
C++
nd ov96_0220050C thumb_func_start ov96_022005B4 ov96_022005B4: ; 0x022005B4 push {r4, r5, r6, r7, lr} sub sp, #0x24 add r5, r0, #0 add r0, r2, #0 add r4, r1, #0 bl _ffltu bl _f2d ldr r2, _022006B4 ; =0x9999999A ldr r3, _022006B8 ; =0x40599999 bl _ddiv bl _dfixu lsl r0, r0, #0x18 lsr r0, r0, #0x18 str r0...
Assembly
doc --> * <!-- end-user-doc --> * @generated * @ordered */ int FUNCTION__FINAL = EXPRESSION_FEATURE_COUNT + 2; /** * The feature id for the '<em><b>Return Type</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int FUNCTION_...
Java
// This code is contributed by Ajit. ?> ``` ## java 描述语言 ``` <script> // Javascript Program to find the sum of fourth powers of // first n even natural numbers    // calculate the sum of fourth power of first n // even natural numbers     function evenPowerSum(n)     {         return (8 * n * (n + 1) * (2 * n + 1...
Markdown
# import sys # sys.stdin = open('sample_input (2).txt') dij = [[0,1],[1,1],[1,0],[1,-1],[0,-1],[-1,-1],[-1,0],[-1,1]] T = int(input()) for tc in range(1, T+1): N = int(input()) arr = [list(input()) for _ in range(N)] print(f'#{tc}', end=' ') ans = [] for i in range(N): for j in range(N): ...
Python
owsRequest.enter('my email is vunb@example.com'); flowsRequest = await bot.handleAsync(req); assert.isFalse(flowsRequest.isFlowing, 'exit dialogue flows!'); // variable: v1.x (not clean after flow is resolved) // assert.equal(flowsRequest.variables.name, 'Vu', 'human name'); // scope: $flo...
Typescript
(e, t) {\n var n;\n var r;\n var o;\n const i =\n null !==\n (r =\n null === (n = t.childForFieldName(\"return_type\")) || undefined === n\n ? undefined\n : n.endIndex) && undefined !== r\n ? r\n : null === (o = t.childForFieldName(\"parameters\")) || undefined === o\n ...
JavaScript
/* * Copyright (C) 2003-2006 Gabest * http://www.gabest.org * * 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 2, or (at your option) * any later version. * * Thi...
C
n_params_stop(void); /**@brief Function for changing the current connection parameters to a new set. * * @details Use this function to change the connection parameters to a new set of parameter * (ie different from the ones given at init of the module). * This function is usefull for scenario where mo...
C
--================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 322, gadget_id = 70211101, pos = { x = 2645.7, y = 215.9, z = 445.2 }, rot = { x = 9.4, y = 266.5...
Lua
tatue', ), Emoji( '🛂', 'Pass | Passkontrolle', ), Emoji( '🛃', 'Zoll | Zollkontrolle', ), Emoji( '🛄', 'Gepäck | Gepäckausgabe', ), Emoji( '🛅', 'Gepäck | Gepäckaufbewahrung | Schließfach', ), ]), // ================================...
Dart
V4Generic(endPoint, bucketName, objectName, objData, accessKey, secretKey, region, t, policy, nil, false, false) } // Copyright (c) 2015-2022 MinIO, Inc. // // This file is part of MinIO Object Storage stack // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affe...
Go
tion") st.markdown("Get accurate, detailed information about Palestine's history, current events, and humanitarian issues.") user_question = st.text_input("", placeholder="Type your question about Palestine here...") # Add a submit button for better UX submit_button = st.button("Get Answer") ...
Python
关的安全问题,设计修复方案并落地修复; 4. 负责产品线的安全应急响应工作,能组织产品设计和研发团队,协同其它相关职能团队,完成安全入侵事件、最新安全漏洞的应急处置; 5. 负责对产品透出的安全特性进行需求设计和分析,提出并落地安全最佳实践,提升产品安全竞争力; 6. 负责推动安全工具、安全流程、安全制度不断完善,实现SDLC流程的线上化、自动化、数据可视化。 </details> <details> <summary>职位要求</summary> 1. 熟悉常见web漏洞原理和修复,熟悉web漏洞的挖掘、检测、防御相关技术和工具,具备web漏洞挖掘能力,具备Java代码、Golang代码或C/C++代码的安全审计能力...
Markdown
#1 beq .Lzamax_kernel_F1 .Lzamax_kernel_F4: KERNEL_F4 subs I, I, #1 bne .Lzamax_kernel_F4 .Lzamax_kernel_F1: ands I, N, #3 ble .Lzamax_kernel_L999 .Lzamax_kernel_F10: KERNEL_F1 subs I, I, #1 bne .Lzamax_kernel_F10 ret .Lzamax_kernel_F1_INIT: INIT_F1 subs N, N, #1 b .Lzamax_kernel_...
Assembly
# When the turtle lifts up the pen, nothing is drawn on # the "ground" when the turtle moves around. # # This example is the same as the previous example, but # the pen is taken off the ground at various places. import turtle turtle.width(5) # Tell the turtle to turn left 5 degrees turtle.left(5) # Lift up the pe...
Python
79px; } .tb-title-button { display: inline-block; width: 22px; text-align: center; } .tb-title-wrapper a { text-decoration: none; color: #9b9b9b; } .tb-title-wrapper a:hover, .tb-title-wrapper a:active, .tb-title-wrapper a.active { color: #444; } .tb-title-icons { display: inline; } .tb-title-wrapper-lef...
CSS
write magic string FWFW // And then 32 bit unsigned version of the regressor output_bufwriter.write_all(REGRESSOR_HEADER_MAGIC_STRING)?; output_bufwriter.write_u32::<LittleEndian>(REGRESSOR_HEADER_VERSION)?; Ok(()) } fn load_regressor_without_weights(input_bufreader: &mut io::BufReader::<File>) ...
Rust
> = Tuple10<T13, T14, T15, T16, T17, T18, T19, T20, T21, T22>(this._13(), this._14(), this._15(), this._16(), this._17(), this._18(), this._19(), this._20(), this._21(), this._22()) fun <T14, T15, T16, T17, T18, T19, T20, T21, T22> Tuple22<*, *, *, *, *, *, *, *, *, *, *, *, *, T14, T15, T16, T17, T18, T19, T20, T21, T...
Kotlin
.XSA -> "XSMN" POS.XSM -> "XSAS" POS.SS -> "SL" POS.SL, POS.SH -> "F" POS.SN -> "NNC" POS.SO -> "SD" POS.SW, POS.XR, POS.NA -> "SY" POS.XPN, POS.XPV -> "XP" else -> this.toString() }.toLowerCase() /** * 한나눔의 품사를 세종...
Kotlin
1 cmp r2, r0 add r1, r1, #1 bls .L17 sub r0, r3, #1 uxth r0, r0 ldmfd sp, {fp, sp, pc} .L17: lsl r2, r2, #1 b .L16 .size Ftl_log2, .-Ftl_log2 .align 2 .global FtlPrintInfo .syntax unified .arm .fpu softvfp .type FtlPrintInfo, %function FtlPrintInfo: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 1...
Assembly
nance.impl.ConfiguredObjectProvenanceImpl; import org.tribuo.math.la.SGDVector; import org.tribuo.math.protos.DistanceProto; /** * L1 (or Manhattan) distance. */ public final class L1Distance implements Distance { private static final long serialVersionUID = 1L; /** * Protobuf serialization version. ...
Java
름 돕기", nil, {"다르나서스에 있는 대드루이드 판드랄 스테그헬름과 대화해야 합니다."}}, [3790] = {"대드루이드 스테그헬름 돕기", nil, {"다르나서스에 있는 대드루이드 판드랄 스테그헬름과 대화하십시오."}}, [3791] = {"여명초의 비밀", nil, {"페더문 요새에 있는 쿠인티스 존스피레에게 여명초 10개를 가져가야 합니다."}}, [3792] = {"페더문 요새로 여명초 가져가기", nil, {"또 보는군. 내 연구는 순조롭게 진행 중이오. 하지만 여명초 5개만 더 있다면 정말 기쁠 것 같소. 뭐, 기뻐한다는 건 일종의 은유적인 표현이지...
Lua
s) - 1)) i := index for bitmap.Bit(int(i)) == 1 { i = (i + 1) % nbOfValidators } votingPower += int(validators[i].VotingPower) bitmap.SetBit(&bitmap, int(i), 1) sig, err := privKeys[i].Sign(signedBytes) if err != nil { t.Fatal(err) } signatures = append(signatures, sig) } trustedSignatures :=...
Go
4 @Composable fun RecommendGrid( recommendImageList: LazyPagingItems<Illust>, navToPictureScreen: NavigateToHorizontalPictureScreen, lazyStaggeredGridState: LazyStaggeredGridState, ) { val spanCount = when (LocalConfiguration.current.orientation) { ORIENTATION_PORTRAIT -> LOADING_ITEM_COUNT_PO...
Kotlin
return A.active===e}(a)||(await A.setActiveGroup(a),"Chat"!==g.name&&v.push("/chat"),r.value&&S.setSiderCollapsed(!0))}async function N(e){null==event||event.stopPropagation(),await A.deleteGroup(e),await A.queryMyGroup(),r.value&&S.setSiderCollapsed(!0)}_((()=>0===z.value.length||z.value.length>0&&0===R.value.length||...
JavaScript
0x18 lsr r0, r0, #0x18 add r1, r0, #0 add r1, #0xe6 lsl r1, r1, #0x18 lsr r1, r1, #0x18 cmp r1, #1 bhi _021E5A70 strb r0, [r6, r5] add r5, r5, #1 _021E5A70: add r4, r4, #1 cmp r4, #0x1c blt _021E5A52 add r0, r5, #0 pop {r3, r4, r5, r6, r7, pc} .balign 4, 0 thumb_func_end ov113_021E5A48 thumb_func_star...
Assembly
page empty_zero_page: .space 4096 .globl swapper_pg_dir swapper_pg_dir: .space 4096 .globl ioremap_dir ioremap_dir: .space 4096 .globl bolted_dir bolted_dir: .space 4096 .globl hardware_int_paca0 hardware_int_paca0: .space 8*4096 /* 1 page segment table per cpu (max 48, cpu0 allocated at STAB0_PHYS_ADDR)...
Assembly
domain 说明:域名 size 格式:size:size 说明:参数长度必须为:size length 格式:length:min,max 说明:参数长度为min到max(长度参数为整形),注意中文一个汉字占3字节 min-length 格式:min-length:min 说明:参数长度最小为min(长度参数为整形),注意中文一个汉字占3字节 ...
Markdown
08f; background-color: #c4e3f3 } .toolbox-reset a.list-group-item-warning, button.list-group-item-warning { color: #8a6d3b; background-color: #fcf8e3; } .toolbox-rest a.list-group-item-danger, button.list-group-item-danger { color: #a94442; background-color: #f2dede; } .accordion-option { widt...
CSS
= 1 then self:setBlock(x, y, z, self.world.game.registry:get("water")) elseif ay <= 2 then self:setBlock(x, y, z, self.world.game.registry:get("sand")) else self:setBlock(x, y, z, self.world.game.registry:get("grass")) end end end end end end function chunk:surrounded() retu...
Lua
; ================================================================================================== ; ENEMY_CHEEP_CHEEP ; ; Variables: ; var03: How far to travel (copied to counter1) ; ================================================================================================== enemyCode2c: jr z,@normalStatus ...
Assembly
#[cfg(all( any(target_arch = "x86_64", target_arch = "x86"), target_feature = "sse2" ))] c.bench_function("memx_memcmp_sse2", |b| { b.iter(|| { let _r = process_memx_memcmp_sse2(black_box(&vv), black_box(&pat_string)); }) }); } criterion_group! { name = b...
Rust
#include <stdbool.h> #include "c/ModioC.h" #include <stdio.h> void onGetAllModfiles(void *object, ModioResponse response, ModioModfile modfiles[], u32 modfiles_size) { bool *wait = object; printf("On get modfiles response: %i\n", response.code); if (response.code == 200) { printf("Listing modfiles\n"); ...
C
height: 24px; font-size: 16px; font-weight: bold; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; } } } .pages { width: 30%; @include mixins.breakpoint(tab...
CSS
he received chunk (character count). function Spinner:update_progress(chunk_size) if not self.show_progress or self.is_stopped then return end self.processed_chunks = self.processed_chunks + 1 self.bytes_received = self.bytes_received + (chunk_size or 0) self.total_chars = self.total_chars + (chunk_size ...
Lua
doc = "Bit 0 - This restarts FFE code execution following a pause due to reaching a 'break point'."] #[inline(always)] pub fn ffe0_bp_cont(&mut self) -> FFE0_BP_CONT_W { FFE0_BP_CONT_W { w: self } } #[doc = "Bit 1 - This is a single, host controlled input toggle signal, Break Point Match Continu...
Rust
attr("y", 6) .attr("dy", ".71em") .style("text-anchor", "end") .text("Rating Standard Deviation"); svg.append("g") .attr("class", "x axis") .attr("transform", "translate(0," + height + ")") .call(xAxis) .append("text") .attr("class", "label") .attr("x", width) ...
JavaScript
tps://docs.oracle.com/en/java/javase/11/docs/specs/security/standard-names.html if (targetX500Name == null) { // Enable identity check for web certificates if no target x500 name is expected sslParameters.endpointIdentificationAlgorithm = "HTTPS" } it.sslParameters = sslP...
Kotlin
hatch.addChild(Hatch2); Hatch2.cubeList.add(new ModelBox(Hatch2, 234, 237, -0.001F, 0.0F, 0.0F, 5, 1, 36, 0.0F, false)); Hatch1 = new ModelRenderer(this); Hatch1.setRotationPoint(2.5F, -33.5F, 51.0F); hatch.addChild(Hatch1); Hatch1.cubeList.add(new ModelBox(Hatch1, 65, 204, 0.0F...
Java
//----------------------------------------------------------------------------// // // // ozz-animation is hosted at http://github.com/guillaumeblanc/ozz-animation // // and distributed under the MIT License (MIT). ...
C
emoved), &removed_count); g_signal_connect (server, "notify::is-running", G_CALLBACK (server_notify_is_running), loop); g_main_loop_run (loop); g_assert_cmpint (received_count, ==, 5); g_assert_cmpint (removed_count, ==, 1); g_object_unref (server); g_main_loop_unref (loop); session_bus_stop (); } str...
C
\n", j0c28 => "--:-:-:-:1 ISETP.GE.AND P1, PT, loopN, 32, P0;\n", j0c34 => "--:-:-:-:1 \@P0 $convert storeX7, load0I7.H1;\n", j0c38 => "--:-:-:-:1 \@P0 $convert storeX6, load0I7.H0;\n", j0c42 => "--:-:-:-:1 \@P0 $convert storeX5, load0I6.H1;\n", j0c46 => "--:-:...
CSS
all groups under the "Exchange Servers" group. Returns 3 groups //Yield "Server 2003 Exchanges" from request #8. 14/9999 case 9: //Get all groups under the "Server 2003 Exchanges" group. 2 children, no grandchildren. 16/9999 //Yield...
C#
型的漏洞函数作为示例,以帮助模型更好地理解该类型的漏洞。 **04** **检索增强生成** ![](https://mmbiz.qpic.cn/mmbiz_png/9EP6QFMcTmTPnokZZ8YNRXaUloc6lVf1ia4fM2g8CSqqCNeiaINxdCjia45uqyiavL5rv8iaGjxz8umWGYblK6SPZpw/640?wx_fmt=other&from=appmsg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1 "") 图片来源:Introduction to Retrieval-Augmented Generation (R...
Markdown
hk.Int(tst, "Nsteps", o.Nsteps, 9) chk.Int(tst, "Every", o.Every, 4) chk.Int(tst, "Tidx", o.Tidx, 3) chk.Int(tst, "Nmax", o.Nmax, 4) chk.Int(tst, "Idx", o.Idx, 1) t := 0.0 for idxT := 0; idxT < o.Nsteps; idxT++ { t += o.Dt io.Pforan("%2d : t = %v\n", idxT, t) o.MaybeNow(idxT, t) } io.Pfblue2("final t = %...
Go
arena; var value_array_pointer = arena + Module.HEAPU32[ address / 4 ]; var length = Module.HEAPU32[ (address + 4) / 4 ]; var key_array_pointer = arena + Module.HEAPU32[ (address + 8) / 4 ]; var output = {}; for( var i = 0; i < length; ++i ) { var key_pointer = Module...
JavaScript
evel_fnid: .long 668916371 .globl sysTrophyTerm_stub .section .data.sceFStub.cellSysutil .align 2 .type sysTrophyTerm_stub, @object .size sysTrophyTerm_stub, 4 sysTrophyTerm_stub: .long __sysTrophyTerm .globl sysTrophyTerm_fnid .section .rodata.sceFNID .align 2 .type sysTrophyTerm_fnid, @object .size sysTro...
Assembly
).to.deep.equal({ func: { name: 'first', }, }) }) }) describe('#normalizeArnRole', () => { let getAccountInfoStub let getRoleStub beforeEach(() => { // Ensure that memoized function will be properly stubbed awsDeployFunction.provider.getAccountInfo ...
JavaScript
; } private: map<int, default_long_long_int> arr; map<int, default_long_long_int> frequencies; }; int main(){ int q; scanf("%d",&q); custom_struct arr; for (int i = 0; i < q; i++){ int command, value; scanf("%d",&command); scanf("%d",&value); if (command ...
C++
let txt = message.content; let name = message.name ? message.name + ":" : ""; let time = `<hik class="timeStr" ${showTimeStr ? "" : 'style="display:none"'}> ${Time2Str()}</hik>`; let look3 = function () { SendCommand(`look3 ${$(this).attr("uid")}`); }; if (message.ch === "chat"...
JavaScript
() => { const reader = new StringReader("tetest"); assert.strictEqual(reader.readUntilRegexp(/s/), "tete"); assert.strictEqual(reader.cursor, 4); }); }); }); /** * Created by Ivanov.Kirill on 21.07.2017. */ import Monster from './monster'; import {expect} from 'chai';...
Typescript
-labs/osmosis/v30/x/concentrated-liquidity" concentratedtypes "github.com/osmosis-labs/osmosis/v30/x/concentrated-liquidity/types" ) const ( mainnetChainID = "osmosis-1" // Edgenet is to function exactly the samas mainnet, and expected // to be state-exported from mainnet state. edgenetChainID = "edgenet" // Tes...
Go
Timeout for the test, in milliseconds. */ skip( name: JestTestName, fn?: (done: JestDoneFn) => ?Promise<mixed>, timeout?: number ): void, /** * Highlight planned tests in the summary output * * @param {String} Name of Test to do */ todo(name: string): void, /** * Run the test concurrently *...
JavaScript
All FacePlayer Message 0x3 WaitButton CloseMsgOnKeyPress ReleaseAll End @ 84 Script_3: @ 84 PlayFanfare 0x5dc LockAll Message 0x4 YesNoBox 0x800c If 0x800c, 0x0 CompareLastResultJump EQUAL, Script_branch_ad If 0x800c, 0x1 CompareLastResultJump EQUAL, Script_branch_e3 End @ ad Script_branch_ad: @ ad Se...
Assembly
utils.afterTextChanged import com.ubergeek42.WeechatAndroid.utils.isNotAnyOf class ShareTextActivity : AppCompatActivity(), BufferListClickListener { private var dialog: Dialog? = null override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) P.applyThemeAfterActi...
Kotlin
using FluentAssertions; using System.Threading.Tasks; using xRetry; using Xunit; using Xunit.Abstractions; namespace UnitTests.Facts.ThreadHopping { public class ThreadHoppingAsyncTaskWithDelayFactTests : IClassFixture<ThreadHoppingFixture> { private const int NUM_ITERATIONS = 10; private read...
C#
b) { const struct irda_skb_cb *cb = (const struct irda_skb_cb *) skb->cb; return (cb->magic == LAP_MAGIC) ? cb->mtt : 10000; } /* * Function irda_get_next_speed (skb) * * Extract the speed that should be set *after* this frame from the skb * * Note : return -1 for user space frames */ static inline __u32 ir...
C
* A suite of JUnit tests related to refinement operators. * * @author Jens Lehmann * */ public class RefinementOperatorTest { private String baseURI; /** * Applies the RhoDRDown operator to a concept and checks that the number of * refinements is correct. * */ @Test public void rhoDRDownTest() { ...
Java
acing = vecRightFacing * armDistanceFromChest; Vector vecLeftSide = player->GetAbsOrigin(); vecLeftSide.x -= vecRightFacing.x; vecLeftSide.y -= vecRightFacing.y; vecLeftSide.z += chestHeightFromFeet; Vector vecRightSide = player->GetAbsOrigin(); vecRightSide.x += vecRightFacing.x; vecRightSide.y += vecR...
C++
numOvls = self["header"]["arm9_overlay_size"].value // (8 * 4) for i in range(numOvls): yield Overlay(self, "arm9_overlay[]") # files if self["header"]["fat_size"].value > 0: for field in self["fat_content"]: if field["end"].value > f...
Python
ences { get { if (@OwnerHistory != null) yield return @OwnerHistory; if (@TaskTime != null) yield return @TaskTime; } } #endregion #region Custom code (will survive code regeneration) //## Custom code //## #endregion } }
C#
_x::after { content: ""; transition: 0.2s ease; position: absolute; height: 40%; width: 0px; top: 30%; left: 0px; border-radius: var(--radius-secondary); background-color: var(--accent-primary); } .channel-1Shao0.container-32HW5s .interactive-1vLZ_I.interactive-iyXY_x:hover .avatar-1HDIsL { margin-...
CSS