content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
WHERE `c`.`CustomerID` = `o`.`CustomerID`)
""");
}
public override async Task Let_entity_equality_to_other_entity(bool isAsync)
{
await base.Let_entity_equality_to_other_entity(isAsync);
AssertSql(
"""
SELECT `c`.`CustomerID`, (
SELECT TOP 1 `o0`.`Or... | C# |
.blockquote {
margin-bottom: 1rem;
font-size: 0.9375rem;
}
.blockquote-footer {
display: block;
font-size: 80%;
color: #6c757d;
}
.blockquote-footer::before {
content: "— ";
}
.img-fluid {
max-width: 100%;
height: auto;
}
.img-thumbnail {
padding: 0.25rem;
background-color: #fafafa;
border: 1... | CSS |
_axes_ == 1 ? 1 : out_dims_[3],
kshape_[0],
num_axes_ == 1 ? 1 : kshape_[1],
strides_[0],
num_axes_ == 1 ? 1 : strides_[1],
pads_begin_[0],
num_axes_ == 1 ? 0 : pads_begin_[1],
data_format(),
dY.template data<T, Context>(),
const_... | C++ |
nt[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 };
static final int[] FIRST_SIXTY_FOUR_HARMONICS = new int[64];
/* All harmonics by harmonics option */
public static final int[][] HARMONICS;
/* All partials EXCEPT har... | Java |
; Generated with ikazuchi 1.0 by riidefi
; Object File: C:\products\RVL\runtime_libs\debugger\embedded\MetroTRK\Os\dolphin\UDP_Stubs
; Segments:
; .text: 0x8052d778 -> 0x8052d7c0
; Symbols Defined
; 8052d778 -> 8052d780 udp_cc_post_stop
; 8052d780 -> 8052d788 udp_cc_pre_continue
; 8052d788 -> 8052d790 udp_c... | Assembly |
, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator {
it := &OperationIterator{}
req = proto.Clone(req).(*longrunningpb.ListOperationsRequest)
unm := protojson.UnmarshalOptions{AllowPartial: true, DiscardUnknown: true}
it.InternalFetch = func(pageSize int, pageToken string) ([]*lo... | Go |
Time.of(2000, 1, 2, 10, 0)
, LocalDateTime.of(2004, 1, 1, 10, 0)
));
List<Temporal> madeRecurrences = recurrenceStream
.limit(10)
.collect(Collectors.toList());
assertEquals(expectedRecurrences, madeRecurrences);
}
/*
DTSTART... | Java |
IGNED_TYPEDEF(uvec2, aligned_uvec2, 8)'],['../a00364.html#ga5cec574686a7f3c8ed24bb195c5e2d0a',1,'glm::GLM_ALIGNED_TYPEDEF(uvec3, aligned_uvec3, 16)'],['../a00364.html#ga47edfdcee9c89b1ebdaf20450323b1d4',1,'glm::GLM_ALIGNED_TYPEDEF(uvec4, aligned_uvec4, 16)'],['../a00364.html#ga5611d6718e3a00096918a64192e73a45',1,'glm::... | JavaScript |
Size int,
metaConsensusGroupSize int,
shardId uint32,
nbShards int,
validatorsMap map[uint32][]nodesCoordinator.Validator,
waitingMap map[uint32][]nodesCoordinator.Validator,
keyIndex int,
cp *CryptoParams,
cache nodesCoordinator.Cacher,
coordinatorFactory NodesCoordinatorFactory,
nodesSetup sharding.GenesisN... | Go |
NER_HTML = 'innerHTML',
FONT_FAMILY = 'fontFamily';
if (Y.UA.ie) {
textContent = 'nodeValue';
}
Y.EditorSelection = function(domEvent) {
var sel, par, ieNode, nodes, rng, i;
if (Y.config.win.getSelection && (!Y.UA.ie || Y.UA.ie < 9)) {
... | HTML |
px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.focus\:ring-inset:focus {
--tw-ring-inset: inset;
}
.focus\:ring-indigo-500:focus {
--tw-ring-opacity: 1;
--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opa... | CSS |
ask-list/task-service';
import {ToastrService} from 'ngx-toastr';
@Injectable({providedIn: 'root'})
export class IssueService{
// Updates issue list
triggerToUpdate = new Subject<boolean>();
public issues: IssueModel[] = [
// new IssueModel(1, 'Issue 1', 'Issue 1 Description', 66554433, 'Strategic', '', '... | Typescript |
0.01em;
}
}
@media (min-width: 1024px) {
.lg\:static {
position: static;
}
.lg\:tef {
position: relative;
}
.lg\:tel {
position: -webkit-sticky;
position: sticky;
}
.lg\:left-auto {
left: auto;
}
.lg\:top-auto {
top: auto;
... | CSS |
64::<86400>")]
pub intermediate_key_rotation_seconds: u64,
#[serde(default = "make_default_u64::<31536000>")]
pub customer_key_rotation_seconds: u64,
#[serde(default = "make_default_u64::<1>")]
pub customer_key_rotation_throttle_qps: u64,
#[serde(default = "make_default_u64::<86400>")]
pub d... | Rust |
.add(jLabel48);
jLabel48.setBounds(253, 360, 120, 23);
Genetalia.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Normal", "Abnormal", "Tidak Diperiksa" }));
Genetalia.setName("Genetalia"); // NOI18N
Genetalia.addKeyListener(new java.awt.event.KeyAdapter() {
pub... | Java |
DCD OP_LOAD_P_ALT + 1
DCD OP_LOAD_P_S_PRI + 1
DCD OP_LOAD_P_S_ALT + 1
DCD OP_LREF_P_S_PRI + 1
DCD OP_LREF_P_S_ALT + 1
DCD OP_LODB_P_I + 1
DCD OP_CONST_P_PRI + 1
DCD OP_CONST_P_ALT + 1
DCD OP_ADDR_P_PRI + 1
DCD OP_ADDR_P_ALT + 1
DCD ... | Assembly |
compute_effective_range(range, s->options.card_index, range_card_id, card1_loc, s->map_and_rules);
auto result_card_refs = ps->get_all_cards_within_range(range, card1_loc, card1->get_team_id());
for (uint16_t result_card_ref : result_card_refs) {
auto result_card = s->card_for_se... | C++ |
return this.parseExpressionStatement();
}
case 1892331232:
{
return this.isExpressionStart();
}
case 1880302217:
{
return this.parseChoiceOption(((global::Loreline.Runtime.TokenType) (dynargs[0]) ));
}
case 799206811:
{
r... | C# |
eg))
block.Advance(stop + len(end))
return &mathInlineNode{tex: tex, flavor: flavor}
}
// Found closing delimiter on same line
start := seg.Start + len(begin)
stop += len(begin) // adjust offset
texSeg := text.NewSegment(start, seg.Start+stop)
tex := string(block.Value(texSeg))
// Advance past the math reg... | Go |
vert_in I00, I00.H0;
--:-:-:-:1 $convert_in I13, I11.H1;
--:-:-:-:1 $convert_in I12, I11.H0;
--:-:-:-:1 $convert_in I11, I10.H1;
--:-:2:-:1 $convert_in I10, I10.H0;
04:-:-:-:1 $convert_in I23, I21.H1;
--:-:-:-:1 $convert_in I22, I21.H0;
--:-:-:-:1 $convert_in I21, I20.H1;
--:-:-:-:1... | CSS |
in module lzma)":[[288,"lzma.open",false]],"open() (in module os)":[[311,"os.open",false]],"open() (in module shelve)":[[349,"shelve.open",false]],"open() (in module tarfile)":[[378,"tarfile.open",false]],"open() (in module tokenize)":[[397,"tokenize.open",false]],"open() (in module wave)":[[420,"wave.open",false]],"op... | JavaScript |
, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74,
0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73,
0x2f, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x33, 0x3b, 0x61, 0x67,
0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x76, 0x33, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x7... | Go |
FFFFFFE0
/* 03924 80B375D4 0C0346BD */ jal func_800D1AF4
/* 03928 80B375D8 AFA30030 */ sw $v1, 0x0030($sp)
/* 0392C 80B375DC C7A40018 */ lwc1 $f4, 0x0018($sp)
/* 03930 80B375E0 8FA30030 */ lw $v1, 0x0030($sp)
/* 03934 80B375E4 8FA60048 */ lw $a2... | Assembly |
r5, lbl_80495A38@l
/* 803B7500 003B4440 4C C6 31 82 */ crclr 6
/* 803B7504 003B4444 4B C7 31 3D */ bl panic_f__12JUTExceptionFPCciPCce
.L_803B7508:
/* 803B7508 003B4448 2C 1E 00 05 */ cmpwi r30, 5
/* 803B750C 003B444C 41 82 00 08 */ beq .L_803B7514
/* 803B7510 003B4450 48 00 00 98 */ b .L_803B75A8
.L_803B7514:
/* ... | Assembly |
.load(
'player/knight_idle_left.png',
SpriteAnimationData.sequenced(
amount: 6,
stepTime: 0.1,
textureSize: Vector2(16, 16),
),
),
idleRight: idleRight(),
runLeft: SpriteAnimation.load(
'player/knight_run_left.png',
... | Dart |
an></i><b id="mwCxY"><span style="color:blue" id="mwCxc">Wizard</span></b></a><a rel="mw:WikiLink" href="./User_talk:ImmortalWizard" title="User talk:ImmortalWizard" id="mwCxg"><span style="color:green;" id="mwCxk">(chat)</span></a> 16:50, 12 July 2019 (UTC)<dl><dd>Reply to c-ImmortalWizard-2019-07-12T16:50:00.000Z-Red... | HTML |
_ptr");
MachineModuleInfoImpl::StubValueTy &StubSym =
MMIMacho.getGVStubEntry(NLPSym);
StubSym =
MachineModuleInfoImpl::StubValueTy(getSymbol(Personality), true);
}
}
}
// Output stubs for dynamically-linked functions.
MachineModuleInfoMachO::Sy... | C++ |
).end('NOT FOUND');
}
});
const bufferSize = 100;
const messageBuffer = new Array(bufferSize);
let messageIndex = 0;
if (config.apiPort) {
const runnable = app.listen(config.apiPort, (err) => {
if (err) {
console.error(err);
}
console.info('----\n==> 🌎 API is running on port %s', config.apiPo... | JavaScript |
val_ptr_2_val = r_val_ptr_2.read::<u8>();
let r_val_ptr_3_val = r_val_ptr_3.read::<u8>();
assert(r_val_ptr_1_val == 123u8);
assert(r_val_ptr_2_val == 123u8);
assert(r_val_ptr_3_val == 123u8);
let r_val_ptr_1 = asm(r: &mut 123u8) { r: raw_ptr };
let r_val_ptr_2 = asm(r: &mut (100u8 + 23u8))... | Markdown |
}
} else {
potential = null
potentialOccurrences = 0
DetectedState.None
}
}
}
class BarcodeCandidate(
val bytes: ByteArray?,
val utfContents: String?,
val boundingBox: Rect?,
val format: BarcodeFormat
)
sealed class DetectedBarcode {... | Kotlin |
duration = 100
}
val scaleXBack = ObjectAnimator.ofFloat(botaoContador, View.SCALE_X, 1.0f)
val scaleYBack = ObjectAnimator.ofFloat(botaoContador, View.SCALE_Y, 1.0f)
val scaleUp = AnimatorSet().apply {
play(scaleXBack).with(scaleYBack... | Kotlin |
"Etiópia",
capital: "Adis Abeba",
continent: CONTINENTS.AFRICA,
},
{
id: 16,
name: "Gabão",
capital: "Libreville",
continent: CONTINENTS.AFRICA,
},
{
id: 17,
name: "Gâmbia",
capital: "Banjul",
continent: CONTINENTS.AFRICA,
},
{
id: 18,
name: "Gana",
capit... | Typescript |
_corners() {
common::check_text_corners(&FONT_6X8);
}
#[test]
fn correct_inverse_colored_m() -> Result<(), core::convert::Infallible> {
let font = &FONT_6X8;
let mut display = MockDisplay::new();
let style = MonoTextStyleBuilder::new()
.font(font)
.text_color(BinaryColor::Off)
.... | Rust |
1.2,14.8 L18.8,14.8 L18.8,1.95 Z M1,0 L19,0 C19.5522847,0 20,0.44771525 20,1 L20,15 C20,15.5522847 19.5522847,16 19,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,1 C0,0.44771525 0.44771525,0 1,0 Z\" id=\"\u56FE\u6807\u989C\u8272\"></path> </g> </g></svg>", field: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><svg... | JavaScript |
-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1... | HTML |
<input class="input-text-pw required" id="dwfrm_profile_login_passwordconfirm" type="password" name="dwfrm_profile_login_passwordconfirm" value="" maxlength="20"/>
</div>
<div class="form-row">
<br/>
... | HTML |
addiu $t7, $sp, 0x34
/* 096410 8010D9A0 46049180 */ add.s $f6, $f18, $f4
/* 096414 8010D9A4 27A40050 */ addiu $a0, $sp, 0x50
/* 096418 8010D9A8 27A50044 */ addiu $a1, $sp, 0x44
/* 09641C 8010D9AC 27A60038 */ addiu $a2, $sp, 0x38
/* 096420 8010D9B0 E7A60050 */ swc1 $f6, 0x50($sp)
/* 096424 8010D9B4 C608000C */ lw... | Assembly |
BLOCK_SIZE, 2, Asynchronous>>(RAJA::TypedRangeSegment<int>(0, N),
[=] RAJA_DEVICE (int i) {
d_c[i] = d_a[i] + d_b[i];
});
// _rajacuda_explicit_vector_add_end
CAMP_CUDA_API_INVOKE_AND_CHECK(cudaMemcpy, c, d_c, N * sizeof(int), cudaMemcpyDeviceToHost);
checkResult(c, c_ref, N);
//printResult(c, ... | C++ |
/*
Copyright @ 2001 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License. You may
obtain a copy of the License at
https://imagemagick.org/script/license.php
Unless requir... | C |
|
| Python编程 | 如何在Python中读取和写入Excel文件? ... | Markdown |
U"], 0xDA: ["#FPU"], 0xDB: ["#FPU"],
0xDC: ["#FPU"], 0xDD: ["#FPU"], 0xDE: ["#FPU"], 0xDF: ["#FPU"],
// 0x0E
0xE0: ["LOOPNE", [J|b]], 0xE1: ["LOOPE",[J|b]], 0xE2: ["LOOP",[J|b]], 0xE3: ["JCXZ",[J|b]],
... | JavaScript |
l();
if(b6.getLabel().equals("")){
b6.setLabel(label);
b9.setLabel("");
}
if(b8.getLabel().equals("")){
b8.setLabel(label);
b9.setLabel("");
}
}
//congrats code
if(b1.getLabel().equals("1")&&b2.getLa... | Java |
0.5 4S9 4.67 9 5.5V7H4V9.12C5.76 9.8 7 11.5 7 13.5S5.75 17.2 4 17.88V20H6.12C6.8 18.25 8.5 17 10.5 17C11.47 17 12.37 17.3 13.12 17.81C13.04 18.19 13 18.59 13 19C13 20.1 13.3 21.12 13.81 22H13.2M15 18V20H23V18H15Z",hex:"F4D6",version:"5.3.45"},{name:"puzzle-outline",data:"M22,13.5C22,15.26 20.7,16.72 19,16.96V20A2,2 0 0... | HTML |
ODIFIER_EVENT_ON_ATTACK_LANDED,
MODIFIER_EVENT_ON_DEATH
}
end
function modifier_imba_undying_tombstone_aura:OnDeath(keys)
if not IsServer() then return end
local unit = keys.unit
local attacker = keys.attacker
-- Only apply if the Tombstone was the unit that died
if IsUndyingTombstone(unit) then
-... | Lua |
できません",
goodSave: '${filePath}が正常に書き込まれました。',
noDetections: "選択範囲に検出が見つかりません",
noDetectionsDetailed: '${nocmig} ${species}の検出が${archive}で見つかりませんでした。${list}リストを使用して検索しました。',
noDetectionsDetailed2: '${file}に検出が見つかりませんでした。${list}リストを使用して、最小信頼度${confidence}%のレコードを検索しました。',
dbNotLoade... | HTML |
//计算风速影响(风速越大,旋转越快,最低0.8倍,最高2.5倍)
float windFactor = MathHelper.Clamp(0.8f + Main.windSpeedCurrent * 1.7f, 0.8f, 2.5f);
//旋转速度随风速变化
rotSpeed = baseRotSpeed * windFactor;
rotition += rotSpeed;
//充能速度提升,开启风力物理时额外增加充能效率
float ueGain = rotSpeed * ... | C# |
E(map->dpll, dpll);
/* FIXME_MDFLD PO - change 500 to 1 after PO */
udelay(500);
}
/* When ungating power of DPLL, needs to wait 0.5us before
* enable the VCO */
if (dpll & MDFLD_PWR_GATE_EN) {
dpll &= ~MDFLD_PWR_GATE_EN;
REG_WRITE(map->dpll, dpll);
/* FIXME_MDFLD PO - change 500 to 1 after PO ... | C |
ight-EdKxtI table tr{background-color:#fff;border-top:1px solid hsl(210,18%,87%)}.markdown-1Qkh2G.light-EdKxtI table img{background-color:transparent}.markdown-1Qkh2G.light-EdKxtI img[align=right]{padding-left:20px}.markdown-1Qkh2G.light-EdKxtI img[align=left]{padding-right:20px}.markdown-1Qkh2G.light-EdKxtI .emoji-w-e... | HTML |
#[test]
fn build_acceptance_mechanisms_request_with_context() {
let ledger_service = LedgerService::new();
let expected_result = json!({
"type": TXN_AUTHR_AGRMT_AML,
"aml": _aml(),
"version": VERSION,
"amlContext": CONTEX... | Rust |
><a id="1134" href="Cubical.HITs.S1.Properties.html#1134" class="Bound">ℓ</a><a id="1135" class="Symbol">}</a> <a id="1137" class="Symbol">{</a><a id="1138" href="Cubical.HITs.S1.Properties.html#1138" class="Bound">A</a> <a id="1140" class="Symbol">:</a> <a id="1142" href="Agda.Primitive.html#320" class="Primitive">Typ... | HTML |
$/,l.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=l})(hh||(hh={}));(e=>{(t=>{const n=class{constructor(o,a){this.ordinal=o,this.formatBits=a}};let r=n;r.LOW=new n(0,1),r.MEDIUM=new n(1,0),r.QUARTILE=new n(2,3),r.HIGH=new n(3,2),t.Ecc=r})(e.QrCode||(e.QrCode={}))})(hh||(hh={}));(e=>{(... | JavaScript |
x00" as *const u8 as *const i8)
}
unsafe extern "C" fn do_cidrange(
mut cmap: *mut CMap,
mut input: *mut ifreader,
mut count: i32,
) -> i32 {
let mut tok: *mut pst_obj = 0 as *mut pst_obj;
let mut codeLo: [u8; 127] = [0; 127];
let mut codeHi: [u8; 127] = [0; 127];
let mut dim: i32 = 0;
l... | Rust |
ValidT_Entry = "%{routine}: La table 'validT' pour %{name} ne contient pas d'entrée pour : \"%{value}\". \nVérifier la syntaxe et la casse du nom.\n",
e_Prereq = "Impossible de charger le module \"%{name}\" sans le chargement du/des module(s) suivant(s) :\n %{module_list}\n",
e_Prereq_Any ... | Lua |
from tkinter import Frame, Canvas, Scrollbar
from tkinter import VERTICAL, FLAT, NS, NW, EW
def scroll_cont(frame, canvas_size="8c"):
"""Return Scrollable Container"""
# Frame for holding Canvas
frame_canvas = Frame(frame, bd=5, relief=FLAT)
frame_canvas.rowconfigure(0, weight=1)
frame_canvas.colu... | Python |
/// let message = client
/// .create_message(channel_id)
/// .content("Twilight is best pony")?
/// .tts(true)
/// .exec()
/// .await?;
/// # Ok(()) }
/// ```
///
/// # Errors
///
/// The method [`content`] returns an error of type
/// [`MessageValidat... | Rust |
// @ts-ignore
ast.arguments && ast.arguments.forEach(node => offsets = offsets.concat(findAstOffsetByType(node, types)))
break;
// a.b
case 'MemberExpression':
// @ts-ignore
if (ast.object) {
// @ts-ig... | Typescript |
pub struct PbsJobRunner {
job_no: Option<u32>,
exec_node: Option<String>,
}
impl PbsJobRunner {
pub fn create() -> Result<PbsJobRunner, String> {
Ok(
PbsJobRunner{
job_no: None,
exec_node: None,
}
)
}
fn write_starter_file(&s... | Rust |
as f32,
},
seed: passed_frames as f32 / FRAMERATE as f32,
};
common.frame_data_buffer.upload(devcon, common.frame_data);
let mut player_generator_map = PlayerGeneratorMap::new(generator_map);
for active_clip in player_clip_map.active_clips() {
player_generator_map.take(
... | Rust |
<p>Rendu colorimétrique « lisse » <span style="white-space: nowrap">(profil LUT XYZ 2500 OFPS</span>, A2B inversé)</p>
</div>
<div style="display: inline-block; margin: 0 12px; vertical-align: top; width: 200px">
<p><a data-lightbox="lightbox-set-smooth_b2a" href="https://displaycal.net/img/Gr... | HTML |
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not... | C |
ght, fillShape.tension, true);
for (let i = count; i >= 0; i--) {
let pos = startPosition + i / count * (endPosition - startPosition);
let point = this.positionToPoint(pos);
let angle = point.angle;
let x = point.x + innerRadius * $math.cos(angle);
let y = point.y + innerRadius * ... | Typescript |
乌克兰国防部长列兹尼科夫在香格里拉对话会的一个小组会议上表示:“我将尽力维持礼貌。这(普拉博沃提出的方案)听起来像是一个俄罗斯的计划,而不是印尼的计划。”他还表示,在俄罗斯“被赶出乌克兰”之前,“我们不需要这些调解人带着这样奇怪的计划来找我们”。**

https://www.thepaper.cn/newsDetail_forward_23352775
## 8. 腾讯占中国游戏市场一半
**据第一财经报道,2023 年一季度,中国游戏市场出现了明显的二八分化现象,前十大游戏企业的... | Markdown |
index
// in str[]
}
// Traverse the input string
for (int i = 0; i < n; i++)
{
// Find current character and increment its
// count
char x = str[i];
++count[x];
// If this is first occurrence, then set value
// in index as index o... | Markdown |
>
<h3>
<em>
各省、市、自治区党委,中央国家机关各党组:
</em>
</h3>
<p>
兹将5月间召开的全国地方冶金工业促进会议的简报发给你们,请参阅。
</p>
<p>
这个会议开得很好,证明只要正确贯彻执行党的社会主义建设总路线,实行工农业并举、中央工业和地方工业并举、大中小型企业并举,把各方面的积极性都调动起来,我国工业就会飞快发展,就会大跃进。
</p>
<p>
关于冶金设备制作和供应问题,请第一机械工业部协同各地,选择各重型机械工厂及可能制作这种设备的一般机械厂,尽先制造,保证供应。
</p>
<p>
中央1958年6月12日
... | HTML |
print(stdOutput("error")+"Java 8 is required, Java version found "+version_no);exit()
print(stdOutput("info")+"\033[0mGenerating APK")
outFileName = output if output else "karma.apk"
que = queue.Queue()
t = threading.Thread(target=executeCMD,args=["java -jar Jar_utils/apktool.jar b Compiled_apk -o "+ou... | Python |
'classDefinition': [
{ type: 'required', message: 'Es wurde kein Freiwilligenpasseintrag gewählt' },
],
'property': [
{ type: 'required', message: 'Kein Property ausgewählt' },
// { type: 'pattern', message: 'Enter a valid email' }
],
'comparison... | Typescript |
{*} data
* @param {string} propertyName
* @param {TFnWatcher} [watcher]
* @param {TFnRender} [render]
* @returns {void}
*/
export function watchDataByKey(target: IComponent, propertyName: string, watcher?: TFnWatcher, render?: TFnRender): void {
if (!target || typeof target !== 'object') return;
let data = ta... | Typescript |
, got: %v", excepted, got)
}
excepted = "初伏第1天"
got = fu.ToFullString()
if excepted != got {
t.Errorf("excepted: %v, got: %v", excepted, got)
}
}
func TestFu2(t *testing.T) {
solar := calendar.NewSolarFromYmd(2011, 7, 23)
lunar := solar.GetLunar()
fu := lunar.GetFu()
excepted := "初伏"
got := fu.ToString()
... | Go |
.Input.Next()
n := batch.Length()
if n == 0 {
return coldata.ZeroBatch
}
projVec := batch.ColVec(p.outputIdx)
p.allocator.PerformOperation([]coldata.Vec{projVec}, func() {
if projVec.MaybeHasNulls() {
// We need to make sure that there are no left over null values in the
// output vector.
projVec.Null... | Go |
=> !foundCategoryTitles.includes(title))
.filter((value, index, self) => self.indexOf(value) === index)
.map(title => ({ title }))
const newCategories = this.categoriesRepository.create(newCategoriesTitles)
await this.categoriesRepository.save(newCategories)
return [...categories, ...newCateg... | Typescript |
final Doc doc;
private ChannelId(Doc doc) {
this.doc = doc;
}
@Override
public Doc doc() {
return this.doc;
}
}
/**
* Gets the Channel for {@link ChannelId#RELAY_1}.
*
* @return the Channel
*/
public default BooleanWriteChannel getRelay1Channel() {
return this.channel(ChannelId.RELAY_1)... | Java |
div-fibonacci-pisano-period :
(k : ℕ) → div-ℕ (succ-ℕ k) (Fibonacci-ℕ (pisano-period k))
div-fibonacci-pisano-period k =
div-is-zero-mod-succ-ℕ k
( Fibonacci-ℕ (pisano-period k))
( ( ap pr1 (inv (compute-fibonacci-pair-Fin k (pisano-period k)))) ∙
( inv
( ap pr1
{ x = fibonacci-pair-... | Markdown |
BIN = "/opt/tabby/bin/tabby"
```
Currently supported GPUs in Modal:
- `T4`: Low-cost GPU option, providing 16GiB of GPU memory.
- `L4`: Mid-tier GPU option, providing 24GiB of GPU memory.
- `A100`: The most powerful GPU available in the cloud. Available in 40GiB and 80GiB GPU memory configurations.
- `H100`: The flag... | Markdown |
;
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
key: const Key('tilt_scaffold'),
body: Tilt(
key: const Key('tilt_widget'),
childLayout: childLayout,
tiltStreamController: tiltStreamController,
disable: disable,
... | Dart |
ouch! The following network types are defined by Server.
const val NET_TYPE_WIFI = 1
const val NET_TYPE_2G = 2
const val NET_TYPE_3G = 3
const val NET_TYPE_MOBILE = 4
const val NET_TYPE_4G = 5
private var sCM: ConnectivityManager? = null
private fun getConnectivityManager(cxt: Context): Co... | Kotlin |
PIO_NOPULL;
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
// USB Clock enable
__HAL_RCC_USB_CLK_ENABLE();
}
#ifdef USB_CONNECT_PIN
void dcd_disconnect(uint8_t rhport) {
(void)rhport;
HAL_GPIO_WritePin(USB_CONNECT_PORT, USB_CONNECT_PIN, 1-USB_CONNECT_STATE);
}
void ... | C |
er.nextPage(
duration: const Duration(milliseconds: 400),
curve: Curves.easeInOut,
);
} else {
_onIntroEnd(context);
}
}
Widget _buildLuxuryFeature(String emoji, String text, Color color) {
return Container(
margin: const EdgeInsets.symmetric(vertical: 8),
paddin... | Dart |
-- See LICENSE for terms
function OnMsg.ClassesPostprocess()
if GameRulesMap.ChoGGi_RandomBreakthroughs then
return
end
PlaceObj("GameRules", {
challenge_mod = 10,
description = T(302535920011749, "This will randomise breakthroughs."),
display_name = T(302535920011750, "Randomise Breakthroughs"),
group =... | Lua |
protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use MutationBulkCreateAuthorsResponse.ProtoReflect.Descriptor instead.
func (*MutationBulkCreateAuthorsResponse) Descriptor() ([]byte, []int) {
return file_product_proto_rawD... | Go |
import gym
import random
import numpy as np
import time
from collections import deque
import pickle
from collections import defaultdict
EPISODES = 20000
LEARNING_RATE = .1
DISCOUNT_FACTOR = .99
EPSILON = 1
EPSILON_DECAY = .999
def default_Q_value():
return 0
if __name__ == "__main__":
random.seed(1)
... | Python |
or not found_pred_col:
raise ValueError("Could not find the required columns in the DataFrame.")
evaluator = EvaluationMetrics(
np.asarray(predictions_df[found_true_col].values, dtype=int),
np.asarray(predictions_df[found_pred_col].values, dtype=int)
)
confusion = evaluator.get... | Python |
]
testSingleExpressionByList(log_list);
// Test Exp Function
let exp_list : any = [
{"Expression":"exp[ value: 1 ]", "Value":"2.718281828459045"}]
testSingleExpressionByList(exp_list);
// Test Trig Functions
let trig_list : any = [
{"Expression":"sin[ radians: 1 ]", "Value":"0.8414709848078965"},
{"Expression":... | Typescript |
: rulox [script]");
exit(64);
}
len if len == 2 => {
clirulox.run_file(&args[1]);
}
_ => {
clirulox.run_prompt();
}
}
}
fn main() {
let _ = r#"
this is a very long string exceeded maximum width in this case maximum 100. (current this li... | Rust |
g";
const Banking_ic_Ques = "images/banking/Banking_ic_Ques.png";
const Banking_ic_ShoppingCart = "images/banking/Banking_ic_ShoppingCart.png";
const Banking_ic_Ticket = "images/banking/Bankinh_ic_Ticket.png";
const Banking_ic_PlayStore = "images/banking/Banking_ic_PlayStore.png";
const Banking_ic_Electricity = "images... | Dart |
erialize)]
#[allow(missing_docs)]
pub struct ThrottlingData {
pub periods: u64,
pub throttled_periods: u64,
pub throttled_time: u64,
}
/// General CPU statistics for the container.
#[derive(Debug, Clone, Serialize, Deserialize)]
#[allow(missing_docs)]
pub struct CPUStats {
pub cpu_usage: CPUUsage,
... | Rust |
),
);
},
),
),
SizedBox(
height: 200,
child: GridView.builder(
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 2,
childAspectRatio: 40 / 9,
crossAxisS... | Dart |
eqetf1j/gw0n23ZogwIDAQABoCEwHwYJKoZIhvcNAQkO
MRIwEDAOBgNVHREEBzAFggNSU0EwDQYJKoZIhvcNAQELBQADggEBALnO5vcDkgGO
GQoSINa2NmNFxAtYQGYHok5KXYX+S+etmOmDrmrhsl/pSjN3GPCPlThFlbLStB70
oJw67nEjGf0hPEBVlm+qFUsYQ1KGRZFAWDSMQ//pU225XFDCmlzHfV7gZjSkP9GN
Gc5VECOzx6hAFR+IEL/l/1GG5HHkPPrr/8OvuIfm2V5ofYmhsXMVVYH52qPofMAV
B8UdNnZK3nyLdUq... | Go |
MetaType(metaobject, name_ba,
alignof(void *), sizeof(void *), QMetaType::RelocatableType | QMetaType::PointerToQObject,
[](const QtPrivate::QMetaTypeInterface *, void *dst)
{ *static_cast<void**>(dst) = nullptr; },
[](const QtPrivate::QMetaTypeInterface *... | Rust |
7879 Runecloth Bandage
lib:AddRecipe(164, nil, 52568, 39087, nil, nil) -- 17883 Cobalt Belt
lib:AddRecipe(164, nil, 52569, 39088, nil, nil) -- 17884 Cobalt Boots
lib:AddRecipe(164, nil, 52570, 39085, nil, nil) -- 17885 Cobalt Chestpiece
lib:AddRecipe(164, nil, 52567, 39086, nil, nil) -- 17886 Cobalt Legplates
lib:AddRe... | Lua |
800%2C800italic%2C900%2C900italic%7CRoboto+Slab%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CRacing+Sans+One%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C... | HTML |
endpointInstanceId in monitoredEndpoint.EndpointInstanceIds)
{
if (activityTracker.IsExpired(new EndpointInstanceId(monitoredEndpoint.Name,
endpointInstanceId)))
{
metricsA... | C# |
ter', va'center', fontsize14, color'666666')
Add legend
legend_elements [
mpatches.Patch(color'4ECDC4', label'Fractal-Quantum Synthesis'),
mpatches.Patch(color'45B7D1', label'Consciousness Mathematics'),
mpatches.Patch(color'96CEB4', label'Topological-Cryst... | Python |
d AddItemToCart(CartItem item)
{
Guard.Against.Null(item);
var existingBook = _cartItems.SingleOrDefault(c => c.BookId == item.BookId);
if (existingBook != null)
{
existingBook.AdjustQuantity(existingBook.Quantity + item.Quantity);
existingBook.AdjustUnitPrice(item.UnitPrice);
exis... | C# |
Array3() {
val arr2 = Json.parse("[\"1\",2,[3,4],{\"x,y\": 5, \"a,\\b\": 7}, {\"\": {}}, \"{}[]\"]")
assertEquals(Json.TokenType.Array, arr2.token.type, "arr2.token.type")
assertEquals(0, arr2.token.offset, "arr2.token.offset")
assertEquals(53, arr2.token.length, "arr2.token.length")
... | Kotlin |
/20`)
2. **现代化UI**:
- 圆形按钮设计
- 柔和的阴影效果
- 优雅的hover状态
3. **符合项目色彩系统**: 使用项目的UIKit颜色配置
## 动画效果
1. **自然的弹性动画**: 使用项目的Spring动画预设
2. **分阶段动画**: emoji按钮依次出现,有层次感
3. **交互反馈**: hover和点击都有相应的缩放反馈
4. **流畅的状态切换**: 主按钮图标旋转和波纹效果
## 使用方法
```tsx
<ReactionButton
onReaction={(reactionId, emoji) => {
console.log('用户选... | Markdown |
td>
<td class="tg-4kyp"><span style="font-weight:400;font-style:normal;text-decoration:none;color:#0E101A;background-color:transparent">432,010,000</span></td>
<td class="tg-bhdc"><span style="font-weight:700;font-style:normal;text-decoration:none;color:#0E101A;background-color:transparent">$64.65</span></td>
... | HTML |
------------------------------------------]
Legend: code, data, rodata, value
Breakpoint 5, __libc_res_nquerydomain (
statp=statp@entry=0xb7fd6340 <_res@GLIBC_2.0>,
name=name@entry=0x8048653 "foo.bar.google.com", domain=0x0, class=0x1,
type=0xf371, answer=0xbfffe200 "", anslen=0x800, answerp=0xbfff... | HTML |
to_edge";
break;
case 3:
O << "wrap";
break;
case 4:
O << "mirror";
break;
}
O << ", ";
}
O << "filter_mode = ";
switch ((sample & __CLK_FILTER_MASK) >> __CLK_FILTER_BASE) {
case 0:
O << "nearest";
... | C++ |
class="p_pop mgcmn" style="display: none;">
<li><a href="https://www.mcbbs.net/home.php?mod=magic&mid=bump&idtype=tid&id=798571" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="https://static.mcbbs.net/static/image/magic/bump.small.gif">提升卡</a></li>
<li><a href="https://www.mcbbs.net/home.ph... | HTML |
-disabled{opacity:.4;filter:alpha(opacity=40);pointer-events:none;cursor:default}body:lang(ko).otk,html:lang(ko).otk,body:lang(ko) .otk,html:lang(ko) .otk,body:lang(ko) .otkc,html:lang(ko) .otkc,body:lang(ko) .otka,html:lang(ko) .otka,body:lang(ko) .otktitle-page,html:lang(ko) .otktitle-page,body:lang(ko) .otktitle-her... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.