content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ent_number_of_completed_packets_1, 1, HCI_CON_HANDLE, num_completed);
}
// report connection event
if (ll_send_connection_complete){
ll_send_connection_complete = false;
ll_emit_hci_event(&hci_subevent_le_connection_complete,
ERROR_CODE_SUCCESS, HCI_CON_HAND... | C |
.STRING_LITERAL - 20)) | (1 << (Python3Parser.BYTES_LITERAL - 20)) | (1 << (Python3Parser.DECIMAL_INTEGER - 20)) | (1 << (Python3Parser.OCT_INTEGER - 20)) | (1 << (Python3Parser.HEX_INTEGER - 20)) | (1 << (Python3Parser.BIN_INTEGER - 20)) | (1 << (Python3Parser.FLOAT_NUMBER - 20)) | (1 << (Python3Parser.IMAG_NUMBER - 2... | JavaScript |
ssertFalse()
realTimeDebounce.assertNull()
}
}
/**
* Designed and developed by Aidan Follestad (@afollestad)
*
* 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.ap... | Kotlin |
builtins.serializer
import kotlinx.serialization.encoding.Decoder
import kotlinx.serialization.encoding.Encoder
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.json.JsonClassDiscriminator
/**
*
*
* @param id
* @param optionalProperty
*/
@Serializable
@OptIn(Experimental... | Kotlin |
的期望值调高一点,平摊到全球下注、总体经营的总赌注中去,一开始就要从自己的产品价格和销量里体现出来。
作为一家中国企业,注定不可能有“战舰助我万事如意”的可能。出去之前就要断了这个想法,并且不要认为这危害了你的安全,就像不要认为政府不会在你被绑架后帮你交赎金是危害了你的安全一样。
那样去“保护”你,去“救”你,你本来平安无事都会凭空生出需要被保护、需要被救的事情来。无论你现在觉得多艰难危险,中国如果因此直接干预缅甸,你都会变得更艰难、更危险。
**相反,做好“坚持和平共处五项原则”这件事,才是对你最大的、最全面、最深远的保护。**
什么叫“坚持”,就是自己赚到的时候固然不变,自己付出代价的时候也**一样不变**。
谁说“什... | Markdown |
{Element} el The target element
* @param {Object} styleInfos The StyleInfo objects
* @param {PIE.RootRenderer} parent
*/
PIE.BorderImageRenderer = PIE.RendererBase.newRenderer( {
shapeZIndex: 5,
needsUpdate: function() {
return this.styleInfos.borderImageInfo.changed();
},
isActive: funct... | JavaScript |
ckIverilogVector(pipem, vectors);
});
test('getting out of range on pipeline is error', () {
final x = Logic();
expect(
() => Pipeline(Logic(), signals: [
x
], stages: [
(p) => [],
(p) => [],
]).get(x, 3),
... | Dart |
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef CPU_X86_TSC_H
#define CPU_X86_TSC_H
#include <stdint.h>
#if CONFIG(TSC_SYNC_MFENCE)
#define TSC_SYNC "mfence\n"
#elif CONFIG(TSC_SYNC_LFENCE)
#define TSC_SYNC "lfence\n"
#else
#define TSC_SYNC
#endif
struct tsc_struct {
unsigned int lo;
unsigned int hi;
};
typed... | C |
ivateKey)
if err != nil {
return nil, errors.New("go-cryptobin/ecsdsa: failed to parse EC private key embedded in PKCS#8: " + err.Error())
}
return key, nil
}
package lms
import (
"testing"
"crypto"
"crypto/rand"
"github.com/deatil/go-cryptobin/tool/test"
)
func Test_HSS_SignerI... | Go |
elif node.value in {"for"}:
node, end_line = __handle_skip(stack, 4)
elif node.value in {"else"}:
node, end_line = __handle_skip(stack, 1)
return end_line, from_keyword, node, stack
def __compute_start_end_lines(node, stack):
start_line, _ = node.start_pos
end_line, _... | Python |
."}, {"Mate Lorde Aliden Perenolde e pergunte à sua concubina, Elysa, sobre o pingente de Taretha."}},
[508] = {"O presente de Taretha", {"O pingente? Claro que você pode ficar com ele... Leve! Não quero guardar nenhuma lembrança dele... só vá embora em paz, por favor..."}, {"Devolva o pingente de Taretha a Krusk na Se... | Lua |
= 1L;");
w.println();
// fields
for (int i = 0; i < numFields; i++) {
w.println("\t/** Field " + i + " of the tuple. */");
w.println("\tpublic " + GEN_TYPE_PREFIX + i + " f" + i + ';');
}
w.println();
// constructors
w.println("\t/**");
w.println("\t * Creates a new tuple where all fields are n... | Java |
neuron_ranges_flat = tf.reshape(neuron_ranges, [-1, 1]) # Shape (B*N, 1)\\n neuron_deltas_flat = tf.reshape(neuron_deltas, [-1, self.NUM_TIMESTEPS_CONTEXT - 1]) # Shape (B*N, C-1)\\n\\n\\n # --- 2. Global Time-Dependent Aggregates (Learned) ---\\n # Input series_input (B, C, N) -> TimeDistr... | HTML |
"]
#[inline(always)]
pub fn is_tpri_3(&self) -> bool {
*self == TPRI_A::TPRI_3
}
#[doc = "Checks if the value of the field is `TPRI_4`"]
#[inline(always)]
pub fn is_tpri_4(&self) -> bool {
*self == TPRI_A::TPRI_4
}
#[doc = "Checks if the value of the field is `TPRI_5`"]
... | Rust |
Java client for the Thumbor image service which allows you to build URIs in an expressive fashion using a fluent API." />
<link href="bootstrap.min.css" rel="stylesheet">
<link href="bootstrap-responsive.min.css" rel="stylesheet">
<link href="prettify.css" rel="stylesheet">
<link href="app.css" rel="st... | HTML |
4,sb:0,db:1,+:4,n:2,ch:20,cm:1,sz:M,ty:P,sp:3,c:3,rc:recharging],{{Attacks=2 per round, no increases, Piercing}}{{desc=This shortbow has a charged magical targeting sight which incorporates a zoom dial. Increasing the zoom uses more magical charges, but improves the attack roll: 1 charge = +1, 2 charges = +2 and 3 char... | JavaScript |
上课的内容都固定不变,或者变化很小。这种教学的效果一定不好:水平高的学生不用听也会,水平差的学生听了也不会,就像欠拟合的模型在训练集上都没有良好的表现,更遑论泛化性能了。
相比之下,过于复杂的模型则是一对一的闭门辅导,针对每个学生不同的问题做出不同的解答,数学不好的补数学,语文不好的补语文。这样因材施教的教学效果固然优良,却因为它的针对性而没法推广,就像过拟合的模型能够在训练集上表现优异,却因为针对性过强,同样不具备良好的泛化性能。
模型的复杂度也可以从误差组成的角度一窥端倪。在“人工智能基础课”的第一季中曾介绍过,模型的误差包括三个部分:偏差(bias),方差(variance)和噪声(noise)。
三者中的噪声也叫作**... | Markdown |
ParameterizationWithZeroLocalSizeSubsetParameterization1) {
std::vector<int> constant_parameters;
constant_parameters.push_back(0);
LocalParameterization* subset_param =
new SubsetParameterization(1, constant_parameters);
LocalParameterization* identity_param = new IdentityParameterization(2);
ProductPa... | C++ |
* needed when subtracting qhat*divisor from dividend.
*/
private int mulsub(int[] q, int[] a, int x, int len, int offset) {
long xLong = x & LONG_MASK;
long carry = 0;
offset += len;
for (int j = len - 1; j >= 0; j--) {
long product = (a[j] & LONG_MASK) * xLong + carry;
long differe... | Java |
işlevi yine aynı şekilde kullanamazsınız.
</p>
<p>
<u>QR kodu tarayın</u>
</p>
<p>
Test sonucunu Uygulama aracılığıyla çağırmak için, bu QR kodu Uygulamayla taramanız gerekir. Bu
QR kod, bir kod numarası içerir, bu kod numarası tarama işlemiyle okunur ve testinize ataması
yapılır. Hızlı antijen testi... | HTML |
, _, endObservation := s.operations.getBatchSpec.With(ctx, &err, observation.Args{Attrs: []attribute.KeyValue{
attribute.Int("ID", int(opts.ID)),
attribute.String("randID", opts.RandID),
}})
defer endObservation(1, observation.Args{})
q := getBatchSpecQuery(&opts)
var c btypes.BatchSpec
err = s.query(ctx, q,... | Go |
lue = "id", required = false)
private String id;
@ApiModelProperty(value = "创建时间", required = false)
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone = "GMT+8")
private Date createTime;//创建时间
@ApiModelProperty(value = "修改时间", required = false)
@DateTimeFormat... | Java |
n}^{\\text{tm}\\)으로 \\(N\\) = 16,384개의 예제와 \\(x_{k}^{\\text{dsr}}\\)으로 \\(K\\) = 512개의 예제를 무작위로 샘플링하고, Mistral [19]의 BPE tokenizer를 사용하여 빈발 토큰들을 에 매핑하여 5K 토큰으로 어휘를 구성한다. 모델에는 약 1.7M 매개변수가 포함되어 있습니다. 훈련과 원하는 분포의 차이를 반영하기 위해, 우리는 (1) 어휘 [18]에서 하나의 토큰을 랜덤 토큰으로 교체하는 단계; (2) 마지막 토큰 [17]을 삭제하는 단계; (3) 문장 [20]에서 하나의 토큰을 반복하는 ... | HTML |
itLocalConfigDb referring to Initialize (local) Single Node Config DB
InitLocalConfigDb = vmdkopsAdmin + "config init --local"
// RemoveLocalConfigDb referring to Remove (local) Single Node Config DB
RemoveLocalConfigDb = vmdkopsAdmin + "config rm --local --confirm"
// UpdateVMgroup referring to updating a vmgrou... | Go |
arsaw-Chopin</a></td>
<td align="center">1</td>
</tr>
</table>
<h3><span class="mw-headline" id="Cargo">Cargo</span></h3>
<table class="wikitable sortable" style="font-size: 95%">
<tr bgcolor="lightgrey">
<th>Airlines</th>
<th class="unsortable">Destinations</th>
</tr>
<tr>
<td><a href="//en.wikipedia.org/wiki/FedEx_Fe... | HTML |
)}else this.calendarWeeks&&!t.calendarWeeks&&(this.element.removeChild(this.calendarWeeks.element),this.calendarWeeks=null);void 0!==t.showDaysOfWeek&&(t.showDaysOfWeek?(ot(this.dow),this.calendarWeeks&&ot(this.calendarWeeks.dow)):(rt(this.dow),this.calendarWeeks&&rt(this.calendarWeeks.dow))),e&&Array.from(this.dow.chi... | JavaScript |
but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with algs4.jar. If not, see http://www.gnu.org/licenses.
... | Java |
Ignored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ul(n){return n.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function ue(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const r in a)t[r]=a[r]}),t}co... | JavaScript |
/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 governing permissions and
// limit... | Dart |
e.blockData[t]=e.pred+=r;let n=1;for(;n<64;){const a=decodeHuffman(e.huffmanTableAC),r=15&a,i=a>>4;if(0===r){if(i<15)break;n+=16;continue}n+=i;const o=s[n];e.blockData[t+o]=receiveAndExtend(r);n++}};let D,N=0;const R=1===C?n[0].blocksPerLine*n[0].blocksPerColumn:f*a.mcusPerColumn;let L,$;for(;N<=R;){const a=o?Math.min(... | JavaScript |
= R"({})"_json;
for (auto p = m.begin(); p != m.end(); ++p) {
rt[p.key().toStdString()] = xstudio::ui::qml::qvariant_to_json(p.value());
}
return rt;
} break;
case QMetaType::QVariantList: {
const QVariantList m = var.toList();
auto rt = R"([]... | C++ |
Hello {
public String sayHello(String name,int i){
System.out.println("服务端的sayHello方法被调用了。。。。");
return "helle" + name;
}
public static void main(String[] args) {
String address = "http://192.168.115.87:8080/hello";
Hello implementor = new Hello();
Endpoint.publish(address, implementor);
}
}
```
## ... | Markdown |
SetsMode, ?NamedCaptureGroups] `)`
`(?!` Disjunction[?UnicodeMode, ?UnicodeSetsMode, ?NamedCaptureGroups] `)`
`(?<=` Disjunction[?UnicodeMode, ?UnicodeSetsMode, ?NamedCaptureGroups] `)`
`(?<!` Disjunction[?UnicodeMode, ?UnicodeSetsMode, ?NamedCaptureGroups] `)`
Quantifier ::... | HTML |
r10]
mov r10, #36
.L1869:
uxth r3, r8
cmp r5, r3
bhi .L1871
ldr r3, [sp, #4]
cmp r3, #0
bne .L1872
uxth r6, r6
movs r3, #6
str r3, [sp, #16]
movs r3, #1
str r3, [sp, #12]
.L1873:
mov r8, #0
.L1882:
ldr r3, .L1906+16
mov fp, #0
mov r5, fp
ldrh r3, [r3]
str r3, [sp, #24]
ldr r3, .L1906+20
ldr r10, [r3... | Assembly |
YsD8pWDqJgztTY90hzzVyBooUxShqNKcHHHReT82MZAQwuYr6c1E3C9NS7sPEJuxu.d5x0m7KvKzSbO6VejrFkN1J7fqHRWMNsU__2vLGzZGYyH47Jns2T3EM_z2MJSiXm7QmrELPg2P6eGWaXJQ0CgMugL46gmtXKZ1lIM9sn32YbUVHABtbn8drdMibTxQ3RqXoNQgWOJxeSdV3Kz73YORJXnE2t0tQKDfNpLQTDT1l63wg4S3Yz7e_l_QaP_eK1A9oSKE5pKLHgTIcQCJAaWCIBoVlUASpqFlzJKT.jKnywHsSE8TwZ4ekMJ97uQy... | HTML |
concurrently reading/writing a ref should not cause a NotFoundError resolving it', async () => {
// There are some expect() calls below, but as of 2023-03-15, if this test fails it will do so by logging instances
// of 'NotFoundError: Could not find myRef', which should not happen.
const { fs, gitdir } = aw... | JavaScript |
A simple, general default name for a variable, preferably short.
/// For more context, see
/// [[Translating:Blockly#infrequent_message_types]].\n{{Identical|Item}}
Blockly.Msg.VARIABLES_DEFAULT_NAME = 'item';
/// button text - Button that sets a calendar to today's date.\n{{Identical|Today}}
Blockly.Msg.TODAY = 'Toda... | JavaScript |
:
return coinlib.Network(
wifPrefix: 0xef,
p2pkhPrefix: 0x6f,
p2shPrefix: 0xc4,
privHDPrefix: 0x04358394,
pubHDPrefix: 0x043587cf,
bech32Hrp: "tb",
messagePrefix: "\x18Bitcoin Signed Message:\n",
minFee: BigInt.from(1), // Not used ... | Dart |
}
[Test]
public void TestThemeConfigManagerAsset_ImportsAndExportsCustomConfigs()
{
ThemeConfigManager loadedAsset = GetThemeConfigManagerWithTestPackageLocationsAndDefaultConfig();
Assert.IsNotNull(loadedAsset);
loadedAsset.LoadDefaultThemeConfig();
... | C# |
'+rpoint+'-n"></div>',
'<div class="'+rpoint+' '+rpoint+'-e"></div>',
'<div class="'+rpoint+' '+rpoint+'-s"></div>',
'<div class="'+rpoint+' '+rpoint+'-w"></div>',
'<div class="'+rpoint+' '+rpoint+'-ne"></div>',
'<div class="'+rpoint+' '+rpoint+'-se"></div>',
'<div class="'+rpoint+' ... | JavaScript |
loc_veteran_male_a__lore_chaos_three_b_02",
},
sound_events_duration = {
[1] = 4.653729,
[2] = 5.679458,
},
randomize_indexes = {},
},
lore_chaos_three_c = {
randomize_indexes_n = 0,
sound_events_n = 2,
sound_events = {
[1] = "loc_veteran_male_a__lore_chaos_three_c_01",
[2] = "loc_veteran_ma... | Lua |
, #0
ldrnesb r0, [r4]
cmpne r0, #0
bne _022516DC
ldr r0, _022518CC ; =ov45_022570A4
ldr r1, _022518B8 ; =ov45_02256B94
ldr r2, _022518BC ; =ov45_02256A7C
ldr r3, _022518D0 ; =0x00000B1C
bl __msl_assertion_failed
_022516DC:
cmp sl, #0
beq _02251700
cmp sb, #0
bne _02251700
ldr r0, _022518D4 ; =ov45_022570FC... | Assembly |
.doki7.babel.registry.IMergeable
import club.doki7.babel.registry.IdentifierType
import club.doki7.babel.registry.Param
import club.doki7.babel.registry.Registry
import club.doki7.babel.registry.Typedef
import club.doki7.babel.registry.putEntityIfAbsent
import java.util.logging.Logger
enum class ControlFlow {
ACCE... | Kotlin |
"2.16.840.1.101.3.2.1.48.3", "NIST_TEST_POLICY3" },
{ "2.16.840.1.101.3.2.1.48.4", "NIST_TEST_POLICY4" },
{ "2.16.840.1.101.3.2.1.48.5", "NIST_TEST_POLICY5" },
{ "2.16.840.1.101.3.2.1.48.6", "NIST_TEST_POLICY6" },
{ "2.16.840.1.101.3.2.2", "GAK" },
{ "2.16.84... | C++ |
�호대",
[52606] = "검은나무 장화",
[52607] = "포세이큰 허리띠",
[52608] = "찢어진 모피 허리띠",
[52609] = "잠수부의 장식끈",
[52610] = "고대의 뿔 허리띠",
[52612] = "경작자의 장갑",
[52613] = "모라의 장갑",
[52614] = "테세라의 선물",
[52615] = "달표범 팔보호구",
[52616] = "고대 숲 팔보호구",
[52617] = "평온의 팔보호구",
[52618] = "고대의 소매장식",
[52619] = "영액 묻은 조끼",
[52620] = "흙이 굳어붙은 사슬갑옷",
[52... | Lua |
准详解与实施(138)6.14.2.1 冗余](https://mp.weixin.qq.com/s?__biz=MzA5OTEyNzc1Nw==&mid=2247486828&idx=2&sn=bd847af04e802634608c0dda42950106)
- [ ] [【前14篇免费】ISO/IEC 27701: 2019 标准详解与实施(137)6.14.1.3 验证、评审和评价信息安全连续性](https://mp.weixin.qq.com/s?__biz=MzA5OTEyNzc1Nw==&mid=2247486828&idx=3&sn=a858f23021c73086dd0efdb4cec690b2)
- [... | Markdown |
R_SYSCALLS, %rbx
movq %rsi,(%rbx)
popq %rbx
ret
/* int syscall(arg0, ..., arg5) */
ENTRY(syscall)
pushq %rbp
movq %rdi, %rax
movq %rsi, %rdi
movq %rdx, %rsi
movq %rcx, %rdx
movq %r8, %r10
movq %r9, %r8
movq -8(%rsp), %r9
syscall
popq %rbp
ret
//.extern CPU_DATA_BASE
E... | Assembly |
来,只开会就浪费了我六分之一的宝贵青春。
</p>
<p>
斗争就是侵犯人权。如果哪个要这样给我算总帐,象那样斗争我,我先就和他拼了再说。
</p>
<p>
我在蒋介石统治时期比现在自由得多,要打人就打人
</p>
<p>
蒋介石有一定的好处,在大革命时期他对人民有一定的贡献,我在蒋介石统治时期要比现在自由得多,那时要打人就打人。
</p>
<p>
陈光汉(昆明师范学院中文专修科一年级学生)说:
</p>
<h3>
资本主义比社会主义好
</h3>
<p>
我对现实是不满的。社会主义制度没有资本主义制度好,以买猪肉排队,商品脱销等现象作为例证,资本主... | HTML |
['evaporated milk', '濃縮無糖牛乳'],
['evaporation', '蒸発;(蒸発による)消散'],
['evasion', '〈U〉(攻撃などを)逃れること,(責任などの)回避《+『of』+『名』》 / 〈C〉逃げ口上,言い逃れ'],
['evasive', '回避する,言い逃れの'],
['eve', '(祝祭日の)『前夜』,前日 / 《the~》(重要な事の)直前《+『of』+『名』》'],
['Eve', 'イブ,エバ(神が創造した人類最初の女性;Adamの妻)'],
['even', '『平らな』,平たんな / 『同じ高さの』,同一平面の,平行の / (運動・動作・品質など... | Typescript |
to(
LINEAR_AXIS_LIST(current_position.x, ry, current_position.z, current_position.i, current_position.j, current_position.k),
fr_mm_s
);
}
#endif
#if HAS_Z_AXIS
void do_blocking_move_to_z(const_float_t rz, const_feedRate_t fr_mm_s/*=0.0*/) {
do_blocking_move_to_xy_z(current_position, rz, fr_mm_... | C++ |
s données de delta doivent être appliquées autant de fois pour arriver à l’objet nécessaire.</p>
<div class="paragraph">
<p>La valeur par défaut pour --window est 10 et --depth est 50. La profondeur maximale est de 4095.</p>
</div>
</dd>
<dt class="hdlist1" id="git-repack---threadsltngt"> <a class="anchor" href="... | HTML |
/*
* Copyright (C) 2009, Strawberry Development Group.
*
* This file is part of the CapROS Operating System.
*
* 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,
* or (at ... | C |
placeholder);
color: #949494; }
[contenteditable="true"]::-moz-selection {
background: rgba(0, 132, 255, 0.2);
color: #000; }
[contenteditable="true"]::selection {
background: rgba(0, 132, 255, 0.2);
color: #000; }
[contenteditable="true"]::-moz-selection {
background: rgba(0, 132, 255, 0.2);
color: #0... | CSS |
builder.add(instruction);
return instruction;
}
}
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
library dart2js.elements.names;
import 'pa... | Dart |
ors.add(new ColorName("DarkOliveGreen", 0x55, 0x6B, 0x2F));
colors.add(new ColorName("DarkOrange", 0xFF, 0x8C, 0x00));
colors.add(new ColorName("DarkOrchid", 0x99, 0x32, 0xCC));
colors.add(new ColorName("DarkRed", 0x8B, 0x00, 0x00));
colors.add(new ColorName("DarkSalmon", 0xE9, 0x96, 0x7... | Java |
eNumber,
},
});
}
findOne(id: string): Promise<User> {
return this.usersRepository.findOne(id);
}
async remove(id: string): Promise<void> {
await this.usersRepository.delete(id);
}
}
import { Injectable } from '@angular/core';
import { Router } from '@angular/router';
import { Observable, ... | Typescript |
// 5秒
private ExecutorService executor;
private PipelineService pipelineService;
private PassiveMonitor exceptionRuleMonitor;
private ArbitrateManageService arbitrateManageService;
privat... | Java |
級:</p>
<table class="standard-table">
<caption>程序執行優先順序</caption>
<thead>
<tr>
<th scope="col">優先順序</th>
<th scope="col">Nice</th>
<th scope="col">用於</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>MASTER</code></td>
<td>0</td>
<td>主 b2g process</td>
</tr>
<tr>
<td><code>FOREGROUND_HIGH</... | HTML |
inline]
pub fn encode_into(&self, dest: &mut Vec<u8>) {
// operation is infallible so it's ok to unwrap
Encode::encode_into(self, dest).unwrap()
}
#[inline]
pub fn encoding_length(&self) -> usize {
// operation is infallible so it's ok to unwrap
Encode::encoding_length(s... | Rust |
ntln(r.outputWriter)
}
fixesByFile := byRoot[root]
files := util.KeysSorted(fixesByFile)
fmt.Fprintf(r.outputWriter, "In project root: %s\n", root)
for _, file := range files {
fxs := fixesByFile[file]
rel := relOrDefault(root, file, file)
oldPath, ok := fixReport.OldPathForFile(file)
if ok {... | Go |
Scheduler
impl atomic.Pointer[flushImpl]
}
func NewFlusher(
rt *dbutils.Runtime,
checkpointSchduler CheckpointScheduler,
catalogCache *catalog.Catalog,
sourcer logtail.Collector,
noop bool,
opts ...FlusherOption,
) Flusher {
flusher := &flusher{
rt: rt,
checkpointSchduler: checkpointSchdul... | Go |
ramTitle:i.r};const lt=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup ... | JavaScript |
dbda884c53fab14521024f0e69317ec48f89" name="gga3d3983e20521e5a738998e9236293dbda884c53fab14521024f0e69317ec48f89"></a>AM_HAL_AUDADC_CLKMODE_LOW_POWER </td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="gga3d3983e20521e5a738998e9236293dbdadb590b9e63c1898b7ad9500970468a5b" name="gga3d3983e20521e5a7... | HTML |
":{"lines":"37,38"}}],"payload":{"lines":"35,36"}},{"content":"Logical Reasoning Laws","children":[{"content":"<strong>Examples</strong>: Double Negation (¬¬p⇔p), Contraposition ((p→q)⇔(¬q→¬p)), Transitivity ((p→q)∧(q→r)⇒(p→r)).","children":[],"payload":{"lines":"39,41"}}],"payload":{"lines":"38,39"}}],"payload":{"line... | HTML |
mId: Int) : UiEventLogger.UiEventEnum {
@UiEvent(doc = "Activity enters picture-in-picture mode")
PICTURE_IN_PICTURE_ENTER(603),
@UiEvent(doc = "Activity enters picture-in-picture mode with auto-enter-pip API")
PICTURE_IN_PICTURE_AUTO_ENTER(1313),
@UiEvent(doc = "Activity ente... | Kotlin |
.arm
.align 4
@ Defining v810_state offsets
.struct 0
state_regs:
.struct state_regs + (4*32)
state_statusregs:
.struct state_statusregs + (4*32)
state_pc:
.struct state_pc + 4
state_flags:
.struct state_flags + 4
state_exceptflags:
.struct state_exceptflags + 4
state_cycles:
.struct state_cycles + 4
state_cycles_unti... | Assembly |
This snippet has been automatically generated and should be regarded as a code template only.
/// It will require modifications to work:
/// - It may require correct/in-range values for request initialization.
/// - It may require specifying regional endpoints when creating the service client as... | C# |
iuml: 'Lille i med umlaut',
eth: 'Lille ð (edd)',
ntilde: 'Lille n med tilde',
ograve: 'Lille o med accent grave',
oacute: 'Lille o med accent aigu',
ocirc: 'Lille o med cirkumfleks',
otilde: 'Lille o med tilde',
ouml: 'Lille o med umlaut',
divide: 'Divisions-tegn',
oslash: 'Lille ø',
ugrave: 'Lille u med acc... | JavaScript |
java::lang::Throwable>> {
// class.path == "java/util/concurrent/locks/ReentrantReadWriteLock$WriteLock", java.flags == PUBLIC, .name == "getHoldCount", .descriptor == "()I"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
... | Rust |
import argparse
import numpy as np
def print_latency_stats(f, latencies):
mean = np.mean(latencies);
sd = np.std(latencies, ddof=1)
p50 = latencies[int(len(latencies) / 2)];
p90 = latencies[int(len(latencies) * 0.90)];
p95 = latencies[int(len(latencies) * 0.95)];
p99 = latencies[int(len(laten... | Python |
vs2015 .hljs-name {
color: #569cd6;
}
.theme-vs2015 .hljs-link {
color: #569cd6;
text-decoration: underline;
}
.theme-vs2015 .hljs-built_in,
.theme-vs2015 .hljs-type {
color: #4ec9b0;
}
.theme-vs2015 .hljs-number,
.theme-vs2015 .hljs-class {
color: #b8d7a3;
}
.theme-vs2015 .hljs-string,
.theme-vs2015 .hljs-meta .h... | CSS |
ght = 640;
} else {
r.left = 0;
r.right = xt;
}
backSurface->Blt(&r, NULL, NULL, DDBLT_WAIT | DDBLT_COLORFILL, &ddfx);
}
}
//-----------------------------------------------------------------------------
void Game::updateBulles()
{
Sprite * pl;
// Crée de nouvelles bulles
//
list_joueurs.start();
... | C++ |
d::istringstream stream;
stream >> bomb;
});
TestOp([&]() {
std::stringstream stream;
stream << bomb;
});
}
// Tests the operator<< of ThrowingValue by forcing ConstructorTracker to emit
// a nonfatal failure that contains the string representation of the Thrower
TEST(ThrowingValueTest, StreamOpsOutp... | C++ |
# -*- coding: utf-8 -*- #
# Copyright 2025 Google LLC. All Rights Reserved.
#
# 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 requir... | Python |
�贝"},{glass:"btn-default",label:"取消"}];var a=$.hsMask.apply($,n);var h=function(){a.removeClass("alert-info").addClass("alert-success");a.find(".alert-footer .btn").prop("disabled",false);a.find(".alert-title").text(n[0].topic);return a};a.find(".alert-footer button").prop("disabled",true);a.find(".alert-footer button.... | JavaScript |
ost/math/special_functions/hypergeometric_1F1.hpp>
#include <boost/math/special_functions/hypergeometric_pFq.hpp>
#include <boost/math/constants/constants.hpp>
#include <boost/lexical_cast.hpp>
#include <fstream>
#include <map>
#include <boost/math/tools/test_data.hpp>
#include <boost/random.hpp>
#include <boost/multi... | C++ |
: "debug call",
}
var waitReasonMap1_20 = map[uint8]string{
0: "",
1: "GC assist marking",
2: "IO wait",
3: "chan receive (nil chan)",
4: "chan send (nil chan)",
5: "dumping heap",
6: "garbage collection",
7: "garbage collection scan",
8: "panicwait",
9: "select",
10: "select (no cases)",
11: "GC... | Go |
って定義された単位であるため
インフラ層が担当する永続化に最適化された定義(テーブル構造)から影響を受けるべきではない
- リポジトリパターン
ドメイン層とインフラ層を分離すると自然にそうなる
- CQRS(Command Query Responsibility Segregation)
データストアに対する 参照系(Query)と更新系(Command)を分離するパターン
- UoW
Unit of Works
トランザクションの単位を 明示的に 管理するためのパターン
# オニオンアーキテクチャ
## 参考
# Dueling DDQN
🚧👷🛑 Under Construction!!!
... | Markdown |
testEncodeImm(test, "mov", opStr, val, func(text *code.Buf) {
MOV8i.MemDispImm(text, t, base, disp, int64(val))
})
}
// Test MemDispImm with 16-bit width
opStr = fmt.Sprintf("word ptr [%s%s], IMM", regNamesI64[base], dispStr)
for _, val := range testImm16 {
testEncodeImm(test, "mov", ... | Go |
string.format("[salesforce:%s %s in %s] > %s", os.date("%c"), line, scope, final_arg)
self:log_str(debug_str)
end
function Debugger:log_str(debug_str)
if Config:get_options().debug.to_command_line then
print(debug_str)
end
if Config:get_options().debug.to_file then
vim.fn.writefile... | Lua |
none; stroke: #dddddd; stroke-width: 0.5; stroke-linecap: round"/>
</g>
<g id="text_11">
<!-- 200% -->
<g style="fill: #666666" transform="translate(18.23025 150.793571) scale(0.121 -0.121)">
<use xlink:href="#ArialMT-32"/>
<use xlink:href="#ArialMT-30" x="55.615234"/>
<use xl... | HTML |
ok book;
if (route.parent.isEmpty) {
reportPush(route);
book = ModularBook(routes: [route]);
} else {
var parent = route.parent;
book = ModularBook(routes: [route.copyWith(schema: parent)]);
while (parent != '') {
var child = await selectRoute(parent, arguments: arguments... | Dart |
2 32 0 0 0 32 32h22.07a32 32 0 0 0 32-32v-38.3A57 57 0 0 0 640 397.24v-28.69a57.39 57.39 0 0 0-35.42-52.99zM335.11 284c6.53-16.92 22.36-28 40-28h113.82c17.6 0 33.42 11.1 40 28L541 320H323zM300 407.85c-14.4 0-24-9.57-24-23.93S285.6 360 300 360s36 21.53 36 35.89-21.6 11.96-36 11.96zm264 0c-14.4 0-36 2.39-36-12S549.6 360 ... | JavaScript |
allv2 = async <T = any>(
abi: any[],
calls: Call[],
options: MulticallOptions = { requireSuccess: true },
): Promise<MultiCallResponse<T>> => {
const { requireSuccess } = options
const multi = getMulticallContract()
const itf = new ethers.utils.Interface(abi)
const calldata = calls.map((call) => [call.ad... | Typescript |
nt intent = new Intent(getActivity(), SearchViewActivity.class);
intent.putExtra("fatherName", ".HomePage");
startActivityForResult(intent, 1);
}
}
});
}
/**
* 设置GridView图片背景
*
* @param selectItems 选中项index
*/
p... | Java |
/">HashTab</a> para un uso interactivo (fuera de compilación). Tienen también las <a class="external" href="http://gnuwin32.sourceforge.net/packages/coreutils.htm">utilidades para Win</a> (aparte de los clásicos como Cygwin), las cuales son buenas para un uso no-interactivo:</p>
<pre class="eval">sha1sum ARCHIVO
</pre... | HTML |
LocaleData = {
en: "Expected effects of this project",
ja: "本プロジェクトが期待する効果",
cs: "该项目的预期效果",
ct: "該項目的預期效果"
};
export const effects_detail: LocaleData = {
en: `The goal of the user scenario is to improve the experience of foreign visitors to Japan when using toilets in Japan.
Targets are flyer acquire... | Typescript |
V[a ? "unshift" : "push"](() => {
s = a,
t(0, s)
}
)
}
return n.$$.update = () => {
n.$$.dirty & 1 && (s == null || s.reveal(250))
}
,
[s, r, o, i, u]
}
class mr extends se {
constructor(e) {
super();
oe(this, e, pr, hr, re, {})
}
}
function Xn(n) {
le... | JavaScript |
min-height: $button-large-height + 5;
font-size: $button-large-font-size;
line-height: $button-large-height - $button-border-width;
.icon:before,
&.icon:before,
&.icon-left:before,
&.icon-right:before {
padding-bottom: ($button-border-width * 2);
font-size: $button-large-icon-size;
line-heigh... | CSS |
" content="rustdoc"><meta name="description" content="API documentation for the Rust `GroupKind` enum in crate `regex_syntax`."><meta name="keywords" content="rust, rustlang, rust-lang, GroupKind"><title>regex_syntax::hir::GroupKind - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link r... | HTML |
, err)
}
if scpd == nil || scpd.GetAction("AddPortMapping") != nil {
err := c.AddPortMapping("", 5000, "TCP", 5001, "192.168.1.2", true, "Test port mapping", 0)
fmt.Println("AddPortMapping: ", err)
}
if scpd == nil || scpd.GetAction("DeletePortMapping") != nil {
err := c.DeletePortMapping("", 5000, "T... | Go |
get the mode: open or closed
const mode = template.getAttribute('shadowrootmode');
// attach a shadow to the component
const shadowRoot = template.parentNode.attachShadow({ mode });
// append the content in the template
shadowRoot.appendChild(template.content);
// remove... | HTML |
index.html"><img src="../../../../home.png" alt="Home"></a><a accesskey="n" href="overload6.html"><img src="../../../../next.png" alt="Next"></a>
</div>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ssl::context::set_default_verify_paths (2 of 2 overloads)</tit... | HTML |
filtering referred to
* as limiting. Limiting is separate from filtering; a new filter will not
* erase an active filter. Limiting is intended to allow only media belonging
* to a specific group to be displayed, e.g. only songs from a certain artist.
* See getLimiter and setLimiter for details.
*/
public class Me... | Java |
/* B10410 80099270 01E92821 */ addu $a1, $t7, $t1
/* B10414 80099274 8FB90024 */ lw $t9, 0x24($sp)
/* B10418 80099278 24180014 */ li $t8, 20
/* B1041C 8009927C 1000002F */ b .L8009933C
/* B10420 80099280 A3380008 */ sb $t8, 8($t9)
.L80099284:
/* B10424 80099284 0C00084C */ jal osSyncPrintf
/* B1... | Assembly |
oIdx=0 buffer=0 iui=0
/* local read inc a */
/* N/A, lro->64 */
/* self.localReadDoCntA 0 self.localReadDoCntB 0 */
/* local read inc b */
/* N/A, lro->128 */
/* self.localReadDoCntA 0 self.localReadDoCntB 0 */
/******************************************/
/* Unrolled Loop(s) - Begin */
/*********... | Assembly |
m4, %xmm5
pslld $18, %xmm4
psrld $14, %xmm5
pxor %xmm4, %xmm0
pshufd $0x39, %xmm3, %xmm3
pxor %xmm5, %xmm0
movdqa %xmm6, %xmm5
pslld $18, %xmm6
psrld $14, %xmm5
pxor %xmm6, %xmm8
pshufd $0x39, %xmm11, %xmm11
pxor %xmm5, %xmm8
movdqa %xmm7, %xmm5
pslld $18, %xmm7
psrld $14, %xmm5
pxor %xmm7, %xmm12
pshuf... | Assembly |
cccc 100%);
background-image: -webkit-gradient(linear, left top, left bottom, from(#f2dede), to(#ebcccc));
background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0);
backg... | CSS |
when (value) {
null -> Unit
is Boolean -> putBoolean(key, value)
is BooleanArray -> putBooleanArray(key, value)
is Byte -> putByte(key, value)
is ByteArray -> putByteArray(key, value)
is ... | Kotlin |
', 'Helvetica', Helvetica, Arial, sans-serif; margin: 0; padding: 0;">
<!-- social & contact -->
<table bgcolor="" class="social" width="100%" style="font-family: 'Helvetica Neue', 'Helvetica', Helvetica, Arial, sans-serif; width: 100%; background: #ebebeb; margin: 0; padding: 0;"><tr style="font-... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.