content
stringlengths
2
6.21k
label
stringclasses
16 values
m.IO; namespace LicenseHeaderManager.Core { /// <summary> /// Provides members to parse and extract information describing license headers from given license header definition files. /// </summary> public interface ILicenseHeaderExtractor { /// <summary> /// Extracts license header definitions fr...
C#
.39.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@humanwhocodes/config-array", [\ ["npm:0.11.8", {\ "packageLocation": "./.yarn/cache/@humanwhocodes-config-array-npm-0.11.8-7955bfecc2-0fd6b3c54f.zip/node_modules/@humanwhocodes/config-array/",\ "packageDepen...
JavaScript
div> <div> <section id="040030702729Notes"> <div class="box box-gray detail3-caution-container mbsp-40"> <div class="detail3-caution"> <h3 class="detail3-caution-sub mbsp-10">注意事項</h3> <p class="mbsp-10"> <ul class="c-list c-list-item...
HTML
usDoesNotExist\x10\x02\x12\x1c\n\x18k_ELobbyStatusNotAMember\x10\x032\ \xc6\x01\n\x16LobbyMatchmakingLegacy\x12\x85\x01\n\x0eGetLobbyStatus\x12\ ..LobbyMatchmakingLegacy_GetLobbyStatus_Request\x1a/.LobbyMatchmakingLeg\ acy_GetLobbyStatus_Response\"\x12\x82\xb5\x18\x0eGetLobbyStatus\x1a$\x82\ \xb5\x18\x2...
Rust
.database.ExportedWordEntity /** * Room database for Tekisuto */ @Database( entities = [ DictionaryEntryEntity::class, DictionaryMetadataEntity::class, ExportedWordEntity::class, ProfileEntity::class, ProfileDictionaryEntity::class, WordFrequencyEntity::class, ...
Kotlin
void endGamesList() { } public void setJoinGamePreviewMap(final File mapLookupFile) { War3Map map; try { map = War3MapViewer.beginLoadingMap(this.dataSource, mapLookupFile.getPath()); final War3MapW3i mapInfo = map.readMapInformation(); final WTS wtsFile = Warcraft3MapObjectData.loadWTS(map); this...
Java
kernel = cuda.jit(pyfunc) kernel[1, 1](nbrec) np.testing.assert_equal(nbarr, arr) @unittest.expectedFailure def test_set_arrays(self): # Test setting an entire array of arrays (multiple records) arr = np.zeros(2, dtype=recordwith2darray).view(np.recarray) nba...
Python
d, append this sample to the B list. else { bl.append(s); } } /* * Determines whether to compute time for sample with specified indices. * A sample should be processed iff at least one of its neighbors is * less than the minimum time computed so far. */ /* private boolean doComputeTi...
Java
354 130T362 333Q362 478 354 524T321 597Z"></path></defs><g stroke="currentColor" fill="currentColor" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#E228-MJMATHI-3B8" x="0" y="0"></use><use transform="scale(0.707)" xmlns:xlink="http://www.w3.org/1999/xlink...
HTML
�ストの取得が成功しました"); console.log(richMenus); return richMenus; } catch (err) { console.error("リッチメニューの作成が失敗しました"); console.error(err); throw err; } } /** * @param richMenuId リッチメニューを構成するオブジェクト * @param img リッチメニューに登録する画像のバイナリ * @description リッチメニューへの画像の登録 * @returns リッ...
Typescript
silithide raffermi", [21502] = "Garde-poignets de saccageur des sables", [21503] = "Ceinture du saccageur des sables", [21504] = "Charme des Sables changeants", [21505] = "Foulard des Sables changeants", [21506] = "Pendentif des sables changeants", [21507] = "Amulette des Sables changeants", [21508] = "Marque de Cénar...
Lua
ace.co/datasets/genbio-ai/rna-secondary-structure-prediction/blob/main/rna_ss_data.zip). Unzip `rna_ss_data.zip` inside the directory `${MGEN_DATA_DIR}/modelgenerator/datasets/`. **Alternatively**, you can simply run the following script to do this: ``` mkdir -p ${MGEN_DATA_DIR}/modelgenerator/dataset...
Markdown
EmitterModule.ts#L238) • `set` **startLifecycle**(`v`): `void` Set life cycle of each quad #### Parameters | Name | Type | | :------ | :------ | | `v` | `MinMaxCurve` | #### Returns `void` #### Defined in [packages/particle/module/stand/ParticleEmitterModule.ts:230](https://github.com/Orillusion/orillusion/blob...
Markdown
const CompileTimeErrorTemplate< LocatableDiagnostic Function({required String p0}) > readPotentiallyUnassignedFinal = CompileTimeErrorTemplate( 'READ_POTENTIALLY_UNASSIGNED_FINAL', "The final variable '{0}' can't be read because it's potentially " "unassigned at this point.", correctionMess...
Dart
ialize(), "5"); EXPECT_THAT(base_array.Serialize(), "[1, 2, 3, 4, 5]"); // Insert element to the beginning of the array. ZETASQL_ASSERT_OK_AND_ASSIGN(PgJsonbValue new_element_zero, PgJsonbValue::Parse("0", &tree_nodes)); ZETASQL_ASSERT_OK(base_array.InsertArrayElement(new_element_zero, 0...
C++
from __future__ import annotations from typing import Any, TYPE_CHECKING import numpy as np if TYPE_CHECKING: # pragma: no cover from pyNastran.bdf.bdf import BDF DOF_MAP = dict[tuple[int, int], int] def get_ieids_eids(model: BDF, etype: str, eids_str, idtype: str='int32') -> tuple[int, Any...
Python
879.156ZM811.89 225.432H879.156V115.746H873.702L811.89 220.584V225.432Z" /> </mask> <path d="M496.11 303V259.974H391.878V215.13L465.204 90.9H534.894V225.432H570.042V259.974H534.894V303H496.11ZM428.844 225.432H496.11V115.746H490.656L428.844 220.584V225.432ZM671.772 307.242C646.724 307.242 626.625 300.374 6...
HTML
\n\t" "sll %[temp_reg1], %[temp_reg1], 2 \n\t" "sll %[temp_reg2], %[temp_reg2], 2 \n\t" "mtlo %[MAX_lo], $ac2 \n\t" "msub $ac2, %[tmp11], %[temp_reg5] ...
C
{ fmt.Fprintf(os.Stderr, "note section %d too short for header (%d < 12 + align(%d,4) + align(%d,4))\n", i, len(d), namesz, descsz) break } // 3 == NT_GNU_BUILD_ID if typ == 3 && namesz == 4 && bytes.Equal(d[12:16], []byte("GNU\000")) { id := string(d[12+an:12+an+descsz]) if id == "\x12\x34\x...
Go
st": {} /// } /// ``` TokenList {}, /// # TokenBalances /// /// Returns [TokenBalancesResponse] /// All DAO Cw20 Balances /// /// ## Example /// /// ```json /// { /// "token_balances": { /// "start"?: { /// "native": "uosmo" | "cw20": "os<PASSWORD...
Rust
} override fun onPanelClosed(featureId: Int, menu: Menu) { super.onPanelClosed(featureId, menu) if (menu === groupMenu) { groupMenuLifecycleOwner.onMenuClosed() } } private fun initSelectActionBar() { binding.selectActionBar.setMainActionText(R.string.delete) ...
Kotlin
p> <h3>Accessing The Scrollbars Plugin API</h3> <p>As discussed in the <a href="index.html#scrollbars">ScrollBar Plugin</a> documentation, the API to control scrollbars is available on the scrollview instance, through the <code>scrollView.scrollbars</code> property. The ScrollBar plugin doesn't have too complex of an...
HTML
.6h2.6v-.4H3.7V9.7h-.2c-.9 3.5-2 4.5-3.6 4.8v.1c.4.1 1.1 0 1.5.1 0 1.3-.1 7.8-.1 8.3zM8.1 25.2h-.2.2zM8.1 25.2c.1 0 .3-.1.4-.1l-.4.1z" fill="#434343"/> <path d="M9.4 24.1c-.1.7-.5.8-.9 1h5V25c-.2 0-.4 0-.6-.1-.5-.1-.8-.5-.9-1-.1-.7-.1-1.4-.1-2.1v-2c0-.7 0-1.3.1-2 .1-1.6 1.3-2.9 2.8-3.1.6 0 1.1.3 1.4.7.4.6.5 1.4.4 2.1v4...
HTML
expiration_ref.cleanup(); expired }; trace!("Cleaning up mock {} expired keys", expired.len()); cleanup_keys(&tx, expired); Ok(()) }); trace!("Creating mock redis command stream..."); Box::new(command_ft.select(timer_ft).map(|_| ()).map_err(|(e, _)| e)) } // Regression test for #3559...
Rust
/// [`UnsafeUnpin`]: https://docs.rs/pin-project/1/pin_project/trait.UnsafeUnpin.html /// [drop-guarantee]: core::pin#drop-guarantee /// [pin-projection]: core::pin#projections-and-structural-pinning /// [pinned-drop]: macro@pin_project#pinned_drop /// [repr-packed]: https://doc.rust-lang.org/nomicon/other-reprs.html#r...
Rust
, fb # fb = &va->x mov _vb$(%esp), fc # fc = &vb->x # HOLE jmp .LArea_Computation .align 4 .Labc: # abc mov _va$(%esp), fa # fa = &va->x mov _vb$(%esp), fb # fb = &vb->x mov _v...
Assembly
Device is currently locked. core.String? deviceActivityState; /// Timestamp of when the report was collected. /// /// Output only. core.String? reportTime; GoogleChromeManagementV1DeviceActivityReport({ this.deviceActivityState, this.reportTime, }); GoogleChromeManagementV1DeviceActivityRepo...
Dart
ea.height NULL, // .dynamicArea.areaBuffer buttonGroup_right_bmp // .img }; guiImage_t screen_buttonLeftUp = { 2, // .dynamicArea.xCrd 30, // .dynamicArea.yCrd 0, // .dynamicArea.width 0, // .dynamicArea.heig...
C
, verify_key, hepk_fp, key_state) VALUES($1, $2, $3, $4, $5, NOW(), $6, $7, $8, 'valid')`, m.ShortHostID().ExportToDB(), uot.ExportToDB(), sharedKey.Gen, newDeviceRK.Typ, newDeviceRK.Lev, actor.ExportToDB(), sharedKey.VerifyKey.ExportToDB(), sharedKey.HepkFp.ExportToDB(), ) if e...
Go
break; zoneTree.Upsert(i, i + i); } ++p; } } var expected1 = new long[] { 21, 19, 17, 15, 13, 11 }; var expected2 = new long[] { 21, 51, 13, 11 }; var sum = m.BottomSegments.Sum(x => x.Length) + m.I...
C#
%2C%20Fp%3E%3E-for-Fp12Chip%3C%27a%2C%20F%2C%20FpChip%2C%20Fp12%2C%20XI_0%3E" class="impl has-srclink"><a class="srclink rightside" href="../../../src/halo2_ecc/fields/fp.rs.html#450-474">source</a><a href="#impl-Selectable%3CF%2C%20Reduced%3CPt%2C%20Fp%3E%3E-for-Fp12Chip%3C%27a%2C%20F%2C%20FpChip%2C%20Fp12%2C%20XI_0%3...
HTML
# Say hello #Say hello """ Ignore this """ # comments name = input("What's your name? ") print(f"hello, {name}")
Python
ic void getItemOffsets(Rect rect, View view, RecyclerView recyclerView, RecyclerView.State state) { if (!(recyclerView.getLayoutManager() instanceof SuitedLayoutManager)) { throw new IllegalArgumentException(String.format("The %s must be used with a %s", SuitedItemDecoration.class.getSimpleName(), S...
Java
// // SamplesMessage.h: Sample Batch message // Copyright (C) 2018 Gonzalo José Carracedo Carballal // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as // published by the Free Software Foundation, either version 3 o...
C
use this feature.\] The <b>IDTFilter3</b> interface extends the <a href="/previous-versions/windows/desktop/api/encdec/nn-encdec-idtfilter2">IDTFilter2</a> interface and is exposed by the Decrypter/Detagger filter. ## -inheritance The <b>IDTFilter3</b> interface inherits from <a href="/previous-versions/windows/des...
Markdown
from sys import setrecursionlimit setrecursionlimit(4000) def f(n): if n < 5: return 4 if n > 4: return 4 * f(n-4) print(f(4444)/f(4400))
Python
2088: ИА Титан-3 01 (RU000A102MB3): цена=101.98%, доходность=1.9%.</li><li>Строка 1795 из 2088: ИА Титан-3 02 (RU000A102MC1): цена=null%, доходность=0%.</li><li>Строка 1796 из 2088: ИА Титан-3 03 (RU000A102ME7): цена=null%, доходность=0%.</li><li>Строка 1797 из 2088: ГСП-Финанс БО-01 (RU000A102MR9): цена=101%, доходнос...
HTML
", Predicates.blocks(getBlock("kubejs:restraint_device"))) .build() } .additionalDisplay { controller: IMultiController?, components: MutableList<Component?>? -> if (controller is GTLAddCoilWorkableElectricParallelHatchMultipleRecipesMachine) { if (controller....
Kotlin
)( reader.ReadInt(11) + 1 ); } else { value = (float)( reader.ReadInt(14) + 1 ); } } } else { // Read the required integer and fraction flags intval = reader.ReadBit() ? 1 : 0; // Read the sign bit isNegative = reader.ReadBit(); // If we got either parse them, otherwise it's...
C#
rn r; } TMatrix make_contrast_color_matrix(const Color3 &scale, const Color3 &pivot) { TMatrix r; r.zero(); r[0][0] = scale[0]; r[1][1] = scale[1]; r[2][2] = scale[2]; r.setcol(3, pivot[0] * (1 - scale[0]), pivot[1] * (1 - scale[1]), pivot[2] * (1 - scale[2])); return r; } TMatrix make_saturation_colo...
C++
ArnEquals', { "ecs:cluster": this.cluster.clusterArn })); return { id: this.node.id, arn: this.cluster.clusterArn, roleArn: role.roleArn, ecsParameters: { taskCount: this.taskCount, taskDefinitionArn: this.taskDefinition.taskDefinitionArn } }; } /** * Creat...
Typescript
_ARGQN #define BOOST_MOVE_ARGQ0 #define BOOST_MOVE_ARGQ1 q0 #define BOOST_MOVE_ARGQ2 BOOST_MOVE_ARGQ1, q1 #define BOOST_MOVE_ARGQ3 BOOST_MOVE_ARGQ2, q2 #define BOOST_MOVE_ARGQ4 BOOST_MOVE_ARGQ3, q3 #define BOOST_MOVE_ARGQ5 BOOST_MOVE_ARGQ4, q4 #define BOOST_MOVE_ARGQ6 BOOST_MOVE_ARGQ5, q5 #define BOOS...
C++
=> isActive ? 'rgba(66, 220, 219, 0.8)' : 'rgba(255, 87, 87, 0.8)'}; margin-right: 8px; box-shadow: 0 0 8px ${({ isActive }) => isActive ? 'rgba(66, 220, 219, 0.6)' : 'rgba(255, 87, 87, 0.6)'}; `; const StatusText = styled.div` font-size: 12px; color: ${({ theme }) => theme.text}; margin-bottom: 1...
JavaScript
pub fn g_static_rec_mutex_lock_full(mutex: *mut GStaticRecMutex, depth: guint); } extern "C" { pub fn g_static_rec_mutex_unlock_full(mutex: *mut GStaticRecMutex) -> guint; } extern "C" { pub fn g_static_rec_mutex_free(mutex: *mut GStaticRecMutex); } pub type GStaticRWLock = _GStaticRWLock; #[repr(C)] #[deri...
Rust
ageReader<T> ?: throw RuntimeException("No UDP message reader for type: $type") log.debug("Constructed UDPMessageReader for $type: " + reader.javaClass.simpleName) return reader } } class BundleTCPMessageReader(stream: InputStream) : TCPMessageReader<Bundle> { private val inpu...
Kotlin
还给水龙头,可发起一笔交易向下述地址转账'), RaisedButton( child: Text('复制水龙头地址'), onPressed: () { Clipboard.setData(ClipboardData(text: '0x687422eea2cb73b5d3e242ba5456b782919afc85')); _scaffoldKey.currentState .showSnackBar(SnackBar(content: Text('已复...
Dart
s, R); double c = cos_angle; double s = sin_angle; double t = 1.0 - c; for (unsigned int i = 0; i < 3; i++) { for (unsigned int j = 0; j < 3; j++) { kfm_matrix_set(R, i, j, t * kfm_matrix_get(R, i, j)); } } for (unsigned int i = 0; i < 3; i++) { kfm_matrix_...
C++
z2)]^2 // where: //x- = original x //z- = original z // given the sums and differences of the original points (stored in work structure). work.diff1 = submod(P1.X, P1.Z, work.n); work.sum1 = addmod(P1.X, P1.Z, work.n); work.diff2 = submod(P2.X, P2.Z, work.n); work.sum2 = addmod(P2.X, P2.Z, work.n); w...
Java
resource-timing-nocors" : "link", // 1 "http://mochi.test:8888/tests/dom/tests/mochitest/general/generateCss.sjs?A" : "link", "http://mochi.test:8888/tests/dom/tests/mochitest/general/generateCss.sjs?B" : "css", // 2 "http://example.com/tests/dom/tests/mochitest/general/generateCss.sjs?C" : "link", // 3 ...
HTML
}, { name: "startswith + escaping '_'", policy: `include if startswith(input.fruits.name, "ap_")`, // if "_" wasn't escaped properly, it would match "apple" expRows: nil, exclude: []DBType{SQLite}, }, { name: "startswith + escaping '%'", policy: `include if startswith(input.fruits.name,...
Go
while (generateConsumer.TryDequeue(out var entity)) { if (entity.message == ButtonEvents.OK || entity.message == ButtonEvents.CANCEL) { // The buttons are contextual to the GUI that owns them, so the group must be the same ...
C#
有对他怀疑过。从揭露出来的他所有的那些思想看来,有不少地方也是我所有的。今天若不从中吸取教训,猛醒过来,必然会跟着滑下去,危险岂止一人而已哉!?于此也就更加认识到文化大革命的重要意义。总之,感想很多,一言难尽。 </p> <p> 这些文章和文献,我还只是粗看一遍,还没有过瘾,还要准备再看,以至三看四看,才能满足。看了以后,再在小组会上来谈自己的感受。 </p> <p> 对于南京和江苏的当前形势,仍然是每天关心的大事。现在看了大字报,有些情况还是各执一辞,使我不甚了解。我只能留心听广播,看人民日报的社论。以期能够掌握斗争的大方向。 </p> <p> 劳动如常,别的事情也不想写了。 </p>...
HTML
This structure contains current encode/decode data for a logical bitstream.</td> </tr> <tr valign=top> <td><a href="ogg_packet.html">ogg_packet</a></td> <td>This structure encapsulates the data and metadata for a single Ogg packet.</td> </tr> <tr valign=top> <td><a href="ogg_sync_state.html">ogg_sync_state</a></td> <...
HTML
n if_(condition: KRef.Native<Boolean>, block: () -> Unit): IfBlock.Else { return IfBlock(this).if_(condition, block) } inline fun switch(block: Switch.Scope.() -> Unit) { Switch(this).apply { makeScope().block() finish() } } inline fun switch(number: KR...
Kotlin
//MP1 //This file contains the Program class with the Main method. //You should not change this file. Please use as is. using System; using System.Collections.Generic; namespace MP1 { public class Program { static void Main() { PolynomialCalculus calculator = new PolynomialCalcul...
C#
''' Developed by Ellen Red ''' from machine import Pin, PWM import time import imu import kalman_pid motor1 = PWM(Pin(22)) motor2 = PWM(Pin(18)) motor3 = PWM(Pin(12)) motor4 = PWM(Pin(4)) freq = 30 duty_u16 = 0 #5% def slow(): motor1.duty_u16(3251) motor2.duty_u16(3251) motor3.duty_u16(3251) motor...
Python
Inst::ShiftRR { shift_op: ShiftOp::AShR64, rd: writable_gpr(4), rn: gpr(5), shift_imm: SImm20::maybe_from_i64(-524288).unwrap(), shift_reg: None, }, "EB450000800A", "srag %r4, %r5, -524288", )); insns.push(( Inst...
Rust
020290BC: ldr r0, [sp, #4] mov r1, r2, lsl #1 add r0, r5, r0, lsl #6 ldrh r2, [r1, r0] mov r0, fp add r1, sp, #0 bl sub_0200B3FC ldr r0, [sp] add r0, r0, #1 str r0, [sp] _020290E4: ldr r1, [r8] ldr r0, [r8, #8] ldr r2, [sp] add r0, r1, r0 cmp r2, r0 blt _020290BC add r6, r6, #1 _02029100: ldr r1, [r8,...
Assembly
////////////////////////////////////////////////////////////////////////////// /* * Copyright (c) 2021 gematik GmbH * * 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...
Rust
ouble_ended/trait.DoubleEndedIterator.html#method.nth_back\" class=\"fn\">nth_back</a>(\n &amp;mut self,\n n: <a class=\"primitive\" href=\"https://doc.rust-lang.org/nightly/std/primitive.usize.html\">usize</a>,\n) -&gt; <a class=\"enum\" href=\"https://doc.rust-lang.org/nightly/core/option/enum.Option.html\" tit...
JavaScript
an.forShutdownTests(stoppedBeans); Lifecycle bean2 = TestSmartLifecycleBean.forShutdownTests(500, 200, stoppedBeans); Lifecycle bean3 = TestSmartLifecycleBean.forShutdownTests(Integer.MAX_VALUE, 100, stoppedBeans); Lifecycle bean4 = TestLifecycleBean.forShutdownTests(stoppedBeans); Lifecycle bean5 = TestSmartLi...
Java
"#6") end set_domain_group(line, REMOTE_GROUP) if REMOTE_FAKEDNS == "1" then ipset_flag = nil end set_domain_ipset(line, ipset_flag) end end log(string.form...
Lua
_mstship .shipInfo .aaci .shipIcon img { width:20px; height:20px; margin-top:-2px; border-radius: 50%; } .tab_mstship .shipInfo .aaci .equipIcons { width:100px; height:20px; margin:0 5px 0 0; padding:2px 5px; float:left; } .tab_mstship .shipInfo .aaci .equipIcons img { width:20px; height:20px; } .tab_mstship...
CSS
// ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #endregion namespace FoundationDB.Types.ProtocolBuffers { public class ProtobufCodec<TDocument...
C#
inName: identifier, isFailover: true, isDown: false, trusted: true, torEnabled: true, clearnetEnabled: true, isPrimary: isPrimary, ); default: throw UnimplementedError(); } } @override int get defaultSeedPhraseLength => 16; //...
Dart
en using CHS mode, so the format * program should set this byte to 0x0e. It seems that (generally) all * USB BIOSes have LBA support. * * If the format program does not know whether the BIOS has LBA * support, it may operate this way: * * if (partition_start + total_sectors_in_partition) exceeds the CHS ...
Assembly
0, 1, r, C, sigma)) S = 1 H = 1.1 L = 0.9 C = 0.005 r = 0.04 sigma = 0.25 # payoff_delta = delta_cal(S, H, L, r, 0, C, sigma, option_type='payoff') # euro_delta = delta_cal(S, H, L, r, 0, C, sigma, option_type='euro') # #amer_delta = delta_cal() # payoff_gamma = gamma_cal(S, H,...
Python
CatchTry<E, A> => ({ _tag: "Failure", failure: e }) /** * returns true when is a success. * guard for TryCatch type */ export const isFailure = <E, A>(ma: CatchTry<E, A>): ma is Failure<E> => ma._tag === "Failure" /** * returns true and when is a failure * guard for TryCatch type */ export const isSuccess = ...
Typescript
new: NetworkHandlerSupport.BaseStateImpl, ) { action(new) } override fun toString(): String = "StateChangedObserver($name)" } } @Suppress("FunctionName") internal fun StateChangedObserver( name: String, from: State, to: State, action: (new: NetworkHandlerSupport...
Kotlin
minmax(0,1fr)}.scroll-wrap-SmxgjhBJ:before,.underline-tabs-SmxgjhBJ:before{background-color:#f0f3fa;border-radius:2px;bottom:0;content:"";height:4px;left:0;position:absolute;right:0}html.theme-dark .scroll-wrap-SmxgjhBJ:before,html.theme-dark .underline-tabs-SmxgjhBJ:before{background-color:#434651}.center-Pun8HxCz,.co...
CSS
await connection.manager.save(example, { data: { Hello: "World" } }) expect(subscriber.calledData).to.be.eql([{ Hello: "World" }]) }) it("cleans up the data after the save completes", async () => { if (!connections.length) return const connection = connections[0] const subscri...
Typescript
#ifndef __EBPF_KERN_USER_H #define __EBPF_KERN_USER_H #include "ktypes.h" #define EBPF_CHECK_KPROBE_MISSES_CMD 0x70C14 typedef struct { __u32 map_id; __u32 cpu; } perf_buffer_key_t; typedef struct { unsigned long len; long addr; } mmap_region_t; typedef struct { mmap_region_t consumer; mmap...
C
veFilesWithRewriteDomainAndPathEnabled) { GoogleString content; AddRewriteDomainMapping("http://new.com/test/", kTestDomain); InitTest(kShortTtlSec); ASSERT_TRUE(FetchResource(kCssPath, kFilterId, kCssTail, "css", &content)); EXPECT_EQ(CssData("http://new.com/test/sub/"), content); } TEST_F(CacheExtenderTest...
C++
/* * BattleConstants.h, part of VCMI engine * * Authors: listed in file AUTHORS in main folder * * License: GNU General Public License v2.0 or later * Full text of license available in license.txt file, in main folder * */ #pragma once enum class EBattleEffect { // list of battle effects that have hardcoded t...
C
_health_checker_redis_v2_redis_proto_rawDescData } var file_envoy_config_health_checker_redis_v2_redis_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_envoy_config_health_checker_redis_v2_redis_proto_goTypes = []interface{}{ (*Redis)(nil), // 0: envoy.config.health_checker.redis.v2.Redis } var file_envoy_c...
Go
желый и замотан в пузырчатую упаковку и прозрачный пластик. Она лишь с трудом может различить его содержимое. Что-то светло-красно-коричневое. Покрытое куриными царапинами. Твердое как камень.</p> <p>- Что это? - спрашивает И.В. - Домашний хлеб от мамочки?</p> <p>- Древний артефакт. - Голос Фрэнка звучит раздраженно. Р...
HTML
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; namespace EVEMon.Common.Serialization.API { public sealed class SerializableMailMessagesListItem { public SerializableMailMessagesListItem() { ToCharacterIDs = new List<string>(); ...
C#
| trainable params: {trainable_params:,d} || trainable%: {100 * trainable_params / all_param}" ) print(f'lora params: {lora:,d}') print(f'linear params: {linear:,d} || imagebind params: {imagebind:,d} || llama params: {llama:,d}') def load_stage_1_parameters(self, path): delta_ckpt...
Python
x = %02x\n", 0x7f, val); mutex_unlock(&ice->gpio_mutex); } static void cs_proc_init(struct snd_ice1712 *ice) { struct snd_info_entry *entry; if (! snd_card_proc_new(ice->card, "cs_codec", &entry)) snd_info_set_text_ops(entry, ice, cs_proc_regs_read); } static int pontis_add_controls(struct snd_ice1712 *ice) { ...
C
using System.Security.Cryptography; using Pororoca.Domain.Features.Entities.Pororoca; namespace Pororoca.Infrastructure.Features.Requester; internal sealed record ClientCertificateUniqueness( string? ClientCertificateFileHash, string? ClientCertificatePrivateKeyFileHash, string? ClientCertificateFilePassw...
C#
_RTC (0x1000) /* Bit 12: RTC */ #define STR71X_APB2_EIC (0x4000) /* Bit 14: EIC */ #define STR71X_APB2_APB2ALL (0x5fdd) /************************************************************************************ * Public Types **********************************************************************...
C
# mach: crisv0 crisv3 crisv8 crisv10 crisv32 # output: 1\n1\n1fffe\nfffffffe\ncc463bdb\nffff0001\n1\nfffe\nfedafffe\n78133bdb\nffffff01\n1\nfe\nfeda49fe\n781344db\n85649200\n .include "testutils.inc" start moveq -1,r3 sub.d -2,r3 test_cc 0 0 0 0 checkr3 1 moveq 2,r3 sub.d 1,r3 test_cc 0 0 0 0 checkr3 1 m...
Assembly
terial.dart'; class SnackbarPage extends StatefulWidget { const SnackbarPage({super.key}); @override State<SnackbarPage> createState() => _SnackbarPageState(); } class _SnackbarPageState extends State<SnackbarPage> { void showSnackBar(BuildContext context, [bool isTop = true]) { final snackBar = Snackbar...
Dart
a) { a.f = 5 + 1; } '''); } test_setter_topLevel() { indexTestUnit(r''' void set result(x) { print(x + 1); } main() { result = 5; } '''); _createRefactoring('result(x)'); // validate change return _assertSuccessfulRefactoring(r''' main() { print(5 + 1); } '''); } test_singleExpression_...
Dart
/12/unfussy-rugelach-scaled.jpg?fit=1200%2C800&amp;ssl=1&amp;resize=300%2C300 1.5x, https://i0.wp.com/smittenkitchen.com/wp-content/uploads/2015/12/unfussy-rugelach-scaled.jpg?fit=1200%2C800&amp;ssl=1&amp;resize=400%2C400 2x, https://i0.wp.com/smittenkitchen.com/wp-content/uploads/2015/12/unfussy-rugelach-scaled.jpg?fi...
HTML
tbb::tick_count::now(); oneapi::tbb::parallel_for(oneapi::tbb::blocked_range<std::size_t>(0, num_elem, 100), SubStringFinder(to_scan.c_str(), num_elem, &max1[0], &pos1[0])); oneapi::tbb::tick_count parallel_t1 = oneapi::tbb::tick_count::now(); std::cout << " Done with parallel ...
C++
description = "Taurus bzt cli framework config", fileMatch = { "bzt.yml", "bzt.yaml", "taurus.yml", "taurus.yaml" }, name = "Taurus", url = "https://json.schemastore.org/taurus.json" }, { description = "JSON schema .NET template files", fileMatch = { "**/.template.config/template.json"...
Lua
/// Time when this state was entered (see JSON representation of Timestamp /// (https://developers.google.com/protocol-buffers/docs/proto3#json)). /// /// Output only. core.String? stateStartTime; /// Additional state information that includes status reported by the agent. /// /// Output only. /// Poss...
Dart
mov r0, r8 mov r1, r5 bl OS_SetVAlarmTag add r7, r7, #1 cmp r7, #4 blt _03801C5C ldr r1, _03801D08 ;@ =0x040001C0 _03801C84: ldrh r0, [r1] ands r0, r0, #128 ;@ 0x80 bne _03801C84 ldr r0, _03801D0C ;@ =0x00008A01 strh r0, [r1] mov r1, #132 ;@ 0x84 ldr r0, _03801D10 ;@ =0x040001C2 strh r1, [r0] ldr r1, _0...
Assembly
id": "867", "properties": {"UBIGEO1": 120132}, "type": "Feature"}, {"bbox": [-76.5729141108397, -12.017042979824087, -76.49052998576283, -11.926903854740157], "geometry": {"coordinates": [[[-76.49052998576283, -11.935920104748535], [-76.49451786076654, -11.989701979798639], [-76.51462886078532, -12.017042979824087], [-...
HTML
ia (GIF, 52401 bytes)</a> <p> <a href="../shunter.jpg"><img align=middle src="shunter.gif" alt="shunter - "></a> W. Morgan Sheppard as the Soul Hunter (JPEG, 10983 bytes)</a> <p> <a href="../sincivan.gif"><img align=middle src="sincivan.gif" alt="sincivan - "></a> Sinclair and Ivanova in the central corridor (GIF, 48...
HTML
entations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl&lt;T&gt; <a class="trait" href="../../../../nom/lib/std/prelude/v1/v1/trait.ToOwned.html" title="trai...
HTML
-inline-start); font-family: var(--rh-font-family-body-text, RedHatText, 'Red Hat Text', Helvetica, Arial, sans-serif); font-size: var(--_header-font-size); & #icon { fill: currentcolor; } &:is(:hover,:active,:focus) { background-color: light-dark(var(--rh-color-surface-lighter), oklch...
CSS
'Not supported command keys: {}'.format(forbidden_keys) ) elif isinstance(command, str): command = {'text': command} command.setdefault('username', defaults['username']) command.setdefault('display_name', defaults['display_name']) return BotCommand( ...
Python
Extents.y) ..addScaled(_axis2, _halfExtents.z); break; case 6: corner ..addScaled(_axis0, _halfExtents.x) ..addScaled(_axis1, _halfExtents.y) ..addScaled(_axis2, -_halfExtents.z); break; case 7: corner ..addScaled(_axis0, _hal...
Dart
\nGuarda le prime 12 carte del tuo mazzo e assegna a piacimento un numero qualsiasi di carte Energia presenti tra esse ai tuoi Pokémon. Poi rimischia le altre carte nel tuo mazzo.", pt: "Você só pode jogar esta carta se descartar Diana, Véspera e Anita da sua mão.\n\nOlhe as 12 primeiras cartas do seu baralho e ligue...
Typescript
80035448 00000000 */ nop /* 25C4C 8003544C 23104300 */ subu $v0, $v0, $v1 /* 25C50 80035450 FF0F4530 */ andi $a1, $v0, 0xFFF /* 25C54 80035454 0108A228 */ slti $v0, $a1, 0x801 /* 25C58 80035458 03004014 */ bnez $v0, .L80035468 /* 25C5C 8003545C 40200800 */ sll $a0, $t0, 1 /* 25C60 8...
Assembly
z18.s, z18.s, z14.s\n" "mov z14.s, #0x0\n" "add z22.s, z26.s, z22.s\n" "add z26.s, z31.s, z24.s\n" "sdot z14.s, z30.b, z0.b[2]\n" "add z24.s, z24.s, z27.s\n" "add z27.s, z29.s, z23.s\n" "add z28.s, z20.s, z28.s\n" "add z29.s, z17.s, z25.s\n" "add z30.s, z20.s, z18.s\n" "add z31.s...
C++
using the rules of the default locale. * This method is equivalent to {@code toUpperCase(Locale.getDefault())}. * <p> * <b>Note:</b> This method is locale sensitive, and may produce unexpected * results if used for strings that are intended to be interpreted locale independently. * Examples ar...
Java
SendMessage(msg) return err } package rest import ( "encoding/hex" "encoding/json" "fmt" "net/http" "time" "github.com/gorilla/mux" "github.com/martin-helmich/cloudnativego-backend/src/contracts" "github.com/martin-helmich/cloudnativego-backend/src/lib/msgqueue" "github.com/martin-helmich/cloudnativego-bac...
Go