content
stringlengths
2
6.21k
label
stringclasses
16 values
Vec3f.X_AXIS) transform.rotate(rotationY.deg, Vec3f.Y_AXIS) rotationX += Time.deltaT * 10f rotationY += Time.deltaT * 13.7f } } val instances = MeshInstanceList(InstanceLayoutModelMatAndColor).apply { val mat = MutableMat4f() ...
Kotlin
3RlZWw= 44822 IHBhcnRpbmc= 44823 IExhbms= 44824 Li4uPw== 44825 IDM4NQ== 44826 IHJlbWVtYnJhbmNl 44827 IGVhc2Vk 44828 IGNvdmFyaQ== 44829 IFNpbmQ= 44830 RWZmZWN0aXZl 44831 IGRpc3NlbWluYXRpb24= 44832 IE1vb3Nl 44833 IENsYXBwZXI= 44834 YnJhdGVz 44835 QXBwbHk= 44836 IGludmlz 44837 IHdvcnNlbmVk 44838 4oCULQ== 44839 IGxlZ2lzbGF...
Kotlin
ref name="baseDelay">base delay</paramref>, multiplied by a random factor between <paramref name="low"/> and <paramref name="high"/></returns> public static Instant AdvanceBy(Instant now, TimeSpan baseDelay, double low = 1.0d, double high = 1.5d, Random? rng = null) => now.Plus(Duration.FromTimeSpan(GetNext(baseDe...
C#
Original reference edge_bits to compute difficulty factors for higher /// Cuckoo graph sizes, changing this would hard fork pub const BASE_EDGE_BITS: u8 = 24; /// Default number of blocks in the past when cross-block cut-through will start /// happening. Needs to be long enough to not overlap with a long reorg. /// Ra...
Rust
lor", width: "36", height: "36", }), ), ), ) : "xbox" == t ? n ? i.createElement( "svg", { xmlns: "http:...
JavaScript
dePf[0] = true; DialogSystem.instance.SaveDay(); } public void Load3() { DialogSystem.instance.day = 4; DialogSystem.instance.Result = 0; DialogSystem.instance.MadePf[0] = true; DialogSystem.instance.MadePf[1] = true; DialogSystem.instance.SaveDay(); }...
C#
int[] p = writableBitmap.Pixels; byte[][,] imageRaster = new byte[3][,]; // RGB colors imageRaster[0] = new byte[w, h]; imageRaster[1] = new byte[w, h]; imageRaster[2] = new byte[w, h]; // Copy WriteableBitmap data into buffer for FluxJpeg int i = 0; for (int y = 0; y < h; y++) { for (...
C#
city.match(right.origin) } shouldBe typed.join(typed2, JoinType.Inner) { name and it.city.match(right.origin) } typed.leftJoin(typed2) { name and it.city.match(right.origin) } shouldBe typed.join(typed2, JoinType.Left) { name and it.city.match(right.origin) } typed.rightJoin(type...
Kotlin
import toolforge import pywikibot as pw import helpers conn = toolforge.connect('hywiki') hywiki = pw.Site('hy', 'wikipedia') page = pw.Page(hywiki, 'Վիքիպեդիա:Ցանկեր/միայն կարմիր կատեգորիա ունեցող հոդվածներ') query = '''SELECT concat('#[[', a.page_title, ']]') FROM (SELECT page_id, page_title, ...
Python
AriaLabeledBy(id); } }; } }; }]); /** * @ngdoc directive * @name ionItem * @parent ionic.directive:ionList * @module ionic * @restrict E * Creates a list-item that can easily be swiped, * deleted, reordered, edited, and more. * * See {@link ionic.directive:ionList} for a complete example & explana...
JavaScript
rnd_cnt = random() %7; !!# switch (rnd_cnt) { !!# !!# case 0 : IJ_printf ("diag.j", 1839, th_M, "\tstxa\t %%l0, [%%r6]ASI_AS_IF_USER_BLK_INIT_ST_QUAD_LDD_P_LITTLE\n"); break; !!# case 1 : IJ_printf ("diag.j", 1840, th_M, "\tstxa\t %%l0, [%%r7]ASI_A...
Assembly
print(f'Patience... {wait_cnt}/{patience}') if wait_cnt == patience: print('Early Stopping!') break print() def save(self): with torch.no_grad(): self.best_user_emb, self.best_item_emb = self.model.forward() ...
Python
56V361.76451845H300.19742894v-27.38115296h171.10643031v-70.06570448s0-11.78317502 12.10721236-11.78317502h69.04940562v81.87833743h169.1769354V361.76451845H552.46047723v49.12111087h138.09881128a554.14799237 554.14799237 0 0 1-58.47400606 145.81679091c41.90391618 14.96463227 79.53643141 29.14862921 107.52147209 38.413150...
JavaScript
RL: oauth.redirect_url("http://localhost:8000/redirect") The redirect URL used to redirect to after authentication. // Note: You do not need to set the access code in this example. This is done when Rocket intercepts the request. // The code is appended onto the end of the redirect url and used to call OneDrive API fo...
Rust
Time for gremlin: " + stopWatch.toString()); // stopWatch.reset(); // stopWatch.start(); // } // stopWatch.stop(); // System.out.println("Time for gremlin: " + stopWatch.toString()); // stopWatch.reset(); // stopWatch.start(); // for (int i = 0; i < 5; i++...
Java
face-list", string.Empty), OutInterfaceList = s.Attributes.GetValueOrDefault("out-interface-list", string.Empty), SrcPort = s.Attributes.GetValueOrDefault("src-port", string.Empty), DstPort = s.Attributes.GetValueOrDefault("dst-port", string.Empty), SrcAddress = s.Attribu...
C#
64 vcc, v1, v2 // CHECK: [0x6a,0x00,0xdb,0xd0,0x01,0x05,0x02,0x00] v_cmpx_le_u32_e64 exec, v1, v2 // CHECK: [0x7e,0x00,0xdb,0xd0,0x01,0x05,0x02,0x00] v_cmpx_le_u32_e64 s[10:11], v255, v2 // CHECK: [0x0a,0x00,0xdb,0xd0,0xff,0x05,0x02,0x00] v_cmpx_le_u32_e64 s[10:11], s1, v2 // CHECK: [0x0a,0x00,0xdb,0xd0,0x01,0x04,0x...
Assembly
0x42 lsl r1, r1, #2 cmp r0, r1 bne _020754BC ldr r0, [sp, #4] ldrh r1, [r4] ldrh r0, [r0] cmp r1, r0 beq _020754BC ldrh r0, [r7] cmp r1, r0 bne _02075488 mov r0, #0 strh r0, [r4] strh r0, [r7] _02075488: ldrh r1, [r4] add r0, r1, #2 ldrb r2, [r6, r0] add r0, r1, #3 ldrb r0, [r6, r0] add r1, r6, r1 ...
Assembly
o a valutare lo stato di uscita di uno dei comandi forniti. Questa parte è un po' complicata perché coinvolge aspetti del linguaggio per le espressioni sottostante. Farò del mio meglio per darti una mano, per quanto posso.", ERROR_INTERPRETER_FLAG_RUNTIME_EXCEPTION = "Non ho potuto valutare la flag di uno degli arg...
Kotlin
en', icontime: '1523515420', impressions: 100, subscribers_count: 50, blocked: false, legacy_guid: false, featured_id: '725165605782560768', banned: 'no', website: '', briefdescription: '', dob: '', gender: 'private', city: '', merchant: { service: 'stripe', ...
JavaScript
; if (!name || !value) return NULL; mcnode=(MyConfig *)hashTableLookup(&_myconfig_list,name,0); if (mcnode) { if (mcnode->value) free(mcnode->value); mcnode->value=strdup(value); } else { mcnode=(MyConfig *)hashTableLookup(&_myconfig_list,strdup(name),sizeof(MyConfig)); if (!mcnode) { return NU...
C++
, "You don't own the first mogwai"); // breeding into the same mogwai isn't allowed ensure!(mogwai_id_1 != mogwai_id_2, Error::<T>::MogwaiSame); // ensure that we have enough space ensure!(Self::ensure_not_max_mogwais(sender.clone()), Error::<T>::MaxMogwaisInAccount); let parents = [Self::mogwai(mogwa...
Rust
of "trueValue"'; object.trueValue = true; if (!object.trueValue!) throw 'incorrect value in "trueValue"'; object.trueValue = false; if (object.trueValue!) throw 'incorrect value in "trueValue"'; if (object.tryValue == null) throw 'incorrect initialization of "tryValue"'; object.tryValue = true; if (!obj...
Dart
/*! * Copyright (c) Alibaba, Inc. and its affiliates. * @file cuda_allocator.h */ #pragma once #include <common/allocator.h> #include <cuda_runtime.h> #include <utility/mem_registry.h> // #define CONFIG_MEM_DEBUG namespace allspark { class CUDAAllocator : public Allocator { public: CUDAAllocator(bool do_regi...
C
AddCommand(appStatusCmd) appGraphCmd, _ := app_graph.NewCommand(framework) applicationCmd.AddCommand(appGraphCmd) envSwitchCmd, _ := env_switch.NewCommand(framework) envCmd.AddCommand(envSwitchCmd) bicepPublishCmd, _ := bicep_publish.NewCommand(framework) bicepCmd.AddCommand(bicepPublishCmd) bicepGenerateKub...
Go
) address_formats = ("{{street_address}}\n{{postcode_city_province}}",) secondary_address_formats = ("Appartamento @#", "Piano #") def postcode_city_province(self) -> str: cap = self.postcode() rand_city_prov: List[str] = self.random_element(self.cap_city_province[cap]) return ca...
Python
{ while ( CurPos < ContentLen - 1 ) { CurPos++; var Item = this.private_CheckInstrText(this.Content[CurPos]); var TempType = Item.Type; if (para_FieldChar === Item.Type) { SearchPos.ProcessComplexFieldChar(1, Item); isHiddenPart = SearchPos.isHiddenCo...
JavaScript
n object’s value }); }) ..addStatusListener((state) { //当动画在开始处停止再次从头开始执行动画 if (state == AnimationStatus.completed) { setState(() { isSwitching = false; this.animationNumber = 1; widget.initializeIndex = widget.initializeI...
Dart
ves::_ComputePrimDataSource( primPath, prim.dataSource) }; } if (prim.primType == HdPrimTypeTokens->nurbsPatch) { return { HdPrimTypeTokens->mesh, _NurbsPatchToMesh::_ComputePrimDataSource( primPath, prim.dataSource) }; } return prim; } S...
C++
uter(multi: &Multiplexer, req: Request<Body>) -> Result<Response<Body>> { let method = req.method(); let uri_path = req.uri().path(); match (method, uri_path) { (&Method::GET, "/") | (&Method::GET, "/healthz") => route_health_check().await, (&Method::POST, "/multiplex") => route_mul...
Rust
> where D: Data<Elem = F> + WithLapackData, I: Dimension { fn with_lapack(self) -> ArrayBase<D::D, I> { D::with_lapack(self) } } /// Remove the Lapack bound to the floating point of a dataset /// /// This helper trait is introduced to avoid leaking `Lapack + Scalar` bounds to the outside, which /// causes ambigu...
Rust
</a> est extrêmement important pour cet objectif, car permettant de garantir que toute personne disposant d\'un ordinateur peut contribuer de manière équitable à la sécurité du réseau, il ne résout pas les problèmes pouvant provenir de l\'utilisation de « pools de minage » (rassemblement de mineurs). Le minage en pool ...
Dart
return (tms->talk_status << 7) | (tms->buffer_low << 6) | (tms->buffer_empty << 5); } } /********************************************************************************************** tms5220_ready_read -- returns the ready state of the TMS5220 *****************************************************************...
C++
/*===-- llvm-c/BitWriter.h - BitWriter Library C Interface ------*- C++ -*-===*\ |* *| |* The LLVM Compiler Infrastructure *| |* ...
C
// The `pluck` can be null if we've already overwritten its `type` in a previous recursion. This process is unusual, but can happen in "Proverbs 31:2. Vs 10 to dan". if (pluck != null) { const temp = this.snap_range(pluck, 0); // Move the indices to exclude what we've omitted. We want to move it even if it ...
Typescript
# # TEST CODE FOR SRLI # # ----------------------------------------- # Program section (known as text) # ----------------------------------------- .text # Start symbol (must be present), exported as a global symbol. _start: .global _start # Export main as a global symbol .globa...
Assembly
ion.json.JsonDecoder import kotlinx.serialization.json.JsonPrimitive import kotlinx.serialization.json.int import kotlinx.serialization.json.jsonPrimitive /** * A custom [KSerializer] for date fields that can be represented in JSON * either as a string (`"YYYY-MM-DD"`) or an array of integers (`[YYYY, MM, DD]`). * ...
Kotlin
hd-19); $box-shadow-20: var(--bit-shd-20); $box-shadow-21: var(--bit-shd-21); $box-shadow-22: var(--bit-shd-22); $box-shadow-23: var(--bit-shd-23); $box-shadow-24: var(--bit-shd-24); //spacing $spacing-scaling-factor: var(--bit-spa-scaling-factor); //z-index $zindex-snackbar: var(--bit-zin-snackbar); $zindex-modal: v...
CSS
mode->CrtcVTotal - mode->CrtcVSyncEnd+1; new->verSyncWidth=mode->CrtcVSyncEnd - mode->CrtcVSyncStart+1; new->verDispWidth=mode->CrtcVDisplay; /* Probably need a bit more in here */ if(mode->Flags & V_DBLSCAN) { SETBITFIELD(new->confReg0,NV_PFB_CONFIG_0_SCANLINE,1); } return (TRUE); } /* * NVAdjust -...
C
33f); ComputeShader.SetTexture(Kernels.Diffuse0, "V4Field_Temp", TEMP); // Diffuse Dye for (int i = 0; i < 5; i++) { ComputeShader.SetTexture(Kernels.Diffuse0, "V4Field_in", D_IN); ComputeShader.SetTexture(Kernels.Diffuse0, "V4Field_out", D_OUT); ...
C#
"birthdate", "1940-01-01"}, {"G02NSrQfjFXQ7Io09syajA", "updated_at", 1570000000} } local hashed = { "jsu9yVulwQQlhFlM_3JlzMaSFzglhQG0DpfayQwLUK4", "TGf4oLbgwd5JQaHyKVQZU9UdGE0w5rtDsrZzfUaomLo", "JzYjH4svliH0R3PyEMfeZu6Jt69u5qehZo7F7EPYlSE", "PorFbpKuVu6xymJagvkFsFXAbRoc2JGlAUA2BA4o7cI", "XQ_3k...
Lua
// REQUIRES: x86 // RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o // RUN: not ld.lld --vs-diagnostics -shared %t.o -o /dev/null 2>&1 \ // RUN: | FileCheck %s // CHECK: undef.s(15): error: undefined hidden symbol: foo // CHECK-NEXT: >>> referenced by undef.s:15 // CHECK: undef.s(27): error: undefine...
Assembly
pClient.Redirect.NORMAL) .executor(executor) .build() private fun httpRequest(method: String, url: String, body: String?): HttpRequest { val msgBody = if (body == null) HttpRequest.BodyPublishers.noBody() else HttpRequest.BodyPublishers.ofString(body) return HttpRequest....
Kotlin
.BOTA, "livingrock" , 1, W), OP.rockGt.mat(MT.STONES.Livingrock, 4)); RM.Hammer.addRecipe1(T, 16, 48, 8000, ST.make(MD.BOTA, "livingrock0SlabFull", 1, W), OP.rockGt.mat(MT.STONES.Livingrock, 4)); RM.Hammer.addRecipe1(T, 16, 48, 8000, ST.make(MD.BOTA, "livingrock1SlabFull", 1, W), OP.rockGt.mat(MT.STONES.Liv...
Java
Ils "IMP" -> Imp "INR" -> Inr "IQD" -> Iqd "IRR" -> Irr "ISK" -> Isk "JEP" -> Jep "JMD" -> Jmd "JOD" -> Jod "JPY" -> Jpy "KES" -> Kes "KGS" -> Kgs "KHR" -> Khr "KMF" -> Kmf "KPW" -> Kpw "KRW" -> Krw ...
Kotlin
return { -- scala lsp { "scalameta/nvim-metals", ft = { "scala", "sbt", "java" }, keys = { { "<leader>mc", function() require("metals").compile_cascade() end, desc = "Metals compile cascade", }, { "<leader>me", function() ...
Lua
64(s2, t0); // or s2, t0, r0 c->mov64(s4, t1); // or s4, t1, r0 c->daddiu(s1, sp, 16); // daddiu s1, sp, 16 c->load_symbol(t9, cache.moving_sphere_sphere_intersect);// lw t9, moving-sphere-sphere-intersect(s7) c->mov64(a0...
C++
/* arm-linux.elf-entry.S -- Linux program entry point & decompressor (Elf binary) * * This file is part of the UPX executable compressor. * * Copyright (C) 1996-2023 Markus Franz Xaver Johannes Oberhumer * Copyright (C) 1996-2023 Laszlo Molnar * Copyright (C) 2000-2023 John F. Reiser * All Rights Reserved. * * U...
Assembly
border-top: 2px solid #333333 ; padding-top: 20px ; } .ui-jqgrid .jqgrid-caption-menu { left:0; top:30px; position:absolute; display:none; font-size: inherit; width : auto; } .ui-jqgrid .jqgrid-column-menu { font-size:inherit; width:auto; position: absolute; } .ui-jqgrid .search-col-input { padding: 3px ...
CSS
]}.${ mVersionCode.split(".")[2] }" } } } } /* * This file is part of HyperCeiler. * HyperCeiler is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free S...
Kotlin
ne primitives are undefined and set to QNaN (WARN: /// qNaN compares to inequal to *everything*, even to qNaN itself. /// Using code like this to check whether a field is qnan is: /// /// ``` /// #define IS_QNAN(f) (f != f) /// ``` /// /// still dangerous because even 1.f == 1.f could ev...
Rust
R), y: Y(Coord::THREE_QUARTERS), })) } #[allow(unused)] pub(crate) fn lower_right_quadrant_spiralish() -> Box<dyn sprialish::IterWithBounds> { Box::new(sprialish::OutIter::starting_at(XY { x: X(Coord::THREE_QUARTERS), y: Y(...
Rust
getValue()); // check number of remarks and their value assertNull(processResult.getRemarkSet()); //---------------------------------------------------------------------- //------------------------------4NA-02---------------------------------- //----------------...
Java
trip {} /// Marker trait indicating [`MetadataRoundtrip`] /// for the node table of a [`TableCollection`](crate::TableCollection). pub trait NodeMetadata: MetadataRoundtrip {} /// Marker trait indicating [`MetadataRoundtrip`] /// for the edge table of a [`TableCollection`](crate::TableCollection). pub trait EdgeMetad...
Rust
em; using System.Collections.Generic; using System.Text; using System.IO; using Behaviac.Design; using Behaviac.Design.Nodes; using Behaviac.Design.Attachments; using PluginBehaviac.DataExporters; using PluginBehaviac.Events; namespace PluginBehaviac.NodeExporters { public class WaitTransitionCsExporter : Attachme...
C#
8bfQkPMPcu1SCOhGnqmKrs0aDAfBgNVHSMEGDAWgBTLD8bfQkPM Pcu1SCOhGnqmKrs0aDAbBgNVHREEFDASgRBpbmZvQGUtc3ppZ25vLmh1MA0GCSqG SIb3DQEBCwUAA4IBAQDJ0Q5eLtXMs3w+y/w9/w0olZMEyL/azXm4Q5DwpL7v8u8h mLzU1F0G9u5C7DBsoKqpyvGvivo/C3NqPuouQH4frlRheesuCDfXI/OMn74dseGk ddug4lQUsbocKaQY9hK6ohQU4zE1yED/t+AFdlfBHFny+L/k7SViXITwfn4fs775 tyERzAMB...
Go
abase scheme. */ private const val DATABASE_SCHEME = "twelve_database" /** * Dummy database playlists authority. */ private const val PLAYLISTS_AUTHORITY = "playlists" /** * Dummy internal database playlists [Uri]. */ private val pla...
Kotlin
### Geometry and timing - The bsnes-jg core's core provided FPS is 60.098812 for NTSC games and 50.006979 for PAL games. - The bsnes-jg core's core provided sample rate is 48000Hz - The bsnes-jg core provides adjustable overscan and aspect ratio options. ## Subsystems bsnes-jg supports Super Game Boy, BS-X Satellav...
Markdown
reference, _imageUrlFactory, PermissionContext); }); } #nullable disable public void UpdatePersonalDescription(int albumId, AlbumDetailsContract data) { PermissionContext.VerifyLogin(); HandleTransaction(ctx => { var album = ctx.Load(albumId); EntryPermissionManager.VerifyAccess(PermissionContext, a...
C#
0,(a1) nop move.b d1,(a0) rept 86 nop endr move.b d0,(a0) move.b d1,(a0) rept 13 nop endr move.b d1,(a1) nop move.b d0,(a1) move.w (a2)+,$ffff826e.w rept 6 nop endr dbf d7,i3 rte table2: rept 100 dc.w $000 endr dc.w $001,$002...
Assembly
.SKF_DigestInit_N(lDevHandle, algId, eccPublicKeyBlob.getBit(), eccPublicKeyBlob.getxCoordinate(), eccPublicKeyBlob.getyCoordinate(), charArray, charArray.length, lHashHandle)); } return lHashHandle[0]; } /** * Digest * @param lHashHandle Hash Handle * @...
Java
"DROP INDEX IF EXISTS idx_anoncreds_cred_ex_item_id_v0_1;", "DROP TABLE IF EXISTS anoncreds_cred_ex_v20_v0_1;", ], "postgresql": [ """ DROP TRIGGER IF EXISTS trg_update_anoncreds_cred_ex_timestamp_v0_1 ON anoncreds_cred_ex_v20_v0_1; """, "DROP FUNCTION IF EXISTS u...
Python
local name, token = GetClassInfo(classID) if name then t[classID] = { order = classID, text = PLAYER_CLASS_NO_SPEC:format(RAID_CLASS_COLORS[token].colorStr, name), icon = "Interface\\GLUES\\CHARACTERCREATE\\UI-CHARACTERCREATE-CLASSES", tcoords = { (CLASS_ICON_TCOORDS[token][1]+.02), ...
Lua
, 1 and w0, w0, 1 lsl w0, w0, w2 add w2, w2, 1 orr w3, w3, w0 cmp w2, 32 str w3, [x4] beq .L330 .L318: cmp w1, 4095 bls .L316 .L321: mov w0, 0 ldr x21, [sp, 32] ldp x19, x20, [sp, 16] ldp x29, x30, [sp], 48 ret .L304: mov w0, 8 strh wzr, [x19, 22] strh w0, [x19, 30] ldp w2, w1, [x21] ldr w0, [x21, 8]...
Assembly
root)).toEqual([]); }); it("expands inter-node edges to separate SG border and nodes #1", function() { g.setEdge("a", "b", { minlen: 1 }); nestingGraph.run(g); expect(g.edgeFromArgs("a", "b").minlen).toEqual(1); }); it("expands inter-node edges to separate SG border and nodes #2", fu...
Typescript
v0, SR_ISC /* isolate cache */ mtc0 v0, C0_SR nop .set reorder li t0,K0BASE /* set loop registers */ or t1,t0,t2 2: sb zero,0(t0) sb zero,4(t0) sb zero,8(t0) sb zero,12(t0) sb zero,16(t0) sb zero,20(t0) sb zero,24(t0) addu t0,32 sb zero,-4(t0) bne t0,t1,2b .set noreorder _Dflush_done: mtc0 t3,C0_SR...
Assembly
/* * This file is part of the Colobot: Gold Edition source code * Copyright (C) 2001-2023, Daniel Roux, EPSITEC SA & TerranovaTeam * http://epsitec.ch; http://colobot.info; http://github.com/colobot * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Pu...
C
endm .align 4 roots_addr: .word roots .syntax unified .type ntt_kyber_12_345_67_opt_size_m85, %function .global ntt_kyber_12_345_67_opt_size_m85 modulus .req r12 r_ptr .req r11 .equ modulus_const, -3329 in .req r0 inp .req r1 in_low .req r0 ...
Assembly
f16_1k v[0:15], v[0:1], a[2:3], -2.0 ; encoding: [0x00,0x00,0xe4,0xd3,0x00,0x05,0xd6,0x13] v_mfma_f32_16x16x4bf16_1k a[0:15], v[0:1], a[2:3], -2.0 cbsz:3 abid:2 blgp:7 // GFX90A: v_mfma_f32_16x16x4bf16_1k a[0:15], v[0:1], a[2:3], -2.0 cbsz:3 abid:2 blgp:7 ; encoding: [0x00,0x93,0xe4,0xd3,0x00,0x05,0xd6,0xf3] v_mfma_f...
Assembly
{ "Can't have two jump conditions (Block ${nbid.num})" } jumpCond = v } private fun jumpCmd(): TACCmd.Simple? = when (jumps.size) { 0 -> null 1 -> TACCmd.Simple.JumpCmd(jumps.single()) 2 -> { if (jumpCond == nu...
Kotlin
} } _render () { this.renderer && this.renderer.render(this.scene, this.camera) } _setLight () { const directionalLight = new DirectionalLight(0xffffff, 1.1) directionalLight.position.set(3, 10, 5) this.scene.add(directionalLight) const light = new Ambie...
Typescript
CHECK-NEXT: [[TMP2403:%.*]] = zext i1 [[TMP2402]] to i32 // CHECK-NEXT: store i32 [[TMP2403]], ptr [[UIR]], align 4 // CHECK-NEXT: [[TMP2404:%.*]] = load i32, ptr [[UIE]], align 4 // CHECK-NEXT: [[TMP2405:%.*]] = load i32, ptr [[UID]], align 4 // CHECK-NEXT: [[TMP2406:%.*]] = cmpxchg ptr [[UIX]], i32 [[...
C++
ervers[0], grpc.WithInsecure()) if err != nil { log.Fatalf("did not connect: %v", err) } c := pb.NewHelloClient(conn) //warmup for j := 0; j < 5; j++ { c.Say(context.Background(), args) } poolClients = append(poolClients, c) } //it contains warmup time but we can ignore it totalT := time.Now()...
Go
" -> { onVoiceCallStarted() } "on_voice_call_closed" -> { onVoiceCallClosed() } else -> { result.error("-1", "No such method", null) } } } } private fu...
Kotlin
x4',['../a00913.html#gae52e2b7077a9ff928a06ab5ce600b81e',1,'glm']]], ['f64quat_452',['f64quat',['../a00913.html#ga2b114a2f2af0fe1dfeb569c767822940',1,'glm']]], ['f64vec1_453',['f64vec1',['../a00913.html#gade502df1ce14f837fae7f60a03ddb9b0',1,'glm']]], ['f64vec2_454',['f64vec2',['../a00913.html#gadc4e1594f9555d9191...
JavaScript
ViewHolder; import fte.finalproject.obj.AllRankingObj; import fte.finalproject.obj.BookObj; import fte.finalproject.obj.CategoryObj; import fte.finalproject.obj.SingleRankingObj; import fte.finalproject.service.BookService; //具体分类和榜单的Fragment public class DetailCategoryFragment extends Fragment { private boolean i...
Java
#ifndef TGCALLS_VIDEO_CAMERA_CAPTURER_H #define TGCALLS_VIDEO_CAMERA_CAPTURER_H #include "api/scoped_refptr.h" #include "api/video/video_frame.h" #include "api/video/video_source_interface.h" #include "media/base/video_adapter.h" #include "modules/video_capture/video_capture.h" #include "VideoCaptureInterface.h" #in...
C
ch(func() { fakeAccess.IsAuthorizedReturns(false) }) It("returns 403", func() { Expect(response.StatusCode).To(Equal(http.StatusForbidden)) }) }) }) Context("when not authenticated", func() { BeforeEach(func() { fakeAccess.IsAuthenticatedReturns(false) }) It("returns 401 Una...
Go
4-3) - [4.4 更多推理部署](#4-4) - [5. FAQ](#5) <a name="1"></a> ## 1. 算法简介 论文信息: > [An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition](https://arxiv.org/abs/1507.05717) > Baoguang Shi, Xiang Bai, Cong Yao > IEEE, 2015 参考[DTRB](https://arxiv.org/...
Markdown
using StreamMaster.Application.ChannelGroups.Events; using StreamMaster.Application.SMStreams.Commands; namespace StreamMaster.Application.ChannelGroups.Commands; [SMAPI] [TsInterface(AutoI = false, IncludeNamespace = false, FlattenHierarchy = true, AutoExportMethods = false)] public record UpdateChannelGroupRequest...
C#
, U+527f, U+5281-5282, U+5284, U+528a, U+528c, U+528f, U+5292-5294, U+529d, U+52a6, U+52ac-52ad, U+52b1-52b5, U+52b9, U+52bb-52bc, U+52be-52c0, U+52c5, U+52cb, U+52cd, U+52d0-52d1, U+52d6-52d7) ); /* noto-sans-tc-[82]-400-normal */ @include font.face( $family: $tcFamily, $url: "~@fontsource/noto-sans-tc/files/...
CSS
;/**************************************************************************/ ;/* */ ;/* Copyright (c) Microsoft Corporation. All rights reserved. */ ;/* */ ;/* ...
Assembly
ие значения из поля useChannelLimit (string) к типу интерфейса IrouterSettings (boolean) const isTrueUseChannelLimit = value === 'true' || value === true; if (isTrueUseChannelLimit) { transformToType = true; break; } else { ...
Typescript
} } else if ( fta.textureUVs == TextureUVs.Rectangle ) { uvs = fta.textureRect; } if ( fta.texture == null ) uvs = null; } List<DRectangle> floors = new ArrayList(); List<MatMeshBuilder> materials = new ArrayList(); boolean isGroundFloor = wallTag != null && facadeRect != null...
Java
y choose; they can also define Module) if (!Module.expectedDataFileDownloads) { Module.expectedDataFileDownloads = 0; Module.finishedDataFileDownloads = 0; } Module.expectedDataFileDownloads++; (function() { var loadPackage = function(metadata) { var PACKAGE_PATH; if (typeof window === 'object') { ...
JavaScript
} // Render the Cylinder run { applyMatrix(objectPole.calcMatrix()) if (drawColoredCyl) { glUseProgram(vertexDiffuseColor.theProgram) glUniformMatrix4f(vertexDiffuseColor.modelToCameraMatrixUnif, top()) ...
Kotlin
mouseenter(ev: MouseEvent) { var cm = this.cm, target = ev.target as HTMLElement var className = target.className if (target == this.tooltipDiv || (target.compareDocumentPosition && (target.compareDocumentPosition(this.tooltipDiv) & 8) == 8)) { return } var mat: RegExpMatchArray if (tar...
Typescript
disable interrupts */ tst.l 0xA10008 /* check CTRL1 and CTRL2 setup */ bne.b 1f tst.w 0xA1000C /* check CTRL3 setup */ 1: bne.b skip_tmss /* if any controller control port is setup, skip TMSS handling */ | Check Hardware Version Numb...
Assembly
/* * Copyright (c) 2003, 2007-14 Matteo Frigo * Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology * * 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 of the ...
C
http://api.jqueryui.com/slider/#theming */ .ui-slider { position: relative; text-align: left; } .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; bord...
CSS
CHECK: mov 3, %o2 opaque_callee(Franta { a: 1.0, b: 2.0, c: 3.0, d: 4.0 }, 3); } struct Solution; impl Solution { pub fn product_except_self(nums: Vec<i32>) -> Vec<i32> { let mut answers = vec![1]; let length = nums.len(); for i in 1..length { answers.push(answers[i - 1...
Rust
longestpropertylength = 12 end end --Properties for i = 1, #propertylist do if tilequads[tile+tileliststart-1]:getproperty(propertylist[i]) then table.insert(propertytable, propertylist[i]) propertycount = propertycount + 10 if string.len(propertylist[i]) >= longe...
Lua
Reason: %[3]s\n" + "Error Code: %[1]d\n" + "Support Info: NG%08[2]x", }, } WWFCMsgKickedGeneric = WWFCErrorMessage{ ErrorCode: 22004, MessageRMC: map[byte]string{ LangEnglish: "" + "You have been kicked from\n" + "WiiLink WFC.\n" + "\n" + "Error Code: %[1]d", }, } WWFCMsgKickedM...
Go
The Certora Prover * Copyright (C) 2025 Certora Ltd. * * 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, version 3 of the License. * * This program is distributed ...
Kotlin
) > TOLERANCE) { message = contextForToast.getString( R.string.inconsistent_increment, Utilities.getBpmString(bpm), Utilities.getBpmString(bpmIncrement.value!!) ) } if (message != null) { Toast.makeText(contextForToast, message, Toast.L...
Kotlin
Some(E)); // ACAN1 -- ACIFC comparator PC[10].configure(Some(E)); // ACAP1 -- ACIFC comparator PC[11].configure(Some(B)); // RX2 (BLE) -- USART2_RX PC[12].configure(Some(B)); // TX2 (BLE) -- USART2_TX //PC[13].configure(None); //... ACC_INT1 -- GPIO ...
Rust
error: contains( 'Running `upgrade --major-versions` only in `.`. ' 'Run `dart pub upgrade --major-versions ' '--directory .${s}pkgs${s}a${s}example` separately.', ), ); await runPub( args: ['add', 'foo:^1.0.0', '--example'], environment: {'_PUB_TEST_SDK_VERSION'...
Dart
IseqRegions struct. .quad 2f .quad 3f .quad 4f .text # rdi: Destination pointer # rsi: Source pointer # rdx: Size iseqCopyWeak: mov %gs:THOR_GS_ISEQ_PTR, %r8 # Obtain the IseqContext. mov $1b, %rax mov %rax, (%r8) 2: # startIp. # Exit if transaction was interrupted. testb $2, 8(%r8) jnz 4f # Do the copy. ...
Assembly
/* _ _ __ ___ ___ | | __ _ | '_ ` _ \ / _ \| |/ _` | Modular Optimization framework for | | | | | | (_) | | (_| | Localization and mApping (MOLA) |_| |_| |_|\___/|_|\__,_| https://github.com/MOLAorg/mola A repertory of multi primitive-to-primitive (MP2P) ICP algorithms and map building tools. mp2p_i...
C
int? skip, /// Specifies which properties to sort the results by CollectionSortParameter? sort, /// Takes n results, for use in pagination int? take, bool? topLevelOnly, }) = _CollectionListOptions; factory CollectionListOptions.fromJson(Map<String, dynamic> json) => _$CollectionListOpt...
Dart