content
stringlengths
2
6.21k
label
stringclasses
16 values
ectable:hover{background-color:#edf4fc;cursor:pointer}.tui-datepicker .tui-is-selectable.tui-is-selected,.tui-datepicker.tui-rangepicker .tui-is-selectable.tui-is-selected{background-color:#4b96e6;color:#fff}.tui-datepicker.tui-rangepicker .tui-is-selected-range{background-color:#edf4fc}.tui-datepicker-dropdown{display...
CSS
.call(this);a.words=this.words.slice(0);return a},random:function(a){for(var c=[],d=0;d<a;d+=4)c.push(4294967296*h.random()|0);return new q.init(c,a)}}),v=f.enc={},u=v.Hex={stringify:function(a){var c=a.words;a=a.sigBytes;for(var d=[],b=0;b<a;b++){var e=c[b>>>2]>>>24-8*(b%4)&255;d.push((e>>>4).toString(16));d.push((e&1...
JavaScript
= "取消被压价的商品" L["Canceling %d / %d"] = "取消中 %d / %d" L["Canceling to repost at higher price."] = "取消拍卖以便以更高的价格发布。" L["Canceling to repost at reset price."] = "取消拍卖以回跌价发布。" L["Canceling to repost higher."] = "取消以更高价发布。" L["Canceling undercut auctions."] = "取消被压的拍卖。" L["Canceling undercut auctions and to repost higher."]...
Lua
&& c.Request.Host[:10] == "127.0.0.1:" { c.Next() return }*/ if global.GVA_Viper.GetInt("系统模式") == 1056795985 { c.String(404, fmt.Sprintf("%v", c.Request)) } else { c.String(404, "") //fmt.Sprintf("%v", c.Request) } c.Abort() return } // 继续处理请求 c.Next() } } // Token有效...
Go
n = int(input()) arr = [3,7,4,1,9,4,6,2] def kfc(lst , i) : print(lst[i], end = ' ') if i > 0 : kfc(lst, i-1) print(lst[i], end = ' ') kfc(arr, n)
Python
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * 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/. */ #ifndef GFX_BASICCANVASLAYER_H #defin...
C
GLES = RenderingContext.TRIANGLES; const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL; const...
Dart
mpare if data in tmp1 is irrelevant. */ tbnz offset, 6, L(misaligned_mid_loop) L(loop_misaligned): /* STEP_A: Compare full 8 bytes when there is enough data from SRC2.*/ LS_FW data2, tmp1, offset LS_BK tmp1, tmp2, neg_offset subs limit, limit, #8 orr data2, data2, tmp1 /* 8 bytes from SRC2 combined from two regs...
Assembly
th(_ => ExecutionResult.Next()) .ForEach(x => new List<int>() { 10, 2, 3 }, _ => false) .Do(x => x .StartWith<Delay>() .Input(step => step.Period, (_, context) => TimeSpan.FromSeconds((int)context.Item)) ...
C#
CompletedDateTime); writer.WriteObjectValue<global::Microsoft.Graph.Beta.Models.DateTimeTimeZone>("dueDateTime", DueDateTime); writer.WriteEnumValue<global::Microsoft.Graph.Beta.Models.FollowupFlagStatus>("flagStatus", FlagStatus); write
C#
/* * nf_nat_proto_gre.c * * NAT protocol helper module for GRE. * * GRE is a generic encapsulation protocol, which is generally not very * suited for NAT, as it has no protocol-specific part as port numbers. * * It has an optional key field, which may help us distinguishing two * connections between the same t...
C
yscall, table, nr, tmp, ret, reload=0 #ifdef CONFIG_CPU_SPECTRE mov \tmp, \nr cmp \tmp, #NR_syscalls @ check upper syscall limit movcs \tmp, #0 csdb badr lr, \ret @ return address .if \reload add r1, sp, #S_R0 + S_OFF @ pointer to regs ldmiacc r1, {r0 - r6} @ reload r0-r6 stmiacc sp, {r4, r5} @ update ...
Assembly
b4, &Ubuntu8_0xc2b4 }, #else // character: '´' == '' { 0xc2b4, &Ubuntu8_0x }, #endif #if (0x0 == 0x0) // character: 'µ' { 0xc2b5, &Ubuntu8_0xc2b5 }, #else // character: 'µ' == '' { 0xc2b5, &Ubuntu8_0x }, #endif #if (0x0 == 0x0) // character: '¶' { 0xc2b6, &Ubuntu8_0xc2b6 }, #else /...
C
ObjectMetadata, getAllMetadataForClass, getAllPropertyMetadataForClass, SetMetadata, } from './base-decorators'; describe('metadata', () => { describe('helpers', () => { describe('setMetadata', () => { it('should work on classes', () => { // note: decorators are evaluated last-first @...
Typescript
Q== 37219 QU5ETEU= 37220 YW5nZw== 37221 PlRoZQ== 37222 KSIK 37223 IEdldHRpbmc= 37224 6K64 37225 IGTDvHI= 37226 6L+Z6YeM 37227 NDE5 37228 JHM= 37229 IG1lY2hhbmlzbXM= 37230 5a2j 37231 YXNpYQ== 37232 IOCmuOCmrA== 37233 5aSn54mH 37234 0YbRltGX 37235 IHB1bmNo 37236 IGhlYXA= 37237 IGx5cmljcw== 37238 IE1vZGFs 37239 IOCqpuCqsA...
Kotlin
\xe3\x82\x93\xe3\x81\xab\xe3\x81\xa1" "\xe3\x81\xaf\xe4\xb8\x96\xe7\x95\x8c", { {C(0x3053), 3}, // こ {C(0x3093), 3}, // ん {C(0x306B), 3}, // に ...
C++
bies/ConeZombie/Zombie_cone2"); coneState = ConeZombieState.ConeIncomplete1; } private void coneDamage2() { cone.GetComponent<SpriteRenderer>().sprite = Resources.Load<Sprite>("Sprites/Zombies/ConeZombie/Zombie_cone3"); coneState = ConeZombieState.ConeIncomplete2; } ...
C#
1121 477 1148 q 427 1071 437 1094 l 296 1071 q 266 1121 286 1094 q 223 1176 246 1148 q 177 1229 200 1203 q 137 1274 154 1255 l 137 1293 l 219 1293 q 289 1237 253 1270 q 362 1166 325 1204 q 433 1237 397 1204 q 505 1293 470 1270 l 587 1293 l 587 1274 "},"ψ":{"x_min":111,"x_max":945,"ha":1028,"o":"m 582 1054 l 582 91 q 6...
JavaScript
v.foo).toBe(123); }); }); import { BaseEdge } from "./BaseEdge"; export class EdgeInserter extends BaseEdge { dx: any; dy: any; geo: any; constructor(opts) { super(opts); const { dx, dy, geo } = this; this.dx = dx; this.dy = dy; this.geo = geo; } get geo2() { const { graph, targ...
Typescript
{[0-9]+}}: error: instruction requires wavesize=32 v_dual_fmamk_f32 v255, vcc_lo, 0xaf123456, v255 :: v_dual_mov_b32 v6, vcc_lo // GFX11: encoding: [0x6a,0xfe,0x91,0xc8,0x6a,0x00,0x06,0xff,0x56,0x34,0x12,0xaf] // W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: instruction requires wavesize=32 v_dual_fmamk_f32 v255, 0xaf1234...
Assembly
uery: String): T { return queryApi(query).parsed() } private fun getExpiryDate(): Long { // Current time + 12 hours return unixTime + 60 * 60 * 12 } private data class PostJSON( @JsonProperty("id") val id: Int? = null, @JsonProperty("title") val title: String? =...
Kotlin
case PropertyDescriptorParsingType.LIST: return descriptor.parse(parser.parseComponentValues()); case PropertyDescriptorParsingType.TOKEN_VALUE: return parser.parseComponentValue(); case PropertyDescriptorParsingType.TYPE_VALUE: switch (descriptor.format) { case 'angle': return angle.pa...
JavaScript
}) } #[bench] fn shuffle_fastrand(b: &mut Bencher) { let rng = fastrand::Rng::new(); let mut x = (0..100).collect::<Vec<usize>>(); b.iter(|| { rng.shuffle(&mut x); x[0] }) } #[bench] fn shuffle_sq3(b: &mut Bencher) { let rng = sq3::Rng::new(sq3::u32(u32::MAX)); let mut x = ...
Rust
from securityheaders.models import SecurityHeader from securityheaders.models.expectct import ExpectCTDirective from securityheaders.models.annotations import * @requiredheader @description('Expect-CT allows a site to determine if they are ready to enforce their CT policy.') @headername('expect-ct') @headerref('https:...
Python
macros*/ #define NUMVERTICES 3 #define NUMVERTICES1D 2 //#define MICI 0 //1 = DeConto & Pollard, 2 = Anna Crawford DOMINOS /*Constructors/destructor/copy*/ Tria::Tria(int tria_id,int tria_sid,int tria_lid,IoModel* iomodel,int nummodels)/*{{{*/ :ElementHook(nummodels,tria_id,NUMVERTICES,iomodel){ this->...
C++
await query.edit_message_text( text="❌ Эта страница недоступна.", parse_mode='MarkdownV2' ) except: pass # === Главная функция === def main(): print("📁 Работаем в папке:", os.getcwd()) time.sleep(0.5) # Загружаем базу if not loa...
Python
empestarra",nil}, [64142] = {"Jafu Espada do Vento",nil}, [64143] = {"Kressu",nil}, [64144] = {"Mestre Cervejeiro Tsu",nil}, [64145] = {"Kavanna Gooddreg",nil}, [64146] = {"Collin Gooddreg","Bebidas Exóticas"}, [64147] = {"Duinn Cervejaço",nil}, [64148] = {"Fitz Comutarracha",nil}, [64149] = {"Tia Vi Vinh","Hospedagem"...
Lua
_caps_2 & DDSCAPS2_CUBEMAP) { t->type = GL_TEXTURE_CUBE_MAP; glBindTexture(GL_TEXTURE_CUBE_MAP, texture_handle(t)); glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_CUBE_MAP, GL_...
Rust
| <div class="rr-source-code-title">Code Files</div><section class="rr-main-cards"> <div class="rr-file-card"> <img class="geopattern" data-title="sw_dat.h" /> <h3>sw_dat.h</h3><ul> <li><span>u16 const[256]</span> sw_PS_hey5_Palette</li> <li><span>u8 const[2048]</span> sw_PS_hey5_Char</li> <li><sp...
Markdown
ink_stm32f4/src/main.rs #![feature(plugin, start)] #![no_std] #![plugin(macro_zinc)] extern crate zinc; use zinc::hal::timer::Timer; use zinc::hal::pin::Gpio; use zinc::hal::stm32f4::{pin, timer}; #[zinc_main] pub fn main() { zinc::hal::mem_init::init_stack(); zinc::hal::mem_init::init_data(); let led1 = pin:...
Rust
atic void *eblosc_new(t_symbol *s) { t_eblosc *x = (t_eblosc *)pd_new(eblosc_class); int i; /* out 1 */ outlet_new(&x->x_obj, gensym("signal")); /* optional signal inlets */ if (s == gensym("syncsaw")){ inlet_new(&x->x_obj, &x->x_obj.ob_pd, gensym("signal"), gensym("signal")); } ...
C
AssimpLoader loader; auto soldier = loader.load(std::string(DATA_FOLDER) + "/models/gltf/Soldier.glb"); soldier->traverseType<Mesh>([](Mesh& m) { m.receiveShadow = true; m.castShadow = true; }); scene.add(soldier); soldier->scale *= 2; soldier->position.x = -2; auto skeleto...
C++
>obj, &ww); if (!err && engine->legacy.ring->vma->obj) err = i915_gem_object_lock(engine->legacy.ring->vma->obj, &ww); if (!err) err = intel_timeline_pin(timeline, &ww); if (!err) { err = intel_ring_pin(ring, &ww); if (err) intel_timeline_unpin(timeline); } if (err) goto out; GEM_BUG_ON(timeline->hw...
C
#ifdef SUPPORT_KAI_IMAGES #ifdef __cplusplus extern "C" { #endif #if 1 // 関数名変更&引数追加(k9) BRESULT fdd_set_xdf(FDDFILE fdd, FDDFUNC fdd_fn, const OEMCHAR *fname, int ro); BRESULT fdd_set_fdi(FDDFILE fdd, FDDFUNC fdd_fn, const OEMCHAR *fname, int ro); //BRESULT fdd_diskaccess_xdf(FDDFILE fdd); //BRESULT fdd_seek_xdf(...
C
:終了値の範囲FROM(テキスト) this.m_warningStartRange = new Text(endStatusComposite, SWT.BORDER); WidgetTestUtil.setTestId(this, "m_warningStartRange", this.m_warningStartRange); this.m_warningStartRange.setLayoutData(new GridData(100, SizeConstant.SIZE_TEXT_HEIGHT)); this.m_warningStartRange.addVerifyListener( ne...
Java
eck-version") { regex = SEMVER replacement = VERSION_NAME } rule("modulecheck-plugin") { regex = gradlePluginWithVersion(pluginId = PLUGIN_ID) replacement = "$1$2$3$4$VERSION_NAME$6" } rule("modulecheck-maven") { regex = maven(GROUP.escapeRegex()) replacement = "$1:$2...
Kotlin
defaultOffset}}${onSuccess}`; } }}; const cmpeq: JitInfo = {hasBranch: false, pops: 2, pushes: 0, emit: (pops, pushes, suffix, onSuccess, code, pc, onErrorPushes) => { const offset = code.readInt16BE(pc + 1); const onError = makeOnError(onErrorPushes, pc + offset); return `if(${pops[0]}===${pops[1]}){${onErro...
Typescript
000, true); Commands->Join_Conversation( NULL, pressF1Conv, false, false ); Commands->Start_Conversation( pressF1Conv, pressF1Conv ); //Commands->Set_HUD_Help_Text ( IDS_M00EVAG_DSGN0039I1EVAG_TXT, TEXT_COLOR_OBJECTIVE_PRIMARY ); } } }; DECLARE_SCRIPT(M01_GDIBase_FirstChinookMinigunnerGuy_JDG, "") { voi...
C++
rc/cli/command/preamble_command.dart'; import 'package:cider/src/cli/command/release_command.dart'; import 'package:cider/src/cli/command/unyank_command.dart'; import 'package:cider/src/cli/command/version_command.dart'; import 'package:cider/src/cli/command/yank_command.dart'; import 'package:cider/src/cli/console.dar...
Dart
/* * This is an alternate backend for the music system. * It uses SDL_mixer to provide a more reliable playback, * and allow processing of multiple audio formats. * * -- MD2211 (2006-04-24) */ #include <SDL.h> #include <SDL_mixer.h> #include <string.h> #include <stdlib.h> #include "args.h" #include "hmp.h" #in...
C
P0y_exp * P5z) - (15.0 * P2x * dP0y_exp * P3z) - (270.0 * dP4y_exp * P1z) - (225.0 * P2x * dP2y_exp * P1z) + (45.0 * P4x * dP0y_exp * P1z); double dterm_6_dz = (615.0 * P2y * dP3z_exp) - (60.0 * dP5z_exp) - (15.0 * P2x * dP3z_exp) - (270.0 * P4y * dP1z_exp) - (225.0 * P2x * P2y * dP1z_exp) + (45.0 * P4x * dP1z_exp)...
C++
invalid. /// </summary> ERROR_REPARSE_TAG_INVALID = 0x00001129, /// <summary> /// There is a mismatch between the tag specified in the request and the tag present in the reparse point. /// </summary> ERROR_REPARSE_TAG_MISMATCH = 0x0000112A, /// <summary> /// Single Instance Storage (SIS) is not availabl...
C#
for (let j = 0; j < idArr.length; j++) { if (notesArr[i].id === idArr[j]) { arr.push(notesArr[i]) } } } return arr } export const notesReducer = (state: InitialStateType = initialState, action: ActionType): InitialStateType => { switch (action.type) { ...
Typescript
.include "macro.inc" # assembler directives .set noat # allow manual use of $at .set noreorder # don't insert nops after branches .set gp=64 # allow use of 64-bit general purposee registers .section .rodata glabel D_80877EC0 .word 0x1B5B3332, 0x6D000000 glabel D_80877EC8 .asciz "WHY !!!!!!!!!!!!!!...
Assembly
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redist...
C
{ { "faction_memory", "last_friends_distant", OP.TIMESET, }, { "user_memory", "away_from_squad_user", OP.TIMESET, }, }, heard_speak_routing = { target = "players", }, }) define_rule({ category = "player_prio_1", database = "gameplay_vo", name = "blitz_brainburst_chai...
Lua
ls64 ld64b x0, [sp] st64b x14, [sp] st64bv x1, x20, [sp] st64bv0 x1, x22, [sp] // CHECK: ld64b x0, [sp] // encoding: [0xe0,0xd3,0x3f,0xf8] // CHECK: st64b x14, [sp] // encoding: [0xee,0x93,0x3f,0xf8] // CHECK: st64bv x1, x20, [sp] // encoding: [0xf4,0xb3,0x21,0xf8] // CHECK: st64bv0 x1, x22, ...
Assembly
48 00 07 55 */ bl func_80255920 /* 802551D0 00250E30 2C 03 00 00 */ cmpwi r3, 0 /* 802551D4 00250E34 7C 7E 1B 78 */ mr r30, r3 /* 802551D8 00250E38 40 80 00 14 */ bge lbl_802551EC /* 802551DC 00250E3C 7F A3 EB 78 */ mr r3, r29 /* 802551E0 00250E40 48 01 A8 45 */ bl OSUnlockMutex /* 802551E4 00250E44 38 60 FF FF *...
Assembly
kul Ironskull.|PRE|14340| ; Storyline A Shear Will|QID|14249|M|47.15,21.07|Z|1447;Azshara|N|From Will Robotronic.|PRE|14340| ; Storyline A Waste of Thyme|QID|14263|M|47.01,21.04|Z|1447;Azshara|N|From Quarla Whistlebreak.|PRE|14340| ; Storyline l Waste of Thyme|QID|14263|M|49.27,18.71|QO|1|Z|1447;Azshara|N|Collect Livin...
Lua
# Sources for FWHM band wavelengths are referenced below, respectively # note that all below units default to nm __fwhm = { # AAVSO, Source(s): AAVSO International Database; https://www.aavso.org/filters # Johnson "Johnson U": {"name": "U", "fwhm": ("333.8", "398.8")}, "Johnson B": {"na...
Python
# coding: utf-8 """ Graphiant APIs **To use the APIs:** 1) Login using `/api/v1/auth/login` 2) Copy the value of \"token\" in the response 3) Click the \"Authorize\" button 4) In the \"Value\" text field enter: `Bearer <your token>` 5) Click \"Authorize\" 6) All requests are now authorized. **Toke...
Python
font = fontname_def, fontsz = -5, nudge = 0, spread = nil, mapptof = nil, numonly = false, abbrev = false} return gs end function INIT_Modulators(mods) if mods == nil then mods = {} end for i = 1...
Lua
24(%rsp), %rdi movb 23(%rsp), %al andb $31, %al movzbl %al, %eax movl %eax, 16(%rsp) callq _ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h6a95f3afb74239c3E movq %rax, 56(%rsp) movq 56(%rsp), %rdx movl $1, %eax xorl %ecx, %ecx cmpq $0, %rdx cmoveq %rcx,...
Assembly
ridge_unbounded_tx.clone(), chain_api_unbounded: chain_api_unbounded_tx.clone(), collator_protocol_unbounded: collator_protocol_unbounded_tx.clone(), collation_generation_unbounded: collation_generation_unbounded_tx.clone(), approval_distribution_unbounded: approval_distribution_unbounded_tx.clone(), approval...
Rust
10, GRAY); DrawFPS(10, 10); EndDrawing(); //---------------------------------------------------------------------------------- } // De-Initialization //---------------------------------------------------------------------------------...
C#
# Copyright 2012-2017 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file ac...
Python
: eventData.name, 'metadata' : eventData.metadata }; const profileEvent = new ProfileCarouselEvent(PROFILE_CAROUSEL_CLICKED, payloadData); this.pushEvent(profileEvent); } pushEvent = (event : ProfileCarouselEvent) => { if(window['Y_TRACKING'] && window['Y_TRACKING']...
Typescript
namespace Server.Reawakened.BundleHost.BundleData.Header.Models; public class UnityVersion { private readonly string _build; private readonly bool _isValid; private readonly string _raw; private readonly sbyte _unknownByte; public readonly sbyte Major; public readonly sbyte Minor; public r...
C#
UpdateField(FieldDeclarationSyntax node) { var variableTypeName = node.Declaration.Type; var variableType = (ITypeSymbol?)_semanticModel.GetSymbolInfo(variableTypeName).Symbol; var variableTypeString = variableType?.ToString(); if (variableTypeString is not null && _fieldDescendantsM...
C#
/* -*- c++ -*- ---------------------------------------------------------- LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator https://www.lammps.org/, Sandia National Laboratories LAMMPS development team: developers@lammps.org Copyright (2003) Sandia Corporation. Under the terms of Contract...
C
, metaDB *m.MetaDB, blob *blobref.BlobRef, chunk *chunkref.ChunkRef) { t.Helper() if err := metaDB.InsertChunkRef(ctx, blob, chunk); err != nil { t.Fatalf("InsertChunkRef() failed for chunk key (%v): %v", chunk.Key, err) } t.Cleanup(func() { // Call the Datastore functions directly to avoid Status checks new...
Go
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_print_reverse_alphabet.c :+: :+: :+: ...
C
| 有哪些常见的异常检测算法?在哪些应用场景下能够发挥效果? | | 序列标注任务中的模型选择 | 进行序列标注任务时,有哪些常见的模型可供选择?它们各自的优缺点是什么? | | 基于Deep Q-Learning的强化学习算法 | 什么是Deep Q-Learning?在强化学习中有哪些应用? | | 文本生成中的条件GAN模型 | 如何使用条件GAN模型进行文本生成?有哪些可供选择的开源实现? | | 自然语言处理 | 如何使用自然语言处理技术来对文章进行关键词提取? | | 电影推荐 | 基于用户历史观看记录,如何实现个性化的电影推荐系统? | | 食谱生成 | 如何使用深度学习模型生成适合不同人群口味的食谱? | | 疾病预...
Markdown
string; // 群组名称 desc: string; // 群组描述 level: number; // 群组等级,默认等级 4 owner: string; // 群主的 username ownerAppKey: string; // 群主的 appKey maxMemberCount: number; // 最大成员数 isNoDisturb: boolean; // 是否免打扰 isBlocked: boolean; ...
Typescript
#ifndef AXON_LOGGER #define AXON_LOGGER #include <stdio.h> #include <stdlib.h> #define RED "\033[31m" #define GREEN "\033[32m" #define YELLOW "\033[33m" #define BLUE "\033[34m" #define RESET "\033[0m" static int _idrak_debug_enabled = -1; static inline int idrak_is_debug_enabled(void) { if (_idrak_debug_enabled...
C
ficial GNU C++ 2.96 included in RedHat 7.1 doesn't // have <sstream>. # define BOOST_NO_STRINGSTREAM #endif // Apple doesn't seem to reliably defined a *unix* macro #if !defined(CYGWIN) && ( defined(__unix__) \ || defined(__unix) \ || defined(unix) \ ...
C++
AUDE.md'); // Create initial file await fs.writeFile(claudePath, 'version 1'); // Run init with force multiple times for (let i = 2; i <= 8; i++) { await fs.writeFile(claudePath, `version ${i}`); await runCLI(['init', 'mesh', '5', '--claude', '--force', '--no-interactive']); ...
JavaScript
,一定满足 可串行性!可串行性 不一定满足 冲突可串行性** 7.![image-20230531200928823](C:\Users\huang\AppData\Roaming\Typora\typora-user-images\image-20230531200928823.png) 8.![image-20230531201445090](C:\Users\huang\AppData\Roaming\Typora\typora-user-images\image-20230531201445090.png) 9.**一级封锁协议内容**:事务T在修改数据对象之前必须对其加X锁,直到事务结束。简单来说就是不能同时写,解决...
Markdown
LEATHERHELM EARTHHAMMER AFLAME BROKENVIEWPORT LIVINGTREE CURSEDSLOT HOLYSLOT NORMALSLOT FAVORITESLOT UNIQUEMOB TAMEMOB MIRRORSHIELD TOWERSHIELD KITESHIELD WOODENSHIELD BUCKLER TRICERATOPS ASLEEP ELDER ## mini16 & minif16 NAKED H...
Markdown
["End"] = "928|84|32|48.6|50.0" }, [28283] = { ["Quest"] = "What's that Rattle?|1|42|38|27316|0|0", ["Start"] = "45277|70|32|24.95|97.17", ["End"] = "48208|64|32|43.4|43.4" }, [28284] = { ["Quest"] = "What's that Rattle?|2|42|38|27317|0|0", ["Start"] = "45278|64|32|34.0|40.0", ["End"] = "48208|64|32|...
Lua
", ["Loot Crazed Diver"] = "Загребущий ныряльщик", ["Wooly Rhino Matriarch"] = "Матриарх шерстистых люторогов", ["Wooly Rhino Calf"] = "Теленок шерстистого люторога", ["Wooly Rhino Bull"] = "Самец шерстистого люторога", ["Karen \"I Don't Caribou\" the Culler"] = "Карина \"Я не карибу\" Сортировщица"...
Lua
respectively the data will be either the received payload, or the disconnection /// reason (as a single byte). /// </param> /// <param name="pipeline">Pipeline on which the data was received.</param> /// <returns> /// Type of the popped event. <see cref="NetworkEvent.Type.Empty"/...
C#
e in A/X. Even drivers that cannot ; set the palette should return the default palette here, so there's no ; way for this function to fail. ; Must set an error code: NO GETPALETTE: ; Fall through ; GETDEFPALETTE: Return the default palette for the driver in A/X. All ; drivers should return something reasonable...
Assembly
: Disabled"] DISABLED = 0, #[doc = "1: Read: Enabled"] ENABLED = 1, } impl From<ENDEPOUT5_A> for bool { #[inline(always)] fn from(variant: ENDEPOUT5_A) -> Self { variant as u8 != 0 } } #[doc = "Reader of field `ENDEPOUT5`"] pub type ENDEPOUT5_R = crate::pac::generic::R<bool, ENDEPOUT5_A>...
Rust
ион и Тристан да Куња", "sr-Latn": "Sveta Jelena, Asension i Tristan de Kunja", "zh_TW": "聖凱倫拿島", "tr": "Saint Helena", "ro": "Sfânta Elena", "ar": "سانت هيلانة وأسينشين وتريستان دا كونا", "fa": "سنت هلن", "yue": "圣赫勒拿、阿森松同特里斯坦·达库尼亚" }, flag: "🇸🇭", code: "SH", ...
Dart
ecs.add(child, ecs.ChildOf, parent) assert(ecs.get_parent(child) == parent) ecs.clear(parent) ecs.delete(child) assert(ecs.exists(child)) assert(not ecs.is_alive(child)) local tag = ecs.tag("LuaTag") local tag2 = ecs.tag("LuaTag2") ecs.add(only_name, tag) ecs.add(only_name, tag2) ecs.add(id_name_comp, tag) assert...
Lua
t-emphasis: rgb(102, 77.2, 2.8);--bs-danger-text-emphasis: rgb(88, 21.2, 27.6);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(206.6, 226, 254.6);--bs-secondary-bg-subtle: rgb(225.6, 227.4, 229);--bs-success-bg-subtle: rgb(209, 231, 220.8);--bs-info-bg-subtle: rgb(206.6, 2...
CSS
using ZaString.Core; using ZaString.Extensions; namespace ZaString.Tests; public class ZaSpanStringBuilderEscapingTests { [Fact] public void AppendJsonEscaped_Basic() { Span<char> buffer = stackalloc char[64]; var builder = ZaSpanStringBuilder.Create(buffer); builder.AppendJsonEsc...
C#
↩Back'}, nil,'Teleport (Eden)') if sp == nil then elseif sp == 1 then setpos(-11.46,154.12,36.66) end if sp == 2 then setpos(7.58,266.15,-243.92) end if sp == 3 then setpos(62.2,273.25,-334.56) end if sp == 4 then setpos(-16.13,136.75,80.213) end if sp == 5 then world() end end function gt56() local sp = gg.choice( {'...
Lua
0, X0, X0 // repeat length 4 times total MOVO X0, X1 // save unscrambled seed PXOR runtime·aeskeysched(SB), X0 // xor in per-process seed AESENC X0, X0 // scramble seed CMPQ CX, $16 JB aes0to15 JE aes16 CMPQ CX, $32 JBE aes17to32 CMPQ CX, $64 JBE aes33to64 CMPQ CX, $128 JBE aes65to128 JMP aes129pl...
Assembly
us, .grouped-window-list-item-box:active:focus, .grouped-window-list-item-box:focus:hover, .grouped-window-list-item-box:active:focus:hover { color: #f7f7f7; border-color: #00e8b7; } .grouped-window-list-item-box .progress { background-color: rgba(0, 232, 183, 0.8); } .grouped-window-list-item-demands-att...
CSS
}; } } InjectorSummary _injectorFromJson(Uri assetUri, Map<String, dynamic> json) { String name = json['name'] as String; List<SymbolPath> modules = json['modules'] .cast<String>() .map(Uri.parse) .map<SymbolPath>((e) => new SymbolPath.fromAbsoluteUri(e)) .toList(); List<ProviderSum...
Dart
fill="currentColor" d="M178.414 339.706H141.1l-28.934-116.231h-.478l-28.46 116.231H45.2L0 168.946h37.548l27.026 116.231h.478l29.655-116.231h35.157l29.178 117.667h.479L187.5 168.946h36.831zM271.4 212.713c38.984 0 64.1 25.828 64.1 65.291 0 39.222-25.111 65.05-64.1 65.05-38.743 0-63.855-25.828-63.855-65.05.002-39.463 25.1...
Dart
# -*- coding: utf-8 -*- from . import models def _create_picking_seq(env): ptypes = env['stock.picking.type'].search([('code', '=', 'outgoing'), ('warehouse_id', '!=', False)]) for ptype in ptypes: wh = ptype.warehouse_id ptype.l10n_it_ddt_sequence_id = env['ir.sequence'].create({ 'nam...
Python
); } @Override public GameAction keyAction() { return SPDAction.HERO_INFO; } }.setRect( 0, 1, 30, 30 )); btnJournal = new JournalButton(); add( btnJournal ); btnMenu = new MenuButton(); add( btnMenu ); avatar = HeroSprite.avatar( Dungeon.hero.heroClass, lastTier ); add( avatar ); c...
Java
} @Test fun `test createFailureReason`() { val origin = FailureReason.FailureOrigin.SOURCE val internalMessage = "Internal message" val externalMessage = "External message" val exception = RuntimeException("Test exception") val jobId = 123L val attemptNumber = 1 val failureReason = st...
Kotlin
""" Real-world CSV to API payload mapper Run: python examples/20-typed/04_csv_to_api.py Requirements: - pandas (see examples/requirements.txt) Notes: - Shows typed list output for practical data transformation - Offline: export ALLOY_BACKEND=fake """ from dataclasses import dataclass, asdict from alloy impo...
Python
px; max-height: 3px; } .tsfem-form-collapse-icon:before, .tsfem-form-collapse-icon:after { content: ""; position: absolute; width: 6px; right: .5em; top: 0; height: 1px; border: 1px solid; border-radius: 3px; transition: all .5s ease-in-out; background: currentColor; } body.rtl .tsfem-form-collapse-icon:bef...
CSS
t = (type: IsType) => `${negationChar}${is(type)}`; import type { TSchoolYearId } from './typedefs/ids'; import type { TSchoolTermTable, TSchoolYearTable } from './typedefs/tables'; import type { TSchoolTermModel, TSchoolYearModel } from './typedefs/models'; import { getTrackModel } from './tracks'; import { loadData }...
Typescript
@action setDataArr(array: any[]): void { this._dataArr = array; } @computed get data(): any[] { return toJS(this._dataArr); } @action changePage(pageEvent: any): void { this.pageIndex = pageEvent.pageIndex; this.pageSize = pageEvent.pageSize; } ...
Typescript
(curve, X1.square(), Y1.square(), this.withCompression); } case ECCurve.COORD_HOMOGENEOUS: case ECCurve.COORD_LAMBDA_PROJECTIVE: { ECFieldElement Y1 = this.y, Z1 = this.zs[0]; return new ECPoint.F2m(curve, X1.square(), Y1.square(), new ECFi...
Java
, Enum.EasingStyle.Exponential), {BackgroundTransparency = 1}):Play() TweenService:Create(tabbtn.ImageLabel, TweenInfo.new(0.3, Enum.EasingStyle.Exponential), {ImageTransparency = 1}):Play() TweenService:Create(tabbtn.DropShadowHolder.DropShadow, TweenInfo.new(0.3, Enum.EasingStyle.Exponential), {ImageTransparenc...
Lua
i.y); b = sFATan2(-i.z,cy); if(cy>1e-4f) { a = sFATan2(j.z,k.z); c = sFATan2(i.y,i.x); } else { a = sFATan2(-k.y,j.y); c = 0.0f; } } #endif /****************************************************************************/ /****************************************************************************/ voi...
C++
# -*- coding: utf-8 -*- """Generador simple de modelos de Ferrule. Este módulo implementa un generador mínimo que transforma un ``Preset`` en una representación de geometría basada en diccionarios. El objetivo es proveer una interfaz similar a la que utilizará FreeCAD en versiones futuras del proyecto, permitiendo va...
Python
y_BuildValue("O", py_inform); } // *-*-*-*-*-*-*-*-*-*- BGO_TERMINATE -*-*-*-*-*-*-*-*-*-* static PyObject* py_bgo_terminate(PyObject *self){ // Check that package has been initialised if(!check_init(init_called)) return NULL; // Call bgo_terminate bgo_terminate(&data, &control, &inform...
C
. self.nicks.insert(sender); self.reset_activity_line(); self.add_timestamp(ts); let nick_color = self.get_nick_color(sender); let nick_col_style = SegStyle::NickColor(nick_color); // actions are /me msgs so they don't show the nick in the nick column, but in the msg ...
Rust
node.children.at(0).tagName === "div" preElement.properties["__rawString__"] = node.__rawString__ if (node.__src__) { preElement.properties["__src__"] = node.__src__ } if (node.__event__) { preElement.properties["__event__"] = node.__event...
JavaScript
} ImportProcess4AllTypes(sites); } } #endregion WatchPage #region ChoseTypePage private void cmbMainType_EditValueChanged(object sender, EventArgs e) { cmbSubType.Properties.DataSource = null; if (cmbM...
C#
///////////////////////////////////////////////////////////// // Cinema 4D SDK // ///////////////////////////////////////////////////////////// // (c) MAXON Computer GmbH, all rights reserved // ///////////////////////////////////////////////////////////// #ifndef C...
C
Leather Collector",3}, [15516] = {'Battleguard Sartura',749475,749475,63,63,3,{[3428]={{-1,-1}}},nil,3428,nil,nil,310,nil,nil,0}, [15517] = {'Ouro',1998600,1998600,63,63,3,nil,nil,0,nil,nil,16,nil,nil,0}, [15518] = {'Auctioneer Grum',126,126,1,1,0,nil,nil,0,nil,nil,55,"A",nil,0}, [15519] = {'Auctioneer Bertram',126,126...
Lua