content
stringlengths
2
6.21k
label
stringclasses
16 values
mut io = MetaIoHandler::default(); let rpc = RpcSolImpl; io.extend_with(rpc.to_delegate()); let meta = Meta { request_processor, cluster_info, drone_addr, rpc_addr, }; (io, meta, last_id, alice) } #[test] fn test_rpc_n...
Rust
margin-left: 25%; } .offset-xxl-4 { margin-left: 33.33333333%; } .offset-xxl-5 { margin-left: 41.66666667%; } .offset-xxl-6 { margin-left: 50%; } .offset-xxl-7 { margin-left: 58.33333333%; } .offset-xxl-8 { margin-left: 66.66666667%; } .offset-xxl-9 { margin-left: 75%;...
CSS
风波'}, {'8370', '政治小丑', '政治小丑'}, {'8371', '致胡书记的公开信', '致胡书记的公开信'}, {'8372', '中俄边界新约', '中俄边界新约'}, {'8373', '中俄密约', '中俄密约'}, {'8374', '中共暴政', '中共暴政'}, {'8375', '中共当局', '中共当局'}, {'8376', '中共党魁', '中共党魁'}, {'8377', '中共第六代', '中共第六代'}, {'8378', '中共独裁', '中共独裁'}, {'8379', '中共独枭', '中共独枭'}, {'8380', '中共恶霸', '中共恶霸'}, {'8381', '中共监狱...
Lua
| 如何开始学习 Python 编程语言并快速入门? | | 预定酒店房间 | 如何在线预定一间价格实惠、设施完备的酒店客房? | | 理财投资 | 在当前的经济形势下,应该如何进行投资以稳妥地保...
Markdown
s: hsl.s, l: hsl.l }), tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l }) ]; } function tetrad(color) { var hsl = tinycolor(color).toHsl(); var h = hsl.h; return [ tinycolor(color), tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }), tinycolor({ h: (h + 180) % 360, ...
CSS
} if (node != null) { if (!basePathField.getText().equals(node.record.getBasePath())) { htmlPanesByNode.remove(node); LibraryTreeNode parent = (LibraryTreeNode) node.getParent(); if (parent != null) htmlPanesByNode.remove(parent); node.setBasePath(basePathField.getText()); ...
Java
``` <img alt="Do you want a joke or a poem? A poem" src="docs/figures/simple_select_llama2_7b.png" width="277"> ### Call and deploy tools easily with automatic interleaving of control and generation. [Easy tool use](#automatic-interleaving-of-control-and-generation-tool-use), where the model stops generation when a t...
Markdown
lidNSSelector.Spec.NamespaceSelector = "name == 'testing'" invalidNSSelectorKey := model.ResourceKey{Kind: apiv3.KindGlobalNetworkPolicy, Name: "invalid-ns-selector"} invalidNSSelector := fullGNPv3(ns1, selector) invalidNSSelector.Spec.NamespaceSelector = "name 'testing'" allNSSelectorKey := model.ResourceKey{Kin...
Go
176, "Hoch halten", 0) SAS(SI_KEYCODE_NARRATIONTEXTPS5177, "Runter halten", 0) SAS(SI_KEYCODE_NARRATIONTEXTPS5178, "Links halten", 0) SAS(SI_KEYCODE_NARRATIONTEXTPS5179, "Rechts halten", 0) SAS(SI_KEYCODE_NARRATIONTEXTPS5180, "Options halten", 0) SAS(SI_KEYCODE_NARRATIONTEXTPS5181, "Share halten", 0) SAS(SI_KEYCODE_NAR...
Lua
t() EndStory() io.Writer } type reporters struct{ collection []Reporter } func (self *reporters) BeginStory(s *StoryReport) { self.foreach(func(r Reporter) { r.BeginStory(s) }) } func (self *reporters) Enter(s *ScopeReport) { self.foreach(func(r Reporter) { r.Enter(s) }) } func (self *reporters) Report(a *Asse...
Go
p = np.array(warp_data, dtype=dtype).reshape(warp_shape) expected = [[[0.0], [0.0]]] self._assertForwardOpMatchesExpected(input_np, warp_np, expected) expected_grad_data = [[[[0.81], [0.0]], [[0.09], [0.0]]]] expected_grad_warp = [[[10.30, 2.7], [0.0, 0.0]]] grad_output = np.ones([1, 2, ...
Python
Second, false), Entry("created now, with second requeue time, should requeue in second", &k8sv1.Pod{}, time.Duration(0), time.Second, true), Entry("created in 2 seconds, with second requeue time, should requeue now", &k8sv1.Pod{}, 2*time.Second, time.Second, true), ) DescribeTable("should clean up attachment...
Go
�时,使用SB2C地狱俯冲者编队进行一轮航空攻击$1(威力依据技能等级),该编队携带的航弹将对其命中的敌方战舰、战巡、航战造成破甲效果,同类效果取最大值,不可叠加", id = 13070, system_transform = {}, world_death_mark = { 1 }, desc_get_add = { { "Lv.1", "Lv.10" } }, desc_add = { { { "Lv.1" }, { "Lv.2" }, { "Lv.3" }, { ...
Lua
www.inu-manga.com', 'Inu Manga') module.Domains:Add('www.rom-manga.com', 'ROM-Manga') module.Domains:Add('www.slow-manga.com', 'SLOW-MANGA') module.Domains:Add('www.up-manga.com', 'Up-Manga') module.Domains:Add('xenon-manga.com', 'xenon-manga.com') RegisterModule(module) end local function CheckGe...
Lua
vector<g2o::Sim3,Eigen::aligned_allocator<g2o::Sim3> > vScw(nMaxKFid+1); vector<g2o::Sim3,Eigen::aligned_allocator<g2o::Sim3> > vCorrectedSwc(nMaxKFid+1); vector<VertexPose4DoF*> vpVertices(nMaxKFid+1); const int minFeat = 100; // Set KeyFrame vertices for(size_t i=0, iend=vpKFs.size(); i<iend...
C++
biggertab) !important;} .tab-position:not(.is-pinned) .tab .tab-header > .favicon {min-width: 26px !important;} .tab-position:not(.is-pinned) .tab .tab-header > .title {padding:0;} #tabs-container .tab-position:not(.accordion-toggle-arrow):not(.is-pinned) { height: var(--biggertab) !important; .tab {max-height: var(-...
CSS
us Registers */ u8 res8[0x13A00]; u8 can1[0x1000]; /* Flexcan 1 */ u8 can2[0x1000]; /* Flexcan 2 */ u8 res9[0x5000]; usb83xx_t usb; u8 res10[0x5000]; u8 can3[0x1000]; /* Flexcan 3 */ u8 can4[0x1000]; /* Flexcan 4 */ u8 res11[0x1000]; u8 dma1[0x2000]; /* DMA */ sdhc83xx_t sdhc; /* SDHC Co...
C
-weight","dfnText":"weight","external":false,"refSections":[{"refs":[{"id":"ref-for-dom-network-reporting-endpoint-weight"},{"id":"ref-for-dom-network-reporting-endpoint-weight\u2460"}],"title":"2.4. Failover and load balancing"},{"refs":[{"id":"ref-for-dom-network-reporting-endpoint-weight\u2461"}],"title":"3.2. \n ...
HTML
target: r'Money', ) }, estimateSize: _receiveMoneyTransactionEstimateSize, serialize: _receiveMoneyTransactionSerialize, deserialize: _receiveMoneyTransactionDeserialize, deserializeProp: _receiveMoneyTransactionDeserializeProp, idName: r'id', indexes: {}, links: {}, embeddedSchemas: {r'Mone...
Dart
9.727969f,14.022445f, 9.820074f,14.130979f, 10.002114f,14.206609f, 10.002224f,14.463358f, 9.935219f,14.802421f, 9.982890f,14.957853f, 9.945692f,15.059965f, 9.994282f,15.148312f, 9.989541f,15.248100f, 9.933482f,15.413858f, 9.998714f,15.688998f, 10.117960f,15.483668...
Java
], s[s_dtile_dx_neg], v[v_move_slice_k_idsx], v[v_out_dslice_iw] ; from ho, wo, os_base, compute final offset v_mad_u32_u24 v[v_tmp], s[s_wo], v[v_out_iho], v[v_out_iwo] v_lshl_add_u32 v[v_out_os], v[v_tmp], 1, v[v_out_os_base] v_cmp_gt_u32 vcc, s[s_ho], v[v_out_iho] v_cndmask_b32 v[v_out_flag], 0, ...
Assembly
label for=\"author\">Name (Erforderlich)<\/label> <input type=\"text\" name=\"author\" class=\"jp-carousel-comment-form-field jp-carousel-comment-form-text-field\" id=\"jp-carousel-comment-form-author-field\" \/><\/fieldset><fieldset><label for=\"url\">Website<\/label> <input type=\"text\" name=\"url\" class=\"jp-carou...
HTML
ol for creating an OWL file from an OWL ontology specification in a Cyc KB. A Cyc term representing the OWL ontology itself is specified for export, and each term defined in the OWL ontology is exported to the OWL file. Alternatively, a list of Cyc terms can be specified instead on the ontology term.</p> ...
HTML
]), textarea:not([id], [aria-label], [aria-labelledby]), select:not([id], [aria-label], [aria-labelledby]) { @include error('no-id', $self-closing: true); } /*doc --- title: "Missing a value" name: no-value category: Errors --- ### Description How to label a `[reset]`, `[submit]` or `[button]` type input? You still...
CSS
calculateNumRows(curCalendarDay.firstDayOfMonth, curCalendarDay.day, curCalendarDay) } else -> { calculateNumRows(curCalendarDay.firstDayOfMonth, curCalendarDay.lastDayOfMonth, curCalendarDay) } ...
Kotlin
parameters | **requiredInt64Group** | **Int64** | Required Integer in group parameters | **stringGroup** | **Int** | String in group parameters | [optional] **booleanGroup** | **Bool** | Boolean in group parameters | [optional] **int64Group** | **Int64** | Integer in group parameters | [optional] ### Return ...
Markdown
aw_diag => { const filepath = util.resolvePath(raw_diag.file, basePath); const severity = severity_of(raw_diag.severity); if (severity === undefined) { return undefined; } const diag = new vscode.Diagnostic(raw_diag.loca...
Typescript
#ifndef __ORG_XMLVM_RUNTIME_XMLVMOUTPUTSTREAM__ #define __ORG_XMLVM_RUNTIME_XMLVMOUTPUTSTREAM__ #include "xmlvm.h" // Preprocessor constants for interfaces: #define XMLVM_ITABLE_SIZE_org_xmlvm_runtime_XMLVMOutputStream 2 // Implemented interfaces: // Super Class: #include "java_io_OutputStream.h" // Circular referen...
C
/** * @param {ExtensionCommon.Context} context * @returns {{jsdns: browser.jsdns}} */ getAPI(context) { /** @enum {number} */ const RCODE = /** @type {const} */ ({ NoError: 0, // No Error [RFC1035] FormErr: 1, // Format Error [RFC1035] ServFail: 2, // Server Failure [RFC1035] NXDomain: 3, // No...
JavaScript
if ("kaca-pembesar" === args[1].toLowerCase()) { if (player.Kaca_Pembesar) return await conn.reply( m.chat, "*🛒 Anda sudah memiliki kaca pembesar.*", m, ); if (player.Uang < 200) return await conn.reply( m.c...
JavaScript
22T\n%NETWORK_DISC" "ONNECT_LOCALPROBLEM_OTHER\020M\032)\242\324\030%#GameUI" "_Disconnect_LocalProblem_Other\022S\n!NETWOR" "K_DISCONNECT_REMOTE_TIMEOUT\020O\032,\242\324\030(#Game" "UI_Disconnect_RemoteProblem_Timeout\022h\n,N" "ETWORK_DISCONNECT_REMOTE_TIMEOUT_CONNECT" "ING\020P\0326\242\324\0302#GameUI_...
C++
DmaId _020D0AD0: .word sClrImg arm_func_end GX_EndLoadTex arm_func_start GX_BeginLoadTexPltt GX_BeginLoadTexPltt: ; 0x020D0AD4 stmdb sp!, {r3, lr} bl GX_ResetBankForTexPltt mov r3, r0, asr #4 ldr r1, _020D0B00 ; =sClrImg ldr r2, _020D0B04 ; =sTexPlttStartAddrTable mov r3, r3, lsl #1 ldrh r2, [r2, r3] str r0,...
Assembly
return false } // SetBalloonPaymentAmount gets a reference to the given int32 and assigns it to the BalloonPaymentAmount field. func (o *K4Segment) SetBalloonPaymentAmount(v int32) { o.BalloonPaymentAmount = &v } func (o K4Segment) MarshalJSON() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { ret...
Go
return; } if (this.#timeout) clearTimeout(this.#timeout); const currentTime = performance.now(); if (this.#target <= currentTime) { this.onFire(); return; } this.#timeout = setTimeout(Timer.prototype.onFire.bind(this), th...
Typescript
mes) || // ExternalTrafficPolicy changed svc.Spec.ExternalTrafficPolicy != i.ServiceSnapshot.Spec.ExternalTrafficPolicy } if shouldGarbageCollect { for _, addr := range svcAddresses { // log.Debugf("(svcs) Retrieving local addresses, to ensure that this modified address doesn't exist: %s", addr) ...
Go
", "coordinates": "data", "xindex": 0, "dasharray": "none"}, {"linewidth": 1.5, "id": "el6716140211729513384", "zorder": 2, "yindex": 25, "data": "data01", "alpha": 1, "color": "#9467BD", "drawstyle": "default", "coordinates": "data", "xindex": 0, "dasharray": "none"}, {"linewidth": 1.5, "id": "el6716140211729514168", ...
HTML
stor. I wanted to use larger resistor but only had my same 220? resistors, so I put a few in series. This introduces enough resistance to lower the current used by the transistor on the GPIO pin but have enough juice to saturate the transistor into a fully on state. Current flows from the collector to the emitter, so ...
Markdown
.5 66.0\nL 85.3 63.1\nL 86.2 63.1\nL 86.2 65.9\nM 84.2 65.9\nL 85.7 65.9\nL 85.7 63.5\nL 84.2 65.9\n' fill='#191919'/>\n<path class='atom-67' d='M 77.1 64.3\nL 76.1 62.6\nL 76.1 62.6\nL 75.4 62.6\nL 75.4 64.3\nL 74.8 64.3\nL 74.8 60.1\nL 76.1 60.1\nQ 76.8 60.1, 77.2 60.4\nQ 77.5 60.7, 77.5 61.3\nQ 77.5 61.8, 77.3 62.1\...
HTML
%hi(D_8004A7C4) # $t0, 0x8005 /* 148A9C 801A2A2C 93190004 */ lbu $t9, 4($t8) /* 148AA0 801A2A30 13200007 */ beqz $t9, .L801A2A50_ovl7 /* 148AA4 801A2A34 00000000 */ nop /* 148AA8 801A2A38 8D08A7C4 */ lw $t0, %lo(D_8004A7C4)($t0) /* 148AAC 801A2A3C 3C01800F */ lui $at, 0x800f /* 148AB0 801A2A40 8D090000...
Assembly
EndpointPath, m.auditLogger, ) m.providerHandlers[(issuerHostWithPath + oidc.ChooseIDPEndpointPath)] = chooseidp.NewHandler( issuerURL+oidc.AuthorizationEndpointPath, idpLister, ) m.providerHandlers[(issuerHostWithPath + oidc.TokenEndpointPath)] = token.NewHandler( idpLister, oauthHelperWithKub...
Go
ect-category menu-item-13404"><a href="https://litradio.net/litradio-zurich/" data-cb-c="22" class="cb-c-l">Litradio Zürich</a></li> <li id="menu-item-13325" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-13325"><a href="https://litradio.net/partner/lyrik-kabinett/" data-cb-c="102" class="...
HTML
posxb1,d4 bsr dafficherbande dpasfing: bra afffond ;------------------------------------------------ scrollinghaut: tst posmapy beq afffond subq #2,posmapy tst.l yscrolplan2 bne.s pasfinh move.l #30*16,yscrolplan2 ;----------------------------------- ;-- tester limite haute bufferpl2 -- ;---------------------...
Assembly
); } static const Iterable<ProviderOrFamily>? _dependencies = null; @override Iterable<ProviderOrFamily>? get dependencies => _dependencies; static const Iterable<ProviderOrFamily>? _allTransitiveDependencies = null; @override Iterable<ProviderOrFamily>? get allTransitiveDependencies => _all...
Dart
description << "This is the " << art->name << ".\n" << (info->plural ? "They are the only ones of their kind." : "It is the only one of its kind."); // Modify the armor further if (!one_in(4)) { int index = rng(0, 4); if (info->available_mods[index] != ARMORM...
C++
--------------------------------------------- // // Simple Edge Handle // // An edge handle is a source/target pair that uniquely identifies an edge. // // TODO: Implement edge_handle. // ------------------------------------------------------------------------ // // ...
C++
1.0, slacks(s)) Next model.AddConstr(lhs, GRB.EQUAL, 0, "totSlack") ' Constraint: compute the total number of shifts for each worker For w As Integer = 0 To nWorkers - 1 lhs = New GRBLinExpr() lhs.AddTerm(-1.0, totShifts(w)) ...
HTML
r_; }; ``` This creates a function for when messages are to be sent. The messages are sent based on a timed callback, which sends two messages per second based on a timer. ```cpp int main(int argc, char *argv[]) { std::cout << "Starting debug_vect advertiser node..." << std::endl; setvbuf(stdout, NULL, _IONBF...
Markdown
1) <- here addition will use broadcasting rules! -> ([[0 1], [4 5]]).flatten(0, 1) -> [ 0 1 4 5 ] Finally, the select(dim=1, index=4) op on the given sparse compressed tensors will return a COO tensor: sparse_coo_tensor([0 1 4 5].unsqueeze(0), [8 ...
C++
(anyLong(), anyLong())) .thenReturn(0); when(studylogRepository.findById(anyLong())) .thenReturn(Optional.empty()); //when //then assertThatThrownBy(() -> studylogScrapService.registerScrap(1L, 2L)) .isInstanceOf(BadRequestException.class) ...
Java
ink' href='https://doc.rust-lang.org/nightly/src/core/ops/bit.rs.html#316' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4></div></span><h3 id='impl-BitXor%3Cu64%3E' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl&lt;'a&gt; <a class="trait" href="../../....
HTML
СберИОС 001Р-127R 42M S&P_ROT (RU000A100SQ2): цена=92.7%, доходность=0%.</li><li>Строка 918 из 2125: Почта России (АО) БО-001P-06 (RU000A100SZ3): цена=100.4%, доходность=7.28%.</li><li>Строка 919 из 2125: СберИОС 001Р-137R 2Y KIDS 4.5% (RU000A100T32): цена=102.5%, доходность=0%.</li><li>Строка 920 из 2125: ПНППК 001P-...
HTML
from turtle import * state = {"turn": 0} def spinner(): clear() angle = state["turn"] / 10 right(angle) forward(100) dot(120, "red") back(100) right(120) forward(100) dot(120, "green") back(100) right(120) forward(100) dot(120, "blue") back(100) right(120) ...
Python
e if ( !Q_stricmp( "friends", pFullSettings->GetString( "game/type" ) ) ) dwGameType = CONTEXT_COOP_PRESENCE_TAGLINE_FRIEND; else if ( !Q_stricmp( "quickmatch", pFullSettings->GetString( "game/type" ) ) ) dwGameType = CONTEXT_COOP_PRESENCE_TAGLINE_QUICKMATCH; static DWORD s_dwLastGameTypeSet = CONTEXT_CO...
C++
calAlignment: AnyUiVerticalAlignment.Center, verticalContentAlignment: AnyUiVerticalAlignment.Center), horizontalAlignment: AnyUiHorizontalAlignment.Stretch), (s) => { record.BaseAddress = s; }); ...
C#
rsion3MixerUnitEntity.rs"); include!("Version3MultiplierClockEntity.rs"); include!("Version3OutputTerminalEntity.rs"); include!("Version3PowerDomainEntity.rs"); include!("Version3ProcessingUnitEntity.rs"); include!("Version3SamplingRateConverterUnitEntity.rs"); include!("Version3SelectorClockEntity.rs"); include!("Vers...
Rust
ted), testProgString(resulting) ) } private fun runAndCompare(expected: BuiltTACProgram, original: BuiltTACProgram) { val newProg = NegationNormalizer(original.code).rewrite() assertSameProg(expected.code, newProg) } @Test fun normalize1() { val prog = T...
Kotlin
nil, {"Sprecht mit Hamuul Runentotem."}}, [1490] = {"Nara Wildmähne", nil, {"Sprecht mit Nara Wildmähne."}}, [1491] = {"Klugheitstränke", nil, {"Sammelt 6 Portionen Klageessenz."}}, [1492] = {"Werftmeister Flunkerblick", nil, {"Bringt die gesicherte Kiste zu Werftmeister Flunkerblick in Ratschet."}}, [1498] = {"Weg der...
Lua
%; } .teach-page .carousel-indicators li.active { background-color: #005240; } .teach-page .rtl-flip { transform: scaleX(-1); } .teach-page .oppia-teach-hero-section { align-items: end; background-image: url("/assets/images/teach/banner-desktop.webp"); background-repeat: no-repeat; background-size: cover...
CSS
Result result, boolean isCompleted) { // プレビューでは、onCaptureResult が何度も呼び出されるので、ここで弾いています。 if (mStartFlag) { mStartFlag = false; if (mOnRecordingEventListener != null) { mOnRecordingEventListener.onStartRecording(); } ...
Java
7C 08 03 A6 */ mtlr r0 /* 8021C380 00217FE0 38 21 00 10 */ addi r1, r1, 0x10 /* 8021C384 00217FE4 4E 80 00 20 */ blr .global func_8021C388 func_8021C388: /* 8021C388 00217FE8 94 21 FF E0 */ stwu r1, -0x20(r1) /* 8021C38C 00217FEC 7C 08 02 A6 */ mflr r0 /* 8021C390 00217FF0 90 01 00 24 */ stw r0, 0x24(r1) /* 8021...
Assembly
g-container .dialog-header .dialog-header-title { margin-top: 2px; } .dialog-container.collapsed .dialog-header .dialog-header-title { margin-top: 0px; } .dialog-container .dialog-header .dialog-header-title { font-size: 14px; color: white; font-family: ...
CSS
, $"//Metallic specular is affected by alebdo color, dielectric isn't!", $"vec3 specLayerDielectric = specular * spec;", $"vec3 specLayerMetallic = metallic * spec * albedo.rgb;", $"vec3 specLayer = clamp(specLayerDielectric + specLayerMetallic, 0.0, 1.0);...
C#
.GamepadDpadRight, Key.GamepadDpadUp, Key.GamepadDpadDown) if (navResizeDir.x != 0f || navResizeDir.y != 0f) { val NAV_RESIZE_SPEED = 600f val resizeStep = floor(NAV_RESIZE_SPEED * g.io.deltaTime * min(g.io.displayFramebufferScale.x, g.io.displayFramebufferScale.y)) g.navWind...
Kotlin
handle ); if( cmod ) { if( mins ) VectorCopy( cmod->mins, mins ); if( maxs ) VectorCopy( cmod->maxs, maxs ); } else { MsgDev( D_ERROR, "Mod_GetBounds: NULL model %i\n", handle ); if( mins ) VectorClear( mins ); if( maxs ) VectorClear( maxs ); } } /* =============== Mod_Calloc =============== */ void ...
C
&wordgraph_root, r); #ifdef GRAPHOUT_DEPTHCUT /* perform word graph depth cutting here */ wordgraph_depth_cut(&wordgraph_root, r); #endif /* if GRAPHOUT_PRECISE_BOUNDARY defined, propagate exact time boundary to the right context. words of different boundary will be duplicated here. */ ...
C
g, Syslog_-_APC_PDU, Syslog_-_APC_UPS, Syslog_-_Apcon_Network_Monitor, Syslog_-_Apex_One, Syslog_-_Arbor_Networks_Peakflow, Syslog_-_Arbor_Networks_Spectrum, Syslog_-_Arbor_Pravail_APS, Syslog_-_Arista_Switch, Syslog_-_Array_TMX_Load_Balancer, Syslog_-_Arris_CMTS, Syslog_-_Aruba_Clear_Pass, Syslog_-_Aruba_Mobility_Cont...
Markdown
attributes so it doesn't try to create pages/attributes in Roam when pasted //OLD WAY (only first occurence replaced): tempString = tempString.replace("::","`::`").replace("[[","`[[`").replace("]]","`]]`").replace("#","`#`"); //Using Split/Join allows to replace multiple instances of the charac...
JavaScript
The property does not have the annotation [org.neo4j.ogm.annotation.Relationship] with an * incoming direction (Note: We will replace this with our own annotation at some point) * * @param property the property to be evaluated, belonging to a class implementing the Persistable * interface * @return true if th...
Kotlin
脑 壤 碳 欧 遍 侧 寨 敢 彻 虑 斜 薄 庭 纳 弹 饲 伸 折 麦 湿 暗 荷 瓦 塞 床 筑 恶 户 访 塔 奇 透 梁 刀 旋 迹 卡 氯 遇 份 毒 泥 退 洗 摆 灰 彩 卖 耗 夏 择 忙 铜 献 硬 予 繁 圈 雪 函 亦 抽 篇 阵 阴 丁 尺 追 堆 雄 迎 泛 爸 楼 避 谋 吨 野 猪 旗 累 偏 典 馆 索 秦 脂 潮 爷 豆 忽 托 惊 塑 遗 愈 朱 替 纤 粗 倾 尚 痛 楚 谢 奋 购 磨 君 池 旁 碎 骨 监 捕 弟 暴 割 贯 殊 释 词 亡 壁 顿 宝 午 尘 闻 揭 炮 残 冬 桥 妇 警 综 招 吴 付 浮 遭 徐 您 摇 谷 赞 箱 隔 订 男 吹 园 纷 唐 败 宋 玻 巨 耕...
Go
bsDegree ); nurbsKnots.add( three.MathUtils.clamp( knot, 0, 1 ) ); } final nurbsCurve = three.NURBSCurve( nurbsDegree, nurbsKnots, nurbsControlPoints ); final nurbsGeometry = three.BufferGeometry(); nurbsGeometry.setFromPoints( nurbsCurve.getPoints( 200 ) ); final nurbsMaterial = three.Line...
Dart
derive(Clone)] pub struct BandedRangeGenerator<R, G> { uniform: Uniform<usize>, band_size: usize, inner: G, rng: R, } impl<R, G> BandedRangeGenerator<R, G> where R: Rng, G: RangeGenerator, { #[allow(dead_code)] pub fn new(rng: R, band_range_gen: G, band_size: usize) -> Self { Ba...
Rust
=FIXED,UNITSIZE=2G,UNITS=(%2),"\ 000180 * "ORIGIN=(%1),TTOKEN=(%4),RETCODE=%0,MF=(E,(%3))"\ 000181 * ::"m"(iarv64_rc),"r"(&origin),"r"(&units),"r"(&wgetstor),"r"(ttkn 000182 * break; 000183 * case ZOS64_VMEM_2_TO_32G:...
Assembly
Combo->blockSignals(true); cameraCombo->clear(); auto renderer = sceneWidget->renderer(); SgCamera* builtinPersCamera = sceneWidget->builtinPerspectiveCamera(); SgCamera* builtinOrthoCamera = sceneWidget->builtinOrthographicCamera(); vector<string> pathStrings; const int n = renderer->numCamer...
C++
pe Casalicchio.</p> </div> <div class="pkgdown"> <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.6.0.</p> </div> </footer> </div> </body> </html> {% extends "layout.html" %} {% macro fileinput(id, multiple) %} <div class="input-group"> <label class="btn btn-defa...
HTML
c inline void timer_irq_wrapper_c1() { get_core1().timer_irq_handler(); } static inline uint32_t TIMER_IRQ(uint32_t alarm_num) { return timer_hardware_alarm_get_irq_num(timer_hw, alarm_num); } static inline int64_t get_next_target_time_unsafe(std::array<DelayedTask, MAX_DELAYED_T...
C
} [HarmonyPostfix] [HarmonyPatch(typeof(CvsA_Copy), "CopyAccessory")] public static void CopyAccessory(CvsA_Copy __instance) { if (PregnancyPlusPlugin.IgnoreAccessories.Value) return; // OnChangeAcs(__instance, __instance.selSrc, __instan...
C#
dZ(a,O[f+80>>2],M[f+103|0]&1);break a}O[k+4>>2]=O[f+104>>2]}ub=f+112|0}function dsa(a){a=a|0;var b=0,c=0,d=0,e=0,f=0,g=0;c=ub-48|0;ub=c;O[c+40>>2]=a;d=O[c+40>>2];O[c+36>>2]=O[d+12>>2];b=ub-80|0;ub=b;O[b+72>>2]=d;a=O[b+72>>2];O[b+64>>2]=O[a+12>>2];a:{while(1){O[b+60>>2]=O[a+12>>2];O[a+24>>2]=O[a+12>>2];e=O[a+12>>2]+1|0;...
JavaScript
/// unimplemented pub fn supervisor_software() { panic!("Supervisor software: {:08x}", sepc::read()); } /// S态外部中断 #[naked] #[link_section = ".text"] pub unsafe extern "C" fn supervisor_external() { asm!( save_non_switch!(), "mv a0, sp", "call {supervisor_external}", resto...
Rust
} /** * @description * checks if the passed data is not valid for preceding via javascript. * @param {PageData} targetContent * @param {GoToEvent} event */ public static isDataAndEventInvalid(targetContent: PageData, event: GoToEvent) { return targetContent === null || typeof targetContent.relevantNo...
Typescript
} [Test] public void NoneOfThemTest () { AssertRuleSuccess<ImplementsNoneOfThem> (); } public class ImplementsBothOfThem { public override int GetHashCode () { return 2; } public new bool Equals (Object obj) { return this == obj; } } [Test] public void BothOfThemTest () ...
C#
filter.checkBooleanArg("test", false); filter.checkBooleanArg("test", "True"); filter.checkBooleanArg("test", "False"); filter.checkBooleanArg("test", "TRUE"); filter.checkBooleanArg("test", "FALSE"); } @Test void testPattern() { Assertions.assertFalse( ...
Java
treturn document.location.toString().split(\\\"#\\\")[0];\\n};\\n\\n// TODO: in case of edit conflict\\n// Prompt: Do you want to save over this? Y/N\\n// Merging would be ideal, and may be possible using future generic merge flow\\nPutSaver.prototype.save = function(text,method,callback) {\\n\\tif(!this.serverAcceptsP...
HTML
<DataTypeHadoopConfig> dataTypes = new ArrayList<>(); FieldConfig generic = new GenericCityFields(); generic.addIndexField(NUM.name()); CityDataManager.newInstance(); dataTypes.add(new CitiesDataType(CitiesDataType.CityEntry.generic, generic)); accumuloSetup.setData(FileType.CSV...
Java
soning': reasoning }]) ], ignore_index=True) print(f"🎯 Moon Dev's AI Analysis Complete for {token[:4]}!") return response except Exception as e: print(f"❌ Error in AI analysis: {str(e)}") # Still add to DataFr...
Python
,0x00] v_mul_f32 v0, foo+2, v2 // VI: v_mul_f32_e32 v0, 0x202, v2 ; encoding: [0xff,0x04,0x00,0x0a,0x02,0x02,0x00,0x00] BB1: v_nop_e64 BB2: s_sub_u32 vcc_lo, vcc_lo, (BB2+4)-BB1 // VI: s_sub_u32 vcc_lo, vcc_lo, (BB2+4)-BB1 ; encoding: [0x6a,0xff,0xea,0x80,A,A,A,A] // VI-NEXT: ; fixup A - offset: 4, value: (BB2+4)-B...
Assembly
e892.html#a208e6301ec92794bd44ba5e6c500c832"> 898</a></span>&#160; <span class="keyword">using</span> <a class="code" href="structcutlass_1_1arch_1_1Mma_3_01gemm_1_1GemmShape_3_018_00_018_00_0132_01_4_00_0132_00_01int4b_0ee08a4520882d24ba9026879265e892.html#a208e6301ec92794bd44ba5e6c500c832">FragmentA</a> = Array&lt;...
HTML
s: ByteString = this.unknownFields, ): All32 = All32(my_int32, my_uint32, my_sint32, my_fixed32, my_sfixed32, rep_int32, rep_uint32, rep_sint32, rep_fixed32, rep_sfixed32, pack_int32, pack_uint32, pack_sint32, pack_fixed32, pack_sfixed32, oneof_int32, oneof_sfixed32, map_int32_int32, map_int32_uint32, map_int32_sint3...
Kotlin
TD bgcolor="#F2FFFF" width="189">TJvStringGrid</TD><TD bgcolor="#F2FFFF" width="712">Enhanced version of a TstringGrid with load/save from CSV capacities, load/save from stream capacities and load/save from file capacities. It has also a sort method. </TD></TR> </TABLE> <BR> </font> <TABLE Border="0" Cellpadding="0" ...
HTML
ty:before { content: "\f177"; } .dashicons-warning:before { content: "\f534"; } .dashicons-welcome-add-page:before { content: "\f133"; } .dashicons-welcome-comments:before { content: "\f117"; } .dashicons-welcome-learn-more:before { content: "\f118"; } .dashicons-welcome-view-site:before { content: "\f115"; ...
CSS
ulis in. Nunc viverra ultrices mollis. Curabitur malesuada nunc massa, ut imperdiet arcu lobortis sed. Cras ac arcu mauris. Maecenas id lectus nisl. Donec consectetur scelerisque quam at ultricies. Nam quis magna iaculis, condimentum metus ut, elementum metus. Pellentesque habitant morbi tristique senectus et netus et ...
HTML
class Solution: def permuteUnique(self, nums: List[int]) -> List[List[int]]: counter = Counter(nums) result =[] def dfs(path): if len(path) == len(nums): result.append(path[:]) return for x in counter: ...
Python
&lt;master&gt;ReprojectNodeFile1&lt;/master&gt; &lt;slave&gt;ReprojectNodeFile2&lt;/slave&gt; &lt;/sources&gt; &lt;parameters&gt; &lt;targetProductType&gt;COLLOCATED&lt;/targetProductType&gt; &lt;renameMasterComponents&gt;${renameReference}&lt;/renameMasterComponents&gt; ...
HTML
over, .form-group.is-focused .togglebutton label:focus { color: rgba(0, 0, 0, 0.54); } fieldset[disabled] .form-group.is-focused .togglebutton label { color: rgba(0, 0, 0, 0.26); } .togglebutton label input[type=checkbox] { opacity: 0; width: 0; height: 0; } .togglebutton label .toggle { text-align: left...
CSS
# These tests used to be in test_exclude_include but they're mostly about # formatting results when files are skipped. import pytest from tests.fixtures import RunSemgrep from semgrep.constants import OutputFormat # Test output formatting in verbose mode. # # Exclude all the files with '--exclude' patterns resulting...
Python
d].LockDescId end function XPlayerManager.GetHeadPortraitDescriptionById(id) if not HeadPortrait[id] then return "" end return HeadPortrait[id].Description end function XPlayerManager.GetHeadPortraitWorldDescById(id) if not HeadPortrait[id] then return "" end return HeadPortrait[id].WorldDesc end fun...
Lua
, Signature: x509Cert.Signature, SignatureAlgorithm: sm2.SM2WithSM3, PublicKeyAlgorithm: sm2.PublicKeyAlgorithm(x509Cert.PublicKeyAlgorithm), PublicKey: x509Cert.PublicKey, Version: x509Cert.Version, SerialNumber: x509Cert.SerialNumber, Issuer: x509Cert.Issuer, Subject: ...
Go
aranteed that all impls of // BitFieldSpecifier come from within this crate. pub trait Sealed {} } // Instantiated by the generated code to prove that the total size of fields is // a multiple of 8 bits. #[doc(hidden)] pub struct Check<T: checks::TotalSizeIsMultipleOfEightBits> { marker: std::marker::Phant...
Rust
from indra.statements import * from indra.assemblers.pysb import PysbAssembler from indra.assemblers.pysb.bmi_wrapper import BMIModel stmts = [Influence(Event(Concept('rainfall')), Event(Concept('flood'))), Influence(Event(Concept('flood')), Event(Concept('displacement'))...
Python
) * (this.x - enemy.x) + (this.y - enemy.y) * (this.y - enemy.y) ) ); // cuantos ticks va a tardar la bala en llegar? const ticksToImpact = Math.floor( MathUtils.fixNumber(d / this.projectileSpeed) ); const impactPosition = enemy.getN...
Typescript
@Suppress("unused") val decimals: Long, val usdPrice: Double, @Suppress("unused") val priceChange24h: Double? = null ) class JupiterService { private var lastUpdate: Long? = null private var lastPrice: Price? = null private val httpClass = HttpClient(CIO) { install(ContentNe...
Kotlin