content
stringlengths
2
6.21k
label
stringclasses
16 values
JsonObject) { val gson = Gson() // get other Chutney files compare json nodes ... val list = FileTypeIndex.getFiles(JsonFileType.INSTANCE, GlobalSearchScope.projectScope(o.project)) .filter { virtualFile -> ChutneyUtil.isChutneyJson(virtualFile) } .filter { virtualFile -...
Kotlin
28590"), Medium_Purple("9370DB"), Cornflower("93CCEA"), Algae_Green("93DFB8"), Copper_Rust("944747"), Arrowtown("948771"), Scarlett("950015"), Strikemaster("956387"), Mountain_Mist("959396"), Carmine("960018"), Brown("964B00"), Leather("967059"), Purple_Mountains_Majesty(...
Java
0C 00 0C */ lwz r8, 0xc(r12) /* 8052ABF0 00526130 80 EC 00 10 */ lwz r7, 0x10(r12) /* 8052ABF4 00526134 80 CC 00 14 */ lwz r6, 0x14(r12) /* 8052ABF8 00526138 80 AC 00 18 */ lwz r5, 0x18(r12) /* 8052ABFC 0052613C 80 8C 00 1C */ lwz r4, 0x1c(r12) /* 8052AC00 00526140 80 6C 00 20 */ lwz r3, 0x20(r12) /* 8052AC04 005...
Assembly
ng1redients // 7: "fused fuse" // Doesn't require materials // 9: "leave" return decision; case 1222: // Walk away from The Tunnel of L.O.V.E. if you've already had a trip if (responseText.contains("You've already gone through the Tunnel once today")) { ...
Java
2) val delegate = MockSolanaLiveEventsDelegate() var expected_id: String? delegate.onConected = { latch.countDown() expected_id = socket.signatureSubscribe("Nfq1kEFqe5dBbTnprNZZVfnzvYJAKpUoibhYFBbaBXp37L7bAip89Qbs6mtiybQprY2GucMTgkxWPx81dNWh2Mh") ...
Kotlin
); } } export class ScoreMessage extends GameMessage { constructor(public playerId: string, public score: number) { super(MessageId.SMSG_SCORE); } } export class MoveMessage extends GameMessage { constructor(public playerId: string, public type: MoveType) { ...
Typescript
}; } } // tslint:disable-next-line: max-classes-per-file /** @hidden */ class CoderAddress extends Coder { constructor(coerceFunc: CoerceFunc, localName: string) { super(coerceFunc, 'address', 'address', localName, false); } encode(value: string): Uint8Array { const result = new Uint8Array(32); try...
Typescript
storage into user space void svGetBitArrElemVecVal(svBitVecVal* d, const svOpenArrayHandle s, int indx1, ...) { const VerilatedDpiOpenVar* const varp = _vl_openhandle_varp(s); va_list ap; va_start(ap, indx1); switch (varp->udims()) { case 1: _vl_svGetBitArrElemVecVal(d, s, 1, indx1, 0, 0); break; ...
C++
argin(), DiktatError(7, 5, ruleId, "${MORE_THAN_ONE_STATEMENT_PER_LINE.warnText()} }; abstract fun signal(): ProtocolState", true) ) } @Test @Tag(WarningNames.MORE_THAN_ONE_STATEMENT_PER_LINE) fun `check if expression with two wrong semincolon`() { lintMethod( ""...
Kotlin
CStatsScanCharacterLogTime> _LastLogStats; bool _HairCuteDiscount ; float _NextDeathPenaltyFactor; CStatsScanDeathPenalties _DeathPenalties; CStatsScanPlayerRoom _PlayerRoom; CStatsScanEntityBase EntityBase; CStatsScanRespawnPoints RespawnPoints; CStatsScanFameContainer _Fames; CStatsScanCharaterEncyclopedia ...
C
�내에서 최대값이 리턴 되어야 한다.', () { final column = PlutoColumn( title: 'column', field: 'column', type: PlutoColumnType.number(format: '#,###.###'), ); final rows = [ PlutoRow(cells: {'column': PlutoCell(value: 10.001)}), PlutoRow(cells: {'column': PlutoCell(value: 10....
Dart
>'+ ' <key>NSAppleScriptEnabled</key>'+ ' <string>YES</string>'+ ' <key>NSHumanReadableCopyright</key>'+ ' <string>{{copyright}}</string>'+ ' <key>NSMainNibFile</key>'+ ' <string>MainMenu</string>'+ // ' <key>LSUIElement</key>\n' + // ' <string>' + ((data.Dockless==true) ? '...
JavaScript
Object>> { var data: Promise<Array<NoteObject>> = new Promise((resolve,reject) => {resolve(undefined)}); try { data = await sequelize.models.notes.findAll({where:{guildID:guildID}}) } catch (error) { return data + error; } return data; } ...
Typescript
dr1 := common.HexToAddress("0x" + fmt.Sprintf("%040x", len(recentAddr)-1)) testAddr2 := common.HexToAddress("0xe94b7b6c5a0e526a4d97f9768ad6097bde25c62a") flag1 := snapshot.InturnOf(snapshot.Number, testAddr1) equalSigner1 := reflect.DeepEqual(flag1, addressContains(recentAddr, testAddr1)) if !equalSigner1 { t.Er...
Go
*addr, const struct dpu_mdss_cfg *m) { struct dpu_hw_mixer *c; const struct dpu_lm_cfg *cfg; c = kzalloc(sizeof(*c), GFP_KERNEL); if (!c) return ERR_PTR(-ENOMEM); cfg = _lm_offset(idx, m, addr, &c->hw); if (IS_ERR_OR_NULL(cfg)) { kfree(c); return ERR_PTR(-EINVAL); } /* Assign ops */ c->idx = idx; c...
C
' || 'pages' || 'tags' || 'users') { if (url.host != account.host) { try { await ref .read(emojisNotifierProvider(url.host).notifier) .reloadEmojis(); if (!ref.context.mounted) return; await ref.context.push('/${url.host}${url.path}...
Dart
ello-icon-extinguisher:before { content: '\e94a'; } /* '' */ .fontello-icon-bullseye:before { content: '\e94b'; } /* '' */ .fontello-icon-wheelchair:before { content: '\e95f'; } /* '' */ .fontello-icon-adn:before { content: '\e95e'; } /* '' */ .fontello-icon-android:before { content: '\e95d'; } /* '' */ .fontello-...
CSS
return FALSE; } } return TRUE; } // Makes the specified MDI child active. inline void CTabbedMDI::SetActiveMDIChild(CWnd* pWnd) const { assert(pWnd); int page = GetTab().GetTabIndex(pWnd); if (page >= 0) GetTab().SelectPage(page); ...
C
List<object>(); registeredHandlers.Add(handler); handlers.Add(keyType, registeredHandlers); } } else { List<object> registeredHandlers = new List<object>(); registeredHandlers...
C#
}; } catch (_) {} // 音频参数 try { result['audioParams'] = <String, dynamic>{ 'channels': _player.state.audioParams.channels, 'sampleRate': _player.state.audioParams.sampleRate, 'format': _player.state.audioParams.format, }; } catch (_) {} // 轨道信息 try { ...
Dart
k1, k3}, {k2, k3, k1}, {k3, k1, k2}, {k3, k2, k1}, } roots := make([]*zkt.Hash, len(orders)) for i, order := range orders { mt := newTestingMerkle(t, 10) for _, key := range order { value := kvMap[key] err := mt.AddWord(key, value) assert.NoError(t, err) } var err error roots...
Go
Focus()) { button->clicked({}, Qt::LeftButton); } else { reenterInput->setFocus(); } }; QObject::connect(newInput, &Ui::MaskedInputField::submitted, submit); if (reenterInput) { using namespace Ui; QObject::connect(reenterInput, &MaskedInputField::submitted, submit); } setFocusCallback([=] { if (i...
C++
159] = "石板:闪电震击 III", [9160] = "石板:风怒武器 III", [9161] = "石板:石肤图腾 VI", [9162] = "石板:闪电之盾 VII", [9164] = "石板:风之优雅图腾 II", [9165] = "石板:火舌图腾 III", [9166] = "石板:法力之泉图腾 IV", [9167] = "石板:闪电链 IV", [9168] = "石板:治疗波 IX", [9169] = "石板:闪电箭 VIII", [9170] = "石板:抗火图腾 III", [9171] = "石板:熔岩图腾 IV", [9172] = "隐形药水", [9173] = "地精传送器", [91...
Lua
return new RistPoint(R1.add(R2))}},{key:"fromHex",value:function fromHex(hex){hex=(0,_abstract_utils_js__WEBPACK_IMPORTED_MODULE_6__.ensureBytes)("ristrettoHex",hex,32);var _ed$CURVE=_ed.CURVE,a=_ed$CURVE.a,d=_ed$CURVE.d;var P=_ed.CURVE.Fp.ORDER;var mod=_ed.CURVE.Fp.create;var emsg="RistrettoPoint.fromHex: the hex is n...
JavaScript
'", BOOLEAN, true); assertFunction("'bar' <> 'foo'", BOOLEAN, true); assertFunction("'bar' <> 'bar'", BOOLEAN, false); } @Test public void testLessThan() { assertFunction("'foo' < 'foo'", BOOLEAN, false); assertFunction("'foo' < 'bar'", BOOLEAN, false); assertFun...
Java
v-ttb & { border-bottom-width: 1px; padding-bottom: .1em; } html.nav-rtl & { border-right-width: 1px; padding-right: .1em; } // @____Bibi:Dress__('-') color: $Panel-Nav-A_Color; text-decoration: none; transition: linear .15s; &:hover { // @____Bibi:Dress__('-') border-color: $Panel-Nav-A_TextDecorati...
CSS
875rem;border-radius:50%}.custom-radio.b-custom-control-sm .custom-control-label:after,.input-group-sm .custom-radio .custom-control-label:after{top:.21875rem;left:-1.3125rem;width:.875rem;height:.875rem;background:no-repeat 50%/50% 50%}.b-rating{text-align:center}.b-rating.d-inline-flex{width:auto}.b-rating .b-rating-...
JavaScript
def c(o1, o2): u_cmp = -1 * cmp(o1.get('up', False), o2.get('up', False)) if u_cmp != 0: return u_cmp d_cmp = -1 * cmp(o1.get('is_dir', False), o2.get('is_dir', False)) if d_cmp == 0: return cmp(o1.get('path', '').lower(), o2.get('path', '').lower()) return d_cmp items.sort(cmp=c) self.table...
Python
Akan ditimpa saat mulai.', 'Error logging in, check your internet connections.': 'Kesalahan saat masuk, periksa koneksi internet Anda.', 'Logging in...': 'Masuk...', 'Download path': 'Path unduhan', 'Downloads naming': 'Penamaan unduhan', 'Downloaded tracks filename': 'Nama file yang diunduh...
Dart
ScoreLeaderboardData) uint32_t cached_has_bits = 0; // Prevent compiler warnings about cached_has_bits being unused (void) cached_has_bits; _impl_.accountentries_.Clear(); _impl_.matchentries_.Clear(); cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x00000001u) { _impl_.leaderboard_nam...
C++
使用后者),在Python3中,他被集成到了urllib.request中,而你的方案是要既能在2.x和3.x中正常工作: try: from urllib2 import urlopen except ImportError: from urllib.request import urlopen 出于对内存的保护,也许你对iterator(Python3)版本的zip()更加有兴趣,在Python2中,iterator版本是itertools.izip()。这个函数在Python3中被重命名替换成了zip()。如果你使用迭代版本,导入语句也非常直白: ...
Markdown
.4 EKF2_RNG_NOISE 0.05 56.7 EKF2_RNG_DELAY 4.5 30.0 ``` ### 重要提示 - 在重播过程中,将报告日志文件中的所有退出。 These have a negative effect on the replay, so care should be taken to avoid dropouts during recording. - It is currently only possible to replay in 'real-time': as fast as the recording was done. 这项工作计划今后延长。 - A messag...
Markdown
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; namespace System.IO.Compression { /// <summary> /// This class maintains a window for decompressed output. /// We need to keep this because the...
C#
); w2->addNode(3); w2->addNode(4); w2->addNode(5); WayPtr w3 = result->getWay(3); w3->addNode(5); w3->addNode(6); w3->addNode(7); WayPtr w4 = result->getWay(4); w4->addNode(8); w4->addNode(9); w4->addNode(10); WayPtr w5 = result->getWay(5); w5->addNode(11); w5-...
C++
} else { cmd[0] = argv[0]; } #else cmd[0] = argv[0]; #endif cmd[1] = "run"; cmd[2] = argv[1]; cmd[3] = 0; fprintf(stdout, "Output on stdout before test %d.\n", n); fprintf(stderr, "Output on stderr before test %d.\n", n); fflush(stdout); fflush(stderr); r = runC...
C
if (object.Equals(expected, actual) || Math.Abs(expected - actual) <= tolerance) throw NotEqualException.ForEqualValues( expected.ToString("G9", CultureInfo.CurrentCulture), actual.ToString("G9", CultureInfo.CurrentCulture), string.Format(CultureInfo.CurrentCulture, "Values are within tolerance ...
C#
y each endpoint until we successfully establish a connection. tcp::socket socket(io_context); asio::connect(socket, endpoints); // Form the request. We specify the "Connection: close" header so that the // server will close the socket after transmitting the response. This will // allow us to treat ...
C++
value) { addValues0(row, value); } @Override public final <T1, T2, T3, T4, T5, T6, T7, T8, T9> void addValues(Row9<T1, T2, T3, T4, T5, T6, T7, T8, T9> row, Row9<T1, T2, T3, T4, T5, T6, T7, T8, T9> value) { addValues0(row, value); } @Override public final <T1, T2, T3, T4, T5, T...
Java
]string{string(common.ClusterReady), string(common.ClusterOffline), string(common.ClusterConfigMalformed)})...) allErrs = append(allErrs, validateEnumStrings(path.Child("status"), string(cc.Status), []string{string(corev1.ConditionTrue), string(corev1.ConditionFalse), string(corev1.ConditionUnknown)})...) if cc.Last...
Go
OuQMcGn1GptNaL4W1dgBkMwOSw8jeBJszIKMwexFAN0A+wnQG0Lh4wv0EJIb5AO4fRX8MoDFAlZAyPJSztOSSfiYLAYeyxTcdURcIrqSUJ7iLA4UmAdQbgnqvhakqgEoQXQtTXwEtIuCa9n8pIV67VJf6AmhGmgAAAABJRU5ErkJggg%3D%3D') 50% no-repeat; } .metro .tile .brand .badge.paused, .metro .tile .tile-status .badge.paused { background: url('data:image/png;base64,i...
CSS
arrayOf(imagePath), null ) query?.use { while (it.moveToNext()) { val idColumn = it.getColumnIndexOrThrow(MediaStore.Images.Media._ID) val id = it.getLong(idColumn) val existsUri = ContentUris.withAppendedId(collection, id) Log.v(TAG, "query: path: $i...
Kotlin
one, Serialize, Deserialize)] pub struct LatLongValue { pub latitude: i64, pub longitude: i64, } pub trait MfgBatchStore { /// Adds a mfg_batch to the underlying storage /// /// # Arguments /// /// * `mfg_batch` - The mfg_batch to be added fn add_mfg_batch(&self, mfg_batch: MfgBatch) -...
Rust
his.attributes[ 'position' ]) return this.attributes[ 'position' ].needsUpdate; } , set: function(v) { if (this.attributes[ 'position' ]) this.attributes[ 'position' ].needsUpdate = v; } }, colorsNeedUpdate: { enumerable: true, get: function() { if (this.attributes[ 'color' ]) return this.attributes[ 'color' ...
JavaScript
val unimined: UniminedExtension = project.unimined override fun createForPostProcess(key: String, action: MemoryMappingTree.() -> Unit): MappingsProvider { return object : MappingsProvider(project, minecraft, key) { override suspend fun afterLoad(tree: MemoryMappingTree) { ...
Kotlin
< 0) { // find "current site" = highest site index in octree refsite = 0; for (int i=0; i<fst->get_num_children(); i++) { Patch *p = fst->get_patch(i); if (p->site > refsite) refsite = p->site; } } double rsvec[3] = { 0.0, 0.0, 0.0 }; if (refsite) { // get world-to-site vector for the requested ...
C
} for formula, expected := range formulaList { assert.NoError(t, f.SetCellFormula("Sheet1", "C1", formula)) result, err := f.CalcCellValue("Sheet1", "C1") assert.NoError(t, err, formula) assert.Equal(t, expected, result, formula) } calcError := map[string][]string{ "=GROWTH()": {...
Go
p_df["qfq_factor"] temp_df["close"] = temp_df["close"] / temp_df["qfq_factor"] temp_df["low"] = temp_df["low"] / temp_df["qfq_factor"] temp_df = temp_df.iloc[:, :-1] temp_df = temp_df[start_date:end_date] temp_df["open"] = round(temp_df["open"], 2) temp_df["high"] = round...
Python
es[0] } // define object const transformedProperties = {} // transform proeprties Object.keys(propertyGroupValues).forEach(function (key) { // if this is the final level if (Object.prototype.hasOwnProperty.call(propertyGroupValues[key], 'value')) { transformedProperties[key] = originalFormat(pro...
Typescript
"知识的力量不仅在于记忆具体的事实,更在于理解抽象的原理和模式。当你掌握了这些原理,你就能够推断出从未遇到过的情况。" 在一次学术研讨会上,李晓雯分享了她的经历。有人问她:"零样本学习的关键是什么?" 李晓雯思考了一下,回答道:"零样本学习的关键在于抽象思维和知识迁移。你需要从具体的经验中提取出一般性的原理,然后将这些原理应用到新的情况中。就像我虽然没见过雪豹,但我理解猫科动物的特征和高海拔环境的影响,所以能够推断出雪豹的特征。" 她停顿了一下,眼中闪烁着智慧的光芒:"更重要的是,零样本学习教会了我们,学习不仅仅是积累信息,更是培养理解和推理的能力。当你真正理解了事物的本质规律,你就能够应对从未遇到过的挑战。" 如今,李晓雯...
Markdown
print ('MLSA TOGO') counter = 0 while counter <= 100: counter +99
Python
ther.IsextendedEndpointListAvailable) && (ExtendedSimpleDescriptorListAvailable == other.ExtendedSimpleDescriptorListAvailable) && (FrequencyBands == other.FrequencyBands) && (IncomingTransferSize == other.IncomingTransferSize) && (LogicalN...
C#
return GetGridEntry(pos); } /// <summary> /// Gets a GridEntry for position, creating the entry if needed. /// </summary> internal GridEntry GetGridEntry(Vector2Int position) { GridEntry result; if (!_gridEntries.TryGetValue(position, out...
C#
d(SIMD_NEON) || defined(SIMD_WASM) if (stride == 4) dispatchSimd(decodeFilterOctSimd, static_cast<signed char*>(buffer), count, 4); else dispatchSimd(decodeFilterOctSimd, static_cast<short*>(buffer), count, 4); #else if (stride == 4) decodeFilterOct(static_cast<signed char*>(buffer), count); else decodeFilt...
C++
50641 } }, [82142] = { id = 82142, base = 82140, max_hp = 55, hp_growth = 2097, weapon_ID = { 50642 } }, [82143] = { id = 82143, base = 82140, max_hp = 61, hp_growth = 2339, weapon_ID = { 50643 } }, [82144] = { id = 82144, base = 82140, max_hp = 67, hp_growth = 2580, we...
Lua
fist"] = "Commandant Ashlam Vaillepoing", ["High Priestess MacDonnell"] = "Grande prêtresse MacDonnell", ["Cauldron Lord Bilemaw"] = "Seigneur du chaudron Bilegueule", ["Janice Felstone"] = "Janice Gangrepierre", ["Royal Historian Archesonus"] = "Historienne royale Archesonus", ["Kalaran Windblade"]...
Lua
// zhen.c 猴拳「震」字诀 #include <ansi.h> #include <combat.h> inherit F_SSERVER; int perform(object me, object target) { int damage; string msg; if (! target) target = offensive_target(me); if (! target || ! me->is_fighting(target)) return notify_fail("神功震敌只能对战斗中的对手使用。\n"); if (objectp(me->q...
C
/* Copyright 2020 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * Battery pack vendor provided charging profile */ #include "battery_fuel_gauge.h" #include "common.h" #include "util.h" /* * Battery info for all Elemi battery types....
C
mode = quote!(alloc_counter::AllocMode::CountAll); } NestedMeta::Meta(meta) if meta.path().is_ident("allow") => { mode = quote!(alloc_counter::AllocMode::Ignore); } NestedMeta::Meta(meta) => { panic!("Invalid meta argument for...
Rust
", [21566] = "完美貢獻符文", [21567] = "義務符文", [21568] = "義務符文", [21569] = "煙火發射器", [21570] = "煙花束發射器", [21571] = "藍色煙花束", [21572] = "Monster - Shield, Alliance PVP", [21573] = "Monster - Sword, 1H Alliance PvP", [21574] = "綠色煙花束", [21575] = "紫色煙花束", [21576] = "紅色煙花束", [21577] = "白色煙花束", [21578] = "黃色煙花束", [21579] = "克蘇恩的觸鬚"...
Lua
['live_status'] == 1: print(f"开播时间: {room_info['live_time']}") if room_info['description']: print(f"\n房间简介: {room_info['description']}") # 显示认证信息 if room_info['new_pendants']['badge']: ...
Python
import os import json from dotenv import load_dotenv from spider import HyperliquidSpider from data_processor import DataProcessor from notification import NotificationManager from storage import Storage # 加载环境变量 load_dotenv() def main(): print("=== 测试新增的异常检测功能 ===") # 初始化组件 spider = HyperliquidSpid...
Python
(rm, comment, UTF8Type.instance.decompose("レストラン"), 4000); rm.apply(); rm = new Mutation(KS_NAME, decoratedKey("key5")); update(rm, comment, UTF8Type.instance.decompose("ベンジャミン ウエスト"), 5000); rm.apply(); if (forceFlush) store.forceBlockingFlush(); Set<Strin...
Java
' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}}@media (-ms-high...
CSS
Source SA * mailto:info AT sonarsource DOT com * * This program is free software; you can redistribute it and/or * modify it under the terms of the Sonar Source-Available License Version 1, as published by SonarSource SA. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRA...
Kotlin
rflow-y: auto; } .jimu-widget-splash-desktop .splash-container .footer{ /* max-height: 100px; */ /* margin: 0 40px 10px 40px; */ position: absolute; overflow: hidden; bottom: 10px; width: 100%; } .jimu-widget-splash .footer .confirmcheck-container{ margin: 0 20px; } .jimu-widget-splash .footer .jimu-btn {...
CSS
y Implementation using Array (%#)", (...array) => { const lazyArr = LazyArray.clone(array) test("Compare Lazy Array", () => { expect(lazyArr.debug(2)).toEqual(lazyArr.debug(2)) expect(array).toEqual(lazyArr.collect()) }) const mappedArr = array.map((val, pos) => ({ element: val, cos: Math.cos((Math.PI / 1...
Typescript
<ReceivedIntentParameter>>>(value), ); } } String _$sharingIntentStreamHash() => r'486f994fc0e01a2cffdb19d93f0a332f96a9850c'; /* * Copyright (c) 2024-2025 Fabian Freund. * * This file is part of WebLibre * (see https://weblibre.eu). * * This program is free software: you can redistribute it and/or modi...
Dart
on_function_name}") activation_function = activation_functions[activation_function_name] # Compute the dot product between X and omega X_omega = torch.mm(X, omega.t()) # Apply the specified activation function activation_function = activation_functions[activation_function_name] Phi = activati...
Python
m8 vpsrld ymm8, ymm4, 7 vpslld ymm4, ymm4, 25 vpor ymm4, ymm4, ymm8 vpaddd ymm0, ymm0, ymmword ptr [rsp+0x180] vpaddd ymm1, ymm1, ymmword ptr [rsp+0x120] vpaddd ymm2, ymm2, ymmword ptr [rsp+0x1E0] vpaddd ymm3, ymm3, ymmword ptr [rsp+0x1C0] vpaddd ...
Assembly
-- 好感度提升主界面 function Awake() -- 立绘 cardImgLua = RoleTool.AddRole(iconParent) UIUtil:AddTop2("FavourView", gameObject, function() view:Close() end, nil, {}) eventMgr = ViewEvent.New() eventMgr:AddListener(EventType.Favour_CM_Success, SetLV) end function OnDestroy() eventMgr:Cle...
Lua
v5h5m8.11 5L15 16.89V17H9v-1H5v3h12.11Z"/>'},"briefcase-variant-outline":{body:'<path fill="currentColor" d="M20 7h-4V5l-2-2h-4L8 5v2H4c-1.1 0-2 .9-2 2v5c0 .75.4 1.38 1 1.73V19c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2v-3.28c.59-.35 1-.99 1-1.72V9c0-1.1-.9-2-2-2M10 5h4v2h-4V5M4 9h16v5h-5v-3H9v3H4V9m9 6h-2v-2h2v2m6 4H5v-3h4v1...
JavaScript
ntalLine(0, 2, 5, null, LineWidth.Double); buffer.DrawHorizontalLine(0, 4, 5, null, LineWidth.Double); buffer.DrawVerticalLine(0, 0, 5, null, LineWidth.Double); buffer.DrawVerticalLine(2, 0, 5, null, LineWidth.Double); buffer.DrawVerticalLine(4, 0, 5, null, LineWidth.Doub...
C#
0xff); final g = _addSubtractComponentHalf((avg >> 8) & 0xff, (c2 >> 8) & 0xff); final b = _addSubtractComponentHalf((avg >> 0) & 0xff, (c2 >> 0) & 0xff); return (a << 24) | (r << 16) | (g << 8) | b; } static int _sub3(int a, int b, int c) { final pb = b - c; final pa = a - c; return pb.abs...
Dart
body[theme-mode="light"] .user-content, body[theme-mode="light"] .message-content, body[theme-mode="light"] .chat-message-user { color: #2b2926 !important; } /* Light mode assistant content styling */ body[theme-mode="light"] .assistant-content, body[theme-mode="light"] .chat-message-assistant { color: #2b2926 !im...
CSS
2 // B next: 3 }, 1000); // 这里注意 replaySubject 是没有初使值的 // AsyncSubjct 是取怪的一个变形,它有点像operator last, 会在subject 结束时送出最后一个值 const asyncSubjct = new AsyncSubject(); asyncSubjct.subscribe(observerA); asyncSubjct.next(1); asyncSubjct.next(2); asyncSubjct.next(3); asyncSubjct.complete(); // A next: 3 // A complete setTime...
Typescript
135.80032348632812, 104.01837158203125, 19.04612159729004, }, { 167.5800018310547, 134.66249084472656, 19.002967834472656, }, { 197.87535095214844, 161.18788146972656, 19.050395965576172, }, { 198.8352813720703, 161.7868194580078, 19.02949333190918, }, ...
Lua
usage_per_app__v1", new { period }, default); } public async Task<IEnumerable<UserQuota>> GetUserQuotaForApps(string[] appIds) { return await _db.Connection.QueryAsync<UserQuota>( @"SELECT u.id AS id, u.email AS email, u.name AS name, ...
C#
R1, [R0] LDR SP, [R1] /* Is there a floating point context to restore? If the restored * ulPortTaskHasFPUContext is zero then no. */ LDR R0, =ulPortTaskHasFPUContext POP {R1} STR R1, [R0] CMP R1, #0 /* Restore the floating point context, if any. */ POPNE {...
Assembly
/* * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
8024F554 0024B1B4 C8 01 00 38 */ lfd f0, 0x38(r1) /* 8024F558 0024B1B8 C8 21 00 30 */ lfd f1, 0x30(r1) /* 8024F55C 0024B1BC EC 00 E8 28 */ fsubs f0, f0, f29 /* 8024F560 0024B1C0 EC 21 E8 28 */ fsubs f1, f1, f29 /* 8024F564 0024B1C4 EE 80 08 24 */ fdivs f20, f0, f1 /* 8024F568 0024B1C8 4B FE EF E1 */ bl func_8023E...
Assembly
AINED_STEEL_SCYTHE, EDGE_OF_DELIVERANCE, WEIGHT_OF_WORLDS); MalumItemModelSmithTypes.HANDHELD_ITEM.act(data, SOUL_STAINED_STEEL_KNIFE, TUNING_FORK, LAMPLIGHTERS_TONGS, ARTIFICERS_CLAW, TOTEMIC_STAFF); MalumItemModelSmithTypes.CATALYST_LOBBER.act(data, CATALYST_LOBBER); MalumItemModelSmithTypes.S...
Java
`div.nav-file-title[data-path='${path2}']` ); } el == null ? void 0 : el.addClass("is-active"); } else { this.lastDiffViewState = void 0; } } // region: displaying / formatting messages displayMessage(message, timeout = 4 * 1e3) { var _a2; (_a2 = this.statusBar) == null ?...
JavaScript
Todo extends BaseEntity { @PrimaryGeneratedColumn({ type: "int4", }) id: number; @Column() desc: string; @Column("timestamptz", { default: () => "NOW()", nullable: false }) createdOn: Date; @Column("timestamptz", { nullable: true }) completedOn: Date | null; @Column("timestamptz", { nullabl...
Typescript
}.v-toc-folder>svg{margin-top:2px}.v-toc-folder:is(:active,.pressed)>svg>use{fill:#fff}.v-btn{color:#fff;width:var(--v-tb-btn-w);border-radius:var(--c-br-s);pointer-events:all;justify-content:center;align-items:center;height:30px;padding:0;display:inline-flex}.v-btn[data-btn-group]:not(:first-of-type){height:30px;margi...
CSS
r "Current target is not yet supported!" #endif class Compare { public: Compare(analog::AnalogComparator& comparator) : comparator_{comparator}, led_{gpio::PinMode::OUTPUT} { interrupt::register_handler(*this); } private: void callback() { if (comparator_.output()) led_.set(); else led_.clear(); } analog:...
C++
423423" ); UNIT_ASSERT ( lItem.getEBV().getBooleanValue() ); UNIT_ASSERT ( !lItem.getAtomizationValue().isNull() ); CHECK_NOT_IMPLEMENTED(lItem, getBooleanValue() ); lItem = lFactory->createNegativeInteger(1); UNIT_ASSERT ( lItem.isNull() ); /* NonPositiveInteger */ lItem = lFactory->creat...
C++
PDF.BlobProvider; declare const PDFDownloadLink: typeof ReactPDF.PDFDownloadLink; export default ReactPDF; /** * Render document into a nodejs buffer * @platform node */ export const renderToBuffer: ( document: React.ReactElement<ReactPDF.DocumentProps>, ) => Promise<Buffer>; /** * Render document into a strin...
Typescript
.d.ts - lib.es6.d.ts 这些内置声明文件的文件名统一为“lib.[description].d.ts”的形式,其中`description`部分描述了文件内容。比如,`lib.dom.d.ts`这个文件就描述了 DOM 结构的类型。 如果开发者想了解全局对象的类型接口(比如 ES6 全局对象的类型),那么就可以去查看这些内置声明文件。 TypeScript 编译器会自动根据编译目标`target`的值,加载对应的内置声明文件,所以不需要特别的配置。但是,可以使用编译选项`lib`,指定加载哪些内置声明文件。 ```javascript { "compilerOptions": { "lib": ...
Markdown
JSONObject(json) val tagName = jsonObject.getString("tag_name") val changelog = jsonObject.optString("body", "Değişiklik günlüğü alınamadı.") // .apk dosyasının indirme linkini bul val assets = jsonObject.getJSONArray("assets") var apkUrl: String? = null for (i in 0 un...
Kotlin
return add(button).marginLeft(6f) } fun Table.icePane(back: Drawable? = null, consumer: Cons<Table>): Cell<IceScrollPane> { val table = Table() if (back != null) table.background = back consumer.get(table) val pane = IceScrollPane(table) pane.setClip(true) pane.setOverscroll(overscrollX = fals...
Kotlin
--- --- Generated by EmmyLua(https://github.com/EmmyLua) --- Created by 0. --- DateTime: 2019/4/27 13:41 --- local type = type local pairs = pairs local table = table local tableSort = table.sort local tableInsert = table.insert local mathMin = math.min local stringFormat = string.format XCharacterConfigs = XCharacter...
Lua
using System; using System.Collections.Generic; using Server; namespace Server.Mobiles { public class Armorer : BaseVendor { private List<SBInfo> m_SBInfos = new List<SBInfo>(); protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } } [Constructable] public Armorer() : base( "the armorer" ) { ...
C#
video: true, audio: true }) return { error: null, stream } } catch (error) { return { error, stream: null } } } /** * 连接至 Signaling 服务器. * * @returns {Promise<SocketIOClient.Socket>} */ function conenctToSignalingServer (): Promise<SocketIOClient.Socket> { return new ...
Typescript
/// Props for [`Indexed`]. #[derive(Prop)] pub struct IndexedProps<'a, G: GenericNode, T, F> where F: Fn(BoundedScopeRef<'_, 'a>, T) -> View<G> + 'a, { pub iterable: &'a ReadSignal<Vec<T>>, pub view: F, } /// Non keyed iteration (or keyed by index). Use this instead of directly /// rendering an array of [...
Rust
/* red-400 */ --color-error-content: #ffffff; /* white text */ /* Shape and sizing */ --radius-box: 0.5rem; --radius-field: 0.375rem; --radius-selector: 0.375rem; --size-field: 2.5rem; --size-selector: 1.25rem; --border: 1px; } /* Renzora-specific styling variables with exact Tailwind ...
CSS
ed.uieditor = ed.uieditor or {} ed.uieditor.excavatebattlereport = { { config = { rotation = 0, flip = "", opacity = 255, visible = true, scaleSize = CCSizeMake(703.13, 434.38) }, t = "Scale9Sprite", base = { capInsets = CCRectMake(21.88, 21.09, 39.06, 11.72), ...
Lua
1.46330314544870599, 0.160695642232894897, INEXACT)); assert(test_atan(0.661985898099504477, 0.584755067023832509, 0.458255648612976074, INEXACT)); assert(test_atan(-0.40660392238535531, -0.386186417755213118, -0.257428169250488281, INEXACT)); assert(test_atan(0.56175974622072411, 0.511826953162888065, -0.114442773163...
Typescript
Id( 'account-details-display-export-private-key', ); fireEvent.click(exportPrivateKeyButton); expect( queryByText(shortenAddress(toChecksumHexAddress(address))), ).toBeInTheDocument(); expect(queryByText('Show private key')).toBeInTheDocument(); expect(queryByPlaceholderText('Passw...
JavaScript
ang.String} */ void setValue(java.lang.String value); } // // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon r...
Java
end end ) it("evicts least recently used values", function() return Promise.resolve():andThen(function() -- ROBLOX deviation START: use dot notation -- ReactCache:unstable_setGlobalCacheLimit(3) -- Render 1, 2, and 3 ReactCache.unstable_setGlobalCacheLimit(3) -- ROBLOX deviation END local root = Re...
Lua