content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
cpsr_cxsf,r1 /* abort mode */
ldr sp, ABORT_STACK_START
orr r1,r0,#IRQMODE|NOINT
msr cpsr_cxsf,r1 /* IRQ mode */
ldr sp, IRQ_STACK_START
orr r1,r0,#FIQMODE|NOINT
msr cpsr_cxsf,r1 /* FIQ mode */
ldr sp, FIQ_STACK_START
bic r0,r0,#MODEMASK
orr r1,r0,#SVCMODE|NOINT
msr cpsr_c... | Assembly |
(!c.peerNames.has(R.name)&&!r.has(R.locator)){r.add(R.locator);let N=MY(t,[...e,R],r,I,a);N.isGraphChanged&&(S=!0),N.anotherRoundNeeded&&(C=!0),r.delete(R.locator)}return{anotherRoundNeeded:C,isGraphChanged:S}},ETt=t=>{for(let[e,r]of t.dependencies)if(!t.peerNames.has(e)&&r.ident!==t.ident)return!0;return!1},ITt=(t,e,r... | JavaScript |
vertices[#self.vertices+1] = self.vertex
end
function M:End()
local itmv = inverse_transpose({gl.Get(GL.MODELVIEW_MATRIX)})
-- sort buffer
local vertices = {}
if(self.primitive == GL.TRIANGLES) then
for i, v in ipairs(self.vertices) do
local normal = eye_norm(itmv, v.normal)
if(normal[3] < 0) then
v.c... | Lua |
private List<Pair<Line2d>> lines;
private Matrix transformMatrix;
private JFrame mouseFrame;
private int windowSize;
private int featureWindowSize;
private JFrame featureFrame;
private double visFactor = 4;
/**
* Construct the demo
*
* @throws IOException
*/
public SecondMomentVisualiser() throws IO... | Java |
)
.to_string()
})
.collect::<String>()
})
.collect(),
None => vec![],
};
all_volume_ids.extend(page_vols);
debug!("Gathered {} volume ID... | Rust |
else
if (!clName.endsWith("_ActorProxy")) {
if (conf.getLastResortResolver() != null) {
Class aClass = conf.getLastResortResolver().getClass(clName);
if (aClass != null) return aClass;
}
throw new RuntimeException(
"class not found CLASSNAME:" + clName + " loader:" + conf.... | Java |
queuedChunkDeletions.clear()
}
queuedChunkUpdates.forEach {
chunkTextureMap.getOrPut(it.location, ::MiniMapTexture).updateChunkData(it)
}
queuedChunkUpdates.clear()
}
}
fun getLoadedChunkCount() = lock.read { chunkTextureMap.size }
... | Kotlin |
_ = strings.Builder{}
_ = errors.Is
_ = multierr.AppendInto
_ = sort.Ints
_ = tdp.Format
_ = tgerr.Error{}
_ = tdjson.Encoder{}
)
// PaymentsUpdateStarGiftCollectionRequest represents TL type `payments.updateStarGiftCollection#4fddbee7`.
//
// See https://core.telegram.org/method/payments.updateStarGiftCollecti... | Go |
(name: String, className: String, numArgs: Int) {
GD.printError("No such method \"$name\" in $className with $numArgs arguments!", name, "", 0) // TODO: ???
exitProcess(EXIT_FAILURE)
}
inline fun <reified T: godot.GodotObject> set(name: String, cl: String, objRaw: COpaquePointer?, v: COpaquePointer?, shedul... | Kotlin |
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language gove... | Go |
entRemoved
data class BpmnElementRemovedEvent(override val bpmnElementId: BpmnElementId): BpmnElementRemoved
data class BpmnShapeObjectAddedEvent(override val bpmnObject: WithParentId, override val shape: ShapeElement, override val props: PropertyTable): BpmnShapeObjectAdded
data class BpmnEdgeObjectAddedEvent(overr... | Kotlin |
, 0x12, 0x89, 0x1c, 0x89
.db 0x41, 0x2e
.dw .music_data_silver_surfer_c_stephen_ruddy_song0ref1581
.db 0xaa, 0x24, 0x89
.music_data_silver_surfer_c_stephen_ruddy_song0ref1635:
.db 0x21, 0x1f, 0x81, 0x45, 0x81, 0x00, 0x22, 0x24, 0x81, 0x45, 0x81, 0x00, 0x27, 0x28, 0x81, 0x45, 0x81, 0x00, 0x2b, 0x89
.db 0x28, 0x25, ... | Assembly |
g=0}else d==407&&(HEAP[X]=0);var ee=__Py_Raise(HEAP[ub],HEAP[pb],HEAP[X],HEAP[b],HEAP[j],a);HEAP[e]=ee;if(HEAP[e]==0){d=632;break c}f=0;d=636;break a}else if(d==410)if(h=_PyObject_IsInstance(c,HEAP[_TryExcept_type]),d=h==-1?411:412,d==411){f=1;d=636;break a}else if(d==412)if(d=h!=0?413:454,d==413)if(d=_PyObject_HasAttr... | JavaScript |
order by id asc")
print ( "test3 loop times=" ,i,"\n","query result=",dump( res ) )
res = db:query("select * from cats order by id asc")
print ( "test3 loop times=" ,i,"\n","query result=",dump( res ) )
skynet.sleep(1000)
i=i+1
end
end
skynet.start(function()
local function... | Lua |
\s\\xa0]*nū̃[\\s\\xa0]*pattrī)?|ਰੋਮੀਆਂ(?:[\\s\\xa0]*ਨੂੰ)?|Rom))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`, "gi")
},
{
osis: ["2Cor"],
regexp: new RegExp(`(^|[^0-9A-Za-zªµºÀ-ÖØ-öø-ɏਁ-ਂਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹ਼ੁ-ੂੇ-ੈੋ-੍ੑਖ਼-ੜਫ਼ੰ-ੵḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿ])((?:ਕੁਰਿੰਥੀਆਂ... | Typescript |
pessoaContato, title: 'Editar um Contato')));
}),
),
body: CustomScrollView(slivers: <Widget>[
SliverList(
delegate: SliverChildListDelegate(<Widget>[
PessoaContatoController.pessoaContatoFields.fieldNome.onListTile(tap: () {
... | Dart |
import matplotlib.pyplot as plt
import numpy as np
# Данные
sizes = [1000, 6000, 11000, 16000, 21000, 26000, 31000, 36000, 41000, 46000]
sorted_times = [0.020285, 0.600009, 2.080599, 4.219193, 7.117762, 12.107055, 16.819767, 23.267277, 29.367486, 37.200036]
sorted_90_10_times = [0.019024, 0.701206, 2.259987, 4.488781,... | Python |
{
obj["onlineServingConfig"] = onlineServingConfigProp
}
onlineStorageTtlDaysProp, err := expandVertexAIFeaturestoreOnlineStorageTtlDays(d.Get("online_storage_ttl_days"), d, config)
if err != nil {
return err
} else if v, ok := d.GetOkExists("online_storage_ttl_days"); !tpgresource.IsEmptyValue(reflect.ValueOf... | Go |
mityMonitorTest(String name) {
super(name);
}
public void testInitialize() {
ExtremityMonitor monitor = new ExtremityMonitor();
assertEquals(Double.POSITIVE_INFINITY, monitor.getMin());
assertEquals(Double.NEGATIVE_INFINITY, monitor.getMax());
}
public void testSimple() {
ExtremityMonitor ... | Java |
-webkit-column-width: 5em; column-width: 5em;}
.cw-em-10 { -moz-column-width: 10em; -webkit-column-width: 10em; column-width: 10em;}
.cw-em-15 { -moz-column-width: 15em; -webkit-column-width: 15em; column-width: 15em;}
.cw-em-20 { -moz-column-width: 20em; -webkit-column-width: 20em; column-width: 20em;}
.cw-em-25 { -m... | CSS |
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 applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIO... | Go |
;
}
[data-pc-theme=dark] .form-check .form-check-input.input-light-dark:checked {
border-color: rgba(17, 25, 54, 0.2);
background-color: rgba(17, 25, 54, 0.2);
}
[data-pc-theme=dark] .fc-event.event-dark {
background: rgba(17, 25, 54, 0.2) !important;
}
[data-pc-theme=dark][data-pc-preset=preset-1] {
--bs-da... | CSS |
rldq $8, %xmm10
pslldq $8, %xmm2
aesenc 112(%rdi), %xmm8
movdqa %xmm1, %xmm3
pxor %xmm12, %xmm2
pxor %xmm10, %xmm3
movdqa L_aes_gcm_mod2_128(%rip), %xmm0
movdqa %xmm2, %xmm11
pclmulqdq $16, %xmm0, %xmm11
aesenc 128(%rdi), %xmm8
pshufd $0x4e... | Assembly |
[1667328242] = "v_carshowroom",
[2645833141] = "cs6_04_props_wire_116",
[289813942] = "ap1_01_d_aprds00",
[3233035704] = "ch3_04_sea_n101",
[2463448237] = "cs4_10_sheriff_windows",
[3449753941] = "1376551789",
[246205839] = "2259482809",
[3936439620] = "4198545498",
[3335084063] = "3206083147",
[1703425474] = ... | Lua |
BoxReader, Response};
use crate::router::{Closure, Route, Router, RouterResult};
use crate::server_builder::ServerBuilder;
use crate::tls::AsMutStream;
use crate::{declare_error, default};
use octane_http::http1x::raw_request::RawRequest1x;
use octane_http::http1x::Http1xReader;
use octane_http::StatusCode;
use std::er... | Rust |
// Copyright (c) 2006-2013, Andrey N. Sabelnikov, www.sabelnikov.net
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// not... | C |
XCC, 8b
add %o0, 64, %o0
ba,pt %XCC, 60f
add %i1, %i4, %i1
9: EX_LD(LOAD_TWIN(%i1 + %o4, %o2, %o3), NG_ret_i2_plus_g1)
MIX_THREE_WORDS(%g3, %o2, %o3, %i5, GLOBAL_SPARE, %o1)
LOAD(prefetch, %i1 + %i3, #one_read)
EX_ST(STORE_INIT(%g3, %o0 + 0x00), NG_ret_i2_plus_g1)
EX_ST(STORE_INIT(%o2, %o0 + 0x08), NG_re... | Assembly |
/*03*/ NO_MSG,\
/*04*/ NO_MSG,\
/*05*/ NO_MSG,\
/*06*/ NO_MSG,\
/*07*/ NO_MSG,\
/*08*/ NO_MSG,\
/*09*/ NO_MSG,
#define TOUCHKEY_FM_HOLD \
... | C |
import logging
from fastapi.responses import StreamingResponse
from app.llms.prompts import (
DEFAULT_AGENT_SYSTEM_PROMPT,
DEFAULT_SYSTEM_PROMPT,
build_user_agent_prompt,
build_user_prompt,
)
from app.llms.streams import stream_response, stream_response_with_agent
from app.schemas.chat import ChatSche... | Python |
signal
*/
void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]);
/*
* FLAC__fixed_restore_signal()
* --------------------------------------------------------------------
* Restore the original signal by summing the residual and the
* predictor.
*
... | C |
(){
super();
this.NAME = new Field("name",java.lang.String.class,"selected",Selected.class);
this.NOT = new Field("not",boolean.class,"selected",Selected.class);
}
public SelectedModel(IField father){
super(father);
this.NAME = new ComplexField(father,"name",java.lang.String.class,"selected",Sel... | Java |
*/ lwz r3, 0x518(r3)
/* 8030A97C 0030777C 48 08 27 DD */ bl func_8038D158
/* 8030A980 00307780 80 9F 00 04 */ lwz r4, 4(r31)
/* 8030A984 00307784 3C 60 80 40 */ lis r3, HSD_AObjSetCurrentFrame@ha
/* 8030A988 00307788 38 C3 DA 6C */ addi r6, r3, HSD_AObjSetCurrentFrame@l
/* 8030A98C 0030778C C8 22 D5 C0 */ lfd f1, ... | Assembly |
pub fn font_dir() -> Option<PathBuf> {
dirs::font_dir()
}
pub fn picture_dir() -> Option<PathBuf> {
dirs::picture_dir()
}
pub fn public_dir() -> Option<PathBuf> {
dirs::public_dir()
}
pub fn template_dir() -> Option<PathBuf> {
dirs::template_dir()
}
pub fn video_dir() -> Option<PathBuf> {
dirs:... | Rust |
tByNonSearchableCharacters(normalizeProductLicenses(query))
.filter((x) => x.length > 0)
.map((word) => escapeSpecialWords(word))
.map((word) => preferExactMatchButSupportFuzzyMatch(word))
.join(' ');
};
import { DatatypesTestEntity } from "./scr_DatatypesTestEntity";
import { IntegerIdTestEntity } from... | Typescript |
}
// The Journal Recorder must stop recording events when system modal
// dialogs are present. (see msdn link above)
switch (nCode) {
case HC_SYSMODALON:
recording_enabled = false;
break;
case HC_SYSMODALOFF:
recording_enabled = true;
break;
}
if (nCode == HC_ACTION && rec... | C++ |
l: ItemModel.Unbaked): ItemModel.Unbaked {
val model = jsonObject["firmament:head_model"] ?: return unbakedModel
val modelUrl = model.asJsonPrimitive.asString
val headModel = BasicItemModel.Unbaked(Identifier.of(modelUrl), listOf())
return Unbaked(headModel, unbakedModel)
}
val CODEC = RecordCode... | Kotlin |
<BatchCompleted, BatchFaulted>(new
{
CorrelationId = batchId,
JobNumbers = jobNumbers
});
switch (response)
{
case (_, BatchFaulted faulted):
//Batch is partially successful, downstream consumers are notified of succeeded uploads
... | C# |
using Terraria.ModLoader;
using ssm.Core;
using static CalamityMod.Events.BossRushEvent;
using CalamityMod.Enums;
using CalamityMod.NPCs.DevourerofGods;
using CalamityMod.NPCs.SupremeCalamitas;
using CalamityMod.Systems;
using CalamityMod;
using static Terraria.ModLoader.ModContent;
using FargowiltasSouls.Content.Boss... | C# |
=9;e=a.dx-6|0;f=7;g=11;p=A.AGx.a;q=2;r=A.AGx.a;s=2;t=0;$p=40;case 40:BqN(a,b,d,m,h,l,e,f,g,p,q,r,s,t);if(C()){break _;}m=0;h=0;l=5;e=5;f=10;$p=41;case 41:BCb(a,b,m,h,l,e,f,d);if(C()){break _;}m=0;h=0;l=5;e=6;f=10;$p=42;case 42:BCb(a,b,m,h,l,e,f,d);if(C()){break _;}m=0;h=0;l=6;e=6;f=10;$p=43;case 43:BCb(a,b,m,h,l,e,f,d)... | JavaScript |
set my_name(val);
}
abstract class Test1 {
private c?: string;
private d?: string;
private readonly e: string;
private readonly f: string;
protected abstract readonly g: string;
protected readonly abstract h: string;
}/**... | Typescript |
ter + v), int(start_h + h_offs * voxels_per_meter + padding_short*voxels_per_meter + h)] = ROAD_STATE_OCCUPIED
else:
for v in range(vehicle_dim_long*voxels_per_meter):
for h in range(vehicle_dim_short*voxels_per_meter):
mat[int(start_v + v_offs * voxels_per_meter + padding_long*voxels_per_meter + v), ... | Python |
@"def foo():
bar=4
" + "#" + @" inner fn
def baz(a,b):
print (""Bar squared"" + (bar * bar))
return False
baz(""3"",4)
";
AssertStmt(sExp, ParseStmt(pySrc));
}
[Fact]
public void Parse_Blank_Lines()
{
var pySrc =
@"def ge... | C# |
데 그럼에도 불구하고 여전히 심지어 까지도 조차도 하지 않도록 않기 위하여 때 시각 무렵 시간 동안 어때 어떠한 하여금 네 예 우선 누구 누가 알겠는가 아무도 줄은모른다 줄은 몰랏다 하는 김에 겸사겸사 하는바 그런 까닭에 한 이유는 그러니 그러니까 때문에 그 너희 그들 너희들 타인 것 것들 너 위하여 공동으로 동시에 하기 위하여 어찌하여 무엇때문에 붕붕 윙윙 나 우리 엉엉 휘익 윙윙 오호 아하 어쨋든 만 못하다\t하기보다는 차라리 하는 편이 낫다 흐흐 놀라다 상대적으로 말하자면 마치 아니라면 쉿 그렇지 않으면 그렇지 않다면 안 그러면 아니었다면 하든지 아니면 이라면 ... | JavaScript |
志
*/
public static Date addDate(int field, int amount) {
return addDate(null, field, amount);
}
/**
* 设置Calendar的小时、分钟、秒、毫秒
*
* @param calendar 日历
* @param hour 小时
* @param minute 分钟
* @param second 秒
* @param milliSecond 毫秒
* @return 结果日期
*/
public static void setCalender... | Java |
cateReqMessagesBuilder();
certReqMsgsBldr.addRequest(certReqBuild.build());
MacCalculator senderMacCalculator = new JcePBMac1CalculatorBuilder("HmacSHA256", 256).setProvider("BC").build(senderMacPassword);
ProtectedPKIMessage initMessage = new ProtectedPKIMessageBuilder(sender, recipient)
... | Java |
= 0; index < info.args.length; index++) {
Type arg = info.args[index];
of.visitInsn(Opcodes.DUP);
of.visitConstant(index);
of.visitVarInsn(arg.getOpcode(Opcodes.ILOAD), argIndex);
ArgsClassGenerator.box(of, arg);
of.visitInsn(Opcodes.AASTORE);
... | Java |
//++
// Copyright (c) 1996-99 Intel Corp.
//
//
// Module Name:
//
// palproc.s
//
// Abstract:
//
// Contains an implementation for making PAL PROC calls on
// IA-64 architecture.
//
//
//
// Revision History:
//
//--
.file "palproc.s"
#include "palproc.h"
//-----------------------------------... | Assembly |
-- lualoader, R"EOF(--
-- Copyright (C) 2024 PCSX-Redux authors
--
-- 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 2 of the License, or
-- (at your option) any later ... | Lua |
tice, this list of conditions and the following
// disclaimer.
//
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided with
// the distribution.
//
/... | C++ |
394008, 7.856519204482371, 7.681721372215851, 7.410097958949876, 6.651508420206252,
5.811528743461139, 4.898081799839467},
{28.157055740368474, 27.530596085866989, 26.918074383626475, 25.966259173421985, 23.308030810128514,
20.364597388924221, 17.163722014449160},
{60.479... | Java |
completamente. Uma"}},
[31573] = {"Pegando o jeito", nil, {"Vença uma batalha de mascotes. Uma"}},
[31574] = {"Cuidados médicos", nil, {"Fale com Seikwa, a Mestre de Estábulo, para curar suas mascotes de batalha completamente. Uma"}},
[31575] = {"Peguei uma!", nil, {"Capture uma mascote de batalha. Uma"}},
[31576] = {"... | Lua |
ing.textView.text = Html.fromHtml(
"<b>$sdPath</b><br>" +
"${string(R.string.total)}: ${String.format("%.03f", totalStorage)} GB | " +
"${string(R.string.used)}: ${String.format("%.03f", usedStorage)} GB | " +
... | Kotlin |
// Note: in the original code: regs.dx: x/2 (probably not used anywhere)
World::Pos2 viewportCoordToMapCoord(int16_t x, int16_t y, int16_t z, int32_t rotation)
{
constexpr uint8_t inverseRotationMapping[4] = { 0, 3, 2, 1 };
const auto result = World::Pos2(y - (x >> 1) + z, y + (x >> 1) + z);
... | C++ |
.normal;
}
}
int toInt() {
switch (this) {
case AppBarStyle.normal:
return 0;
case AppBarStyle.medium:
return 1;
case AppBarStyle.large:
return 2;
}
}
}
enum AuthenticationType {
cookie,
token,
jwt;
@override
String toString() {
switch (this) ... | Dart |
v4.8b, v4.8h
sqxtun v0.8b, v0.8h
st1 {v3.8b}, [x3], x2
sqxtun v1.8b, v1.8h
sqxtun v2.8b, v2.8h
| Assembly |
fmov fr4,@(r0,r14)
3c66: fe 49 fmov @r4+,fr14
3c68: fe 4a fmov fr4,@r14
3c6a: fe 4c fmov fr4,fr14
3c6c: fe 4d fneg fr14
3c6e: fe 4f .word 0xfe4f
3c70: fe 50 fadd fr5,fr14
3c72: fe 52 fmul fr5,fr14
3c74: fe 53 fdiv fr5,fr14
... | Assembly |
other::fp_utils::FpUtils;
use crate::other::matrix::Matrix;
use crate::other::Fp;
use crate::other::Polynomial;
pub fn polynomial_matrix_prod(a: &Matrix<Polynomial<Fp>>, m: u64) -> Matrix<Fp> {
assert_eq!(a.row_count(), a.col_count());
let n: usize = a.row_count();
assert!(n >= 1);
let d: u64 = a.inner... | Rust |
cess | rem, x.f);
// Adjust mantissa shift
let k = x.e + excess;
if rem < half {
Unpacked::new(q, k)
} else if rem == half && (q % 2) == 0 {
Unpacked::new(q, k)
} else if q == T::MAX_SIG {
Unpacked::new(T::MIN_SIG, k + 1)
} else {
Unpacked::new(q + 1, k)
}
}
... | Rust |
Щелкните правой кнопкой по имени игрока-нарушителя в чате и выберите пункт \"Пожаловаться\".";
HELPFRAME_REPORT_BUG_TEXT1 = "Если вы столкнулись с ошибкой, пожалуйста, предоставьте как можно больше информации о ней, чтобы мы смогли найти и исправить неполадку. Подробно изложите описание ошибки в расположенном ниже поле... | Lua |
TONNE-PER-MIN",
/// `Tonne Per Second`:
TONNE_PER_SEC, "TONNE-PER-SEC",
/// `Assay Ton`:
TON_Assay, "TON_Assay",
/// `Ton of Refrigeration`:
TON_FG, "TON_FG",
/// `Ton Force (US Short)`:
TON_F_US, "TON_F_US",
/// `Long Ton`:
TON_LONG, "TON_LONG",
/// `Long Ton per Cubic ... | Rust |
{error_logger:+--stderr-logger \"$error_logger\"} \
${pidfile:+--pidfile} $pidfile \
${respawn_delay:+--respawn-delay} $respawn_delay \
${respawn_max:+--respawn-max} $respawn_max \
${respawn_period:+--respawn-period} $respawn_period \
${healthcheck_delay:+--healthcheck-delay} $healthcheck_delay \
${healthch... | Markdown |
$elm$url$Url$toString = function (url) {
var http = function () {
var _v0 = url.protocol;
if (_v0.$ === 'Http') {
return 'http://';
} else {
return 'https://';
}
}();
return A3(
$elm$url$Url$addPrefixed,
'#',
url.fragment,
A3(
$elm$url$Url$addPrefixed,
'?',
url.query,
_Utils_ap(
... | JavaScript |
\<PROFILE>\chrome\ directory.
\chrome\config\
\chrome\css\
\chrome\images\
\chrome\userChrome.css
\chrome\userContent.css
ENABLING/DISABLING options:
To activate an option: remove /* before @import
To deactivate an option: add /* before @import
*/
/* =====================================
MAIN ... | CSS |
on(IToolStackView tool, ModifierEntry modifier) {
return BlockingModifier.blockWhileCharging(tool, UseAnim.BOW);
}
@Override
public InteractionResult onToolUse(IToolStackView tool, ModifierEntry modifier, Player player, InteractionHand hand, InteractionSource source) {
if (!tool.isBroken() && source == I... | Java |
image-tools__image+.tox-image-tools__toolbar{margin-top:8px}.tox .tox-image-tools__image-bg{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools__toolbar>.tox-spacer{flex:1;-ms-flex-preferred-size:auto}.tox .tox-croprect-block{backgroun... | CSS |
r = false
end
return fn_v, fn_new_volts, fn_do_trigger
end
print(volts_and_trigger(0))
out[1].volts = 1
print(volts_and_trigger(0))
print(volts_and_trigger(0))
-- -- testing
-- update_env(1, [[
-- a = S{60,62,S{70,75},67}
-- b = S{1,1,1,0}
-- c = S{10,13,15,S{17,20}}
-- count = 0
-- function on_beat(beat)
-- ... | Lua |
audioSpecificConfig The AudioSpecificConfig to parse.
* @return A pair consisting of the sample rate in Hz and the channel count.
*/
public static Pair<Integer, Integer> parseAacAudioSpecificConfig(byte[] audioSpecificConfig) {
ParsableBitArray bitArray = new ParsableBitArray(audioSpecificConfig);
int ... | Java |
il.JSONToTable(v.stab))
end
end
end)
hook.Add("onPocketItemAdded","luctus_pocket",function(ply,ent,stab)
local id = table.insert(ply.darkRPPocket,12)
table.remove(ply.darkRPPocket)
local res = sql.Query("INSERT INTO luctus_pocket(steamid,id,stab) VALUES("..sql.SQLStr(ply:SteamID())..","..id..",... | Lua |
': 'vm_name', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'vmName'},
{'1': 'vm_zone_name', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'vmZoneName'},
{'1': 'vm_id', '3': 7, '4': 1, '5': 9, '8': {}, '10': 'vmId'},
{
'1': 'start_time',
'3': 8,
'4': 1,
'5': 11,
'6': '.google.protobuf.Timest... | Dart |
Optimizer should maintain the correct ordering between the alternatives
Tuple { "\\\\junk|(\\\\[a-zA-Z@]+)|\\\\[^X]"sv, "\\sqrt"sv, 5u },
};
for (auto& test : tests) {
Regex<ECMA262> re(test.get<0>());
auto result = re.match(test.get<1>());
if (test.get<2>() != 0) {
... | C++ |
{
[1] = 3227,
[2] = 5475,
[3] = 3858,
[4] = 5095,
["inf1"] = "",
["inf2"] = "",
["icon"] = 3,
},
},
},
["Thunderhawk Hatchling"] = {
[1] = {
[17] = {
[1] = 4573,
[2] = 4971,
[3] = 5729,
[4] = 4370,
["inf1"] = "Beast Paladin",
["inf2"] = ... | Lua |
&"PartialStatement"===l.type&&(l.indent=/([ \t]+$)/.exec(s[c-1].original)[1])),e&&d&&(n((l.program||l.inverse).body),o(s,c)),e&&m&&(n(s,c),o((l.inverse||l.program).body))}}return t},s.prototype.BlockStatement=s.prototype.DecoratorBlock=s.prototype.PartialBlockStatement=function(t){this.accept(t.program),this.accept(t.i... | JavaScript |
resistant to noise. You can specify the direction of derivatives to be taken, vertical or horizontal
(by the arguments, yorder and xorder respectively). You can also specify the size of kernel by the
argument ksize. If ksize = -1, a 3x3 Scharr filter is used which gives better results than 3x3 Sobel
filter. Please see... | Markdown |
using WowPacketParser.Enums;
using WowPacketParser.Hotfix;
namespace WowPacketParserModule.V9_0_1_36216.Hotfix
{
[HotfixStructure(DB2Hash.LiquidType, HasIndexInData = false)]
public class LiquidTypeEntry
{
public string Name { get; set; }
[HotfixArray(6)]
public string[] Texture { g... | C# |
analyze[[
local x = _ as {foo = true, bar = 1337} | {foo = false, bar = 777}
if x.foo then
attest.equal(x.bar, 1337)
else
attest.equal(x.bar, 777)
end
]]
analyze[[
local x = _ as {foo = true, bar = 1337, lol = "!?", kind = 1} | {foo = false, bar = 777, kind = 2}
if x.kind... | Lua |
.section-icon {
float: right;
margin-top: -25px;
}
div.preface, div.chapter, div.titlepage, div.list-of-figures, div.list-of-examples, div.index {
margin-top: 20px;
font-size:120%;
line-height:1.5em;
}
p {
margin-bottom: 20px;
width: 600px;
}
div.figure p.title {
width: 100%;
}
#blog-widg... | CSS |
/**********************************************
*
* Author : Shawn Guo
* Mail : iguoxiaopeng@gmail.com
* Date : 2013/7/17
* Last : 2013/7/17
* Notes : DDS
* Tool : MSP430G2553 + TLV5618
*
*
* DDS
*
* TLV5618 OUTB通道输出波形数据
*
* 键盘A控制步进频率,步进量10... | C |
template <typename Units, typename CoordinateType>
inline void normalize_spheroidal_coordinates(CoordinateType& longitude,
CoordinateType& latitude)
{
detail::normalize_spheroidal_coordinates
<
Units, CoordinateType
>::apply(longitude, latitud... | C++ |
645, U+9647-9648, U+964e-964f, U+9651, U+9653-9656, U+9658, U+965b-965f, U+9661, U+9665, U+9668-9669, U+966c, U+9672, U+9674, U+967a-967b, U+9681-9685, U+9688-9689, U+968b, U+968d, U+9695-9698, U+969e, U+96a0-96a5, U+96a9, U+96ac, U+96ae, U+96b0, U+96b2-96b4, U+96b6-96b7, U+96b9, U+96bc-96be, U+96c3, U+96c9-96cb, U+96c... | CSS |
_t* get_address_of_expectedType_7() { return &___expectedType_7; }
inline void set_expectedType_7(int32_t value)
{
___expectedType_7 = value;
}
inline static int32_t get_offset_of_expectedTypeInformation_8() { return static_cast<int32_t>(offsetof(__BinaryParser_tB4B73F854B1BC62D524AA32A8DFB6B71171DF576, ___expec... | C++ |
Rc::ptr_eq(&self.nodes.0, &other.nodes.1) ||
Rc::ptr_eq(&self.nodes.1, &other.nodes.0) ||
Rc::ptr_eq(&self.nodes.1, &other.nodes.1)
}
pub fn nodes_sorted(&self) -> (Rc<Node>, Rc<Node>) {
if self.nodes.0.pos.get() <= self.nodes.1.pos.get() {
(self.nodes.0.clone(), self.n... | Rust |
ftBottomLeftTop > .cxd-ListMenu,.amis-scope .cxd-ListMenu-popover.cxd-PopOver--leftBottomLeftTop > .cxd-ListMenu{border-top-left-radius:0;border-top-right-radius:0;}.amis-scope .cxd-TagControl-popover.cxd-PopOver--leftTopLeftBottom > .cxd-ListMenu,.amis-scope .cxd-ListMenu-popover.cxd-PopOver--leftTopLeftBottom > .cxd-... | CSS |
nt Type (Belegtyp) - only for header-only imports
addDiffColumn(agGrid, field = "read.paymentTypeAsString", headerName = "fibu.payment.type", width = 150)
}
// TAX rate
addReadColumn(agGrid, posLc, EingangsrechnungsPositionDO::vat)
addReadColumn(agGrid, lc, EingangsrechnungD... | Kotlin |
.format(' and '.join(eval_types)))
if eval_types == ['proposal_fast']:
result_file = args.out
coco_eval(result_file, eval_types, dataset.coco)
else:
if not isinstance(outputs[0], dict):
result_files = results2json(dataset, outpu... | Python |
Test {
val rubricCriterionEntity = RubricCriterionEntity(RubricCriterion("1"), 1L)
val rubricCriterionEntity2 = RubricCriterionEntity(RubricCriterion("2"), 1L)
rubricCriterionDao.insert(rubricCriterionEntity)
rubricCriterionDao.insert(rubricCriterionEntity2)
val result = rubricC... | Kotlin |
DeleteReply(reply)
},
) {
Text("确定")
}
},
closeText = "取消",
showClose = true,
)
}
fun requestDeleteReply(
reply: ReplyInfo
) = viewModelScope.launch(Dispatchers.IO) {
try {
... | Kotlin |
2] = "po1_03_bridge_ovl_03",
[2989377026] = "po1_03_bridge_ovl_02",
[839172228] = "ss1_07_grndrailings5",
[187087539] = "prop_dock_woodpole3",
[736528608] = "prop_dock_bouy_2",
[1732427914] = "id2_rd_r3_05_o",
[2308646225] = "po1_03_shadprox",
[285929148] = "po1_03_ggcloth008",
[2738143374] = "v_serv_metro_wall... | Lua |
new RuntimeControlCommand(CommandType.VisitIndex)
);
public static readonly SequenceShuffleIndex = (): RuntimeControlCommand => (
new RuntimeControlCommand(CommandType.SequenceShuffleIndex)
);
public static readonly StartThread = (): RuntimeControlCommand => (
new RuntimeControlCommand(CommandType.Sta... | Typescript |
onst PRODUCTS: Product[] = [
new Product(
"id-1",
"Простой продукт 1 NewProduct",
"Описание простого продукта New Product номер 1. Продукт обладает вот такими вот качествами и создан специально для вот такого вот.",
1500
).setLable(LABEL_NEW),
new Product(
"id-2",
... | Typescript |
))+"px",background:l,borderRadius:"square"===u?0:"100px"},h={width:hm(a)+"%",height:(s||("small"===c?6:8))+"px",borderRadius:"square"===u?0:"100px"},p=void 0!==a?e("div",{class:i+"-success-bg",style:h}):null;return e("div",[e("div",{class:i+"-outer"},[e("div",{class:i+"-inner"},[e("div",{class:i+"-bg",style:d}),p])]),r... | JavaScript |
# Copyright 2020-2021 Huawei Technologies Co., Ltd
#
# 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 applicable law or agre... | Python |
LEN(0);
if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) {
DCHECK_EQ(payload_len % sizeof(int), 0u);
DCHECK_EQ(wire_fds, static_cast<void*>(nullptr));
wire_fds = reinterpret_cast<int*>(CMSG_DATA(cmsg));
wire_fds_len = payload_len / sizeof(int);
}
#if !defi... | C++ |
require("strict")
local MName = require("MName")
local hook = require("Hook")
function load_hook(t)
local mname = t.mname
local sn = mname:sn()
-- Ignore all other modules besides "StdEnv"
if (sn ~= "StdEnv") then return end
local userName = mname:userName()
local WantedStdEnv = os.getenv("WA... | Lua |
l-image coefficient buffer. */
if (cinfo->data_precision == 12)
j12init_d_coef_controller(cinfo, TRUE);
else
jinit_d_coef_controller(cinfo, TRUE);
/* We can now tell the memory manager to allocate virtual arrays. */
(*cinfo->mem->realize_virt_arrays) ((j_common_ptr)cinfo);
/* Initialize input side o... | C |
�宠:前妻在上', '慕少蜜宠:前妻在上'},
{'14377', '木木已成舟', '木木已成舟'},
{'14378', '木兰要出嫁', '木兰要出嫁'},
{'14379', '母女可乐', '母女可乐'},
{'14380', '逆天神医', '逆天神医'},
{'14381', '逆天剑神', '逆天剑神'},
{'14382', '你好盒子', '你好盒子'},
{'14383', '南宋第一卧底', '南宋第一卧底'},
{'14384', '男生宿舍303', '男生宿舍303'},
{'14385', '男神专卖店', '男神专卖店'},
{'14386', '男神还魂曲', '男神还魂曲'},
{'14387'... | Lua |
% so fuel is free!")
end
else
discount = discount / 100
if Config.FuelDebug then
print("Math( Current Fuel Price: "..FuelPrice.. " - " ..FuelPrice * discount.. "<<-- FuelPrice * Discount)")
end
CachedFuelPrice = FuelPrice
FuelPrice = (FuelPrice) - (FuelPrice*discount)
if Con... | Lua |
312 256l65.6 65.1z\"]\n};\nvar faTint = {\n prefix: 'fas',\n iconName: 'tint',\n icon: [352, 512, [], \"f043\", \"M205.22 22.09c-7.94-28.78-49.44-30.12-58.44 0C100.01 179.85 0 222.72 0 333.91 0 432.35 78.72 512 176 512s176-79.65 176-178.09c0-111.75-99.79-153.34-146.78-311.82zM176 448c-61.75 0-112-50.25-112-112 0-8.8... | Go |
clamp_f32 v158, v79\n" },
{ 0x7f3c50ffU, 0x40000000U, true, " v_rcp_clamp_f32 v158, "
"0x40000000 /* 2f */\n" },
{ 0x7f3c534fU, 0, false, " v_rcp_legacy_f32 v158, v79\n" },
{ 0x7f3c52ffU, 0x40000000U, true, " v_rcp_legacy_f32 v158, "
"0x40000000 /* 2f */\... | C++ |
'(木の枝・帆布などでできた)仮小屋 / 売店,屋台店 / (特定の用途のための)小さく仕切った部屋,ブース / (喫茶店などの)ボックス,仕切度'],
['bootjack', '(長ぐつ用)くつ脱ぎ器(かかとを押えるV字型の器具)'],
['bootlace', '《通例複数形で》長靴を締めるひも / 《英》靴ひも'],
['bootleg', '密造酒,密売酒 / 〈酒類〉\'を\'密造する,密売する,密輸する / 酒類を密造(密売,密輸)する / 密造した,密売した,密輸した[もと長ぐつに密造酒を隠したことから]'],
['bootlegger', '酒類の密造者,密売者〈組織〉'],
['bootle... | Typescript |
: rgba(255, 255, 255, 0.5);
height: 50px;
width: 100px;
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0 6px 9px -8px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0 6px 9px -8px;
box-shadow: rgba(0, 0, 0, 0.5) 0 6px 9px -8px;
}
.taped-corners:after {
top: -25px;
left: -50px;
-webkit-transform: rotate(-45deg);
-moz-tr... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.