content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
display:table;content:""}.wy-nav-top:after{clear:both}.wy-nav-top a{color:#fff;font-weight:bold}.wy-nav-top img{margin-right:12px;height:45px;width:45px;background-color:#2980B9;padding:5px;border-radius:100%}.wy-nav-top i{font-size:30px;float:left;cursor:pointer;padding-top:inherit}.wy-nav-content-wrap{margin-left:300... | CSS |
: 3 fonts: HK 53₈₀, JP 34₁₇₀, TC 46₅₃₁.
'3c3l13w,'
// #675: 2 fonts: HK 53₈₀, TC 47₅₃₂.
'3c17j,'
// #676: 4 fonts: HK 54₈₁, JP 35₁₇₁, SC 45₄₂₉, TC 48₅₃₃.
'3d3l9x3z,'
// #677: 2 fonts: HK 54₈₁, TC 48₅₃₃.
'3d17j,'
// #678: 2 fonts: HK 55₈₂, JP 36₁₇₂.
'3e3l,'
// #679: 5 fonts: HK 55... | Dart |
,
child: child,
),
),
);
}
}
class InputModeMenu {
final String key;
final String menu;
InputModeMenu({required this.key, required this.menu});
}
_menuDismissCallback(FFI ffi) => ffi.inputModel.refreshMousePos();
Widget _buildPointerTrackWidget(Widget child, FFI? ffi) {
return ... | Dart |
r
}
// if there is no content, meaning that previous startup fails
// because the successful first process will always write 1 byte into this lock file
firstProcess = n == 0
}
if firstProcess {
if err := launchContainer(cmd, image, args, instanceName, fd); err != nil {
return err
}
} else {
// othe... | Go |
19:00:00
},
[dateTimeFormatNames.CONDENSED_DATE_SHORT_TIME]: {
general: 'MMM. D, YYYY h:mm A', // Jun. 15, 2009 1:45 PM
date: 'MMM. D, YYYY', // Jun. 15, 2009
time: 'h:mm A' // 1:45 PM
},
shortTime: {
general: '', // 2014-12-29T11:45:00+04:... | Typescript |
bit
void set_not_c1_osr_compilable() { set_not_c1_compilable(); } // don't waste an accessFlags bit
void clear_not_c1_osr_compilable() { clear_not_c1_compilable(); } // don't waste an accessFlags bit
bool is_not_c2_osr_compilable() const { return access_flags().is_not_c2_osr... | C++ |
カード': ["🗂"],
'仕立て': ["🪡"],
'仮装': ["🥸"],
'仮装した顔': ["🥸"],
'仮面': ["🎭"],
'会堂': ["🕍"],
'会社員': ["🧑💼"],
'会計': ["🧾"],
'会計士': ["👩💼","🧑💼","👨💼"],
'会議': ["🤝"],
'低': ["🔅"],
'低い': ["🔉"],
'低エネルギー': ["🪫"],
'低気圧': ["🌀"],
'低輝度': ["🔅"],
'体': ["💀","☠","👐","🤲","🙌","👏","🙏","👍","�... | Dart |
#!/usr/bin/env python3
"""
Test script untuk Binance Gemini Analyzer Advanced
"""
import asyncio
import sys
sys.path.append('.')
from binance_data import get_binance_data
from indicators import calculate_indicators
from trading_signals import signal_engine
import pandas as pd
async def test_analysis():
print('🚀 T... | Python |
They overlap in the order they were called.
DRAW_POLY=--[[void]] function(--[[float]] x1,--[[float]] y1,--[[float]] z1,--[[float]] x2,--[[float]] y2,--[[float]] z2,--[[float]] x3,--[[float]] y3,--[[float]] z3,--[[int]] red,--[[int]] green,--[[int]] blue,--[[int]] alpha)native_invoker.begin_call()native_invoker.push_ar... | Lua |
ageDoubleMap, StorageDoubleMap, StorageMap},
};
use sp_std::{prelude::*, result};
use opensquare_primitives::BountyId;
use crate::types::{Bounty, BountyOf, BountyState};
use crate::{
ApprovedHeight, AssignedHeight, BalanceOf, BountyStateOf, CurrencyIdOf, Error, HuntedForBounty,
HunterBounties, HuntingForBount... | Rust |
uto} from './listProduto'
import {listProdutoRepository} from '../../../protocols/Produtos/listProdutoRepository'
import { IProduto } from '../../../../domain/model/produto'
const fakeProduto: IProduto = {
id: 1,
description: 'fake desc',
name: 'fake name',
preco: 1223,
resume: 'fake resume',
categoria: {
i... | Typescript |
idget = new Composite();
let percentValue: PercentValue = {percent: 50};
let siblingReference: SiblingReference = widget;
siblingReference = '#foo';
siblingReference = Constraint.prev;
siblingReference = Constraint.next;
siblingReference = LayoutData.prev;
siblingReference = LayoutData.next;
let constraintArray: Constr... | Typescript |
lowedFactors[i + 1])
{
factor = allowedFactors[i];
break;
}
}
break;
}
default:
case NiceMultipleMode.Nearest:
{
for (int i = 0; i < allowedFactors.Length; i++)
{
if (i == allowedFactors.Length - 1 || factor < (allowedFactors[i] + allowedFactors[i + 1]... | C# |
lc(1rem * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio));
--s10: calc(1rem * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio) * var(--ratio));
... | CSS |
ionMode.IDEOGRAPHS_RASTERIZED_LOCALLY,
mapboxMapOptions.mapOptions.glyphsRasterizationOptions!!.rasterizationMode
)
assertEquals(
FontUtils.extractValidFont(null),
mapboxMapOptions.mapOptions.glyphsRasterizationOptions!!.fontFamily
)
assertEquals(1f, mapboxMapOptions.mapOptions.pixelRa... | Kotlin |
r0, #0x0]
cmp r0, #0x0
beq _02050E26
add r0, #0x41
ldrb r0, [r0, #0x0]
cmp r0, #0x0
beq _02050E26
bl ov18_0223E118
_02050E26:
pop {r3, pc}
.balign 4
_02050E28: .word UNK_021C5A6C
thumb_func_start sub_02050E2C
sub_02050E2C: ; 0x02050E2C
push {r3, lr}
ldr r0, _02050E44 ; =UNK_021C5A6C
ldr r0, [r0, #0x0]
cm... | Assembly |
/*
* Copyright (C) 2013-2021 Jean-Luc Barrière
* Copyright (C) 2005-2014 Team Kodi (https://kodi.tv)
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSE.md for more information.
*/
#ifndef ES_AAC_H
#define ES_AAC_H
#include "elementaryStream.h"
#include "bitstream.h"
namespace TSDemux
{
class ES_... | C |
. Cause: The UE has a PUCCH common grant at the same slot",
crnti,
sl_ack);
return std::nullopt;
}
const pucch_uci_bits current_uci_bits = existing_grant_it->pucch_grants.get_uci_bits();
pucch_uci_bits new_bits = current_uci_bits;
++new_bits.harq_ack_nof_bits;
... | C++ |
sionConfigRequest, 'createConfig_adminClusterName', 'createConfig.adminClusterName')
encoding.AddCustomJsonFieldMapping(
GkeonpremProjectsLocationsBareMetalClustersQueryVersionConfigRequest, 'upgradeConfig_clusterName', 'upgradeConfig.clusterName')
encoding.AddCustomJsonFieldMapping(
GkeonpremProjectsLocationsB... | Python |
r->Exec(pguidCmdGroup, nCmdID, nCmdexecopt, pvarargIn, pvarargOut);
}
// do *not* forward up to SUPERCLASS::Exec (see QI's cryptic commment
// about "don't let these get thru to our base class")
return OLECMDERR_E_NOTSUPPORTED;
}
// }
STDMETHODIMP CDesktopBrowser::BrowseObject(LPCITEMIDLIST pidl, UIN... | C++ |
rrupt_handler_xhci(
_stack_frame: ExceptionStackFrame,
) {
let main_queue = unsafe {
BUF_QUEUE.assume_init_mut()
};
main_queue
.push(Message { m_type: Some(MassageType::InterruptXhci) })
.unwrap();
unsafe {
notify_end_of_interrupt();
}
}
#[repr(align(16))]
pub st... | Rust |
_code_point(c);
if(c < 0x80u)
{
*m_position++ = static_cast<unsigned char>(c);
}
else if(c < 0x800u)
{
*m_position++ = static_cast<unsigned char>(0xC0u + (c >> 6));
*m_position++ = static_cast<unsigned char>(0x80u + (c & 0x3Fu));
}
else if(c < 0x10000... | C++ |
der, 2)); //
// Toolbars
$_primary_toolbar_bg_a: (nth($_metacity_bg_b, 1), nth($_metacity_bg_b, 2));
$primary_toolbar_bg_a: if($variant=='light' and $darker=='false', nth($_primary_toolbar_bg_a, 1), nth($_primary_toolbar_bg_a, 2)); //
$_primary_toolbar_bg_b: (darken(nth($_primary_toolbar_bg_a, 1), 4%), darken(... | CSS |
x1, #56*4
add x2, x0, #60*4
mov x3, #-32
mov x4, #32
movi v2.4S, #1<<7, lsl #24
1: ld2 {v0.4S, v1.4S}, [x1], x3
eor v0.16B, v0.16B, v2.16B
rev64 v1.4S, v1.4S
ext v1.1... | Assembly |
�告警。
- -9102 身份证复印件告警。
- -9103 身份证翻拍告警。
- -9105 身份证框内遮挡告警。
- -9104 临时身份证告警。
- -9106 身份证 PS 告警(疑似存在PS痕迹)。
- -9107 身份证反光告警。
注意:此字段可能返回 null,表示取不到有效值。
* @param WarnInfos 身份证人像面告警码。
- 开启身份证告警功能后才会返回。
- 返回数组中可能出现的告警码如下:
- -9100 身份证有效日期不合法告警。
- -9101 身份证边框不完整告警。
- -9102 身份证复印件告警。
... | Java |
ETHOD,
TAG_GPS_AREA_INFORMATION,
TAG_GPS_DATESTAMP,
TAG_GPS_DIFFERENTIAL,
TAG_GPS_H_POSITIONING_ERROR,
TAG_INTEROPERABILITY_INDEX,
TAG_DNG_VERSION,
TAG_DEFAULT_CROP_SIZE,
TAG_ORF_PREVIEW_IMAGE_START,
TAG_ORF_PREVIEW_IMAGE_LENGTH,
TAG_ORF_AS... | Kotlin |
crets that will cause some providers to be removed
# Tests both lowercase and uppercase variants to ensure comprehensive coverage
custom_secrets = {
'github_token': 'custom_github_token',
'GITLAB_TOKEN': 'custom_gitlab_token',
}
# This should work without raising RuntimeError: dictionar... | Python |
write_test_result();
return failures;
}
int main(int argc, char** argv)
{
int rc = 0;
int (*tests[])() = {NULL, test1, test2, test3, test4, test5, test6};
xml = fopen("TEST-test1.xml", "w");
fprintf(xml, "<testsuite name=\"test1\" tests=\"%d\">\n", (int)(ARRAY_SIZE(tests) - 1));
getopts(argc, argv);
if ... | C |
e()}return this};var Y=function(a9,aZ,a4,be,aT){var bd,aW,a1,bf,a5,bc,a6,aS,aV,aX,a8,a3,a2,aY,bb,aU,a7,a0=a4.toString()+be+aT+aZ.name;if(!Y.cache[a0]){bc=Math.sqrt(a4*a4+be*be)*0.04;bc=Math.ceil(Math.min(bc,(aT?a4:be)*0.1))-1;var ba=Math.floor((aT?a4:be)*0.028571);a6=J(a4,be);aS=a6.getContext("2d");aV=aZ;aS.lineWidth=0... | JavaScript |
s(src).toString(), trg);
// emoticons
src = ":-))))))) :------------) (____) :( :-) :--)";
trg = "[:-))))))), :------------), (____), :(, :-), :, --, )]";
assertEquals(tok.getTokens(src).toString(), trg);
// URLs
src = "|http://www.google.com|www.google.com|mailto:somebody@google.com|some-body@google+... | Java |
0 ;
if (m_protocol->get_complex_header_presence())
{
L_nbFields = m_protocol->get_nb_field_header();
GEN_DEBUG(2, "nb header fields = " << L_nbFields);
for(L_i = 0; L_i < L_nbFields; L_i++) {
m_protocol->delete_header_value(&m_header_values[L_i]);
GEN_DEBUG(2, "delete_header value [" << L... | C++ |
ID)
fp.Set("token", token)
fp.Set("fingerprint", fingerprint)
return fp, app.Save(fp)
}
// TestConfigSyncWithTokens tests the config.SyncSystems function with various token scenarios
func TestConfigSyncWithTokens(t *testing.T) {
testHub, err := tests.NewTestHub()
require.NoError(t, err)
defer testHub.Cleanup()
... | Go |
..onOneFingerPanUpdate = onOneFingerPanUpdate
..onOneFingerPanEnd = onOneFingerPanEnd
..onTwoFingerScaleStart = onTwoFingerScaleStart
..onTwoFingerScaleUpdate = onTwoFingerScaleUpdate
..onTwoFingerScaleEnd = onTwoFingerScaleEnd
..onThreeFingerVerticalDragUpdat... | Dart |
dar(struct kvm_vcpu *vcpu, unsigned int inst);
extern int kvmppc_h_pr(struct kvm_vcpu *vcpu, unsigned long cmd);
extern void kvmppc_pr_init_default_hcalls(struct kvm *kvm);
extern int kvmppc_hcall_impl_pr(unsigned long cmd);
extern int kvmppc_hcall_impl_hv_realmode(unsigned long cmd);
extern void kvmppc_copy_to_svcpu(s... | C |
lse.invoke(arg1, arg2) {
useUnitFunRelaxerIf(relaxUnitFun || relaxed)
}
public override fun <T : Alias977<Alias921>, X : Comparable<X>> doOtherThing(arg1: Alias977<T>,
arg0: X): Unit = _doOtherThing.invoke(arg1, arg0) {
useUnitFunRelaxerIf(relaxUnitFun || relaxed)
}
pub... | Kotlin |
from typing import TYPE_CHECKING, Any
from langchain._api import create_importer
if TYPE_CHECKING:
from langchain_community.utilities.vertexai import (
create_retry_decorator,
get_client_info,
init_vertexai,
raise_vertex_import_error,
)
# Create a way to dynamically look up de... | Python |
bj ).forEach( function( key ) {
obj[ key ] = convert( obj[ key ] );
} );
}
return obj;
}
Object.keys( data.tests ).forEach( function( id ) {
var test = data.tests[ id ];
if ( !test.ckeditor ) {
return;
}
test.ckeditor = convert( test.ckeditor );
} );
return data;
}
module.exports = {
na... | JavaScript |
ND P0, PT, jrst_0, param_JRST, PT;
02:-:-:Y:d FSETP.GT.AND P1, PT, load1, max, P1;
--:-:-:-:1 @P1 MOV max, load1;
--:-:-:-:1 @P1 MOV maxIdx, inOffset1;
--:-:-:-:4 ISETP.LT.AND P1, PT, jrst_1, param_JRST, PT;
04:-:-:Y:d FSETP.GT.AND P2, PT, load2, max, P2;
--:-:-:-:1 @P2 MOV max, load2;
--:-:-:... | CSS |
&mut Self {
self.inner.limit = limit;
self
}
}
impl AsRef<GetGroupsInCommon> for GetGroupsInCommon {
fn as_ref(&self) -> &GetGroupsInCommon { self }
}
impl AsRef<GetGroupsInCommon> for RTDGetGroupsInCommonBuilder {
fn as_ref(&self) -> &GetGroupsInCommon { &self.inner }
}
/// Returns the total n... | Rust |
A== 24704
X3RhcmdldA== 24705
IHV0aWxz 24706
7Yag 24707
c3RkaW8= 24708
ZXR0ZW4= 24709
IGRpZmZpY3VsdHk= 24710
IOKX 24711
IHNvZw== 24712
IOe+ 24713
IOa1 24714
YXNoYQ== 24715
IHdlJ3Zl 24716
INCf0L4= 24717
0L7RgtGA0LXQsQ== 24718
L2NvbW1vbg== 24719
IHNvZA== 24720
INCw0LM= 24721
IG92ZW4= 24722
IOmd 24723
YmF5 24724
65Ox 24725... | Kotlin |
MY_CYCLELEN_S 24
#define SPI_SLV_RDBUF_DUMMY_CYCLELEN 0X000000FF
#define SPI_SLV_RDBUF_DUMMY_CYCLELEN_S 16
#define SPI_SLV_WRSTR_DUMMY_CYCLELEN 0X000000FF
#define SPI_SLV_WRSTR_DUMMY_CYCLELEN_S 8
#define SPI_SLV_RDSTR_DUMMY_CYCLELEN 0x000000FF
#define SPI_SLV_RDSTR_DUMMY_CYCLELEN_S 0
#define SPI_SLAVE3(i) ... | C |
apSendMinButton extends ConsumerWidget {
const SwapSendMinButton({super.key});
@override
Widget build(BuildContext context, WidgetRef ref) {
return _SwapSendMinMaxButton(
label: context.loc.swapScreenConvertMinButton,
onPressed:
ref.read(sideswapInputStateProvider.notifier).setMinDelive... | Dart |
the previous
$result: (); // the result will be appended here and returned in the end
$token: _nth-char($input, 1); // the current token, initialized as first token
// The first token is treated differently because of no previous token and specific
// rules for the first token.
@if $token == 'x' {
$span-... | CSS |
�합니다.
11. 시즌 종료 후, 모든 유저의 계급과 포인트가 초기화됩니다. ]]
},
exercise_award_tip = {
tip = "시즌 중 처음으로 티어에 도달했을 때 보상을 지급합니다. 보상 및 티어 달성에 필요한 조건은 아래와 같습니다: "
},
dock_yard_left_tips = {
tip = "<color=#92fc63>함선</color>을 선택해주세요."
},
fleet_error_no_fleet = {
tip = "출격할 함대가 존재하지 않습니다."
},
fleet_repairShips_error_fullEnergy... | Lua |
%20JWE.pdf|2820216|e994791c42cfde5385370f6058f492e7|h=n7dhaz57begyw3sp4vfyzpca6p3nxid4|/)
**Programming.Windows Fifth Edition.pdf** (ed2k://|file|Programming.Windows%20Fifth%20Edition.pdf|7117095|e43488b23fd3a180d776b9b55dfc6147|h=pss46yj3zonfzwxqca2j5lzbufgpveg5|/)
**SolidWorks 2010_ No Experience Required.pdf** (ed... | Markdown |
)
}
}
// Update the main lifecycle to reflect the largest fungible resource set
mainLifecycle.Max(prestartLifecycle)
mainLifecycle.Max(stopLifecycle)
// Add the fungible resources
c.Flattened.Add(mainLifecycle)
// Add network resources that are at the task group level
for _, network := range a.Shared.Netwo... | Go |
Reg, TempReg2);
Cb.movhlps(asmjit::x86::xmm0, asmjit::x86::xmm0);
Cb.movq(TempReg2, asmjit::x86::xmm0);
Cb.crc32(TempReg, TempReg2);
} else if constexpr (std::is_same_v<asmjit::x86::Zmm, VectorRegT>) {
Cb.vmovapd(asmjit::x86::ymm0, asmjit::x86::Ymm(I));
Cb.movq(TempReg2, a... | C++ |
name.set("Deep-Storage")
version.set(project.version.toString())
novaVersion.set(libs.versions.nova)
main.set("com.expectale.DeepStorage")
authors.add("CptBeffHeart")
}
tasks {
register<Copy>("addonJar") {
group = "build"
if (mojangMapped) {
dependsOn("jar")
... | Kotlin |
d and put Podrick Payne into
* play from your hand to save it. Then, if that character was Tyrion Lannister,
* you may pay 2 gold to choose and kill an attacking character..<br><i>Tyrion's Chain.</i><br>
**/
PodrickPayneTc = "PODRICK_PAYNE_TC",
/**
* <h5>Tyrion's Chain</h5>House Lannister.<br><b>Reactio... | Typescript |
*** SCROLL UTILITIES: KORE EXTENSION #1
***
*** OK you bastard, here's the code....
setup_scroll:
;
;Use this to install a scroll into the system. Before
;calling this for the first time, execute MOVE.L #sxdat,sxptr
;to reset the dataspace pointer and MOVE.L #listdat,listptr to
;reset the list data table.
;
;Call thi... | Assembly |
mponent {
private values: Object[];
private filterQuery: string = '';
private isReverse: boolean = true;
private searchQuery: string = 'man go';
private sortKey: string = 'popularity';
private audioPlayer: any = new Audio();
constructor(private http: Http){
this.getValues();
... | Typescript |
flight3ArriveAddress = '';
/**
* 第三航班准点率
*/
flight3OnTime = '';
/**
* 第三航班飞行时间
*/
flight3Duration = '';
constructor() {}
toCsv() {
let csv = `${this.airline},${this.flightNum},${this.airplane},${this.fromCity},${this.fromAirport},${this.startTime},${this.flight1ArriveAddress},${this.flight... | Typescript |
;
if( m_deltaTime > 1f / m_updateRate )
{
// Update allocated, mono and reserved memory
m_allocatedSystemMemorySizeText.text = ((int) m_ramMonitor.AllocatedRam).ToStringNonAlloc();
m_reservedSystemMemorySizeText.text = ((int) m_ramMonitor.Reserved... | C# |
xmm0, 0 * SIZE(CO1)
#endif
#ifndef LN
addl $1 * SIZE, CO1
#endif
#if defined(LT) || defined(RN)
movl K, %eax
subl KK, %eax
leal (AA, %eax, SIZE), AA
#ifdef LT
addl $1 * SIZE, B
#endif
#endif
#ifdef LN
subl $1, KK
movl BORIG, B
#endif
#ifdef LT
addl $1, KK
#endif
#ifdef RT
movl K, %eax
movl BORIG, B
sal... | Assembly |
":"n. 萎缩纹",
"stretchmarks":"(stretchmark 的复数) n. 萎缩纹",
"stretchy":"a. 可延伸的, 有弹性的, 易延伸过长的",
"stretchy plan":"[经] 弹性计划",
"strete":" [人名] 斯特里特",
"stretes":"(strete 的复数) [人名] 斯特里特",
"Stretford":"斯特雷特福德(英国西北部一城市)",
"stretta":"n. [音]加快结尾段",
"strettell":" [人名] [英格兰人姓氏] 斯特雷特尔可能是住所名称,来源于古英语,含义是“道路+山”(road+hill)",
"stretto":"提前... | Typescript |
, U+2a2b6, U+2a2ba, U+2a2bd, U+2a2df, U+2a2ff, U+2a351, U+2a3a9, U+2a3ed, U+2a434, U+2a45b, U+2a5c6, U+2a5cb, U+2a601, U+2a632, U+2a64a, U+2a65b, U+2a6a9, U+2adff, U+2f825, U+2f83b, U+2f840, U+2f878, U+2f894, U+2f8a6, U+2f8cd, U+2f994, U+2f9b2, U+2f9bc, U+2f9d4;
}
/* [t0/gf_1] (167) */
@font-face {
font-family: 'Chir... | CSS |
--------------------------------------------------------------------------------
-- INFO if abbreviations are not working, probably something has been mapped to
-- `<Space>` in insert mode
-----------------------------------------------------------------------------------
local spellfixes = {
THe = "The",
ahve = "... | Lua |
u r1, -0x10(r1)
/* 8023BD74 002379D4 7C 08 02 A6 */ mflr r0
/* 8023BD78 002379D8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8023BD7C 002379DC 93 E1 00 0C */ stw r31, 0xc(r1)
/* 8023BD80 002379E0 7C 7F 1B 78 */ mr r31, r3
/* 8023BD84 002379E4 4B FF FD B9 */ bl func_8023BB3C
/* 8023BD88 002379E8 2C 03 00 00 */ cmpwi r3, 0
... | Assembly |
rX = scrollbar;
if (scrollbar) {
this._disposers.push(scrollbar);
scrollbar.parent = this.topAxesContainer;
scrollbar.shouldClone = false;
scrollbar.startGrip.exportable = false;
scrollbar.endGrip.exportable = false;
scrollbar.toBack();
scrollbar.orientation = "horizontal";
scrollbar.events.o... | Typescript |
]!=v&&!2B(p+"ar")){1f=$c.4c();z(1f==0){2b(p,v)}G{z(1f<0){4l($c.2e)}G{z(1f>0){4l($c.2o)}}}$d.2d.2x=!$c.1G($1C);z("ax".1d(p)>=0){$c.6x()}2B(p+"az")}}B 4z(o){2b("H",o.H);2b("m",o.m);2b("s",o.s)}B 4l(o){2b("y",o.y);2b("M",o.M);2b("d",o.d);4z(o)}B 3U(y,M,d,H,m,s){C 2D=Q 1J($q.y,$q.M,$q.d,$q.H,$q.m,$q.s);$q.2n(y,M,d,H,m,s);z... | JavaScript |
blic ViewPager CalendarPageViewPager => _calendarPageViewPager ?? (_calendarPageViewPager = FindViewById<ViewPager>(Resource.Id.CalendarPageViewPager));
public LinearLayout CalendarPageContentGrid => _calendarPageContentGrid ?? (_calendarPageContentGrid = FindViewById<LinearLayout>(Resource.Id.CalendarPageCont... | C# |
func(t *testing.T) {
actualFiltered := FilterArgsKeep(tc.Args, tc.Filter)
assert.Equal(t, tc.ExpectedFiltered, actualFiltered)
})
}
validate(t, &testCase{
Name: "Keep arguments",
Args: []string{
"--runtime=abc",
"--runs=5",
"--foo",
"bar",
},
Filter: []string{
"runtime",
},
Ex... | Go |
.338-53.169 15.077-75.984-24.156-20.962-29.221-133.023 96.846-120.151 98.637 10.073 82.162 95.579 57.063 111.199-24.143 14.973-22.994 61.635 27.182 74.895 68.656 18.193 276.918-26.67 276.918-26.67s-27.517-167.74-18.308-222.096c9.838-58.199 77.021-23.083 85.414-11.967 54.331 71.924 167.001 32.608 167.001-88.124 0-175.82... | JavaScript |
/*
* rcu_rcpg.c: simple user-level implementation of RCU based on a single
* pair of global reference counters.
*
* 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 Li... | C |
r6, r7, lr}
add r5, r1, #0
add r0, r5, #0
mov r1, #1
bl ov11_0223A424
add r0, r5, #0
bl ov11_0223A404
add r7, r0, #0
mov r0, #0xb5
lsl r0, r0, #6
add r2, r5, r0
ldr r1, [r5, #0x6c]
mov r0, #0xc0
mul r0, r1
lsl r1, r1, #1
add r0, r2, r0
add r2, r5, r1
ldr r1, _02235E0C ; =0x0000307C
ldrh r1, [r2, r1]
... | Assembly |
return;
}
if (future.executor == null) {
RpcFuture.received(((MsgResponse) msg), false);
} else {
future.executor.submit(() -> RpcFuture.received(((MsgResponse) msg), false));
}
}
}
@Override
public void exceptionCaught(ChannelHandlerContext ctx, Throwable caus... | Java |
1/2 w-full px-4">
<h2 className="title-font font-medium tracking-widest text-sm mb-3">CATEGORIES</h2>
<nav className="list-none mb-10">
<li>
<a className="">First Link</a>
</li>
<li>
<a className="">Second L... | JavaScript |
hci_mv);
if (retval) {
dev_err(&pdev->dev, "init phy error %d\n", retval);
goto err_put_hcd;
}
offset = readl(ehci_mv->cap_regs) & CAPLENGTH_MASK;
ehci_mv->op_regs =
(void __iomem *) ((unsigned long) ehci_mv->cap_regs + offset);
hcd->rsrc_start = r->start;
hcd->rsrc_len = resource_size(r);
hcd->regs = eh... | C |
eId, *componentList[T]](DefaultAllocation),
}
e.compStorage[compId] = ss
}
storage := ss.(*componentStorage[T])
return storage
}
func (e *archEngine) getOrAddLookupIndex(archId archetypeId, id Id) int {
lookup := e.lookup[archId]
index := lookup.addToEasiestHole(id)
return index
}
// Writes all of the com... | Go |
rial_write,
.endianness = DEVICE_NATIVE_ENDIAN,
};
void sh_serial_init(MemoryRegion *sysmem,
hwaddr base, int feat,
uint32_t freq, CharDriverState *chr,
qemu_irq eri_source,
qemu_irq rxi_source,
qemu_irq txi_source,... | C |
ate::Pins::gpio28].
FunctionPwm: Gp28Pwm6A,
/// PIO0 Function alias for pin [crate::Pins::gpio28].
FunctionPio0: Gp28Pio0,
/// PIO1 Function alias for pin [crate::Pins::gpio28].
FunctionPio1: Gp28Pio1
}
},
/// GPIO 29 supports following functi... | Rust |
", '\ue95b'),
ICM_TWITCH("icm-twitch", '\uea9f'),
ICM_TWITTER("icm-twitter", '\uea96'),
ICM_UNDERLINE("icm-underline", '\uea63'),
ICM_UNDO("icm-undo", '\ue965'),
ICM_UNDO2("icm-undo2", '\ue967'),
ICM_UNGROUP("icm-ungroup", '\uea59'),
ICM_UNLOCKED("icm-unlocked", '\ue990'),
ICM_UPLOAD("ic... | Java |
< "3D";
break;
case GCT_SAMPLERCUBE:
os << "Cube";
break;
case GCT_SAMPLER2DARRAY:
os << "2DArray";
break;
default:
OGRE_EXCEPT(Exception::ERR_INVALID_STATE, "unknown sampler");
break;
}
os << "(";
writeOperands(os, mOperands.begin(), outO... | C++ |
on.put("name", "变更");
json.put("myActionId", mad.getId());
ary.add(json);
// sb.append(" <a href=\"javascript:;\" onclick=\"addTab('" + msd.getString("name") + "变更', '" + request.getContextPath() + "/flowDispose.do?myActionId=" + mad.ge... | Java |
ch_chint02_mural_option_05_ref",
[2910224083] = "schla_grll_3a",
[1647738580] = "bobble_foot2_body",
[3876617960] = "ex_office2b_glassshelf002",
[2616622826] = "cyph_hlite_r_4",
[4198137585] = "imgn_liv4",
[1009549045] = "facstwheel_smod12",
[1007189761] = "dom8_brace12",
[3885399812] = "hei_ch2_10_long_0",
[6... | Lua |
>
<rasd:ResourceSubType>lsilogic</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</ovf:Item>
<ovf:Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:Description>Hard disk</rasd:Description>
<rasd:ElementName>Hard disk 1</ra... | Go |
.lightColor, Setters.lightColor);
register(Inputs.lightDirection, Setters.lightDirection);
register(Inputs.lightPosition, Setters.lightPosition);
register(Inputs.lightIntensity, Setters.lightIntensity);
register(Inputs.lightCutoffAngle, Setters.lightCutoffAngle);
register(Inputs.lightExponent, Setters.lightEx... | Java |
Exception e) {
DialectException.throwEX(e);
}
}
} catch (SQLException e) {
DialectException.throwEX(e);
}
}
}
/**
* @param databaseName
* The database name
* @param majorVersionMinorVersion
* The major version,The minor version, Optional optional
* @return d... | Java |
////////////////////////////////////////////////////////////////////////////////
///
/// Cubic interpolation routine.
///
/// Author : Copyright (c) Olli Parviainen
/// Author e-mail : oparviai 'at' iki.fi
/// SoundTouch WWW: http://www.surina.net/soundtouch
///
/////////////////////////////////////////////////... | C |
g::debug_span!("debug-span", you_can_pass="any params");
/// 1 + 1;
/// // some other complex code
/// }
/// ```
#[cfg(any(feature = "std", feature = "with-tracing"))]
#[macro_export]
macro_rules! within_span {
(
$span:expr;
$( $code:tt )*
) => {
$span.in_scope(||
{
$( $code )*
}
)
};
(
... | Rust |
a(&spi->dev, NULL);
kfree(priv);
return err;
}
static inline int __devinit
add_dataflash(struct spi_device *spi, char *name,
int nr_pages, int pagesize, int pageoffset)
{
return add_dataflash_otp(spi, name, nr_pages, pagesize,
pageoffset, 0);
}
struct flash_info {
char *name;
/* JEDEC id has a high byte o... | C |
url(data:image/gif;base64,R0lGODlhDQAKAIAAALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybGuYnqUVSjvw26DzzXiqIDlVwAAOw==)}.mce-visualblocks ol{background-image:url(data:image/gif;base64,R0lGODlhDQAKAIABALu7u////yH5BAEAAAEALAAAAAANAAoAAAIXjI8GybH6HHt0qourxC6CvzXieHyeWQAAOw==)}.mce-visualblocks dl{background-image:url(data:ima... | CSS |
文件系统,一般是主(图中 Namenode)- 从(图中 Datanodes)架构,主节点负责整体资源管理,负载均衡,请求调度,从节点负责管理对应服务器的数据管理,服务数据读写请求。其中每个客户端(Client)的文件读写会通过主节点分发到从节点进行数据读写。每个文件会被拆分成数据块(Block),并通过副本(Replication)机制,在多台服务器节点留有冗余备份,当节点失效(Failure),能够恢复。这也是之前第一章介绍的冗余(Redundancy)在系统可靠性(Dependability)设计中的应用。
但是 HDFS 应用到深度学习平台扔存在一些问题需要注意。对深度学习框架来说,原生对大数据存储系统接口支持并不充分,造... | Markdown |
VT_0_2_2 vtstatic_0_2_2 = new VT_0_2_2(1);
public static CL_0_2_2 clstatic_0_2_2 = new CL_0_2_2();
public static VT_0_2_1 vtstatic_0_2_1 = new VT_0_2_1(1);
public static CL_0_2_1 clstatic_0_2_1 = new CL_0_2_1();
public static VT_0_1_9 vtstatic_0_1_9 = new VT_0_1_9(1);
public static VT_0_1_8 v... | C# |
()
type_check({ submixTable, "table" })
local submixName, submixId = submixTable[1], submixTable[2]
type_check({ submixName, "string" }, { submixId, "number" })
logger.info("Creating submix %s with submixId %s", submixName, submixId)
submixIndicies[submixName] = submixId
end)
TriggerEvent("pma-voice:registerCustom... | Lua |
nment, shoulderAlignment, ankleAlignment, kneeAndHipAlignment;
var leftEyePos = Vector(0, 0);
var rightEyePos = Vector(0, 0);
var leftShoulderPos = Vector(0, 0);
var rightShoulderPos = Vector(0, 0);
var leftHipPos = Vector(0, 0);
var rightHipPos = Vector(0, 0);
var leftElbowPos = Vector(0, 0);
var righ... | Dart |
"SGPpM",
"WPTE",
"AGCpA.CL",
"DEZ",
"KRG",
"MGApB.CL",
"PLSB",
"WLK",
"ACC",
"AX",
"EUBK",
"EXR",
"SBM",
"STXS",
"CNS",
"BJRI",
"IIG",
"WFIIE",
"CHDw",
"GRINY",
"PYV",
"BHBC",
"HIV",
"ICOR",
"LCGI",
"NYN",
"SNBT",
"GOAMC",
"GOOG",
"IFULE",
"ITIGE",
"QD",
... | Rust |
lUav;
_currSolUav = _nextSolUav;
_nextSolUav = uavTemp;
// Reset time.
_t = 0.0f;
// The current solution needs to be able to be read by the vertex shader, so change its state to GENERIC_READ.
cmdList.ResourceBarrierTransi... | C# |
L9_2 = nil
L10_2 = c535A0125
L10_2 = L10_2.f103E8964
L11_2 = L7_2
L12_2 = L9_2
L10_2 = L10_2(L11_2, L12_2)
if L10_2 then
L11_2 = L8_2
L10_2 = L8_2.f1FFBFCBD
L12_2 = L7_2
L10_2(L11_2, L12_2)
end
L10_2 = CF1D9D619D324F233
L10_2 = L10_2.S7D05D34C291DA69E
L11_... | Lua |
c2_r3_door1_y: .byte 26
c2_r3_door2_y: .byte 26
door_c2_r3_x:
c2_r3_door0_x: .byte 35
c2_r3_door1_x: .byte 37
c2_r3_door2_x: .byte 39
door_c2_r3_xmin:
c2_r3_door0_xmin: .byte 26 ; 35-4-5
c2_r3_door1_xmin: .byte 28 ; 37-4-5
c2_r3_door2_xmin: .byte 30 ; 39-4-5
door_c2_r3_xmax:
c2_r3_door0_xmax: .byte 39 ; 35... | Assembly |
using System.Collections.Generic;
using JetBrains.Annotations;
using Unity.Cloud.Collaborate.Models.Structures;
using Unity.Cloud.Collaborate.Presenters;
using Unity.Cloud.Collaborate.Views;
namespace Unity.Cloud.Collaborate.Tests.Presenters
{
internal class TestHistoryView : IHistoryView
{
public IHis... | C# |
var rule = new Rule()
{
Operator = "IsInInput",
Inputs = new List<string> { "hello" }
};
var mre = new MRE();
var ruleFunc = mre.CompileRule<string>(rule);
Assert.IsTrue(ruleFunc(value));
}
[TestMethod]
... | C# |
x60=int32#1,<x6_stack=stack64#17
# asm 2: ldrd >x60=r0,<x6_stack=[sp,#128]
ldrd r0,[sp,#128]
# qhasm: assign r4 r5 to x70 x71 = x7_stack
# asm 1: ldrd >x70=int32#5,<x7_stack=stack64#22
# asm 2: ldrd >x70=r4,<x7_stack=[sp,#168]
ldrd r4,[sp,#168]
# qhasm: carry? x40 += x50
# asm 1: adds >x40=int32#9,<x40=int32#9,<x50=i... | Assembly |
RoutingInputPort(RoutingPortNames.ComponentIn, eRoutingSignalType.Audio | eRoutingSignalType.Video,
eRoutingPortConnectionType.Hdmi, new Action(Component1), this, false),
new RoutingInputPort(RoutingPortNames.CompositeIn, eRoutingSignalType.Audio | eRoutingSignalType.Video,
eRoutingPortConnectionType.Hdmi... | C# |
KBD = 0x12,
RS232 = 0x13,
GAMEPORT = 0x14,
PARPORT = 0x15,
AMIGA = 0x16,
ADB = 0x17,
I2C = 0x18,
HOST = 0x19,
GSC = 0x1A,
ATARI = 0x1B,
SPI = ... | Lua |
CyclesLeft = shakeDuration;
}
/**
* Return the shake status
* @memberOf ShakePosition
* @returns {Boolean} true if shake is done
*/
ShakePosition.prototype.shakeDone = function () {
return (this.mNumCyclesLeft <= 0);
};
/**
* Return the shake coordinate results
* @memberOf ShakePosition
* @returns {Array} ... | JavaScript |
--Boomtown
--These contain tables for relevant, spawnable NPCs
include_lua('./Spawndefs/5th_Boomtown.spawndef.lua')
include_lua('./Spawndefs/Clockwork_Boomtown.spawndef.lua')
include_lua('./Spawndefs/Outcasts_Boomtown.spawndef.lua')
include_lua('./Spawndefs/Rikti_Boomtown.spawndef.lua')
include_lua('./Spawndefs/Trolls... | Lua |
starten
Isolate.spawn((daten) {
List<int> zahlen = daten;
int summe = 0;
for (int zahl in zahlen) {
summe = summe + zahl;
}
print(" Isolate berechnet Summe: " + summe.toString());
}, [1, 2, 3, 4, 5]);
print(" Daten gesendet!");
}
// Schwere Berechnung im Isolate
void starteBerec... | Dart |
10513, 55, 69, 68, 8, -68 }, // 0x44 'D'
{ 10988, 50, 69, 63, 8, -68 }, // 0x45 'E'
{ 11420, 46, 69, 57, 8, -68 }, // 0x46 'F'
{ 11817, 63, 72, 73, 4, -69 }, // 0x47 'G'
{ 12384, 53, 69, 68, 8, -68 }, // 0x48 'H'
{ 12842, 9, 69, 26, 9, -68 }, // 0x49 'I'... | C |
errorString = "Error: Exception[number=" + ex1.number + "; name='" + ex1.GetType().FullName + "'; message='" + ex1.message + "'; description='" + ex1.description + "']";
} else {
errorString = "Error: Exception[result=" + ex1.result + "; name='" + ex1.GetType().FullName + "'; message='" + ex1.message + "']";
}
ret... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.