content
stringlengths
2
6.21k
label
stringclasses
16 values
-west-2</code>. Future<DescribeEC2InstanceLimitsOutput> describeEC2InstanceLimits({ EC2InstanceType? eC2InstanceType, String? location, }) async { final headers = <String, String>{ 'Content-Type': 'application/x-amz-json-1.1', 'X-Amz-Target': 'GameLift.DescribeEC2InstanceLimits' }; f...
Dart
).quote("ISIN1").high).toBeCloseTo(200.0, 1); expect(historicalQuotes.get(beforeYesterday).quote("ISIN1").low).toBeCloseTo(165.2, 1); expect(historicalQuotes.get(beforeYesterday).quote("ISIN1").close).toBeCloseTo(173.9, 1); expect(historicalQuotes.get(beforeYesterday).quote("ISIN1").dividend).toBeCloseTo(0....
Typescript
ddup -4 * SIZE(BB), %xmm4 mulpd %xmm3, %xmm4 subpd %xmm4, %xmm0 movddup -6 * SIZE(BB), %xmm4 mulpd %xmm4, %xmm2 movddup -7 * SIZE(BB), %xmm4 mulpd %xmm2, %xmm4 subpd %xmm4, %xmm1 movddup -8 * SIZE(BB), %xmm4 mulpd %xmm2, %xmm4 subpd %xmm4, %xmm0 movddup -11 * SIZE(BB), %xmm4 mulpd %xmm4, %xmm1 mo...
Assembly
Handler.TotalGasProvided(), "total gas provided as scheduled", txs.gasHandler.TotalGasProvidedAsScheduled(), "total gas refunded", txs.gasHandler.TotalGasRefunded(), "total gas penalized", txs.gasHandler.TotalGasPenalized(), ) defer func() { log.Debug("transactions.processTxsToMe after processing", "schedu...
Go
(focusInput, cm), 20); selectLine(cm, start.line); } else if (lastClick && lastClick.time > now - 400 && posEq(lastClick.pos, start)) { type = "double"; lastDoubleClick = {time: now, pos: start}; e_preventDefault(e); var word = findWordAt(getLine(doc, start.line).text, start); ex...
JavaScript
named("starting line number")) { override fun decompose( obj: AvailObject, serializer: Serializer): Array<out A_BasicObject> { val primitiveName = when (val primitive = obj.codePrimitive()) { null -> emptyTuple else -> stringFrom(primitive.name) } return array( obj.argumentsTuple, ...
Kotlin
// one input only connect(layer_id, dstNet, inpId, id, 0); inpId = Pin(setName); if ((inpLayout == DNN_LAYOUT_NHWC || inpLayout == DNN_LAYOUT_UNKNOWN || inpLayout == DNN_LAYOUT_PLANAR) && newShapeSize == 4 && !hasSwap) { int order[] = {0, 3, 1, 2}; // Transform ...
C++
put) } } /** 读 0x01 ,线圈*/ fun createRequestRead01(slaveId: Byte, start: Int, num: Int): ReadCoilsRequest = ReadCoilsRequest(slaveId, start, num) /** 读 0x02 ,离散寄存器*/ fun createRequestRead02(slaveId: Byte, start: Int, num: Int): ReadDiscreteRequest = ReadDiscreteReque...
Kotlin
/* Test program for SSE registers. Copyright 2004-2015 Free Software Foundation, Inc. This file is part of GDB. 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 3 of th...
C
/*** * * Copyright (c) 1996-2002, Valve LLC. All rights reserved. * * This product contains software technology licensed from Id * Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc. * All Rights Reserved. * * Use, distribution, and modification of this source code and/or resulting * object ...
C
CommUtil.saveFileToServer(request, "advert_img", saveFilePathName, fileName, null); Accessory advert_img = null; if (fileName.equals("")) { if (map.get("fileName") != "") { advert_img = new Accessory(); advert_img.setName( CommUtil.null2String(map.get...
Java
word_set("border-left-color")); assertEquals(StyleConstants.STYLE_BORDER_RIGHT_COLOR, PerfectHash.in_word_set("border-right-color")); assertEquals(StyleConstants.STYLE_BORDER_BOTTOM_COLOR, PerfectHash.in_word_set("border-bottom-color")); assertEquals(StyleConstants.STYLE_LETTER_SPACING, PerfectHash.in_word_set("l...
Java
24px } .next-message.next-large .next-message-close { top: 16px; right: 16px } .next-message.next-large.next-inline,.next-message.next-large.next-toast { border-radius: 4px } .next-message.next-global { position: relative; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; widt...
CSS
val rootBuilder = TreeFormatter() rootBuilder.append(ENTRY_ROOT, FileMode.TREE, treeId) rootBuilder.append(ENTRY_UUID, FileMode.REGULAR_FILE, uuidId) ObjectChecker().checkTree(rootBuilder.toByteArray()) val rootId: ObjectId = inserter.insert(rootBuilder) ...
Kotlin
using System.Diagnostics; using System.Text; using FluentAssertions; using TextCopy; using static System.Environment; namespace GEmojiSharp.Tests.DotnetTool { [Explicit, Category("Integration")] public class IntegrationTests { [Test] public void Help() { var (ExitCode, S...
C#
ple=True) ), vol.Optional(**SCHEMA_INCLUDE_TARGETS): BooleanSelector( BooleanSelectorConfig(), ), vol.Optional(**SCHEMA_TARGETS_TO_INCLUDE): TargetSelector( TargetSelectorConfig(), ), ...
Python
TxnFactory: txnFactory, Exception: new(atomic.Value), CommitListener: newBatchCommitListener(), } mgr.txns.store = new(sync.Map) mgr.txns.wg = sync.WaitGroup{} for _, opt := range opts { opt(mgr) } mgr.ts.allocator = types.NewTsAlloctor(clock) mgr.initMaxCommittedTS() const batSize = 1000 ...
Go
imaryKeyName(TABLE_NAME, COLUMN_NAME); storageSourceService.addListener(TABLE_NAME, this); entriesFromStorage = readEntriesFromStorage(); entry2dpid = computeEntry2DpidMap(entriesFromStorage); restApiService.addRestletRoutable(new StaticFlowEntryWebRoutable()); } // IStaticFlowEntryPusherService methods @O...
Java
ODocument getMessageStats(); void updateMessageStats(String message); long getReceivedRequests(); long getProcessedRequests(); long getCurrentLatency(String server); void registerRequest(final long id, final ODistributedResponseManager currentResponseMgr); void handleUnreachableNode(final String nodeN...
Java
31) -> pcuxhb, zigfjrn pluph (15) tggyn (80) yrdpurl (30) igjmhxe (23) bkzzc (258) hmfyf (11) klvncy (98) -> slqmpe, kbyrlz, xzjiiwl hscywgt (61) ilsqjz (285) -> nqkpd, grkyj ksvdw (120) -> sskog, xettl wpwlg (86) -> kuxclnz, fkagf gkzbah (44) qtxkvx (71) xiksvn (114) -> cklbsi, ydhrzjf fjrrlug (16) rzpxffj (11) wviisf...
Rust
odel.Column{ Name: "id", DataType: "integer", Nullable: false, IsPrimaryKey: true, AutoIncrement: true, } table.Columns["name"] = unifiedmodel.Column{ Name: "name", DataType: "varchar", Nullable: false, Default: "'default_name'", } // Add index table.Index...
Go
from python.helpers.tool import Tool, Response from python.extensions.message_loop_prompts._10_system_prompt import ( get_tools_prompt, ) class Unknown(Tool): async def execute(self, **kwargs): tools = get_tools_prompt(self.agent) return Response( message=self.agent.read_prompt( ...
Python
cope.gui.WindowCommands import edu.duke.cs.osprey.molscope.gui.WindowFeature import edu.duke.cs.osprey.molscope.gui.features.FeatureId import edu.duke.cs.osprey.gui.forcefield.amber.OperatingSystem import edu.duke.cs.osprey.gui.io.OspreyService import edu.duke.cs.osprey.gui.io.UserSettings import edu.duke.cs.osprey.ser...
Kotlin
entingEdges[Src].size(); for (auto &Edge : AugmentingEdges[Src]) { double EdgeFlow = Nodes[Src].FracFlow / Degree; Nodes[Edge->Dst].FracFlow += EdgeFlow; if (Edge->Capacity == INF) continue; uint64_t MaxIntFlow = double(Edge->Capacity - Edge->Flow) / EdgeFlow; Max...
C++
_series; this.tempo_descanso = tempo_descanso; } public getNome(): string { return this.nome; } public setNome(value: string) { this.nome = value; } public getTempo_descanso(): number { return this.tempo_descanso; } public setTempo_descanso(value: number)...
Typescript
33] = "Bufas de pellejo de dragón de Gladiador cataclísmico", [73734] = "Togas de pellejo de dragón de Gladiador cataclísmico", [73735] = "Musleras de pellejo de dragón de Gladiador cataclísmico", [73736] = "Yelmo de pellejo de dragón de Gladiador cataclísmico", [73737] = "Guantes de pellejo de dragón de Gladiador cata...
Lua
3) hashes = append(hashes, hash3) sfd.ReceivedSelfNotarizedFromCrossHeaders(core.MetachainShardId, hdrs, hashes) assert.Equal(t, hdr2.Nonce, sfd.FinalCheckpointNonce()) _ = sfd.AddHeader(hdr3, hash3, process.BHProcessed, hdrs, hashes) assert.Equal(t, hdr3.Nonce, sfd.FinalCheckpointNonce()) } func TestBaseForkDe...
Go
""" Foydalanuvchi tomonidan faqat butun sonlardan iborat ro'yxat kiritilgan. Sizning vazifangiz ushbu ro'yxatda qo'shni bir xil ishorali elementlarni chiqarish. Agar qo'shni elementlarning ishoralari bir-biridan farqli bo'lsa, sonlar chiqarilmasin. Har bir masala shartiga mos qo'shni elementlarni alohida qatorlarda c...
Python
context).size.width - 140; return GestureDetector( behavior: HitTestBehavior.opaque, onTap: onPressed, child: Container( decoration: BoxDecoration( borderRadius: const BorderRadius.all( Radius.circular(12), ), color: isRead ? context.colS1 : conte...
Dart
size = 0; private T[] queue ; public MinHeap(int capacity){ queue = (T[]) new Comparable[capacity+1]; } public boolean isEmpty(){ return size == 0 ; } public int size(){ return size; } public void insert(T key){ if (key == null) { throw new...
Java
Converting to MP3"); using (var retMs = new MemoryStream()) using (var memoryStream = new MemoryStream(audioData)) using (var waveFileReader = new WaveFileReader(memoryStream)) using (var mp3FileWriter = new LameMP3FileWriter(retMs, waveFileReader.WaveFormat, 128)) ...
C#
of subprocesses <-> Number of concurrent pdfs per worker MARKER_MIN_PROCESSES=3 # Minimum number of subprocesses available before triggering a process pool reset. MARKER_POOL_SIZE=1 # Number of workers (typically 1 worker per cluster node) MARKER_NUM_GPUS=0.01 SHARED_ENV=/ray_mount/.env RAY_DASHBOARD_PORT=8265 RAY_AD...
Markdown
fSpec *= 15; pcHelper->AddProperty<ai_real>(&fSpec, 1, AI_MATKEY_SHININESS); iMode = (int)aiShadingMode_Phong; } } pcHelper->AddProperty<int>(&iMode, 1, AI_MATKEY_SHADING_MODEL); // handle opacity if (0xFFFFFFFF != iOpacity) { ai_real fOpacity = PLY::Propert...
C++
// Copyright (c) 2008-2025, Hazelcast, Inc. All Rights Reserved. // // 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...
C#
* Label text on the button, or a function that can generate this text. The * function is supplied with the context object that is used to make the * request. */ text: string | ((ctx: C) => string | Promise<string>) } type RemoveAllTexts<T> = T extends { text: string } ? Omit<T, 'text'> : T /** ...
Typescript
pkg.height = 0 // pkgImports is the set of packages already imported by any package file seen // so far. Used to avoid duplicate entries in pkg.imports. Allocate and populate // it (pkg.imports may not be empty if we are checking test files incrementally). // Note that pkgImports is keyed by package (and thus pac...
Go
from langchain.chains.query_constructor.base import load_query_constructor_runnable __all__ = ["load_query_constructor_runnable"]
Python
WalkSpeed = 500.f; GetCharacterMovement()->MinAnalogWalkSpeed = 20.f; GetCharacterMovement()->BrakingDecelerationWalking = 2000.f; // Create a camera boom (pulls in towards the player if there is a collision) CameraBoom = CreateDefaultSubobject<USpringArmComponent>(TEXT("CameraBoom")); CameraBoom->SetupAttachment...
C++
_CascadiaCodeFile( const DynamicFontsVariant( fontWeight: FontWeight.w400, fontStyle: FontStyle.italic, ), '006e3251e8047c14e21bca50ef7265e3501aedacc28a6c8a3690b9ce03dbd422', 453188, ), _CascadiaCodeFile( const DynamicFontsVariant( fontWe...
Dart
], ) : const Center( child: Text( 'No challenges available', style: TextStyle(color: Colors.grey), ), ), ), ], ), ...
Dart
----------------------------------- -- Area: Qufim Island -- NPC: Trodden Snow -- Mission: ASA - THAT_WHICH_CURDLES_BLOOD -- Mission: ASA - SUGAR_COATED_DIRECTIVE -- !pos -19 -17 104 126 ----------------------------------- local ID = require("scripts/zones/Qufim_Island/IDs") require("scripts/globals/settings") require...
Lua
pdateBuilder(); updateNode( builder, flags: const ui.SemanticsFlags(hasImplicitScrolling: true), transform: Matrix4.identity().toFloat64(), rect: const ui.Rect.fromLTRB(0, 0, 50, 100), ); owner().updateSemantics(builder.build()); expectSemanticsTree(owner(), ''' <sem role="gro...
Dart
o %1 exigem 3 n\u00FAmeros",InvalidDecimalNumber:"N\u00FAmero decimal inv\u00E1lido",ModelArg2:"Os valores de cor para o modelo %1 devem estar entre %2 e %3",InvalidNumber:"N\u00FAmero inv\u00E1lido",NewextarrowArg1:"O primeiro argumento de %1 deve ser o nome de uma sequ\u00EAncia de controle",NewextarrowArg2:"O segund...
JavaScript
tr): parts = PARSE_TIME_REGEX.match(time_str) if not parts: die(f"Invalid duration {time_str}") parts = parts.groupdict() time_params = {} for name, param in parts.items(): if param: time_params[name] = int(param) dur = timedelta(**time_params) if dur.total_second...
Python
-- Log currently selected -- <leader>'l vim.keymap.set("v", "<leader>'l", function() -- Get visual selection vim.cmd('normal! "vy') local selection = vim.fn.getreg("v") -- Get current filetype local filetype = vim.bo.filetype -- Define log format based on filetype local log_statement = "" if filetype == "j...
Lua
ight 2016 The Cockroach Authors. // Copyright (c) 2022-present, Shanghai Yunxi Technology Co, Ltd. All rights reserved. // // 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://ww...
Go
gment}l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 ${hLinePad}H400000v${40 + extraViniculum}H742z`; }; const sqrtPath = function sqrtPath(si...
JavaScript
val result = findOnceByTextRegex(node, regex, desc = desc) if (result != null) return result sleep(SHORT_INTERVAL) if (root) { node = getRoot(true, share = true) } else { node.refresh() } currentTime = System.cur...
Kotlin
pt.hibernate.type.AbstractEncryptedAsStringType#convertToObject(java.lang.String) */ protected Object convertToObject(final String string) { final long timeMillis = Long.valueOf(string).longValue(); return new Date(timeMillis); } /** * @see org.jasypt.hibernate.type.AbstractEncry...
Java
rDanhSachSanPham.getViewport().setBackground(Color.white); scrDanhSachSanPham.getVerticalScrollBar().setUI(new CustomScrollBarUI()); pnlDanhSachSanPham.add(scrDanhSachSanPham); JLabel btnExit = new JLabel(""); btnExit.setIcon(new ImageIcon(ManHinhChinh.class.getResource("/images/close.png"))); btnExit.setBou...
Java
cmp r2, #0 beq _0223C734 mov r1, #6 mul r1, r0 ldr r0, _0223C73C ; =0x0000088A add r1, r2, r1 ldrh r0, [r1, r0] bx lr _0223C734: mov r0, #0 bx lr .align 2, 0 _0223C738: .word ov18_02251380 _0223C73C: .word 0x0000088A thumb_func_end ov18_0223C720 thumb_func_start ov18_0223C740 ov18_0223C740: ; 0x0223C740 ...
Assembly
Page.RENDER && renderMode != RenderMode.RADAR }) private val tracer by setting("Tracer", true, { page == Page.RENDER && renderMode != RenderMode.RADAR }) private val color by setting("Color", ColorHolder(31, 200, 63), false, { page == Page.RENDER }) private val aFilled by setting("Filled Alpha", 63, 0..255...
Kotlin
意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("TaskRegisterOutputTable") @Expose private TaskDataRegistryDTO [] TaskRegisterOutputTable; /** * 循环依赖配置 注意:此字段可能返回 null,表示取不到有效值。 */ @SerializedName("CycleDependencyConfigList") @Expose private TaskCycleLinkDTO [] CycleDependencyConfig...
Java
122.114.064 0 .113-.051.125-.124l.201-2.113-.201-2.187a.11.11 0 00-.111-.112l-.026-.015zm.962.301a.128.128 0 00-.133-.125.134.134 0 00-.137.125l-.182 2.026.169 2.138a.13.13 0 00.132.131c.062 0 .123-.055.123-.132l.189-2.139-.189-2.036.028.012zm.674-1.426a.154.154 0 00-.148.15l-.176 3.3.156 2.139c0 .077.066.137.15.137.07...
Dart
"""觸控優化組件模組(統一入口點) 此模組提供專門針對觸控裝置優化的 UI 組件的統一入口點。 實際實作分散在子模組中以保持檔案大小合理。 """ from typing import Dict, List, Any, Optional, Callable from .touch_basic import TouchBasicComponents from .touch_navigation import TouchNavigationComponents class TouchOptimizedComponents: """觸控優化組件類(統一入口點) 提供專門針對觸控裝置優化的 UI 組件,確保在手機...
Python
{ AddButton.Index = 130; AddButton.HoverIndex = 131; AddButton.PressedIndex = 132; } else { AddButton.Index = 133; AddButton.HoverIndex = 134; AddButton.PressedIndex = 135; ...
C#
charCodeAt(0),t&t},0)},e.isString=function(t){return"string"==typeof t},e.extractInfoFromBase64DataURI=function(t){return/^data:([\w]+?\/([\w]+?));base64,(.+?)$/g.exec(t)},e.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},e.isArrayBuffer=function(t){return!!this.sup...
JavaScript
target = "raceGapMillis", ignore = true) @Mapping(target = "raceGapLaps", ignore = true) @Mapping(target = "raceInterval", ignore = true) @Mapping(target = "raceIntervalMillis", ignore = true) @Mapping(target = "raceReasonRetired", ignore = true) @Mapping(target = "racePoints", ignore = true) @M...
Kotlin
f value is zero or negative """ return value.bit_length() - 1 def unique(enumeration): """ Class decorator for enumerations ensuring unique member values. """ duplicates = [] for name, member in enumeration.__members__.items(): if name != member.name: duplicates.append((...
Python
float delta_x = (prev_foot_position_[i].X() - current_foot_position.X()); float delta_y = (prev_foot_position_[i].Y() - current_foot_position.Y()); float current_theta = atan2f(current_foot_position.X(), current_foot_position.Y())...
C
v[v_in_iy], v[v_in_iho] v_mad_i32_i24 v[v_in_iwi], s[s_dilation_w], v[v_in_ix], v[v_in_iwo] ds_read2_b64 v[v_a+8+0:v_a+8+3], v[v_sld_a_os], offset0:96, offset1:100 ; load i_k:3 into local buffer 1, repeat 0 s_waitcnt lgkmcnt(5) v_mfma_f32_4x4x4f16 a[a_c+16:a_c+19], v[v_a+12:v_a+13], v[v_b+4:v_b+5], a[a_...
Assembly
irectory with the updated extracted directory await fsExtra.copy(extractedPatternsPath, existingPatternsPath, { overwrite: true, }); console.log("Patterns successfully updated"); // Inform the renderer process that the patterns have been updated // win.webContents.send("patterns-updated"); ...
JavaScript
!= 12 { t.Errorf("Proto field 'foo' has unexpected value %v for %T (expected 12)", m12.GetSetFoo(), m12) } checkNameConsistency(t, m12) m13 := opb.M13_builder{ Foo: makeOpaqueM0(1), HasFoo: makeOpaqueM0(2), }.Build() if !m13.HasFoo() { t.Errorf("Proto field 'foo' has unexpected value %v for %T (expected...
Go
与MRI(特别是弥散加权成像)结合使用效果最佳。乳腺X光可发现微小钙化病变,而MRI在致密乳腺组织中表现更佳。 - **前列腺癌筛查**:不仅关注PSA绝对值,更要注意PSA密度和PSA变化速度;对于可疑病例,考虑4K评分测试和多平面MRI检查。 - **液体活检**:作为综合筛查工具有价值,特别是用于排除癌症(阴性预测值高达99%),但对早期癌症的敏感性有限(仅约20%)。 - **全身弥散加权MRI**:能发现其他方法难以检测的异常,尤其适用于"体内"癌症如胰腺癌的早期检测。 ## 二、核心解析 ### 关键机制 - **早期检测的生物学优势**:癌细胞数量越少,治疗成功率越高。早期(局部)乳腺癌的5年生存率达99%...
Markdown
_SONY = "sony" private const val BRAND_NOKIA = "nokia" fun isPhoneWithPossibleBackgroundLimitations(): Boolean { return when (Build.BRAND.lowercase(Locale.getDefault())) { BRAND_ASUS, BRAND_XIAOMI, BRAND_HUAWEI, BRAND_OPPO, BRAND_WIKO, BRAND_LENOVO, BRAND_MEIZU, ...
Kotlin
} private void ExportDropDownList_SelectedIndexChanged(object sender, System.EventArgs e) { // Xml export selected if (ExportDropDownList.SelectedValue == "1") { CSVOptionPlaceHolder.Visible = false; plhCSVStyles.Visible = false; ...
C#
oomId).doc(item.id), messageModel, ); /// 꼬리 질문 question type일 경우 /// 총합 개수 +1 if (item is QuestionChatEntity && item.isFollowUpQuestion) { transaction.update(FirestoreChatRoomRef.doc(roomId), { FirestoreChatRoomRef.totalQuestionCount: Field...
Dart
xvld xr1, a1, 8 add.d a1, a1, a2 xvpermi.q xr0, xr1, 0x02 PREP_HV_8W_LASX xr0 xvst xr0, a0, 32 addi.d a0, a0, 64 addi.w a4, a4, -2 bnez a4, .l_\lable\()h_16w_loop_lasx b ...
Assembly
2, U+73f4-73f5, U+73f7, U+73f9-73fa, U+73fc-73fd, U+73ff-7402, U+7404, U+7407-7408, U+740a-740f, U+7418, U+741a-741c, U+741e, U+7424-7425, U+7428-7429, U+742c-7430, U+7432, U+7435-7436, U+7438-743b, U+743e-7441, U+7443-7446, U+7448, U+744a-744b, U+7452, U+7457, U+745b, U+745d, U+7460, U+...
CSS
s:(id)arg4 messageSent:(id)arg5; - (void)_processMessageForAccount:(id)arg1 chat:(id)arg2 style:(unsigned char)arg3 chatProperties:(id)arg4 message:(id)arg5; - (void)account:(id)arg1 chat:(id)arg2 style:(unsigned char)arg3 chatProperties:(id)arg4 messageUpdated:(id)arg5; - (void)account:(id)arg1 chat:(id)arg2 style:(un...
C
background: #31639c; } .label.label--inline { position: relative; top: 0; right: 0; } .label.label--inline:not(:last-child) { margin-right: 0.92857143em; } .label.label--inline + span, .label.label--inline + p { position: relative; top: 1px; } .label.switchable-toggle { left: 50%; right: auto; transfo...
CSS
skill import cn.solarmoon.spark_core.util.triggerEvent interface SkillConfig { val storage: LinkedHashMap<String, Any> fun init(skill: Skill) { skill.triggerEvent(SkillEvent.ConfigInit(this)) } fun set(id: String, value: Any) { storage[id] = value } fun set(pair: Map<String...
Kotlin
( &mut deps, mock_env(), info.clone(), ExecuteMsg::Enqueue { value: 40 }, ) .unwrap(); } for _ in 0..0x19 { let _: Response = execute(&mut deps, mock_env(), info.clone(), ExecuteMsg::Dequeue {}).unwrap(); } // we add 0x2...
Rust
xe7}; ArrayRef<char> ArmContent(reinterpret_cast<const char *>(&ArmWord), sizeof(ArmWord)); auto &BArm = G->createContentBlock(Sec, ArmContent, B1DummyAddr, ArmAlignment, AlignmentOffset); for (Edge::Kind K = FirstArmRelocation; K < LastArmRelocati...
C++
ounter(h1, var(--header-enum-style)) "." counter(h2, var(--header-enum-style)) "." counter(h3, var(--header-enum-style)) ". "}.header-enum h4{counter-increment:h4;counter-reset:h5}.header-enum h4:before{content:counter(h1, var(--header-enum-style)) "." counter(h2, var(--header-enum-style)) "." counter(h3, var(--header-...
CSS
;; STFD [C1 ] = f68, SIZE ;; STFD [C1 ] = f69, SIZE ;; .align 32 .L169: { .mmi mov B = BOFFSET mov AOFFSET = A nop __LINE__ } ;; .align 16 .L999: mov r8 = r0 adds r9 = 1 * 16, SP ;; ldf.fill f16 = [SP], 32 ldf.fill f17 = [r9], 32 ;; ldf.fill f18 = [SP], 32 ldf.fill f19 = [r9], 32 ;; ldf.fi...
Assembly
DiscreteVoxelShape(0, 0, 0), emptyList(), emptyList(), emptyList()) @JvmField val OPTIMIZED_BLOCK: BoundingBoxVoxelShape = BoundingBoxVoxelShape(BoundingBox(0.0, 0.0, 0.0, 1.0, 1.0, 1.0)) @JvmField val INFINITY: VoxelShape = box(N_INFINITY, N_INFINITY, N_INFINITY, P_INFINITY, P_INFINITY, P_INFINITY) ...
Kotlin
/* mpz_tdiv_qr_ui(quot,rem,dividend,short_divisor) -- Set QUOT to DIVIDEND / SHORT_DIVISOR and REM to DIVIDEND mod SHORT_DIVISOR. Copyright 1991, 1993, 1994, 1996, 1998, 2001, 2002, 2004, 2012, 2015 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you...
C
(!ppal) return; auto pal = ppal.get(); auto grpinf = app->getCoreThread()->GetPalRegularItem(pal); if (!grpinf) return; /* 添加到常规模式树 */ model = GTK_TREE_MODEL(g_datalist_get_data(&mdlset, "regular-paltree-model")); gtk_tree_store_append(GTK_TREE_STORE(model), &iter, NULL); FillGroupInfoToPaltree...
C++
chine that we use to parse a MaraRC file; this is * described in the file doc/internals/MARARC.parser */ #define dwm_machine "a Hb Y1c Wa Rxp T; _xb\n" \ "b Xb Rxp T;\n" \ "c B1c Wd =e [f +g (y\n" \ "d Wd =e [f +g\n" \ "e We N4h Qi {6w\n"...
C
.7c0-7.3-2.2-14.4-6.2-20.4L558.2 21.4C549.3 8 534.4 0 518.3 0H121.7c-16 0-31 8-39.9 21.4L6.2 134.7c-4 6.1-6.2 13.2-6.2 20.4C0 175.5 16.5 192 36.8 192zM384 224H320V384H128V224H64V384v80c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V384 352 224zm144 16c17.7 0 32 14.3 32 32v48H496V272c0-17.7 14.3-32 32-32zm-80 32v48c-17.7...
JavaScript
ace.operationCallback == null) { throw new IllegalStateException("Operation callback for interface sCInterface must be set."); } for (int i = 0; i < 4; i++) { stateVector[i] = State.$NullState$; } clearEvents(); clearOutEvents(); sCInterface.setA_local(0); sCInterface.setC_local(0); sCInt...
Java
let', #B284BE; $c: 'Air superiority blue', #72A0C1; $c: 'Alabaster', #EDEAE0; $c: 'Alice blue', #F0F8FF; $c: 'Alloy orange', #C46210; $c: 'Almond', #EFDECD; $c: 'Amaranth', #E52B50; $c: 'Amaranth (M&P)', #9F2B68; $c: 'Amaranth pink', #F19CBB; $c: 'Amaranth purple', #AB274F; $c: 'Amaranth red', #D3212D; $c: 'Amazon', #3...
CSS
m(2) for m in num()] # [6,6,6,6] print(result) ``` ```python def num(): return (lambda x: i * x for i in range(4)) # 1. num()并获取返回值 生成器对象 # 2. for循环返回值 # 3. 返回值的每个元素(2) result = [m(2) for m in num()] # [0,2,4,6 ] print(result) ``` ## 总结 ...
Markdown
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 License, or (at your option) any later version. * * This program is ...
C
ssed = self.m_pressedEntry if(pressed == entry) then return end if(pressed) then pressed:SetDimensions(ENTRY_WIDTH, ENTRY_WIDTH) pressed:SetPressedTexture("EsoUI/Art/Buttons/swatchFrame_down.dds") pressed:SetState(BSTATE_NORMAL, false) pressed:SetDrawTier(DT_LOW) local...
Lua
_x: gCfgItems.leveling_point5_x=atoi(key_value); HAL::AT24CXX_Write(BAK_LEVELING_POINT5_X_ADDR,(uint8_t *)&gCfgItems.leveling_point5_x,2); break; case Point5_y: gCfgItems.leveling_point5_y=atoi(key_value); HAL::AT24CXX_Write(BAK_LEVELING_POINT5_Y_ADDR,(uint8_t *)&gCfgItems.leveling_point5_y,2); ...
C++
TokenMetadataServiceEnum.tokenRegistry.name)) { TokenRegistryService() } bind TokenMetadataService::class single(named("dexClassifiers")) { listOf(WingridersClassifier, SundaeswapClassifier, MinswapClassifier, MinswapV2Classifier) } /...
Kotlin
size(), 2, "Expected events are not received"); BMap<?, ?> person1 = (BMap<?, ?>) returnValues.get(0); BMap<?, ?> person2 = (BMap<?, ?>) returnValues.get(1); Assert.assertEquals(person1.toString(), "{\"firstName\":\"Ranjan\",\"lastName\":\"Fonseka\"," + "\"deptAccess\":\"XYZ\",\...
Java
..=3)(&None).is_ok()); } #[test] pub fn length_if_present_invalid() { assert!(length_if_present(1..=3)(&Some("1234".to_owned())).is_err()); assert!(length_if_present(1..=3)(&Some("".to_owned())).is_err()); } } }use amethyst::{assets::PrefabData, core::math::*...
Rust
r3, [r4, #2052] mov r3, #48 str r1, [r4, #2052] str r3, [r4, #2056] bl NandcWaitFlashReady ldr r3, [r4, #2048] strb r3, [r5] pop {r4, r5, r6, pc} .L391: .align 2 .L390: .word .LANCHOR0 .word .LANCHOR1 .fnend .size FlashReadSpare, .-FlashReadSpare .align 2 .global SandiskProgTestBadBlock .syntax unified ...
Assembly
= nil { return list, err } list[i] = resp.(TransactionResponse) receipt, err := list[i].GetReceipt(client) if err != nil { return list, err } // retry in case of throttle error for receipt.Status == StatusThrottledAtConsensus { tx.regenerateID(client) resp, err := _Execute(client, tx) if e...
Go
/*@target=num.+*/ ++super /*@target=Base.[]*/ /*@target=Base.[]=*/ ['x']; var /*@type=int**/ v11 = super /*@target=Base.[]*/ /*@target=Base.[]=*/ ['x'] /*@target=num.+*/ ++; } } abstract class Test2 extends Base<int, num> { void test() { var /*@type=int**/ v1 = super /*@target=Base.[]=*/ [...
Dart
ow, rowsPerImage, subrectOrigin, subrectSize, }: { bytesPerRow: number; rowsPerImage: number; subrectOrigin: GPUOrigin3D; subrectSize: GPUExtent3D; } ) { const origin = reifyOrigin3D(subrectOrigin); const size = reifyExtent3D(subrectSize); const info = kT...
Typescript
ew)); } /** * 查询 */ @RequestMapping("/query") public R query(CaipanyuanEntity caipanyuan){ EntityWrapper< CaipanyuanEntity> ew = new EntityWrapper< CaipanyuanEntity>(); ew.allEq(MPUtil.allEQMapPre( caipanyuan, "caipanyuan")); CaipanyuanView caipanyuanView = caipanyuanService.sele...
Java
onfiguration size_t M = test.M; size_t N = test.N; size_t K = test.K; // Initialize matrices A, B, and C with random values std::vector<float> h_A(M * K); std::vector<float> h_AT(K * M); // used for transpose version std::vector<float> h_B(K * N); std::vector<float> h_C(M * N, 0.0f); ...
C++
Some(ui_input::Key::LeftMeta) => { key_to_modifiers(&mut shortcut, ui_input::Modifiers::LeftMeta) } Some(ui_input::Key::RightMeta) => { key_to_modifiers(&mut shortcut, ui_input::Modifiers::RightMeta) ...
Rust
047, SmithingTable = 1048, Stonecutter = 1049, Bell = 1050, Lantern = 1051, SoulLantern = 1052, SweetBerries = 1053, GlowBerries = 1054, Campfire = 1055, SoulCampfire = 1056, Shroomlight = 1057, Honeycomb = 1058, BeeNest = 1059, Beehive = 1060, HoneyBottle = 1061,...
C#
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * 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...
C
w[1]-2;else uT=uT-1;(e_)[uT]={[6]=(Xw[6]-104)%256,[2]=38,[1]=(Xw[1]-104)%256};end;else if(Jw==50)then eT[Xw[6]]=B(eT[Xw[1]],Xw[4]);else (eT)[Xw[6]]=O(eT[Xw[1]]);end;end;end;else if(Jw<53)then if(Jw==52)then eT[Xw[6]]=j(Xw[5],eT[Xw[3]]);else eT[Xw[6]]=Xw[5]%Xw[4];end;else if(Jw>=54)then do if(Jw~=55)then (eT)[Xw[6]]=Xw[...
Lua