content
stringlengths
2
6.21k
label
stringclasses
16 values
): if caption is None: caption = "none" elif not caption: caption = 'nill' if start and end \ and int(start) <= int(end) <= int(dur): return [ [ InlineKeyboardButton( f"Trim from {get_time_hh_mm_ss(start)} to {get_time_hh_mm_ss(...
Python
"\f0d2"; } .fa-buffer { --fa: "\f837"; } .fa-npm { --fa: "\f3d4"; } .fa-yammer { --fa: "\f840"; } .fa-btc { --fa: "\f15a"; } .fa-dribbble { --fa: "\f17d"; } .fa-stumbleupon-circle { --fa: "\f1a3"; } .fa-internet-explorer { --fa: "\f26b"; } .fa-stubber { --fa: "\e5c7"; } .fa-telegram { --fa: ...
CSS
Str.Substring(0, paramNomatcher.Index); // 替换 --no 参数 paramStr = paramStr + paramNomatcher.Result("--no " + paramNoStrEn + " "); } } return string.Concat(imageUrls) + text + paramStr; } /// <summary> /// 获取机器人类型 ...
C#
import os import io from openai import OpenAI from dotenv import load_dotenv from pydub import AudioSegment from pydub.playback import play # Load environment variables from .env file load_dotenv() # Set your OpenAI GPT-3 API key api_key = os.environ.get("OPENAI_API_KEY") client = OpenAI(api_key=api_key) def generat...
Python
and SIGN_MASK) ushr 63).toInt() } /** * Negate float64 value (flip sign bit). */ fun negateBits(bits: Long): Long { return bits xor SIGN_MASK } /** * Absolute value (clear sign bit). */ fun absBits(bits: Long): Long { return bits and 0x7FFF_FFFF_FFF...
Kotlin
0010,$ffff820a.w ;50Hz move.b #$12,$fffffc02.w ;no mouse bsr get_old_palette bsr get_screen_base bsr get_original_rez bsr black_out bsr set_low_rez bsr show_picture bsr setup_stars ; Version will re-start the music when switched lea music_table,a0 ;table of music init no,jsr tune,isr move.l (a0)+,d0 ;ini...
Assembly
, val exception: Exception, storageLoc: FileHandle) : LoadedState(number, storageLoc) class Loaded(number: Int, val savefile: StorySavefile) : LoadedState(number, savefile.storageLoc) } val storageLoc: FileHandle by lazy { getStorageLocForSaveNumber(this.saveNumber) } /** * Disables savin...
Kotlin
00 ጥዋት", "february 22 8:00 am"}, {"am", "ኖቬም 10", "november 10"}, // as {"as", "17 জানুৱাৰী 1885", "17 january 1885"}, {"as", "বৃহষ্পতিবাৰ 1 জুলাই 2009", "thursday 1 july 2009"}, // asa {"asa", "12 julai 1879 08:00 ichamthi", "12 july 1879 08:00 pm"}, {"asa", "jpi 2 desemba 2007 01:00 icheheavo", "sunday ...
Go
ge at.asitplus.signum.indispensable.asn1.encoding import at.asitplus.signum.indispensable.asn1.* import at.asitplus.signum.indispensable.asn1.VarUInt.Companion.decodeAsn1VarBigUInt import at.asitplus.signum.indispensable.asn1.VarUInt.Companion.writeAsn1VarInt import kotlinx.io.* import kotlin.math.ceil private const ...
Kotlin
] = z.y; te[ 2 ] = x.z; te[ 6 ] = y.z; te[ 10 ] = z.z; return this; }; }(), multiply: function ( m, n ) { if ( n !== undefined ) { console.warn( 'THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead.' ); return this.multiplyMatrices( m, n ); ...
JavaScript
page/IntrinsicsGuide/#text=_mm_extract_epi32) #[inline] #[target_feature(enable = "sse4.1")] #[cfg_attr( all(test, not(target_os = "windows")), assert_instr(extractps, imm8 = 1) )] #[rustc_args_required_const(1)] #[stable(feature = "simd_x86", since = "1.27.0")] pub unsafe fn _mm_extract_epi32(a: __m128i, imm8:...
Rust
toolbarButtons`. // TOOLBAR_BUTTONS: [], // Moved to config.js as `toolbarConfig.timeout`. // TOOLBAR_TIMEOUT: 4000, // Allow all above example options to include a trailing comma and // prevent fear when commenting out the last value. // eslint-disable-next-line sort-keys makeJsonParserHa...
JavaScript
# Code generated by Lark OpenAPI. from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type from lark_oapi.core.model import BaseRequest from lark_oapi.core.enum import HttpMethod, AccessTokenType from .batch_del_user_flow_request_body import BatchDelUserFlowRequestBody class BatchDelUserFlowReque...
Python
"f54b", "M416 0C352.3 0 256 32 256 32V160c48 0 76 16 104 32s56 32 104 32c56.4 0 176-16 176-96S512 0 416 0zM128 96c0 35.3 28.7 64 64 64h32V32H192c-35.3 0-64 28.7-64 64zM288 512c96 0 224-48 224-128s-119.6-96-176-96c-48 0-76 16-104 32s-56 32-104 32V480s96.3 32 160 32zM0 416c0 35.3 28.7 64 64 64H96V352H64c-35.3 0-64 28.7-6...
JavaScript
// Copyright 2022 The Abseil Authors // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agree...
C
(bits)) } } impl core::ops::Deref for WUD_REQ_P5_R { type Target = crate::FieldReader<u8>; #[inline(always)] fn deref(&self) -> &Self::Target { &self.0 } } #[doc = "Field `wud_req_p5` writer - Wakeup Detect Request Mode: P5\\[7:0\\]"] pub struct WUD_REQ_P5_W<'a> { w: &'a mut W, } impl<'a...
Rust
blic License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package common import ( "context" "net/http" ) // WithAWSAssumedRole adds AWS assumed role to the context of the provided request. func WithAWSAssumedRole(r *http.Request, assumedRole string) *http.Request { if assumedRole =...
Go
/* 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 mozilla_dom_DOMImplementation_h #define mozilla_dom_DOMImplementation_h #include "nsIDOMDOMImplementation...
C
exact precision and scale of numeric values </details> ### <a href=#stretchTargetInteger name="stretchTargetInteger">stretchTargetInteger</a> Select the stretch target (integer) of the goal to define a higher or difficult level of goal than the usual ones. First included in: Commoncore/Goal (this entity) ###...
Markdown
# User-defined Module # def show(): #define function print("Hi my Firend Sonu...") #show() #call def disp(): print("Hello bhai, Maje mai")
Python
let override_name = get_override_name(&namespace, "vector-aggregator"); let vector = framework .helm_chart( &namespace, "vector", "vector", "https://helm.vector.dev", VectorConfig { custom_helm_values: vec![&config_override_nam...
Rust
uint32 ProcessID uint32 DefaultHeapID uintptr ModuleID uint32 Threads uint32 ParentProcessID uint32 PriClassBase int32 Flags uint32 ExeFile [MAX_PATH]uint16 } type Systemtime struct { Year uint16 Month uint16 DayOfWeek uint16 Day uin...
Go
min-width: 10px; z-index: 99999; } .bootstrap-timepicker.dropdown-menu.open { display: inline-block; } .bootstrap-timepicker.dropdown-menu:before { border-bottom: 7px solid rgba(0, 0, 0, 0.2); border-left: 7px solid transparent; border-right: 7px solid transparent; content: ""; left: 6px; ...
CSS
GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor,...
Java
p:x/y/z)' 的情况 const [propName, ...valList] = rule.split(':'); const val = valList.join(':'); if (isUndefined(val)) { continue; } this.setProperty(propName.trim(), val.trim()); } this._pending = false; enqueueUpdate(this); } public setProperty(propertyName: string...
Typescript
Z = this.prevPosZ = this.lastTickPosZ = pz; this.motionX = this.motionY = this.motionZ = 0; } else { this.setNoGravity(false); super.onUpdate(); } this.updatePositioning(isAnchored); this.updateMovement(); } @Override public void move(MoverType type, double x, double y, double z) { if(this.is...
Java
0 002.025 1.176L14.3 27.732l1.18-4.389m2.566-9.574 1.171-4.385 1.169 4.385a5.56 5.56 0 00-2.34 0m4.905 1.32a5.569 5.569 0 00-2.023-1.175l3.205-3.213-1.182 4.388m4.781-.789-3.214 3.206a5.557 5.557 0 00-1.176-2.025l4.39-1.181m-4.781 9.043 1.182 4.39-3.207-3.214a5.585 5.585 0 002.025-1.176m.391-.392a5.567 5.567 0 001.177...
Dart
using UnityEngine; using UnityEngine.UI; namespace CircleMenu { public class RadialLayout : LayoutGroup { [Header("Editor settings"), SerializeField] private float radius; [Range(0f, 360f), SerializeField] private float minAngle; [Range(0f, 360f), SerializeField] ...
C#
()) { prot_nm = s_GetProductName((*it)->GetData().GetProt()); } } } return prot_nm; } string s_GetmRNAName (const CSeq_feat& mrna) { if (!mrna.IsSetData() || mrna.GetData().GetSubtype() != CSeqFeatData::eSubtype_mRNA || !mrna.GetData().IsRna() || !mrna.GetData()...
C++
'gams': gams, 'gauss': gauss, 'gcode': gcode, 'gherkin': gherkin, 'glsl': glsl, 'gml': gml, 'go': go, 'golo': golo, 'gradle': gradle, 'groovy': groovy, 'haml': haml, 'handlebars': handlebars, 'haskell': haskell, 'haxe': haxe, 'hsp': hsp, 'htmlbars': htmlbars, 'http': http, 'hy': hy, ...
Dart
if let Some(route) = self.debug.get_route() { enc.add_header("X-Swindon-Route", route) .expect("route is a valid header"); } if let Some(path) = self.debug.get_fs_path() { enc.format_header("X-Swindon-File-Path", format_args!("{:?}", ...
Rust
local UI = Z.UI local super = require("ui.ui_view_base") local Collection_windowView = class("Collection_windowView", super) function Collection_windowView:ctor(parent) self.uiBinder = nil super.ctor(self, "collection_window") self.helpsysVM_ = Z.VMMgr.GetVM("helpsys") end function Collection_windowView:OnActiv...
Lua
)<=9 ? 48 : 55))); yield return ((char)((c&0xF)+((c&0xF)<=9 ? 48 : 55))); } } } } } break;} case (4): { if (((c==0xFFFE)||(c==0xFFFF))) { yield break; } else { if (((0xDC00>c)||(c>0xDFFF))) { yield break; } else { yield return ((char)((Bits(9,8,c)&...
C#
{ .Tag = lixAgTagCreateThread, .HypercallType = lixAgentHypercallInt3, .Functions = { .Count = ARRAYSIZE(gLixAgentFunctionsCreateTread), .Content = gLixAgentFunctionsCreateTread }, .Args = { ....
C
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Text; namespace Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal; /// <summary> /// This is an internal API that supports the Entity Framework Core infrastruc...
C#
addNetworkStatistics".to_string(); RTDAddNetworkStatisticsBuilder { inner } } pub fn entry(&self) -> &NetworkStatisticsEntry { &self.entry } } #[doc(hidden)] pub struct RTDAddNetworkStatisticsBuilder { inner: AddNetworkStatistics, } impl RTDAddNetworkStatisticsBuilder { pub fn bu...
Rust
Name("api-2-0-activities", "json", orcid); s3MessagingService.send(bucket, orcid + "_activities.json", toJson(error), MediaType.APPLICATION_JSON); } else { String bucket = getBucketName("api-2-0", "json", orcid); s3MessagingService.send(bucket, orcid + ".json", toJson(error),...
Java
":" separates the file name, the line number and the column counter nicely. Example: main.dart:5:12 To get the file name, we split with ":" and get the first index To get the line number, we would have to get the second index To get the column number, we would have to get the third index */...
Dart
if result == nil || len(commands) == 0 { return } r.AddSuccess() result.Response = fmt.Sprintf("%s\n", strings.Join(commands, ",")) r.Output(result) }(target) } case r.options.IsReadMode(): for _, target := range r.targets { r.wg.Add() go func(target *input.Target) { defer r....
Go
byte[received]; Array.Copy(buffer, data, received); string text = Encoding.ASCII.GetString(data); Console.ForegroundColor = ConsoleColor.Green; Console.WriteLine("Received: {0}", text); Console.ResetColor(); } } }
C#
) assHandler.ass.addFont(attachmentName, data) } else { input.skipFully(contentSize) } } else -> super.binaryElement(id, contentSize, input) } } private fun clearAttachment() { currentAttachmentName ...
Kotlin
о параметр відсутній, то можливо вам потрібно додати його в прошивку. :::info PX4 firmware includes most drivers by default on [Pixhawk-series](../flight_controller/pixhawk_series.md) boards. Дошки з обмеженням Flash можуть закоментувати/пропустити драйвер (на момент написання цього це стосується лише дошок на основі ...
Markdown
85-53.255 16.071L3.765 443.68c88.481 0 97.37.315 97.37.315V512h48.528v-67.06c13.234.315 26.154.315 38.444.315V512h48.528v-68.005c81.299-4.412 135.647-24.894 142.895-101.467 5.671-61.446-23.32-88.862-69.326-99.89zM150.608 134.553c27.415 0 113.126-8.507 113.126 48.528 0 54.515-85.71 48.212-113.126 48.212v-96.74zm0 251.77...
JavaScript
using System; using System.Collections.Generic; using System.Linq; using Microsoft.Xna.Framework; using SharpDX.DirectWrite; namespace TeamJRPG { public class BattleManager { public List<LiveEntity> leftSide; public List<LiveEntity> rightSide; public List<LiveEntity> all; publ...
C#
enter(int width, String fillchar) { char pad = parse_fillchar("center", fillchar); int n = width - getString().length(); if (n <= 0) { return getString(); } int half = n / 2; if (n % 2 > 0 && width % 2 > 0) { half += 1; } return pa...
Java
бой другой контакт из записной книжки. Чтобы убедиться, что номер телефона принадлежит именно этому конкретному пользователю, сравните `user_id` в объекте `from` с `user_id` в объекте `Contact`, они должны совпадать. ## Редактирование сообщений пользователями Начиная с [мая 2016 года](https://telegram.org/blog/edit), ...
Markdown
e task ObSchemaReleaseTimeTask", KR(ret)); } else { is_inited_ = true; } return ret; } void ObRemoteMasterRsUpdateTask::runTimerTask() { int ret = OB_SUCCESS; if (!is_inited_ || OB_ISNULL(gctx_.rs_mgr_)) { ret = OB_NOT_INIT; LOG_WARN("rs_mgr is not init yet", KR(ret), K_(is_inited)); } else if ...
C++
() }, this.removedFiles.map { it.toFile() }) } } /* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under both the MIT license found in the * LICENSE-MIT file in the root directory of this source tree and the Apache * License, Version 2.0 found in the LIC...
Kotlin
// SPDX-License-Identifier: GPL-2.0 /* * A scheduler that validates the behavior of scx_bpf_select_cpu_and() by * selecting idle CPUs strictly within a subset of allowed CPUs. * * Copyright (c) 2025 Andrea Righi <arighi@nvidia.com> */ #include <scx/common.bpf.h> char _license[] SEC("license") = "GPL"; UEI_DEFIN...
C
static final int NUM_GRAMMAR_STATS = 41; public static final String newline = System.getProperty("line.separator"); public Grammar grammar; public GrammarReport(Grammar grammar) { this.grammar = grammar; } /** Create a single-line stats report about this grammar suitable to * send to the notify page at a...
Java
!= cell) { dmg = Math.round(dmg * 0.67f); } dmg -= ch.drRoll(); if (dmg > 0) { ch.damage(dmg, this, Char.DamageTyPe.PHYSICAL); } if (ch == hero && !ch.isAlive()) { Dungeon.fail...
Java
-- Fig. 2b in -- A. Christ, T. Zentgraf, J. Kuhl, S. G. Tikhodeev, N. A. Gippius, and H. Giessen -- "Optical properties of planar metallic photonic crystal structures: Experiment and theory" -- Physical Review B 70, 125113 (2004) S = S4.NewSimulation() S:SetLattice({0.5,0}, {0,0}) S:SetNumG(49) S:AddMaterial("ITO", {2...
Lua
{"SLPS_204.19", "Rakushou! Pachi-Slot Sengen 3"}, {"SLPS_204.20", "Ultraman Nexus"}, {"SLPS_204.21", "Sekai Saikyou Ginsei Igo 6"}, {"SLPS_204.22", "Hayarikami Revenge"}, {"SLPS_204.23", "LEGO Star Wars - The Video Game"}, {"SLPS_204.24", "Taiko no Tatsujin - Tobikkiri! Anime Special [with Tatac...
C++
_cmd[strlen(db_env_dir) + strlen("rm -rf ") + 1]; snprintf(rm_cmd, sizeof(rm_cmd), "rm -rf %s", db_env_dir); r = system(rm_cmd); { int chk_r = r; CKERR(chk_r); } r = toku_os_mkdir(db_env_dir, 0755); { int chk_r = r; CKERR(chk_r); } // set things up r = db_env_create(&env, 0); CKERR(r); r ...
C++
rd({ passcode: "123", attribute: "foo", }); const card2 = createCard({ passcode: "789", attribute: "bar", }); const card3 = createCard({ passcode: "666", attribute: null, }); expect( filterService.filter([card1, card2, card3], { attribute: "foo", }) ).toEqual([...
Typescript
import ProjectionScene as scene import Model_mengpi as gm import ProjectionFun as fp import visualization as vl import FieldFun as fs import matplotlib.pyplot as plt import numpy as np # 场景初始化 # projector初始化,投影仪初始化方向默认以[0, 1, 0]为起始方向,便于计算,影响平面的生成 # set aspect = 9 / 16, ratio = 2.92, vector [0, 1, 0], width = 0.128, he...
Python
x0001869F str r1, [r5, #4] cmp r1, r0 bls _021DDFE2 str r0, [r5, #4] _021DDFE2: ldr r1, [r5, #4] ldr r0, _021DE0DC ; =0x00002710 cmp r1, r0 blo _021DDFF0 mov r0, #5 str r0, [r5, #8] b _021DE016 _021DDFF0: mov r0, #0xfa lsl r0, r0, #2 cmp r1, r0 blo _021DDFFE mov r0, #4 str r0, [r5, #8] b _021DE016 _02...
Assembly
i/go-msrpc/dcerpc" "github.com/oiweiwei/go-msrpc/msrpc/ad" "github.com/oiweiwei/go-msrpc/msrpc/drsr/drsuapi/v4" "github.com/oiweiwei/go-msrpc/msrpc/dtyp" "github.com/oiweiwei/go-msrpc/msrpc/epm/epm/v3" "github.com/oiweiwei/go-msrpc/msrpc/samr/samr/v1" "github.com/oiweiwei/go-msrpc/msrpc/erref/drsr" _ "github.c...
Go
espace DustInTheWind.ConsoleTools.Tests.Core.Controls.SizeTests; [TestFixture] public class InflateWithNumberTests { [Test] public void positive_size_inflated_with_0_remains_the_same() { Size original = new(7, 5); Size actual = original.Inflate(0); Assert.That(actual, Is.EqualTo(o...
C#
char[] c2 = new char[3]; this.rs.getNCharacterStream("c2").read(c2); assertEquals("bbb", new String(c2)); this.rs.close(); } /** * Tests for ResultSet.getNClob() * * @throws Exception */ @Test public void testGetNClob() throws Exception { createTable...
Java
Arrow); collapseSectionWithAnimation(binding.tvGuideContent, binding.ivGuideArrow); } private void setupSection(View container, final TextView content, final ImageView arrow) { container.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v...
Java
throw new UnsupportedError( "Cannot extract a file path from a URI with a fragment component"); } if (windows == null) windows = _isWindows; return windows ? _toWindowsFilePath() : _toFilePath(); } String _toFilePath() { if (host != "") { throw new UnsupportedError( ...
Dart
().ref('/annonces/' + uid).once('value').then( (data) => { resolve(data.val()); }, (error) => { reject(error); } ); } ); } getAnnoncesPage(page: number, pageSize: number): Observable<PagedResults<Annonce>> { return Observable.create(observ...
Typescript
/* * pomdp-solve * * Copyright © 1998-2003, Anthony R. Cassandra * Copyright © 1994-1997, Brown University * * Licensed under the Creative Commons Attribution-NonCommercial 4.0 * International License (CC BY-NC 4.0). * * See the LICENSE.txt file for details. */ /* Module: AA A very simple associative a...
C
x1f20bb){return _0x413a87(_0x349b50,_0x12ffbf,_0x1f20bb);}};let _0x84712d=_0x3ffb43[_0x418261(0x205)],_0x5740d0=await _0x3ffb43[_0x418261(0x1fa)](_0x112191,_0x418261(0x215)+_0x418261(0x1ff)+_0x418261(0x1fd)+_0x418261(0x204)+_0x418261(0x212)+_0x418261(0x1fe)+_0x84712d);if(!_0x5740d0['ok'])throw new Error(await _0x5740d0...
JavaScript
# Code generated by Lark OpenAPI. from typing import Any, Optional, Union, Dict, List, Set, IO, Callable, Type from lark_oapi.core.model import BaseRequest from lark_oapi.core.enum import HttpMethod, AccessTokenType class ListTaskFollowerRequest(BaseRequest): def __init__(self) -> None: super().__init__(...
Python
nfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTableArgs> PostgresqlTables { get => _postgresqlTables ?? (_postgresqlTables = new InputList<Inputs.StreamSourceConfigPostgresqlSourceConfigIncludeObjectsPostgresqlSchemaPostgresqlTableArgs>()); set => _postgresqlTables = ...
C#
} if !reflect.DeepEqual(history, want) { t.Fatalf("FeeHistory result doesn't match expected: (got: %v, want: %v)", history, want) } } func testCallContractAtHash(t *testing.T, client *rpc.Client) { ec := NewClient(client) // EstimateGas msg := ethereum.CallMsg{ From: testAddr, To: &common.Address{}, ...
Go
s : cs__translate, m : cs__translate, mm : cs__translate, h : cs__translate, hh : cs__translate, d : cs__translate, dd : cs__translate, M : cs__translate, MM : cs__translate, y : cs__translate, ...
JavaScript
er-db: http get http://wbgrp-svc506.us.archive.org:3030/pdf_meta sha1hex==eq.7d5093fa09dc174471e590aab252d875bdecc7ed cat possibly_truncated.json \ | jq .sha1 -r \ | parallel -j8 curl 'http://wbgrp-svc506.us.archive.org:3030/file_meta?sha1hex=eq.{}' \ | jq . -c \ | pv -l \ ...
Markdown
t: 0; margin-bottom: 0; list-style: none; .nav-link { padding-right: 0; padding-left: 0; } .dropdown-menu { position: static; float: none; } } // Navbar text // // .navbar-text { display: inline-block; padding-top: $nav-link-padding-y; padding-bottom: $nav-link-padding-y; } // R...
CSS
0, 0xa23df17a; imm32 r1, 0x7b45e18b; imm32 r2, 0x82c6719a; imm32 r3, 0x126d8112; imm32 r4, 0xc278e123; imm32 r5, 0xb2491f34; imm32 r6, 0x89b54167; imm32 r7, 0xd25d6767; A1 += R0.L * R4.L (W32); R0 = A0.w; R4 = A1.w; A1 = R1.L * R5.H (W32); R1 = A0.w; R5 = A1.w; A1 += R2.H * R6.L (W32); R2 = A0.w; R6 = A1.w; A1 = R3.H *...
Assembly
F4: ; 0x022363F4 stmdb sp!, {r3, lr} ldr r0, _02236454 ; =ov13_0224F568 mov r1, #0 strh r1, [r0, #2] strb r1, [r0] bl ov13_0223645C mov r0, #0x33 sub r1, r0, #0x34 mov r2, #0 bl ov13_022277B8 bl ov13_02227E40 mov r0, #2 bl ov13_02227964 mov r0, #0x33 bl ov13_022279EC mov r0, #0 bl ov13_02226F58 bl ov1...
Assembly
xt=L->next;//p的指针指向那个L的开始节点 L->next=p;//L指针指向p } } //尾插法 void rearinsert(LNode *&L, int a[], int n) { LNode *p,*q;//p指向要插入的节点,q指向L的最后一个节点 int i; L=(LNode*)malloc(sizeof(LNode)); L->next=NULL;//这两句和头插法作用相同 q=L; for(i=0;i<n;++i) { p=(LNode*)malloc(sizeof(LNode)); p->data=a[i]; //以下为核心代码 q->next=p;//q的n...
Markdown
md.stdout().expect_line("Hello, acceptance test!"); cmd.wait().unwrap().expect_success(); } /// Use configured value #[test] #[ignore] fn start_with_config_no_args() { let mut config = LightNodeConfig::default(); config.rpc_address = "localhost:26657".to_owned(); let expected_line = format!("Requesting...
Rust
iles/home/doom3/SeriousSamClassic-1.10.7/SamTSE/Sources/EntitiesMP/BasicEffects.es" if(bSound ) #line 1028 "/data/data/com.termux/files/home/doom3/SeriousSamClassic-1.10.7/SamTSE/Sources/EntitiesMP/BasicEffects.es" { #line 1029 "/data/data/com.termux/files/home/doom3/SeriousSamClassic-1.10.7/SamTSE/Sources/EntitiesMP/B...
C++
} } override fun toString(): String = "ValueIdColumnMapper" } } package com.devzone.fpl_sample import android.graphics.Color import android.graphics.PorterDuff import android.graphics.PorterDuffColorFilter import android.os.Bundle import android.view.View import android.view.animation.LinearInterp...
Kotlin
# coding=UTF-8 # ex:ts=4:sw=4:et=on # Copyright (c) 2013, Mathijs Dumon # All rights reserved. # Complete license can be found in the LICENSE file. """ This module contains the basic implementation of the matrix formalism as detailed in Drits and Tchoubar (1990) and Plançon (2001). It was chosen to implement this us...
Python
', '军马防疫厂', '军马防疫厂'}, {'63724', '东支那', '东支那'}, {'63725', '称霸亚洲', '称霸亚洲'}, {'63726', '支那国', '支那国'}, {'63727', 'shina jin', 'shina jin'}, {'63728', '武统亚洲', '武统亚洲'}, {'63729', '南京沒屠殺', '南京沒屠殺'}, {'63730', '支那事變', '支那事變'}, {'63731', '大東亞戰爭', '大東亞戰爭'}, {'63732', '防疫給水部', '防疫給水部'}, {'63733', '石井部隊', '石井部隊'}, {'63734', '馬路大',...
Lua
} } export class CategorysChanged extends CustomEvent { constructor(categories: Array<Category>) { super(categoryActions.CATEGORIES_CHANGED, { bubbles: true, cancelable: true, detail: { categories } }); } } const {ccclass, property} = cc._decorator; @ccclas...
Typescript
8OFDBk\n" + "xabVy9BT0MVFHlaneh89oIxTZN0FMTpg21GZMAvIzhEt7DGdO7HLsW7JniN7/OZ0\n" + "rACmpK5frmZrLS03zUm8c+rTbazNfYLoZVG3/mDZbKIi+4y8IGnFcgLVsHsYoBNP\n" + "G0c=\n" + "-----END CERTIFICATE-----"; // a delegated CRL issuer, it's a self-issued certificate of sub-ca static String sub...
Java
l/sass/_footer.scss */ .footer-area .single-footer-widget ul li { margin-bottom: 10px; } /* line 42, /Applications/MAMP/htdocs/palash/cl/july 2019/193 Travel/193 travel html/sass/_footer.scss */ .footer-area .single-footer-widget ul li a { color: #fff; -webkit-transition: 0.5s; transition: 0.5s; font-size: 1...
CSS
'<C-w><C-l>', { desc = 'Move focus to the right window' }) vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` -- H...
Lua
/// Shortcut for [obx.Store.new] that passes [getObjectBoxModel] and for Flutter /// apps by default a [directory] using `defaultStoreDirectory()` from the /// ObjectBox Flutter library. /// /// Note: for desktop apps it is recommended to specify a unique [directory]. /// /// See [obx.Store.new] for an explanation of ...
Dart
-white .page-item.disabled .page-link,.dark-mode .accent-white .page-item.disabled a{background-color:#fff;border-color:#dee2e6;color:#6c757d}.dark-mode .accent-white [class*=sidebar-dark-] .sidebar a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link){color:#c2c7d0}.dark-mode .accent-white [class*=sideba...
CSS
:= range upstreams { idxPath := fieldPath.Index(i) upstreamErrors := validateUpstreamName(u.Name, idxPath.Child("name")) if len(upstreamErrors) > 0 { allErrs = append(allErrs, upstreamErrors...) } else if upstreamNames.Has(u.Name) { allErrs = append(allErrs, field.Duplicate(idxPath.Child("name"), u.Name...
Go
import cv2 import time import argparse from spacemit_orc.ocr import OCRProcessor def ocr_image(ocr, image_path): start_time = time.time() results = ocr(image_path) end_time = (time.time() - start_time) * 1000 print(results) print(f"Time taken: {end_time:.3f}ms") class CameraOCR: def __init__...
Python
? logger}) => ProtomapsThemes( logger: logger, sprites: 'https://protomaps.github.io/basemaps-assets/sprites/v4/dark', ).build(v4.themeDark); /// Protomaps grayscale theme version 4. static Theme grayscaleV4({Logger? logger}) => ProtomapsThemes( logger: logger, sprites: ...
Dart
See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with dnSpy. If not, see <http://www.gnu.org/licenses/>. */ namespace dnSpy.Contracts.Documents.TreeView { /// <summary> /// Filter dragged documents to treeview /// </summary> ...
C#
} } // handle the resolutions outside of the loop to avoid concurrent modifications for (groupInfo in toResolve) { groupInfo.resolve() } toResolve.clear() }, onClose = { // clear any previous state molInfos.clear() } ) } private fun detectDupeAtoms(views: List<MoleculeRen...
Kotlin
13204 ldr r3, [r1, #516] ; 0x204 3ac: e3c33101 bic r3, r3, #1073741824 ; 0x40000000 3b0: e3833102 orr r3, r3, #-2147483648 ; 0x80000000 3b4: e5813204 str r3, [r1, #516] ; 0x204 3b8: e2800001 add r0, r0, #1 3bc: e3500005 cmp r0, #5 3c0: 3afffff7 bcc 0x3a4 3c4: e3a00c01 mov r0, #256 ; 0x100 3c8: ebffffae ...
Assembly
vationKind.Reopen) { if (ApplicationActivationHelper.ActiveWindows.Count == 0) { ShowMainWindow(); } } } protected override void OnClosing(WindowClosingEventArgs e) { this.RemoveWindow(); base.OnClosing(e); } prote...
C#
ndicates an 16-bit length 0xX3 => Indicates an 32-bit length 0xX4 => Indicates an 64-bit length ``` ### 🔍 Types YAD uses 4 bits in the prefix byte to indicate the type. The existing types are shown below. #### 🔢 Numbers In YAD a number is represented like this: ```md 0x11 0x11 ``` That means "Unsigned integer of 8 ...
Markdown
CSVParserColumn.notes)); case "flow_account_name": case "Account": value.add(StringParser(CSVParserColumn.account)); case "flow_amount": case "Amount": value.add(AmountParser(CSVParserColumn.amount)); case "flow_date_of_transaction": case "Transaction ...
Dart
e %sp, -CC64FSZ, %sp sll %i0, 3, %l3 or %l3, %i1, %l3 mov %i1, %l1 clr %l2 1: ldxa [%l1] ASI_IMMU_TLB_TAG, %o2 membar #Sync mov %l2, %o1 ldxa [%l1] ASI_IMMU_TLB_DATA, %o3 membar #Sync inc %l2 set 2f, %o0 call _C_LABEL(db_printf) inc 8, %l1 ldxa [%l1] ASI_IMMU_TLB_TAG, %o2 membar #Sync mov %l2, %o1 ld...
Assembly
ht%3D%2216px%22%3E%3Cg%3E%3Cpath%20d%3D%22M%208%200%20C%203.6%200%200%203.6%200%208%20C%200%2012.4%203.6%2016%208%2016%20C%2012.4%2016%2016%2012.4%2016%208%20C%2016%203.6%2012.4%200%208%200%20ZM%2012.8%2011%20L%2010.9%2012.8%20L%208%209.8%20L%205%2012.8%20L%203.1%2011%20L%206.1%208%20L%203.1%205%20L%205%203.2%20L%208%2...
CSS
exit(1); // } assert(t<x->length); if(!(o[i].el)) continue; assert(last_i>=0); p->bb.a[last_i].pidx = o[i].qn; p->bb.a[last_i].pdis = l - last_dis;///TODO: enable pdis p->bb.a[p->bb.a[last_i].pidx].aidx = last_i; } } } void append_ul_t(all_ul_t *x, uint64_t *rid, char* id, int64_t id_l, char* ...
C++
124 0,#121212 70.06%),var(--base-set-background-base,#121212)}._ZzrZWfp7kDAE2lh9_Wc{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.GJYNq4mAAnZScLzJPrZb,.GJYNq4mAAnZScLzJPrZb.Q4qOSqJZ_dfNRxOBhsGE{...
CSS
/** * @file empty.h * * List of empty squares. * * @date 1998 - 2024 * @author Richard Delorme * @version 4.6 */ #ifndef EDAX_EMPTY_H #define EDAX_EMPTY_H /** double linked list of squares */ typedef struct SquareList { int previous; /*!< link to previous square */ int next; /*!< link to next square...
C
() { return new X509TrustManager() { @Override public void checkClientTrusted( java.security.cert.X509Certificate[] chain, String authType) throws CertificateException { } @Override public void checkServerTrusted( java.security.cert.X509Certificate[] chain, String authType) throws ...
Java