content
stringlengths
2
6.21k
label
stringclasses
16 values
f (capture) pjmedia_vid_port_destroy(capture); if (renderer) pjmedia_vid_port_destroy(renderer); /* Destroy stream */ if (stream) { pjmedia_transport *tp; tp = pjmedia_vid_stream_get_transport(stream); pjmedia_vid_stream_destroy(stream); pjmedia_transport_close(tp); } /* Deinit codecs */ ...
C
/* Slightly lighter color for readability */ } .alertContent { display: flex; align-items: center; } .alertImage { width: 100px; height: 100px; border-radius: 8px; margin-right: 20px; } .alertInfo { flex: 1; } @media (max-width: 1200px) { .alertCard { flex: 1 1 45%; /* Adjust width for medium scre...
CSS
epochTime = new Date(epochTime); const Period = epochTime.getHours() < 12 ? "AM" : "PM"; const Format = epochTime.getHours() % 12 > 0 ? epochTime.getHours() % 12 : 12; return Format.toString() + ":" + epochTime.toString().split(":")[1] + " " + Period; }; const getDateFormat = (epochTime) => { const monthNames ...
JavaScript
/* $OpenBSD: s_catanh.c,v 1.7 2016/09/12 19:47:02 guenther Exp $ */ /* * Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permissio...
C
import os #path = "C:\\Users\\cakow\\Desktop\\test.txt" path = "~/Desktop/py-code-bro" expanded_path = os.path.expanduser(path) print(expanded_path) if os.path.exists(expanded_path): print("yes") if os.path.isfile(expanded_path): print("that is a file") elif os.path.isdir(expanded_path): p...
Python
ноябрь_декабрь'.split('_'), 'accusative': 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split('_') }, nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ? 'accusative' : 'nominative'; return months[nounCase][m.mont...
JavaScript
narypromo.com @canarymason for the sass mixin */ /** * * Houndstooth background pattern * * @link http://lea.verou.me/css3patterns/#houndstooth * * @author Antoine Bernier http://abernier.name for the original pattern * @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin */ /** * * Po...
CSS
1 (One-pulse mode) .equ TIM8_CR1_URS, 1 << 2 @ bitWidth 1 (Update request source) .equ TIM8_CR1_UDIS, 1 << 1 @ bitWidth 1 (Update disable) .equ TIM8_CR1_CEN, 1 << 0 @ bitWidth 1 (Counter enable) .equ TIM8_CR2, TIM8_BASE + 0x4 @ (control register 2) .equ TIM8_CR2_OIS...
Assembly
A3 EB 78 */ mr r3, r29 /* 8007F2D0 0007AF30 7F C4 F3 78 */ mr r4, r30 /* 8007F2D4 0007AF34 38 A0 00 02 */ li r5, 2 /* 8007F2D8 0007AF38 98 FF 00 05 */ stb r7, 5(r31) /* 8007F2DC 0007AF3C 38 C0 FF FE */ li r6, -2 /* 8007F2E0 0007AF40 98 FF 00 06 */ stb r7, 6(r31) /* 8007F2E4 0007AF44 88 FE 00 05 */ lbz r7, 5(r30) ...
Assembly
efine UDF_NAME_LEN 255 #define UDF_EXT_SIZE 5 // ??? #define UDF_PATH_LEN 1023 #define UDF_VOL_LABEL_LEN 32 /* Reserved file names */ #define UDF_FN_NON_ALLOCATABLE L"Non-Allocatable Space" #define UDF_FN_NON_ALLOCATABLE_2 L"Non-Allocatable List" #define UDF_FN_NON_ALLOCATABLE_USER "Non-A...
C
!= nil { t.Fatal(err) } if id != generatedID { t.Errorf("Encoding `%v` should produce `%v`, but instead produced `%v`", numbers, id, generatedID) } decodedNumbers := s.Decode(id) if !reflect.DeepEqual(numbers, decodedNumbers) { t.Errorf("Decoding `%v` should produce `%v`, but instead produced `%v`", id, nu...
Go
.icon-logo-github:before { content: "\e7a6"; } .icon-logo-tux:before { content: "\e6f5"; } .icon-logo-playstation:before { content: "\e658"; } .icon-social-_logo-facebook:before { content: "\e67a"; } .icon-social-_logo-twitter:before { content: "\e680"; } .icon-logo-python:before { content: "\e8f3"; } ...
CSS
27: "จากกำไรล้วนๆ", fy28: "15% ของขอบบ้านของแพลตฟอร์มจะจ่ายให้คุณทันทีหลังจากที่ผู้อ้างอิงชนะการเดิมพัน", fy29: "สำหรับเกมในบ้าน", fy30: "จากโบนัสทั้งหมด", fy31: "1% ของขอบบ้านของแพลตฟอร์มจะจ่ายให้คุณทันทีหลังจากที่ผู้อ้างอิงชนะการเดิมพัน",...
JavaScript
------------- double vtkParametricCrossCap::EvaluateScalar(double*, double*, double*) { return 0; } //------------------------------------------------------------------------------ void vtkParametricCrossCap::PrintSelf(ostream& os, vtkIndent indent) { this->Superclass::PrintSelf(os, indent); } VTK_ABI_NAMESPACE_EN...
C++
TheoryCraft_Version = "1.06.5" TheoryCraft_DataVersion = "1.06" -- All types mentioned in this file refer to the following: -- Variable Name: Description: -- Frost The amount of +dam exclusive to this school (eg from frozen wrath items) -- Frostcritchance Bonus crit chance exclusive to this school (eg from critical ...
Lua
W(SIZE) ((((SIZE & 0x4) >> 1) | ((SIZE & 0x4) >> 2) | \ SIZE) & ~0x4) /* Max outstanding requests */ #define ADF_MAX_INFLIGHTS(RING_SIZE, MSG_SIZE) \ ((((1 << (RING_SIZE - 1)) << 3) >> ADF_SIZE_TO_POW(MSG_SIZE)) - 1) #define BUILD_RING_CONFIG(size) \ ((ADF_RING_NEAR_WATERMARK_0 << ADF_RING_CONFIG_NEAR_FULL_WM) \ ...
C
/* Macros to permit the "same" assembly language to build on ARM64 Linux systems as well as Apple Silicon systems. See the fuller documentation at: https://github.com/pkivolowitz/asm_book/blob/main/macros/README.md Perry Kivolowitz A Gentle Introduction to Assembly Language */ .macro GLD_PTR ...
Assembly
var5 = com[0]; switch(var5) { case "admin_cam": if (com.length != 12) { activeChar.sendMessage("Usage: //cam force angle1 angle2 time range duration relYaw relPitch isWide relAngle"); return false; } Quest.specialCam...
Java
Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRI...
JavaScript
{ Cell cell = r.getColumnLatestCell(CATALOG_FAMILY, REGIONINFO_QUALIFIER); if (cell != null) { RegionInfo info = RegionInfo.parseFromOrNull(cell.getValueArray(), cell.getValueOffset(), cell.getValueLength()); return info; } return null; }); } /** * Returns ...
Java
::std::mem::transmute(th_off) }; th_off as u64 }); __bindgen_bitfield_unit } } #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct tcphdr__bindgen_ty_1__bindgen_ty_2 { pub source: u16, pub dest: u16, pub seq: u32, pub ack_seq: u32, pub _bitfield_1: __BindgenBitfieldU...
Rust
teTime.Now.Subtract(lastLoginTime).TotalMinutes; player.PlayTime += (int)DateTime.Now.Subtract(lastLoginTime).TotalMinutes; var account = Services.Instance.PlayerDataBase.GetById<Account.Account>( player.AccountId, PlayerDataBase.Collections.Account )...
C#
<APP_cfg_get_debounce_cycles+0x8>) 8009006: f893 01ee ldrb.w r0, [r3, #494] ; 0x1ee 800900a: 4770 bx lr 800900c: 200006ac .word 0x200006ac 08009010 <APP_cfg_set_mouse_delta_ms>: void APP_cfg_set_mouse_delta_ms(time ms) { app.mouse_delta = ms; 8009010: 4b01 ldr r3, [pc, #4] ; (8009018 <APP_cfg_set_...
Assembly
break; default: console.log("ERROR: UNKNOWN ITEM IMAGE"); break; } this._itemSprite = new PIXI.Sprite(this._itemTexture); } } import {Component, Input, Output, EventEmitter} from '@angular/core'; import {NgClass} from '@angular/common'; @Component({ selector: 'place', template: ` <div ...
Typescript
{:?}'", stringify!($function), status); } } } } use std::mem::replace; const IDX_PART1: usize = 2020; const IDX_PART2: usize = 30_000_000; const SEED_LEN: usize = 6; #[inline] pub fn solve() -> (usize, usize) { let mut prev = 0; let mut last_seen = vec![0; IDX_PART2]; include_str!("input.txt") ...
Rust
"init_timestamp": "", "labels": { "katalyst.kubewharf.io/qos_level": "shared_cores" }, "annotations": { "katalyst.kubewharf.io/qos_level": "shared_cores" }, "qosLevel": "shared_cores", "request_quantity": 2 } }, "reclaim": { "": { "pod_uid": "reclaim", "owner_poo...
Go
9A, 0xCC, 0xA9, 0xD1, 0x3F, 0x95, 0x70, 0xF9, 0x85, 0x73, 0x1E, 0x94, 0x50, 0xD6, 0x8A, 0xB6, 0x52, 0x79, 0x14, 0x9C, 0x03, 0xE1, 0xE2, 0x9F, 0x87, 0x76, 0xE7, 0x2B, 0x89, 0x79, 0xE2, 0x55, 0x4A, 0x7B, 0x3F, 0x96, 0x16, 0x8E, 0xDE, 0x91, 0x95, 0xD9, 0xC4, 0xDB, 0x41, 0x3D, 0x93, 0x98, 0x82, 0xAD, 0xD6, 0xB6, 0xF1, 0x43...
Go
GetUser(User.Me, ct); _logger.LogInformation("Authenticated to server as '{Username}'", user.Username); return serverVersion; } /// <summary> /// Fetches the "/bin/coder-windows-{architecture}.exe" binary from the given base URL and writes it to the /// destination path after v...
C#
r4, #0x48 strb r0, [r4, #0x0] b branch_225f6da @ 0x225f6d4 .thumb branch_225f6d4: @ 225f6d4 :thumb add sp, #0xc mov r0, #0x1 pop {r4-r7,pc} @ 0x225f6da .thumb branch_225f6da: @ 225f6da :thumb mov r0, #0x0 add sp, #0xc pop {r4-r7,pc} @ 0x225f6e0 .word 0x57c @ 0x225f6e0 .thumb ...
Assembly
* 设置生产者组 * * @param producerGroup 生产者组名称 * @return 当前 RocketMQProvider 实例 */ public RocketMQProvider setProducerGroup(final String producerGroup) { this.producerGroup = producerGroup; return this; } /** * 设置消费者组 * * @param consumerGroup 消费者组名称 * @retu...
Java
= 1; isLaneOp = false; break; case ISD::STORE: NewOpc = ARMISD::VST1_UPD; NumVecs = 1; isLaneOp = false; isLoadOp = false; break; } } // Find the size of memory referenced by the load/store. EVT VecTy; if (isLoadOp) { VecTy = N->getValueType(0); } else i...
C++
rray copy_ga, NhlString resource_name, NhlBoolean null_ok, NhlString entry_name ) #else (ga,copy_ga,resource_name,null_ok,entry_name) NhlGenArray *ga; NhlGenArray copy_ga; NhlString resource_name; NhlBoolean null_ok; NhlString entry_name; #endif { char *e_text; NhlGenArray tga; /* * if...
C
e:(SOAPEngine*)soapEngine didFinishLoading:(NSString*)stringXML UNAVAILABLE_ATTRIBUTE; /// unavailable delegate, please use didFinishLoadingWithDictionary instead. - (void)soapEngine:(SOAPEngine*)soapEngine didFinishLoading:(NSString*)stringXML dictionary:(NSDictionary*)dict UNAVAILABLE_ATTRIBUTE; /// delegate called w...
C
#!/usr/bin/env python # -*- encoding: utf-8 -*- import pprint import pytest import torch import torch.nn as nn import colossalai.legacy.nn as col_nn from colossalai.legacy.context.parallel_mode import ParallelMode from colossalai.legacy.core import global_context as gpc from colossalai.legacy.initialize import launc...
Python
6]);const c=void 0!==s&&s,u=N.useRef(null);let d,p;n[7]===Symbol.for("react.memo_cache_sentinel")?(d=()=>u.current,n[7]=d):d=n[7],N.useImperativeHandle(t,d),n[8]!==a?(p=e=>{a&&(Kc.shouldIgnoreKeyboardEvent(e)||ul(a)(e)&&(e.preventDefault(),e.stopPropagation(),(null==u?void 0:u.current)&&!u.current.disabled&&u.current.c...
JavaScript
'124' : 'F13', '125' : 'F14', '126' : 'F15', '127' : 'F16', '128' : 'F17', '129' : 'F18', '130' : 'F19', '131' : 'F20', '132' : 'F21', '133' : 'F22', '134' : 'F23', '135' : 'F24', '224' : 'Command' }, keyboardShortcut : 'Keyboard shortc...
JavaScript
/* Simple DirectMedia Layer Copyright (C) 1997-2023 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this ...
C
CastTime = nil, Mana = nil, Name = "Fluch der Elemente", Length = 300, Type = 4}, [27] = {ID = nil, Rank = nil, CastTime = nil, Mana = nil, Name = "Fluch der Schatten", Length = 300, Type = 4}, [28] = {ID = nil, Rank = nil, CastTime = nil, Mana = nil, Name = "Lebensentzug", Length = 30, Type = 5}, [29] ...
Lua
.onSuccess { result -> _state.update { it.copy( ipAPIUi = result.toIpAPIUi(), isLoading = false ) } ...
Kotlin
self.var.frame:Hide() self.var.frame.name = "Metrognome Frame" end self.var.frame:SetScript("OnUpdate", self.OnUpdate) self.var.frame.owner = self compost = CompostLib and CompostLib:GetInstance("compost-1") -- nil return makes stub do object copy end -- Sets up a new OnUpdate handler -- name - A unique name,...
Lua
cholupdateLower(v, +1) ; if (!cholupdateLower(w, -1)) { //try to regularize L.setSubMatrix(Lcopy.getData(), 0, 0); } return true; } /** * Performs a rank‐one Cholesky update/downdate on L. * <p> * Updates L such that A' = A+σu uᵀ or A' = A−u u...
Java
modified LR in case the thread/ISR return address is provided add ip, ip, #(4 * 18) ldr ip, [ip] /* Load the IP register to hold optional return address */ mrs sp, spsr msr cpsr, sp /* Enter new processor mode */ # ------------ <USER/SYSTEM MODE BOUNDARY> ------------- # The IP re...
Assembly
its mismatch, wanted %d, got %d", #want, #split) end successes = successes + 1 end local function test_replace(str, regex, flags, replacement, want) local function fail(fmt, ...) print(str, regex, flags, want) print(string.format(fmt, ...)) fails = fails + 1 end tests = tests + 1 local r = jsregexp.compile...
Lua
* @param {string} key - Key of the asset you want to remove. */ removeBinary(String key) { this._binary.remove(key); } /** * Removes a bitmap data from the cache. * * @method Phaser.Cache#removeBitmapData * @param {string} key - Key of the asset you want to remove. */ removeBitmapDat...
Dart
0 89 86 8C 04 00 00 A1 20 CD 54 00 8B 80 D4 00 00 00"); if (ViewportResolutionInstructions14ScanResult) { spdlog::info("Viewport Resolution Instructions 14 Scan: Address is {:s}+{:x}", sExeName.c_str(), ViewportResolutionInstructions14ScanResult - (std::uint8_t*)exeModule); Memory::PatchBytes(ViewportReso...
C++
i[r-1]+" = "+i[r-1]+" - 1;\n if ("+i[r-2]+" < "+n[r-2]+" &&\n "+i[r-1]+" < "+n[r-1]+") {\n result.b = getValue("+i+");\n }\n setOutput(result);\n }\n "}var yi="return a + b;",xi="return a - b;",bi="return a * b;",wi="return (a < 0.) ? b * a : a;",Ci="\n vec4 aLessThanZe...
JavaScript
await SubAwake(self); self.OnAwake(); } private async ETTask SubAwake(ServerListLoginedCellComponent self) { } public override void OnCreate(UI ui) { ((ServerListLoginedCellComponent)ui.Component).OnCreate(); } publ...
C#
total_time = 0.75, levels = { low = { buff_to_add = "forcesword_wind_slash_weapon_special_trigger_low", damage_profile = DamageProfileTemplates.forcesword_force_slash_low, damage_type = damage_types.forcesword_force_slash_low, }, middle = { buff_to_add = "forcesword_wind_slash_weapon_special_...
Lua
* on the {@code seekable} argument value. Note: the two code paths are actually identical on JDK 6. */ private void testSeekAhead(final boolean seekable) throws IOException { initialize("testArgumentChecks", 48, 10); if (!seekable) { nonSeekableChannel(); } for...
Java
Tuple.of("20100101 235959123", DateTimeFormatter.ofPattern("yyyyMMdd HHmmssSSS"), null), "2010-01-01T23:59:59.123Z") .addCase( Tuple.of("20100101 235959123+0200", DateTimeFormatter.ofPattern("yyyyMMdd HHmmssSSSXX"), null), "201...
Java
Google Cloud Text-to-Speech API с поддержкой различных голосов - Поддержка двух движков синтеза речи: gTTS (бесплатно) и Google Cloud TTS (более качественный, требует аккаунта) - Возможность выбора голоса для озвучки меню - Кэширование аудиофайлов, созданных Google Cloud TTS API (экономия на повторных запросах) - Монит...
Markdown
t_strip("all") -- fomit the frame pointer add_cxflags("-fomit-frame-pointer") add_mxflags("-fomit-frame-pointer") -- for pc if is_arch("i386", "x86_64") then -- enable fastest optimization set_optimize("fastest") -- for embed else -- enable smallest optimization ...
Lua
ncoding: [0x7e,0x00,0xa9,0xd4,0x02,0x08,0x00,0x00] v_cmpx_nge_f64_e64 s[104:105], s[104:105] // GFX12: encoding: [0x7e,0x00,0xa9,0xd4,0x68,0xd0,0x00,0x00] v_cmpx_nge_f64_e64 vcc, ttmp[14:15] // GFX12: encoding: [0x7e,0x00,0xa9,0xd4,0x6a,0xf4,0x00,0x00] v_cmpx_nge_f64_e64 ttmp[14:15], 0xaf123456 // GFX12: encoding: [...
Assembly
663,60,0 .waypoint 1439,36.740,55.221,60,0 .waypoint 1439,35.655,55.872,60,0 .waypoint 1439,35.088,55.085,60,0 .use 209027 >> |cRXP_WARN_Use the|r |T237270:0|t[|cRXP_LOOT_Crab Treats|r] |cRXP_WARN_on a |cRXP_ENEMY_Young Reef Crawler|r to receive the|r |T134419:0|t[|cRXP_FRIENDLY_Rune of Beast Mastery|r]...
Lua
Format("RAX:%@ RBX:%@ RCX:%@ RDX:%@ RSI:%@ RDI:%@\r\n", lpEP->ContextRecord->Rax, lpEP->ContextRecord->Rbx, lpEP->ContextRecord->Rcx, lpEP->ContextRecord->Rdx, lpEP->ContextRecord->Rsi, lpEP->ContextRecord->Rdi); aDebugDump += StrFormat("R8:%@ R9:%@ R10:%@ R11:%@\r\nR12:%@ R13:%@ R14:%@ R15:%@\r\n", lpEP->ContextR...
C++
Limit(BlobStoreQuotaSupport.getLimit(configuration)); return newSoftQuota; } } /* * Sonatype Nexus (TM) Open Source Version * Copyright (c) 2008-present Sonatype, Inc. * All rights reserved. Includes the third-party code listed at http://links.sonatype.com/products/nexus/oss/attributions. * * This program an...
Java
, false, false, false, false }, { "", "", 8, { 8 }, 0, ROCmValueKind::HIDDEN_GLOBAL_OFFSET_Y, ROCmValueType::INT64, ROCmAddressSpace::NONE, ROCmAccessQual::DEFAULT, ROCmAccessQual::DEFAULT, fa...
C++
.store_command(control_word); } } } // Each instance of this represents one of the PIT counters. They are used to // implement one-shot and repeating timer alarms. An 8254 has three counters. struct PitCounter { // EventFd to write when asserting an interrupt. interrupt_evt: Option<EventFd>, /...
Rust
// Copyright (c) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) using System; using System.Drawing; using System.Windows.Forms; namespace VisualPascalABC { /// <summary> /// Description of Br...
C#
orig_time[i].into(), orig_signal[i].into(), orig_time[i + 1].into(), orig_signal[i + 1].into(), )); break; } } if item.into() > orig_time[orig_time.len() - 1].into() { ...
Rust
-Shirt",Price=1433},['0']={NameHash="SP_M_JBIB_0_0",label="Crew T-Shirt",Price=400},['3']={NameHash="SP_M_JBIB_0_3",label="Stank T-Shirt",Price=794},['2']={NameHash="SP_M_JBIB_0_2",label="Charcoal T-Shirt",Price=1743},['5']={NameHash="SP_M_JBIB_0_5",label="Pikeys T-Shirt",Price=240},['4']={NameHash="SP_M_JBIB_0_4",labe...
Lua
2.md]] (votes: 2) - **Job 15:25** → **Malachi 3:13** [[Malachi ch: 3.md]] (votes: 3) - **Job 15:25** → **Daniel 5:23** [[Daniel ch: 5.md]] (votes: 4) - **Job 15:25** → **Job 36:9** [[Job ch: 36.md]] (votes: 3) - **Job 15:25** → **Acts 12:23** [[Acts ch: 12.md]] (votes: 2) - **Job 15:25** → **Psalms 73:9** [[Psalms ch: ...
Markdown
ign/other neoplasms":"4.9","Anemia":"1.6","Diabetes mellitus":"25","Nutritional deficiencies":"1.5","Malnutrition":"1.4","Parkinson's disease":"5.7","Alzheimer's disease":"18","Major cardiovascular diseases":"339.7","Heart disease":"257.6","Rheumatic fever & rheumatic heart disease":"1.3","Hypertensive heart disease":"...
JavaScript
इज़ेशन - ✅ Foundry Local परिनियोजन कॉन्फ़िगरेशन - ✅ प्रदर्शन ट्यूनिंग और समस्या निवारण --- **अस्वीकरण**: यह दस्तावेज़ AI अनुवाद सेवा [Co-op Translator](https://github.com/Azure/co-op-translator) का उपयोग करके अनुवादित किया गया है। जबकि हम सटीकता सुनिश्चित करने का प्रयास करते हैं, कृपया ध्यान दें कि स्वचालित अनुवाद ...
Markdown
ma", [136347] = "Naxxramas", [136320] = "Ruinas de Ahn'Qiraj", }, ["deDE"] = { [136327] = "Obere Schwarzfelsspitze", [136321] = "Tempel von Ahn'Qiraj", [136329] = "P
Lua
me = 'twipsy-inner'; inner.innerText = this.getAttribute("data-original-title"); twipsy.append(inner); body.prepend(twipsy); var rect = getOffset(this); var top = rect.top - twipsy.clientHeight; var left = rect.left - (twipsy.clientWidth / 2) + (this.offsetWidth / 2); twipsy.style = 'display:block; top: ' + t...
JavaScript
em; line-height: 1; } .main-nav .link-icon>i { vertical-align: middle; } .main-nav .link-icon svg { width: 1em; height: 1em; } .main-nav.lqd-menu-items-block { display: block !important; margin: 0; justify-content: unset !important; } .main-nav.lqd-menu-items-block>li { align-items: unset !important; } .ma...
CSS
.timestamp) NOT NULL);\nEND"; ret = sqlite3_exec (sqlite, sql, NULL, NULL, &err_msg); if (ret != SQLITE_OK) { spatialite_e ("SQL error: %s\n", err_msg); sqlite3_free (err_msg); return 0; } /* creating any Index on ISO_metadata_reference */ sql = "CREATE INDEX idx_ISO_metadata_reference_...
C
=480 and h==800 then if multiColor({{ 156, 774, 0xffffff},{ 182, 774, 0xffffff}}) and multiColor({{65, 715, 0xc46212}}) ==false then moveTo( ... ) mSleep(50) end else setScreenScale(true, 480, 800) if multiColor({{ 156, 774, 0xffffff},{ 182, 774, 0xffffff}}) and multiColor({{65, 715, 0xc46212}}...
Lua
SelectorAll("button")[1], SUM_BTN = <HTMLButtonElement>document.getElementById("controls").querySelectorAll("button")[2], STATUS = <HTMLElement>document.getElementById("status"); let counter = 1, dice: Die[] = []; class Die { [x: string]: any; constructor() { ...
Typescript
;padding:5px 0;width:150px;text-align:center;border:1px solid #ddd;margin-right:10px;position:relative;cursor:pointer}.shopping-list .dis-modes .mode-tab-nav li .m-txt{position:relative;display:inline-block}.shopping-list .dis-modes .mode-tab-nav li .qmark-icon{visibility:hidden;width:13px;height:13px;overflow:hidden;b...
CSS
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using BuildXL.Cache.ContentStore.Hashing; using BuildXL.Cache.MemoizationStore.Interfaces.Sessions; #nullable enable namespace BuildXL.Cache.MemoizationStore.VstsInterfaces { /// <summary> /// Extension methods for ContentHashlists ...
C#
io/JAUAudience.h" #include "JSystem/JAudio/System/JASHeap.h" #include "JSystem/JUtility/JUTAssert.h" #include "Kaneshige/Course/CrsArea.h" #include "JSystem/JAudio/JASFakeMatch.h" #ifdef MATCHING // TODO template <> JASMemPool< JAUDopplerAudible<4> > JASPoolAllocObject< JAUDopplerAudible<4> >::memPool_; template <> ...
C++
w jnb Ljade_kem_kyber_kyber768_amd64_ref_dec$99 cmpq $256, %rcx jnb Ljade_kem_kyber_kyber768_amd64_ref_dec$99 movw %r8w, 408(%rsp,%rcx,2) incq %rcx Ljade_kem_kyber_kyber768_amd64_ref_dec$100: Ljade_kem_kyber_kyber768_amd64_ref_dec$99: cmpq $166, %rdx jb Ljade_kem_kyber_kyber768_amd64_ref_dec$98 Ljade_kem_kyb...
Assembly
-- overrides standard derma panels to add/change functionality local PANEL = {} local OVERRIDES = {} -- @todo remove me when autorefresh support is no longer needed local function OverridePanel(name, func) PANEL = vgui.GetControlTable(name) if (!istable(PANEL)) then return end OVERRIDES = {} func() for k, ...
Lua
Enumerate(strResource, strFilter, strDialect) ``` - A call to [**SWbemServices.Get**](/windows/desktop/WmiSdk/swbemservices-get). For [**Session.Get**](session-get.md), you must supply one or more specific key values, preceded by a question mark (?). The format of the URI for a specific instance is `h...
Markdown
sync(stream, lengthBytes); int nameLength = BitConverter.ToInt32(lengthBytes, 0); byte[] nameBytes = new byte[nameLength]; await ReadExactlyAsync(stream, nameBytes); param.Name = Encoding.UTF8.GetString(nameBytes); await ReadExactlyAsync(stream, int64Bytes); param.Expec...
C#
/* $Header:$ */ /* $Source:$ */ /*----------------------------------------------------------------------*/ /* source/pcoord.c */ /*----------------------------------------------------------------------*/ /* This program to print digitiser events as they are generat...
C
.td-big-grid-post:hover .entry-thumb { transform: scale3d(1.1, 1.1, 1); -webkit-transform: scale3d(1.1, 1.1, 1); -moz-transform: scale3d(1.1, 1.1, 1) rotate(0.02deg); } .td-grid-style-3.td-hover-1 .td-big-grid-post:hover .td-post-category { background-color: rgba(0, 0, 0, 0.5); } /* Style 4 */ .td-grid-style...
CSS
info) { // Check extension (quietly) std::string extension = fileinfo.suffix().toUtf8().data(); if (extension != "ply" && extension != "PLY") return false; QStringList list; list << tr("Binary"); list << tr("Ascii"); bool ok = false; QString choice = QInputDialog::getItem(NULL, tr("Save PLY fil...
C++
& message) { return CheckPayload(message, limits_.max_recv_size(), false); } namespace { // Used for GRPC_CLIENT_DIRECT_CHANNEL and GRPC_SERVER_CHANNEL. Adds the // filter only if message size limits or service config is specified. bool HasMessageSizeLimits(const ChannelArgs& channel_args) { MessageSizeParsedConfi...
C++
", "tauremycin":"牛蒿素", "Tauri":"Taurus 的所有格", "Taurids":"[天]金牛(座)流星群", "tauriform":"a. 公牛状的; 公牛头状的; 公牛角状的", "taurin":"a. 象公牛的, 金牛座的", "taurine":"a. 像公牛的, 金牛座的\\n[化] 2-氨基乙磺酸; 牛磺酸", "taurine-N,N-diacetic acid(TDA,H-3TDA)":"[化] 氨基乙磺酸-N,N-二乙酸", "tauriscite":"七水铁矾", "taurite":"霓流纹岩", "tauro":" [人名] 陶罗", "taurocarbamic acid"...
Typescript
pan,.fr-modal .fr-command.fr-btn.fr-dropdown svg,.fr-popup .fr-command.fr-btn.fr-dropdown i,.fr-popup .fr-command.fr-btn.fr-dropdown img,.fr-popup .fr-command.fr-btn.fr-dropdown span,.fr-popup .fr-command.fr-btn.fr-dropdown svg,.fr-toolbar .fr-command.fr-btn.fr-dropdown i,.fr-toolbar .fr-command.fr-btn.fr-dropdown img,...
CSS
rams = params)) assertEquals( "/rs/$expected", RestResolver.getRestUrl(AddressPagesRest::class.java, subPath, false, params = params) ) } } ///////////////////////////////////////////////////////////////////////////// // // Project ProjectForge Community Edition // www.projectforge.org // ...
Kotlin
sleep(config.backoffDelay.inWholeMilliseconds) state.copy(retries = state.retries + 1u) } else -> downloadFromPeer(peer, state) } checkMaxRetries(state.retries) } return state.downloadedBlocks } private fun checkMaxRetries(retries: UInt) { if ...
Kotlin
fff;}.ui-slider dt{ border-bottom : 1px dotted #ddd; color : #999;}.ui-slider dt span{ background-color : #fff;}.ui-slider li, .ui-slider dd{ color : #aaa;}/* Datepicker ----------- */body .ui-state-default, body .ui-widget-content .ui-state-default, body .ui-widget-header .ui-state-default{ background-color : #353639...
CSS
).findTopLevelClass("Rules") val psiElement = classFqn?.let { resolveTopLevelMember(QualifiedName.fromDottedString(it), resolveContext) } psiElement?.containingFile?.virtualFile?.let() { usedFiles.add(it)} globals[item] = psiElement } // Storage - is an instance of S...
Kotlin
b, bool bAscending ) const { int diff = 0; // Sort order: // If 'a' and 'b' are files, sort by stale reason text string. // If either 'a' or 'b' (XOR) is not a file, the one that is not // sorts first. // If both 'a' and 'b' are not files, the sort order is // Share (no date)...
C++
/////////////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2006-2024 Esper Team. All rights reserved. / // http://esper.codehaus.org / // -----------------------------------------------------...
C#
::proposal::Action; use ic_nns_governance::pb::v1::{ manage_neuron::{Command, NeuronIdOrSubaccount}, manage_neuron_response::Command as CommandResponse, proposal, AddOrRemoveNodeProvider, ExecuteNnsFunction, GovernanceError, ListNodeProvidersResponse, ManageNeuron, ManageNeuronResponse, NnsFunction, Nod...
Rust
__, __webpack_require__) => { "use strict"; eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ computeAutoPlacement)\n/* harmony export */ });\n/* harmony import */ var _getVariation_js__WEBPACK_...
JavaScript
-`Element` eines Elements zurück oder `null`, wenn keine Kind-Elemente vorhanden sind. `Element.lastElementChild` umfasst nur Elemente-Knoten. Um alle Kindknoten zu erhalten, einschließlich Nicht-Element-Knoten wie Text- und Kommentar-Knoten, verwenden Sie [`Node.lastChild`](/de/docs/Web/API/Node/lastChild). ## Wert ...
Markdown
rn indices_columns_chosen def decode(self, syndrome : np.array): # Usamos el primer BP para encontrar el error. start = timer() recovered_error = self._bpd.decode(syndrome) end = timer() #print(f"[Python] First stage bp: {end-start}") # Si converge de...
Python
Console("[ccCompass] Warning: Cannot compensate for outcrop-surface bias as point cloud has no normals. Structure normal estimates may be misleading or incorrect.", ccMainAppInterface::WRN_CONSOLE_MESSAGE); hasNormals = false; //don't bother checking again - if normals are computed they will exist for all points ...
C++
g slice without checking that the string contains /// valid UTF-16. /// /// See the safe version, [`from_slice_mut`][Self::from_slice_mut], for more information. /// /// # Safety /// /// This function is unsafe because it does not check that the slice passed to it is valid /// UTF-16. If...
Rust
ss_value); } if ((changed.yScale) && g_transform_value !== (g_transform_value = "translate(0, " + (ctx.yScale(ctx.tick) - ctx.padding.bottom) + ")")) { attr_dev(g, "transform", g_transform_value); } }, d: function destroy(detaching) { if (detaching) { detach_dev...
JavaScript
// tslint:disable-next-line:max-line-length .it("should throw ProviderException when provider does not return an array of Utxo objects or an empty array", async (providerReturn) => { walletProvider = new (jest.fn<IWalletProvider>(() => ({ getSpendableUtxos: jest.fn(() => Promise.resolve(providerReturn...
Typescript
(it *{{$contract.Type}}{{.Normalized.Name}}Iterator) Error() error { return it.fail } // Close terminates the iteration process, releasing any pending underlying // resources. func (it *{{$contract.Type}}{{.Normalized.Name}}Iterator) Close() error { it.sub.Unsubscribe() return nil } // {{$contrac...
Go
(imageInfo, bytesArr, rowBytes)); return reinterpret_cast<KNativePointer>(image.release()); } SKIKO_EXPORT KNativePointer org_jetbrains_skia_Image__1nMakeRasterData (KInt width, KInt height, KInt colorType, KInt alphaType, KNativePointer colorSpacePtr, KNativePointer dataPtr, KInt rowBytes) { SkColorSpace* ...
C++
; transition: background 500ms ease, border-color 500ms ease; } html.rtl .panel.thread_viewer .quick_reply .buttons .button.ccbcc, html.rtl .panel.thread_viewer .quick_reply .buttons .button.upload { float: left; } .panel.thread_viewer .quick_reply .buttons .button.ccbcc.dragOver, .panel.thread_viewer .quick_reply ...
CSS