content
stringlengths
2
6.21k
label
stringclasses
16 values
GB), 2048 (2 GB) * * 512 (.5 vCPU) - Available memory values: 1024 (1 GB), 2048 (2 GB), 3072 (3 GB), 4096 (4 GB) * * 1024 (1 vCPU) - Available memory values: 2048 (2 GB), 3072 (3 GB), 4096 (4 GB), 5120 (5 GB), 6144 (6 GB), 7168 (7 GB), 8192 (8 GB) * * 2048 (2 vCPU) - Available memory values: Between ...
Typescript
) if (pos == null) { Log.e(this.javaClass.simpleName, "Server returned an invalid move!!! gameId=${game.id}") FirebaseCrashlytics.getInstance() .log("E/RulesManager: Server returned an invalid move!!! gameId=${game.id}") return Position(game.width, game.height) } positionsCache.p...
Kotlin
oWeightNorm), nn.LogSoftmax(dim=1) ) def __init__(self, nChan, nTime, nClass, idx, idx_local_graph, nBands=9, m=48, doWeightNorm=True, strideFactor=4, n_chunks=10): super().__init__() self.nBands = nBands self.channels = nChan self.m = m ...
Python
# 백준 31885 Yunny's Trip 골3 import sys input = sys.stdin.readline # N(1~2*10^5), K(1~5) N, K = map(int, input().split()) # -10^12~10^12 items = [list(map(int, input().split())) for _ in range(N)] # -10^12~10^12 end_x, end_y = map(int, input().split()) # 목적지까지 기본이동 시 기력량 ans = abs(end_x) + abs(end_y) # 두번째 아이템을 썼을 때 목...
Python
"example", &chronicle.DataAccessScopeArgs{ // Location: pulumi.String("us"), // Instance: pulumi.String("00000000-0000-0000-0000-000000000000"), // DataAccessScopeId: pulumi.String("scope-id"), // Description: pulumi.String("scope-description"), // AllowedDataAccessLabels: chronic...
Go
rtWithError(http.StatusBadRequest, errors.New("no input")) return } ctx := ginCtx.Request.Context() flushdb := ginCtx.Query("flushdb") == "yes" flushCmd := ginCtx.Query("flushCommand") // devops may rename flushdb command if flushCmd == "" { flushCmd = "flushdb" } followers := []string{} if config.GetSynce...
Go
about it.ogg\"},False,1\nSpeak,\"Soundboard #11\",\"I'll catch you yet, my pretties!\",{\"i'll catch you yeat my pretties.mp3\",\"i'll catch you yeat my pretties.ogg\"},False,2\nSpeak,\"Soundboard #13\",\"I'm Fluttershy.\",{\"i'm fluttershy.mp3\",\"i'm fluttershy.ogg\"},False,1\nSpeak,\"Soundboard #14\",\"I'm so sorry...
JavaScript
= 'light-theme', darkTheme = 'dark-theme', } export interface ThemeShape { color: { accentPrimary: string; fontPrimary: string; fontSecondary: string; bg: string; fg: string; ui: string; focus: string; } themes: { [Themes.lightTheme]: string, [Themes.darkTheme]: string, } ...
Typescript
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; using System.Threading; namespace Microsoft.Build.Framework.BuildException { internal static class BuildExceptionSerializationHel...
C#
virtual ~BluetoothInquiryWorker() { } Q_SLOT void inquire(); signals: void finished(); }; #endif /* BLUETOOTHMANAGER_HPP_ */ /* * Copyright (c) 2011-2013 BlackBerry Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
C++
roperty("CWE690"); } catch (IOException exceptIO) { IO.writeLine("Could not open properties file: " + propertiesFileName); data = ""; /* ensure that data is initialized */ } finally { try { if (streamFileInpu...
Java
yu) * 20072ad0153f0649fc9632cf09e007d3840c74ca: feat: database env set storageName (#3491) (@c121914yu) * 49aaf135df95bc607bfe4e2a57b8220926c2dc81: feat: dbprovider add monitor (#3604) (@zjy365) * 48a1d690f17cfa0b7c6de27a79755bfb44c529ad: feat: deserialize object from multiple yaml documents (#3862) (@fengxsong) * 0b2d...
Markdown
amos trasladarnos y quedárnosla.$B$BEn cualquier caso, quiero que vayas y te ocupes del Supervisor Ocaso. La mina está en la parte de atrás de la isla, a la izquierda.", ["O"] = "Encárgate del supervisor Ocaso en la Mina Trelleum, que está bajo la Forja de Maná Ara en Tormenta Abisal.", ["T"] = "Tratar con el s...
Lua
Enumerable.GetEnumerator() { return GetEnumerator(); } } public class masteryscoreEnumerator: IEnumerator { int nIndex; adlcp_itemType parent; public masteryscoreEnumerator(adlcp_itemType par) { parent = par; nIndex = -1; } public void Reset() { nIndex = -1; } ...
C#
LDR t1, sp, 32 csrw sepc, t0 csrw sstatus, t1 .short 0x2432 // fld fs0,264(sp) .short 0x24d2 // fld fs1,272(sp) POP_GENERAL_REGS LDR sp, sp, 1 // load sp from tf.regs.sp .endm .section .text .balign 4 .global trap_vecto...
Assembly
f they have no own enumerable string keyed properties. * * Arrays are considered empty if they have a `length` of `0`. * * Contribution to minified bundle size, when it is the only function imported: * - Lodash: 4,307 bytes * - Micro-dash: 102 bytes */ export function isEmpty(value: any): boolean { if (!Array....
Typescript
'c-overlay': 1009, 'c-modal': 1010 ); // Media Query Ranges // If you want to change ranges screen size, you can do it easily by changing only `$screen-min` values $screen-min: ( 'xs-min': 320px, 'sm-min': 480px, // If you change value of `md-min`, // you have to change valu...
CSS
_activity.png", // PremiumFeature.timetableNotes: // "assets/images/premium_banner/timetable_notes.png", // PremiumFeature.iconChange: "assets/images/premium_banner/app_icon.png", // PremiumFeature.fontChange: "assets/images/premium_banner/font.png", // PremiumFeature.goalPlanner: "assets/images/premium_b...
Dart
/* * GRUB -- GRand Unified Bootloader * Copyright (C) 1999,2000,2001,2002,2003,2004 Free Software Foundation, Inc. * * SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #ifndef _SYS_ZIO_CHECKSUM_H #define _SYS_ZIO_CH...
C
e material it's on a community weapon //----------------------------------------------------------------------------- class CProxyCommunityWeapon : public CResultProxy { public: void OnBind( void *pC_BaseEntity ) { Assert( m_pResult ); if ( pC_BaseEntity ) { C_BaseEntity *pEntity = BindArgToEntity( pC_BaseEn...
C++
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TensorFlow; namespace p17_TFCoreTest { /// <summary> /// 17 TFCore测试 /// </summary> class Program { static void Main(string[] args) { // 获取Tensorflo...
C#
asynchronous inference invocation outputs.</p> */ OutputConfig: AsyncInferenceOutputConfig | undefined; } /** * @public * @enum */ export const AthenaResultCompressionType = { GZIP: "GZIP", SNAPPY: "SNAPPY", ZLIB: "ZLIB", } as const; /** * @public */ export type AthenaResultCompressionType = (typeo...
Typescript
+\.)?tudou\.com/}, {funcName: "playVideo", match: /^https?:\/\/(.+\.)?le\.com/}, {funcName: "playVideo", match: /^https?:\/\/(.+\.)?pptv\.com/}, {funcName: "playVideo", match: /^https?:\/\/(.+\.)?1905\.com/}, ]; var playLine = [ {"name": "纯净1", "url": "https://im1907.top/?jx...
JavaScript
gent(position, angle); } Agent.createPointCloud(this.agents); this.add(Agent.particles); } update(deltaTime: number): void { this.agents.forEach((agent) => { agent.move(deltaTime); }); Agent.updatePointCloud(this.agents); } } import assert = require('power-assert') import sinon = r...
Typescript
return $native.call(this); }; } if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { hide(proto, ITERATOR, $default); } Iterators[NAME] = $default; Iterators[TAG] = returnThis; if (DEFAULT) { methods = { values: DEF_VALUES ? $default : getMethod(VALUES), key...
JavaScript
server = TestUtils.CreateGarnetServer(TestUtils.MethodTestDir, tryRecover: true, enableAOF: true); server.Start(); using (var redis = ConnectionMultiplexer.Connect(TestUtils.GetConfig())) { var db = redis.GetDatabase(0); // Verify 1st sor...
C#
&& ReaderPeek(1) == '=') { inXmlMode = false; ReaderRead(); ReaderRead(); return new Token(Tokens.XmlStartInlineVB, new Location(x, y), new Location(Col, Line)); } if (ReaderPeek() == '?') { ReaderRead(); Token t = ReadXmlProcessingInstruction(x, y); ...
C#
DownloadVolumeFactor = 0, UploadVolumeFactor = 1 }; releaseInfos.Add(release); } return releaseInfos.ToArray(); } public Action<IDictionary<string, string>, DateTime?> CookiesUpdater { get; set; } } p...
C#
import time import geocoder import ipinfo # Set up your IPInfo access token access_token = 'YOUR_IPINFO_ACCESS_TOKEN' handler = ipinfo.getHandler(access_token) def get_location(): # Get IP-based location g = geocoder.ip('me') if g.latlng: print(f"Latitude: {g.latlng[0]}, Longitude: {g.latlng[...
Python
will underflow to 0 anyway, so it doesn't really matter what exponent we // do provide - we just clear the top 8 bits of r2 to ensure the sign is // right and the exponent is _something_ small. ADDS r2, r2, #0x0c000000 // exponent bias (still shifted down 3 bits) BICMI r2, r2, #0xff000000 // handle ex...
Assembly
/*========================================================================= Program: Visualization Toolkit Module: vtkEdgeLayoutStrategy.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This softw...
C
ssas, VA","path":"m 851.19034,262.54366 0.25994,0.0428 0.0118,0.611 -0.24962,0.26683 -0.23804,-0.0654 -0.39038,-0.11613 -0.13647,0.13777 0.31274,0.4698 -0.0771,0.17608 -0.41308,-0.22627 -0.0693,-0.48407 0.13538,-0.0957 0.0788,-0.0999 0.08,-0.27143 0.33937,-0.39075 0.0341,-0.1531 0.31723,0.025 z"},"51107":{"name":"Loudo...
JavaScript
�必须 * * @param payload 可以被JSON.stringify()字符串化的数据类型都行,默认值是:undefined(表示这个payload字段不会传给后端服务器),建议必须 */ function startSubscription( { // @ts-ignore wsIns, id = undefined, payload = undefined, } = {} ){ const obj: object = { type: 'start', }; if( id ){ // @ts-ignore o...
Typescript
versLock; // The executor stores its own invalidation timestamp. // This timestamp will be applied to the data manager upon // invalidating values. VdfInvalidationTimestamp _executorInvalidationTimestamp; // Optional parent executor. const VdfExecutorInterface *_parentExecutor; // Inte...
C
faceFaces[facei], faceSegments[facei], samplingPts, samplingCells, samplingFaces, samplingSegments, samplingCurveDist ); } } void Foam::sampledSets::lineCell::genSamples() { DynamicList<point> samplingPts; DynamicList<labe...
C
ine-numbers:not(.is-mobile) .cm-lineNumbers .cm-active+*+*+*+*+*+*+*::before { content: "7"; } .use-relative-line-numbers:not(.is-mobile) .cm-lineNumbers .cm-active+*+*+*+*+*+*+*+*::before { content: "8"; } .use-relative-line-numbers:not(.is-mobile) .cm-lineNumbers .cm-active+*+*+*+*+*+*+*+*+*::before { content: "...
CSS
: 'Error while extracting files: "$1"', /******************************* commands names ********************************/ 'cmdarchive' : 'Kreiraj arhivu', 'cmdback' : 'Nazad', 'cmdcopy' : 'Kopiraj', 'cmdcut' : 'Iseci', 'cmddownload' : 'Preuzmi', 'cmdduplicate' : 'Dupliraj'...
JavaScript
0276810] = "닥터그", [1147287684] = "캐디", [3448987385] = "리플리", [3525819835] = "캐디", [3249056020] = "바피드 슬램트럭", [887537515] = "다용도 트럭", [3895125590] = "베일트레일러", [1491375716] = "HVY 지게차", [390902130] = "트레일러", [1445631933] = "스탠리 필드마스터", [1956216962] = "프로트레일러", [1560980623] = "에어터그", [524108981] = "보트 트레일러", ...
Lua
dmin/component/form/fields/when" "github.com/quarkcloudio/quark-go/v3/template/admin/component/form/rule" "github.com/quarkcloudio/quark-go/v3/template/admin/component/table" "github.com/quarkcloudio/quark-go/v3/utils/convert" "github.com/quarkcloudio/quark-go/v3/utils/hex" ) type Component struct { ComponentKey ...
Go
// Copyright 2011 Microsoft Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
C#
.Type<NonNullType<ListType<NonNullType<InstallableType>>>>() .Argument("platformId", arg => arg.Type<NonNullType<PlatformIdType>>() .Description("The platform to look up installables for.")) .Resolve(ctx => { var installe...
C#
igMapLister NodeLister corelistersv1.NodeLister ConfigMapListerForKubeSystemNamespace corelistersv1.ConfigMapNamespaceLister ResourceSync resourcesynccontroller.ResourceSyncer PreRunCachesSynced []cache.InformerSynced } func (l Listers) APIServerLister() configlistersv1.APIServerL...
Go
//needs-more-work } //////////////// // event handlers public void vetoableChange(PropertyChangeEvent pce) { DelayedChangeNotify delayedNotify = new DelayedChangeNotify(this, pce); SwingUtilities.invokeLater(delayedNotify); } public void delayedVetoableChange(PropertyChangeEvent pce) { fireT...
Java
VwcHJlc3M= 98060 IGNvbnRhaW5lclZpZXc= 98061 IFNlYW1sZXNz 98062 IGFpcnk= 98063 IG9ubG9hZA== 98064 LldpbmRvd01hbmFnZXI= 98065 IFBMQQ== 98066 YnJhY28= 98067 LnNldFBvc2l0aXZlQnV0dG9u 98068 IHBkdQ== 98069 IGdzaQ== 98070 IENsaQ== 98071 X2dyYWRpZW50cw== 98072 0Y/QtA== 98073 IFdoaXNwZXI= 98074 Y3N0ZGludA== 98075 IGzDpG5n 98076...
Kotlin
ngleCmd(res rueidis.RedisResult) *ZSliceCmd { cmd := &ZSliceCmd{single: true} cmd.from(res) return cmd } type FloatCmd struct { baseCmd[float64] } func (cmd *FloatCmd) from(res rueidis.RedisResult) { val, err := res.AsFloat64() cmd.SetErr(err) cmd.SetVal(val) } func newFloatCmd(res rueidis.RedisResult) *Float...
Go
ith_system(setup_countdown) .with_system(show_ui::<CountdownUITag>), ) .add_system_set(SystemSet::on_update(GameState::Countdown).with_system(track_countdown)) .add_system_set( SystemSet::on_exit(GameState::Countdown).with_system(hide_ui::<CountdownUITag>), ) ...
Rust
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace TicketManagement.Filters { public class AuthTokenChecker : FilterAttribute, IAuthorizationFilter { public void OnAuthorization(AuthorizationContext filterContext) { ...
C#
neh r6, [lr, #8] strneh r6, [ip, #8] @ movhi tst r2, #983040 ldrneh r6, [lr, #6] strneh r6, [ip, #6] @ movhi tst r2, #15728640 ldrneh r6, [lr, #4] strneh r6, [ip, #4] @ movhi tst r2, #251658240 ldrneh r6, [lr, #2] strneh r6, [ip, #2] @ movhi movs r2, r2, lsr #28 ldrneh r2, [lr, #0]...
Assembly
public static BigDecimal mul(BigDecimal v1, BigDecimal v2) { BigDecimal b1 = new BigDecimal(v1.toString()); BigDecimal b2 = new BigDecimal(v2.toString()); return b1.multiply(b2); } /** * 除 */ public static BigDecimal div(Double v1, Double v2) { BigDecimal b1 ...
Java
t-style: normal; font-weight: 700; font-display: swap; src: local("Roboto Bold"), local("Roboto-Bold"), url("/fonts/roboto-v30-bold-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+...
CSS
e')), )..resume(); await task.sendMessage( URLSessionWebSocketMessage.fromString('Hello World!'), ); await task.receiveMessage(); task.cancelWithCloseCode(4998, 'Bye'.codeUnits.toNSData()); // Allow the server to run and save the close code. while (lastCloseCode == nul...
Dart
aracterIDVal; d.character2FrameIndex = characterFrameIndexVal; } if (charId === 'none' && oldCharId === d.ownerCharacterID) { // avoid having dialogue owner be a character that's not in the dialogue d.ownerCharacterID = null; } if ( charId === 'none' && d.ownerCharacterID === null && (d.charact...
Typescript
field _ConvertAbilityBooleanLevelField('Rtn2') --- ---ABILITY_BLF_PREFER_HOSTILES_ROA5 'common.ABILITY_BLF_PREFER_HOSTILES_ROA5' ---@field ABILITY_BLF_PREFER_HOSTILES_ROA5 abilitybooleanlevelfield _ConvertAbilityBooleanLevelField('Roa5') --- ---ABILITY_BLF_PREFER_FRIENDLIES_ROA6 'common.ABILITY_BLF_PREFER_FRIENDLIES_RO...
Lua
uttonStyle( bgcolor={ ft.ControlState.HOVERED: ft.Colors.GREY_100 } ), on_click=handle_alignment_click, ), ...
Python
\n]+\r\n)*?Location: https?://([\w._-]+)/esa\r\n(?:[^\r\n]+\r\n)*?Server: Clearwell\r\n\r\n|s p/Clearwell httpd/ h/$1/ match http m|^HTTP/1\.1 302 Found\r\nLocation: http:///logon\.htm\r\nContent-Length: 0\r\nServer: Intel\(R\) Con\. Management Engine ([\w._-]+)\r\n\r\n$| p/Intel Con. Management Engine httpd/ v/$1/ mat...
Go
dJcdtgTITLs2kmyKvCFHXuGUVsCpfsrNWnUO3u+MAAAAAElFTkSuQmCC) center center no-repeat; } td.dx-calendar-selected-date { background-color: #6a00ff; color: #fff; } td.dx-calendar-contoured-date { outline: 2px solid #6a00ff; } td.dx-calendar-other-month { color: #848484; } .dx-calendar-picker .dx-dropdowneditor-icon {...
CSS
XButtonEvent xbe = xev.get_xbutton(); if (isEventDisabled(xev)) { return; } if (eventLog.isLoggable(Level.FINE)) eventLog.fine(xbe.toString()); long when; int modifiers; boolean popupTrigger = false; int button=0; boolean wheel_mouse = ...
Java
} else { console.log(error); } }); }; }; export const updateComicsOffset = (offset: number) => { return { type: INCREASE_COMICS_OFFSET, payload: offset + 20, }; }; export const setComicsToNull = (comics: IComics) => { return { type: SET_COMICS_TO_NULL, payload: comics, ...
Typescript
://github.com/NathanUA/U-2-Net)<br/> ![Human Image Segmentation](figures/human_seg.png) <br/> ![Human Video](figures/human_seg_video.gif) ![Human Video Results](figures/human_seg_results.gif) **(2020-Dec-28)** Some interesting applications and useful tools based on U<sup>2</sup>-Net: <br/> (1) [**Xiaolong Liu**](http...
Markdown
start, stop) { return this.map(n, start, stop, 0, 1); }; /** * Facilitates exponential expressions. The pow() function is an efficient * way of multiplying numbers by themselves (or their reciprocals) in large * quantities. For example, pow(3, 5) is equivalent to the expression * 3*3*3*3*3 and pow(3, -5) is equi...
JavaScript
:59 ## ``` ``` WinRAR是最受欢迎的压缩工具之一,在全球拥用超过5亿用户。**2023 年 7 月 10 日**,国外威胁情报机构Group-IB研究**DarkMe**恶意软件传播时,在 WinRAR 处理 ZIP 文件格式中发现了一个以前未知的漏洞。通过利用该程序中的漏洞,威胁行为者能够制作 ZIP 存档,作为各种恶意软件系列的载体。**2023 年 8 月 15 日,MITRE Corporation 将此零日漏洞标记为 CVE-2023-38831**。 ## ``` ``` 漏洞受影响范围:5亿WinRAR用户;...
Markdown
name: null, dependencies: null, allTransitiveDependencies: null, debugGetCreateSourceHash: null, account: account, ), ); } @override ProviderElement<String?> createElement() { return _TokenProviderElement(this); } @override bool operator ==(Object oth...
Dart
.breakSound ) return; const char *pSound = physprops->GetString( psurf->sounds.breakSound ); CSoundParameters params; if ( !CBaseEntity::GetParametersForSound( pSound, params, NULL ) ) return; // Play from the world, because the entity is breaking, so it'll be destroyed soon CPASAttenuationFilter filter( vec...
C++
>() {}.type // Done override suspend fun getMainPage(page: Int, request: MainPageRequest): HomePageResponse { if(!request.data.contains("pageIndex") && page !=1) return HomePageResponse(emptyList()) val document = app.get(request.data.format(page), headers = mapOf( "...
Kotlin
data); static void* ASensorEvent_getDatas(ASensorEvent* event) { return &(event->data[0]); } */ import "C" import ( "bytes" "encoding/binary" "fmt" "math" "time" "unsafe" ) /****************************************************************** * * IMPORTANT NOTICE: * * This file is part of Android's set of ...
Go
tableSetOf<String>() val genderedEmoji = mutableMapOf<String, MutableList<Char>>() val supportedSet = mutableSetOf<String>() var maxEmojiLength = 0 for (chunk in supported) { for (emoji in chunk) { maxEmojiLength = maxOf(maxEmojiLength, emoji.length) val toned = findTones(emoji...
Kotlin
e of the added paths in the output to the hammerspoon console. If `append` is true, then the new paths are attached to the end of `path` and `cpath`, otherwise they are attached to the beginning. Duplicates are pruned from the added paths. --- --- If the additional paths are provided by a table, then the first entry ...
Lua
import unittest import numpy as np from open_room_climate import ClimateDataGenerator, ClimatePlotter class TestClimateDataGenerator(unittest.TestCase): def test_generate_data(self): num_points = 100 generator = ClimateDataGenerator(num_points) data = generator.generate_data() self...
Python
with the new defining // access. int i = MP->getBasicBlockIndex(BB); assert(i != -1 && "Should have found the basic block in the phi"); // We can't just compare i against getNumOperands since one is signed and the // other not. So use it to index into the block iterator. for (auto BBIter = MP->block_begin(...
C++
} } pc += size; } // costs calculated dynamically starting in v4 if (version < 4 && cost > maxCost) { throw new Error( 'program too costly for Teal version < 4. consider using v4.' ); } return [ints, byteArrays, true]; } /** * checkProgram validates program for length and running...
Typescript
TsMap( val keyTypeRef: TsTypeRef, val valueTypeRef: TsTypeRef, val type: Type, ) : TsLiteral { enum class Type { INDEX_SIGNATURE, MAPPED_OBJECT, MAP, } } /** https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#literal-types */ @JvmInline value class Custo...
Kotlin
- vplzcntq (%rax), %ymm19 # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - - - - vplzcntq (%rax){1to4}, %ymm19 # CHECK-NEXT: - - 0.50 0.50 - - - - - - vplzcntq %ymm16, %ymm19 {%k1} # CHECK-NEXT: - - 0.50 0.50 0.50 0.50 - ...
Assembly
){return t.match(dn)||[]}function rt(t){return t.match(hn)||[]}var it,ot=200,at="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",st="Expected a function",ut="__lodash_hash_undefined__",ct=500,lt="__lodash_placeholder__",ft=1,pt=2,dt=4,ht=1,vt=2,gt=1,mt=2,yt=4,bt=8,_t=16,wt=32,xt=64,Ct=128,Tt=256,$t=512...
JavaScript
{ struct nvif_push *push = nv50_disp(head->base.base.dev)->core->chan.push; const int i = head->base.index; int ret; if ((ret = PUSH_WAIT(push, 5))) return ret; PUSH_MTHD(push, NV827D, HEAD_SET_BASE_LUT_LO(i), NVDEF(NV827D, HEAD_SET_BASE_LUT_LO, ENABLE, ENABLE) | NVVAL(NV827D, HEAD_SET_BASE_LUT_LO, MO...
C
# Copyright (c) 2022-2025, The Isaac Lab Project Developers. # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause from isaaclab.utils import configclass from isaaclab_rl.rsl_rl import RslRlOnPolicyRunnerCfg, RslRlPpoActorCriticCfg, RslRlPpoAlgorithmCfg @configclass class LeftLegReachPPORunnerCfg(RslRlOn...
Python
y> /// <typeparam name="T"></typeparam> /// <param name="freeSql"></param> /// <param name="exp"></param> /// <returns></returns> public static T Get<T>(this IFreeSql freeSql, Expression<Func<T, bool>> exp) where T : class, IBaseId { return freeSql.Select<T>()...
C#
el = logging.getLevelName(logLevelString) else: level = logging.INFO return level def main(): #configure logging logging.basicConfig( format='%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=getL...
Python
4 1.25 15V9C1.25 6.37665 3.37665 4.25 6 4.25H18ZM8.96967 15.2803L6.21967 12.5303C5.92678 12.2374 5.92678 11.7626 6.21967 11.4697L8.96967 8.71967C9.26256 8.42678 9.73744 8.42678 10.0303 8.71967C10.3232 9.01256 10.3232 9.48744 10.0303 9.78033L8.56066 11.25H16.75C17.1642 11.25 17.5 11.5858 17.5 12C17.5 12.4142 17.1642 12....
CSS
# Show error briefly return splash = cv2.resize(splash, (UIConstants.WINDOW_WIDTH, UIConstants.WINDOW_HEIGHT)) # Add instructions to the splash screen cv2.putText( splash, "Click or press Esc to continue", (50, UIConstants.WINDOW_HEIGHT - 50), cv2.FONT_HERSHEY_SIMP...
Python
ard", ["takeidcard"] = "Obtenez votre pièce d'identité", --- NOTIFY ----- ["noimg"] = "Aucun ~COLOR_YELLOW~lien~COLOR_WHITE~ de photo saisi !", ["successprint"] = "Votre photo d'identité a été ajoutée à votre inventaire, vous pouvez la regarder avec un ~COLOR_YELLOW~double click~COLOR_WH...
Lua
#[global_allocator] static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; /// Structure that is used to hold thin rows by stanza: #[derive(Serialize, Deserialize)] pub struct Thin { pub by_stanza: BTreeMap<String, Vec<Vec<String>>>, } /// Sends back a serialised version of an empty Thin struct. #[wasm_bi...
Rust
to 2369,48.19,60.36,20,0 .goto 2369,42.30,46.05,20,0 .goto 2369,45.95,47.72,20,0 .goto 2369,39.75,52.98,20,0 .goto 2369,39.02,39.07,20,0 .goto 2369,52.22,32.87,20,0 .goto 2369,66.49,64.54,15,0 .goto 2369,67.39,60.92,15,0 .goto 2369,63.95,63.12,15,0 .goto 2369,62.48,67.31,20,0 .go...
Lua
& bod->getBaseCollider()->getActivationState() == ISLAND_SLEEPING) { isSleeping = true; } for (int b = 0; b < bod->getNumLinks(); b++) { if (bod->getLink(b).m_collider && bod->getLink(b).m_collider->getActivationState() == ISLAND_SLEEPING) isSleeping = true; } if (!isSleeping) { /...
C++
15 in addShifted_NP", "pub=MCowBQYDK2VwAyEAR9DKim6AFz9D0L+oEVfTARHniLVxGhpQQk6OK/6UjpA= priv=MC4CAQAwBQYDK2VwBCIEID6nAPJIMrV5c4Q5L1ggmOEx0+dFdxW63k88jX4GF0cf msg=bHyD0n1LgF7WqM97TpmOax2QTLw/SDiqoK2BcICQUVc5/U+Att/y10LtigLxBBHH/NeAdScpdAwGJusBO06bMw== sig=kUtn3Hux64xmPBEk7tHxKySscj7xvWA8D/FxGAFTKtA+0EoSfXi3l...
Java
romium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * `document.activeElement` will not enter shadow roots to find the element * that has focus; use this method if you need to traverse through any shadow * roots to find the...
Typescript
: black;}.ace_button:hover {background-color: #eee;opacity:1;}.ace_button:active {background-color: #ddd;}.ace_button.checked {border-color: #3399ff;opacity:1;}.ace_search_options{margin-bottom: 3px;text-align: right;-webkit-user-select: none;-moz-user-select: none;-o-user-select: none;-ms-user-select: none;user-select...
JavaScript
MTcpServerVerticle::class.java.name, json) } } } } else -> { } } } } import foreignbuild.dependencies.* registerTarGzDependencySetupTask( "setupClangLibsLinuxX64", "foreignbuild.kotlin-native:16.0.0-x86_64-linux:80@tar.gz" ) { include("llvm-16.0.0-x86_6...
Kotlin
and limitations * under the License. * */ #endregion using Quartz.Spi; namespace Quartz; /// <summary> /// Base class for <see cref="IScheduleBuilder" /> implementors. /// </summary> /// <typeparam name="T"></typeparam> public abstract class ScheduleBuilder<T> : IScheduleBuilder where T : ITrigger { /// <summ...
C#
ctx) shouldBe listOf( Person(1, "Joe", "Bloggs", 111) ) } "Person IN (names) - empty" { val sql = Sql("SELECT id, firstName, lastName, age FROM Person WHERE firstName IN ${Params.empty()}").queryOf<Person>() sql.sql shouldBe "SELECT id, firstName, lastName, age FROM Person WHERE firstName IN (nul...
Kotlin
chain sf Hand_flag moveq.l #-1,d2 ; Success ! .Exit: tst.w d2 ; Any luck ? movem.l (sp)+,d0-d2/a5 rts ;***************************************************************************** ; [ Talk in 2D maps ] ; IN : d0 - Map X-coordinate (.w) ; d1 - Map Y-coordinate (.w) ; All registers are restored ;******...
Assembly
mplate], where 'key' is a key in /// [arguments], with the corresponding values. String applyArgumentsToTemplate( String template, Map<String, dynamic> arguments) { // TODO(johnniwinther): Remove `as dynamic` when unsound null safety is // no longer supported. if (arguments as dynamic == null || arguments.isE...
Dart
lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,e,0,t.length),this.lastNeed-=t.length}function rVe(t,e){var r=iVe(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var i=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,i),t.toString("utf8",e,i)}function tVe(t){var e...
JavaScript
// RUN: %clang_cc1 -fsyntax-only -verify %s void test1() { if (sizeof (int){ 1}) {} // sizeof compound literal if (sizeof (int)) {} // sizeof type (void)(int)4; // cast. (void)(int){4}; // compound literal. int A = (struct{ int a;}){ 1}.a; } int test2(int a, int b) { return a ? (void)a,b : a; ...
C
ake a look at the provider documentation to ensure it should be settable. --- ##### `Region`<sup>Optional</sup> <a name="Region" id="@cdktf/provider-aws.dataAwsKendraQuerySuggestionsBlockList.DataAwsKendraQuerySuggestionsBlockListConfig.property.region"></a> ```go Region *string ``` - *Type:* *string Region where ...
Markdown
R1 @ Multiply R0 by R1 \n\ /* 08002426 */ ASRS R0, R0, 0x8 \n\ /* 08002428 */ STRH R0, [R5, 0x6] \n\ /* 0800242a */ LDR R0, [SP] \n\ /* 0800242c */ ADDS R1, R5, 0x0 @ Set R1 to R5 + 0x0 \n\ /* 0800242e */ BL func_08002280 \n\ /* 08002432 */ MOVS R0, 0x10 @ Set R0 to 0x10 \n\ /* 08002434 */ ANDS R0, R7 @ Set R0 to R0 & ...
Assembly
ru((parser) => { expect(parser).toBe(p); return n; }); expect(x).toEqual(n); }); test("wrap", () => { const p = bnb.text("x").wrap(bnb.text("<"), bnb.text(">")); snapTest(p, "<x>"); snapTest(p, "<x"); snapTest(p, "<"); snapTest(p, "x>"); }); test("trim", () => { const p = bnb.text("x").trim(bn...
Typescript
i][j]->lpath; for (const_Path_iterator it = lpath.begin(); it != lpath.end(); ++it) (*it)->cost = 0.0; } } for (size_t i = 0; i < nodes.size(); ++i) { for (size_t j = 0; j < ysize_; ++j) { feature_index_->calcCost(node_[i][j]); const std::vector<Path *> &lpath = node_[i][j]->lpath; for (const_...
C++
essible = true }.toTypedArray() } fun Iterable<Method>.findAllMethods(condition: MethodCondition): List<Method> { return this.filter { it.condition() }.onEach { it.isAccessible = true }.toList() } /** * 通过条件获取方法数组 * @param clz 类 * @param findSuper 是否查找父类 * @param condition 条件 * @return 符合条件的方法数组 */ fun find...
Kotlin
, '3': 3, '4': 1, '5': 9, '10': 'password'}, ], }; /// Descriptor for `SignRawTransactionRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List signRawTransactionRequestDescriptor = $convert.base64Decode( 'ChlTaWduUmF3VHJhbnNhY3Rpb25SZXF1ZXN0Eh8KC3dhbGxldF9uYW1lGAEgASgJUgp3YWxsZX' ...
Dart
, run_id: str, step_id: str, ) -> RunStepObject: ... def get_thread( self, thread_id: str, ) -> ThreadObject: ... def list_assistant_files( self, assistant_id: str, limit: int, order: str, after: str, bef...
Python