content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
final sepia = image.sepia(decoded);
final encoded = Uint8List.fromList(image.encodeJpg(sepia));
return encoded;
}
void _undo() {
setState(() {
_image = _originalImage;
});
}
void _clear() {
setState(() {
_image = null;
});
}
@override
Widget build(BuildContext contex... | Dart |
Dialect.GOQU(), goqu.Ex{
"id": id,
}))
}
// TruncateDalSchemaAlterations Deletes all rows from the dalSchemaAlteration collection
func (s *Store) TruncateDalSchemaAlterations(ctx context.Context) error {
return s.Exec(ctx, dalSchemaAlterationTruncateQuery(s.Dialect.GOQU()))
}
// SearchDalSchemaAlterations returns... | Go |
piertallamas",
[71505] = "Bufas de despiertallamas",
[71507] = "Guantes de halcón de fuego",
[71508] = "Caperuza de halcón de fuego",
[71509] = "Leotardos de halcón de fuego",
[71510] = "Togas de halcón de fuego",
[71511] = "Manto de halcón de fuego",
[71512] = "Placa de batalla de inmolación",
[71513] = "Guanteletes d... | Lua |
f (child.isDirectory) {
claimedSpace += deleteRecursively(child)
child.delete()
} else {
val size = child.length() / 1024
if (child.delete())
claimedSpace += size
}
}
return claimedSpace
}
... | Kotlin |
de2Dir(pos, Direction2Dim.Positive, -1, piece, r)
this.slide2Dir(pos, Direction2Dim.Negative, +1, piece, r)
this.slide2Dir(pos, Direction2Dim.Negative, -1, piece, r)
break;
case PieceKind.Knight:
pushIfInBounds({ x: -1, y: +2 }, r)
pushIfInBounds({ x: +1, y: +2 }, r)
pushIfInBounds({ x: -1, ... | Typescript |
raise ValueError(
f"Cluster {name} is up, but received argument mismatches for compute: {compute_mismatches.keys()}. "
"Please construct a new cluster object or ensure that the arguments match."
)
if new_autostop_mins:
logger.info(... | Python |
.
@ r12 can be modified without restoring at the end
@ Don't touch r13-r15.
@ Other registers can be modified if restored at the end
@ Use the following lines before ANY function:
.align 2 @ Align the function code to a 4-byte (2^2) word boundary.
.arm @ Use ARM instructions instead of Thumb.
@ Declara... | Assembly |
0 0.019531 0.019531 -0.011719 0.003906 c -0.035156 -0.011719 -0.09375 -0.25 -0.09375 0.003906 v 2 c 0 0.550781 0.449219 1 1 1 c 1 0 1.046875 0.703125 0.886719 1.128906 l -0.972657 2.609375 c -0.117187 0.4375 -0.296874 0.800781 -0.472656 0.996094 c -0.175781 0.199219 -0.285156 0.265625 -0.558594 0.265625 h -8.882812 c ... | Go |
Image Engine Design nor the names of any
// other contributors to this software may be used to endorse or
// promote products derived from this software without specific prior
// written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
// IS" AND ANY EXPRESS... | C++ |
19.7207C3.43867 19.7207 2.97315 19.526 2.5839 19.1368C2.19463 18.7475 2 18.282 2 17.7402V4.99458C2 4.44891 2.19463 3.98006 2.5839 3.58803C2.97315 3.19601 3.43867 3 3.98045 3H21.0054C21.5511 3 22.0199 3.19601 22.412 3.58803C22.804 3.98006 23 4.44891 23 4.99458V8.75763C22.7203 8.41301 22.4147 8.10348 22.0832 7.82905C21.... | JavaScript |
#include <asm/asm_support.h>
#include <xnuspy/xnuspy_cache.h>
#include "xnuspy_ctl_tramp.h"
.align 2
.global _xnuspy_ctl_tramp
/* This exists to mark the __TEXT_EXEC segment of the xnuspy_ctl Mach-O as
executable before we branch to it. We need to preserve x0, x1, and x2
since this code is what an _enosys sy... | Assembly |
RuntimeException("Unknown view ID: $radioButtonId")
}
}
/*
* Copyright 2021 The Android Open Source Project
*
* 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
*
* https://www.ap... | Kotlin |
iKeyAuthLocation {
HEADER = "header",
QUERY = "query",
}
/**
* @internal
*/
export class HttpApiKeyAuthSigner implements HttpSigner {
public async sign(
httpRequest: HttpRequest,
identity: ApiKeyIdentity,
signingProperties: Record<string, any>
): Promise<IHttpRequest> {
if (!signingProperties... | Typescript |
link_edit: 'Edit link',
unlink: 'Odstrániť odkaz',
formatting: 'Štýl',
paragraph: 'Odstavec',
quote: 'Citácia',
code: 'Kód',
header1: 'Nadpis 1',
header2: 'Nadpis 2',
header3: 'Nadpis 3',
header4: 'Nadpis 4',
header5: 'Nadpis 5',
bold: 'Tučné',
italic: 'Kurzíva',
fontcolor: 'Farba písma',
backcolor: 'F... | JavaScript |
B: ElGamalNonce,
})
return r.SendMessage(out, &message2{Proof: proof}, j)
})
for _, err := range errs {
if err != nil {
return r, err.(error)
}
}
return &presign2{
presign1: r,
K: map[party.ID]*paillier.Ciphertext{r.SelfID(): K},
G: map[party.ID]*paillier.Cipher... | Go |
CombatZerg[];
// healers: CombatZerg[];
//
// static settings = {
// retreatHitsPercent : 0.50,
// reengageHitsPercent: 0.95,
// };
//
// static requiredRCL = 1;
//
// constructor(directive: DirectiveGuard, priority = OverlordPriority.defense.guard) {
// super(directive, 'guardPair', priority);
// this.di... | Typescript |
lock
cmpxchgl %ecx, (%edx)
ret
END(dtrace_casptr)
END(dtrace_cas32)
/*
uintptr_t dtrace_caller(int aframes)
*/
ENTRY(dtrace_caller)
movl $-1, %eax
ret
END(dtrace_caller)
/*
void dtrace_copy(uintptr_t src, uintptr_t dest, size_t size)
*/
ENTRY(dtrace_copy)
pushl %ebp
movl %esp, %ebp
pushl %esi
pushl %ed... | Assembly |
arcelStream.closeField();
}
public static Parcelable toParcelable(VersionedParcelable obj) {
return new ParcelImpl(obj);
}
}
package androidx.activity;
import android.view.View;
import kotlin.Metadata;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.Intrinsics;
import kotlin.jvm.... | Java |
--[[
urlselect - A script for interactively select URL and perform an action on it
To activate, run /urlselect. View the README at
https://github.com/tomoe-mami/weechat-scripts/tree/master/urlselect for more
information.
Author: tomoe-mami/singalaut <rumia.youkai.of.dusk@gmail.com>
License: WTFPL
Requires: Weechat 1... | Lua |
nd
end
-- forward the rnn for next character
local lst = protos.rnn:forward{prev_char, unpack(current_state)}
current_state = {}
for i=1,state_size do table.insert(current_state, lst[i]) end
prediction = lst[#lst] -- last element holds the log probabilities
word = ivocab[prev_char[1]]
... | Lua |
node<__hash_value_type<basic_string<char, char_traits<char>, allocator<char>>, kw>, void*>*>::~__hash_iterator()
@std@#__hash_iterator.p#__hash_node.#__hash_value_type.#basic_string.c#char_traits.c~#allocator.c~~2kw~pv~~@.bdtr.qv:
L_163522:
L_163523:
ret
section code
section code
section vsc@std@#__hash... | Assembly |
*pSrcB, float32_t *pDst, uint32_t blockSize): arm_mult_f32.c']]],
['arm_5fmult_5ff64_645',['arm_mult_f64',['../group__BasicMult.html#ga3f4184b71b6628705694e4a55a3fda6e',1,'arm_mult_f64(const float64_t *pSrcA, const float64_t *pSrcB, float64_t *pDst, uint32_t blockSize): arm_mult_f64.c'],['../group__BasicMu... | JavaScript |
号
'\u309D' -> sb.append('\u30FD') // ゝ -> ヽ
'\u309E' -> sb.append('\u30FE') // ゞ -> ヾ
// 上記以外(全角カタカナ、漢字、英数字など)はそのまま
else -> sb.append(ch)
}
i++
}
return sb.toString()
}
fun String.hiraganaToHankakuKatakana(): String {
val hankakuKatakanaMap = ... | Kotlin |
cn_bias_relu
.type dl_esp32p4_s8_conv2d_hwcn_bias_relu, @function
.balign 4
.option norvc
dl_esp32p4_s8_conv2d_hwcn_bias_relu:
# a0: int8_t *output_ptr
# a1: int8_t *input_ptr
# a2: void *args
# a3: int8_t *filter_ptr
# a4: c_div_x_1
# a5: n_rs3
# t3: mac_shift
# t4: bias... | Assembly |
5,0x30]
// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
v_cmp_f_i32 vcc, v1, v2 quad_perm:[3,2,1,0]
// W64: encoding: [0xfa,0x04,0x80,0x7c,0x01,0x1b,0x00,0xff]
// W32-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: operands are not valid for this GPU or mode
v_cmp_f_i32 vcc, v1, v2 quad_p... | Assembly |
if (_root == null) return null;
return _last.key;
}
/**
* Get the last key in the map that is strictly smaller than [key]. Returns
* [null] if no key was not found.
*/
K lastKeyBefore(K key) {
if (key == null) throw new ArgumentError(key);
if (_root == null) return null;
int comp = _spla... | Dart |
ENSE-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
limitations under the License.
====... | C++ |
/*
Copyright 1995-2007, The AROS Development Team. All rights reserved.
$Id$
Desc: Graphics function LockLayerRom()
Lang: english
*/
/*****************************************************************************
NAME
#include <proto/graphics.h>
AROS_LH1(void, LockLayerRom,
SYNOPSIS
AROS_L... | Assembly |
talBlocks + cycleSize - 1) / cycleSize
fmt.Printf("🎬 负责区块范围: %d - %d (%d 个区块) [多核并行]\n",
myStartSlot, myEndSlot-1, myTotalBlocks)
overallStartTime := time.Now()
// 🚀 多核并行处理:创建多个goroutine并行处理不同的cycle
// 根据CPU核心数和cycle数量决定并发goroutine数量
maxConcurrentCycles := numCPU
if maxConcurrentCycles > totalCycles {
ma... | Go |
return config
}, ({ config }) => {
logger.error(getConfigMsg(config), getLogMsg(config))
return Promise.reject(null)
})
axios.interceptors.response.use(response => {
const { config } = response
logger.info({ response: getResponseMsg(response), config: getConfigMsg(config) }, getLogMsg(config))
... | Typescript |
halt
5c582: 00 halt
5c583: 00 halt
5c584: 08 00 00 00 cvtps $0x0,$0x0,$0x0,$0x9
5c588: 09
5c589: 00 halt
5c58a: 00 halt
5c58b: 00 halt
5c58c: 0a 00 00 00 index $0x0,$0x0,$0x0,$0xb,$0x0,$0x0
5c590: 0b 00 00
5c593: 00 h... | Assembly |
* code unit in the second trie access
* if this index is >=EXTRA_INDEX_TOP+EXTRA_SURROGATE_TOP
* then this is a norm32 for a "special" character,
* i.e., the character is a Hangul syllable or a Jamo
* see EXTRA_HANGUL etc.
* ... | Java |
import shutil
import os
from uuid import uuid4
import pytest
from awx.main.utils.execution_environments import to_container_path
private_data_dir = '/tmp/pdd_iso/awx_xxx'
@pytest.mark.parametrize(
'container_path,host_path',
[
('/runner', private_data_dir),
('/runner/foo', f'{private_data_... | Python |
GUNDOWN ,
TppMotherBaseManagementConst.REMOVER_REASON_SUICIDE ,
TppMotherBaseManagementConst.REMOVER_REASON_SUICIDE ,
TppMotherBaseManagementConst.REMOVER_REASON_GUNDOWN ,
TppMotherBaseManagementConst.REMOVER_REASON_GUNDOWN ,
"sol_mbqf_0005" ,
"sol_mbqf_0006" ,
"sol_mbqf_0007" ,
"sol_mbqf_0010" ,
TppMother... | Lua |
!self.synching {
if let Async::NotReady = self.sink.close()? {
return Ok(Async::NotReady);
}
self.synching = true;
}
self.sync.poll()
}
}
use iron::prelude::*;
use hyper::status::StatusCode;
use super::request_body;
use ::proto::response::*;
use ... | Rust |
splayList(mat_slider_f3dlite_material_048_layer1),
gsSPDisplayList(slider_4_dl_mesh_tri_21),
gsSPDisplayList(mat_revert_slider_f3dlite_material_048_layer1),
gsSPDisplayList(mat_slider_f3dlite_material_049_layer1),
gsSPDisplayList(slider_4_dl_mesh_tri_22),
gsSPDisplayList(mat_revert_slider_f3dlite_material_049_laye... | C |
move"
},
arg_list = {
number = 4650,
attr = "igniteReduce"
}
}
}
},
{
effect_list = {
{
type = "BattleBuffAddAttr",
trigger = {
"onAttach",
"onRemove"
},
arg_list = {
number = 4980,
attr = "igniteReduce"
}
}
}
},
{
effect_list = {
{
... | Lua |
==this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.Nc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};l.vb=function(){var b=null===this.b?"-":this.b.vb(),c=null===this.c?"-":this.c.vb();if(null===this.f||b!=this.f[1]||c!=this.f[2]||this.d!=this.f[3])this.f=["c"+b+c+(m(this.d)?this.d.toString()... | JavaScript |
#nullable enable
namespace Smartstore.Web.Api
{
/// <summary>
/// Represents OpenAPI document names for the Web API. Applicable for <see cref="WebApiGroupAttribute(string, string)" />.
/// </summary>
/// <remarks>Names must be globally unique, URI-friendly and should be in lower case.</remarks>
pu... | C# |
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distribu... | C++ |
decoderFunc: func(i *ie.IE) (uint16, error) { return i.TransportLevelMarking() },
}, {
description: "TransportLevelMarking/QoSInformationInGTPUPathQoSReport",
structured: ie.NewQoSInformationInGTPUPathQoSReport(
ie.NewAveragePacketDelay(10*time.Second),
ie.NewTransportLevelMarking(0x1111),
),
dec... | Go |
sp_stream_set_retransmission_pt(self.to_glib_none().0, rtx_pt);
}
}
fn set_retransmission_time(&self, time: gst::ClockTime) {
unsafe {
ffi::gst_rtsp_stream_set_retransmission_time(self.to_glib_none().0, time.to_glib());
}
}
fn set_seqnum_offset(&self, seqnum: u16) {... | Rust |
32), 16x32, i_mr:0, i_ms:0, i_mw:0, i_mb:2 x i_nr:0, i_ns:1, i_nw:0
ds_write_b16 v[v_co_sst], v[v_c+7] offset:9792 ; idword:4128(16,32), 16x32, i_mr:0, i_ms:0, i_mw:0, i_mb:2 x i_nr:0, i_ns:1, i_nw:0
v_accvgpr_read_b32 v[v_c+8], a[a_c+104]
v_accvgpr_read_b32 v[v_c+9], a[a_c+105]
v_accvgpr_read_b32 v... | Assembly |
package cached
p.change_file(
"Cargo.toml",
format!(
r#"
[project]
name = "foo"
version = "0.1.0"
[dependencies]
present_dep = "={}"
"#,
vers
)
... | Rust |
}
public get letterDelay() {
return this._letterDelay;
}
public get duration() {
return this._duration;
}
}
import { Locales, Units } from "@dtn/i18n-lib";
import { Observable, throwError } from "rxjs";
import { ajax } from "rxjs/ajax";
import { map, retry, catchError } from "rxjs/operators";
expor... | Typescript |
onatomic, assign) " .. text
elseif string.find(pt, "^bool.*") then
r = "@property (nonatomic, assign) " .. text
elseif string.find(pt, ".*float.*") then
r = "@property (nonatomic, assign) " .. text
elseif string.find(pt, ".*double.*") then
r = "@property (nonatomic, assign) " .. text... | Lua |
_syscall:
bic scno, r0, #__NR_OABI_SYSCALL_BASE
cmp scno, #__NR_syscall - __NR_SYSCALL_BASE
cmpne scno, #NR_syscalls @ check range
#ifdef CONFIG_CPU_SPECTRE
movhs scno, #0
csdb
#endif
stmialo sp, {r5, r6} @ shuffle args
movlo r0, r1
movlo r1, r2
movlo r2, r3
movlo r3, r4
ldrlo pc, [tbl, scno, lsl... | Assembly |
ber): Promise<number>;
retryEmpty(failTimes: number): Promise<number>;
}
export class RetryThis implements IRetryThis {
private debugLogger: IDebugLogger;
private attempt: number = 0;
constructor(debugCreator: IDebugCreator) {
this.debugLogger = debugCreator.extend(this.constructor.name);
... | Typescript |
ng
private var trendHandler: Handler? = null
private lateinit var trendRun: Runnable
var trendingViewPager: ViewPager2? = null
private var uiSettings: UserInterfaceSettings = loadData("ui_settings") ?: UserInterfaceSettings()
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MangaP... | Kotlin |
?} {:?} {:?}",
str_arg, int_arg, tuple_arg, option_arg
);
}
#[test]
fn test_conversion_error() {
let gil = Python::acquire_gil();
let py = gil.python();
let conversion_error = wrap_pyfunction!(conversion_error)(py).unwrap();
py_expect_exception!(
py,
conversion_error,
... | Rust |
ID: number;
};
import { Dispatch } from 'redux';
import { emit, FullState } from '../../';
import { PURCHASE_PHASE_ID, TYPE_MAIN, WAITING_STATUS } from '../../../../../constants';
import { SERVER_SHOP_REFUND_REQUEST, ShopItemType, ShopRefundRequestAction } from '../../../../../types';
import { setUserfeedbackAction } f... | Typescript |
('Expected coords to contain numbers.');
this.coords = coords;
// arrays that will store the triangulation graph
const maxTriangles = Math.max(2 * n - 5, 0);
this._triangles = new Uint32Array(maxTriangles * 3);
this._halfedges = new Int32Array(maxTriangles * 3);
// temporary arrays for tracki... | Typescript |
Runtime'] || true;
var ptrToString = (ptr) => {
assert(typeof ptr === 'number');
// With CAN_ADDRESS_2GB or MEMORY64, pointers are already unsigned.
ptr >>>= 0;
return '0x' + ptr.toString(16).padStart(8, '0');
};
/**
* @param {number} ptr
* @param {number} value
* @... | JavaScript |
MOVEA.L D0,A0
CLR.W 64(A0)
MOVE.W 8(A6),D0
MULS #$84,D0
ADD.L #L0B71,D0
MOVEA.L D0,A0
MOVE.W #$80,36(A0)
MOVE.W 8(A6),D0
MULS #$84,D0
ADD.L #L0B71,D0
MOVEA.L D0,A0
MOVE.W #$C0,38(A0)
MOVE.W 8(A6),D0
... | Assembly |
null) {
_messages[key] = value;
}
}
if (_currentKey == key || _currentKey.peerId.isEmpty) {
_currentKey = key; // hash != assign
}
}
void mobileUpdateUnreadSum() {
if (!isMobile) return;
var sum = 0;
parent.target?.serverModel.clients
.map((e) => sum += e.unread... | Dart |
T+2, kind: FK_390_PC16DBL
cgijnh %r1, -66, bar@PLT
#CHECK: cgit %r0, 0, 12 # encoding: [0xec,0x00,0x00,0x00,0xc0,0x70]
#CHECK: cgit %r0, -1, 12 # encoding: [0xec,0x00,0xff,0xff,0xc0,0x70]
#CHECK: cgit %r0, -32768, 12 # encoding: [0xec,0x00,0x80,0x00,0xc0,0x70]
#CHECK: cgit ... | Assembly |
/* Machine-specific calling sequence for `mcount' profiling function. PA-RISC
Copyright (C) 1995-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lice... | C |
UDIO::PAGES::HOME::T2331588413"] = "Los geht's"
-- Last Changelog
UI_TEXT_CONTENT["AISTUDIO::PAGES::HOME::T2348849647"] = "Letztes Änderungsprotokoll"
-- Choose the provider and model best suited for your current task.
UI_TEXT_CONTENT["AISTUDIO::PAGES::HOME::T2588488920"] = "Wählen Sie den Anbieter und das Modell aus... | Lua |
CHECK5-NEXT: [[TEST:%.*]] = alloca [[STRUCT_S_0:%.*]], align 4
// CHECK5-NEXT: [[T_VAR:%.*]] = alloca i32, align 4
// CHECK5-NEXT: [[VEC:%.*]] = alloca [2 x i32], align 4
// CHECK5-NEXT: [[S_ARR:%.*]] = alloca [2 x %struct.S.0], align 4
// CHECK5-NEXT: [[VAR:%.*]] = alloca ptr, align 8
// CHECK5-NEXT: ... | C++ |
sbcs b1, h, b1
ldp l, h, [y, #16]
sbcs b2, l, b2
sbcs b3, h, b3
csetm s, cc
eor a0, a0, t
subs a0, a0, t
eor a1, a1, t
sbcs a1, a1, t
eor a2, a2, t
sbcs a2, a2, t
eor a3, a3, t
sbc ... | Assembly |
able.collateral_factor,
interest_rate_model: config_input.updatable.interest_rate_model,
under_collaterized_warn_percent: config_input
.updatable
.under_collaterized_warn_percent,
liquidators: config_input.updatable.liquidators,
};
let debt_asset_id = T::CurrencyFactory::reserve_lp_t... | Rust |
host: Rc::new(Host::attach(hwnd)),
}
}
/// Attach Sciter to an existing native window and intercept its messages.
///
/// This will automatically intercept specific messages needed by Sciter
/// and pass them via [`SciterProcND`](https://sciter.com/developers/embedding-principle... | Rust |
Widget _buildCustomLinkPreview(BuildContext context) {
if (_currentUrl.trim().length != 0) {
return Card(
margin: EdgeInsets.only(left: 24, right: 24, top: 8, bottom: 8),
elevation: 0,
child: Padding(
padding: EdgeInsets.only(left: 16, right: 16, top: 8, bottom:... | Dart |
lea cmd_save13(PC),A0
jsr ask_user ;Sicherheitsabfrage
moveq #1,D0
jsr graf_mouse ;Diskette anschalten
bsr fcreate ;File erffnen
lea 2.w,A3
lea user_scr(A4),A0
mo... | Assembly |
Grom'gol."}},
[582] = {"La chasse aux têtes", nil, {"Apporter 20 Têtes réduites à Nimboya au campement Grom'gol."}},
[583] = {"Bienvenue dans la jungle", nil, {"Parler à Hemet Nesingwary Jr."}},
[584] = {"Les têtes du clan Scalp-rouge", nil, {"Apporter la Tête de Gan'zulah et la Tête de Nezzliok dans le Chaudron bouill... | Lua |
local awful = require("awful")
local gears = require("gears")
local wibox = require("wibox")
local beautiful = require("beautiful")
local naughty = require("naughty")
local helpers = require("helpers")
-- Configuration
local units = "metric"
local symbol = "°C"
-- Don't update too often, because your requests might g... | Lua |
ing or upon completion of
* abort cleanup.
* Entrypoint is Mandatory.
*
* @defer_rcv: Called by the transport to signal the LLLD that it has
* begun processing of a previously received NVME CMD IU. The LLDD
* is now free to re-use the rcv buffer associated with the
* nvmefc_tgt_fcp... | C |
testSlowWebhookTimeoutFailEarly(f *framework.Framework) {
ginkgo.By("Request fails when timeout (1s) is shorter than slow webhook latency (5s)")
client := f.ClientSet
name := "e2e-test-slow-webhook-configmap"
_, err := client.CoreV1().ConfigMaps(f.Namespace.Name).Create(&v1.ConfigMap{ObjectMeta: metav1.ObjectMeta{... | Go |
姓名:王飞
* * 年龄:30
* * 性别:男
* * 工龄:5
* * 我承诺,我会认真教课。
* * 王飞爱玩象棋
* * ----------------------------------
* * 学生的信息:
* * 姓名:小明
* * 年龄:15
* * 性别:男
* * 学号:00023102
* * 我承诺,我会好好学习。
* * 小明爱玩足球。
* (7)定义多态数组,里面保存2个学生和2个教师,要求按年龄从高到低排序,
* (8)定义方法,形参为Person类型,功能:调用学生的study或教师的teach方法
*
*/
public class H... | Java |
/>"
+ "</AggName>\n"
+ "</Table>\n"
+ "<DimensionUsage name=\"StoreX\" source=\"StoreX\" foreignKey=\"store_id\" "
+ " usagePrefix=\"firstprefix_\" />"
+ "<DimensionUsage name=\"StoreY\" source=\"StoreY\" foreignKey=\"store_id\" "
+ " usagePrefi... | Java |
__wrapper {
--arrows-display: flex;
}
}
@container media-gallery-desktop (max-width: calc(108px * 3 + 104px + 0.5rem)) {
.media-gallery-desktop:has(.swiper-slide:nth-child(3))
> .media-gallery-desktop__wrapper {
--arrows-display: flex;
}
}
@container media-gallery-desktop (max-width: calc(108px * 2 + ... | CSS |
Tlib_initMultIcon(&w_keyboxes[0],
ST_KEY0X,
ST_KEY0Y,
keys,
&keyboxes[0],
&st_statusbaron);
STlib_initMultIcon(&w_keyboxes[1],
ST_KEY1X,
ST_KEY1Y,
keys,
&keyboxes[1],
&st_statusbaron);
STlib... | C |
rencyId;
import de.metas.util.Check;
import de.metas.util.Services;
public class GLJournalLineBL implements IGLJournalLineBL
{
@Override
public void setAmtSourcePrecision(final I_GL_JournalLine line)
{
final CurrencyPrecision precision = getPrecision(line);
final BigDecimal amtSourceDr = precision.roundIfNeede... | Java |
ValidationUtil
import com.metriql.warehouse.spi.Warehouse
import io.trino.jdbc.TrinoDriver
import java.sql.DriverManager
object PrestoWarehouse : Warehouse<PrestoWarehouse.PrestoConfig> {
init {
DriverManager.registerDriver(TrinoDriver())
}
override val names = setOf("presto", "prestodb")
over... | Kotlin |
"SmokeCommonModules": {
"Subsystems" : ["FoxyLink",
"FoxyLink.*"],
"ExcludedCommonModules" : []
}
}
```
- #### Так же настройки могут иметь и такой вид:
```javascript
{
"smoke" : {...},
"SmokeCommonModules": {
"Subsystems" : ["FoxyL... | Markdown |
StateException(
String.format("Name '%s' is more than %d bytes", name, Ints.USHRT_MAX));
}
if (cd.contains(name)) {
String template = "Zip file '%s' already contains entry '%s', cannot overwrite";
String msg = String.format(template, file.toAbsolutePath().toS... | Java |
{ }
/// <summary>
/// Initializes a new instance of the <see cref="PdfButtonField"/> class.
/// </summary>
protected PdfButtonField(PdfDictionary dict)
: base(dict)
{ }
/// <summary>
/// Gets the name which represents the opposite of /Off.
... | C# |
[Range(0, 100)]
public int PercentValue { get; set; }
public string Code { get; set; }
[Required]
[Column(TypeName = "nvarchar(max)")]
public string CoverImageUrl { get; set; } = string.Empty;
[Required]
[MaxLength(255)]
[Column(TypeName = "nvarchar(255)")]
public string Cover... | C# |
= this.__gwt_instance.w(a); return qr(b) }); d.longValue = jr(Number, Jr(function () { var a = this.__gwt_instance.E(); return a })); d.longValueExact = jr(Number, Jr(function () { var a = this.__gwt_instance.D(); return a })); $wnd.bigdecimal.BigDecimal.valueOf_va = Jr(function (a) { var b = zh(a); return pr(b) }); $... | JavaScript |
rams? $isAnagram")
println()
val isIsogram1 = word1.length == word1.toSet().size
val isIsogram2 = word2.length == word2.toSet().size
println("Is \"$word1\" an isogram? $isIsogram1")
println("Is \"$word2\" an isogram? $isIsogram2")
}
}
fun main() {
val retos = LuisRetos(... | Kotlin |
c = overall_accuracy
# best_confusion_matrices = [conf_mat_complexity,conf_mat_code]
# best_model = model.state_dict()
# logging.info(f'当加权平均得到的指标best_acc:{best_acc}最好时,其他各项指标为:Tcomplexity_accuracy: {complexity_accuracy:.4f},complexity_f1_macro: {complexity_f1... | Python |
in2+=4;
out+=4;
}
return (w+5);
}
static t_int *scalaroror_tilde_performSSE(t_int *w)
{
__m128 *in = (__m128 *)(w[1]);
__m128 *out = (__m128 *)(w[3]);
t_float f = *(t_float *)(w[2]);
__m128 scalar = _mm_set1_ps(f);
int n = (int)(w[4])>>4;
const __m128 one = _mm_set1_ps(1.f);
const __m128... | C |
;
}
.gsi-reserveinfo-panel .button-panel .normalbutton {
line-height:18px;
width:80px;
text-align: center;
margin-left:1px;
margin-right:1px;
}
.gsi-reserveinfo-panel .message {
padding-left:22px;
background-position: 2px 2px;
background-repeat: no-repeat;
background-image: url(../image/system/info.pn... | CSS |
self[key])) {
ObservableArray.call(self[key]);
}
});
}
// This will load properties and array's on entities.
load(property) {
return new Future((setValue, setError) => {
if (!this.providers[property]) {
throw new Error("Couldn't find p... | Typescript |
plate);
}
/**
* Show retrieve window.
* @param player the player
*/
private void showRetrieveWindow(final L2PcInstance player)
{
player.sendPacket(ActionFailed.STATIC_PACKET);
player.setActiveWarehouse(player.getWarehouse());
if (player.getActiveWarehouse().getSize() == 0)
{
player.sendPacket(... | Java |
}
else if(cycleperiod >= max.cycle)
break
}
state <- status
state[ehat == max(ehat)] <- 1
S <- structure(cbind(ehat, state), class = "Surv", type = "right")
KM.ehat <-
survfitKM(dummystrat, S, conf.type = "none", se.fit = FALSE)
n.risk <- KM.ehat$n.risk
... | Assembly |
{
let mut result = Vec::new();
unsafe {
for (i, length) in (*self.as_ptr())
.linesize
.iter()
.take_while(|l| **l > 0)
.enumerate()
{
result.push(slice::from_raw_parts_mut(
(*sel... | Rust |
제수|획득 경험치|연속 학습|
|---:|---:|---|
5|40xp|1일째🔥|
|교재|이름|난이도|상태|최근 제출 코드|
|---|---|:---:|:---:|---|
|[Novice Low / 입출력 / 정수 입력](https://www.codetree.ai/missions?missionId=4)|[[연습]점수 입출력](https://www.codetree.ai/missions/4/problems/enter-int-and-print-score)|![쉬움][easy]|![Passed][passed]|[링크](https://github.com/haesol1013... | Markdown |
:hover::before,
.button:hover .button__text::before {
width: 8px;
}
.button:hover::after,
.button:hover .button__text::after {
width: calc(100% - 56px * 2 - 16px);
}
.button__drow1,
.button__drow2 {
position: absolute;
z-index: -1;
border-radius: 16px;
transform-origin: 16px 16px;
}
.button__drow1 {
top: ... | CSS |
*/
- (nullable UIImage *)imageByRotateLeft90;
/**
Returns a new image rotated clockwise by a quarter‑turn (90°). ⤼
The width and height will be exchanged.
*/
- (nullable UIImage *)imageByRotateRight90;
/**
Returns a new image rotated 180° . ↻
*/
- (nullable UIImage *)imageByRotate180;
/**
Returns a vertically ... | C |
width:500%;height:100%;margin:0;font-size:400px;}.fr-popup .fr-image-progress-bar-layer > h3{font-size:16px;margin:10px 0;font-weight:normal;}.fr-popup .fr-image-progress-bar-layer > div.fr-action-buttons{display:none;}.fr-popup .fr-image-progress-bar-layer > div.fr-loader{background:#b3e0fd;height:10px;width:100%;marg... | CSS |
家拥有很多幸福的人。 c:330
任何法律都要以鼓励商业贸易精神为目的,为了让所有穷人都能过上富有的日子,与其他人一样劳动,法律应随着财富的增多而分配财富;重要公民都亲自经商,除了商业贸易精神,任何精神都打扰不到他们;所有富有的公民必须依靠自己的劳动才能守护住自己的事业或创业,而且都应在法律的保护下奔向富有。 c:208
如果设立元老院只是为了处理政务,那么,它的成员不必是终身制;如果希望元老院成为保管民风的地方,即保护民风的典范,那么它的成员就应该终身任职。 c:159
贵族政体的混乱来自两个方面:一是统治集团内部非常不平等;二是统治者与被统治者极为不平等。 c:149
如果让贵族经商,就会产生许多垄断,所以法律应该禁止贵... | Markdown |
|| (doze_buf[2] == 0xBB) ||
(doze_buf[2] == 0xCC)) {
doze_status = DOZE_WAKEUP;
input_report_key(ts->input_dev, KEY_POWER, 1);
input_sync(ts->input_dev);
input_report_key(ts->input_dev, KEY_POWER, 0);
input_sync(ts->input_dev);
/* clear 0x814B */
doze_buf[2] = 0x00;
gtp_i2c_write(ts->client, doze_... | C |
k_s;
// If higher accuracy is required, 2 or 3 iterations of the following block can be used:
{
float L = L0 * (1.0 - t) + t * L1;
float C = t * C1;
float l_ = L + C * k_l;
... | Kotlin |
s program. If not, see <https://www.gnu.org/licenses/>.
*/
package io.mfj.textricator.extractor.csv
import io.mfj.textricator.extractor.TextExtractor
import io.mfj.textricator.extractor.TextExtractorFactory
import io.mfj.textricator.extractor.TextExtractorOptions
import java.io.InputStream
class CsvTextExtractorFa... | Kotlin |
Note:** This method is loosely based on
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
*
* @static
* @memberOf _
* @since 4.0.0
* @category Lang
* @param {*} value The value to check.
* @returns {boolean} Returns `true` if `value` is a valid length, els... | JavaScript |
18, ///< Backbone Router (available since Thread 1.2)
OT_LOG_REGION_MLR = 19, ///< Multicast Listener Registration (available since Thread 1.2)
OT_LOG_REGION_DUA = 20, ///< Domain Unicast Address (available since Thread 1.2)
OT_LOG_REGION_BR = 21, ///< Border Router
OT_LOG_REGION_SRP ... | C |
E4 003B30E4 48 00 00 3C */ b lbl_803B6320
/* 803B62E8 003B30E8 38 00 00 00 */ li r0, 0
/* 803B62EC 003B30EC 3B 80 00 08 */ li r28, 8
/* 803B62F0 003B30F0 98 18 00 01 */ stb r0, 1(r24)
/* 803B62F4 003B30F4 3B A0 00 00 */ li r29, 0
/* 803B62F8 003B30F8 48 00 00 28 */ b lbl_803B6320
/* 803B62FC 003B30FC 38 00 00 00... | Assembly |
* @param random 用来标记同一组命令
* @param query 查询条件 根据metadata属性
* @return LinkedHashMap
* @param <T> Index
*/
@Override
public <T extends Index> LinkedHashMap<String, T> indexes(DataRuntime runtime, String random, Index query) {
return super.indexes(runtime, random, query);
}
... | Java |
16737970)
- next 一下
- 向下执行了一行
- 那怎么 快速让流程 流到断点 呢?
- 不会了 就查帮助
- 看看哪个命令好使
### 求助帮助
- 不同于next
- 一行行地执行
- 回忆上次的命令
- `continue`
- continue 可以缩写为
- cont
- c

- 真的可以
- 让 流程快速流转 到 `断点` 吗?
- continue一下
### continue
- continue 本该
- 直接流到... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.