content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
V31.B16, V3.B16
AESMC V3.B16, V3.B16
AESE V31.B16, V4.B16
AESMC V4.B16, V4.B16
AESE V31.B16, V5.B16
AESMC V5.B16, V5.B16
AESE V31.B16, V6.B16
AESMC V6.B16, V6.B16
loop:
VLD1 (R0), [V8.B16, V9.B16]
ADD $0x18, R0
VLD1.P 0x10(R0), [V10.B16]
VEOR V4.B16, V8.B16, V11.B16
VEOR V5.B16, V9.B16, V12.B16
V... | Assembly |
USER.*",
[]string{"a=1", "PATH=a", "AUSER=foo", "USERB=bar", "USERINYOURUSER=yodawg", "USER=superman"},
[]string{"a=1", "PATH=a", "AUSER=foo", "USERB=bar", "USERINYOURUSER=yodawg", "USER=superman"},
),
)
})
Context("when the user is not specified in the process spec", func() {
DescribeTable("appends t... | Go |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/lice... | C |
mustRunAfter(versionClass)
}
// </editor-fold>
tasks.jar {
into("org/apache/jmeter/images") {
from("$rootDir/xdocs/images/logo.svg")
}
}
// Checks the generated JAR for a Log4j plugin cache file.
tasks.jar {
doLast {
val jarFile = archiveFile.get().asFile
JarFile(jarFile).use { ja... | Kotlin |
using UnityEngine.Events;
namespace Signals
{
/// <summary>The empty Signal interface.</summary>
public interface ISignal
{
/// <summary>Adds a listener.</summary>
void AddListener(UnityAction listener);
/// <summary>Removes a listener.</summary>
void RemoveListener(UnityA... | C# |
);
await dialog.show();
try {
_logger.info("recovering two factor");
final response = await _dio.get(
_config.getHttpEndpoint() + "/users/two-factor/recover",
queryParameters: {
"sessionID": sessionID,
"twoFactorType": twoFactorTypeToString(type),
},
... | Dart |
argin/2
dc.w $108,logobwid-logobpl
dc.w $10a,logobwid-logobpl
dc.w $102,0
dc.w $1a2,$cc5
dc.w $1a4,0
dc.w $1a6,$752
SprP:
dc.w $120,0
dc.w $122,0
dc.w $124,0
dc.w $126,0
dc.w $128,0
dc.w $12a,0
dc.w $12c,0
dc.w $12e,0
dc.w $130,0
dc.w $132,0
dc.w $134,0
dc.w $136,0
dc.w $138,0
dc.w $13a,0
dc.w $... | Assembly |
�点
当我们需要为我们的请求链路增加日志追踪时,只需要定义新的 span,并将新的 ctx 向下传递即可。
```golang
// Trace 打点,很重要
ctx, span := Tracer.Start(ctx, "fetchExternalData", oteltrace.WithAttributes(attribute.String("url", url)))
defer span.End()
```
根据我的体会,当我们写新功能的时候,埋 trace 会变成一个很自然的动作,就跟写 if err != nil 一样。本质上不会增加太多的工作量,但是当遇到问题需要排查时,trace 往往可以带来... | Markdown |
}
get first () {
return this.list.length > 0 ? this.list[0] : undefined
}
forEach (fn: (x: T) => any) {
this.list.forEach(fn)
return this
}
dispose () {
return this.forEach((elm) => elm.dispose())
}
}
export default Collection
/**
* The war fog of the game. Which is essentially the ... | Typescript |
xed
SW_FT_Vector_Length( SW_FT_Vector* vec );
/*************************************************************************
*
* @function:
* SW_FT_Vector_Polarize
*
* @description:
* Compute both the length and angle of a given vector.
*
* @input:
* vec ::
* The address of so... | C |
E6B9C 60 00 00 40 */ ori r0, r0, 0x40
/* 801EAF40 001E6BA0 90 04 00 00 */ stw r0, 0(r4)
/* 801EAF44 001E6BA4 80 83 00 10 */ lwz r4, 0x10(r3)
/* 801EAF48 001E6BA8 80 AD A3 D8 */ lwz r5, render_context_ptr-_SDA_BASE_(r13)
/* 801EAF4C 001E6BAC 88 C4 00 08 */ lbz r6, 8(r4)
/* 801EAF50 001E6BB0 28 06 00 07 */ cmplwi r... | Assembly |
set(x, y);
});
},
onDraggableCanceled: (Velocity velocity, Offset offset) {}));
}
void openDebugPage() {
debugPage ??= OverlayEntry(builder: (BuildContext context) {
return ResidentPage();
});
if (showDebugPage) {
closeDebugPage();
} else {
do... | Dart |
tion.performed += Interact;
}
void Update()
{
}
public void Interact(InputAction.CallbackContext ctx)
{
RaycastHit hit;
if (Physics.Raycast(playerCamera.position, playerCamera.forward, out hit, distanceToInteract, layers))
{
Activator _activator = hit.tr... | C# |
序。
* 两种算法的数据都有可能超出sort buffer的容量,超出之后,会创建tmp文件进行合并排序,导致多次I/O,但是用单路排序算法的风险会更大一些,所以要提高sort-buffer-size。
* 尝试提高sort buffer size
不管用哪种算法,提高这个参数都会提高效。当然,要根据系统的能力去提高,因为这个参数是针对每个进程的。
* 尝试提高max-length-for-sort data
提高这个参数,会增加用改进算法的概率。但是如果设的太高,数据总容量超出sort buffer size的概率就增大,明显情况是高的磁盘I/O活动和低的处理器使用率。
小总结
).init();
let db = Arc::new(DB::new().await.expect("Failed to get DB handle"));
let store = MemoryStore::new();
let server = HttpServer::new(move || {
App::new()
.data(Arc::clone(&db) as DBState)
.wrap(
RateLimiter::new(MemoryStoreActor::fr... | Rust |
// SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
/* Copyright (c) 2020 Facebook */
#include <signal.h>
#include <stdio.h>
#include <time.h>
#include <stdint.h>
#include <sys/resource.h>
#include <bpf/libbpf.h>
#include <bpf/bpf.h>
#include <unistd.h>
#include <stdlib.h>
#include "uprobe.skel.h"
#include <inttypes... | C |
ing_key(
session_key.as_ref(),
CLIENT_SEAL_MAGIC,
)));
context.recv_sealing_key = Some(Rc4::new(&generate_signing_key(
session_key.as_ref(),
SERVER_SEAL_MAGIC,
)));
context.authenticate_message = Some(AuthenticateMessage::new(
message,
Some(mic),
... | Rust |
"""
Based on the request, we will return the list of facts about the pet.
A pet can be either a cat or a dog.
"""
from pydantic import BaseModel, Field
from ibm_watsonx_orchestrate.flow_builder.flows import (
Flow, flow, START, END, Branch
)
class Pet(BaseModel):
kind: str = Field(description="the kind of pe... | Python |
px!important;}.card-item .panel-body{padding-top:10px!important;}.content-card .panel-heading{padding:0px!important;padding-left:15px!important;height:auto!important;}.bx-controls-direction .bx-prev{left:-124px!important;}.bx-controls-direction .bx-next{right:-124px!important;}.carousel .control-group{line-height:0px;h... | CSS |
),
Emoji(
'😶',
'молчание | немой | нет | рыба | секрет | слов | тайна | тихо | тишина | тсс',
),
Emoji(
'🫥',
'грусть | депрессия | интроверт | исчезать | невидимка | печаль | пунктир | угнетение | усталость',
),
Emoji(
'😏',
'задумал | лицо | подмигнуть | подозр... | Dart |
'p_buffoon_normal_1', 'p_buffoon_normal_2',
'p_buffoon_jumbo_1', 'p_buffoon_mega_1' }
},
},
banned_tags = {
{ id = 'tag_uncommon' },
{ id = 'tag_rare' },
{ id = 'tag_negative' },
{ id = 'tag_foil' },
... | Lua |
he GNU MP Library. If not, see http://www.gnu.org/licenses/.
.text
.align 2
.globl ___gmpn_sub_n
___gmpn_sub_n:
movw $-1,tr0 # representation for carry clear
movw pr3,tr2
andw $3,tr2
beq Lend0
subw tr2,pr3
Loop0: rsubw $0,tr0 # restore carry bit from carry-save register
movw (pr1),tr1
subwb (pr2),tr1
mo... | Assembly |
class Animal{
getName(){
console.log('xx')
}
}
class Cat extends Animal{
getName(){
console.log('gg')
super.getName()
}
}
let c = new Cat()
c.getName()
}import { useState } from 'react';
const useDarkMode = () => {
c... | Typescript |
null)
'StoppingConditions': stoppingConditions,
if (tags != null) 'Tags': tags,
},
);
return CreateLabelingJobResponse.fromJson(jsonResponse.body);
}
/// Creates an MLflow Tracking Server using a general purpose Amazon S3 bucket
/// as the artifact store. For more information, se... | Dart |
", () => {
it("can parse a success sexp.", () => {
const sexp = `(:return (:ok "g n b = case _ of\n case_val => ?g_rhs\n") 2)`
const payload: S_Exp.MakeCase = [
":ok",
"g n b = case _ of\n case_val => ?g_rhs\n",
]
const rootExpr: RootExpr = [":return", payload, 2]
... | Typescript |
local ui = {}
local core = require("games/blue/blue_core")
local alexgames = require("alexgames")
ui.UI_STATE_VIEW_OTHER_PLAYERS = 1
ui.UI_STATE_SELECT_PILE = 2
ui.UI_STATE_SELECT_PIECES = 3
ui.UI_STATE_SELECT_DISCARDED_PIECES = 4
--ui.UI_STATE_PLACE_PIECES = 4
ui.ACTION_CHANGE_UI_STATE = 1
u... | Lua |
ARCHIVE })
---
-- @realm server
CreateConVar(
"ttt2_prep_respawn",
"0",
{ FCVAR_NOTIFY, FCVAR_ARCHIVE },
"Respawn if dead in preparing time"
)
---
-- @realm server
local map_switch_delay = CreateConVar(
"ttt2_map_switch_delay",
"15",
{ FCVAR_NOTIFY, FCVAR_ARCHIVE },
"Time that passes b... | Lua |
T: SectionData (
// CHECK-NEXT: 0000: 14000000 00000000 017A5200 01781001
// CHECK-NEXT: 0010: 1B0C0708 90010000 14000000 1C000000
// CHECK-NEXT: 0020: 00000000 01010000 00030001 0E080000
// CHECK-NEXT: )
// CHECK-NEXT: }
// CHECK: Section {
// CHECK: Name: .rela.eh_frame
//... | Assembly |
false;
}
}
}
#endif
#endregion
#region Assets/Photon/Fusion/CodeGen/NetworkTypeWrapInfo.cs
#if FUSION_WEAVER && FUSION_HAS_MONO_CECIL
namespace Fusion.CodeGen {
using Mono.Cecil;
public class NetworkTypeWrapInfo {
public NetworkTypeInfo WrapperTypeInfo;
public TypeReference WrapperType;
pu... | C# |
API result. Find match where -
* _rel.to.table === rel.using.foreign_key_constraint_on.table && _rel.to.columns === rel.using.foreign_key_constraint_on.columns
* https://hasura.io/docs/latest/api-reference/metadata-api/relationship/#1-using-foreign-key-constraint-on-a-column-1
*/
con... | Typescript |
= hr;
return;
}
hr = pbuf->ReadString(&_rec._pszOldHTML,&_rec._cchOldHTML);
Assert(SUCCEEDED(hr));
if (hr != S_OK)
{
*phr = hr;
return;
}
hr = pbuf->ReadDWORD(&_rec._cpOldHTMLStart);
Assert(SUCCEEDED(hr));
if (hr != S_OK)
{
*phr = hr;
ret... | C++ |
.SetMeshes
(@"Roads\Highways\Common\Meshes\22m\Slope_U_Node.obj",
@"Roads\Highways\Common\Meshes\22m\Slope_U_Node_LOD.obj");
//nodes1
// .SetFlags(NetNode.Flags.UndergroundTransition, NetNode.Flags.None)
// .SetMeshes
... | C# |
dmin.v1beta1.ExportEntitiesResponse.output_url]
/// field. That value should be used for subsequent ImportEntities operations.
///
/// By nesting the data files deeper, the same Cloud Storage bucket can be used
/// in multiple ExportEntities operations without conflict.
@$pb.TagNumber(4)
$core.String get... | Dart |
#pw_welcome_screen p.save-icon span {
background-position: -34px -178px;
}
.lower_box {
clear: both;
margin: 0 20px;
float: left;
}
.pw_toolbox_arrow {
background: url(../images/sprite.png) no-repeat -116px -148px;
height:40px;
width:21px;
position:absolute;
top: 0px;
left: -21px;
z-index: 550;... | CSS |
private val onFavoriteClick: (modelId: String) -> Unit // Новый callback
) : ListAdapter<LlmModel, LlmModelViewHolder>(
AdapterUtils.diffItemCallback(
itemsTheSame = { old, new -> old.id == new.id },
payloadsSame = { old, new ->
isPayloadsSame(old, new)
},
payloadData... | Kotlin |
G1ParScanThreadState* _par_scan_state;
RefToScanQueueSet* _queues;
ParallelTaskTerminator* _terminator;
G1ParScanThreadState* par_scan_state() { return _par_scan_state; }
RefToScanQueueSet* queues() { return _queues; }
ParallelTaskTerminator* terminator() { return ... | C++ |
x14,0x00,0x0a,0xf4,0x7b]
vrndscalesh $123, %xmm28, %xmm29, %xmm30
// CHECK: vrndscalesh $123, {sae}, %xmm28, %xmm29, %xmm30
// CHECK: encoding: [0x62,0x03,0x14,0x10,0x0a,0xf4,0x7b]
vrndscalesh $123, {sae}, %xmm28, %xmm29, %xmm30
// CHECK: vrndscalesh $123, 268435456(%rbp,%r14,8), %xmm29, %xmm30 {... | Assembly |
All('.btn-skill');
// selector de los select input y de las cajas contenedoras de las imagenes y texto
const inputselectcheked: NodeListOf<HTMLElement> = document.querySelectorAll('.type-contact');
const selectbox: NodeListOf<HTMLElement> = document.querySelectorAll('.type-service');
const selectinputfunction = ... | Typescript |
ct{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='rgba(var(--gray-500), var(--tw-stroke-opacity, 1))' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-position... | CSS |
const el = source[key];
// note types can differ on some properites. eg: start can be string or regex
if (typeof el !== "undefined"
&& typeof target[key] !== 'undefined') {
target[key] = el;
}
}
}
};
//#endregion assignFenceProperties
//#endregion Privte... | Typescript |
tcmd.Name
portal, ok := ex.extraTxnState.prepStmtsNamespace.portals[portalName]
if !ok {
err := pgerror.Newf(
pgcode.InvalidCursorName, "unknown portal %q", portalName)
ev = eventNonRetryableErr{IsCommit: fsm.False}
payload = eventNonRetryableErrPayload{err: err}
res = ex.clientComm.CreateEr... | Go |
"set"
/* SET */
),
delete: createReadonlyMethod(
"delete"
/* DELETE */
),
clear: createReadonlyMethod(
"clear"
/* CLEAR */
),
forEach: createForEach(true, true)
};
const iteratorMethods = ["keys", "values", "entries", Symbol.iterator];... | JavaScript |
HL(xt,a)&&At(a)}else if(a.n){a.n.Eb(a)}else if(a.n){throw Qp(new OE(\"This widget's parent does not implement HasWidgets\"))}}\nfunction xi(a,b){var c,d,e;if(b<=22){c=a.l&(1<<b)-1;d=e=0}else if(b<=44){c=a.l;d=a.m&(1<<b-22)-1;e=0}else{c=a.l;d=a.m;e=a.h&(1<<b-44)-1}return si(c,d,e)}\nfunction cO(a,b,c,d,e,f){var g,h,i;if... | JavaScript |
overedMode-3K55nNni .buttons-1-XhYDHM{cursor:default;opacity:1}@media (any-hover:hover),(min--moz-device-pixel-ratio:0){.legend-29zvAld0:hover .withAction-1y86Ymm9 .buttons-1-XhYDHM{cursor:default;opacity:1}}.legend-29zvAld0 .selected-2qw9PFUJ.withTail-2tfD0t7T .valuesWrapper-1ukbb5SP:after,.legend-29zvAld0 .stayInHove... | CSS |
ArrayOf(2, 4, 2, 0)
val yCoords = intArrayOf(0, 2, 4, 2)
assertFalse(pointInPolygon(5, 2, xCoords, yCoords))
}
@Test
fun `Point outside self intersecting polygon`() {
val xCoords = intArrayOf(0, 4, 2, 4, 2)
val yCoords = intArrayOf(0, 0, 4, 4, 0)
assertFalse(pointInP... | Kotlin |
t().Add().Ipv4()
v4.Src().SetValue(decapFlowSrc)
v4.Priority().Dscp().Phb().SetValue(dscpEncapA1)
v4.Dst().SetValue(ipv4FlowIP)
v4Inner := flowipv4.Packet().Add().Ipv4()
v4Inner.Src().Increment().SetStart(innerSrcIPv4Start).SetCount(ipv4FlowCount)
v4Inner.Dst().Increment().SetStart(innerDstIPv4Start).SetCount(ipv... | Go |
end() == q );
local::sparse::list_setvec::const_iterator
itr(for_jac_sparse_set_, dep_taddr_[i] );
size_t j = *itr;
while( j < q )
{ if( transpose )
s.post_element(j, i);
else
s.post_element(i, j);
j = *(++itr);
}
}
// process post... | C++ |
[
"170, 17",
"17, 1",
"1,",
","])
fun `when backspace is pressed in diastolic field and it's text is empty, move cursor to systolic and delete last digit`(
existingSystolic: String,
systolicAfterBackspace: String
) {
sheetCreatedForNew(patientUuid)
reset(ui, patientRepository, a... | Kotlin |
lui $a0, %hi(gEntityGObjProcessArray)
/* 1E8AE8 801DE228 AC2FDC50 */ sw $t7, %lo(gEntityVtableIndexArray)($at)
/* 1E8AEC 801DE22C 8C580000 */ lw $t8, ($v0)
/* 1E8AF0 801DE230 3C05801E */ lui $a1, %hi(D_801DDEC0) # $a1, 0x801e
/* 1E8AF4 801DE234 24A5DEC0 */ addiu $a1, %lo(D_801DDEC0) # addiu $a1, $a1, -0x2140
/*... | Assembly |
ong1, u64 ulong2, void *ptr1, void *ptr2),
TP_ARGS(func, evt, uint1, uint2, ulong1, ulong2, ptr1, ptr2)
);
DEFINE_EVENT
(rmnet_mod_template, rmnet_shs_err,
TP_PROTO(u8 func, u8 evt, u32 uint1, u32 uint2,
u64 ulong1, u64 ulong2, void *ptr1, void *ptr2),
TP_ARGS(func, evt, uint1, uint2, ulong1, ulong2, ptr... | C |
C 801D380C 8C6A0000 */ lw $t2, ($v1)
/* 181860 801D3810 44810000 */ mtc1 $at, $f0
/* 181864 801D3814 2484B160 */ addiu $a0, -0x4ea0
/* 181868 801D3818 000A5880 */ sll $t3, $t2, 2
/* 18186C 801D381C 008B6021 */ addu $t4, $a0, $t3
/* 181870 801D3820 1000000C */ b .L801D3854_ovl9
/* 181874 801D3824 E580000... | Assembly |
behind:!0},number:{pattern:/([:\-,[{]\s*(![^\s]+)?[ \t]*)[+\-]?(0x[\da-f]+|0o[0-7]+|(\d+\.?\d*|\.?\d+)(e[\+\-]?\d+)?|\.inf|\.nan)[ \t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\s]+/,important:/[&*][\w]+/,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./};
/***/ },
/* 112 */
/***/ function(module, exports) {
Prism.languages.perl ... | JavaScript |
well
### v1.1.0
Verified with Terraform version `0.12.29`.
- `v1.1` [patch branch](https://github.com/magma/magma/tree/v1.1)
- `github.com/magma/magma//orc8r/cloud/deploy/terraform/orc8r-aws?ref=v1.1`
Terraform module source
- `1.4.21` Helm chart version
- Additional notes
- `9.6` PostgreSQL target release, new... | Markdown |
font-family:lg;src:url(../fonts/lg.eot?n1z373);src:url(../fonts/lg.eot?#iefixn1z373) format("embedded-opentype"),url(../fonts/lg.woff?n1z373) format("woff"),url(../fonts/lg.ttf?n1z373) format("truetype"),url(../fonts/lg.svg?n1z373#lg) format("svg");font-weight:400;font-style:normal}.lg-icon{font-family:lg;speak:none;fo... | CSS |
"); //$NON-NLS-1$ //$NON-NLS-2$
// File sourceFile = new File(fileURL.getFile());
File sourceFile = new File(getPluginFolder().toString() + "/" + relativeFolderInTestPluginToCopy + "/"); //$NON-NLS-1$ //$NON-NLS-2$
File targetFile = new File(target.getLocation().toOSString() + "/"); //$NON-NLS-1$
TestHelper.cop... | Java |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using DotNetify;
namespace UnitTest
{
[TestClass]
public class BaseVMCRUDExtensionTest
{
public class TestObject
{
public int Id { get; set; }
public string Name { get; set; }
... | C# |
using Microsoft.Extensions.Logging;
namespace NexusForever.Script.Watcher
{
public class AssemblyWatcher : Watcher, IAssemblyWatcher
{
#region Dependency Injection
public AssemblyWatcher(
ILogger<IAssemblyWatcher> log)
: base(log)
{
}
#endregio... | C# |
estResumability() throws Throwable {
logit (this, "Resumable Digest");
final int arrayCount = 200;
final int arrayLength = 61;
byte[][] data = new byte[arrayCount][];
for (int i = 0; i < arrayCount; i++) {
data[i] = new byte[arrayLength];
rnd.nextBytes(data[i]);
}
Blake2b.Param param = new Blake2b... | Java |
org.junit.experimental.theories.Theories
import org.junit.experimental.theories.Theory
import org.junit.runner.RunWith
import org.luxons.sevenwonders.engine.test.createGuildCards
import org.luxons.sevenwonders.engine.test.testTable
import org.luxons.sevenwonders.model.boards.RelativeBoardPosition
import kotlin.test.as... | Kotlin |
e("name", name);
String name2 = (String)session.getAttribute("name");
%>
<html>
<body>
<p>
name = <%= name %><br>
name2 = <%= name2 %><br>
<br>
</p>
<p>(sessionID=<%= session.getId() %>)</p>
</body>
</html>
```
由于我们需要调试的是反序列化,所以在session.getAttribute这一行添加断点
;padding-right:4.125rem;background-position:right .75rem center,center right 2.25rem;background-size:16px 12px,calc(0.75em + 0.375rem) calc(0.... | CSS |
"B", val: 1}, {id: "C", val: 0}
]);
});
});
describe("pull", () => {
it("removes matching items by key", () => {
let o = new OrderedSet([
{id: "A", val: 0}, {id: "B", val: 0}, {id: "C", val: 0}
], (x) => x.id);
o.pull({id: "B", val: 1});
expect(o.toList()).to.deep.equ... | Typescript |
1`。更多细节参考[模板字符串](https://link.juejin.im?target=https%3A%2F%2Fdeveloper.mozilla.org%2Fzh-CN%2Fdocs%2FWeb%2FJavaScript%2FReference%2Ftemplate_strings)。
### 后语
知识产权无价,支持原创。
参考文章:
[[译] ES2018(ES9)的新特性](https://juejin.im/post/5b2a186cf265da596d04a648)
[【译】ES2018 新特性:Rest/Spread 特性](https://juejin.im/post/5b431280e51d... | Markdown |
ting multiple files in parallel in the same
/// executor, deadlock may occur if ArrowWriterProperties::use_threads
/// is set to true to write columns in parallel. Please disable use_threads
/// option in this case.
virtual ::arrow::Status WriteRecordBatch(const ::arrow::RecordBatch& batch) = 0;
/// \brief W... | C |
ZhHans.blynk_AP_config_tooltip = "没有连接到Wi-Fi时,自动打开热点,手机连接此热点登录进行配置";
ZhHans.blynk_AP_config2 = "一键配网及授权码(AP模式)";
ZhHans.Blynk_connect_state = "Blynk服务器连接状态";
ZhHans.Blynk_connected_Tooltip = "返回Blynk服务器连接状态,正常返回 1 反之返回 0";
ZhHans.blynk_terminal_clear = "Blynk 终端清屏";
ZhHans.blynk_lcd = "LCD组件";
ZhHans.blynk_esp32_ble =... | JavaScript |
} else if (data.includes("data: connected\n")) {
connected += 1;
}
})
}).on('error', (_) => {});
}
setInterval(() => {
if (phase === 'connecting' && connected === n) {
// done connecting
phase = 'messaging';
connection_time = Date.now() - start;
... | JavaScript |
{
Name: "CONTRACT",
Flags: []cli.Flag{
utils.ContractPrepareDeployFlag,
utils.ContractAddrFlag,
utils.ContractAuthorFlag,
utils.ContractCodeFileFlag,
utils.ContractDescFlag,
utils.ContractEmailFlag,
utils.ContractNameFlag,
utils.ContractVersionFlag,
utils.ContractVmTypeFlag,
utils.Co... | Go |
dma_mask) {
dev_info(&pdev->dev, "vhci_hcd DMA not supported\n");
return -EINVAL;
}
/*
* Allocate and initialize hcd.
* Our private data is also allocated automatically.
*/
hcd = usb_create_hcd(&vhci_hc_driver, &pdev->dev, dev_name(&pdev->dev));
if (!hcd) {
pr_err("create hcd failed\n");
return -ENOM... | C |
log(sequence.next().value);
// console.log(sequence.next().value);
// console.log(sequence.next().value);
// console.log(sequence.next().value);
// console.log(sequence.next().value);
// interval(1000)
// .subscribe((v) => terminalLog(v));
// let count = 1;
//
// const sequence$ = new Observable((subscriber: Subscr... | Typescript |
ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","t... | JavaScript |
**************************************************************************
// InjectableConfigGenerator
// **************************************************************************
// ignore_for_file: type=lint
// coverage:ignore-file
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:ge... | Dart |
/* 80306498 00303298 D0 06 00 14 */ stfs f0, 0x14(r6)
lbl_8030649C:
/* 8030649C 0030329C 80 61 00 0C */ lwz r3, 0xc(r1)
/* 803064A0 003032A0 38 C6 00 18 */ addi r6, r6, 0x18
/* 803064A4 003032A4 38 03 00 01 */ addi r0, r3, 1
/* 803064A8 003032A8 90 01 00 0C */ stw r0, 0xc(r1)
/* 803064AC 003032AC 42 00 FF B8 */ b... | Assembly |
/****************************************************************************/
/* lastypes.h */
/****************************************************************************/
/* */
/* ... | C |
);
}
fn parametros( argumento: &str ){
match argumento {
"help" => help(),
"version" => version(),
"megasena" => megasena::megasena_fn(),
"quina" => quina::quina_fn(),
"lotofacil" => lotofacil::lotofacil_fn(),
"lotomania" => lotomania::lot... | Rust |
onChange={onChangeFilter('instanceTypes')}
>
{instanceTypes.map(instance => (
<Select.Option key={instance} value={instance}>
{instance}
</Select.Option>
))}
</Select>
) : null}
{dockerImages.length ? (
... | JavaScript |
= context,
projectId = projectId,
pipelineId = pipelineId,
buildId = buildId,
stageId = stageId,
executeCount = executeCount,
stageVar = recordStage.stageVar.plus(stageVar),
buildStatus = buildStatus,
... | Kotlin |
�事、监事、高级管理人员,或者期货交易场所、期货结算机构的负责人,自被解除职务之日起未逾五年;
(三)因违法行为或者违纪行为被吊销执业证书或者被取消资格的注册会计师、律师或者其他期货服务机构的专业人员,自被吊销执业证书或者被取消资格之日起未逾五年。
第六十五条 期货经营机构应当依法经营,勤勉尽责,诚实守信。期货经营机构应当建立健全内部控制制度,采取有效隔离措施,防范经营机构与客户之间、不同客户之间的利益冲突。
期货经营机构应当将其期货经纪业务、期货做市交易业务、资产管理业务和其他相关业务分开办理,不得混合操作。
期货经营机构应当依法建立并执行反洗钱制度。
第六十六条 期货经营机构接受交易者委托为其进行期货交易,应当签订书面... | Markdown |
94798278809,2.1323018074036,-1.1857401132584,-0.1012020111084,1.0891819000244,-0.53540802001953,0.23159193992615,0.079809904098511,
},
duration = 0.45;
},
{
angles={--17
0.21932005882263,0.47242999076843,1.6582120656967,0.27301001548767,-0.3574640750885,-0.052114009857178,-0.30982613563538,0.52466988563538... | Lua |
/*
This file is part of Helio music sequencer.
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.
This pr... | C |
ss();
println!(
"hart_id: {}, device_tree_addr: {:#x}",
&hart_id, device_tree_addr
);
// memory not initialized, device tree available
device_tree::init(device_tree_addr);
mm::init();
trap::init();
//batch::init();
unsafe { asm!("ebreak");}
println!("\x1b[31m[kzios]\x... | Rust |
38 */ lwz r4, lbl_8063D4F8-_SDA_BASE_(r13)
/* 800A0BE4 0009C844 38 60 00 0E */ li r3, 0xe
/* 800A0BE8 0009C848 38 84 00 9C */ addi r4, r4, 0x9c
/* 800A0BEC 0009C84C 48 0B B7 1D */ bl func_8015C308
/* 800A0BF0 0009C850 48 00 00 A8 */ b lbl_800A0C98
lbl_800A0BF4:
/* 800A0BF4 0009C854 80 64 01 08 */ lwz r3, 0x108(r4)... | Assembly |
return oldbit;
}
/**
* test_and_clear_bit - Clear a bit and return its old value
* @nr: Bit to clear
* @addr: Address to count from
*
* This operation is atomic and cannot be reordered.
* It can be reorderdered on other architectures other than x86.
* It also implies a memory barrier.
*/
/**
* *addrĵnrλԭֵ
... | C |
IL R5
FORGPREP R3
GETTABLEKS R8 R7 K7 ["session"]
JUMPIFNOT R8 [+11]
GETTABLEKS R10 R8 K8 ["Cancel"]
FASTCALL1 TYPEOF R10 [+2]
GETIMPORT R9 K10 [typeof]
CALL R9 1 1
JUMPIFNOTEQKS R9 K11 ["function"] [+4]
NAMECALL R9 R8 K8 ["Cancel"]
CALL R9 1 0
FORGLOOP R3 2 [-15]
GETTABLEKS R5 R0 K2 ["store"]
... | Assembly |
Key) + 1];
let nextNextSpace = originalSpaces[parseInt(spaceKey) + 2];
if (space && nextSpace && space.y > 0) {
let sameHeight = (space.y >= (nextSpace.y - 10)) && (space.y <= (nextSpace.y + 10));
let adjacent = (space.x + space.width) === nextSpace.x;
if (sameHeigh... | Typescript |
2[1] is Text, true);
expect(widgets2[2] is Container, true);
final widgets3 = [
PieChartSectionData(value: 1, badgeWidget: const Text('1')),
PieChartSectionData(value: 2, badgeWidget: const Text('2')),
PieChartSectionData(value: 3, badgeWidget: const Text('3')),
].toWidgets();
expect(... | Dart |
success = true;
}
}
}
return success;
}
static void MakeExprNode( ExprTree &tree, char token, Kind kind, ExprTree left, ExprTree right )
{
tree = AllocateNode();
tree->left = left;
tree->right = right;
tree->kind = kind;
switch ( kind )
{
case CONDITIONAL:
tree->data.cond = token;
break;
case... | C++ |
us_BXm2BXm1Empty = map_of_MEs[DirName+"/"+"NHFracEndCapMinus_BXm2BXm1Empty"]; if ( meNHFracEndCapMinus_BXm2BXm1Empty && meNHFracEndCapMinus_BXm2BXm1Empty ->getRootObject()) meNHFracEndCapMinus_BXm2BXm1Empty ->Fill((*pfJets)[ijet].neutralHadronEnergyFraction());
meCHFracEndCapMinus_BXm2BXm1Empty = map... | C++ |
}
func (k *KnowledgeApplicationService) CreateDocument(ctx context.Context, req *dataset.CreateDocumentRequest) (*dataset.CreateDocumentResponse, error) {
uid := ctxutil.GetUIDFromCtx(ctx)
if uid == nil {
return nil, errorx.New(errno.ErrKnowledgePermissionCode, errorx.KV("msg", "session required"))
}
listResp, e... | Go |
",m_jtdxtime->currentDateTimeUtc2().toString("hh:mm:ss.zzz").toStdString().c_str(),m_jtdxtime->GetOffset(),args.join("|").toStdString().c_str(),power_);
break;
case Cmd_VFO:
// printf("%s(%0.1f) Cmd_VFO : %s\n",m_jtdxtime->currentDateTimeUtc2().toString("hh:mm:ss.zzz").toStdString().c_str(... | C++ |
h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zM4 12h4v2H4v-2zm10 6H4v-2h10v2zm6 0h-4v-2h4v2zm0-4H10v-2h10v2z") !important;
fill: #909090;
}
/* Sub alert all */
path[d="M21.5 8.99992H19.5V8.80992C19.5 6.89992 18.39 5.18991 16.6 4.32991L17.47 2.52991C19.96 3.71991 21.5 6.12992 21.5 8.80992V8.99992ZM4.5 8.80992C4.5 6.89992... | JavaScript |
s")
# NFT1 CHILD GENESIS
slp_nft1_child_genesis1_tx = CTransaction()
slp_nft1_child_genesis1_tx.vin = [
CTxIn(COutPoint(int(slp_nft1_send_tx_txid, 16), 1), SCRIPTSIG_OP_TRUE)
]
slp_nft1_child_genesis1_tx.vout = [
CTxOut(
0,
... | Python |
UX(port, tx, rx) \
bfin_write_PORT##port##_MUX((bfin_read_PORT##port##_MUX() & ~(PORT_x_MUX_##tx##_MASK | PORT_x_MUX_##rx##_MASK)) | PORT_x_MUX_##tx##_FUNC_1 | PORT_x_MUX_##rx##_FUNC_1); \
bfin_write_PORT##port##_FER(bfin_read_PORT##port##_FER() | P##port##tx | P##port##rx);
switch (CONFIG_UART_CONSOLE) {
case 0: D... | C |
@Override
public boolean act() {
if (target.isAlive()) {
spend( interval );
if (--level <= 0) {
detach();
GameScene.flash(0xff0000);
GLog.n("Now! You Time is Out Over!Go Died!!!");
... | Java |
ns 1:5** → **1 Thessalonians 2:13** [[1 Thessalonians ch: 2.md]] (votes: 8)
- **Colossians 1:5** → **2 Thessalonians 2:16** [[2 Thessalonians ch: 2.md]] (votes: 5)
- **Colossians 1:5** → **Colossians 1:23** [[Colossians ch: 1.md]] (votes: 9)
- **Colossians 1:5** → **Colossians 3:16** [[Colossians ch: 3.md]] (votes: 5)
... | Markdown |
tride);
/**
Set the entire bitmap to 0.
Never throws exceptions.
*/
void fz_clear_bitmap(fz_context *ctx, fz_bitmap *bit);
/**
Create a 'default' halftone structure
for the given number of components.
num_comps: The number of components to use.
Returns a simple default halftone. The default halftone uses
th... | C |
LAG, COMPATF_NOBLOCKFRIENDS, 0 },
{ "compat_spritesort", MITYPE_COMPATFLAG, COMPATF_SPRITESORT, 0 },
{ "compat_light", MITYPE_COMPATFLAG, COMPATF_LIGHT, 0 },
{ "compat_polyobj", MITYPE_COMPATFLAG, COMPATF_POLYOBJ, 0 },
{ "compat_maskedmidtex", MITYPE_COMPATFLAG, COMPATF_MASKEDMIDTEX, 0 },
{ "compat_ba... | C++ |
/*
* Copyright (C) 2014 Marvell
*
* Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Gregory Clement <gregory.clement@free-electrons.com>
*
* This file is licensed under the terms of the GNU General Public
* License version 2. This program is licensed "as is" without any
* warranty of any kind, whether... | Assembly |
'my_script2': 'bin/my_script2.dart',
},
},
skipTryPub: true,
);
expect(value.name, 'sample');
expect(value.version, version);
expect(value.publishTo, 'none');
expect(value.description, 'description');
expect(value.homepage, 'homepage');
expect(value.author, 'na... | Dart |
4jE7Y3ZRkLFocvEDW {
position: relative;
border-radius: 10px;
overflow: hidden;
max-width: 190px;
max-height: 150px;
min-width: 0;
flex: 1;
box-shadow: 2px 2px 2px rgba(43, 43, 43, 0.1);
}
.BasicUI ._1-cbd4jE7Y3ZRkLFocvEDW {
max-width: 155px;
max-height: 140px;
border-radius: 2px;
}
._1-cbd4jE7Y3ZR... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.