content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
blocks[j] = block
self.rcol_blocks = blocks
def output_rcol(self, filename = 'tmp-Col-Rebar_new.txt') :
#### OUTPUT tmp file and update rcol_datas
self.update_rcol()
block = self.rcol_blocks
datas = self.... | Python |
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster --
-- http://www.curse.com/addons/wow/tradeskill-master --
-- ... | Lua |
Parts.emotionSet ~= nil and self.parent.characterData.faceParts.emotionSet.onDamage ~= nil then
self:setEmotion(self.parent.characterData.faceParts.emotionSet.onDamage.rightEye, self.parent.characterData.faceParts.emotionSet.onDamage.leftEye, self.parent.characterData.faceParts.emotionSet.onDamage.mouth, 8, true)
... | Lua |
pre-configured to connect using the anonymising system Tor.</p>
<h4>Tails</h4>
<p>If you are at high risk and you have the capacity to do so, you can also access the submission system through a secure operating system called <a href="https://tails.boum.org">Tails</a>. Tails is an operating system launched from a U... | HTML |
fExpr=AT_always_inline:15:47 Extent=[159:28 - 159:44]
// CHECK: 160:11: StringLiteral="returns_twice" Extent=[160:11 - 160:26]
// CHECK: 161:11: StringLiteral="vec_type_hint" Extent=[161:11 - 161:26]
// CHECK: 162:11: StringLiteral="objc_exception" Extent=[162:11 - 162:27]
// CHECK: 162:29: DeclRefExpr=AT_objc_exceptio... | C++ |
)
;+03 Low Address of Buffer (00-FF) or Low Offset of Visible (00-FF)
;+04 High Address of Buffer (Allocate(0) or Value(01-FF) or High Offset of Visible
wmsl_iSETALL
; Fetch BufferID
lda (wmsl_Script),y
tax
; Fetch Width
iny
lda (wmsl_Script),y
sta wmsl_bp_BufferWidth,x
sta wmsl_mx_vl
; Fetch Height
iny
ld... | Assembly |
32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
</a>
</div>
<div class="HeaderMenu HeaderMenu--bright d-flex ... | CSS |
let mut rng = SmallRng::from_seed(seed.to_le_bytes());
let skew_remove: u8 = rng.gen::<u8>() % 2;
println!(
"test_simple_omap.run_with_key {} seed:{}, n_ops:{} skew_remove:{}",
prefix, seed, n_ops, skew_remove
);
let mut index: OMap<K, u64> = OMap::new();
let mut btmap: BTreeMap<K, ... | Rust |
enumeration.
<b>Windows Vista and Windows XP/2000: </b>Causes the dialog box to list the available printer and screen fonts. The <b>hDC</b> member is a handle to the device context or information context associated with the printer. This flag is a combination of the <b>CF_SCREENFONTS</b> and <b>CF_PRINTERFONTS</b> fl... | Markdown |
up {
return &whereGroup{
n: n,
expr: n.expression.CopyReset(),
}
}
type whereGroup struct {
n *WhereNode
expr stateful.Expression
}
func (g *whereGroup) BeginBatch(begin edge.BeginBatchMessage) (edge.Message, error) {
begin = begin.ShallowCopy()
begin.SetSizeHint(0)
return begin, nil
}
func (g *wher... | Go |
s)
for i := 0; i < numWorkers; i++ {
workerID := i
go func() {
var s Session
s.Init()
cd := CachedData{Memo: &memo.Memo{}}
for j := 0; j < numOpsPerWorker; j++ {
str := fmt.Sprintf("%d/%d", workerID, j)
if _, ok := c.Find(&s, str); ok {
panic("found"... | Go |
ix_hs_right .webix_hcell.webix_first{border-left:1px solid #dadee0}.webix_dtable .webix_hs_left .webix_hcell.webix_last{border-right:1px solid #dadee0}.webix_dtable .webix_hcell.webix_ss_filter{padding:0 4px}.webix_dtable .webix_hcell.webix_div_filter{padding:1px 4px}.webix_dtable .webix_dtable_subview{background:#fff}... | CSS |
.yml");
try
{
// @formatter:off
using (Fd
.UseContainer()
.UseCompose()
.FromFile(file)
.RemoveOrphans()
.WaitForHttp("wordpress",
... | C# |
识别
* 欧拉回路
* 石头剪刀布
* 拼图
* 植树造林
* 另类flappy bird
* 技巧堆箱子
* 爱消除
* 逆向运动
* 瞬间记忆
* 方向感
* 一心多用
* 匀窑
* 解锁
**/
//一笔画
this.allScenes = {};
this.allScenes['000'] = Scene_000;
... | Typescript |
j58WMYYQ3V19etTp05tq6Lp6Wkb5xxCiEfc7XZPM8a6FxcXTfX19a/1en2Gcy5qamreNjY2/qGq6joRZe12+9Tp06e3JY/FYgWPHz8+mhvr3/CWlpbk+vp6PmOseWVlBS6XS9GSJUkSdrs93NDQ8Oe+ffvC/8fJIyMjddFo9Esi6pVleVjT2m0A8Hq9zqGhIefnjoknT544A4GAM/eDbxMReFNTE0pKSpKqqsaI6Pj8/LxVVdWM3W6PfCr5xMTE1zllXS0uLn6aSqXAGxsbodPpoNfrn6uqCs75EUVRrJFIZMfevXsXdTrdxseIE4mEP... | CSS |
5 {
background-color: unset
}
._3S8RX620BmLdH407KK505 ._3cAh02omVEUuC1wX2K36Ma {
color: rgb(var(--white50));
}
._1Fru-E7WQMr8G_aR2sMg5F span {
background: rgb(var(--white10));
}
._1R7Ngck7T0RkTPGRUaq6Gr {
color: rgb(var(--white));
text-decoration: underline;
}
._1EYgVQdGSl6VonVuGGfDuy {
colo... | CSS |
you can suggest a new program. It's very low-tech and the ultimate list that's rated is an editorial thing, it's curated. The docs are on the <a href="http://this.how/bingeworthy/#1511880306000">howto page</a>. <span class="spPermaLink"><a href="http://scripting.com/2017/11/28.html#a161543" title="Direct link to this ... | HTML |
Post = async (req: Request, res: Response): Promise<any> => {
const { user } = res.locals;
const { message, topic_id } = req.body;
let error = false;
const answer: answerType = {
ok: false,
message: '',
};
if (!topic_id) {
res.sendStatus(400).send('topic_id is required')
}
const topic = a... | Typescript |
turn STATUS_ERR_DENIED;
}
/* Store the selected reference for later use */
module_inst->reference = config->reference;
#if SDADC_CALLBACK_MODE == true
for (uint8_t i = 0; i < SDADC_CALLBACK_N; i++) {
module_inst->callback[i] = NULL;
};
module_inst->registered_callback_mask = 0;
module_inst->enabled_callback... | C |
egies[strategy_name]
def initialize(self) -> None:
"""Initialize all strategies"""
for name, strategy in self.strategies.items():
try:
strategy.initialize()
self.logger.info(f"Strategy {name} initialized")
except Exception as e:
... | C |
ously.
*/
fun <T> LiveData<T>.getOrAwaitValue(
time: Long = 2,
timeUnit: TimeUnit = TimeUnit.SECONDS,
afterObserve: () -> Unit = {}
): T {
var data: T? = null
val latch = CountDownLatch(1)
val observer = object : Observer<T> {
override fun onChang... | Kotlin |
import numpy as np
from qiskit import QuantumCircuit, execute, Aer
from qiskit.visualization import plot_histogram
import matplotlib.pyplot as plt
def generate_bell_state():
"""Generate a Bell state."""
circuit = QuantumCircuit(2)
circuit.h(0) # Apply Hadamard gate to the first qubit
circuit.cx(0, 1) ... | Python |
8247, // EC00 - EDFF
19773, 8119, 8055, 7543, 19773, 7287, 7223, 7095, // EE00 - EFFF
19773, 6967, 6903, 6711, 19773, 6455, 6391, 5943, // F000 - F1FF
19773, 5815, 5751, 5623, 19773, 5431, 5367, 4600, // F200 - F3FF
19773, 4472, 4408, ... | Java |
, A); // v + A
// t = v^3+A*v^2+v = v^2*(v+A)+v
BIGNUM * t = BN_CTX_get (ctx); BN_mod_sqr (t, v, p, ctx);
BN_mod_mul (t, t, vpA, p, ctx);
BN_mod_add (t, t, v, p, ctx);
int legendre = Legendre (t, ctx);
BIGNUM * x = BN_CTX_get (ctx);
if (legendre == 1)
BN_copy (x, v);
else
{
BN_sub (x... | C++ |
a(minutes=900),
# "%Y-%m-%dT%H:%M:%S")
# res1 = env.api_adapter.get_planner_worker_job_dataset()
# env.api_adapter.set_horizon_start_minutes(
# team_id=env.api_adapter.team_id,
# start_datetime=round_2_dt
# )
# for stepi in range(nbr_2nd_step... | Python |
/*
* BSD LICENSE
*
* Copyright(c) 2022-2023 Intel Corporation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* ... | C |
earningmastery.com/calibrated-classification-model-in-scikit-learn/](https://machinelearningmastery.com/calibrated-classification-model-in-scikit-learn/)
不是直接为分类问题预测类值,而是可以方便地预测观察属于每个可能类别的概率。
预测概率允许一些灵活性,包括决定如何解释概率,呈现具有不确定性的预测,以及提供更细致的方式来评估模型的技能。
与每个类的概率的预期分布匹配的预测概率被称为校准的。问题是,并非所有机器学习模型都能够预测校准概率。
有一些方法既可以诊断校准的预测概率,... | Markdown |
File => GenericPage {
title: En.files(),
link: format!("{}/Special:ListFiles", wiki.site()),
desc: None,
},
Template => GenericPage {
title: En.templates(),
link: format!("{}... | Rust |
.82C13.734 9.324 13.59 8.932 13.302 8.644C13.022 8.356 12.646 8.212 12.174 8.212H10.434V11.428Z" fill="var(--color-text)"></path></g><g id="icon-16384"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 ... | HTML |
#!/usr/bin/env python3
import rospy
from dynamic_reconfigure.server import Server
from spliner_planner.cfg import dyn_avoidance_tunerConfig
def callback(config, level):
config.evasion_dist = round(config.evasion_dist, 2)
config.obs_traj_tresh = round(config.obs_traj_tresh,2)
config.spline_bound_mindist = r... | Python |
duplicate keys, join entries will be multiplied, like it happens in SQL:
* ```
* [1,2,2] left join [2,2,3] = [{1,null}, {2,2}, {2,2}, {2,2}, {2,2}]
* ```
* Example of usage:
* ```
* let collectionA = [{a: 1, b: "val 1",}, {a: 2, b: "val 2",}, {a: 3, b: "val 3",}];
* let collectionB = [{a: 1, b: "v... | Typescript |
return address;
}
if (Config.SystemBehaviorConfig.CacheEnabled)
{
return await _cacheProvider.RetrieveAsync(string.Format(CacheKey, addressId), getDepartmentGroup, CacheLength);
}
return await getDepartmentGroup();
}
public async Task<Address> SaveAddressAsync(Address address, CancellationT... | C# |
ess-icon,
#PanelUI-panic-timeframe-icon {
list-style-image: url(chrome://browser/skin/panic-panel/header@2x.png);
}
#PanelUI-panic-timeframe-icon-small {
list-style-image: url(chrome://browser/skin/panic-panel/header-small@2x.png);
}
#PanelUI-panic-actionlist-cookies {
background-image: -moz-ima... | CSS |
/*
* This file is part of the Yices SMT Solver.
* Copyright (C) 2018 SRI International.
*
* Yices 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 3 of the License, or
* (at your option) a... | C |
set -0.2em 0 0 rgba(0,0,0,0.2);}.admin-form .form-footer .button{margin-right:10px;margin-bottom:5px;}.admin-form .align-right .button{margin-right:0;margin-left:10px;}.admin-form .twitter,.admin-form .twitter:hover,.admin-form .twitter:focus,.admin-form .facebook,.admin-form .facebook:hover,.admin-form .facebook:focus... | CSS |
-> Self
{
self.sid = sid.into();
self
}
pub fn cid( mut self, cid: impl Into<Option< ConnID >> ) -> Self
{
self.cid = cid.into();
self
}
}
impl fmt::Display for PeerErrCtx
{
fn fmt( &self, f: &mut fmt::Formatter<'_> ) -> fmt::Result
{
if let Some( x ) = &self.context
{
write!( f, " Context: {... | Rust |
cript
.word banim_form_ar1_mode_attack_miss - banim_form_ar1_script
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0
.word 0 | Assembly |
ive priority represent an overall combination of
/// system quality of service attributes on a thread.
///
/// Subsequent calls to interfaces such as pthread_attr_setschedparam() that are
/// incompatible or in conflict with the QOS class system will unset the QOS
/// class requested with this interface and p... | Dart |
a0, a1
.Lswitch_just_return:
/*
* FROM: above
* IFROM: .Lswitch_entry_first_spill (via .Lhandle_error_in_switcher)
* LIVE IN: mtdc, ra, sp, gp, s0, s1, a0, a1
*
* Atlas:
* mtdc: pointer to this thread's TrustedStack
* a0, a1: return value(s) (still)
* ra, sp, gp, s0, s1: caller state
* tp, t0, t... | Assembly |
</em> "wrap" attribute is demonstrated by the following example:
</p>
<pre class="highlight lang-css">pre<c- p>[</c->wrap<c- p>]</c-> <c- p>{</c-> <c- k>white-space</c-><c- p>:</c-> pre-wrap <c- p>}</c->
</pre>
</div>
<h4 class="heading settled" data-level="16.6.1" id="white-space-model"><span class="secno">16.... | HTML |
1000000,
Output: 16384,
},
},
"amazon.nova-pro-v1:0": {
ID: "amazon.nova-pro-v1:0",
Name: "Nova Pro",
Attachment: true,
Reasoning: false,
Temperature: true,
Cost: Cost{
Input: 0.8,
Output: 3.2,
CacheRead: &[]float64{0.2}[0... | Go |
pstr += '[0,100],'
webserver.addHtml('var props=['+str(pstr)+'];')
webserver.addHtml("var ownurl='http://" + str(OS.get_ip())+":"+str(Settings.WebUIPort)+"';")
webserver.addHtml("refreshDatas();setInterval(function(){ getDatas(); }, "+ str(dashtask.interval*1000) +");</script>")
else:
webserver.TX... | Python |
2 2
stop: primal infeas has deteriorated too much, 1.1e+00
13|1.000|0.011|2.1e-04|3.1e-01|5.4e+09|-4.048675e+11 7.451302e+00| 0:0:00|
prim_inf,dual_inf,relgap = 2.12e-04, 3.08e-01, 1.34e-02
sqlp stop: dual problem is suspected of being infeasible
---------------------------------------------------------------... | HTML |
import json
from datasets import Dataset
from opencompass.registry import LOAD_DATASET
from .base import BaseDataset
@LOAD_DATASET.register_module()
class OBQADataset(BaseDataset):
@staticmethod
def load(path):
dataset_list = []
with open(path, 'r') as f:
for line in f:
... | Python |
%g1, %o0
ta T_SEND_THRD_INTR
.word 0xb295c000 ! 3479: ORcc_R orcc %r23, %r0, %r25
T3_asi_reg_rd_160:
mov 0x3, %r14
.word 0xf4db8e40 ! 3480: LDXA_R ldxa [%r14, %r0] 0x72, %r26
.word 0xf0244000 ! 3481: STW_R stw %r24, [%r17 + %r0]
.word 0xfaa44020 ! 3483: STWA_R stwa %r29, [%r17 + %r0] 0x01
T3_asi_reg_rd_161:
... | Assembly |
Jyd\n" +
"LWwSg6p8sg5z6wKrC1v47MT4DBhFX+0RUgTMUdQgYpgxGpczn+6y4zfV76064S0N\n" +
"4L/IQ+SunTW1w4yRGjB+xkyyJmWAqijG1nr+Dgkv5nxPI+9Er5lHcoVWVMEcvvRm\n" +
"6jIBQdldVlSgv+VgUnFm5wIDAQABo3cwdTAdBgNVHQ4EFgQUkV3Qqtk7gIot9n60\n" +
"jX6dloxrfMEwRwYDVR0jBEAwPoAUgiXdIaZeT3QA/SGUvh854OJVyxuhI6QhMB8x\... | Java |
sectorIndex, correctKeyB, extraKey = correctKey))
// In cases of readable keyB, tag shouldn't succeed auth at all
// yet some clones succeed auth but then fail to read any blocks.
} else if (sector.keyB?.type == ClassicSectorKey.KeyType.B
... | Kotlin |
# 直方图匹配
直方图匹配是一个过程,其中图像的直方图与另一参考(模板)图像的直方图相匹配。算法如下:
1. 将为每个图像计算累积直方图,如以下屏幕截图所示。
2. 对于任意给定的像素值*x**<sub>i</sub>*【待调整】在输入图像中,我们需要通过匹配输入图像的直方图和模板图像的直方图,在输出图像中找到对应的像素值*x**<sub>j</sub>*。
3. *x**<sub>i</sub>*像素值具有由*G(x**<sub>i</sub>**给出的累积直方图值。找到一个像素值*x**<sub>j</sub>*,使得参考图像中的累积分布值,即*H(x**<sub>j</sub>**)*等于【T28 G(x<sub... | Markdown |
4.2Y=1b $.z.2X(4.1N);9 k={2f:S,3G:S,3F:4.32,3D:4.3C,2n:S};4.1H.37.2o(k);4.G=1b $.z.1j();4.G.Z=4.Z;b.1u.1B(\\'3w\\',3a);b.1u.1B(\\'3u\\',3b);b.1u.1B(\\'3s\\',3c);b.1u.1B(\\'3q\\',3d);b.1u.1B(\\'3n\\',3f);b.3r.1B(38);$.z.1u.17([\\'3k\\',2W])};$.z.12.H.3O=B(c){9 d=4.27.28;9 e=4.29.28;9 f=4.2S;4.I=[];9 g=[];4.19=[];9 h=F.W... | HTML |
}{
{
name: "empty",
fields: fields{
client: fake.NewFakeClient(),
},
args: args{
ctx: context.TODO(),
evt: event.CreateEvent{},
q: newQueue(),
},
want: 0,
},
{
name: "non-empty",
fields: fields{
client: fake.NewClientBuilder().
WithObjects(&slinkyv1alpha1.Control... | Go |
megeSound
*/
public void setMaidDamegeSound(EnumSound maidDamegeSound) {
this.soundManager.setDamageSound(maidDamegeSound);
}
/**
* 文字列指定による音声再生
* 標準のplaySoundを呼び出すための形式を整える
*/
public void playSound(String soundName) {
this.playSound(soundName, (rand.nextFloat() - rand.nextFloat()) * 0.2F + 1.0F);
}
... | Java |
ژه، از چندین مدل یادگیری ماشین برای بررسی دقت پیشبینی استفاده شده است:
1. **رگرسیون خطی** (Linear Regression)
2. **درخت تصمیم** (Decision Tree Regressor)
3. **شبکه عصبی** (Neural Network)
در این گزارش، نتایج حاصل از هر مدل و تحلیل ویژگیهای مؤثر بر پیشبینی مصرف انرژی ارائه خواهد شد.
---
## نتایج مدلها (Not Normal... | Markdown |
SS小库,务必修改此图片地址 */
.loading{background:url(http://www.zhangxinxu.com/study/image/loading.gif) no-repeat center;}
/* 无框文本框文本域 */
.bd_none{border:0; outline:none;}
/* 绝对定位隐藏 */
.abs_out{position:absolute; left:-999em; top:-999em;}
.abs_clip{position:absolute; clip:rect(0 0 0 0);}
/*inline-block与float等宽列表*/
.inline_box{fo... | CSS |
ordo aetatis ubi est meritum fidei.
<td><b>ALCUIN</b>. Or perhaps He does not actually give him the name now, but only fixes beforehand what He afterwards gave him when He said, You are Peter, and upon this rock will I build My Church. And while about to change his name, Christ wishes to show that even that ... | HTML |
CTL,
.rom_status_reg = HDA_DSP_SRAM_REG_ROM_STATUS,
.rom_init_timeout = 300,
.ssp_count = ICL_SSP_COUNT,
.ssp_base_offset = CNL_SSP_BASE_OFFSET,
.sdw_shim_base = SDW_SHIM_BASE,
.sdw_alh_base = SDW_ALH_BASE,
.check_sdw_irq = hda_common_check_sdw_irq,
.check_ipc_irq = hda_dsp_check_ipc_irq,
.cl_init = cl_dsp_ini... | C |
parencySettings::minAlpha);
m_sliderInactiveAlpha.SetTicFreq(5);
m_sliderInactiveAlpha.SetPageSize(5);
m_sliderActiveAlpha.SetPos(255 - m_transparencySettings.byActiveAlpha);
m_sliderInactiveAlpha.SetPos(255 - m_transparencySettings.byInactiveAlpha);
UpdateSliderText(m_sliderActiveAlpha.m_hWnd);
UpdateSliderTex... | C++ |
glabel func_80115B64
/* 09E5D4 80115B64 27BDFFD0 */ addiu $sp, $sp, -0x30
/* 09E5D8 80115B68 AFBF0014 */ sw $ra, 0x14($sp)
/* 09E5DC 80115B6C 8C830000 */ lw $v1, ($a0)
/* 09E5E0 80115B70 3C0E800F */ lui $t6, %hi(D_800E98E0)
/* 09E5E4 80115B74 AFA40030 */ sw $a0, 0x30($sp)
/* 09E5E8 80115B78 00031080 */ sl... | Assembly |
pTargetStatus.Stats, bsMeta.Namespace, opt.snapshotClient)
if err != nil {
return nil, err
}
// If postBackup hook is specified, then execute those hooks after backup
if targetInfo.Hooks != nil &&
targetInfo.Hooks.PostBackup != nil &&
targetInfo.Hooks.PostBackup.Handler != nil {
klog.Infoln("Executing post... | Go |
rface
if not surface.peaceful_mode then
return
end
if not cause then
return
end
if not cause.valid then
return
end
if entity.type ~= 'unit' then
return
end
local unit_groups = {}
local position = entity.position
local units = surface.find_ent... | Lua |
<minX value="1664" />
<maxX value="1988" />
<minY value="-120" />
<maxY value="132" />
<Amplitude value="0.1" />
<XDirection value="-0.603208" />
<YDirection value="-0.797584" />
*/
}
}
} | C# |
shold = (right - left) / 2 // half the width of the last character
if (x > right - threshold) {
previousOffsetCopy -= 1
}
} ///////////////////////////////////////////////////////////////////////////////////
val previousLine = layout.getLineFor... | Kotlin |
ntal_scores.items():
emoji = {"Air": "🌪️", "Earth": "🌍", "Fire": "🔥", "Water": "🌊", "Spirit": "✨"}[element]
print(f"{emoji} {element}: {score:.1f}/100")
print(f"\n📊 BEWUSTZIJNSNIVEAU")
print(f"Gemiddelde Score: {flow_progression['average_score']:.1f}/100")
print(f"Huidige Fase: {flow_progression['phase']}... | Python |
Ok(value) => value,
Err(_) => return None,
};
let output = String::from_utf8_lossy(&*output.stdout).to_string();
if output.contains("dev") {
return Some(String::from("nightly"));
}
let regex = Regex::new(r"v[0-9]\.[0-9]\.[0-9]").unwrap();
Some(regex.find(output.as_str()).u... | Rust |
.replace,
error: {
valid: false,
error: {
badCharacter: '',
messages: [''],
offset: -1,
rawMessage: e.message,
regexID: regexPair.id
}
},
};
}
return {
find: tmpRegex... | Typescript |
false;\\n\\n$jscomp.polyfill('Set',\\n /**\\n * @param {*} NativeSet\\n * @return {*}\\n * @suppress {reportUnknownTypes}\\n */\\n function(NativeSet) {\\n\\n // Perform a conformance check to ensure correct native implementation.\\n var isConformant = !$jscomp.ASSUME_NO_NATIVE_SET && (function... | JavaScript |
_G["db"]["Countries"]["#Index"] = {
Awards = { <1>{
countryID = 86,
name = "Navegante",
nativeName = "Navegante",
picture = "Bolivia/awards/BOL-00-Navegante.png",
threshold = 400
}, <2>{
countryID = 86,
name = "Aviador Militar",
nativeName = "Aviador Militar",
picture = "Bolivia/awards/BOL... | Lua |
#import <Foundation/Foundation.h>
#import "QSObject.h"
extern NSString *QSPasteboardObjectIdentifier;
extern NSString *QSPasteboardObjectAddress;
@interface QSObject (Pasteboard) <NSPasteboardWriting>
+ (id)objectWithPasteboard:(NSPasteboard *)pasteboard;
- (id)initWithPasteboard:(NSPasteboard *)pasteboard;
- (voi... | C |
icker!.start();
}
_player.play();
break;
}
_state = value;
}
@override
ValueListenable<int?> get textureId => _textureIdNotifier;
@override
String get media => _currentMedia;
@override
set media(String value) {
setMedia(value, PlayerMediaType.video);
}
@override... | Dart |
comment.id %}">Edit |</a>
<a href="{% url 'blog:delete_comment' comment.id %}"> Delete</a>
{% endif %}
</div>
{% empty %}
<p>There are no comments yet.</p>
{% endfor %}
{% if user.is_authenticated %}
{% include "blog/post/includes/comment_form.html" %}
{% else %}
<p>Please log in to... | HTML |
nel applets cracking</A>
<BR>(Cracking Seattle Labs' SlMail 2.6 Build 1098)
<BR>by flipper - 01 January 1998<BR>
<BR><IMG SRC="bulletr.gif" tppabs="http://www.anticrack.de/fravia/bulletr.gif" ALIGN=BOTTOM BORDER=0 VSPACE=0
HSPACE=0 width="13" height="13"><A HREF="jongamcr.htm" tppabs="http://www.anticrack.de/f... | HTML |
@param typeArray 布局Id, 对应[BindingAdapter.addType]中的参数
*/
fun addType(@LayoutRes vararg typeArray: Int) {
if (typePool == null) {
typePool = mutableListOf()
}
typeArray.forEach { typePool?.add(it) }
}
//</editor-fold>
//<editor-fold desc="图片">
/**
* 将... | Kotlin |
assumeFalse("https://issues.apache.org/jira/browse/IGNITE-9224", MvccFeatureChecker.forcedMvcc());
backups = 1;
useTestCommSpi = true;
Ignite ig = startGridsMultiThreaded(2);
int contCnt = (int)U.staticField(IgniteTxManager.class, "COLLISIONS_QUEUE_THRESHOLD") * 20;
CountDow... | Java |
m3, s1*m2);
// check matrix product.
VERIFY_IS_APPROX(identity * m1, m1);
VERIFY_IS_APPROX(square * (m1 + m2), square * m1 + square * m2);
VERIFY_IS_APPROX((m1 + m2).transpose() * square, m1.transpose() * square + m2.transpose() * square);
VERIFY_IS_APPROX((m1 * m2.transpose()) * m1, m1... | C++ |
icrosoft.com/dotnet/state-of-the-windows-forms-designer-for-net-applications/).
There are several features that still need to be implemented in the OOP designer, foremost of which is supporting the use of Assistive Technologies such as NVDA, Narrator, and Jaws while using the OOP designer. As much as the team wanted t... | Markdown |
13/afero"
"github.com/stretchr/testify/require"
"github.com/BountySecurity/gbounty"
"github.com/BountySecurity/gbounty/entrypoint"
"github.com/BountySecurity/gbounty/kit/ulid"
"github.com/BountySecurity/gbounty/platform/filesystem"
"github.com/BountySecurity/gbounty/profile"
"github.com/BountySecurity/gbounty/p... | Go |
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2013 The FreeBSD Foundation
*
* This software was developed by Konstantin Belousov <kib@FreeBSD.org>
* under sponsorship from the FreeBSD Foundation.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitte... | C |
>> header;
while(!PeekForHeader(modelFile, "END")) {
modelFile >> s >> d >> cl >> value;
g_ccrDest[g_hierClass][cl][s].Add(value);
}
modelFile >> header;
modelFile >> header;
while(!PeekForHeader(modelFile, "END")) {
modelFile >> s >> d >> cl >> value;
g_dcrDest[g_hierClass][cl][s].Add(value);
}
mod... | C++ |
.37.44-1.37 1.2 0 .63.48 1.16 1.1 1.3 1.67.39 3.18 1.17 4.44 2.24h-2.05a1.25 1.25 0 1 0 0 2.5h5c.69 0 1.25-.56 1.25-1.25v-5Zm-18.14.89c-.63.4-.67 1.28-.14 1.8.45.46 1.17.5 1.71.16.98-.61 2.06-1.07 3.22-1.34.62-.14 1.1-.67 1.1-1.31 0-.75-.64-1.34-1.37-1.19-1.64.34-3.17.99-4.52 1.88Zm4.79 21.1c.62.14 1.1.67 1.1 1.31 0 .7... | C# |
="icon status published"><a><img alt="Published" src="../../mt-static/images/status_icons/success.gif"></a></span>
<span class="title">Lorem ipsum</span>
<span class="view-link"><a target="_blank"><img src="../../mt-static/images/status_icons/view.gif"></a></span>
</td>
<td class="col target... | CSS |
1603_4759_bb69_0adf0fc12b5e_e342' x='83.52' y='377.32' font-size='5.76pt' font-family='IBM Plex Sans' data-id='UConn' tooltip_fill='white'>UConn</text>
<polygon id='svg_8ea15069_1603_4759_bb69_0adf0fc12b5e_e343' points='493.04,154.60 520.86,154.60 520.80,154.59 521.02,154.59 521.24,154.54 521.45,154.46 521.64,154.35... | HTML |
uatorFieldMapping() {
offset += thrift.Binary.WriteFieldBegin(buf[offset:], thrift.LIST, 21)
listBeginOffset := offset
offset += thrift.Binary.ListBeginLength()
var length int
for _, v := range p.EvaluatorFieldMapping {
length++
offset += v.FastWriteNocopy(buf[offset:], w)
}
thrift.Binary.WriteListB... | Go |
<map name="toplevel">
<area shape="RECT" coords="0,0,99,23" href="/lurk/universe/intro.html" alt="Universe">
<area shape="RECT" coords="100,0,199,23" href="/lurk/episodes.php" alt="Episodes">
<area shape="RECT" coords="200,0,299,23" href="/lurk/making/creators.html" alt="People">
<area shape="RECT" coords="300,0,399,2... | HTML |
})
err := server.AddListener(tcp)
if err != nil {
return nil, err
}
// Allow all clients to connect with no authentication
err = server.AddHook(new(mqttauth.AllowHook), nil)
if err != nil {
return nil, err
}
mainContext, mainContextCancel := context.WithCancel(context.Background())
return &SonoffBasic... | Go |
nuGun8aSiekaDxXwrbG/zOtaOT/ss3MLSjpCLc93V2Guwy3bAa6Jd2yhObodBnOTUnLGroMtyyhOTpdhnNT0rKGfwD3f6JVZi/xSQAAAABJRU5ErkJggg==')}
@import '../global';
/**
* @class Ext.dataview.List
*/
/**
* @var {color} $list-color
* Text color for list rows.
*/
$list-color: #000 !default;
/**
* @var {color} $list-bg-color
* Backgr... | CSS |
Yml0 IE1hcmM= IGV4ZW1wdA== IFRyYWls IE1P IEhhbnM= IFdlYXBvbg== b2N1c2Vk dW1pbnVt IEplcnJ5 IGJ1c3Q= IEFH IFdpa2k= IGVuZGxlc3M= IFZsYWQ= IEJhaA== IFJhZGVvbg== a2V5cw== IFN1cnZleQ== IFZpb2w= ZGVmaW5l bGVhbg== IGNvbW1vZA== IHJldmVudWVz xY0= IGZ1cm5pdHVyZQ== IGNhc3Rpbmc= IGRpcGxvbWF0aWM= IFBsYXllcnM= IEtpbGxlZA== IG1vZGlmeQ... | JavaScript |
1,ROR #12
# qhasm: Agi1 = Esi0 & ~(Eme0 >>> 8)
# asm 1: bic >Agi1=int32#7,<Esi0=int32#3,<Eme0=int32#8,ROR #8
# asm 2: bic >Agi1=r6,<Esi0=r2,<Eme0=r7,ROR #8
bic r6,r2,r7,ROR #8
# qhasm: Agi1 ^= (Eka0 >>> 29)
# asm 1: eor >Agi1=int32#7,<Agi1=int32#7,<Eka0=int32#4,ROR #29
# asm 2: eor >Agi1=r6,<Agi1=r6,<Eka0=r3,ROR #29
... | Assembly |
forward: Int? = null,
@SerialName("mission_id")
val missionId: Int? = null,
@SerialName("redirect_url")
val redirectUrl: String? = null,
val rights: VideoRights,
val owner: VideoOwner,
val stat: VideoStat,
val dynamic: String,
val cid: Long,
val dimension: Dimension,
val prem... | Kotlin |
/*
* Copyright (c) 1988, 1990 The Regents of the University of California.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that: (1) source code distributions
* retain the above copyright notice and this paragraph in its entirety... | C |
barChangeToDisplayNoneDynamically) {
// This test is specifically checking the behavior when overlay scrollbars
// are enabled.
ENABLE_OVERLAY_SCROLLBARS(true);
WebView().MainFrameViewWidget()->Resize(gfx::Size(200, 200));
SimRequest request("https://example.com/test.html", "text/html");
LoadURL("https://e... | C++ |
print("It seems no GPXDocument was stored yet: $e");
return null;
}
}
String getCurrentDate() {
DateTime dateTime = DateTime.now();
String formattedDate =
"${dateTime.year % 100}/${dateTime.month.toString().padLeft(2, '0')}/${dateTime.day.toString().padLeft(2, '0')},${dateTime.hour.... | Dart |
polation',
templateUrl: './string-interpolation.component.html'
})
export class StringInterpolationComponent implements OnInit {
addedString;
stringToHide;
hideString:boolean = true;
constructor() { }
ngOnInit(): void {
this.addedString = "String added using String Interpolation";
this.stringToHide ... | Typescript |
the world, until the player has successfully sorted out all their complaints.</p>
<hr />
<div class="roadsigns">
<table><tr><td class="roadsigndirection"><a href="RB_7_1.html" class="standardlink"><img alt="arrow-up.png" src="Documentation/Images/arrow-up.png" /></a></td><td><a href="RB_7_1.html" class="standardlink">S... | HTML |
support::{assert_ok, construct_runtime, parameter_types};
use sp_core::H256;
use sp_io::TestExternalities;
use sp_runtime::{
testing::Header,
traits::{BlakeTwo256, IdentityLookup},
};
type UncheckedExtrinsic = frame_system::mocking::MockUncheckedExtrinsic<TestRuntime>;
type Block = frame_system::mocking::MockB... | Rust |
vel"] = 0,
["LFS%"] = 0,
["Manual"] = true,
["Max Range"] = 800,
["Min Range"] = 0,
["Move Forward"] = 0,
["Outside Screen"] = false,
["Passive Attr"] = "AP",
["Plus Attr"] = "AP",
["Plus Ratio"] = 1,
["Point Effect"] = "eff_point_QOP_ult.cha",
["Point Z... | Lua |
#coding=utf-8
import face_comm
import face_detect
import cv2
import numpy as np
import os
import time
import random
class Alignment:
def align_face(self,opic,faceKeyPoint):
img = cv2.imread(opic)
faceKeyPoint = faceKeyPoint[0]
#根据两个鼻子和眼睛进行3点对齐
eye1 = faceKeyPoint[0]
... | Python |
izacion a traves del parametro Object ID
router.put('/users/:id', async (req, res) => {
const usuario = await UserModel.findByIdAndUpdate(req.params.id, req.body,{new: true});
res.json({
"Usuario Actualizado": usuario
});
});
//Eliminacion a traves del parametro Object ID
router.delete('/users/:i... | Typescript |
0 18 */ stw r3, 0x18(r29)
/* 803B557C 003B11DC 90 7D 00 1C */ stw r3, 0x1c(r29)
/* 803B5580 003B11E0 90 1D 00 08 */ stw r0, 8(r29)
lbl_803B5584:
/* 803B5584 003B11E4 39 61 00 50 */ addi r11, r1, 0x50
/* 803B5588 003B11E8 4B E1 1B C5 */ bl _restgpr_17
/* 803B558C 003B11EC 80 01 00 54 */ lwz r0, 0x54(r1)
/* 803B5590... | Assembly |
splay="inline"><semantics id="id46.6.6.1.1.1b"><mrow id="id46.6.6.1.1.1.1.2"><mo stretchy="false" id="id46.6.6.1.1.1.1.2.1">(</mo><mn id="id46.6.6.1.1.1.id1" xref="id46.6.6.1.1.1.id1.cmml">1.2</mn><mo stretchy="false" id="id46.6.6.1.1.1.1.2.2">)</mo></mrow><annotation-xml encoding="MathML-Content" id="id46.6.6.1.1.1c">... | HTML |
|
| smovecr.sa 3.1 12/10/90
|
| The entry point sMOVECR returns the constant at the
| offset given in the instruction field.
|
| Input: An offset in the instruction word.
|
| Output: The constant rounded to the user's rounding
| mode unchecked for overflow.
|
| Modified: fp0.
|
|
| Copyright (C) Motorola, Inc. 1990
|... | Assembly |
a5eefe43dde748f269d39e96458/specification/cosmos-db/resource-manager/Microsoft.DocumentDB/stable/2025-04-15/examples/CosmosDBSqlContainerCreateUpdate.json
func ExampleSQLResourcesClient_BeginCreateUpdateSQLContainer() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obt... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.