content
stringlengths
2
6.21k
label
stringclasses
16 values
askall r9 mrc p15, 0, r9, c0, c0 @ get processor id bl __lookup_processor_type @ r5=procinfo r9=cpuid movs r10, r5 @ invalid processor (r5=0)? THUMB( it eq ) @ force fixup-able long branch encoding beq __error_p @ yes, error 'p' #ifdef CONFIG_ARM_LPAE mrc p15, 0, r3, c0, c1, 4 @ read ID_MMFR0 and r3, ...
Assembly
newTD.innerHTML = '<br mce_bogus="1"/>'; newTD.rowSpan = tdElm.rowSpan; var nextTD = nextElm(tdElm, "TD,TH"); if (nextTD == null) tdElm.parentNode.appendChild(newTD); else nextTD.parentNode.insertBefore(newTD, nextTD); } else ...
JavaScript
lf.load_uncompressed_chunk17(x, z, new, skylight, mask, mask_add, &mut chunk_data)?; } Ok(()) } pub fn load_chunk17( &self, x: i32, z: i32, new: bool, mask: u16, mask_add: u16, compressed_data: Vec<u8>, ) -> Result<(), protocol::Error...
Rust
Edges().get(3), Arrays.asList(4)); assertEquals(graph1.getEdges().get(4), Arrays.asList(5)); assertTrue(graph1.getEdges().get(5).isEmpty()); assertTrue(graph1.getEdges().get(6).isEmpty()); } @Test public void executionGraphTest05() { ParseUnit unit = getParseUnit(new File("src/test/resources/tree...
Java
=> hm_shape_expr(env, e2), Let(_, _, e2) => hm_shape_expr(env, e2), App(e1, _) => { if let TFun(_, _, rtype) = hm_shape_imm(env, e1) { *rtype } else { panic!("app for non-fun: {:?}", e1); } } Op(op) => hm_shape_op(env, ...
Rust
136, 137, 138, 139, 140, 141, 142, 144, 145, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 157, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 168, 169, 170, 171, 172, 173, 175, 176, 177, 177, 178, 179, 180, 181, 182, 183, 184, 185, 185, 186, 187, 188, 190, 191, 192, 193, 193, 194, 195, 196, 197,...
Java
ssed up header */ fprintf(stderr, "%s: unrecoverable -- header trashed\n", name.c); close(infd); return; } } /* open the user's file for writing */ outfp = fopen(name.c, "w"); if (!outfp) { perror(name.c); close(infd); return; } } else { /* open/create the index file */ index...
C
width > this.yAxis.maxTextWidth) { this.yAxis.maxTextWidth = textSize.width; } }); this.yAxisRect = Rect.fromLTWH( 0, 0, this.yAxis.maxTextWidth + _yTextAxisSpace, size.height - (this.xAxis.axisItemList.isEmpty ? 0 : this._xAxisHeight)...
Dart
x2] cmp r0, r2 bls branch_225e706 bl ErrorHandling mov r0, #0x84 strh r0, [r4, #0x2] .thumb branch_225e706: @ 225e706 :thumb ldr r0, [sp, #0x34] str r4, [sp, #0x0] str r0, [sp, #0x4] mov r1, r4 ldr r0, [sp, #0x8] ldr r2, [sp, #0xc] ldr r3, [sp, #0x30] add ...
Assembly
ateFloatingActionButtonBuilder( child: const Icon(Icons.add), fabSize: ExpandableFabSize.regular, backgroundColor: Colors.green[400], shape: const CircleBorder(), ), type: ExpandableFabType.up, children: const [ CustomFloatingActi...
Dart
ffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] /// arg3: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff]] /// arg4: [[0x0 ~> 0xffffffffffffffff], [0x0 ~> 0xffffffffffffffff...
Rust
/*************************************************************************** * select_drive_mode.h - Class that selects the drive-mode from a collection * * Created: Fri Oct 18 15:16:23 2013 * Copyright 2002 Stefan Jacobs * 2013-2014 Bahram Maleki-Fard * 2014 Tobias Neumann ******...
C
(); this.field_146435_s.drawScreen(mouseX, mouseY, partialTicks); this.drawCenteredString(this.fontRendererObj, this.presetsTitle, this.width / 2, 8, 16777215); this.drawString(this.fontRendererObj, this.presetsShare, 50, 30, 10526880); this.drawString(this.fontRendererObj, this.field_14...
Java
ryptor, plaintext_buffer: Buffer, signature_key: *mut Ed25519PrivateKey, ) -> *mut message::Message { let encryptor = &mut *encryptor; let data = plaintext_buffer.to_bytes(); let signature_key = signature_key.as_ref(); let message = encryptor.encrypt(&data[..], signature_key); Box::into_raw(...
Rust
<< std::setprecision(1) << percentage << "% ["; for (size_t idx = 0; idx < kProgressBarWidth; ++idx) { if (idx < num_progress_symbols_integer) { std::cout << kProgressSymbol; } else { std::cout << kFillSymbol; } } std::cout << kPostText << std::flush; if (num_elements_processed_ == num...
C++
AddEventHandler("xsound:stateSound", function(state, data) local soundId = data.soundId if state == "destroyOnFinish" then if soundExists(soundId) then destroyOnFinish(soundId, data.value) end end if state == "timestamp" then if soundExists(soundId) then ...
Lua
O) public object LokiClient { private var lokiEndpoint: String? = MeasurementConfig.lokiEndpoint private val retrofit: Retrofit by lazy { createRetrofitClient() } private val lokiApi: LokiApi by lazy { retrofit.create(LokiApi::class.java) } @RequiresApi(Build.VERSION_CODES.O) private fun loadPriva...
Kotlin
(255,255,255,.5)}.sui-nav.nav-list>li>a{padding:3px 15px}.sui-nav.nav-list>.active>a,.sui-nav.nav-list>.active>a:hover,.sui-nav.nav-list>.active>a:focus{color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.2);background-color:#28a3ef}.sui-nav.nav-list [class^=icon-],.sui-nav.nav-list [class*=" icon-"]{margin-right:2px}.sui-nav....
CSS
LineWidth(1.5f); int idx = 0; //if (pOITToolStripMenuItem.Checked) /*{ if (!picking) { foreach (var o in NKMD.Path.Entries) { if (NKMD.Point.NrEntries < o.NrPoit + idx) break; Gl.glBegin(Gl.GL_LINE_STRIP); for (int i = 0; i < o.NrPoit; i++) { Gl.glVertex2f(NKMD....
C#
/* SDL - Simple DirectMedia Layer Copyright (C) 1997-2009 Sam Lantinga This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later v...
C
解曰〗\n愿望:会充分地实现吧。\n疾病:会治愈吧。\n盼望的人:会出现吧。\n遗失物:变得迟迟地才找到吧。\n盖新居、搬家、嫁娶、旅行、交往等:全部很好吧。万事行为谨慎。粗心大意行事的话,就会发生意想之外的灾害吧。\n\n私聊獭獭也可以抽,抽到凶签也不要气馁!每天只能抽一次哦~", "img_url": "https://vip1.loli.net/2020/01/15/pwGkTLWznb7NfCs.jpg" } }, { "model": "ffxivbot.luckdata", "pk": 2, "fields": { "number": 2, ...
Typescript
finied in code and stored in the database, so if they are missing /// from the databse we need to add them. Execute this to ensure that the custom entity definition has been saved /// to the database before assigning it to another entity. /// </summary> /// <param name="customEntityDefinitionCode"> ...
C#
const response = await fetch( 'https://api.spotify.com/v1/me/player/play', { method: 'PUT', headers: { 'Authorization': `Bearer ${accessToken}`, 'Content-Type': 'application/json' }, body: JSON.stringify(body) } ); if (!response.ok) throw new Error('Failed t...
Markdown
Color.FromHex("2B2B45"), // purple-ish Color.FromHex("3A3F5E"), Color.FromHex("4C6885"), Color.FromHex("4FA4B8"), Color.FromHex("92E8C0"), Color.FromHex("F5FFE8"), Color.FromHex("DFE0E8"), // light blue Color.FromHex("a3a7c2"), ...
C#
// SPDX-License-Identifier: GPL-2.0 /* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2010-2015, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Fr...
C
ntIds == 0 { return errorsmod.Wrapf( ErrInvalidBatchCancel, "Order Batch cannot have zero client ids.", ) } totalNumberCancels += numClientIds // Check for duplicate clob client ids across this cancel batch seenClientIds := map[uint32]struct{}{} for _, clientId := range cancelBatch.GetClientIds...
Go
r (int i = 0; i < bunniesCount; i++) { bunnies[i].Position.X += bunnies[i].Speed.X; bunnies[i].Position.Y += bunnies[i].Speed.Y; if (bunnies[i].Position.X + texBunny.Width / 2.0f > Raylib.GetScreenWidth() || bunnies[i].Position.X + texBunn...
C#
E5); c = HH(c, d, a, b, x[k+15], S33, 0x1FA27CF8); b = HH(b, c, d, a, x[k+2], S34, 0xC4AC5665); a = II(a, b, c, d, x[k+0], S41, 0xF4292244); d = II(d, a, b, c, x[k+7], S42, 0x432AFF97); c = II(c, d, a, b, x[k+14], S43, 0xAB9423A7); ...
JavaScript
{ HttpServletRequest req = getRequestContext().getRequest(); String cot = req.getParameter("cot"); if ((cot != null) && (cot.trim().length() > 0)) { setDisplayFieldValue(COT, cot); setDisplayFieldValue(COT_CHOICE, cot); } String realm = req.getParameter("...
Java
using UnityEngine; using System.Collections; using System.Collections.Generic; public class number_loader : MonoBehaviour { public Sprite[] sps = new Sprite[60]; public GameObject mod; // Use this for initialization void Start () { } List<GameObject> obj_nums = new List<GameObject>(); Colo...
C#
"Hope", "Corona", "Corn Creek", "Cornucopia", "Cedar", "Harbor View", "Leadore", "Lasker", "Squaw Lake", "Ohiowa", "Somers", "Neville", "Plato", "Girdletree", "Belknap", "Brooklyn Heights", "Interior", "Carpenter", "Cowlic", "Brock", "Ridgely", "New Trier", "Pueblito", "Deerfield", "Clitherall",...
Go
ochasticGA func TestTwoDimensionalPlaneShouldPass2(t *testing.T) { var err error model := NewLogistic(base.StochasticGA, .0001, 0, 3000, twoDX, twoDY) err = model.Learn() assert.Nil(t, err, "Learning error should be nil") var guess []float64 for i := -40; i < 20; i++ { guess, err = model.Predict([]float64{fl...
Go
stdata() { this.Add(null, null, CultureInfo.InvariantCulture, ConverterBase.UnsetValue); this.Add(TimeSpan.MinValue, null, CultureInfo.InvariantCulture, "-"); this.Add(TimeSpan.Zero, null, CultureInfo.InvariantCulture, "0:00:00"); this.Add(new ...
C#
CUR('__mem_'..me.n)..[[; _ceu_mem->_trails[]]..(to.dcl.trails[1])..[[].evt.mem = &]]..CUR('__mem_'..me.n)..[[; ]]) end CODES.F.Abs_Await(me) end, Abs_Await = function (me) HALT(me, { { ['evt.id'] = 'CEU_INPUT__PROPAGATE_CODE' }, { ['evt.mem'] = '(tceu_code_mem*...
Lua
pub enum CaffePoolKind { Avg, Max, } pub trait CaffePoolKernel { fn kind() -> CaffePoolKind; } impl CaffePoolKernel for AvgPool { fn kind() -> CaffePoolKind { CaffePoolKind::Avg } } impl CaffePoolKernel for MaxPool { fn kind() -> CaffePoolKind { CaffePoolKind::Max } } pub struct CaffePoolGPUBa...
Rust
tion.INCLUDE_IN_FRONTEND_EXPORT_PROPERTY), true); test3.setProperty(Traits.of(StructrTraits.FILE).key(FileTraitDefinition.IS_TEMPLATE_PROPERTY), true); test3.setProperty(Traits.of(StructrTraits.FILE).key(FileTraitDefinition.DONT_CACHE_PROPERTY), false); test4.as(AccessControllable.c...
Java
Runeset = []rune(LowercaseCharset) UppercaseRuneset = []rune(UppercaseCharset) NumericRuneset = []rune(NumericCharset) FullSymbolRuneset = []rune(FullSymbolCharset) ShortSymbolRuneset = []rune(ShortSymbolCharset) AlphabeticRuneset = []rune(AlphabeticCharset) AlphaNumericRuneset =...
Go
isorapi.Node, error) { logicalProcessors := make(map[int]*processor) numofSockets := 0 numOfcores := 0 nodes := []cadvisorapi.Node{} for offset := 0; offset < len(buffer); { // check size in buffer to avoid out of bounds access, we don't know the type or size yet if offset+int(unsafe.Sizeof(systemLogicalProces...
Go
)) } return user, nil } // ============ user logic ============ // CommonAddGroup 标准创建分组 func CommonAddGroup(group *system.Group) error { // 在数据库中创建组 err := groupService.Add(group) if err != nil { return err } // 默认创建分组之后,需要将admin添加到分组中 adminInfo := new(system.User) err = userService.Find(tools.H{"id": 1}...
Go
var ftps []*FTP Record(t, "ftps/compute/list", func(c *Client) { ftps, err = c.ListFTPs(context.TODO(), &ListFTPsInput{ ServiceID: TestComputeServiceID, ServiceVersion: *tv.Number, }) }) if err != nil { t.Fatal(err) } if len(ftps) < 1 { t.Errorf("bad ftps: %v", ftps) } // Get var ftpGetResp...
Go
bytes = %d\n\t\tmbits/sec = %f\n\t\tusec-per-message = %f\n"), this->message_count_, this->total_bytes_, (((double) this->total_bytes_ * 8) / et.real_time) / (double) (1024 * 1024), ((et.user_time + et.system_time) / (double) this->message_count_) * ACE_ONE_SECOND...
C++
noisy_data.shape[1]) # 转换为(1,288,288) noise_level = estimate_sigma(noise_im_np) * 2 noise_level = 5 with open(result_root + 'result.txt', 'w') as f: _, lowest_loss = denoising(noise_im_np, LR=LR, sigma=sigma, rho=rho, eta=eta, total_step=total...
Python
! About to shift bits 8-9 of cylinder into dl shr dx, #1 shr dx, #1 ! dl[6..7] = high cylinder orb dl, ah ! dl[0..5] = sector (0-origin) movb cl, dl ! cl[0..5] = sector, cl[6..7] = high cyl incb cl ! cl[0..5] = sector (1-origin) pop dx ! Restore drive code in dl movb dh, al ! dh = al = head mov bx, #LOADO...
Assembly
luid.creosote.bottle" , 1, 0), null, "bottleCreosote", OD.container1000creosote); IL.RC_Creosote_Bucket .set(ST.make(MD.RC, "fluid.creosote.bucket" , 1, 0), new OreDictItemData(ANY.Fe, U*3), "bucketCreosote", OD.container1000creosote); IL.RC_Creosote_Cell ...
Java
nfo.load_exchange_info(), GateioExchangeInfo.load_exchange_info(), HyperliquidExchangeInfo.load_exchange_info(), MexcExchangeInfo.load_exchange_info(), OkxExchangeInfo.load_exchange_info(), ) async def start_exchanges_info(parse_interval_seconds: int = 60 * 60) -> None: """Запу...
Python
s NetState; if ( nsk == null ) continue; Mobile mk = nsk.Mobile; if ( mk == null ) { continue; } else { if ((from.AccessLevel == AccessLevel.Player && (( mk.AccessLevel == AccessLevel.Counselor && mk.Hidden ) || mk.AccessLevel >= AccessLevel.GameMaster )) || (from.AccessLevel ...
C#
("RemoveWorktree", func(t *testing.T) { repo := env.CreateTestRepo("remove-test") repo.CreateBranch("feature/remove") _, err := repo.RunWTP("add", "feature/remove") framework.AssertNoError(t, err) framework.AssertWorktreeCount(t, repo, 2) output, err := repo.RunWTP("remove", "feature/remove") framework....
Go
", "insert into " + PRIMARY_TABLE_NAME + "(id, " + sk + ", c_binary) values(null , 273, x'0A08080E10011894AB0E');\n ")) .put(C_VARBINARY, ImmutableList.of( "insert into " + PRIMARY_TABLE_NAME + "(id, " + sk + ", c_varbinary...
Java
module("proxy.log", package.seeall) local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) level = { DEBUG = 1, INFO = 2, WARN = 3, ERROR = 4, FATAL = 5, OFF = 6 } local tag = {"DEBUG", "INFO", "WARN", "ERROR", "FATAL"} --Ĭֵ local log_le...
Lua
.include "macros.inc" .section .rodata # 0x804732E0 - 0x8049E220 .balign 8 .obj lbl_8047AEA8, local .asciz "StateCautionBase" .endobj lbl_8047AEA8 .balign 4 .obj lbl_8047AEBC, local .asciz "TurnToHome" .endobj lbl_8047AEBC .section .data, "wa" # 0x8049E220 - 0x804EFC20 .balign 8 .obj __vt__Q34Game10ChappyBase11Sta...
Assembly
"""Unit tests for AWS client authentication and session management.""" import pytest import boto3 from unittest.mock import patch, MagicMock from ecsctl.aws_client import AWSClient from ecsctl.exceptions import AuthenticationError @pytest.fixture def aws_client(): """Create AWSClient instance for testing.""" ...
Python
#!/usr/bin/env python3 import rclpy from rclpy.node import Node from geometry_msgs.msg import PoseStamped class GoalListenerAndSender(Node): def __init__(self): super().__init__('goal_listener_and_sender') self.subscription = self.create_subscription( PoseStamped, '/tb1/goa...
Python
none; } .btn-system.disabled, .btn-system[disabled], fieldset[disabled] .btn-system, .btn-system.disabled:hover, .btn-system[disabled]:hover, fieldset[disabled] .btn-system:hover, .btn-system.disabled:focus, .btn-system[disabled]:focus, fieldset[disabled] .btn-system:focus, .btn-system.disabled:active, .btn-system[dis...
CSS
eWidth = response->result_set_tracker_frame_width().new_frame_width(); } break; case PSMResult_Error: case PSMResult_Canceled: case PSMResult_Timeout: { //###HipsterSloth $TODO - Replace with C_API style log //CLIENT_LOG_INFO("AppStage_ColorCalibration") << "Failed to set the tracker...
C++
ynerman: multiple clip worlds gameLocal.Translation( self, tr, current.origin, down, clipModel, clipModel->GetAxis(), clipMask, self ); // RAVEN END current.origin = tr.endpos; // RAVEN BEGIN // ddynerman: multiple clip worlds clipModel->Link( self, clipModel->GetId(), tr.endpos, clipModel->GetAxis() ); // RAVEN END...
C++
// X → i : 파티에서 집으로 귀가 (정방향) int[] fromX = dijkstra(target, node, graph); // i → X : 각 학생이 파티에 가는 길 (역방향에서 X 출발하면 i에서 X까지의 거리와 같음) int[] toX = dijkstra(target, node, revGraph); int maxRoundTrip = 0; for (int i = 0; i < node; i++) { if (fromX[i] == INF || toX...
Markdown
ttp://www.w3.org/2000/svg', 'circle' ); if ( _quality == 0 ) { _svgCirclePool[id].setAttribute( 'shape-rendering', 'crispEdges' ); //optimizeSpeed } return _svgCirclePool[ id ]; } return _svgCirclePool[ id ]; } function pad( str ) { while ( str.length < 6 ) str = '0' + str; return str; ...
JavaScript
: --------- * You can now build cJSON as both shared and static library at once with CMake using `-DBUILD_SHARED_AND_STATIC_LIBS=On`, see [#178](https://github.com/DaveGamble/cJSON/issues/178) * UTF-8 byte order marks are now ignored, see [#184](https://github.com/DaveGamble/cJSON/issues/184) * Locales can now be disab...
Markdown
(32, 24); CHROMA_420_I8MM(32, 32); CHROMA_422_I8MM(2, 8); CHROMA_422_I8MM(2, 16); CHROMA_422_I8MM(4, 4); CHROMA_422_I8MM(4, 8); CHROMA_422_I8MM(4, 16); CHROMA_422_I8MM(4, 32); CHROMA_422_I8MM(6, 16); CHROMA_422_I8MM(12, 32); CHROMA_422_I8MM(8, 4); CHROMA_422_I8MM(8, 8); ...
C++
0.866f,-0.750f) * r; c = ImVec2(+0.866f,-0.750f) * r; break; case ImGuiDir_Left: case ImGuiDir_Right: if (dir == ImGuiDir_Left) r = -r; a = ImVec2(+0.750f,+0.000f) * r; b = ImVec2(-0.750f,+0.866f) * r; c = ImVec2(-0.750f,-0.866f) * r; break; case ImGui...
C++
local t = require('snippy.util').t local DEFAULT_SNIPPET = 'snippet ${1:trigger}\n\t${2:$VISUAL}' local M = {} local function insert_template(lines) if not lines then return end local empty = vim.fn.line('$') == 1 and vim.fn.getline(1) == '' if not empty then vim.api.nvim_win_set_cu...
Lua
e and may cause problems */ if (!riff_has_valid_tags(s)) return; list_pos = ff_start_tag(pb, "LIST"); ffio_wfourcc(pb, "INFO"); for (i = 0; *riff_tags[i]; i++) if ((t = av_dict_get(s->metadata, riff_tags[i], NULL, AV_DICT_MATCH_CASE))) ff_riff_wr...
C
if y > tile_y and tile_y >= new_y then player.velocity.y = 0 if player.ceiling_pushback then player:ceiling_pushback(tile) end return tile_y end end if platform_type == "oneway" or platform_type == "no-drop" then -- Onewa...
Lua
}, name = "魔術士ギルドノルマ" }, guild_thief_quota = { progress = { _0 = function(_1) return ("盗賊ギルドのランクを上げるためには、あと金貨%s枚分の盗品を売りさばき、ダルフィのギルドの番人に話しかける必要がある。") :format(_1) end ...
Lua
"28.2%", "+1.8%" }, { "30.0%" } } } }, [4141] = { desc_get = "", name = "기동 호위", type = 2, max_level = 10, desc = "스테이지 내 생존해 있을 시, 주력함대가 받는 대미지를 $1감소시키고, 경순양함과 구축함이 자신에게 주는 포격과 뇌격 대미지를 $2 감소시킨다.", id = 4141, system_transform = {}, world_death_mark = { 1 }, desc...
Lua
/***************************************************************************** Copyright (c) 1994, 2024, Oracle and/or its affiliates. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. ...
C
互的纽带。DragonOS的LibC实现了一些简单的功能。 - malloc堆内存分配器 - 基础数学库 - 简单的几个与文件相关的函数 - pipe - fork/vfork - clock - sleep - printf ### Shell命令行程序 - 基于简单的字符串匹配的解析(不是通过编译课程学的的那一套东西做的,因此比较简单,粗暴) - 支持的命令:ls,cd,mkdir,exec,about,rmdir,rm,cat,touch,reboot ### 用户态驱动程序 - 用户态键盘驱动程序 ## 源码、发布版镜像下载 &emsp;&emsp;您可以通过以下方式获得源代码: ### 通过Git获取 ...
Markdown
est("1.18.1") /* * Minosoft * Copyright (C) 2020-2023 Moritz Zwerger * * 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 the License, or (at your option) any later version. * ...
Kotlin
if (node.parentNode) node.parentNode.removeChild(node); } } })(); ko.cleanNode = ko.utils.domNodeDisposal.cleanNode; // Shorthand name for convenience ko.removeNode = ko.utils.domNodeDisposal.removeNode; // Shorthand name for convenience ko.exportSymbol('cleanNode', ko.cleanNode); ko.exportS...
JavaScript
le.from(cantiche)) .mergeMap(canti => writeCantica(canti, dirNameWithSlash)) } function writeCantica(cantica: Cantica, outputDir: string) { return Observable.from(cantica.canti) .mergeMap(canto => { let sequenceString = canto.sequence + ''; sequenceString = se...
Typescript
: [0xfe, 0x3e] : "i64.atomic.rmw8.xor_u", I64AtomicRmw16XorU(MemArg<2>) : [0xfe, 0x3f] : "i64.atomic.rmw16.xor_u", I64AtomicRmw32XorU(MemArg<4>) : [0xfe, 0x40] : "i64.atomic.rmw32.xor_u", I32AtomicRmwXchg(MemArg<4>) : [0xfe, 0x41] : "i32.atomic.rmw.xchg", I64AtomicRmwXchg(MemArg<8>) : ...
Rust
} .section .bss .global [stack]eval(i) [stack]eval(i): .skip STACKSIZE ])dnl changequote(`,')dnl' #endif /*! ifdef USE_STACK*/
Assembly
FaultStickSet() ); outputnamecombo_->setToolTip( tooltiptext ); flashOutputName( true ); return; } } else if ( isInSerialMode() ) { BufferString basenm = objname; int serialnr = removeSerialNumber( basenm ); if ( serialnr<0 || mIsUdf(serialnr) ) serialnr = 1; BufferString serialnam...
C++
rt("Fxch_st0_sti_DDC8", Code::Fxch_st0_sti_DDC8); h.insert("Fst_sti", Code::Fst_sti); h.insert("Fstp_sti", Code::Fstp_sti); h.insert("Fucom_st0_sti", Code::Fucom_st0_sti); h.insert("Fucomp_st0_sti", Code::Fucomp_st0_sti); h.insert("Fiadd_m16int", Code::Fiadd_m16int); h.insert("Fimul_m16int", Code::Fimul_m16...
Rust
9]="خوس" amj[220]="خوم" amj[221]="خوم" amj[222]="خيس" amj[223]="خيل" amj[224]="خيم" amj[225]="دب" amj[226]="دبس" amj[227]="دج" amj[228]="دحص" amj[229]="دخل" amj[230]="درا" amj[231]="درج" amj[232]="درع" amj[233]="درع" amj[234]="درم" amj[235]="دسم" amj[236]="دعس" amj[237]="دعو" amj[238]="دفو" amj[239]="دفق" amj[240]="دقش...
JavaScript
1.Secret, error) List(opts metav1.ListOptions) (*v1.SecretList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.Secret, err error) SecretExpansion } // secrets implements SecretInterface type secrets struct { cl...
Go
oups de triques\r\nLes cieux ultramarins aux ardents entonnoirs ;\r\n\r\nMoi qui tremblais, sentant geindre à cinquante lieues\r\nLe rut des Béhémots et les Maelstroms épais,\r\nFileur éternel des immobilités bleues,\r\nJe regrette l'Europe aux anciens parapets !\r\n\r\nJ'ai vu des archipels sidéraux ! et des îles\r\nD...
C#
n<Node> { val astChildren = this.allChildren<Node> { true } return condition?.getStartingPrevEOG()?.filter { it !in astChildren } ?: conditionDeclaration?.getStartingPrevEOG() ?: setOf() } override fun getExitNextEOG(): Collection<Node> { return this.nextEOG.filt...
Kotlin
ies)) for _, proxyObj := range proxies { proxyInfoArray = append(proxyInfoArray, proxy.NewProxyInfo(proxyObj, valAssignments[proxyObj.ID()])) } return proxyInfoArray, nil } else { return nil, proxy.ErrNodeNotProxiedValidator } } // ProxiedValidators retrieves all of the proxies connected proxied validat...
Go
, /// <summary> /// The O Character Button /// </summary> O = 43, /// <summary> /// The P Character Button /// </summary> P = 44, /// <summary> /// The Q Character Button /// </summary> Q = 45, ...
C#
AtomicLongFieldUpdater.newUpdater(CHM.class, "_resizers"); // --- // Simple constructor CHM( Counter size ) { _size = size; _slots= new Counter(); } // --- tableFull --------------------------------------------------------- // Heuristic to decide if this table is too full, an...
Java
knowledge250Sbcontributing250Sb1250Sbtitle => 'Monero의 커뮤니티 크라우드 펀딩 시스템'; @override String get knowledge250Sbcontributing250Sb2250Sbtext => '<p>Monero 프로젝트에 참여할 수 있는 또 다른 좋은 방법은 신규 및 기존 커뮤니티 구성원을 교육하고 역량을 강화하는 것입니다. 이것은 여러 가지 형태로 올 수 있지만 소셜 미디어, 블로그 등에서 Monero에 대해 배우는 것을 공유하는 것만큼 간단 할 수</p>\n<p>여기에 교육에 도움이 될 수있는 ...
Dart
from flask import Blueprint, request, jsonify from flask_jwt_extended import jwt_required, get_jwt_identity from backend.models import User, Account, Transaction from backend.extensions import db from backend.schemas import TransactionSchema, TransactionResponseSchema transaction_bp = Blueprint('transactions', __name_...
Python
y][x] = BingoCell::Marked(drawn_number); } } } if has_bingo(&input.boards[board_num]) { wins.push((input.boards[board_num].clone(), drawn_number)); } } } wins } fn part_one(s: &str) -> String { let wins = wins...
Rust
= {"슬픔의 늪 불꽃감시자",nil}, [51603] = {"저주받은 땅 불꽃지기",nil}, [51604] = {"서부 역병지대 불꽃지기",nil}, [51605] = {"자유연합 경비병",nil}, [51606] = {"운고로 분화구 불꽃감시자",nil}, [51607] = {"운고로 불꽃지기",nil}, [51608] = {"보호막 장식 추적기 (DND)",nil}, [51609] = {"시네스트라 알 장식 추적기 (DND)",nil}, [51610] = {"에메랄드 드루이드","에메랄드 의회"}, [51611] = {"성난비늘",nil}, [51612] = ...
Lua
ProdList(Long uin) { //1.查询该用户的所有车牌 CarInfoTb carInfoConditions = new CarInfoTb(); carInfoConditions.setUin(uin); List<CarInfoTb> carInfos = carInfoCommonDao.selectListByConditions(carInfoConditions); //2.遍历车牌,对应每个车牌查询月卡信息 List<Long> uList = new ArrayList<Long>(); ...
Java
MipmapGenerator`. Once created, it can be used repeatedly to /// generate mipmaps for any texture with format specified in `format_hints`. pub fn new_with_format_hints(device: &Device, format_hints: &[TextureFormat]) -> Self { let mut layout_cache = HashMap::new(); let mut pipeline_cache = HashM...
Rust
bsolute;\n clip: rect(0, 0, 0, 0);\n pointer-events: none;\n}\n\n.btn .caret {\n margin-left: 4px;\n}\n\n.caret {\n color: #9A9FA7;\n display: inline-block;\n width: 0;\n height: 0;\n margin-left: 16px;\n vertical-align: middle;\n border-top: 5px dashed;\n border-top: 5px solid \\9;\n border-right: 5px soli...
JavaScript
() -> Self { let (foo_sender, foo_receiver) = mpsc::sync_channel(1); let (bar_sender, bar_receiver) = mpsc::sync_channel(1); FooBar{ foo_sender, foo_receiver: Mutex::new(foo_receiver), bar_sender, bar_receiver: Mutex::new(bar_receiver), } ...
Rust
d: game_canvas.dead_hand_button.place(game_canvas.dead_hand_button_place) # show button show_status_messages = configurations.SHOW_STATUS_MESSAGES if not show_status_messages == "none": is_verbose = show_status_messages == "verbose" if can_declare_dead_hand: if game_canvas.c...
Python
final matrix = dataMatrix.clone(); matrix.xor(flipMatrix); assert(expectedMatrix == matrix); } void testRotate180(int width, int height) { final input = getInput(width, height); input.rotate180(); final expected = getExpected(width, height); for (int y = 0; y < height; y++) { for (in...
Dart
ontexs if any if target label is outside of * current try-catch block" goto inner try-catch block was blocked in * analyzer */ cleanup_exception_context((PLtsql_stmt *) stmt, dest_stmt, codegen_ctx); /* add current goto */ add_stmt(codegen_ctx, (PLtsql_stmt *) stmt); return stmt_walker((PLtsql_stmt *) stmt,...
C
Object<<4), &struct{ camera_attributes gdextension.Object }{gdextension.Object(gd.ObjectChecked(camera_attributes[0].AsObject()))}) } //go:nosplit func (self class) GetCameraAttributes() [1]gdclass.CameraAttributes { //gd:LightmapGI.get_camera_attributes var r_ret = noescape.Call[gdextension.Object](gd.ObjectChecked(...
Go
h (code) { case CODE_START_A: case CODE_START_B: case CODE_START_C: throw FormatException(); } switch (codeSet) { case CODE_CODE_A: if (code < 64) { if (shiftUpperMode == upperMode) { result.append(1, (char) (' ' + code)); } else { ...
C++
ldr r2, [r0, #0x1c] asrs r2, r2, #8 ldrh r1, [r0, #0xa] lsls r1, r1, #8 adds r2, r2, r1 ldr r3, _0805F2A8 @ =gCamera ldr r1, [r3] subs r2, r2, r1 strh r2, [r5, #0x10] ldr r1, [r0, #0x20] asrs r1, r1, #8 ldrh r0, [r0, #0xc] lsls r0, r0, #8 adds r1, r1, r0 ldr r0, [r3, #4] subs r1, r1, r0 strh r1, [r5, #...
Assembly
/* File: ned.h Description: Main application class for NED text editor. This encapsulates the core application logic, initialization, and render loop. */ #pragma once #include <GL/glew.h> #include <GLFW/glfw3.h> #include <chrono> #include <string> #include "ai/ai_agent.h" #include "editor/editor.h" #include "e...
C
F, 1.0F), new Vector3f(-1.0F, -1.0F, 1.0F)}; faces.add(face); //yz +x face = new Vector3f[]{ new Vector3f(1.0F, -1.0F, -1.0F), new Vector3f(1.0F, 1.0F, -1.0F), new Vector3f(1.0F, 1.0F, 1.0F), new Vector3f(1.0F, -1.0F, 1.0F)}; faces.add(face); //xz -y face = new Vector3f[]{ new Vect...
Java
ap(([e,t])=>o.default.createElement(c.SelectItem,{key:e,value:e},t))))),(t.condition.type===s.Contains||t.condition.type===s.NotContains)&&o.default.createElement("div",{style:{fontSize:"0.875rem",color:"var(--muted-foreground)"}},'For "Contains" and "Not Contains", the input value can be a string or an array. If it\'s...
JavaScript
0.16667,-0.3 0.0667,-0.0667 0.16666,-0.1 0.26667,-0.1 0.0667,0 0.13333,0.0333 0.2,0.0667 0.0667,0.0333 0.1,0.1 0.13333,0.16667 0.0333,0.0667 0.0667,0.16666 0.1,0.26666 0.0333,0.10001 0.0333,0.23334 0.0333,0.43334 0,0.2 -0.0333,0.36667 -0.0667,0.5 -0.0333,0.13334 -0.1,0.23334 -0.16667,0.3 -0.0667,0.0667 -0.16667,0.1 -0...
JavaScript
.87 2.87 0 00-2.86-2.87Zm2.88 6.52H6.76v28a2.85 2.85 0 002.86 2.86h28.74a2.86 2.86 0 002.88-2.85h0Zm-28.86 6.04h23.24M12.5 25h18.82m-18.94 6.25h23.24M12.5 37.5h18.82"/></svg>'; static const String star = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48" height="48" p...
Dart