content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ame.toggleMiniAbility);
ScriptHawk.UI:checkbox(10, 4, "Draw Map Checkbox", "Draw Map");
ScriptHawk.UI:checkbox(10, 5, "Draw Collision Checkbox", "Draw Collision");
end
Game.OSD = {
{"Level", Game.getMapOSD},
{"Tile Map", hexifyOSD(Game.getTilemapPointer)},
{"IGT", Game.getIGT, Game.blueWhenInfinites},
{"Health",... | Lua |
print(" 🗙 Test messages vides...")
empty_tests = ["", " ", "\n\n", "\t\t", " \n \t "]
empty_success_count = 0
for i, empty_msg in enumerate(empty_tests):
response = chatbot.obtenir_reponse(empty_msg, f"edge_empty_{i}")
if response ... | Python |
/************************************************************************/
/* rop-tool - A Return Oriented Programming and binary exploitation */
/* tool */
/* */
/* Copyright 2013-20... | C |
事件A与B为独立的,否则称为相关的。
独立性是一个对称关系,即:
p(A\cap B) = P(A) P(B) \implies P(B|A) = P(B) \land P(A|B) = P(A)
## 独立重复试验,二项分布
定义 设S为有限概率空间,称S的有限n元组构成的概率空间Sn为n个独立重复试验的空间,且n元组的概率定义为其每个分量的概率的乘积:
$$
P((s_1, s_2, \cdots, s_n)) = P(s_1)P(s_2)\cdots P(s_n)
$$
**两个结果的重复试验,Bernouli试验**
考察只有两个结果的试验,这样的独立的重复试验称为Bernouli试验。
独立试验是指任何试验的... | Markdown |
//
// ClassDump By HuangBai Private
// Copyright (C) 1997-2019 Steve Nygard. Updated HuangBai-2024
//
@class MISSING_TYPE;
@interface _TtC6WeChat32MagicBrushNanoDemoViewController
{
MISSING_TYPE *rt;
MISSING_TYPE *canvasMap;
MISSING_TYPE *jvm;
MISSING_TYPE *ctx;
MISSING_TYPE *thread;
}
- (void)... | C |
, 500
@app.route('/health')
def health_check():
"""健康检查端点"""
try:
# 检查存储是否可用
storage.get_all_groups()
return jsonify({
"status": "healthy",
"storage": "connected",
"timestamp": datetime.utcnow().isoformat(),
"environment": "vercel" if os.g... | Python |
a_open,
.release = ucma_close,
.write = ucma_write,
.poll = ucma_poll,
.llseek = no_llseek,
};
static struct miscdevice ucma_misc = {
.minor = MISC_DYNAMIC_MINOR,
.name = "rdma_cm",
.nodename = "infiniband/rdma_cm",
.mode = 0666,
.fops = &ucma_fops,
};
static ssize_t show_abi_version(struct device *... | C |
disabled),a.dt-button:active:not(.disabled),a.dt-button.active:not(.disabled),input.dt-button:active:not(.disabled),input.dt-button.active:not(.disabled){background-color:rgba(0, 0, 0, 0.1);background:-webkit-linear-gradient(top, rgba(179, 179, 179, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);background:-moz-linear-gradient(top,... | CSS |
8-5 .647-1.505 1.783-2.784 3.228-3.672L1 2.1l.707-.707zM5 8c0-.546.146-1.058.4-1.5l4.1 4.1A3 3 0 015 8zM5.151 3.444l1.76 1.76a3 3 0 013.885 3.885l2.344 2.344C14.41 10.561 15.41 9.375 16 8c-1.258-2.927-4.364-5-8-5-.999 0-1.958.156-2.849.444z'/%3e%3c/svg%3e");
mask-image: url("data:image/svg+xml,%3csvg fill-rule='eve... | CSS |
ED_HEIGHT = 136;
private static final double MIN_WINDOW_HIGHT = SUBSCRIPTION_PANE_MIN_EXPANDED_HEIGHT;
private static final double MIN_WINDOW_WIDTH = 300;
private final static Logger logger = LoggerFactory.getLogger(MqttConnectionController.class);
@FXML
private AnchorPane connectionPane;
@FXML
private S... | Java |
dding:0;}</style><a href='/amazonfresh'><img src='//images-na.ssl-images-amazon.com/images/G/01/omaha/images/yoda/flyout_72dpi._V270255989_.png' /></a>"}}}},"kindleTimeout":{"template":{"name":"flyoutError","data":{"error":{"paragraph":"Unable to retrieve list, please try again later"}}}},"shopAllTimeout":{"template":{... | HTML |
sm.sendSay("When you are finished, you will find that the true Empress of Maple World is not Cygnus, but Hilla.")
sm.flipDialoguePlayerAsSpeaker()
sm.sendSay("(Gaston should be ready about now. Time to take the plunge!)")
sm.showFieldEffect("phantom/phantom", 0)
sm.forcedInput(0)
sm.sendDelay(1500)
sm.sendNext("Jum... | Python |
-padding"][1],D=v["icon-text-fit-padding"][2],I=v["icon-text-fit-padding"][3],P="width"===v["icon-text-fit"]?.5*(L-M):0,O="height"===v["icon-text-fit"]?.5*(E-w):0,F="width"===v["icon-text-fit"]||"both"===v["icon-text-fit"]?E:w,R="height"===v["icon-text-fit"]||"both"===v["icon-text-fit"]?L:M;h=new a(A+O-I,S+P-C),d=new a... | HTML |
ommand = new PublishCommand(testAsset);
var tfm = ToolsetInfo.CurrentTargetFramework;
var rid = RuntimeInformation.RuntimeIdentifier;
publishCommand
.Execute(
"/p:SelfContained=true",
$"/p:TargetFramework={tfm}",
... | C# |
{
"@type": "BlogPosting",
"headline": "Coming this April, HBO NOW will be available exclusively in the U.S. on Apple TV and the App Store.",
"datePublished": "2015-03-09T13:08:00-07:00",
"articleBody": "It's $14.99 a month.... | HTML |
char * mBuffer; // offset 0x14, size 0x4
unsigned char mBufferOwner; // offset 0x18, size 0x1
int mSize; // offset 0x1C, size 0x4
};
class DataNetLoader {
// total size: 0x8
class NetLoader * mLoader; // offset 0x0, size 0x4
class DataArray * mData; // offset 0x4, size 0x4
};
class StorePreview... | C++ |
.use_kps:
kpss = kpss[order,:,:]
kpss = kpss[keep,:,:]
else:
kpss = None
```
- Combine and flatten the scores and bounding boxes from all feature maps.
- Sort detections by their confidence scores in descending order.
- Apply the non-maximum suppression (NMS) to remove overlapping bo... | Markdown |
件类型中推断一个待定的类型,并将其赋值给声明的类型变量。这使得我们可以在条件类型中使用这个推断出的类型进行进一步的类型操作。
需要注意的是,`infer`关键字只能在条件类型的右侧使用,用于声明一个待推断的类型变量,而不能在其他地方使用。此外,每个条件类型只能使用一次`infer`关键字,并且通常与泛型一起使用。
`infer`关键字是 TypeScript 中用于提取并推断待定类型的工具。它允许我们在条件类型中声明一个类型变量,用于在类型推断过程中捕获和使用待推断的类型,从而使类型系统更加灵活和强大。
## 模板字面量类型(Template Literal Types)
模板字面量类型(Template Litera... | Markdown |
8
SHLL $0x05, R8
ORL R8, DI
MOVB DI, (AX)
ADDQ $0x02, AX
JMP lz4_snappy_loop
emit_copy_three_lz4_s2:
LEAL -2(DI), DI
MOVB DI, (AX)
MOVW R8, 1(AX)
ADDQ $0x03, AX
JMP lz4_snappy_loop
lz4_snappy_done:
MOVQ dst_base+0(FP), CX
SUBQ CX, AX
MOVQ SI, uncompressed+48(FP)
MOVQ AX, dstUsed+56(FP)
RET
lz4_snap... | Assembly |
DisjointFromClause::new(cls.into_py(py))).map(TypedefClause::DisjointFrom)
}
TransitiveOver(r) => {
Py::new(py, TransitiveOverClause::new(r.into_py(py))).map(TypedefClause::TransitiveOver)
}
EquivalentToChain(r1, r2) => Py::new(py, EquivalentToChainClause... | Rust |
default="", nargs='?', action="store",
help='name of the model to download')
args = parser.parse_args()
models = []
save_dir = args.save_dir
selected_model_name = args.model_name
models.extend(parseMetalinkFile('face_detector/weights.meta4', save_dir))
models.extend(pars... | Python |
.1792974089969798],["APT Online: $15 Sunday Mega Bounty [Big Bounties] (20241201)",8968,4056,0.33333333333333326,0.15075825156110612],["$10 Mega to $108 Sunday Showdown,12 Seats (20241201)",247,27,7.56,0.8263967611336033],["$3 Ultra Sat to $54 Bounty Hunters Sunday Main,60 Seats (20241201)",3227,49,10.799999999999999,0... | HTML |
弟子有一事不明,修仙该用何法?</p>
<p>常文:修仙并无速成之法,若要修仙,或服食外丹,或养炼内丹,或行炼气导引之术,或除妖伏魔积累功德,此四法均可,但所费时日不菲,需有恒心毅力者方可成功。</p>
<p>守相:弟子明白,多谢师父教诲~</p>
<br />
<p>蔡其光:蜀山厨房的斋菜别有一番风味,我最爱吃了,平时在家里鸡鸭鱼肉吃腻了,来这里吃吃斋,换换口味~</p>
<p>蔡其光:最近蜀山的天气很反常,莫非是哪位仙人在修炼高深的仙术?这……我可就不清楚了……</p>
<br />
<p>宁化:绿萝伤可是福地之一啊!我可是一直想去看看,可是没机会,你要是……</p>
<p>南宫煌:绿萝伤~~~</p>
<p>宁化:呸,你敢笑我... | HTML |
loop.
//
// The intention is to optimise loop nests like this, which together access an
// array linearly:
//
// for (int i = 0; i < N; ++i)
// for (int j = 0; j < M; ++j)
// f(A[i*M+j]);
//
// into one loop:
//
// for (int i = 0; i < (N*M); ++i)
// f(A[i]);
//
// It can also flatten loops where the ... | C++ |
�:还好啦,这种诱惑,我还是可以抵挡的!没有关系~~</p>
<br />
<p>太阴归尘贰</p>
<br />
<p>温慧:那是什么,好大哦,是活的吗?</p>
<p>魁妖:呃!是活的。</p>
<p>温慧:喂!你挡到路了!</p>
<p>魁妖:我知道,呃——</p>
<p>温慧:知道就让开啊!</p>
<p>魁妖:让不开,呃。</p>
<p>温慧:你!?</p>
<p>王蓬絮:麻烦你挪一挪身子,让我们过去好不好?</p>
<p>魁妖:不行啊,我不能动,呃——</p>
<p>王蓬絮:为什么不能动呢?我们可以帮忙吗?</p>
<p>魁妖:不能动就是不能动,呃——还有什么为什么。</p>
<p>星璇:你不要敬酒不吃吃罚酒。</p>
... | HTML |
f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0,startColorstr='#f2f2f2',endColorstr='#cccccc')}.cke_toolbox_collapser.cke_toolbox_collapser_min{margin:0 2px 4px}.cke_rtl .cke_toolbox_collapser{float:left}.cke_toolbox_collapser .cke_arrow{display:inline-block;height:0;width:0;font-size:0;ma... | CSS |
longjmp and sigcode.
; rfb - rab > windowsize => we are in spill
; rfb - rab < windowsize => we are in fill
; gr1 + 8 > rfb => we are in long-longjmp case
; In case of spill, fill and lonjmp; rab is modified first,
; so if we are in one of these critical sections,
; we set rab to rfb - WINDOWSIZE.
;
.equ SIGC... | Assembly |
Çevir","Status line":"Durum çizgisi",Appearance:"Görünüm",money:"Para",pips:"Pip",ticks:"Kademeler","Ticker and description":"Sembol ve açıklama","change chart background color":"grafik arka plan rengini değiştir","change chart background type":"grafik arka plan türünü değiştir","change vert grid lines color":"dikey ı... | HTML |
Give the ownership of the mutex to `task`.
///
/// The task must be in Running or Waiting state.
#[inline]
fn lock_core<Traits: KernelTraits>(
mutex_cb: &'static MutexCb<Traits>,
task: &'static task::TaskCb<Traits>,
mut lock: klock::CpuLockTokenRefMut<'_, Traits>,
) {
debug_assert_matches!(
tas... | Rust |
each media group
*/
export const forEachMediaGroup = (main, callback) => {
if (!main.mediaGroups) {
return;
}
['AUDIO', 'SUBTITLES'].forEach((mediaType) => {
if (!main.mediaGroups[mediaType]) {
return;
}
for (const groupKey in main.mediaGroups[mediaType]) {
for (const labelKey in mai... | JavaScript |
plate<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE float predux_mul<cl::sycl::cl_float4>(const cl::sycl::cl_float4& a) {
return a.x() * a.y() * a.z() * a.w();
}
template<> EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE double predux_mul<cl::sycl::cl_double2>(const cl::sycl::cl_double2& a) {
return a.x() * a.y();
}
template<>... | C |
]
[dependencies]
whizzo = "0.1.0"
parse-generics-poc = { version = "0.1.0", optional = true }
parse-generics-shim = "0.1.0"
parse-macros = "0.1.0"
```
Then, add the following to your crate's root module:
```ignore
#![cfg_attr(feature="parse-generics-poc", feature(plugin))]
#![cfg_attr(feature="parse-generics-poc", p... | Rust |
C: 'a + FormatConvert> NodeLoaderCommon for VideoLoader<'a, C> {
type Target = Option<Video<C::ImageResult>>;
fn on_finish(mut self) -> Result<Self::Target> {
let defaults = self.definitions.templates.templates.get(&("Video".to_owned(), "FbxVideo".to_owned())).map(|t| &t.properties);
let path ... | Rust |
-------------------------------------
void MovingLine::update(){
for(int i = 0; i < vertices.size(); i++){
ofVec2f & v = vertices[i];
v += ptrOfApp->getVelocity(v);
}
vertices[0].x = 0;
}
//--------------------------------------------------------------
void MovingLine::display(){
ofBeginShape();
ofCurveVertex... | C++ |
引而痛,甚则咳涎。
帝曰:六腑之咳奈何?安所受病?岐伯曰:五脏之久咳,乃移于六腑。
脾咳不已,则胃受之。胃咳之状,咳而呕,呕甚则长虫出。
肝咳不已则胆受之,胆咳之状,咳呕胆汁。
肺咳不已则大肠变之,大肠咳状,咳而遗失。
心咳不已则小肠受之,小肠咳状,咳而失气,气与咳俱失。
肾咳不已则膀胱受之,膀胱咳状,咳而遗溺。
久咳不已则三焦受之,三焦咳状,咳而腹满不欲食饮。
此皆紧于胃关于肺,使人多涕唾而面浮肿气逆也。
帝曰:治之奈何?岐伯曰:治脏者治其俞,治腑者治其合,浮肿者治其经。帝曰:善。
举痛论篇第三十九
黄帝问曰:余闻善言天者,必有验于人,善言古者,必有合于今;善言人者,必有厌于已。如此则道不惑而要数极,所谓明也。
今余问于夫子,令言... | HTML |
GHDirection
import org.kohsuke.github.GHException
import org.kohsuke.github.GHFileNotFoundException
import org.kohsuke.github.GHIssue
import org.kohsuke.github.GHIssueState
import org.kohsuke.github.GHLabel
import org.kohsuke.github.GHOrganization
import org.kohsuke.github.GHPullRequest
import org.kohsuke.github.GHRepo... | Kotlin |
.keyDown('z')
.keyUp('z')
.keyUp('\uE008')
.keyUp(modifierKey)
.send();
// Ignore the initial typing of 'hello'
const historyInputEventsLog = inputEventsLog.slice(10);
assert_equals(historyInputEventsLog.length, 4);
const inputTypes = ['historyUndo', 'historyRedo'];
... | HTML |
vpternlogq $150, %ymm3, %ymm9, %ymm8
vpclmulqdq $17, %ymm6, %ymm22, %ymm3
vpternlogq $150, %ymm10, %ymm7, %ymm3
vpunpcklqdq %ymm27, %ymm21, %ymm6
vpunpckhqdq %ymm27, %ymm21, %ymm7
vpxor %ymm6, %ymm7, %ymm6
vpclmulqdq $0, %ymm27, %ymm21, %ymm7
vpclmulqdq $1, %ymm6, %ymm6, %ymm6
vpclmulqdq $17, %ymm27, %ymm21, %y... | Assembly |
{
val index = name.indexOf(TYPE_CHAR)
return if (index == -1) null else name.substring(index + 1, name.length)
}
}
}
/*
* Copyright (c) 2024-2025. ForteScarlet.
*
* Project https://github.com/simple-robot/simpler-robot
* Email ForteScarlet@163.com
*
* ... | Kotlin |
d2, err := codectool.MarshalYAML(f2)
assert.Nil(t, err, msg)
var specFn func() interface{}
switch f1["kind"] {
case "Proxy":
specFn = func() interface{} {
return specs.NewProxyFilterSpec("")
}
case "RequestAdaptor":
specFn = func() interface{} {
return specs.NewRequestAdaptorFilterSpec("")
}
case ... | Go |
# -*- coding: utf-8 -*-
from pandas_ta.overlap import ma
from pandas_ta.utils import get_drift, get_offset, verify_series
def efi(close, volume, length=13, mamode='ema', drift=None, offset=None, **kwargs):
"""Indicator: Elder's Force Index (EFI)"""
# Validate arguments
length = int(length) if length and l... | Python |
Dependencies
```bash
pip install -r requirements.txt
```
#### 3. Environment Configuration
Create `.env` file with production settings:
```env
BOT_TOKEN=your_telegram_bot_token_here
```
#### 4. Setup Image Directories
Create and populate image directories on your server:
```bash
mkdir -p /root/bot/cookies/{memes_ima... | Markdown |
opui-music-icon opui-music-icon-lrc-gray" title="歌词"></span></td>\n <td width="35">\xa0</td>\n </tr>\n <tr>\n <td width="10">\n ... | HTML |
",
"Bound: v.test | 1",
"Unbound: I'm v.test2",
"Expression: v.test3 | 3!!");
// toogle aura:if to hide/show component
findDomElement(BY_BUTTON_TOGGLE).click();
waitForCondition("return $A.getRoot().find('simple') === undefined");
findDomE... | Java |
\u83b7\u53d6\u8d22\u52a1\u5206\u6790\u6570\u636e\n\u8c03\u7528get_akshare_finance_analysis\u5de5\u5177\u83b7\u53d6\u5173\u952e\u8d22\u52a1\u6307\u6807\u548c\u675c\u90a6\u5206\u6790\u6570\u636e\u3002\n```json\n[\n {\n \"name\": \"get_akshare_finance_analysis\",\n \"arguments\": {\n \"symbol\": \"601728\",\n ... | HTML |
SExp = isCompoundSExp(e.val.val2);
// const val1isCExp = isCExp(val1CExp);
// if (isCExp(val1CExp) && isEmptySExp(e.val.val2)){ // last in the list
// return makeAppExp(makePrimOp('cons'),
// [rewriteCExp(val1CExp),
// rewriteLitExp(makeLitExp(makeEmpt... | Typescript |
a-code-marker="+"><span class="pl-k">const</span> <span class="pl-v x x-first x-last">Tree</span> <span class="pl-c1">=</span> <span class="pl-kos">(</span><span class="pl-kos x x-first">{</span><span class="x x-last"> </span>tree<span class="pl-kos">,</span> onItemClick<span class="x x-first"> </span><span class="pl-k... | HTML |
using JT808.Gateway.Client;
using JT808.Protocol.Enums;
using JT808.Protocol.Extensions;
using JT808.Protocol.MessageBody;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
na... | C# |
,isMove?:boolean) {
if(isMove){
const o=keepScroll(child)
prefix(el,child);
reverScroll(o);
}else{
prefix(el,child);
}
}
function insertAfter(pel:Node,new_el:Node,old_el:Node) {
const next=old_el.nextSibling
if(next){
pel.insertBefore(new_el,next)
}else{
pel.appendChild(new_el)
}
}
export function in... | Typescript |
12 21.75C6.61479 21.75 2.25 17.3852 2.25 12Z"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M12 11.25C12.4142 11.25 12.75 11.5858 12.75 12V17C12.75 17.4142 12.4142 17.75 12 17.75C11.5858 17.75 11.25 17.4142 11.25 17V12C11.25 11.5858 11.5858 11.25 12 11.25Z"
/>
<path
... | HTML |
豹之優雅",
["Feline Swiftness"]="豹之迅捷",
["Feral Aggression"]="野性侵略",
["Feral Charge"]="野性衝鋒",
["Feral Instinct"]="野性本能",
["Ferocious Bite"]="兇猛撕咬",
["Ferocity"]="兇暴",
["Fetish"]="塑像",
["Find Herbs"]="尋找草藥",
["Find Minerals"]="尋找礦物",
["Find Treasure"]="尋找財寶",
["Fire Blast"]="火焰衝擊",
["Fire Nova Totem"... | Lua |
/*
* R : A Computer Language for Statistical Data Analysis
* Copyright (C) 2002-2005 The R Core Team.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your... | C |
transition: opacity 0.25s ease-in, transform 0.25s ease-in !important;
}
#zen-essentials-container {
.tab-icon-overlay:is([soundplaying], [muted], [activemedia-blocked]) {
margin: 0px !important;
}
}
}
/* Better rounded workspace indicator */
@media (-moz-pref("zen.t... | CSS |
/* -*- mode: C -*-
*
* Copyright (c) 2008 The University of Utah
* All rights reserved.
*
* This file is part of `csmith', a random generator of C programs.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* ... | C |
BondLength()*0.1)
.mapToDouble(tb->tb.v())
.min();
if(!opdoff.isPresent()){
return l.stream().map(l1->l1.k()).limit(1).collect(Collectors.toList());
}
double doff=opdoff.getAsDouble();
List<Line2D> nlines= l.stream()
.... | Java |
uire__("9bf2");
var createPropertyDescriptor = __webpack_require__("5c6c");
module.exports = DESCRIPTORS ? function (object, key, value) {
return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));
} : function (object, key, value) {
object[key] = value;
return object;
};
/***/ }),
/***/ ... | JavaScript |
K15 ["Util"]
GETTABLEKS R26 R27 K38 ["ResetCustomPhysicalProperties"]
CALL R25 1 1
MOVE R26 R23
CALL R26 0 1
GETTABLEKS R27 R1 K39 ["PureComponent"]
LOADK R29 K40 ["PhysicalSettings"]
NAMECALL R27 R27 K41 ["extend"]
CALL R27 2 1
DUPCLOSURE R28 K42 [PROTO_5]
CAPTURE VAL R24
CAPTURE VAL R25
CAPTU... | Assembly |
WAIT"] = [[Aguarde...]],
["Game.Launch.IDS_BOOTS_SHUTDOWN"] = [[Desligando %s]],
["Game.Launch.IDS_ROBLOX_UNINSTALLING"] = [[Desinstalando %s...]],
["Game.Launch.IDS_ROBLOX_UNINSTALLED"] = [[%s foi desinstalado]],
["Game.Launch.IDS_BOOTS_CONFIGURING"] = [[Configurando %s...]],
["IAPExperience.Text.Test"] = [[Test ... | Lua |
acceleratorId("your_accelerator_id")
* .build());
*
* ctx.export("gaCustomRoutingEndpointsId1", ids.customRoutingEndpoints()[0].id());
* }
* }
* }
* </pre>
*
*/
public static CompletableFuture<GetCustomRoutingEndpointsResult> getCustomRoutingEnd... | Java |
)-1);
fprintf(stderr, " certificate issuer: %s\n", buf);
wolfSSL_X509_NAME_oneline(wolfSSL_X509_get_subject_name(cert), buf, sizeof(buf)-1);
fprintf(stderr, " certificate subject: %s\n", buf);
}
else
{
fprintf(stderr, " no certificate in store\n");
}
#else
fprintf(stderr,... | C++ |
41*Math.cos( 1.52699356726 + 529.6909650946 * t);
jupiter_z_1=jupiter_z_1*t;
return jupiter_z_1+jupiter_z_0;
}
@JvmStatic private fun mars_x(t: Double): Double {
var mars_x_0 = 0.0;
mars_x_0+= 0.00155429009*Math.cos( 2.17051900894 + 38.1330356378 * t);
... | Kotlin |
10100001-00011110-10010101
// CHECK-INST: add za.s[w8, 5, vgx4], { z20.s - z23.s }
// CHECK-ENCODING: [0x95,0x1e,0xa1,0xc1]
// CHECK-ERROR: instruction requires: sme2
// CHECK-UNKNOWN: c1a11e95 <unknown>
add za.s[w11, 2, vgx4], {z8.s - z11.s} // 11000001-10100001-01111101-00010010
// CHECK-INST: add za.s[... | Assembly |
{"resetLogLevels", "()V", &reset_log_levels_method};
ABORT_IF_ERROR(JniUtil::LoadStaticJniMethod(
env, log4j_logger_class_, &get_log_levels_method_desc));
ABORT_IF_ERROR(JniUtil::LoadStaticJniMethod(
env, log4j_logger_class_, &set_log_level_method_desc));
ABORT_IF_ERROR(JniUtil::LoadStaticJniMethod(
... | C++ |
filter,
Model: WA,
Models: HA,
AuthItem: GA,
auths: YA,
JSONSchema202012KeywordDescription: $j,
JSONSchema202012KeywordDefault: Kj,
JSONSchema202012KeywordProperties: Jj
},
statePlugins: {
auth: { wrapSelectors: { definitionsToAuthorize: Nj }... | JavaScript |
_smile:active,a.cke_smile:focus,a.cke_specialchar:active,a.cke_specialchar:focus{border-color:#428bca}.cke_dialog_contents a.colorChooser{display:block;margin-top:6px;margin-left:10px;width:80px}.cke_rtl .cke_dialog_contents a.colorChooser{margin-right:10px}.cke_dialog_ui_checkbox{display:inline-block;margin-bottom:5px... | CSS |
isEmptyObject } from '../utils/validator';
import { ParsedUrlQuery } from 'querystring';
import { employGuard } from '../middleware/auth-middleware';
export const EmplReimbRouter = express.Router();
const emplReimbService = AppConfig.emplReimbService;
EmplReimbRouter.get('', employGuard, async (req, resp) =>{
co... | Typescript |
et counter = Arc::new(AtomicUsize::new(0));
let mut handles = Vec::new();
for _ in 0..100 {
let key_handle = key_handle.clone();
let counter = counter.clone();
let handle = tokio::spawn(async move {
let _guard = key_handle.dagger().await;
... | Rust |
_EE.RBDOCK_S, str(_EE.RBDOCK_S_DEFAULT),
_EE.RBDOCK_P, _EE.RBDOCK_P_DEFAULT]
execution_result = self._rDock_executor.execute(command=_EE.RBDOCK,
arguments=arguments,
check=T... | Python |
_L2[14] = _L2[2] >> 0x1
end
_L2[15] = 0x3FFFFFFF & _L2[14]
_L1[5] = _L2[6]
_L1[6] = _L2[15] | 0x40000000 & (_L2[7] ~ _L2[13])
_L1[7] = _L2[7]
_L1[8] = _L2[13]
goto cont6
end
end
end
::cont3::
_L[171] = {"InvalidUtf8"}
_L[172] = {tag = _L[171]}
_L[173] = "START"
_L... | Lua |
y = self.params.api_key
}
trim_filter(params)
Users:format_to_db(params)
assert_valid(params, Users.valid_record)
-- If no role was sent, don't update it
-- This is kind of dumb since we're just setting it from nil to -1 and back
-- to nil, but I want to keep the format_to_db in case of future formatting
-- c... | Lua |
"""
Assignment lifecycle management.
This module provides high-level assignment lifecycle helpers and management operations.
"""
from ..utils import get_logger
logger = get_logger("assignments.manage")
class AssignmentManager:
"""Manage assignment lifecycle operations."""
def __init__(self, config_path=No... | Python |
index_array_helper::IndexBuffer;
use super::vertex_array_helper::FloatBuffer;
use crate::hal::{Font, Shader, WgpuLink};
use crate::prelude::{RenderSprite, SpriteSheet};
use crate::BResult;
use bracket_color::prelude::RGBA;
use wgpu::{BufferUsages, RenderPipeline};
/// Mapping between a sparse console and wgpu renderin... | Rust |
addComponentParts(World world, EaglercraftRandom random,
~ StructureBoundingBox structureboundingbox) {
> CHANGE 58 : 59 @ 58 : 59
~ private void func_175840_a(boolean worldIn, int parInt1, World parWorld, EaglercraftRandom parRandom,
> CHANGE 58 : 60 @ 58 : 59
~ private void func_175839_b(World worl... | Java |
="ng-star-inserted">Delphine</span><!----><!----><!----><!----><!----></span><!----><!----><span _ngcontent-serverapp-c3171588558> (2018). </span><span _ngcontent-serverapp-c3171588558 class="bold">Processing Bio-Argo particle backscattering at the DAC level. </span><span _ngcontent-serverapp-c3171588558 class="ng-st... | HTML |
�",
["𫬶"] = "口扌巛",
["𫬷"] = "口馬大可",
["𫬸"] = "壴口一田",
["𫬹"] = "口一丶",
["𫬺"] = "口艹句言",
["𫬻"] = "口目目又",
["𫬼"] = "口⺈用虫",
["𫬽"] = "口口爫口",
["𫬾"] = "口金十王",
["𫬿"] = "口火火鳥",
["𫭀"] = "口臣金",
["𫭁"] = "口⻗厂止",
["𫭂"] = "囗十",
["𫭃"] = "囗冖",
["𫭄"] = "龴囗匕",
[... | Lua |
self.freezing_field_center = nil
if self.freezing_field_aura and not self.freezing_field_aura:IsNull() then
UTIL_Remove(self.freezing_field_aura)
self.freezing_field_aura = nil
end
return nil
end
end)
else
-- Reset positions
self.freezing_fie... | Lua |
/*
Copyright 2021 Bloomberg Finance L.P.
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 agree... | C |
"""
4) Al terminar un día en un colegio secundario se hace una estadística de faltas sabiendo
de cada curso:
Curso (1-5)
Presentes
Ausentes
Calcular
Por cada curso el porcentaje de presentes sobre el total
Cantidad de ausentes en el colegio
Curso con mayor cantidad de ausente
"""
try:
cantausent = 0
... | Python |
tedSet<HelmChartMetadata>>,
newEntries: MutableMap<String, SortedSet<HelmChartMetadata>>
): Pair<MutableMap<String, SortedSet<HelmChartMetadata>>, MutableMap<String, SortedSet<HelmChartMetadata>>> {
// 初次创建时需要将所有index中的全部存储
if (oldEntries.isEmpty()) {
return Pair(mutableMapOf(), ... | Kotlin |
�주를 손에 넣으면 내게 돌아오도록 하세요.",
["O"] = "먼지진흙 습지대에 있는 타베사에게 지옥의 보주를 가져가야 합니다.",
["T"] = "지옥의 보주",
},
[1955] = {
["D"] = "Now that we have a summoner\'s orb, we must exorcise the demon within it. I can do that. That\'s the easy part.$B$BYou\'re the one who has the hard job. You\'re the one who has to kill ... | Lua |
�忘记某个重要的修改。 </p>
<p>这种情况下你应该使用<a href="moving-features-between-objects/#_3">搬移函数</a>和<a href="moving-features-between-objects/#_2">搬移值域</a>把所有需要修改的代码放进同一个class。如果眼下没有合适的可以安置这些代码,就创造一 个。通常你可以运用<a href="moving-features-between-objects/#_4">将类内联化</a>把一系列相关行为放进同一个class。这可能会造成少量Divergent Change,但你可以轻易处理它。 </p>
<p>Divergent ... | HTML |
ctor/pull/320)
* Added methods `Client.GetAccessControl`, `Client.SetAccessControl`[#329](https://github.com/vmware/go-vcloud-director/pull/329)
* Added methods `VApp.GetAccessControl`, `VApp.SetAccessControl`, `VApp.RemoveAccessControl`, `VApp.IsShared` [#329](https://github.com/vmware/go-vcloud-director/pull/329)
* A... | Markdown |
required_argument, NULL, 'b' },
{ "cons-type", required_argument, NULL, 'c' },
{ "prod-count", required_argument, NULL, 'p' },
{ "help", no_argument, NULL, 'h' },
{ NULL, 0, NULL, 0 },
};
static void
usage(void)
{
errx(1, "test --cons-type=<mc|mc-mt|sc|peek|peek-clear> --prod-count=<prod thread count> [--bu... | C |
70.8,71.007998 70.8,71.066998 70.78,71.126998 70.731,71.177998 70.682,71.226998 70.622,71.257998 70.551,71.257998 z" style="fill:#231f20" />
<path d="M 65.932,23.126998 C 65.862,23.126998 65.801,23.106998 65.751,23.056998 65.701,23.007998 65.682,22.947998 65.682,22.876998 65.682,22.815998 65.702,22.746998 6... | HTML |
rng=model.rng,
steps=self.nsteps)
# compute negative phase updates
sampler_updates = self.sampler.updates()
# Compute SML cost
pos_v = data
neg_v = self.sampler.particles
ml_cost = (model.free_energy(pos_v).mean() -
model.free_en... | Python |
),
),
),
);
}
int lines;
if (widget.war?.isMainStory == true) {
_addRuns(info.domusRuns);
_addItems(info.domusItems);
_addRuns(info.rayshiftRuns);
_addItems(info.normalItems);
lines = (max(info.domusItems.length, info.normalItems.length) / countPerLine... | Dart |
logits=logits_strong)
pseudo_mask = tf.to_float(tf.reduce_max(pseudo_labels, axis=1) >= confidence)
tf.summary.scalar('monitors/mask', tf.reduce_mean(pseudo_mask))
loss_xeu = tf.reduce_mean(loss_xeu * pseudo_mask)
tf.summary.scalar('losses/xeu', loss_xeu)
# L2 regu... | Python |
chooseAll();
break;
case 3:
clearChoosed();
break;
case 4:
String cuPath = classTree.tree.getCurPath();
... | Java |
Err(JsError::new_str(
"Unknown error while creating getter setter",
))
}
} else {
Ok(())
}
}
/// get a property from an object by name
pub fn get_property_q(
q_ctx: &QuickJsRealmAdapter,
obj_ref: &JSValueRef,
prop_name: &str,
) -> Result<JSValueRef, ... | Rust |
OrMixinContext interface {
antlr.ParserRuleContext
// GetParser returns the parser.
GetParser() antlr.Parser
// IsCallbackOrInterfaceOrMixinContext differentiates from other interfaces.
IsCallbackOrInterfaceOrMixinContext()
}
type CallbackOrInterfaceOrMixinContext struct {
*antlr.BaseParserRuleContext
parser ... | Go |
ec(t[0]);if(!n)throw new Error("not a rule");return n[1]}var O=/[(),]|"(?:\\.|[^"\n])*"|'(?:\\.|[^'\n])*'|\/\*[\s\S]*?\*\//g;function k(e){if(-1===e.indexOf(","))return[e];for(var t,n=[],r=[],o=0;t=O.exec(e);)switch(t[0]){case"(":o++;break;case")":o--;break;case",":if(o)break;n.push(t.index)}for(t=n.length;t--;)r.unshi... | JavaScript |
]
,
indication:''
},
{
id:53,
title: 'Soldado de Levita',
image_path: '/assets/imagenes/brindis/soldado_de_levita.png',
text: ['\
Soy soldado de levita\n\
De esos de caballería\n\
De esos de caballería\n\
Soy soldado de levita\n\
Me incorporan a las filas\n\
Por una mujer ... | Typescript |
-- Chinese translation by Mr. Clover and Dimserene
return {
descriptions = {
Mod = {
CardSleeves = {
name = "牌套",
text = {
"{s:1.3}Adds {s:1.3,C:attention}15{} {s:1.3,E:1,C:dark_edition}Sleeves{} {s:1.3}as modifier to decks.",
... | Lua |
-5.25 5.25-13.758 0-19.008-5.246-5.246-13.754-5.246-19.004 0Zm14.207 14.219a6.649 6.649 0 0 1-9.41 0 6.65 6.65 0 0 1 0-9.407 6.649 6.649 0 0 1 9.41 0c2.598 2.586 2.598 6.809 0 9.407ZM86.43 3.672l-8.235 8.234a4.17 4.17 0 0 0 0 5.875l32.149 32.149a4.17 4.17 0 0 0 5.875 0l8.234-8.235c1.61-1.61 1.61-4.261 0-5.87L92.29 3.67... | HTML |
self.model = tf.keras.models.load_model(CFG.checkpointDir() + model_name)
self.optimizer = tf.keras.optimizers.Adam(learning_rate=CFG.lr)
callbacks, initial_epoch = self.init_model()
self.train_on_list(callbacks, initial_epoch)
ignored_fg = np.sum(self.gen_percent['gen_sp'])
to... | Python |
hese C++ new/delete operators, it is usually best
* to modify the uprv_malloc()/uprv_free()/uprv_realloc() functions in cmemory.c.
*
* Memory test on Windows/MSVC 6:
* The global operators new and delete look as follows:
* 04F 00000000 UNDEF notype () External | ??2@YAPAXI@Z (void * __cdecl operator new(... | C++ |
map((index) => table?.fields[index]);
if (!Utils.isWebGlSupport()) {
tf.setBackend('cpu');
}
}
async load(url) {
const model = await tf.loadLayersModel(url);
const modelData = new Promise((resolve) =>
model.save({
save: (data) => {
... | JavaScript |
Atr.SetAttributeProfile(attrPrf1, true); err != nil {
t.Error(err)
}
attrArgs := &utils.CGREvent{
Tenant: config.CgrConfig().GeneralCfg().DefaultTenant,
ID: utils.GenUUID(),
Event: map[string]any{
"Field1": "Value1",
},
APIOpts: map[string]any{
utils.OptsAttributesProcessRuns: 1,
utils.OptsCo... | Go |
rity_group" "web" {
name = "terraform_acceptance_test_example"
description = "Used in the terraform acceptance tests"
ingress {
protocol = "tcp"
from_port = 80
to_port = 8000
cidr_blocks = ["10.0.0.0/8"]
}
}
`
const testAccAWSSecurityGroupConfigVpc = `
resource "aws_vpc... | Go |
bgt 101f
#if MACRO_LEVEL>=2
INNER_KERNEL_GEMM_NN_4X2_LIB4C
#else
CALL(inner_kernel_gemm_nn_4x2_lib4c)
#endif
b 103f
101:
#if defined(OS_LINUX)
ldr w12, [sp, #(STACKSIZE + 32)] // n1
#else // defined(OS_MAC)
ldr w12, [sp, #(STACKSIZE + 24)] // n1
#endif
cmp w12, #3
bgt 102f
#if MACRO_LEVEL>=2
INNER_K... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.