content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ype != null) 'restoreType': restoreType!,
};
}
/// Represents the scaling configuration of a metastore service.
class ScalingConfig {
/// The autoscaling configuration.
///
/// Optional.
AutoscalingConfig? autoscalingConfig;
/// An enum of readable instance sizes, with each instance size mapping to a
//... | Dart |
Scores reset successfully`
String get scoresResetSuccess {
return Intl.message(
'Scores reset successfully',
name: 'scoresResetSuccess',
desc: '',
args: [],
);
}
/// `Mode`
String get mode {
return Intl.message('Mode', name: 'mode', desc: '', args: []);
}
/// `Enable bo... | Dart |
-ru-ru #adminmenu {
width: inherit; /* back-compat for pre-3.2 */
}
.locale-ru-ru #adminmenu,
.locale-ru-ru #wpbody {
margin-right: 0; /* back-compat for pre-3.2 */
}
.locale-ru-ru .inline-edit-row fieldset label span.title,
.locale-ru-ru .inline-edit-row fieldset.inline-edit-date legend {
width: 8em; /* default 6em... | CSS |
Level12 = Class { __includes = BaseLevel }
Level12.designer = "Mitinull"
function Level12.init(self, onWin)
BaseLevel.init(self, onWin)
self.ball = Ball(self.world, VIRTUAL_WIDTH / 2 + 600, VIRTUAL_HEIGHT / 2, BALL_RADIUS, .5, BALL_DAMPING)
self.player1 = PlayerMediumRed(self.world,
VIRTUAL_WIDT... | Lua |
{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListKeyRotationsPages", reflect.TypeOf((*MockKMSAPI)(nil).ListKeyRotationsPages), arg0, arg1)
}
// ListKeyRotationsPagesWithContext mocks base method.
func (m *MockKMSAPI) ListKeyRotationsPagesWithContext(arg0 aws.Conte... | Go |
Xp = nor2(BAKO_ADDR_FFXXn, ATEG_ADDR_XX1Xn);
/*_p10.BANU*/ wire BANU_ADDR_FF1Xn = not1(BUNO_ADDR_FF1Xp);
/*_p10.COVY*/ wire COVY_ADDR_FF16p = nor2(BANU_ADDR_FF1Xn, DAZA_ADDR_0110n);
/*_p10.DUTU*/ wire DUTU_ADDR_FF17p = nor2(BANU_ADDR_FF1Xn, DUVU_ADDR_0111n);
/*_p10.DARA*/ wire DARA_ADDR_FF18p = nor2(BANU_ADDR_F... | C++ |
�有《攀娜丽莎》®景后的晚餐》等。

达·芬奇所作的《天使》(局部)








, $0
BYTE $'B'; BYTE $' '; BYTE $' '; BYTE $' ';
BYTE $' '; BYTE $' '; BYTE $' '; BYTE $' ';
BYTE $'C'; BYTE $'O'; BYTE $'M';
BYTE $'\z';
#else
/* "9LOAD " */
TEXT bootfi | Assembly |
measure[ind[4]]@ je @lib.check_string(name[ind[4]],50)@, u oznaci @hspacept(3)@ @lib.check_string(sign[ind[4]],20)@. <reponame>devcooch/aoc-2020
#[derive(Clone, PartialEq)]
enum OpCode {
Nop,
Acc,
Jmp,
}
#[derive(Clone)]
struct Instruction {
opc: OpCode,
val: i64,
}
f... | Rust |
agdašnju žrtvu paljenicu.'</verse>
<verse number="16">Ovako govori Jahve Gospod: 'Dadne li knez dar komu svom sinu od svoje baštine, taj će dar pripasti njima u posjed kao baština.</verse>
<verse number="17">Ako li od svoje baštine dade dar komu svom sluzi, tome će to pripadati do otpusne godine, a potom neka s... | JavaScript |
(i * gridSpacing + offset) % (size.width + gridSpacing) - gridSpacing;
paint.color = gridColor;
canvas.drawLine(
Offset(x, 0),
Offset(x, size.height),
paint,
);
}
}
@override
bool shouldRepaint(GridPainter oldDelegate) {
return false;
}
}
import '../models/cat... | Dart |
opupContent = this.getContent();
if (popupContent !== null) {
const formContainer: Nullable<HTMLFormElement> = popupContent.querySelector("form");
if (formContainer !== null) {
const form = new Form({
container: formContainer,
handlerSubmit: this.props.handlerSubm... | Typescript |
t.Intent
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import android.text.TextUtils
import android.view.View
import android.view.Window
import android.view.WindowManager
import androidx.annotation.RequiresApi
import androidx.core.app.ActivityCompat
import com.example.scankit... | Kotlin |
(root);
if (!root->point_deleted) {
Storage.push_back(root->point);
}
flatten(root->left_son_ptr, Storage, storage_type);
flatten(root->right_son_ptr, Storage, storage_type);
switch (storage_type)
{
case NOT_RECORD:
break;
case DELETE_POINTS_REC:
if (root->point_d... | C++ |
x2A2A6754824D2AA8L, -0x4444f594924e442aL,
-0x3e3e78601db93eddL, 0x5353F1A602A25351L,
-0x23238d5a745123a9L, 0x0B0B531627580B2CL,
-0x6262fed82c6362b2L, 0x6C6C2BD8C1476CADL,
0x3131A462F59531C4L, 0x7474F3E8B98774CDL,
-0x909ea0ef61c0901L, 0x46464C8C430A4605L,
... | Kotlin |
* it will return to our caller */
#ifdef CONFIG_BOOKE
wrteei 1
#else
mfmsr r4
ori r4, r4, MSR_EE
mtmsr r4
#endif
idle_loop:
LOAD_REG_IMMEDIATE(r11, EV_HCALL_TOKEN(EV_IDLE))
.global epapr_ev_idle_start
epapr_ev_idle_start:
li r3, -1
nop
nop
nop
/*
* Guard against spurious wakeups from a hypervisor --
*... | Assembly |
ex: 15;
// .transform-origin(0% 50%);
html.pixel-ratio-2 & {
.transform(scaleX(0.5));
}
html.pixel-ratio-3 & {
.transform(scaleX(0.33));
}
}
}
.hairline(@position, @color) when (@position = bottom) {
&:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
... | CSS |
CallbackRunnerUnsafe<void> schedule_,
QueryStatusPtr process_list_element_,
LoggerPtr log_)
: is_restore(is_restore_)
, operation_name(is_restore ? "restore" : "backup")
, current_host(current_host_)
, current_host_desc(getHostDesc(current_host))
, all_hosts(all_hosts_)
, allow_c... | C++ |
## 目录结构
```
├── src/renderer/main # 源代码目录
│ ├── api/ # api接口与错误code
│ ├── assets/ # 样式跟icon
│ ├── components/ # 组件
│ ├── directive/ # 自定义指令
│ ├── views/ # 页面
│ ├── router/ # 路由配置
│ ├── typings/ # 类型定义
│ ├── constants/ # 常用变量
... | Markdown |
std::ops::RemAssign<f32> for $VecN {
fn rem_assign(&mut self, rhs: f32) {
if rhs == 0.0 { panic!("Cannot divide by zero. ($VecN % 0.0)"); }
$(self.0[$i] %= rhs;)+
}
}
}
}
#[doc(hidden)]
macro_rules! vector_swizzle_3 {
() => {
vec... | Rust |
! 4067: LDSHA_R ldsha [%r23, %r0] 0x05, %r29
T0_irf_ce_321:
!$EV error(0,expr(@VA(.MAIN.T0_irf_ce_321), 16, 16),1,IRF,ce,27,35, x,x,x, x,x,x)
.word 0xb9347001 ! 4069: SRLX_I srlx %r17, 0x0001, %r28
T0_hwint_534:
!$EV trig_pc_d(0,expr(@VA(.MAIN.T0_hwint_534), 16, 16)) -> intp(0, 0, d)
T0_dtlb_err_190:
!$EV error (0,ex... | Assembly |
kognition developer
/// guide.
///
/// Parameter [features] :
/// A list of the types of analysis to perform. Specifying GENERAL_LABELS uses
/// the label detection feature, while specifying IMAGE_PROPERTIES returns
/// information regarding image color and quality. If no option is specified
/// GENERAL_L... | Dart |
.ft-match-lineup-tweaks-teamname-away {
bottom: 15px;
}
html[dir="rtl"] .ft-match-lineup-tweaks-teamname-home {
right: 15px;
left: initial;
}
html[dir="rtl"] .ft-match-lineup-tweaks-teamname-away {
right: 15px;
left: initial;
}
html[dir="ltr"] .ft-match-lineup-tweaks-teamname-home {
left: 15px;
right: initial... | CSS |
x = 1 / ax;
if (x < 0)
{
if (x == -1 && yisint == 0)
ax = Double.NaN;
else if (yisint == 1)
ax = -ax;
}
return ax;
}
if (x < 0 && yisint == 0)
return Double.NaN;
// Now we can start!
double t;
double t1;... | Java |
var z, z1(x1, out var u1, x1 > 0 & TakeOutParam(x1, out var y1)];
System.Console.WriteLine(y1);
System.Console.WriteLine(z1 ? 1 : 0);
break;
}
}
static bool TakeOutParam<T>(T y, out T x)
{
x = y;
return true;
}
}
";
... | C# |
stringArgsToFloat,
scaleY: stringArgsToFloat,
scaleZ: stringArgsToFloat,
skew: stringArgsToRadians,
skewX: stringArgsToRadians,
skewY: stringArgsToRadians,
translate: stringArgsToFloat,
translate3d: stringArgsToFloat,
translateX: stringArgsToFloat,
translateY: stringArgsToFloat,
translateZ: stringAr... | Typescript |
local L = LibStub("AceLocale-3.0"):NewLocale("InFlight", "ptBR")
if not L then return end
L["AddonDisabled"] = "Versão incorreta do cliente detectada: desativando o complemento"
L["BackgroundColor"] = "Cor de Fundo"
L["BarColor"] = "Cor da Barra"
L["BarOptions"] = "Opções de Bar"
L["Border"] = "Borda"
L["BorderColor"]... | Lua |
class UnpackException(Exception):
"""Deprecated. Use Exception instead to catch all exception during unpacking."""
class BufferFull(UnpackException):
pass
class OutOfData(UnpackException):
pass
class UnpackValueError(UnpackException, ValueError):
"""Deprecated. Use ValueError instead."""
class... | Python |
urn 0, fmt.Errorf("No space to generate ID in drop pool")
}
func (pool dropPool) canPause() bool {
return len(pool.drops) == 0
}
func (pool dropPool) playerShowDrops(plr *Player) {
for _, drop := range pool.drops {
plr.Send(packetShowDrop(dropSpawnShow, drop, true))
}
}
func (pool *dropPool) removeDrop(dropType... | Go |
import urllib.parse
from typing import Dict
from mage_ai.api.resources.AsyncBaseResource import AsyncBaseResource
from mage_ai.api.resources.mixins.version_control_errors import VersionControlErrors
from mage_ai.orchestration.db.models.oauth import User
from mage_ai.version_control.models import Branch, Remote
class... | Python |
Transaction(
category:
Category.freelance.displayName, // Assuming Investment category is added
transactionDate: DateTime.parse('2024-08-15T00:00:00.000Z'),
subCategory: Subcategory.others.displayName,
type: 'Income',
remark: 'Quarterly dividends',
amount: 800.0,
),
Transaction(
... | Dart |
{{.*}}":{[[line]]:21-[[line]]:21}:")"
// CHECK: to silence this warning
// CHECK: fix-it:"{{.*}}":{[[line]]:9-[[line]]:9}:"("
// CHECK: fix-it:"{{.*}}":{[[line]]:11-[[line]]:11}:")"
ret = !getE() == e1;
// expected-warning@-1 {{logical not is only applied to the left hand side of this comparison}}
// expec... | C++ |
.overflow-hidden {
overflow:hidden;
}
/*Booking Offer*/
.booking-offer {
position: relative;
}
.booking-offer .booking-offer-in {
top: 15px;
left: 15px;
right: 15px;
color: #fff;
padding: 15px;
position: absolute;
background: url(../../img/bg-opacity.png);
}
.booking-offer .booking-offer-in em {
... | CSS |
1)
C31AF09FF3A7DA909["new"] = function(A0_2, A1_2, A2_2, A3_2)
local L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2
L4_2 = lua_helper_new
L5_2 = C31AF09FF3A7DA909
L5_2 = L5_2.prototype
L6_2 = 34
L7_2 = 67
L4_2 = L4_2(L5_2, L6_2, L7_2)
L5_2 = C31AF09FF3A7DA909
L5_2 = L5_2.super
L6_2 = L4_2
L7_2 = A0_2
... | Lua |
its window level resets to its parent's window level. So, we
* have to set the level for ON_TOP child window again.
*/
if ((style & SWT.ON_TOP) != 0) {
window.setLevel(OS.NSStatusWindowLevel);
} else if (OS.VERSION >= OS.VERSION(10, 11, 0)) {
/*
* Feature in Cocoa on 10.11: Second-lev... | Java |
/* Get a rectangle selection from an image
Copyright (C) 2022 scrubbbbs
Contact: screubbbebs@gemeaile.com =~ s/e//g
Project: https://github.com/scrubbbbs/cbird
This file is part of cbird.
cbird is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
Li... | C |
17330
/* 425BDA4 8007FFDC 140062AE */ sw $v0, 0x14($s3)
/* 425BDA8 8007FFE0 0800038E */ lw $v1, 0x8($s0)
/* 425BDAC 8007FFE4 0780023C */ lui $v0, %hi(D_80077368)
/* 425BDB0 8007FFE8 6873428C */ lw $v0, %lo(D_80077368)($v0)
/* 425BDB4 8007FFEC 00000000 */ nop
/* 425BDB8 8007FFF0 18006... | Assembly |
return prefs.getString(ERROR_LOG_KEY, "empty")
}
fun getLessonWidgetStyleChanged(): Boolean {
return prefs.getBoolean(LESSON_WIDGET_STYLE_CHANGED_KEY, true)
}
override fun setAccessToken(accessToken: String?) {
prefs.edit {
putString(ACCESS_TOKEN_KEY, accessToken)
... | Kotlin |
},
// {
// and(
// activeDidState("AUT_PACE"),
// activeDidState("PIN.AMTS_REP"),
// activeDidState("flagTI.46"),
// )
// },
// {
// and(
// activeDidState("AUT_PACE"),
// activeDidState("PIN.CH"),
// activeDi... | Kotlin |
s[_F11Idx],
F12 = floatRegClass[_F12Idx],
F13 = floatRegClass[_F13Idx],
F14 = floatRegClass[_F14Idx],
F15 = floatRegClass[_F15Idx],
F16 = floatRegClass[_F16Idx],
F17 = floatRegClass[_F17Idx],
F18 = floatRegClass[_F18Idx],
F19 = floatRegClass[_F19Idx],
F20 = floatRegClass[_F20Idx],
... | C++ |
Override
public void close() {
if (vertices != null) {
vertices = null;
}
}
}
private float xOff, yOff, widthRatio, heightRatio;
private float drawWidth, drawHeight;
private float textureSrcX, textureSrcY;
private float srcWidth, srcHeight;
private float renderWidth, renderHeight;
private Su... | Java |
%3E%0A%09%3Cg%3E%0A%09%09%3Cpath%20class%3D%22st0%22%20d%3D%22M0%2C8h1V3H0V8z%20M2%2C8h1V3H2V8z%20M4%2C8h1V3H4V8z%20M6%2C8h1V3H6V8z%20M8%2C8h1V3H8V8z%20M10%2C3v5h1V3H10z%22%20fill%3D%22%23333%22%20%2F%3E%0A%09%3C%2Fg%3E%0A%3C%2Fg%3E%0A%3C%2Fsvg%3E%0A");
width: 12px;
height: 12px;
line-height: 12px;
background-s... | CSS |
1; i <= _peerCount; i++)
{
if (isExists(i))
{
if (_peers.get(i).getPeerState().equals("TERMINATED"))
{
restart(i);
}
}
}
waitForAllPeersUp();
}
public void startAll() throws Exception
{
for (int id=1; id <= _peerCount; id++)
{
if (isEx... | Java |
ONT-FAMILY: "Trebuchet MS", Helvetica, Arial, sans-serif; TEXT-TRANSFORM: capitalize
}
OL LI {
LIST-STYLE: lower-roman
}
UL LI {
LIST-STYLE: square
}
.main {
BACKGROUND-COLOR: #6699ff; BORDER-BOTTOM: black thin dotted; BORDER-LEFT: black thin dotted; BORDER-RIGHT: black thin dotted; BORDER-TOP: #000000 thin dotted; ... | CSS |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
#include "cspingrequestevent.h"
#include <stdio.h>
#include <stdlib.h>
#include "debug.h"
#include "networkobjectfactory.h"
#include "cnetwork.h"
#include "networkobjectmgr.h"
#include "apppackettypes.h"
#include "scpingresponseevent.h"
#include "ww... | C++ |
tedPartId_ and not force then
return
end
if Z.IsPCUI then
local partRow = Z.TableMgr.GetRow("EquipPartTableMgr", partId)
if not partRow then
return
end
self.partName_.text = partRow.PartName
self.partIcon_:SetImage(partRow.PartIcon)
end
self.commonVM_.CommonPlayTogAnim(animUiBinder... | Lua |
义
service OrderProcessingActivities {
// 验证订单活动
rpc ValidateOrder(ValidateOrderRequest) returns (ValidateOrderResponse);
// 处理付款活动
rpc ProcessPayment(ProcessPaymentRequest) returns (ProcessPaymentResponse);
// 更多活动...
}
// 输入输出类型定义...
message ValidateOrderRequest {
string order_id = 1;
string custo... | Markdown |
helper for implementing an providing a Layer to an Effect.
* @since 1.0.0
*/
readonly provideImplementation: {
<T2 extends EffectFn.Extendable<T>>(
implementation: T2
): <A, E, R>(
effect: Effect.Effect<A, E, R>
) => Effect.Effect<A, E | EffectFn.Error<T2>, Exclude<R, I> | EffectFn.Cont... | Markdown |
trictEqValueIncompatibleTypes = 4443,
ModuleError = 4444,
SealedNotSubtype = 4445,
ModuleHintError = 4446,
MemoizeObjectWithoutGlobals = 4447,
ExpressionTreeNonPublicProperty = 4448,
CovariantIndexTypeMismatch = 4449,
InoutInPseudofunction = 4450,
TraitParentConstructInconsistent = 4451,... | Rust |
* @param {number} width - Value for resizing the image width.
* @param {number} height - Value for resizing the image height.
* @returns {Promise<string>}
*
*/
export function resizeImage(base64image: any, width = 1920, height = 1080): Promise<string> {
// In order to work on Firefox browser we need to handl... | Typescript |
�와 대화해야 합니다."}},
[10305] = {"변절자 벨마라", nil, {"마법사 지구에 있는 변절자 벨마라의 집으로 고서를 가지고 가서 책장에 놓아야 합니다. 그런 다음 키린바르 마을에 있는 관리인 디워스와 대화하십시오."}},
[10306] = {"창조술사 루민라스", nil, {"마법사 지구에 있는 창조술사 루민라스의 집에 가서 그의 옷장에 망토를 돌려 넣어야 합니다. 그런 다음 키린바르 마을에 있는 관리인 디워스와 대화하십시오."}},
[10307] = {"콜린 프로스트위버", nil, {"마법사 지구에 있는 콜린 프로스트위버의 방으로 가서 그의 사물함... | Lua |
{
id: Hash,
dna: Hash,
price: Balance,
gen: u64
}
/// This module's storage items.
// ! Verify First, Write Last ! //
decl_storage! {
trait Store for Module<T: Trait> as KittyStorage {
pub AllKittiesCount get(kitties_count): u64;
pub IndexOfKitty: map T::Hash => u64;
pub KittyByIndex get(kitty_id_at_inde... | Rust |
kwargs)
rank0_print(f"Model Class: {model.__class__.__name__}")
image_processor = None
if "llava" in model_name.lower():
mm_use_im_start_end = getattr(model.config, "mm_use_im_start_end", False)
mm_use_im_patch_token = getattr(model.config, "mm_use_im_patch_token", True)
if mm_use_... | Python |
:= strings.ReplaceAll(dmarcReport, "xmox.nl", "mox.example")
n++
run("dmarc-reports@mox.example", report, n)
// We always store as an evaluation, but as optional for reports.
evals := checkEvaluationCount(t, 2)
tcompare(t, evals[0].Optional, true)
tcompare(t, evals[1].Optional, true)
// Not a dmarc recipient,... | Go |
_l1e_dtl_1',
[-1476356617] = 'ch2_12b_l1',
[1572700530] = 'ch2_12b_l2',
[844035688] = 'ch2_12b_lnddcal01',
[1076007435] = 'ch2_12b_lnddcal02',
[1696490509] = 'ch2_12b_railing_01',
[1781865318] = 'ch2_12b_railing_02_lod',
[1474316689] = 'ch2_12b_railing_02',
[-890547302] = 'ch2_12b_railing_03_lod',
[-1786100504... | Lua |
/*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C |
egalArgumentException("Mismatch 2 DbKey's size: first size is [${this.size}], other size is single")
action(single(), values, 0)
}
/**
* 添加前缀/后缀
*
* @param prefix 前缀
* @param postfix 后缀
* @return
*/
internal inline fun DbKeyNames.wrap(prefix: CharSequence = "", postfix: CharSequence = ""): DbKeyNames {
... | Kotlin |
# Copyright (C) 2018-2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
import os
import sys
path_to_model_dir = os.path.join(sys.argv[1], "bad_header")
if not os.path.exists(path_to_model_dir):
os.makedirs(path_to_model_dir, exist_ok=True)
# Correct FOURCC is 'TFL3', it should be in first 4 bytes or
#... | Python |
ESTONE_SLAB, ReinforcedSlabBlock::new);
@HasManualPage(PageGroup.REINFORCED)
@OwnableBE
@Reinforced
public static final DeferredBlock<ReinforcedSlabBlock> REINFORCED_END_STONE_BRICK_SLAB = reinforcedBlock("reinforced_end_stone_brick_slab", Blocks.END_STONE_BRICK_SLAB, ReinforcedSlabBlock::new);
@HasManualPage(Page... | Java |
.kobo.com/{region}/{language}/account/subscriptions",
"audiobook_subscription_orange_deal_inclusion_url": "https://authorize.kobo.com/inclusion",
"audiobook_subscription_purchase": "https://www.kobo.com/{region}/{language}/checkoutoption/21C6D938-934B-4A91-B979-E14D70B2F280",
"audiobook_subscrip... | Kotlin |
ory string, detailed bool, cmd *cobra.Command) {
_, _ = fmt.Fprintln(cmd.OutOrStdout(), utils.FormatHeader("📊 Community Trends"))
if timeframe != "" {
_, _ = fmt.Fprintf(cmd.OutOrStdout(), " (%s)\n", timeframe)
}
_, _ = fmt.Fprintln(cmd.OutOrStdout())
// Load configuration
cfg, err := config.LoadUserConfig()
... | Go |
参数 taskId:${taskId} danmu:${danmu}")
}
val context = BarrageFlyTaskContext.getContext(taskId)
if ((parent.get(KEY_DO_SEND_DANMU_BOOLEAN) ?: true) as Boolean) {
if (context == null || context.status != BarrageFlyTaskStatusEnum.RUNNING) {
throw QLException("任务${taskId}未... | Kotlin |
alize, Default, Debug)]
#[serde(rename_all = "camelCase")]
#[serde(default)]
struct OpenOptions {
read: bool,
write: bool,
create: bool,
truncate: bool,
append: bool,
create_new: bool,
}
fn op_open(
state: &ThreadSafeState,
args: Value,
_zero_copy: Option<ZeroCopyBuf>,
) -> Result<JsonOp, ErrBox> {
... | Rust |
Postmark Transactional Email Templates](https://github.com/wildbit/postmark-templates)
<img src="screens/default/welcome.png" height="200" /> <img src="screens/default/reset.png" height="200" /> <img src="screens/default/receipt.png" height="200" />
* `flat`, slightly modified from [Postmark Transactional Email Templ... | Markdown |
ion method error
// signals) of the subframe.
//
// ref: https://www.xiph.org/flac/format.html#residual
func (subframe *Subframe) decodeResiduals(br *bits.Reader) error {
// 2 bits: Residual coding method.
x, err := br.Read(2)
if err != nil {
return unexpected(err)
}
residualCodingMethod := ResidualCodingMethod(... | Go |
2
sta ship_sprite_l9+0 ; 4
jmp done_sparkle ; 3
sparkle2:
lda ship_sprite_l9+1 ; 4
eor #$88 ; 2
sta ship_sprite_l9+1 ; 4
jmp done_sparkle ; 3
sparkle3:
lda ship_sprite_l8+0 ; 4
eor #$44 ; 2
sta ship_sprite_l8+0 ; 4
jmp done_sparkle ; 3
sparkle4:
lda ship_sprite_l10+0 ; 4
eor #$44 ; 2
sta ship_s... | Assembly |
EXPECT_EQ(std::distance(result.first, result.second), 2);
}
TEST(Btree, BtreeMultimapEmplaceHint) {
const int key_to_insert = 123456;
const char value0[] = "a";
absl::btree_multimap<int, std::string> m;
auto iter = m.emplace(key_to_insert, value0);
ASSERT_NE(iter, m.end());
EXPECT_EQ(iter->first, key_to_... | C++ |
#include <stdarg.h>
#include "compat-common.h"
#ifdef SKIP_VA
const int test_va = 0;
#else
const int test_va = 1;
#endif
#include "mixed-struct-defs.h"
extern void checkScd (Scd x, int i);
extern void checkScdc (Scdc x, int i);
extern void checkSd (Sd x, int i);
extern void checkSdi (Sdi x, int i);
extern void chec... | C |
_id: id },
{
name,
price,
product_image,
category,
promotion,
},
{ new: true }
);
if (productUpdated === null) {
throw new Error("Product don't exists.");
}
... | Typescript |
-- 必选, 目标URL
method = "POST", -- 可选,默认GET, 如果有body,files,forms参数,会设置成POST
headers = {}, -- 可选,自定义的额外header
files = {}, -- 可选,键值对的形式,文件上传,若存在本参数,会强制以multipart/form-data形式上传
forms = {}, -- 可选,键值对的形式,表单参数,若存在本参数,如果不存在files,按application/x-www-form-urlencoded上传
body = "abc=123",-- 可选,自定义body参数, 字符串... | Lua |
8.3.6. Nhi:** Video Demo, Figma
- **8.3.7. Truong:** Deliverables, Retrospective + Demo
**8.4. Client Coordination:**
- **8.4.1.** Proactively propose requirements to the client (@Erobos and @Jaden).
- **8.4.2.** Report progress via video.
**8.5. Conclusion:** This strategy focuses on completing core functionaliti... | Markdown |
using System;
#if NET6_0_OR_GREATER
using System.Runtime.CompilerServices;
#endif
namespace Prometheus.Client;
public static class HistogramExtensions
{
public static void Observe(this IHistogram observer, double val, DateTimeOffset timestamp)
{
observer.Observe(val, timestamp.ToUnixTimeMilliseconds()... | C# |
if (this->runState == CANNED_MESSAGE_RUN_STATE_DESTINATION_SELECTION) {
drawDestinationSelectionScreen(display, state, x, y);
return;
}
// === ACK/NACK Screen ===
if (this->runState == CANNED_MESSAGE_RUN_STATE_ACK_NACK_RECEIVED) {
requestFocus();
EINK_ADD_FRAMEFLAG(display, ... | C++ |
"Alerting" href="./4_alerts.md">
{"Set up alerts using metrics on your highlight.io data."}
</DocsCard>
</DocsCardGroup>
---
toc: Overview
title: Highlight Integration in Go
slug: go
createdAt: 2021-09-13T22:07:04.000Z
updatedAt: 2022-04-01T19:52:59.000Z
---
<MissingFrameworkCopy/>
<DocsCardGroup>
<D... | Markdown |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using Imperium.API.Types.Networking;
using Librarium.Binding;
using UnityEngine;
using Object = UnityEngine.Object;
#endregion
namespace Imperium.Interface.ImperiumUI.Windows.ObjectExplorer.ObjectListEntry;
internal class ObjectEntryEngine
{... | C# |
.less*/
.bottom-promotion{display:none;width:960px;height:90px;margin:0 auto 10px;padding-top:20px}.bottom-promotion iframe{display:block}
/*!wiki-lemma:widget/promotion/declaration/declaration.less*/
@-webkit-keyframes spinner{100%{-webkit-transform:rotate(360deg)}}@keyframes spinner{100%{-webkit-transform:rotate(360d... | CSS |
10, 5);
let newly_spawned_entity_id = 4;
let mut frame = 0;
while frame < 60 {
for event in event_pump.poll_iter() {
match event {
Event::Quit { .. } | Event::KeyDown {
keycode: Some(Keycode::Escape),
..
} => { break },
_ => {}
};
}
// set values get user in... | Rust |
.LFE14511:
.size _ZNK5boost16exception_detail10clone_implINS_14broken_promiseEE5cloneEv, .-_ZNK5boost16exception_detail10clone_implINS_14broken_promiseEE5cloneEv
.section .text._ZN5boost16exception_detail14bad_exception_D2Ev,"axG",@progbits,_ZN5boost16exception_detail14bad_exception_D5Ev,comdat
.align 2
.p2align 4... | Assembly |
# ヘッダー
cmd_str.append('WHRXY') # コマンド
cmd_str.append('\r') # CR
cmd_str.append('\n') # LF
##############################################################... | Python |
toString())
fastLog(id, MessageType.REQUEST_TIME, System.currentTimeMillis().toString())
val buffer = Buffer()
val body = request.newBuilder().build().body
body?.let {
body.contentType()?.let { type ->
fastLog(
id = id,
... | Kotlin |
url: `tasks/${id}/attachment/download`,
config: { responseType: 'arraybuffer' },
});
};
export const api = {
getTaskList,
getTask,
createTask,
updateTask,
deleteTask,
downloadTaskAttachment,
};
import {Component, Input, OnInit} from '@angular/core';
@Component({
selector: 'app-rating',
templateU... | Typescript |
VULNERABILITIES_SEARCH_EXPECTED = {
"Kenna.Vulnerabilities(val.ID === obj.ID)": [
{
"AssetID": 1,
"Connectors": [
{"DefinitionName": "Kenna", "ID": 1, "Name": "Kenna", "Vendor": "Kenna"},
{"DefinitionName": "Kenna", "ID": 1, "Name": "Kenna", "Vendor": ... | Python |
should be instance of TEXTcontent', () => {
expect(content).to.be.an.instanceof(TEXTContent);
})
it('getContent() should return correct content', () => {
expect(content.getContent()).to.equal(window.atob(textContent))
})
it('getType() should be TEXT', () => {
... | Typescript |
/stylesheets/asciidoctor.css */
.asciidoctor span.icon > .fa {
cursor: default; }
/* line 659, /app/source-xampp-windows/stylesheets/asciidoctor.css */
.asciidoctor .admonitionblock td.icon [class^="fa icon-"] {
font-size: 2.5em;
/*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);*/
cursor: default; }
... | CSS |
helpers.smart_paste(
state.get_yanks()[yankIndex],
state.get_reg_types()[yankIndex],
true
)
else
print("Error: Invalid selection")
end
end, map_opts)
-- paste backwards
vim.keymap.set("n", opts.keymaps.paste_back, fu... | Lua |
urn n},signals:(e,t,n)=>{function i(e,i){-1!==e&&n[e].on&&n[e].on.push({events:t.clear,update:i})}if("interval"===t.type)for(const e of t.project.items){const t=n.findIndex((t=>t.name===e.signals.visual));if(i(t,"[0, 0]"),-1===t){i(n.findIndex((t=>t.name===e.signals.data)),"null")}}else{let e=n.findIndex((e=>e.name===t... | JavaScript |
k_match_geometry<2>,
&this_t::template is_pack_match_geometry<2>);
if (this_t::dim >= 1)
sync_data(_forest->communicator(), _forest->_shared_list_1d, *this,
&this_t::template pack_match_geometry<1>,
&this_t::template unpack_match_geometry<1>,
&th... | C |
(&mut self, it: I) {
for sample in it {
self.add(sample);
}
}
}
#[cfg(test)]
mod test {
use super::Counter;
use std::iter::FromIterator;
#[test]
fn can_add_entries() {
let mut counts = Counter::new(10);
assert_eq!(counts.len(), 0);
counts.add(b... | Rust |
[k] ).append(" ");
comment = sb.toString();
} else {
is_comment = false;
}
try {
tag = new TRobotTags( token, is_comment );
series = tag.series;
} catch ( NumberFormatException e ) { // TODO mark parser invalid
TDLog.e("... | Java |
from rest_framework.generics import ListCreateAPIView, RetrieveUpdateAPIView
from rest_framework.decorators import api_view
from rest_framework.response import Response
from .serializers import (
BookSerializer,
BookUpdateSerializer,
LibrarySerializer
)
from library.models import Book
from drf_autodocs.de... | Python |
w log arrived, parse the event and forward to the user
event := new(L1CrossDomainMessengerSentMessage)
if err := _L1CrossDomainMessenger.contract.UnpackLog(event, "SentMessage", log); err != nil {
return err
}
event.Raw = log
select {
case sink <- event:
case err := <-sub.Err():
r... | Go |
ure and clean as nowhere else in Tibia. ...",
"If you could reach one of these trickles and retrieve a water sample for me, it would be a great help. ...",
"It is important that you take the water directly from the trickle, not from the pond - else it will not be as pure anymore. ...",
"Have you understood ... | Lua |
long after a QH has been removed. This gives that HC a
* chance to stop looking at it before it's recycled.
*/
#define UHCI_QH_REMOVE_DELAY 5
/*
* The Queue Heads and Transfer Descriptors are accessed
* by both the CPU and the USB controller which run
* concurrently. This means that they have to be accessed
*... | C |
import pandas as pd
import re
# Function to read addresses from a CSV file
def read_addresses_from_csv(csv_file_path):
try:
df = pd.read_csv(csv_file_path, sep=',', encoding='utf-8', on_bad_lines='skip')
except UnicodeDecodeError:
df = pd.read_csv(csv_file_path, sep=',', encoding='latin1', on... | Python |
6], x1
st1 {v3.8h}, [x9], x10
.endm
add_dest_addsub v16.8h, v31.8h, v17.8h, v30.8h
add_dest_addsub v18.8h, v29.8h, v19.8h, v28.8h
add_dest_addsub v20.8h, v27.8h, v21.8h, v26.8h
add_dest_addsub v22.8h, v25.8h, v23.8h, v24.8h
.purgem add_dest_addsub
... | Assembly |
-foreground: oklch(0.2046 0 0);
--popover: oklch(0.9911 0 0);
--popover-foreground: oklch(0.4386 0 0);
--primary: oklch(0.7001 0.1819 320.9386);
--primary-foreground: oklch(1 0 0);
--secondary: oklch(0.994 0 0);
--secondary-foreground: oklch(0.2046 0 0);
--muted: oklch(0.9461 0 0);
--muted-foreground: o... | CSS |
ngClientRect ? el.getBoundingClientRect() : {left: 0, top: 0};
}
// `calculate` is optional, default false
function clientToLocal(el, e, out, calculate) {
out = out || {};
// According to the W3C Working Draft, offsetX and offsetY should be relative
// to the padding edge of the target element. The only b... | JavaScript |
TIME_TRANSLATION_SCOPE"]
DUPCLOSURE R2 K7 [PROTO_0]
CAPTURE VAL R0
CAPTURE VAL R1
GETTABLEKS R4 R0 K8 ["MINUTE_IN_SECONDS"]
GETTABLEKS R5 R0 K9 ["SECONDS_IN_MS"]
MUL R3 R4 R5
GETTABLEKS R5 R0 K10 ["HOUR_IN_SECONDS"]
GETTABLEKS R6 R0 K9 ["SECONDS_IN_MS"]
MUL R4 R5 R6
DUPCLOSURE R5 K11 [PROTO_1]
CAP... | Assembly |
"cm", padding = 0, draw_layer = 1, minw = 4 },
nodes = {
create_tabs({
tabs = {
{
label = Cryptid.profile_prefix .. "1",
chosen = G.focused_profile == (Cryptid.profile_prefix .. "1"),
tab_definition_function = G.UIDEF.profile_option,
tab_definition_function_args = C... | Lua |
glabel func_8087A0C8
/* 00628 8087A0C8 27BDFFE0 */ addiu $sp, $sp, 0xFFE0 ## $sp = FFFFFFE0
/* 0062C 8087A0CC AFBF001C */ sw $ra, 0x001C($sp)
/* 00630 8087A0D0 AFB00018 */ sw $s0, 0x0018($sp)
/* 00634 8087A0D4 AFA50024 */ sw $a1, 0x0024($sp)
/* 00638 8087A... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.