content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
+7e67-7e68, U+7e6c-7e70, U+7e76;
}
/* [t0/gf_50] (168) */
@font-face {
font-family: 'Chiron Hei HK WS';
font-style: italic;
font-weight: 200 900;
font-display: swap;
src: url('../woff2/vf-italic/t0/gf_50.woff2') format('woff2-variations'), url('../woff2/vf-italic/t0/gf_50.woff2') format('woff2 supports variat... | CSS |
__all__ = ['agents', 'core', 'envs']
| Python |
/*
* Copyright (c) 2013 R. Tyler Croy, 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 required by ... | C |
, v);
// We no longer flatten recursively when completing a future.
var w = Future.value(42).then((_) => f);
Expect.equals(UglyFuture(4), await w);
asyncEnd();
}();
}
void testFutureOfFuture() async {
// Plain Future.
asyncStart();
var future = Future<Future<int>>.value(Future<int>.value(42));... | Dart |
override fun visit(expression: FunctionCall<*>): Expression =
when (val result = expression.eval()) {
is Expression -> result.append(other)
else -> result.concatenate()
}
/**
* @throws UnsupportedOperationException there is no way a composed expression could be appe... | Kotlin |
ndedGames"] = [[おすすめの体験]],
["Feature.GameDetails.Action.ShareGameToChat"] = [[チャットしてシェア]],
["Feature.GameDetails.Label.FavoriteButton"] = [[お気に入り]],
["Feature.GameDetails.Label.Developer"] = [[開発者]],
["Feature.GameDetails.Label.PassesAndGear"] = [[パスとギア]],
["Feature.GameDetails.Heading.PurchaseGame"] = [[この体験をアンロッ... | Lua |
s) {
if (trackNames.get(track.name) === album.id) {
trackIds.push(track.id)
}
}
}
return { artist, trackIds }
}
}
import { useCallback } from 'react';
const useCurryFunction: UseCurryFunction = (
fn: (...args: any[]) => any,
thisArg: any = null,
...args: any[]
) =>
us... | Typescript |
g.xml");
args.Add("DataFolder", "C:/research/code/HydroDesktopHG/Source/Plugins/HydroModeler/Components/wtmpReader/data");
component.Initialize(args);
}
[TestMethod()]
public void PerformTimeStepTest()
{
csvfileReader.WR component = new WR();
... | C# |
in IPAM Server.
## NOTES
## RELATED LINKS
[Get-IpamCustomField](./Get-IpamCustomField.md)
[Add-IpamCustomField](./Add-IpamCustomField.md)
[Remove-IpamCustomField](./Remove-IpamCustomField.md)
---
UID: NS:perflib._PERF_MULTI_INSTANCES
title: PERF_MULTI_INSTANCES (perflib.h)
description: Provides information about... | Markdown |
decoration: BoxDecoration(
color: Colors.white,
borderRadius: BorderRadius.all(Radius.circular(5.0))
),
child: Center(
child: Text(emoji),
),
... | Dart |
type(int)), tuple(tag.corners[idx, :].astype(int)), (0, 255, 0))
cv2.putText(color_img, str(tag.tag_id),
org=(tag.corners[0, 0].astype(int)+10,tag.corners[0, 1].astype(int)+10),
fontFace=cv2.FONT_HERSHEY_SIMPLEX,
fontScale=0.8,
col... | Python |
sc("edit: search & replace current word (project)"),
["n|<leader>Sf"] = map_callback(function()
require("grug-far").open({ prefills = { paths = vim.fn.expand("%") } })
end)
:with_silent()
:with_noremap()
:with_desc("editn: search & replace current word (file)"),
-- Plugin: nvim-treehopper
["o|m"]... | Lua |
rt.deepEqual(util.wildcardRegExp('f(n){n^2}'), /^f\(n\)\{n\^2\}$/i);
});
test('converts "*" in pattern to all character search', () => {
assert.deepEqual(util.wildcardRegExp('iron-*'), /^iron-.*$/i);
assert.deepEqual(util.wildcardRegExp('*-*'), /^.*-.*$/i);
});
test('can match element name... | Typescript |
0000002C
/* 0C68C 8083E89C 846200B6 */ lh $v0, 0x00B6($v1) ## 000000B6
/* 0C690 8083E8A0 A60200B6 */ sh $v0, 0x00B6($s0) ## 000000B6
/* 0C694 8083E8A4 0C20C889 */ jal func_80832224
/* 0C698 8083E8A8 A602083C */ sh $v0, 0x083C($s0) ## 0000083C
/* 0C69C ... | Assembly |
/*
* (C) Copyright 2009
* Marvell Semiconductor <www.marvell.com>
* Written-by: Prafulla Wadaskar <prafulla@marvell.com>
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Pu... | C |
# Copyright (c) OpenMMLab. All rights reserved.
import torch
from mmdeploy.core import FUNCTION_REWRITER
from mmdeploy.utils import is_dynamic_shape
@FUNCTION_REWRITER.register_rewriter('mmdet.models.detectors.maskformer.'
'MaskFormer.forward')
def maskformer__forward(self,
... | Python |
isResourceAssembly = true;
}
}
if (!isResourceAssembly)
{
if (args.RequestingAssembly != null)
{
Logs.Core.WriteWarning(
"Can't resolve Assembly '{0}' (as requested by '{1}'): None of the available assembly paths matches the requested name.",
args.Name,
LogFormat.Assembly(arg... | C# |
stomData {
#[serde(
rename = "_difficultyBeatmapSets",
default,
skip_serializing_if = "Vec::is_empty"
)]
pub contributors: Vec<Contributor>,
#[serde(
rename = "_difficultyBeatmapSets",
skip_serializing_if = "Option::is_none"
)]
pub custom_environment: Opt... | Rust |
05, $81, $00, $85, $4d, $05, $85, $45, $81, $00, $81, $4d, $05
.byte $83, $45, $4d, $08, $85, $4d, $03, $85
.byte $41, $2c
.word @song0ref483
.byte $41, $2c
.word @song0ref483
.byte $41, $2c
.word @song0ref483
.byte $41, $2c
.word @song0ref483
.byte $41, $2c
.word @song0ref483
.byte $41, $2c
.word @song0re... | Assembly |
3;
/**
* Class constructor.
* @param env Environment variables.
*/
public constructor(env: IEnv) {
this.env = env;
}
/**
* Starts platform connectors.
*/
public async connect() {
await this.connectWeb3();
}
/**
* Initializes Web3 connection.
*/
public async connectWeb3() ... | Typescript |
73f, 13.4697f)
curveTo(5.74431f, 13.1952f, 6.17906f, 13.1777f, 6.47364f, 13.418f)
lineTo(6.53028f, 13.4697f)
lineTo(8.5f, 15.4395f)
lineTo(13.4697f, 10.4697f)
close()
}
path(
fill = SolidColor(Color(0xFF303233)),
fillAlpha = 1.0f,
stroke = null,
... | Kotlin |
initialize: emptyFunction,
close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates)
};
var TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES];
function ReactDefaultBatchingStrategyTransaction() {
this.reinitializeTransaction();
}
_assign(ReactDefaultBatchingStrategyTransaction.prototype, Tra... | JavaScript |
nction0 <StaticFunctionTag, SInt32>("GetCameraState", "Game", papyrusGame::GetCameraState, vm));
vm->SetFunctionFlags("Game", "GetCameraState", IFunction::kFunctionFlag_NoWait);
}
#include "f4se/PapyrusInstanceData.h"
#include "f4se/GameObjects.h"
#include "f4se/GameReferences.h"
#include "f4se/GameRTTI.h"
#include ... | C++ |
mple on role train data
if len(predicate_arguments) > 0 and not isTest:
for tmp_et in random.sample(set(schema_et_list) - et_set, 4):
for role_type in et_rt_dict[tmp_et]:
source_text = tmp_et + " </s> " + role_type + " </s> " + token_separator.join(tokens)
... | Python |
available.
// Here you can do any higher level native things you might need.
statusBar.styleDefault();
splashScreen.hide();
});
}
provinces: ProvincialDamLevel[];
public flatProvinces: IFlatProvinces[];
public selectedProvince: ProvincialDamLevel;
public barChartData = null;
public ... | Typescript |
}
override fun getType(p0: KtExpression): KotlinType? {
throw UnsupportedOperationException()
}
override fun <K : Any?, V : Any?> get(slice: ReadOnlySlice<K, V>?, key: K): V? {
if (key != element) {
... | Kotlin |
'hello')
// اسلات های نام گذاری شده
// استفاده از `null` ضروری است
// تا از اینکه اشیاء اسلات به عنوان پراپها تلقی شوند، جلوگیری شود.
h(MyComponent, null, {
default: () => 'default slot',
foo: () => h('div', 'foo'),
bar: () => [h('span', 'one'), h('span', 'two')]
})
```
معادل JSX:
```jsx
// پیشفرض
<MyCompone... | Markdown |
ssagePack value.
@note The following values can **not** be converted to a MessagePack value:
- strings with more than 4294967295 bytes
- byte strings with more than 4294967295 bytes
- arrays with more than 4294967295 elements
- objects with more than 4294967295 elements
... | C++ |
_ExampleDecorationImagePageState
extends State<ExampleDecorationImagePage> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
// Here we take the value from the MyHomePage object that was created by
// the App.build method, and use it to set our appbar t... | Dart |
static CertificateCheck checkCertificatoModiApplicativo(ServizioApplicativo sa, int sogliaWarningGiorni,
boolean addCertificateDetails, String separator, String newLine,
Logger log) throws DriverConfigurazioneException {
String protocollo = null;
try {
protocollo = ProtocolFactoryManager.getInstance()... | Java |
private var commitCount = 0
private val generateDefaultTasks get() = conf.getBoolean(AMAZON_CRAWLER_GENERATE_DEFAULT_TASKS, true)
/**
* Report periodically
* */
@Scheduled(initialDelay = 30 * SECOND_TO_MILLIS, fixedDelay = 10 * SECOND_TO_MILLIS)
fun report() {
// logger.info("====... | Kotlin |
import requests
import zipfile
import os
from urllib.parse import urlparse
import sys
sys.path.append('..')
relative_target_folder = r".\data\external"
def get_GloVe_embeds():
zip_url = "https://nlp.stanford.edu/data/glove.6B.zip"
download_and_extract_zip(zip_url, relative_target_folder)
def get_FastText_e... | Python |
279] = {"Morgan Mortero",nil},
[284] = {"Caballo de montar (Alazán)",nil},
[285] = {"Múrloc",nil},
[288] = {"Altero",nil},
[289] = {"Abercrombie","El ermitaño"},
[294] = {"Alguacil Haggard",nil},
[295] = {"Tabernero Farley","Tabernero"},
[297] = {"Custodio Folsom",nil},
[299] = {"Lobo joven",nil},
[300] = {"Zzarc' Vul"... | Lua |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* 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
* of the License, or (at your option) any later version.
*
* This program is d... | C |
// { dg-do compile }
// { dg-options "-O2" }
/* Using -mshort-calls avoids loading the function addresses in
registers and thus getting the counts wrong. */
// { dg-additional-options "-mshort-calls" {target epiphany-*-*} }
// Using -mno-abicalls avoids a R_MIPS_JALR .reloc.
// { dg-additional-options "-mno-abicall... | C |
, %r0 /* disable interrupts */
/* current_thread_info()->preempt_count */
mfctl %cr30, %r1
LDREG TI_PRE_COUNT(%r1), %r19
cmpib,COND(<>) 0, %r19, intr_restore /* if preempt_count > 0 */
nop /* prev insn branched backwards */
/* check if we interrupted a critical path */
LDREG PT_PSW(%r16), %r20
bb,<,n %r20... | Assembly |
OW:
TradeShowWindowStruct tsw = (TradeShowWindowStruct) payload;
builder.writeShort(tsw.serverIndex);
break;
case SEND_TRADE_ACCEPTED:
case SEND_TRADE_OTHER_ACCEPTED:
TradeAcceptStruct ta = (TradeAcceptStruct) payload;
builder.writeByte((byte) ta.accepted);
break;
case SEND_T... | Java |
넌트. 전역 스코프 역할을 함
- 전역 환경 레코드는 전역 변수를 관리하는 전역 스코프, 전역 객체인 빌트인 전역 프로퍼티와 빌트인 전역 함수, 표준 빌트인 객체를 제공한다.
- **전역 환경 레코드 = 객체 환경 레코드 + 선언적 환경 레코드**
- 객체 환경 레코드(Object Environment Record) : 전역 객체가 관리하던 `var`키워드로 선언한 전역 변수, 함수 선언문으로 정의한 전역 함수, 빌트인 전역 프로퍼티(ex. `NaN`, `Infinity`, `undefined`)와 빌트인 전역 함수(ex. `parseInt()`, `parseFl... | Markdown |
+ deltaDistance).coerceAtLeast(0f)
pullListener.onPullProgressTop(pullProgressTop / pullThreshold)
} else if (direction == DIRECTION_BOTTOM) {
pullProgressBottom = (pullProgressBottom + deltaDistance).coerceAtLeast(0f)
pullListener.onPullProgressBottom(pullProgressBottom / pullThreshold)
}
}
ove... | Kotlin |
check("0005-03-02 00:00:00.000Z", new DateTime.utc(6, 2 - 12, 30));
}
testLocal() {
check("0099-01-01 00:00:00.000", new DateTime(99, 1));
check("0100-01-01 00:00:00.000", new DateTime(99, 1 + 12));
check("0000-01-01 00:00:00.000", new DateTime(0, 1));
check("-0001-01-01 00:00:00.000", new DateTime(0, 1 - 12... | Dart |
\\n"]
#[doc = "encoded in 2 bytes (16 bit unsigned number) \\n"]
#[doc = "1 LSB = 10 MHz \\n"]
#[doc = "For 77GHz devices(76GHz to 81GHz) \\n"]
#[doc = "Valid range: 7600 to 8100"]
#[doc = "Default value : 7600 (If API is not issued)"]
#[doc = "For 60GHz devices(57GHz to 64GHz) \\n"]
#[doc ... | Rust |
instance_id)
}
fn safe_args(&self) -> &'static [&'static str] {
self.error.safe_args()
}
}
impl<T> Serialize for WithInstanceId<T>
where
T: Serialize,
{
fn serialize<S>(&self, s: S) -> Result<S::Ok, S::Error>
where
S: Serializer,
{
self.error.serialize(s)
}
}
i... | Rust |
Size是为了点哪都能触发滚动,这样点哪都能隐藏顶栏
modifier = modifier.fillMaxSize(),
contentPadding = contentPaddingValues
) {
for(index in 0 until size) {
createItem(index)
}
}
}
LaunchedEffect(lastScrollEvent.value)... | Kotlin |
case "TIME":
// FIXME: implement ISO.8601.2004
throw new NotImplementedException();
case "URI":
return typeof(Uri);
case "UTC-OFFSET":
return typeof(UtcOffset);
default:
... | C# |
/// Add a function to the module
/// @param func the function to add
void AddFunction(const Function* func);
/// @returns the functions declared in the module
const FunctionList& Functions() const { return functions_; }
/// Clones this node and all transitive child nodes using the `CloneCont... | C |
One step (the even one) of the recurrence
d = 1 + aa * d;
if (System.Math.Abs(d) < fpmin)
d = fpmin;
c = 1d + aa / c;
if (System.Math.Abs(c) < fpmin)
c = fpmin;
d = 1 / d;
h *= d * c;
... | C# |
$3,$2,$4
or $3,$2,$3
.set push
.set noreorder
.set nomacro
bne $3,$0,$L5
move $7,$8
.set pop
lq $3,0($5)
.p2align 3
$L39:
addu $6,$6,-16
addu $5,$5,16
sltu $2,$6,16
sq $3,0($7)
.set push
.set noreorder
.set nomacro
bne $2,$0,$L5
addu $7,$7,16
.set pop
lq $2,0($5)
#nop
pnor $3,$0,$2
psubb $2,$2,$... | Assembly |
}
}
private fun eachParentFiles(root: File, processFiles: (File) -> Unit) {
var parent = root.parentFile
while (parent != null) {
processFiles(parent)
if (parent.name == Package.JCR_ROOT) {
break
}
parent = parent.parentFile
... | Kotlin |
main_userName = main_tv_name.text()
//读取聊天次数
main_msgNumber = main_st.get(main_userName) || 0
toastLog('已经跟'+main_userName+'聊了'+main_msgNumber+'次!')
if (main_msgNumber < main_talking_s... | JavaScript |
:0x4c8e0, 0x2428 bytes
// fltMgr.sys PAGE:0x4dd70, 0x2428 bytes
// fltMgr.sys PAGE:0x4c8e0, 0x2428 bytes
//
_s85(sdk::unknown_ptr) fltp_load_filter;
// [FltpLogEventWithObjectID]
// Ldr = [fltMgr.sys]
// => Windows 10 v1607, Windows 10 v2004, Windows 11, Windows 10 v20H2
// fltMgr.s... | C++ |
args);
this.code = 'EF000';
this.name = this.constructor.name;
}
}
// tslint:disable-next-line: max-classes-per-file
export class TechnicalError extends GeneralError { // System
constructor(...args: any) {
super(...args);
this.code = 'ET000';
this.name = this.constructor.name;
}
}
/**
* Fun... | Typescript |
]) +
flt[ 6 ] * ( rp[ 7 ] + rp[ -6 ]) +
flt[ 7 ] * ( rp[ 8 ] + rp[ -7 ]) +
flt[ 8 ] * ( rp[ 9 ] + rp[ -8 ]) +
flt[ 9 ] * ( rp[ 10 ] + rp[ -9 ]) +
flt[ 10 ] * ( rp[ 11 ] + rp[ -10 ]);
R8BHBC2
R8BHBC1( convolve12 )
flt[ 0 ] * ( rp[ 1 ] + rp[ 0 ]) +
flt[ 1 ] * ( rp[ 2 ] + rp[ -1 ]) +
fl... | C |
t of the subject by an unexpected fall, impact, cave-in or takedown.
Over-exerted - Last stage of tiredness, caused by for example drawn-out combat
Exhausted - Second stage of tiredness. Reduces speed.
Tired - Caused by executing many actions in short time
Lost - What you lose part of, or all of a part of the body en... | Lua |
t { observable, Observable, Observer } from 'rxjs';
import { CustomObserver } from './custome.observer';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent implements OnInit {
custOb!: CustomObserver;
ngOnInit(): void {
... | Typescript |
128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"],cocktail:[576,512,[],"f561","M296 464h-56V338.78l168.74-168.73c15.52-15.52 4.53-42.05-17.42-42.05H24.68c... | JavaScript |
C8 */ psq_st f24, 200(r1), 0, qr0
/* 802CF888 002CC688 39 61 00 C0 */ addi r11, r1, 0xc0
/* 802CF88C 002CC68C 48 0D E2 C9 */ bl _savegpr_27
/* 802CF890 002CC690 7C 7C 1B 78 */ mr r28, r3
/* 802CF894 002CC694 C3 E2 CF 90 */ lfs f31, lbl_805E3690@sda21(r2)
/* 802CF898 002CC698 C0 22 CF B4 */ lfs f1, lbl_805E36B4@sda... | Assembly |
et buyer = T::Lookup::lookup(offer_owner)?;
Offers::<T, I>::try_mutate_exists(
buyer.clone(),
offer_id,
|maybe_offer| -> DispatchResult {
let offer = maybe_offer.as_mut().ok_or(Error::<T, I>::OfferNotFound)?;
if let Some(ref deadline) = offer.deadline {
ensure!(
<frame_system::Pa... | Rust |
++dim){
start_index[dim] = 1;
end_index[dim] = (dim == dimension - 1) ? 2 : (size[dim] - 1);
}
for(size_type dim = 0;dim < dimension;++dim){
key_type offset_proxy;
offset_proxy[dim] = 1;
const int off = &(data[offset_proxy]) - origin;
for(size_type n_iter = 0;n_iter < 2;++n_iter){... | C |
Locales["es"] = {
["sex"] = "Sexo",
["mom"] = "Herencia de la Madre",
["dad"] = "Herencia del Padre",
["resemblance"] = "Parecido",
["skin_tone"] = "Tono de piel",
["nose_1"] = "Ancho de la Nariz",
["nose_2"] = "Altura del pico de la Nariz",
["nose_3"] = "Longitud del pico de la Nariz",
... | Lua |
.widget-box .widget-inner {
padding: 15px;
}
.fc-toolbar button{
font-size: 12px;
padding: 8px 10px;
}
.widget-box .wc-title{
padding: 15px 15px;
}
.widget-box .wc-title h4 {
font-size: 16px;
}
.ttr-wrapper {
padding-left: 0px;
padding-right: 0px;
}
.card-courses-media {
width: 140px;
min-... | CSS |
}
// check for no more cells
if arr[0][0] != '_' && arr[0][1] != '_' && arr[0][2] != '_' &&
arr[1][0] != '_' && arr[1][1] != '_' && arr[1][2] != '_' &&
arr[2][0] != '_' && arr[2][1] != '_' && arr[2][2] != '_' {
out = 'T';
}
out
}
// main game function
fn play_game() ... | Rust |
en
electrics.values['auto_r'] = 1
else
electrics.values['auto_r'] = 0
end
if gearA >= 0.3 and gearA < 0.51 then
electrics.values['auto_n'] = 1
else
electrics.values['auto_n'] = 0
end
if gearA >= 0.51 and gearA < 0.68 then
electrics.values['auto_d'] = 1
... | Lua |
PixelColor,
{
fn with_style(mut self, style: Style<C>) -> Self {
self.style = style;
self
}
fn with_stroke(mut self, color: Option<C>) -> Self {
self.style.stroke_color = color;
self
}
fn with_stroke_width(self, _width: u8) -> Self {
// Noop
self... | Rust |
* wB - m_a1 * wA;
final Vec3 Cdot = pool.popVec3();
Cdot.set(Cdot1.x, Cdot1.y, Cdot2);
final Vec3 f1 = pool.popVec3();
final Vec3 df = pool.popVec3();
f1.set(m_impulse);
m_K.solve33ToOut(Cdot.negateLocal(), df);
// Cdot.negateLocal(); not used anymore
m_impulse.addLocal(df);
if (m_limitS... | Java |
then
return false;
end
local displayedInvite;
if unit and (not IsInGroup()) and UnitInAnyGroup(unit, LE_PARTY_CATEGORY_HOME) then
--Handle the case where we don't have SocialQueue data about this unit (e.g. because it's a random person)
--in the world. In this case, we want to display REQUEST_INVITE if they'r... | Lua |
6 94.8-43.8L336 360.7l0 118.5z"]},kO={prefix:"fas",iconName:"arrow-up-from-water-pump",icon:[576,512,[],"e4b6","M112 0C85.5 0 64 21.5 64 48l0 208-16 0c-26.5 0-48 21.5-48 48l0 96c0 8 2 15.6 5.4 22.2c3.8-1.7 7.8-3.1 12-4.1c13.1-3.1 26.7-9.8 37.3-18.6c22.2-18.7 54.3-20.1 78.1-3.4c18 12.4 40.1 20.3 59.2 20.3c21.1 0 42-8.5 ... | JavaScript |
ahoma,arial,helvetica,sans-serif;
}
.x-tip .x-tip-ml {
background-color: #fff;
}
.x-tip .x-tip-header-text {
font: bold 11px tahoma,arial,helvetica,sans-serif;
color:#444;
}
.x-tip .x-tip-body {
font: normal 11px tahoma,arial,helvetica,sans-serif;
color:#444;
}
.x-form-invalid-tip .x-tip-tc, .x-form... | CSS |
transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.el-collapse{border-top:1px solid #EBEEF5;border-bottom:1px solid #EBEEF5}.el-collapse-item.is-disabled .el-collapse-item__header{color:#bbb;cursor:not-allowed}.el-collapse-item__header{display:-webkit-box;display:-ms-flexbo... | CSS |
import frappe
def execute():
frappe.reload_doc("stock", "doctype", "quality_inspection_parameter")
params = set()
# get all parameters from QI readings table
for (p,) in frappe.db.get_all(
"Quality Inspection Reading", fields=["specification"], as_list=True
):
params.add(p.strip())
# get all parameters fr... | Python |
};
let mut rng = thread_rng();
let dist = Uniform::new(-10.0, 10.0);
loop {
let a: f64 = dist.sample(&mut rng);
let b: f64 = dist.sample(&mut rng);
let c: f64 = dist.sample(&mut rng);
let d: f64 = dist.sample(&mut r... | Rust |
SinkTwinSse_Buffer value)? buffer,
TResult Function(KitchenSinkTwinSse_Enums value)? enums,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;
}
/// @nodoc
abstract class $KitchenSinkTwinSseCopyWith<$Res> {
factory $KitchenSinkTwinSseCopyWith(
KitchenSinkTwinSse value, $Re... | Dart |
ing, blocks: MutableBlockList): Future<Void?>
/**
* See [NotionClient.Blocks.appendBlockList].
*/
fun appendBlockList(parentId: UuidString, blocks: BlockListProducer): Future<Void?>
/**
* See [NotionClient.Blocks.getBlock].
*/
fun getBlock(id: UuidSt... | Kotlin |
parseId = (id: number): string => `${id || ''}`;
public parseItemId = (item: any): string => this.parseId(item.id);
public parseItem = (item: any): T => item as T;
protected get storeModel(): IStoreModel<T> {
if (!storeGlobal.data[this.apiPath]) {
storeGlobal.data[this.apiPath] = {};
}
return... | Typescript |
eporter(),
AuditReporterOption.ReliableQueue => new QueuedAuditReporter(container,
container.GetRequiredService<IHostSettings>()),
_ => throw new ArgumentOutOfRangeException(nameof(options.MetricReporting))
};
}
// ReSharper disable once UnusedParameter.Local
... | C# |
r29
.word 0xfc448000 ! 5323: LDSW_R ldsw [%r18 + %r0], %r30
.word 0xb625208a ! 5325: SUB_I sub %r20, 0x008a, %r27
.word 0xbd34e001 ! 5326: SRL_I srl %r19, 0x0001, %r30
T1_irf_ce_436:
!$EV error(1,expr(@VA(.MAIN.T1_irf_ce_436), 16, 16),1,IRF,ce,21,37, x,x,x, x,x,x)
.word 0xbd3c3001 ! 5328: SRAX_I srax %r16, 0x... | Assembly |
t(.nav-link):not(.brand-link):hover{color:#212529}.dark-mode.accent-fuchsia .page-item .page-link:focus,.dark-mode.accent-fuchsia .page-item .page-link:hover{color:#f22ac5}.accent-maroon .btn-link,.accent-maroon .nav-tabs .nav-link,.accent-maroon a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.... | CSS |
fo.setTransactionType(list.get(0));//上周星期一的数据
balanceInfo = getTypeBalance(oneCqHisList,balanceInfo);
balanceInfoList.add(balanceInfo);//这是上周星期一的数据
//上周星期二数据
BalanceInfo balanceInfo1 = new BalanceInfo();
balanceInfo1 = getTypeBalance(twoCqHisList,balanceInfo1);
balanceInfo1.setTransa... | Java |
kground() == cornerattr[2] then
attr_rl = {attr_rl, "bold"}
end
-- the border characters
-- @note acs character will use 2 width on borders (pdcurses), so we use acsii characters instead of them.
local iswin = os.host() == "windows"
local hline = iswin and '-' or "hline"
local vline = i... | Lua |
(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
// distributed under the License is distributed on an "AS IS" BA... | Go |
ext in bytes.
/// false if buffer was too short. Iteratively increase the size of the buffer and retry until it succeeds.
/// </returns>
/// <exceptions>
/// <remarks>
/// Formats supported:
/// default 05/25/2017 10:30:15 -08:00
/// G 05... | C# |
RXP_FRIENDLY_Farseer Nobundo|r
.turnin 9554 >> Turn in Call of Air
>>This will give you a 1 hour-long buff giving 40% movespeed and 30% attack speed. Be careful to not AFK with it
step << Shaman wotlk
.hs >> Hearth to Stormwind
step << Human Paladin
.goto StormwindClassic,38.6,26.7
>>Talk to |cRXP_FRIENDL... | Lua |
func (s *SchedulerPluginsControl) DelayPodCreationDueToPodGroup(pg metav1.Object) bool {
return false
}
func (s *SchedulerPluginsControl) NewEmptyPodGroup() client.Object {
return &schedulerpluginsv1alpha1.PodGroup{}
}
func (s *SchedulerPluginsControl) GetPodGroup(namespace, name string) (metav1.Object, error) {
p... | Go |
�道幾內亞",
"tr": "Ekvator Ginesi",
"ro": "Guineea Ecuatorială",
"ar": "غينيا الاستوائية",
"fa": "گینه استوایی",
"yue": "赤道幾內亞",
"el": "Ισημερινή Γουινέα",
}
},
{
"num_code": "232",
"alpha_2_code": "ER",
"alpha_3_code": "ERI",
"en_short_n... | Dart |
* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMConfiguration-getParameter
* @see http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMConfiguration-setParameter
*/
function domconfigwellformed1() {
var success;
if(checkInitialization(builder, "domconfigwellformed1") != null) r... | JavaScript |
background-color: @warning_color;
border: none;
}
box.dino-input-warning label {
color: mix(@warning_color, @theme_fg_color, 0.5);
}
/*Chat input error*/
box.dino-input-error frame {
border-color: @error_color;
}
box.dino-input-error frame separator {
background-color: @error_color;
border: ... | CSS |
n -- Grid for Alpha
surface.SetDrawColor( 255, 255, 255, 255 )
surface.SetMaterial( matGrid )
local size = math.max( 128, math.max( w, h ) )
local x, y = w / 2 - size / 2, h / 2 - size / 2
surface.DrawTexturedRect( x, y , size, size )
end
local panelColor = self:GetColor()
surface.SetDrawColor( pane... | Lua |
Shows', 2145.041021505376), ('Comedy', 1585.263705882353)]
================================== Ai Message ==================================
The music genres with the longest average track durations are:
1. **Sci Fi & Fantasy**: ~2911.78 seconds (48.53 minutes)
2. **Science Fiction**: ~2625.55 seconds (43.76 minutes)... | Python |
e,
},
timeout
)
}
put(url: string, options: Options): Promise<XMLHttpRequest> {
const { timeout } = options
return this.request(
url,
{
...options,
method: METHOD.Put,
},
timeout
)
}
request(
url: string,
options: Options,
timeout: number = 5000
): Promise<XMLHttpRequest> ... | Typescript |
micApplication.Current.RootVisual);
}
return scope;
}
/// <summary>
/// Creates a new scope, adding any convenience globals and modules.
/// </summary>
public ScriptScope CreateScope() {
return CreateScope(Runtime);
}
#endregio... | C# |
L_PTR
rol <PAL_PTR+1
lda <PAL_PTR
clc
adc #<palBrightTable
sta <PAL_PTR
lda <PAL_PTR+1
and #$03
adc #>palBrightTable
sta <PAL_PTR+1
inc <PALUPDATE
rts
;void __fastcall__ ppu_off(void);
_ppu_off:
lda <PPU_MASK_VAR
and #%00011000
beq @1
jsr _ppu_waitnmi
@1:
lda <PPU_MASK_VAR
and #%11100111
sta <PPU_M... | Assembly |
nth-child(3) {
background: #10b981;
}
.codeFileName {
color: #cbd5e1;
font-size: 0.875rem;
font-family: 'Monaco', 'Courier New', monospace;
}
.codeContent {
margin: 0 !important;
background: transparent !important;
}
.codeContent pre {
background: transparent !important;
margin: 0 !important;
paddi... | CSS |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IPartyMember.cs" company="SyndicatedLife">
// Copyright© 2007 - 2022 Ryan Wilson <syndicated.life@gmail.com> (https://syndicated.life/)
// Licensed under the MIT license. See ... | C# |
t {
width: 75%;
}
}
.form-label {
> * {
order: 2;
}
.form-label-required {
color: var(--clr-primary-400);
display: flex;
margin-inline: 0.25rem;
order: 1;
}
}
.form-help {
color: var(--clr-neutral-600);
margin-block-start: 0.25em;
}
.field-set {
background: var(--clr-neutral-2... | CSS |
},
/**
* <p>Removes the specified callback as an event listener for the named event.</p>
* @param {String} name <p>Name of the event.</p>
* @param {Callback<Object>} callback <p>Callback function to remove. Must be the same function passed to <code>addEventListener</code>.</p>
* @since 1.4... | JavaScript |
r();
status_t status = otfad_init_as_needed();
if (status != kStatus_Success)
{
isValid = false;
}
update_qspi_otfad_init_status(status);
}
if (!isValid)
{
return kStatus_OtfadInvalidKeyBlob;
}
#endif... | C |
Description = [[
If you choose to be a Full Caster when choosing your class, you get some benefits to casting stronger spells more often but your access to weapons, armors, and health will not be as strong as the others. You won’t be deadly with a blade but you will be a wicked spell slinger.
Full Casters focus on the... | Lua |
53,
Sack = 0xf81c,
SackDollar = 0xf81d,
SackXmark = 0xe56a,
SadCry = 0xf5b3,
SadTear = 0xf5b4,
Safari = 0xf267,
Sailboat = 0xe445,
Salad = 0xf81e,
Salesforce = 0xf83b,
SaltShaker = 0xe446,
Sandwich = 0xf81f,
Sass = 0xf41e,
Satellite = 0xf7bf,
SatelliteDish = 0xf7c... | C# |
cxsmiles('CCCC[C@H](N(C)[*])C([*])=O |$;;;;;;;_R1;;_R2;$|')
print(relabel_rgroup2index(smi))
# Get CXSMILES from SMILES
smi = get_cxsmiles_from_smi('[*:_R1]N1CCC[C@H]1C([*:_R2])=O')
print(smi)
print(combine_monomer_unused_rgroup('CCCC[C@H](N(C)[*:1])C([*:2])=O', '[*:1][H]'))
replace_unused_r_gr... | Python |
?: number;
name: string;
url: string;
description: string;
comments: IComment[];
rated: number;
keywords: ITag[];
contributions: number;
position?: ICoordinate;
}
}
import type { Sandbox } from 'typescript-sandbox'
import type { Node } from "typescript"
/** Creates a set of util funct... | Typescript |
stranhos Entalhes",
[20640] = "Balde Cefálico do Mar do Sul",
[20641] = "Botas do Mojo do Mar do Sul",
[20642] = "Túnica do Fidalgo Antiquado",
[20643] = "Casquete do Reservista da Cidade Baixa",
[20644] = "Objeto Mergulhado em Pesadelos",
[20645] = "Sussurro da Natureza",
[20646] = "Marca do Arenomoa",
[20647] = "Punh... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.