content
stringlengths
2
6.21k
label
stringclasses
16 values
} } /* * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the...
Java
rocessResults(string.Empty); Assert.IsFalse(users.Any()); } const string SingleUserResponse = @"{ ""id"":6253282, ""id_str"":""6253282"", ""name"":""Twitter API"", ""screen_name"":""twitterapi"", ""location"":""San Francisco, CA"", ""description"":""The Real Twitter API. ...
C#
}, 'RAxmWXLTCJRABsC1eDtgjGBshtyE2jvTFW': { 'private_key': 'UwmnPUTParxeMBEio5QZn5E9iP9Y2uwoHNNTo3uiaDpciGHPdbyV', 'is_funded_rick': true, 'is_funded_morty': true }, 'RX12UMcr5HMeuFHDqnAkWgJWDaFTJskm7p': { 'private_key': 'Usdyi2Agox9N9kXQmyJR5RLSa59r2nTQspo44pNDCzNjnt7kvCP4', 'is_funded_rick...
Dart
forms.* import org.openrndr.shape.* import kotlin.contracts.ExperimentalContracts import kotlin.contracts.InvocationKind import kotlin.contracts.contract import kotlin.jvm.JvmRecord /** * Used internally to define [ClipMode]s. */ enum class ClipOp { DISABLED, DIFFERENCE, REVERSE_DIFFERENCE, INTERSECT...
Kotlin
// "+-----------+------+-------------------------------+", // ]; batches } // RecordBatches with knowledge of influx metadata pub async fn create_batches_with_influxtype() -> Vec<Arc<RecordBatch>> { // Use the available TestChunk to create chunks and then convert them t...
Rust
/** Copyright (c) 2015-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. */ #ifndef __plist_Format_Format_h #define __plist_Format_Format_h #include <plist/Base.h> #include <plist/Object.h> ...
C
A": 44, // "D": 16, // "F": 6, // "E": 19 // } // }, // } // func NewGraphFromJSON(rd io.Reader, graphID string) (Graph, error) { js := make(map[string]map[string]map[string]float64) dec := json.NewDecoder(rd) for { if err := dec.Decode(&js); err == io.EOF { break...
Go
siteOperationState compositeOperation, NVGscissor* scissor, float fringe, const float* bounds, const NVGpath* paths, int npaths); void (*renderStroke)(void* uptr, NVGpaint* paint, NVGcompositeOperationState compositeOperation, NVGscissor* scissor, float fringe, float strokeWidth, const NVGpath* paths, int npaths); vo...
C
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include <sys/regdef.h> #include <sys...
Assembly
_s3: S3; private _bucket: string; private _cache: NodeCache; constructor(bucket: string, ttl: number) { this._s3 = new S3(); this._bucket = bucket; if (ttl) { this._cache = new NodeCache({ stdTTL: ttl }); } } public load(fileName: string, callback: (err: Error, template: ITemplate) =...
Typescript
3%89%E5%88%A5%E9%A4%A8_-%E9%9B%B6%E4%B9%9D-%E5%B0%81%E9%9D%A2.gif/40px-%E9%AD%82%E9%9F%B3%E6%B3%89%E5%88%A5%E9%A4%A8_-%E9%9B%B6%E4%B9%9D-%E5%B0%81%E9%9D%A2.gif" decoding="async" loading="lazy" width="40" height="40" srcset="https://upload.thwiki.cc/thumb/2/22/%E9%AD%82%E9%9F%B3%E6%B3%89%E5%88%A5%E9%A4%A8_-%E9%9B%B6%E4%...
Markdown
or.inject(r.getText()); } /** * Inject public resource css file as a file. * @param filename inject file name */ public static void injectResourceCssAsFile(String filename) { LinkElement link = Document.get().createLinkElement(); link.setType("text/css"); link.setRel(...
Java
ffset, blen: blen, dreg: dreg}, nil } // evaluate for PayloadLoad loads data from the packet payload into the // destination register. func (op payloadLoad) evaluate(regs *registerSet, pkt *stack.PacketBuffer, rule *Rule) { // Gets the packet payload. payload := getPayloadBuffer(pkt, op.base) // Breaks if could no...
Go
String? unit, ]) async { try { // 检查食品是否已存在于餐次中 final existingRecord = await _mealFoodRecordDao.checkFoodExistsInMeal( mealRecordId, foodItemId, ); if (existingRecord != null) { // 如果已存在,更新数量 await _mealFoodRecordDao.updateFoodQuantity( exist...
Dart
PackageType.MAC_DMG; import static jdk.jpackage.test.PackageType.WINDOWS; import jdk.jpackage.test.RunnablePackageTest; import jdk.jpackage.test.TKit; /** * Launcher as service packaging test. Output of the test should be * servicetest*.* and updateservicetest*.* package bundles. */ /* * @test * @summary Launche...
Java
virtual const char * SendAlarmQuery(const char *pstrDeviceID, const char *pstrChannelID, int nStartAlarmPriority, int nEndAlarmPriority, int nAlarmMethod, const char* pstrSTime,const char* pstrETime,const char* pstrAlarmType);//A.17 protected: virtual int OnUASGB28181Data(lpMsgParam_t pMsgParam); int OnInviteR...
C
ductionProgressArea:SetHide(true); end else projectListing.ProductionProgressArea:SetHide(true); end local numberOfTurns = item.TurnsLeft; if numberOfTurns == -1 then numberOfTurns = "999+"; end; local nameStr = Locale.Lookup("{1_Name}", item.Name); loca...
Lua
.executeQuery(); log.info("sql语句被执行: {}", sql); //5.判断是否查询到数据 while (resultSet.next()) { User user = new User(); user.setId(resultSet.getInt("id")); user.setName(resultSet.getString("name")); user.setUsername(resultSet.getString("username")); ...
Java
dc.w 162,64+v2 dc.w 182,64+v2 dc.w 193,128-15+v2 dc.w 144,8+v2 dc.w 136,8+v2 dc.w 144,128+v
Assembly
i) = dt; } _update_mat = Eigen::MatrixXf::Identity(4, 8); this->_std_weight_position = 1. / 20; this->_std_weight_velocity = 1. / 160; } ByteKalmanFilter::KAL_DATA ByteKalmanFilter::initiate(const DETECTBOX &measurement) { byte_kalman::ByteKalmanFilter::DETECTBOX mean_pos = measurement; byte_kalman::B...
C++
/****************************************************************************** Copyright (C), 2001-2011, Hisilicon Tech. Co., Ltd. ****************************************************************************** File Name : HA.AUDIO.COOK.decode.h Version : Initial Draft Author : Hisilicon multimedi...
C
keys) distBm[k] = double.infinity; distBm[source] = 0.0; final instrBm = Instrument(); int l; if (n <= 2) l = 1; else { final ln = log(max(3, n)); final tGuess = max(1, (ln.pow(2.0 / 3.0)).round()); l = max(1, max(1, (ln / tGuess).round())); } print('BMSSP params: top-level l=$l'); final t...
Dart
// // ClassDump By HuangBai Private // Copyright (C) 1997-2019 Steve Nygard. Updated HuangBai-2024 // @class MMUIButton, MagicSclFrameSetView, UIView; @interface MagicGameLoadingDemoVC { _Bool _isResumed; MMUIButton *_preloadButton; MMUIButton *_stopButton; MMUIButton *_startButton; MMUIButton *...
C
rn where != -1; } extern bool stringListExtensionMatched ( const stringList* const current, const char* const extension) { #ifdef CASE_INSENSITIVE_FILENAMES return stringListHasInsensitive (current, extension); #else return stringListHas (current, extension); #endif } extern vString* stringListExtensionFinds ( ...
C
should only be used if this set is empty! */ fun addAllWithoutCheck(elements: IdentitySet<T>) { // We rely on the input set and add everything without checking if an element is already // present. for (element in elements) { map[element] = counter.addAndGet(1) } ...
Kotlin
0} } func (m *QaQuestion_AnswerChoice) GetValue() isQaQuestion_AnswerChoice_Value { if m != nil { return m.Value } return nil } func (x *QaQuestion_AnswerChoice) GetStrValue() string { if x, ok := x.GetValue().(*QaQuestion_AnswerChoice_StrValue); ok { return x.StrValue } return "" } func (x *QaQuestion_An...
Go
saludo ='bienvenido' resp = type(saludo) print(resp) saludo ="Alumno" print(type(saludo)) valor = -5 print(type(valor)) valor = 12.5 print(type(valor))
Python
-- Start with the english keyboard layout local vi_keyboard = dofile("frontend/ui/data/keyboardlayouts/en_keyboard.lua") local IME = require("ui/data/keyboardlayouts/generic_ime") local util = require("util") -- see https://www.hieuthi.com/blog/2017/03/21/all-vietnamese-syllables.html local code_map = dofile("fronten...
Lua
, `let`으로 선언한 변수를 블록 내에서 재할당할 수 있다. `let`으로 선언한 변수는 엄밀한 의미에서 호이스팅 되지만, `var`로 선언한 변수와 달리 변수의 정의문이 평가되기 전 해당 변수를 참조할 경우 `ReferenceError`가 발생한다. 이 때 변수 접근이 에러를 발생시키는, 정의문이 평가되기 전까지의 구간을 [Temporal Dead Zone](http://jsrocks.org/2015/01/temporal-dead-zone-tdz-demystified)이라 한다. {% hint style="info" %} 이 부분에 존재했던 오류에 [정성스러...
Markdown
: peerConnectionId)) .toList(); } @override Future<List<StatsReport>> getStats() async { try { final response = await WebRTC.invokeMethod('getStats', <String, dynamic>{ 'peerConnectionId': _peerConnectionId, 'trackId': track.id }); var stats = <StatsReport>[]; ...
Dart
JDBC: Close JDBC connection when exit program prevents access. //@AB2 20200116 JDBC: Do not truncate SIGNAL MESSAGE_TEXT //@AB3 20200217 JDBC: If possible, use job CCSID for default library attribute //@AB4 20200219 ProgramCall timeout for SecureAS400 //@AB5 20200224 Not remove authorized user *PUBLIC ...
Java
if (ret) { dev_err(&pdev->dev, "failed to enable host clk\n"); goto err; } if (iproc_host->data->pdata->quirks & SDHCI_QUIRK_MISSING_CAPS) { host->caps = iproc_host->data->caps; host->caps1 = iproc_host->data->caps1; } ret = sdhci_add_host(host); if (ret) goto err_clk; return 0; err_clk: clk_disa...
C
,Fofa高级会员、商业会员、CTFshow等各种账号会员共享。详情直接点击下方链接进入了解,觉得价格高的师傅可后台回复" 星球 "有优惠券名额有限先到先得!后续资源会更丰富在加入还是低价!(价格随资源人数进行上涨早加入早享受)👉点击了解加入-->>内部VIP知识星球福利介绍V1.3版本-1day/0day漏洞及内部资源每日更新 结尾 # 免责声明 # 获取方法 **公众号回复20250122获取下载地址** # 最后必看      文章中的案例或工具仅面向合法授权的企业安全建设行为,如您需要测试内容的可用性,请自行搭建靶机环境,勿用于非法行为...
Markdown
= ref.watch(wordListProvider); var crossword = model.Crossword.crossword( width: size.width, height: size.height, ); yield* wordListAsync.when( data: (wordList) async* { while (crossword.characters.length < size.width * size.height * 0.8) { final word = wordList.randomElement(); ...
Dart
gion } public toSchema(): asn1js.RawData { return new asn1js.RawData({ data: pvutils.utilConcatBuf( (new Uint8Array([0x04])).buffer, this.x, this.y ) }); } public toJSON(): ECPublicKeyJson { const namedCurve = ECNamedCurves.find(this.namedCurve); return { ...
Typescript
// Finally, insert recommendation scores insertTestRecomScores(b, db, ctx) b.Logf("Test data insertion complete, total time: %v", time.Since(start)) } // insertTestUsers inserts test user data func insertTestUsers(b *testing.B, db *database.DB, ctx context.Context) { start := time.Now() var userBatch []*databa...
Go
import numpy as np from scipy.stats import ttest_ind class NanotechTesting: def __init__(self, experiment_design): self.experiment_design = experiment_design def conduct_experiment(self, nanoparticle_design): # Conduct experiment using nanoparticle design import experiment_setup ...
Python
* Clear bit add.l #$08,A2 * Point to next affected byte jmp after_set clr_bit: bclr #0,(A2) * Set the bit add.l #$08,A2 * Point to next affected byte after_set: add.l #$08,A1 * Point to next word in plane dbf D2,horiz_loop2 * Repeat for whole line add.l #160,A3 * Add line pointer dbf D1,horiz_loop...
Assembly
), BOWL(281), MUSHROOM_SOUP(282, 1), GOLD_SWORD(283, 1, 32), GOLD_SPADE(284, 1, 32), GOLD_PICKAXE(285, 1, 32), GOLD_AXE(286, 1, 32), STRING(287), FEATHER(288), SULPHUR(289), WOOD_HOE(290, 1, 59), STONE_HOE(291, 1, 131), IRON_HOE(292, 1, 250), DIAMOND_HOE(293, 1, 1561)...
Java
enAuxiliaryEffectSlots(); final int reverbEffect = EFX10.alGenEffects(); EFX10.alEffecti(reverbEffect, EFX10.AL_EFFECT_TYPE, EFX10.AL_EFFECT_REVERB); EFX10.alEffectf(reverbEffect, EFX10.AL_REVERB_DECAY_TIME, 5.0f); EFX10.alAuxiliaryEffectSloti(effectSlot, EFX10.AL_EFFECTSLOT_EFFECT, reve...
Java
och Donnerstag Freitag Samstag".split(" "),STANDALONEWEEKDAYS:"Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag".split(" "),SHORTWEEKDAYS:"So. Mo. Di. Mi. Do. Fr. Sa.".split(" "),STANDALONESHORTWEEKDAYS:"So Mo Di Mi Do Fr Sa".split(" "),NARROWWEEKDAYS:"SMDMDFS".split(""),STANDALONENARROWWEEKDAYS:"SMDMDFS".sp...
JavaScript
Ok(Term::Num(2.)), ); assert_eq!( eval_string("hasField \"foo\" ( { foo = 2; bar = 3; }-$(\"foo\"))"), Ok(Term::Bool(false)) ); assert_eq!( eval_string("hasField \"foo\" ( { bar = 3; }$[\"foo\" = 1])"), Ok(Term::Bool(true)) ...
Rust
# 配置文件 # 请将你的API密钥填入下方或创建config_local.py文件 GEMINI_API_KEY = "" # DeepSeek API配置 DEEPSEEK_API_KEY = "" # 请填入您的DeepSeek API密钥 DEEPSEEK_BASE_URL = "https://api.deepseek.com" # DeepSeek API基础URL # 模型选择配置 DEFAULT_MODEL_PROVIDER = "deepseek" # 可选: "gemini", "deepseek" DEEPSEEK_MODEL = "deepseek-chat" # DeepSeek模型名称 #...
Python
System = calendarList[calendarSeries.get('calendarIndex') || 0]; } }); return calendarList; }; function doConvert$2(methodName, ecModel, finder, value) { var calendarModel = finder.calendarModel; var seriesModel = finder.seriesModel; var coordSys = calendarModel ? calendarModel.coo...
JavaScript
}], [`(a) (b)`, 6, { source: null, startLine: 0, endLine: 0 }], [`(a\n(b))`, 0, { source: `(`, startLine: 0, endLine: 0 }], [`(a\n(b))`, 1, { source: `(`, startLine: 0, endLine: 0 }], [`(a\n(b))`, 3, { source: `)`, startLine: 1, endLine: 1 }], [`(a\n(b))`, 4, { source: `())`, startLine: 1, endLine:...
Typescript
"success"] AMP sayfalarınızda kullanabileceğiniz duyarlı, önceden şekillendirilmiş gezinme menüleri için [AMP Start](https://ampstart.com/components#navigation) sayfasını ziyaret edin. [/tip] ## Taşan alanların içinde otomatik kaydırma <a name="auto-scrolling-within-overflowing-areas"></a> `amp-sidebar`, kenar çubuğu...
Markdown
} public static bool operator !=(FieldId x, FieldId y) { return x.Handle != y.Handle; } public bool Equals(FieldId other) { return this.Handle == other.Handle; } public override bool Equals(object obj) { if (!(ob...
C#
能。 具体来说,BenchmarkString函数会对以下字符串相关操作方法进行测试: - reflect.Value.String():将Value类型的值转换为字符串; - reflect.Type.String():将Type类型的值转换为字符串; - reflect.Zero():创建指定类型的零值。 在测试过程中,BenchmarkString函数会多次执行上述操作,并记录每次操作所需的时间。最终,BenchmarkString函数会统计所有执行时间的平均值,并输出测试结果。 该函数的作用是通过基准测试对字符串相关操作函数的性能进行评估,以便在实际开发中确定哪种操作方法可以获得更好的性能表现。同时,Benchmar...
Markdown
""" Test enth_sorp_whittaker module """ import numpy as np import pytest import pygaps.characterisation.enth_sorp_whittaker as we import pygaps.modelling as pgm import pygaps.parsing as pgp from .conftest import DATA_WHITTAKER loading = np.linspace(0.1, 20, 100) @pytest.mark.characterisation class TestWhittakerEn...
Python
#pragma once // License: MIT http://opensource.org/licenses/MIT // Author: dustpg mailto:dustpg@gmail.com #include <stdint.h> // StepFC::Famicom struct sfc_famicom; typedef struct sfc_famicom sfc_famicom_t; // 状态寄存器标记 enum sfc_status_index { SFC_INDEX_C = 0, SFC_INDEX_Z = 1, SFC_INDEX_I = 2, SFC_...
C
Time3 > 0) { result = "" + Math.round(theTime3) + "天" + result; } return result; } export function dateFormat(fmt: string, date: Date | number) { interface dateType { "Y+": string, "m+": string, "d+": string, "H+": string, "M+": string, "S+": string } let ret date = new Date(da...
Typescript
0, 0, 0 } } }, [69982] = { id = 69982, base = 69981, max_hp = 41, hp_growth = 1802, weapon_ID = { 51342 } }, [69983] = { id = 69983, base = 69981, max_hp = 47, hp_growth = 2010, weapon_ID = { 51343 } }, [69984] = { id = 69984, base = 69981, max_hp = 52, hp_gro...
Lua
CPP_METHOD_NAME(13), android::widget::TimePicker::J2CPP_METHOD_SIGNATURE(13), jint >(get_jobject()); } J2CPP_DEFINE_CLASS(android::widget::TimePicker,"android/widget/TimePicker") J2CPP_DEFINE_METHOD(android::widget::TimePicker,0,"<init>","(Landroid/content/Context;)V") J2CPP_DEFINE_METHOD(android::widget::TimeP...
C++
-- MP.get_booster_append(card) local b_append = MP.ante_based() .. s_append local _edition = poll_edition("standard_edition" .. b_append, 2, true) local _seal = SMODS.poll_seal({ mod = 10, key = "stdseal" .. b_append }) return { set = (pseudorandom(pseudoseed("stdset" .. b_append)) > 0.6) and "Enhanced" or...
Lua
using GUZ.Core.Domain.Audio; using GUZ.Core.Extensions; using GUZ.Core.Services.Caches; using GUZ.Core.Services.Config; using JetBrains.Annotations; using Reflex.Attributes; using UnityEngine; using ZenKit.Daedalus; namespace GUZ.Core.Manager { public class AudioService { [Inject] private readonly Conf...
C#
tTileVal(axis).first, tile_size); } } bool TraverseSolver::DoTiling(const TileInfo *info) { bool success = false; TileAxis *axis = info->axis; int64_t deviation = info->deviation; InitMemoryInferInfo(); if (cand_.SpaceVerify(axis, info->level, info->band)) { cur_iso_info_->val = info->min_tile; cu...
C++
>first != m_backgroundID) PauseSoundEffect(iter->first); } } void Audio::ResumeAllSoundEffects() { if (m_engineExperiencedCriticalError) { return; } EffectList::iterator iter; for (iter = m_soundEffects.begin(); iter != m_soundEffects.end(); iter++) { if (iter->first != m_ba...
C++
don't see how you could do it any other way, since you don't have access to * EffectRenderer. */ @Override public int getFXLayer(){ // This can only be 0-3 or it will cause an ArrayIndexOutOfBoundsException in EffectRenderer. return 3; } @Override public void renderParticle(BufferBuilder buffer, Entity vi...
Java
lsensors.devices.sensors.ble import android.bluetooth.BluetoothGatt import android.bluetooth.BluetoothGattCharacteristic import net.osmand.PlatformUtil import net.osmand.plus.R import net.osmand.plus.plugins.externalsensors.GattAttributes import net.osmand.plus.plugins.externalsensors.devices.ble.BLEOBDDevice import n...
Kotlin
FEW_kM7bYLASLNfsZ .X3jCMdkrQII3quzLACiY{padding-left:0;padding-right:0}.rXBzGoYc_uM83jRoODrM.h3EKGeHmRRkjbMqYfNUi.xWVFEW_kM7bYLASLNfsZ .aDtqDaYogch0DyrGTrX6{-webkit-flex:0 0 590px;-moz-box-flex:0;flex:0 0 590px;max-width:590px}@media (max-width:674px){.is-mobile-device .rXBzGoYc_uM83jRoODrM.h3EKGeHmRRkjbMqYfNUi.xWVFEW_...
CSS
ing `json:"sizeInGiB"` } // TO-Do: next iteration of Alibaba provider support NetWork Attached Storage(NAS) and Object Storage Service (OSS type PVs). // Currently defaulting to cloudDisk with provision to add work in future. func NewAlibabaPVAttributes(disk *SlimK8sDisk) *AlibabaPVAttributes { if disk == nil { ret...
Go
Pos]::Left(${View.Id})"; case PosType.Right: return $"[Terminal.Gui.Pos]::Right(${View.Id})"; } return string.Empty; } } public enum PosType { AnchorEnd, At, Bottom, Left, Right, Top } }
C#
esetsMgr->isDefaultCameraPreset(name); LLCameraPresetFlatItem* item = new LLCameraPresetFlatItem(name, is_default); item->postBuild(); mPresetList->addItem(item); if(name == active_preset) { mPresetList->selectItem(item); } } } void LLFloaterCameraPresets...
C++
then extend the buffer and retry. */ lwBuf = lResult; goto realloc_wBuf; } free(pwszName); /* We won't need this buffer anymore */ if (!lResult) { GlobalFree(pwBuf); RETURN_INT_COMMENT(0, ("GetFullPathNameW() failed\n")); } /* nRead = UnicodeToBytes(pwStr, len, buf, bufsize); */ n = WideC...
C
] could not find liboctnet_core') end local libnames = {sp..'../../th/cpu/build/liboctnet_torch_cpu.so', sp..'../../th/cpu/build/liboctnet_torch_cpu.dylib'} local ok = false for i = 1, #libnames do ok = pcall(function () oc.torch_cpu = ffi.load(libnames[i]) end) if ok then break; end end if not ok then error('...
Lua
abelShow",onRegionOver:"regionOver",onRegionOut:"regionOut",onRegionClick:"regionClick",onRegionSelected:"regionSelected",onMarkerLabelShow:"markerLabelShow",onMarkerOver:"markerOver",onMarkerOut:"markerOut",onMarkerClick:"markerClick",onMarkerSelected:"markerSelected",onViewportChange:"viewportChange"};$.fn.vectorMap(...
JavaScript
impl One for Bool { fn one() -> Self { Bool(1) } } impl From<cl_bool> for Bool { #[inline(always)] fn from(val: cl_bool) -> Bool { match val { 0 => Bool(0), 1 => Bool(1), v => _panic_invalid!(v), } } } impl From<Bool> for cl_bool { ...
Rust
RspJson(); rsp.content = event.getRegionInfo(); rsp.sign = "TW9yZSBsb3ZlIGZvciBVQSBQYXRjaCBwbGF5ZXJz"; ctx.json(rsp); return; } var regionInfo = Utils.base64Decode(event.getRegionIn...
Java
"MS", "name": "Mississippi" }, "MT": { "dimensions": "M361.1,70.77 l-5.3,57.13 -1.3,15.2 -59.1,-6.6 -49,-7.1 -1.4,11.2 -1.9,-1.7 -0.4,-2.5 -1.3,-1.9 -3.3,1.5 -0.7,2.5 -2.3,0.3 -3.8,-1.6 -4.1,0.1 -2.4,0.7 -3.2,-1.5 -3,0.2 -2.1,1.9 -0.9,-0.6 -0.7,-3.4 0.7,-3.2 -2.7,-3.2 -3.3,-2.5 -2.5,-12.6 -0.1,-5.3 ...
JavaScript
.EnsureBundles(bundles, OnAllStartupsLoaded); } private void OnAllStartupsLoaded() { // 在 zip 包中的文件可以异步加载 var testFile = UnityFS.ResourceManager.LoadAsset("Assets/Examples/Config/test.txt"); testFile.completed += self => { var ...
C#
zzadsave_c ( UDREPU, (void *)(udrepu) ); zzadsave_c ( UDBAIL, (void *)(udbail) ); /* If interrupt handling is enabled, and if the default bail-out routine gfbail_c is being used, set the SPICE interrupt handler. */ newHandler = SPICEFALSE; if ( bail ) { newHandler = ( (void...
C
f define&&define.amd?define(["jquery","datatables"],o):"object"===typeof exports?o(require("jquery"),require("datatables")):jQuery&&!jQuery.fn.dataTable.Responsive&& o(jQuery,jQuery.fn.dataTable)})(window,document); /* Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICEN...
JavaScript
// Copyright (C) 2021-2024 EpicChain Labs. // // UT_Storage.cs is a component of the EpicChain Labs project, founded by xmoohad. This file is // distributed as free software under the MIT License, allowing for wide usage and modification // with minimal restrictions. For comprehensive details regarding the license, pl...
C#
5f5,#cfd1cf);background-image:linear-gradient(top,#f5f5f5,#cfd1cf);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f5f5f5',endColorstr='#cfd1cf')}.cke_panel_listItem p,.cke_panel_listItem h1,.cke_panel_listItem h2,.cke_panel_listItem h3,.cke_panel_listItem h4,.cke_panel_listItem h5,.cke...
CSS
; j++) { partitems[j].PartID = iu; } } //Build Sector Tree int depth = 0; if ((Nav.ContentFlags & NavMeshFlags.Vehicle) == 0) depth = 2; //vehicle navmesh has a single level, static has 3.. Na...
C#
// Copyright 2020 The Crashpad Authors // // 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.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agre...
C
{ final address = _tronAddress; final transactions = await _client.fetchTrc20ExcludedTransactions(address); final Map<String, TronTransactionInfo> result = {}; for (var transactionModel in transactions) { if (transactionHistory.transactions.containsKey(transactionModel.hash)) { continue...
Dart
/* * This file is part of Hootenanny. * * Hootenanny 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 3 of the License, or * (at your option) any later version. * * This program is distri...
C
<td class="tt-zh" lang="zh"><div class="poem">事到如今 也已无法忆得<br></div></td></tr><tr class="tt-main-ja" id="=-4" data-pos="&#91;&quot;=&quot;,4&#93;"><td class="tt-time" lang="zh"><div class="poem">00:08.26</div></td><td class="tt-ja" lang="ja"><div class="poem">小さ過ぎる領域を賭けて</div></td><td class="tt-zh" lang="zh"><div class=...
Markdown
_key(fulfills, COMMITMENT_FULFILLEDBY_LINK_TYPE, COMMITMENT_FULFILLEDBY_LINK_TAG); }, _ => (), }; // :TODO: observation DNA handles this. Should queries be possible in planning DNA, too? // match &params.fulfilled_by { // Some(fulfilled_by) => { // entries_result = query_...
Rust
local utils = require("substitute.utils") local config = require("substitute.config") local exchange = {} local hl_namespace = vim.api.nvim_create_namespace("substitute.exchange") local prepare_exchange = function(vmode) local marks = utils.get_marks(0, vmode) local regtype = utils.get_register_type(vmode) vi...
Lua
2012 Apple", "osm": "&copy; <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a> contributors" }, map_providers: { "toner": { "url": "//{S}tile.stamen.com/toner/{Z}/{X}/{Y}.png", "minZoom": 0, "maxZoom": 20, "attribution": "stamen" }, "...
JavaScript
if (assemblyName.CultureInfo != null && !assemblyName.CultureInfo.Equals(CultureInfo.InvariantCulture)) { //Prepend the culture directory (e.g. ja\Microsoft.VisualStudio.Test.resources.dll) assemblyFileName = Path.Combine(assemblyName.CultureInfo.Name, assemblyFileN...
C#
into_iter().filter_map(|x| x).collect(), host_memory_types: host_memory_types.into_iter().filter_map(|x| x).collect(), } } pub fn exact_host_visible_index( &self, mask: u32, required: br::MemoryPropertyFlags, ) -> Option<&MemoryType> { self.host...
Rust
}; } const maybeStatic = [ 'tpl', 'mapping', 'progress', 'status', 'json', 'video', 'qrcode', 'plain', 'each', 'link' ]; function wrapStatic(item: any) { if (!item || !item.type) { return item; } return { ...item, type: `static-${item.type}` }; } addSchemaFilter(function (sch...
Typescript
.syntax unified .bundle_align_mode 4 # We use these macros to test each pattern at every offset from # bundle alignment, i.e. [0,16) by 2 or 4. .macro offset_insn insn_name, offset, size .p2align 4 \insn_name\()_offset_\offset\(): .rept \offset / \size bkpt .endr \insn_name .endm .macro test_offsets_arm insn_n...
Assembly
Suggestions + 1 }, 0) + " Members" }] ) } /** * * Single Value Select * */ var input = document.querySelector('input[name=tags-select-mode]'), tagify = new Tagify(input, { enforceWhitelist: true, mode : "select", whitelist: ["first option", "second opti...
JavaScript
ant":{"body":"<path fill=\"currentColor\" d=\"m11.62 1l5.66 5.67l-2.12 2.12l-2.12-2.12l-1.42 1.42l2.33 2.32l-1.16 1.17l.45.46a2.5 2.5 0 0 1 2.83.5l-3.53 3.53a2.5 2.5 0 0 1-.5-2.83l-.46-.45l-1.17 1.16l-2.32-2.33l-1.42 1.42l2.12 2.12l-2.12 2.12L1 11.62L3.14 9.5l2.12 2.12l1.41-1.41l-2.83-2.83c-.78-.78-.78-2.05 0-2.83l.71-...
JavaScript
se CHECK: if (state.wrap) { //=== NEEDBITS(32); while (bits < 32) { if (have === 0) { break inf_leave; } have--; // Use '|' insdead of '+' to make sure that result is signed hold |= input[next++] << bits; bits += 8; } //===// ...
JavaScript
bottom: 1px solid #00a1b3;} .vote .table-typeA input.on{color: #00a1b3; font-weight: 700 !important;} .vote .table-typeA label{padding: 0 18px 0 0; margin-top: 2px;} .stake-history .table-typeA.iscore thead th:nth-child(2), .stake-history .table-typeA.iscore tbody td:nth-child(2) {width: 210px;} .stake-history .tabl...
CSS
ong value) throws IOException { writeRawByte((int)(value ) & 0xFF); writeRawByte((int)(value >> 8) & 0xFF); writeRawByte((int)(value >> 16) & 0xFF); writeRawByte((int)(value >> 24) & 0xFF); writeRawByte((int)(value >> 32) & 0xFF); writeRawByte((int)(value >> 40) & 0xFF); writeRawByte((...
Java
oto.WidgetCoolDownDataOuterClass.internal_static_WidgetCoolDownData_fieldAccessorTable .ensureFieldAccessorsInitialized( emu.grasscutter.net.proto.WidgetCoolDownDataOuterClass.WidgetCoolDownData.class, emu.grasscutter.net.proto.WidgetCoolDownDataOuterClass.WidgetCoolDownData.Builder.class); ...
Java
#[derive(Debug, Copy)] pub struct u64x4(u64, u64, u64, u64); #[repr(simd)] #[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))] #[derive(Debug, Copy)] pub struct i64x4(i64, i64, i64, i64); #[repr(simd)] #[cfg_attr(feature = "with-serde", derive(Serialize, Deserialize))] #[derive(Debug, Copy)] pub struct ...
Rust
TracerConfigFlag = &cli.StringFlag{ Name: "trace.jsonconfig", Usage: "The configurations for the custom tracer specified by --trace.tracer. If provided, must be in JSON format", } TraceEnableMemoryFlag = &cli.BoolFlag{ Name: "trace.memory", Usage: "Enable full memory dump in traces", } TraceDisableStackFl...
Go
.getSplitPoint(0, coveringBox2); final double splitPoint12 = splitpointStrategy.getSplitPoint(1, coveringBox2); Assert.assertTrue(coveringBox1.isCoveringPointInDimension(splitPoint02, 0)); Assert.assertTrue(coveringBox1.isCoveringPointInDimension(splitPoint12, 1)); final Hyperrectangle coveringBox3 = new Hy...
Java
mystream, "application/csv", cd); } }); app.MapGet("/download", async (HttpResponse response) => { using (var mystream = new MemoryStream(Encoding.ASCII.GetBytes("hi"))) { await response.FromStream(mystream, "applic...
C#
, SBUF_DST_PAYLOADS_BINDING), }); // Reset Pass pCommandBuffer->CmdPipelineBarrier2( {}, { resource.pDispatchArgBuffer->GetMemoryBarrier2( // Prev-Access is READ {.stage_mask = VK_PIPELINE_STAGE_2_DRAW_INDIRECT_BIT, .access_mask = 0}, {.stage_mask = VK_P...
C++
y:flex;align-items:center;justify-content:center;padding:0;margin:0}.layout-r button.layout-show i[data-v-cbf72d2b]{color:var(--text-color);font-size:20px}@media screen and (max-width: 1000px){.layout-f[data-v-cbf72d2b]{max-width:160px}.layout-r[data-v-cbf72d2b]{max-width:calc(100% - 160px)}}@media screen and (max-widt...
CSS
} @override void dispose() { super.dispose(); exitRoom(); TRTCCloud.destroySharedInstance(); } void setLocalRenderParams() { _trtcCloud?.setLocalRenderParams(TRTCRenderParams( rotation: localRotation.value, fillMode: localFillMode.value, mirrorType: localMirrorType.value, ...
Dart
*/ class XSLGAMESUDO_S_SUDO { // cells = [XSLGAMESUDO_SUDOKU_LEVEL][XSLGAMESUDO_SUDOKU_LEVEL]; cells: Array<Array<number>>; //-----最大输出答案数量(1,为了防止pOutBuf数据溢出;2,为了计算适可而止;) MaxOutAnswersCount: number; // 输入输出 //-----输出缓存(null---无解输出) pOutBuf: Array<number>; //-----解最大数量(null---不...
Typescript