content
stringlengths
2
6.21k
label
stringclasses
16 values
otected override CreateParams CreateParams { get { var cp = base.CreateParams; // turn on WS_EX_TOOLWINDOW style bit // Used to hide the banner from alt+tab // source: https://www.csharp411.com/hide-form-from-alttab/ ...
C#
_SecondPageState class _ThirdPageState extends State<ThirdPage> { @override Widget build(BuildContext context) { return Scaffold( backgroundColor: Colors.blue, appBar: AppBar( elevation: 0, title: Text("Third"), ), body: Center( child: Column( children: ...
Dart
-- Start level/entry point. -- MAIN MODULE #define MINIMAP_X 188 #define MINIMAP_Y 0 #define MINIMAP_COLS 5 #define MINIMAP_ROWS 5 #define MINIMAP_RX MINIMAP_X #define MINIMAP_RY MINIMAP_Y #define MINIMAP_RW 40 #define MINIMAP_RH 40 -- Game modes -- Title screen #define GMODE_TITLE 1 -- Instructions screen #define G...
Lua
H SMALL LETTER J 01C9;01C9;01C9;006C 006A;006C 006A; # (lj; lj; lj; lj; lj; ) LATIN SMALL LETTER LJ 01CA;01CA;01CA;004E 004A;004E 004A; # (NJ; NJ; NJ; NJ; NJ; ) LATIN CAPITAL LETTER NJ 01CB;01CB;01CB;004E 006A;004E 006A; # (Nj; Nj; Nj; Nj; Nj; ) LATIN CAPITAL LETTER N WITH SMALL LETTER J 01CC;01CC;01CC;006E 006A;006E 006A; # (nj...
Kotlin
,所以在设计虚拟按键时要尽量通过 UI 的设计来弥补这个问题。 ### QTE 快速反应事件 **QTE 是一种需要玩家在有限的时间内对游戏画面中出现的提示(即 UI 元素)做出适当反应的特殊事件。** **在游戏中设计 QTE 的目的一般来说可以分为以下几种:** * 让相对死板的过场有一定的交互性,提高玩家的参与度,减少过场对游戏代入感的破坏,避免那种在游戏中无事可做、「看电影般」的情况出现。 * 在战斗的高潮部分(比如使用特殊攻击或者致命一击),考验玩家的精准反应,同时给予玩家戏剧化的表演来调动玩家的兴趣曲线。 * 因为手游的硬件特点和主流手机用户对操作轻量化的需求,现在很多手游的操作都采用 QTE 的方式来简化复杂的...
Markdown
; } /** * @brief Reset the channel switch to default state. * @param None * @retval None */ void CMP_ResetCSwList(void) { CMP_TypeDef *comparator = COMPARATOR; comparator->COMP_RST_LIST = COMP_BIT_RST_LIST; comparator->COMP_RST_LIST = 0; } /** * @brief Enable or disable automatic shut after the anal...
C
.homepage-section .cta-button.student,.homepage-container.parent .homepage-section .cta-button.teacher{display:none}.homepage-container.parent .homepage-section .cta-button.parent{display:inline-block}#page_sub_nav{display:none}body,#page-container,footer,footer .footer-container{min-width:0}@media screen and (max-wid...
CSS
Released, Pressed, Hold }; enum class KeyEvent { Press, Release }; enum class MouseEvent { Move, Down, Up, Scroll }; class X11AppContext { public: static bool isTerminated; static RefPtr<Window> mainWindow; static OrderedDictionary<X11WindowHandle, X11PlatformWindow*> win...
C++
install_prefix = "" if install_path: if not os.path.isabs(install_path): install_path = os.path.abspath(install_path) install_prefix = f"-DCMAKE_INSTALL_PREFIX={install_path}" # compile multithreaded -- how many threads? try: n_cpu = len(os...
Python
: BorderRadius.circular(2), ), ), SizedBox(width: 12), Expanded( chi...
Dart
imeException("Incorrect UPPER_LEADING_CORNER value"); } if (!sp.getCorner(JScrollPane.UPPER_TRAILING_CORNER).equals( sp.getCorner(JScrollPane.UPPER_LEFT_CORNER))) { throw new RuntimeException("Incorrect UPPER_TRAILING_CORNER value"); } });...
Java
次 lightdm 服务 systemctl start lightdm 2) 设置 lightdm 开机自启 systemctl enable lightdm 3) 禁止 lightdm 自启 systemctl disable lightdm 4) 查看 lightdm 状态状态 systemctl status lightdm 5) 重新启动 lightdm 服务 systemctl restart lightdm 6) 查看所有已启动的服务 systemctl list -units --type=service #### 22. tar tar 压缩解压缩命令。压缩、解压 tar.lz 需要安装 lzip 软件...
Markdown
ldrh r5, [r3, r5] and r6, r6, r9 orr r4, r4, r6, lsl #16 @ r4 = pix_d -1, 0 and r5, r5, r9 sub r8, r5, r5, lsr #2 @ r8 = 3/4 pix_s 1 add r6, r8, r6, lsr #2 @ r6 = (1/4 pix_s 0) + (3/4 pix_s 1) orr r5, r6, r5, lsl #15 and r6, lr, r12,lsr #1...
Assembly
) - 英文版本 - **中文** - 当前页面 ## 量子纠缠 --- ### 重构之茧 #### 量子生物反应堆 深圳湾第七研究所的天台悬浮在237米高空,量子防护罩将梅雨扭曲成发光的洛伦兹流形。墨酱站在边缘的纳米网格上,第七代生物重构装置正以cminpack非线性优化算法重新编排她的生命矩阵。这个价值4.2亿信用点的环形加速舱,此刻正通过mathter矩阵库进行着每秒10¹⁵次的状态空间变换。 "喉结重构进度92.7%..." 合成音在雨幕中裂解成离散的傅里叶分量。墨酱能感受到纳米机器人在声带黏膜间执行Levenberg-Marquardt优化,它们用激光镊子将雄激素受体蛋白按黄金分割比例替换为雌性变体。这个过程本...
Markdown
NATE_ASSEMBLY" > "$MERGED_ASSEMBLY" # Check N count grep -v ">" "$MERGED_ASSEMBLY" | tr -dc "Nn" | wc -m ``` Then pack the merged assembly, make a `primary_contigs.txt` file, and a reference: ```bash binpack/prep-contigs.sh "MERGED_ASSEMBLY" &> "${MERGED_ASSEMBLY}.pack_log" # Use grep to make a primary_contigs.txt fi...
Markdown
/* * SPDX-FileCopyrightText: 2011 Dmitry Kazakov <dimula73@gmail.com> * * SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __KIS_UNDO_STORES_H #define __KIS_UNDO_STORES_H #include "kis_undo_store.h" class KUndo2Stack; class KUndo2MagicString; /** * KisSurrogateUndoAdapter -- saves commands directly to t...
C
(existIndex) } } // logger.info("bookSourceList: {}", bookSourceList) saveUserStorage(userNameSpace, "bookSource", bookSourceList) return returnData.setData("") } suspend fun deleteAllBookSources(context: RoutingContext): ReturnData { val returnData = Return...
Kotlin
ValueExpr, SqlStatement, SubQueryExpression, SumExpression, TableClause, TableDefinition, UnionAllClause, UnionClause, UpdateStatement, WhereClause; // Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); ...
Dart
am> = "b_Lights", shadow: gfx::TextureSampler<f32> = "t_Shadow", out_color: gfx::RenderTarget<ColorFormat> = "Target0", out_depth: gfx::DepthTarget<DepthFormat> = gfx::preset::depth::LESS_EQUAL_WRITE, } pipeline shadow { vbuf: gfx::VertexBuffer<Vertex> = (), ...
Rust
rightWidth + 2 * closeWidth <= newWidth - half) { placeButton(leftButton, half); placeButton(rightButton, newWidth - half); } else if (leftWidth + rightWidth <= available) { const auto margin = std::clamp( leftWidth + rightWidth + closeWidth - available, 0, closeWidth); const auto realBlockWi...
C++
for (todoTask in tasksWithOverdueReminders) { Log.i(TAG, "$logPrefix Due to overdue reminder starting handle-alarm-job for $todoTask.") JobManager.startHandleAlarmJob(context, todoTask.getId()) } doUpdateNextAlarm() } } private fun doUpdateN...
Kotlin
rt(axis=1)[:, :negative_samples] top_k_index = np.array([np.insert(QnT_dist, 0, i) for i, QnT_dist in enumerate(QnT_dists_topk)]) return top_k_index ``` 由于距离计算发生在 CPU 中,因此这可能会使在 GPU 机器上的训练变慢。 FaceNet 模型是训练人脸相似模型的最新方法。 # DeepNet 模型 DeepNet 模型用于学习用于人脸验证任务(例如 FaceNet)的人脸嵌入。 这是对上一部分中讨论的 FaceNet 方法的改进。 它需要对同一张脸进行...
Markdown
elf.spanning_tree:outgoing(node) node.pos.x = 0 local child_depth = layers[node] + 1 if #children > 0 then -- First, compute positions for all children: for i=1,#children do self:computeHorizontalPosition(children[i].head, layers, descendants) end -- Now, compute minimum distances an...
Lua
to * allow l2x0_regs_phys to be accessed with a relative load while we * can't rely on any MMU translation. We could have put l2x0_regs_phys * in the .text section as well, but some setups might insist on it to * be truly read-only. (Reference from: arch/arm/kernel/sleep.S) */ .data .align /* * sleep m...
Assembly
m 1: mov >Abi0=int32#3,<Abi0=int32#8 # asm 2: mov >Abi0=r2,<Abi0=r7 mov r2,r7 # qhasm: mem32[statep + 16] = Abu0 # asm 1: str <Abu0=int32#6,[<statep=int32#9,#16] # asm 2: str <Abu0=r5,[<statep=r8,#16] str r5,[r8,#16] # qhasm: assign r0 r1 to Aba0 Abe0;mem64[statep + 0] = Aba0 Abe0 # asm 1: strd <Aba0=int32#1,[<statep...
Assembly
| float | 涨停价 | N | | 4 | down_limit | float | 跌停价 | N | ### 沪深股通资金流向: `hs_money_flow` 数据表用途: `reference`, 资产类型: `none`, 数据频率: `d` 沪深股通资金流向表包含了沪深股通的资金流向数据,包括港股通(沪)和港股通(深)的资金流向数据。 | | columns | dtypes | remarks | is_prime_key | |--:|:------------|:-------|:----------|...
Markdown
*************************************************************** ; a0 = pointer to extended precision operand ; ; OUTPUT ************************************************************** ; d0 = value of type tag ; one of: NORM, INF, QNAN, SNAN, DENORM, ZERO ; ; ALGORITHM ********************...
Assembly
(); } public BlockPos next() { BlockPos blockpos = this.iteratorAxis.next(); switch (this.axis) { case 0: this.blockPos.setXyz(blockpos.getX() * this.kX, blockpos.getY() * this.kY, blockpos.getZ() * this.kZ); return this.blockPos; ...
Java
== null) { continue; } var url = langJson[lang.offTag] as String?; // use the url to build the image if (url == null) { continue; } var image = ProductImage( field: field, size: size, language: lang...
Dart
length !== 2) { console.log("Usage: node mintNft.ts <to> <tokenId>"); process.exit(1); } const walletPrivateKey = process.env.WALLET_PRIVATE_KEY || ""; const apiKey = process.env.HOKUSAI_API_KEY || ""; const contractId = process.env.HOKUSAI_CONTRACT_ID || ""; const contractAddress = "0x73b5373a27f4a2...
Typescript
ING: '{count|sqrt|round}', } const formatters = { uppercase, manualUppercase: (value: string) => value.toUpperCase(), lowercase, censorNumbers: replace(/[0-9]/g, '*'), dateEN: date('en'), dateCUSTOM: date('en', { day: 'numeric', month: 'long', year: '2-digit' }), noSpaces: (value: string) => value.replace(/\s/g...
Typescript
Das [Knopf-Plugin](https://freesewing.dev/reference/plugins/buttons/) bietet neue [Knopfloch-Beginn](https://freesewing.dev/reference/snippets/buttonhole-start) und [Knopfloch-Ende](https://freesewing.dev/reference/snippets/buttonhole-end) Snippets - Das [Dimensions-Plugin](https://freesewing.dev/reference/plugins/dim...
Markdown
// Copyright (c) Kiyan Yang. // Licensed under the MIT License. using System.ComponentModel; using System.Text.Json.Serialization; using CommunityToolkit.Mvvm.Messaging; using DotVast.HashTool.WinUI.Enums; namespace DotVast.HashTool.WinUI.Models; public sealed partial class HashSetting : ObservableObject { pub...
C#
ult.get(sel2), new BlockClassSelector({ class: "myelement", state: "animating" })); }); }); import { createSlice, PayloadAction } from '@reduxjs/toolkit' const initialState = { value: null as Required<TProduct>[] | null, } const cartSlice = createSlice({ name: 'cart', initialState, reducers: { setCart:...
Typescript
codes[hash] = code batch.size += common.HashLength + uint64(len(code)) } // addNode caches a node database write operation. func (batch *syncMemBatch) addNode(owner common.Hash, path []byte, blob []byte, hash common.Hash) { if batch.scheme == rawdb.PathScheme { if owner == (common.Hash{}) { batch.size += uint64...
Go
package llm import ( "github.com/belingud/gptcomet/pkg/config" "github.com/belingud/gptcomet/pkg/types" ) // XAILLM implements the LLM interface for XAI type XAILLM struct { *OpenAILLM } // NewXAILLM creates a new XAILLM func NewXAILLM(config *types.ClientConfig) *XAILLM { if config.APIBase == "" { config.API...
Go
ken and wreathe the moment you try to grab it.") player:teleportTo(fromPosition, true) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) return false end for value in pairs(config) do if Position(config[value].position) == item:getPosition() then player:teleportTo(Position(config[value].destination))...
Lua
eight: 800px; } .slider6-bg .slider-content h1 { font-size: 100px; } .slider2-bg .slider-content h1 { font-size: 60px; } .slider-area .shape { max-width: 38px; } .slider-area .shape.sm-shape { max-width: 10px; } .slider2-bg .slider-content span img { width: 110px; } .slider-a...
CSS
ic BitriseProvider(ICakeEnvironment environment, IProcessRunner processRunner) { _environment = environment ?? throw new ArgumentNullException(nameof(environment)); _processRunner = processRunner ?? throw new ArgumentNullException(nameof(processRunner)); Environment = new Bit...
C#
"1.0.0-TEST" ) } private fun mockFileWalker(vararg files: ParsingTestHelper.CodeFile) { val absolutePaths = files.map { "src/test/resources/tmp/${it.fileName}" } Mockito.`when`(fileWalker.walk(Mockito.anyString())).thenReturn(absolutePaths) } private fun mockVsCode...
Kotlin
_FROM_DIRECTORY_PROMPT, "args_schema": DirectoryPath, }, { "mode": "search_issues_and_prs", "name": "Search issues and pull requests", "description": SEARCH_ISSUES_AND_PRS_PROMPT, "args_schema": SearchIssuesAndPRs, ...
Python
; k<n; ++k,ir+=2,ii+=2,jr+=2,ji+=2) { float fir = f[ir]; f[ir] = f[jr]; f[jr] = fir; float fii = f[ii]; f[ii] = f[ji]; f[ji] = fii; } } private static void crotateLeft(int n, int j, float[] f) { float fjr = f[j*2 ]; float fji = f[j*2+1]; int i = j+1, ir = 2*i, ii = ir+1; for (int k=...
Java
nl.exe", 0x3c6380, 0x0, true, 0x7e0d2230e763bbf5) #define _u0(...) _SDK_MAGIC_LINK(_SDK_ESCAPE(sdk::unknown_ptr), "$Kd_GPIO_Mask$ntoskrnl.exe", 0xcf48e8, 0x0, true, 0x2c79fa9b76049433) #define _u1(...) _SDK_MAGIC_LINK(_SDK_ESCAPE(sdk::unknown_ptr), "$Kd_HALIA64_Mask$ntoskrnl.exe", 0xcf4ad0, 0x0, true, 0x5f528bc1245b943...
C++
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices */ @interface GEOAvailableExperimentBranch : NSObject { NSMutableArray * _assignments; NSArray * _clientConfig; NSString * _experimentIdentifier; NSString * _label; NSString * _name; } @pr...
C
.266c1.717 1.74 3.928 2.686 6.314 2.686 2.334 0 4.6-0.945 6.361-2.658 1.689-1.641 2.611-3.828 2.611-6.289 0-2.387-0.945-4.623-2.584-6.289-1.7-1.745-3.94-2.663-6.38-2.663zm7.78 9.024c0 2.064-0.799 3.979-2.26 5.393-1.543 1.494-3.457 2.289-5.57 2.289-1.986 0-3.949-0.818-5.418-2.311-1.465-1.494-2.287-3.406-2.287-5.443 0-2....
CSS
EXEC sp_updateextendedproperty 'MS_Description', N'${it.first.kDoc}', 'SCHEMA', N'dbo', 'TABLE', N'$tableName', 'COLUMN', N'${it.first.columnName}'; END ELSE BEGIN EXEC sp_addextendedproperty 'MS_Description', N'${it...
Kotlin
// SPDX-License-Identifier: GPL-2.0 /* * SCMI Generic power domain support. * * Copyright (C) 2018-2021 ARM Ltd. */ #include <linux/err.h> #include <linux/io.h> #include <linux/module.h> #include <linux/pm_clock.h> #include <linux/pm_domain.h> #include <linux/scmi_protocol.h> static const struct scmi_power_proto_...
C
// a0_i*b3_r .endm .macro KERNEL4x1_1 lxsspx vs4, o0, AO // load a0_r lxsspx vs5, o4, AO // load a0_i addi AO, AO, 8 lxsspx vs16, o0, BO // load b0_r lxsspx vs17, o16, BO // load b0_i lxsspx vs18, o32, BO // load b1_r lxsspx vs19, o48, BO // load b1_i addi BO, BO, 64 lxsspx vs20, ...
Assembly
tip-auto[x-placement^="left"] .arrow::before{left:0;border-width:0.4rem 0 0.4rem 0.4rem;border-left-color:#000}.tooltip-inner{max-width:200px;padding:0.25rem 0.5rem;color:#fff;text-align:center;background-color:#000;border-radius:0.25rem}.popover{position:absolute;top:0;left:0;z-index:1060;display:block;max-width:276px...
CSS
.takes_value(true) .help("Sepcify which branch to checkout. If no brach is given the repo's `HEAD` branch is used."), Arg::with_name("source") .long("source").short("s") .takes_value(true) .default_value("github") .possible_values(&["gi...
Rust
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2010-2016 Intel Corporation */ #ifndef __L3FWD_LPM_SSE_H__ #define __L3FWD_LPM_SSE_H__ #include "l3fwd_sse.h" /* * Read packet_type and destination IPV4 addresses from 4 mbufs. */ static inline void processx4_step1(struct rte_mbuf *pkt[FWDSTEP], __m128i *...
C
/**************************************************************************** ** ** qutIM - instant messenger ** ** Copyright © 2011 Ivan Vizir <define-true-false@yandex.com> ** ***************************************************************************** ** ** $QUTIM_BEGIN_LICENSE$ ** This program is free software: yo...
C
Tasks()) { handler.post(task) } else { addRunTasks(task) } } } /** * 遍历依赖树并完成启动前的初始化 * 1.获取依赖树最大深度 * 2.遍历初始化运行时数据并打印log * 3.如果锚点不存在,则移除 * 4.提升锚点链的优先级 * * @param task */ internal fun traversalDependencies...
Kotlin
::DSCP_AF13); vDscpTypes.push_back (Ipv4Header::DSCP_CS2); vDscpTypes.push_back (Ipv4Header::DSCP_AF21); vDscpTypes.push_back (Ipv4Header::DSCP_AF22); vDscpTypes.push_back (Ipv4Header::DSCP_AF23); vDscpTypes.push_back (Ipv4Header::DSCP_CS3); vDscpTypes.push_back (Ipv4Header::DSCP_AF31); vDscpTypes.push_ba...
C++
relative; } .markdown-body h1:hover .header-link:before, .markdown-body h2:hover .header-link:before, .markdown-body h3:hover .header-link:before, .markdown-body h4:hover .header-link:before, .markdown-body h5:hover .header-link:before, .markdown-body h6:hover .header-link:before { content: "\00B6";/* pilcrow */ ...
CSS
e how astonished we were when we arrived here to discover the temple had been sunk.$b$bThe green dragons now guard the site, claiming to be protectors of Azeroth.$b$bWe need to discover what happened. Explore around the Pool of Tears and gather Atal\'ai artifacts. From those I can begin to piece together this puzzle.",...
Lua
// This file was generated by the Gtk# code generator. // Any changes made will be lost if regenerated. namespace Gst.WebRTC { using System; using System.Collections; using System.Collections.Generic; using System.Runtime.InteropServices; #region Autogenerated code public partial class WebRTCSCTPTransport : Gst...
C#
.material3.ConfirmationDialogDefaults import androidx.wear.compose.material3.Icon import androidx.wear.compose.material3.confirmationDialogCurvedText import com.omelan.cofi.wearos.R @Composable fun OpenOnPhoneConfirm(isVisible: Boolean, onTimeout: () -> Unit) { val curvedTextStyle = ConfirmationDialogDefaults.curv...
Kotlin
add-expiration-support"}, {ID: "v1.42.1", Tag: "v1.42.1", Migration: "add-expiration-support"}, {ID: "v1.40.1", Tag: "v1.40.1", Migration: "add-expiration-support"}, {ID: "v1.39.1", Tag: "v1.39.1", Migration: "add-transaction-metadata-table"}, {ID: "v1.38.0", Tag: "v1.38.0", Migration: "add-transaction-metadata...
Go
variable. (Ok(ref val), Some(_), Some(default)) if val == "" => { default.as_str().to_owned() } // A set environment variable. (Ok(val), _, _) => val, // An unset environment with a default value provided. ...
Rust
eObj = new Date(+dateArr[0], (+dateArr[1] - 1), +dateArr[2]); return dateObj.toLocaleDateString('ru-RU', { day: 'numeric', month: 'long', year: 'numeric' }); } } export class AddEditCounter { add: number = 0; edit: number = 0; constructor(add: number, edit: number) { if (add) t...
Typescript
("Nombre:", "entry_nombre"), ("Correo:", "entry_correo"), ("Contraseña:", "entry_pass"), ("Teléfono:", "entry_tel") ] entries = {} for i, (label, name) in enumerate(fields): ttk.Label(reg_form, text=label).grid(row=i, column=0, sticky=...
Python
# CHECK: vqrdmlah.s16 q0, q2, r10 @ encoding: [0x14,0xee,0x4a,0x0e] # CHECK-NOFP: vqrdmlah.s16 q0, q2, r10 @ encoding: [0x14,0xee,0x4a,0x0e] vqrdmlah.s16 q0, q2, r10 # CHECK: vqrdmlah.s32 q0, q4, r11 @ encoding: [0x28,0xee,0x4b,0x0e] # CHECK-NOFP: vqrdmlah.s32 q0, q4, r11 @ encoding: [0x28,0xee,0x4b,0x0e] vqrdmlah...
Assembly
ORE_FAST', 125) # Local variable number haslocal.append(125) def_op('DELETE_FAST', 126) # Local variable number haslocal.append(126) def_op('RAISE_VARARGS', 130) # Number of raise arguments (1, 2, or 3) def_op('CALL_FUNCTION', 131) # #args def_op('MAKE_FUNCTION', 132) # Flags def_op('BUILD_SLICE', ...
Python
voxel_Thing* voxel_newFunctionBuiltin(voxel_Context* context, voxel_Count builtinFunctionIndex) { voxel_Thing* thing = voxel_newThing(context); VOXEL_TAG_NEW_THING(VOXEL_TYPE_FUNCTION); builtinFunctionIndex++; builtinFunctionIndex *= -1; thing->type = VOXEL_TYPE_FUNCTION; thing->value = (void*)(vo...
C
LUSH, 0, &error); if (res == MP_STREAM_ERROR) { mp_raise_OSError(error); } return mp_const_none; } MP_DEFINE_CONST_FUN_OBJ_1(mp_stream_flush_obj, stream_flush); static mp_obj_t stream_ioctl(size_t n_args, const mp_obj_t *args) { mp_buffer_info_t bufinfo; uintptr_t val = 0; if (n_args > ...
C
ent { notas:Nota[]; alertarNotaGuardada:boolean; alertarNotaEliminada:boolean; alertarFormIncompleto:boolean; constructor() { this.alertarNotaGuardada = false; // la nota posee clase invisible desde el principio this.alertarFormIncompleto = false; this.notas = new Array<Nota>(); ...
Typescript
기어", [4847] = "로트윌의 정령 봉인 족쇄", [4848] = "전투멧돼지 주둥이", [4849] = "전투멧돼지 갈빗살", [4850] = "뾰족털일족의 작전도", [4851] = "지저분한 지도", [4852] = "섬광탄", [4854] = "악마의 흔적이 남은 망토", [4859] = "불타는 칼날단 메달", [4860] = "반짝이는 프렌지 비늘", [4861] = "손질된 깃털 튜닉", [4862] = "일꾼전갈 꼬리", [4863] = "노움 공구", [4864] = "민시나의 해골", [4865] = "손상된 모피", [4866] = "잘라제인...
Lua
superseded by [MediaPlayer](/uwp/api/Windows.Media.Playback.MediaPlayer), [IMFMediaEngine](/windows/win32/api/mfmediaengine/nn-mfmediaengine-imfmediaengine), and [Audio/Video Capture in Media Foundation](/windows/win32/medfound/audio-video-capture-in-media-foundation). Those features have been optimized for Windows 10...
Markdown
r-icon-height); color: var(--rv-action-bar-icon-text-color); font-size: var(--rv-action-bar-icon-font-size); line-height: 1; text-align: center; background-color: var(--rv-action-bar-icon-background-color); cursor: pointer; & > .taroify-badge-wrapper { align-self: center; } &:active { backgr...
CSS
ve(this, Observer { recycling.submitList(it) }) viewModel.getNetworkState().observe(this, Observer { recycling.submitNetworkState(it) }) } }/* * Created by Muhammad Utsman on 8/18/19 3:55 AM * Copyright (c) 2019 . All rights reserved. * Last modified 8/18/19 3:55 ...
Kotlin
announceLog = "recoverTarget", }, announce_recovered_sol_walkergear = { announceLog = "achieveAllObjectives", }, announce_recovered_sol_recover = { announceLog = "recoverTarget", }, announce_recovered_hostage = { announceLog = "achieveAllObjectives", }, announce_recovered_executioner = { announc...
Lua
/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2021 Gateworks Corporation */ #ifndef _VENICE_EEPROM_H_ #define _VENICE_EEPROM_H_ struct venice_board_info { u8 mac[6]; /* 0x00: MAC base */ char equiv_dts[16]; /* 0x06: equivalent device-tree */ u8 res0[2]; /* 0x16: reserved */ u32 serial; /* 0x18: Serial...
C
\ { \ r1 = sprintf(buf1, fmt[i], val[j]); \ r2 = snprintf(buf2, sizeof(buf2), fmt[i], val[j]); \ if (strcmp(buf1, buf2) != 0 || r1 != r2) \ { ...
C
(j>nbv-1 || j<0) _error_("Bad corner definition: should in [0 " << nbv << "]"); /*Required => at the same time SetRequired and SetCorner*/ vertices[j].SetCorner(); vertices[j].SetRequired(); } } //RequiredVertices if(bamggeom->RequiredVertices){ if(verbose>5) _printf_(" processing Require...
C++
RY: 'Retry', WEEK_SCREEN_NETWORK_ERROR_REASON: 'Unable to get today\'s date.\nPlease check your internet.', SETTINGS_DEVELOPER: 'Developer', SETTINGS_USE_REAL_FIRST_LAUNCH_DATE: 'Use real first launch date', SETTINGS_CUSTOM_FIRST_LAUNCH_DATE: 'Set custom first launch date', WARNING: 'Warni...
Dart
w r0, 0xc(r1) /* 804436D0 00440610 93 A1 00 10 */ stw r29, 0x10(r1) /* 804436D4 00440614 4B FF D0 21 */ bl setCommand__13MemoryCardMgrFP24MemoryCardMgrCommandBase /* 804436D8 00440618 38 7C 00 AC */ addi r3, r28, 0xac /* 804436DC 0044061C 4B CA C5 69 */ bl OSUnlockMutex /* 804436E0 00440620 38 7C 00 C4 */ addi r3,...
Assembly
object:Double object:Character object:Boolean object: byte value: short value: int value: long value: float value:double value: char value: bool value:  e$java/lang/invoke/StringConcatFactory(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/Stri...
Java
TER); msg.Append(Lat.ToString("#0.0000000", CultureInfo.InvariantCulture)); msg.Append(DELIMITER); msg.Append(Lon.ToString("#0.0000000", CultureInfo.InvariantCulture)); msg.Append(DELIMITER); msg.Append(TrueAltitude); msg.Append(DELIMITER); msg.Append(GroundSpeed)...
C#
} private fun toggleScreenMode() { logger.logDebug("KeyPressHandler::toggleScreenMode::") monitorManager.toggleScreenMode() } } @file:Suppress("UNUSED_PARAMETER") package de.atennert.lcarswm.system import kotlinx.cinterop.* import platform.linux.mq_attr import platform.linux.mqd_t import plat...
Kotlin
: new PageIndicator( layout: PageIndicatorLayout.SCALE, size: FlutterScreenUtil.ScreenUtil().setWidth(30.0), controller: widget.pageController, space: FlutterScreenUtil.ScreenUtil().setWidth(15.0), count: widget.photos.length, ...
Dart
BigDecimal ipvAmt = invoicePrice.subtract(orderPrice).multiply(BigDecimal.TEN); List<FactAcct> expected = Arrays.asList(new FactAcct(acctAsset, ipvAmt, 2, true), new FactAcct(nirAccount, orderPrice.multiply(BigDecimal.TEN), 2, true), new FactAcct(acctInvClr, invoicePrice.multiply(BigDecimal.TEN), 2, f...
Java
pCursor)>> onGetCursor; external ffi.Pointer<ffi.NativeFunction<ffi.Int32 Function(ffi.Pointer<ma_data_source> pDataSource, ffi.Pointer<ma_uint64> pLength)>> onGetLength; external ffi.Pointer<ffi.NativeFunction<ffi.Int32 Function(ffi.Pointer<ma_data_source> pDataSource, ma_bool32 isLooping)>> onSetLooping; @ma...
Dart
type>", wp::SectionCode::Import => "<import>", wp::SectionCode::Function => "<function>", wp::SectionCode::Table => "<table>", wp::SectionCode::Memory => "<memory>", wp::SectionCode::Global => "<global>", wp::SectionCode::Export => "<export>", ...
Rust
ed. It /// receives the value of the radio and must produce a `Message`. /// /// [`Radio`]: struct.Radio.html pub fn new<F, V>(value: V, label: &str, selected: Option<V>, f: F) -> Self where V: Eq + Copy, F: 'static + Fn(V) -> Message, { Radio { is_selected:...
Rust
vendor) { try { Console.WriteLine("DatabaseChunkBuilder"); var part = new DatabaseChunkPart(_chunkId, _createPersonBuilder, "0", 0); var timer = new Stopwatch(); timer.Start(); var result = part.Load(sour...
C#
"Labels", pv.ObjectMeta.Labels) printAnnotationsMultiline(w, "Annotations", pv.ObjectMeta.Annotations) w.Write(LEVEL_0, "Finalizers:\t%v\n", pv.ObjectMeta.Finalizers) w.Write(LEVEL_0, "StorageClass:\t%s\n", storageutil.GetPersistentVolumeClass(pv)) if pv.ObjectMeta.DeletionTimestamp != nil { w.Write(LEVEL_0,...
Go
file an issue at https://github.com/Azure/autorest.csharp/issues/new with details to reproduce.\n"; // We wrap all 'reported' errors in a custom exception type so CSharpGen can recognize them as not internal errors and not show 'Internal error in AutoRest.CSharp' internal static void ThrowError (strin...
C#
// Print offset print!("{:04X}: ", from); // Print hex bytes for n in from..from + bytes { match buf.get(n) { Some(x) => print!("{:02X} ", x), None => print!(" "), } } // Print ascii bytes print!(" "); for n in from..from + bytes { matc...
Rust
* logDepthBufFC * 0.5;\n#endif",logdepthbuf_pars_fragment:"#ifdef USE_LOGDEPTHBUF\n\tuniform float logDepthBufFC;\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t#endif\n#endif\n",logdepthbuf_pars_vertex:"#ifdef USE_LOGDEPTHBUF\n\t#ifdef USE_LOGDEPTHBUF_EXT\n\t\tvarying float vFragDepth;\n\t#endif\n\tu...
JavaScript
IOTA WITH DIALYTIKA 0x03CB => Some("upsilondieresis"), // GREEK SMALL LETTER UPSILON WITH DIALYTIKA 0x03CC => Some("omicrontonos"), // GREEK SMALL LETTER OMICRON WITH TONOS 0x03CD => Some("upsilontonos"), // GREEK SMALL LETTER UPSILON WITH TONOS 0x03CE => Some("omeg...
Rust
import mlflow import pandas as pd # Configurer MLflow pour pointer vers DAGsHub MLFLOW_TRACKING_URI = "https://dagshub.com/dioneousseynou03/end_to_end_MLOps_Project.mlflow" # set MLflow Username # set MLflow Password mlflow.set_tracking_uri(MLFLOW_TRACKING_URI) experiment_name = "Default" experiment = mlflow.get_exp...
Python
SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ...
Assembly
_DASH_COLOR); else super.draw(canvas); } public void setBlueprint(boolean isBlueprint) { this.isBlueprint = isBlueprint; invalidate(); } } package com.itsvks.layouteditorx.editor.palette.layouts; import android.widget.TableLayout; import android.content.Context; import android.graphics.Canvas; impo...
Java
symbol', name: `${modelName}State`, fileName, }, } as FunctionParameter, ].concat(...type.parameters), returnType: { kind: 'primitive', value: 'boolean', }, }, }); return result; }, [...
Typescript
roundMonster _0203DBD0: ldr r0, _0203E4B0 ; =_020AFE74 ldr r2, [r0] ldrsh r1, [r2, #0x38] str r1, [r2, #0x8c] ldr r4, [r0] ldr r0, [r4, #8] cmp r0, #2 bne _0203DC18 ldr r0, _0203E4B8 ; =0x0000101C ldr r1, _0203E4E0 ; =0x0000027A add r2, r4, #0x8c bl sub_02046BE8 bl sub_0203F00C ldr r0, _0203E4B0 ; =_020AF...
Assembly
ownDown())) then if Cast(Trinket1, nil, Settings.CommonsDS.DisplayStyle.Trinkets, not Target:IsInRange(VarTrinket1Range)) then return "trinket1 (" .. Trinket1:Name() .. ") items 18"; end end -- use_item,slot=trinket2,if=!variable.trinket_2_buffs&(variable.damage_trinket_priority=2|trinket.1.cooldown.remai...
Lua
w \2", "Restore Defaults"} if cfgTempDisplaySel == 1 then isTempDisplayF = false break elseif cfgTempDisplaySel == 2 then isTempDisplayF = true break elseif cfgTempDisplaySel == 3 then if (screen.popYesOrNo("Restore defaults?",color.yellow)) then setTemperatureDisplayDe...
Lua
'__group_ids': [], '__group_names': [], 'user_domain_memberships': [] }) real_scroll = query.scroll with patch.object(query, "scroll", scroll_then_delete_one): self.assertEqual([doc1], list(query.scroll_ids_to_disk_and_iter_docs())) def test_ex...
Python
ungeon.items.wands.Wand; import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfBlastWave; import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfCorrosion; import com.shatteredpixel.shatteredpixeldungeon.items.wands.WandOfPrismaticLight; import com.shatteredpixel.shatteredpixeldungeon.items.weapo...
Java