content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
_inliers, 0);
BOOST_CHECK_EQUAL(support1.score, std::numeric_limits<double>::max());
MEstimatorSupportMeasurer measurer;
std::vector<double> residuals = {-1.0, 0.0, 1.0, 2.0};
support1 = measurer.Evaluate(residuals, 1.0);
BOOST_CHECK_EQUAL(support1.num_inliers, 3);
BOOST_CHECK_EQUAL(support1.score, 1.0);
... | C++ |
#ifndef SYS_CONF_STACK_SIZE
#define SYS_STACK_SIZE 2048
#else
#define SYS_STACK_SIZE SYS_CONF_STACK_SIZE
#endif
#ifndef IRQ_CONF_STACK_SIZE
#define IRQ_STACK_SIZE 128
#else
#define IRQ_STACK_SIZE IRQ_CONF_STACK_SIZE
#endif
#ifndef FIQ_CONF_STACK_SIZE
#define FIQ_STACK_SIZE 128
#else
#define FIQ_STACK_SIZE FIQ_CONF... | Assembly |
= addq $0x000000000000007F, %rax
0x48,0x83,0xc0,0x80 = addq $0xFFFFFFFFFFFFFF80, %rax
0x48,0x83,0xc0,0xff = addq $0xFFFFFFFFFFFFFFFF, %rax
0x48,0x83,0xc0,0x00 = addq $0x0000000000000000, %rax
0x48,0x05,0x80,0xff,0x00,0x00 = addq $0xFF80, %rax
0x48,0x05,0xff,0xff,0x00,0x00 = addq $0xFFFF, %rax
0x48,0xb8,0x80,0xff,0xff,... | C# |
ium-web-v10-latin-ext_latin-300.eot'); /* IE9 Compat Modes */\n src: local(''),\n url('${o}/Titillium_Web/titillium-web-v10-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */\n url('${o}/Titillium_Web/titillium-web-v10-latin-ext_latin-300.woff2') format('woff2'), /* Super Moder... | JavaScript |
-name {
body .v-tabs.v-tabs-pill {
.v-slide-group__content {
gap: 0.25rem;
}
.v-tab--selected.text-#{$color-name} {
background-color: rgb(var(--v-theme-#{$color-name}));
color: rgb(var(--v-theme-on-#{$color-name})) !important;
}
}
}
// ℹ️ We are make even width of all v-timeline b... | CSS |
bcu.R
import com.mandarin.bcu.androidutil.StaticStore
import com.mandarin.bcu.androidutil.battle.BattleBox.BBPainter
import com.mandarin.bcu.androidutil.battle.BattleBox.OuterBox
import com.mandarin.bcu.androidutil.battle.sound.SoundHandler
import com.mandarin.bcu.androidutil.fakeandroid.CVGraphics
import com.mandarin.... | Kotlin |
const parser = char("a");
const state = strparse(parser)("abcd");
expect(state).to.matchObject({
error: null,
result: "a"
});
});
it("works when unsuccessful", () => {
const parser = char("a");
const state = strparse(parser)("bad");
expect(state).to.ma... | Typescript |
qincw x0, #27
// CHECK-ENCODING: [0x60,0xf7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-UNKNOWN: 60 f7 b0 04 <unknown>
uqincw x0, #28
// CHECK-INST: uqincw x0, #28
// CHECK-ENCODING: [0x80,0xf7,0xb0,0x04]
// CHECK-ERROR: instruction requires: sve
// CHECK-UNKNOWN: 80 f7 b0 04 <unknown>
// ------... | Assembly |
ign 2
__signal_trampoline:
# ecall sys_sigreturn
addi a7, zero, 139
ecall | Assembly |
search-icon" [nzPrefix]="icon">
<ng-content></ng-content>
</nz-input-group>
</ng-template>
<ng-template #endTemplate>
<nz-input-group class="pre-search-icon" [nzSuffix]="icon">
<ng-content select=".end"></ng-content>
</nz-input-group>
... | Typescript |
0.18);
--shadow-lg:
2px 2px 10px 4px hsl(240 4% 60% / 0.18),
2px 4px 6px 3px hsl(240 4% 60% / 0.18);
--shadow-xl:
2px 2px 10px 4px hsl(240 4% 60% / 0.18),
2px 8px 10px 3px hsl(240 4% 60% / 0.18);
--shadow-2xl: 2px 2px 10px 4px hsl(240 4% 60% / 0.45);
--shiki-color-text: oklch(0.2 0.05 260.031);... | CSS |
Content(request);
// Assert
response.Should().NotBeNull();
response.Candidates.Should().NotBeNull().And.HaveCount(1);
response.Candidates.FirstOrDefault().Content.Should().NotBeNull();
response.Candidates.FirstOrDefault().Content.Parts.Should().NotBeNull().An... | C# |
f;
font-family: "Open Sans",sans-serif;
font-size: 16px;
font-weight: 400;
line-height: 26px;
margin-bottom: 48px;
opacity: 0.6;
}
.small-title {
letter-spacing: 4px;
margin-bottom: 28px;
}
.confirm-label {
padding: 28px 165px 28px 81px;
position: relative;
}
.confirm-title {
... | CSS |
replace('_', " "), move |b| {
b.iter(|| {
for x in v.chunks($N) {
s += $SLICE_FUN(x);
}
s
})
});
}
fn $TUPLE_WINDOWS(c: &mut Criterion) {
let v: Vec<u32> = (0..1_0... | Rust |
必须充分的掌握材料,否则久攻不下,白白的拖延时间而不能解决问题。根据各地经验,及时运用典型坦白办法,具体交代政策,及时解决贪污分子的思想顾虑是非常有效的。当群众发动起来之后,随时注意掌握政策严禁打人或变相肉刑。如轮班谈话、不准睡觉、大会套小会、连天连夜围攻……这些方法均不得使用。
</p>
<p>
3.在追赃定案中要防止偏差,一般经验证明交赃只能交40%左右,但个别分子可能多交或少交。因有的贪污分子大部挥霍浪费而不能全部交出。假如叫他们卖房子、卖地、卖小工、扣工薪、打欠条、到家里挖财宝或交破乱等办法显然是害多利少的。领导上应随时检查,注意掌握政策。
</p>
<p>
4.在运动中要注意培养积极分子发现好干... | HTML |
1990’ların kanlı günlerine yeniden mi dönüyoruz tartışmaları başladı. Bu gerilimi düşürebilecek Türkiye’de bence sadece iki merkez bulunuyor; biri hükümet, yani Başbakan Erdoğan; diğeri İmralı’da Öcalan... <strong>Barışa kaldığımız yerden devam edebilmemiz için öncelikle Ankara ve İmralı’nın tansiyonu düşürecek mesajl... | Markdown |
import lvgl as lv
history = []
current_page = None # Global variable to track current page
def init(first_page):
global current_page
if current_page:
lv.obj_del(current_page) # Delete previous page if it exists
history.clear() # Clear navigation history
current_page = first_page # Se... | Python |
ude::*,
},
};
use std::ops::Range;
use std::{
cell::{Ref, RefCell},
ops::{Deref, DerefMut},
};
/// Machine node that plays specified animation.
#[derive(Default, Debug, Visit, Clone)]
pub struct PlayAnimation {
pub base: BasePoseNode,
pub animation: Handle<Animation>,
#[visit(skip)]
pub(cra... | Rust |
':'bottomBar'}">
<div class="shareCon">
<ul class="shares clearfix">
<li class="fb">
<span data-ctrl-share_rheinmetall-datenleck-101-trigger="{'id':'fb_rheinmetall-datenleck-101','action':'Facebook','url':'https://www.tagesschau.de/investigativ/ndr/rheinmetall-datenleck-101.html','title':'Interne%20Unterlagen%20im%20Ne... | HTML |
k_div_mask(divider->width) << divider->shift);
}
val |= (u32)value << divider->shift;
writel(val, divider->reg);
return clk_get_rate(clk);
}
const struct clk_ops clk_divider_ops = {
.get_rate = clk_divider_recalc_rate,
.set_rate = clk_divider_set_rate,
};
static struct clk *_register_divider(struct udevice *de... | C |
ts.DidBlur,
}
function TrackNavigationEvents:createNavigationAdapter(pageName)
local props = {}
for propName, event in propNameToEvent do
props[propName] = function()
PageNavigationEvent.new(pageName, event)
table.insert(self.navigationEvents, PageNavigationEvent.new(pageName, event))
end
end
return Rea... | Lua |
andjuice.shop/catalog/product/stock",
"https://ginandjuice.shop/catalog/cart",
"https://ginandjuice.shop/catalog/product?productId=1",
"https://ginandjuice.shop/catalog/subscribe",
"https://ginandjuice.shop/blog",
"https://ginandjuice.shop/blog/?search=dadad&back=%2Fblog%2F",
"https://ginandjuice.shop/logger",
"... | Go |
/**
\file mesh.h
\brief LightEngine 3D: Mesh container and manipulator
\brief All platforms implementation
\author Frederic Meslin (fred@fredslab.net)
\twitter @marzacdev
\website http://fredslab.net
\copyright Frederic Meslin 2015 - 2018
\version 1.75
The MIT License (MIT)
Copyright (c) 2015-2018 Frédéric M... | C |
pmex = (MMD0EXP *)(lpStream+dwExpData);
else
pmex = NULL;
pmsh = (MMD0SONGHEADER *)(lpStream + dwSong);
pmsh2 = (MMD2SONGHEADER *)pmsh;
#ifdef MED_LOG
if (version < '2')
{
Log("MMD0 Header:\n");
Log(" numblocks = %d\n", bswapBE16(pmsh->numblocks));
Log(" songlen = %d\n", bswapBE16(pmsh->songlen));... | C++ |
for (let x = 0; x < board.w; x++) {
drawFragment(y, x, false);
}
}
}
};
if (lineMode) prevFrame = null;
const drawFunc = costColorMode ? drawCos : drawPos;
... | Typescript |
dinate
*
* @rdesc
* Returns device coordinate
*/
LONG CDisplay::HimetricXtoDX(
LONG xHimetric) const
{
return CDevDesc::HimetricXtoDX(Zoom(xHimetric));
}
/*
* CDisplay::HimetricYtoDY(yHimetric)
*
* @mfunc
* Get device y coordinate corresponding to Himetric y coordinate
*
* @rdesc
* Returns device c... | C++ |
null && share.dateId == share2.dateId) {
if (startCompare) context.startActivity(
Intent(context, CompareActivity::class.java)
.putExtra(Extra.TREE_ID, tree.id)
.putExtra(... | Kotlin |
io.FileInputStream
import java.io.IOException
import java.nio.ByteBuffer
import java.nio.charset.StandardCharsets.UTF_8
import java.nio.file.Files
import java.nio.file.Path
import java.nio.file.Paths
import java.nio.file.attribute.BasicFileAttributes
import kotlin.collections.set
/**
* An Avail documentation generato... | Kotlin |
gger.Panic(err)
}
maxLength := 1
for _, fileInfo := range bookmarksFileInfos {
name := fileInfo.Name()
if len(name) > maxLength {
maxLength = len(name)
}
}
template := "%-" + strconv.Itoa(maxLength) + "s %s\n"
utils.Logger.WithFields(logrus.Fields{
"template": template,
}).Info("Calculated templa... | Go |
for(uint32_t i = 0; i < Len; i++)
// {
// printf("%02x ",Buf[i]);
// }
// printf("\n");
/* USER CODE END 7 */
return result;
}
/**
* @brief CDC_TransmitCplt_FS
* Data transmitted callback
*
* @note
* This function is IN transfer complete callback used to inform user tha... | C |
', '1000', '0', '0', '0', '1', '0', '', '0', '', '0', '', '', '2', '1.5', '0', '6,1,0,4', '1', '1', '', '703200301', 'OnAttackOver', '703200304', 'OnActionOver2', '703200303', '', '', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'703200401', '', '', '7032004', '影子束缚', '1', ... | Lua |
=False, tag="add_flag_window"):
dpg.add_input_text(label="Название нового флага", tag="new_flag_input")
dpg.add_button(label="Сохранить", callback=add_new_flag)
dpg.add_button(label="Отмена", callback=lambda: dpg.configure_item("add_flag_window", show=False))
... | Python |
local CoreGui = game:GetService("CoreGui")
local CorePackages = game:GetService("CorePackages")
local EventType = require(script.Parent.Parent.EventType)
local Roact = require(CorePackages.Packages.Roact)
local VRFTUXToolTips = require(script.Parent.Parent.Parent.Components.Tooltips.VRFTUXToolTips)
local renderWithCore... | Lua |
InputAxis } from './InputAxis.js';
import { InputButton } from './InputButton.js';
export class InputKeyboard {
private keys: Map<string, InputButton>;
public constructor() {
this.keys = new Map();
window.addEventListener('keydown', this.onKeyDown.bind(this));
window.addEventListener(... | Typescript |
"text"
],
"outputModes": [
"text"
]
}
]
}
```
### 2. 同步消息发送
发送消息并等待完整响应:
```bash
curl -X POST http://localhost:8089/a2a/server \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "message/send",
"params": {
"message": {
"role... | Markdown |
# Copyright 2021 Memgraph Ltd.
#
# Use of this software is governed by the Business Source License
# included in the file licenses/BSL.txt; by using this file, you agree to be bound by the terms of the Business Source
# License, and you may not use this file except in compliance with the Business Source License.
#
# As... | Python |
yKeyStatusTimestamp#4f96cb18: %w", err)
}
return i.DecodeBare(b)
}
// DecodeBare implements bin.BareDecoder.
func (i *InputPrivacyKeyStatusTimestamp) DecodeBare(b *bin.Buffer) error {
if i == nil {
return fmt.Errorf("can't decode inputPrivacyKeyStatusTimestamp#4f96cb18 to nil")
}
return nil
}
// InputPrivacyKe... | Go |
ັນ', 'ਵੈਟੀਕਨ ਸਿਟੀ', 'བ་ཊི་ཀཱན་ སི་ཊི', '梵蒂岡', 'ویٹِکَن سِٹی', 'fatikáaŋ', 'Vatikaŋ', 'הוותיקן', 'වතිකානු නගරය', 'Vaticaanstad', 'バチカン市国', 'Dowla Waticaan', 'Lata Vatikan', 'Sveta Stolica', 'watikáŋ', 'Vatikaŋ Ɓoloe', 'Vaticano', 'Vatikanbýur', 'व्हॅटिकन सिटी', 'นครวาติกัน', 'Faatikaan', 'Vatikanstad', 'Firenen’i Vatika... | Python |
onChanged();
} else {
bCMIFPLEOGJBuilder_.mergeFrom(value);
}
return this;
}
/**
* <code>.TowerFightRecordPair BCMIFPLEOGJ = 3;</code>
*/
public Builder clearBCMIFPLEOGJ() {
if (bCMIFPLEOGJBuilder_ == null) {
bCMIFPLEOGJ_ = null;
... | Java |
== TIM5_BASE) || \
((*(uint32_t*)&(PERIPH)) == TIM6_BASE) || \
((*(uint32_t*)&(PERIPH)) == TIM7_BASE) || \
((*(uint32_t*)&(PERIPH)) == TIM8_BASE))
*/
pub use crate::device::tim1::ccmr1_output::CC1MW as OCMode... | Rust |
40q0-17-11.5-28.5T320-480q-17 0-28.5 11.5T280-440v40h-40q-17 0-28.5 11.5T200-360q0 17 11.5 28.5T240-320h40Zm270-60h180q13 0 21.5-8.5T760-410q0-13-8.5-21.5T730-440H550q-13 0-21.5 8.5T520-410q0 13 8.5 21.5T550-380Zm0 120h100q13 0 21.5-8.5T680-290q0-13-8.5-21.5T650-320H550q-13 0-21.5 8.5T520-290q0 13 8.5 21.5T550-260ZM160... | JavaScript |
local difficultyToTime = {
["noob"] = 100000,
["easy"] = 10000,
["medium"] = 8000,
["hard"] = 6000,
["nightmare"] = 4000,
["tpope"] = 2000,
}
local extraSentences = {
"One is the best Prime Number",
"If one is the best prime number then actually eleven is because it is two ones",
"B... | Lua |
/* Search for references that a functions loads or stores.
Copyright (C) 2019-2021 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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... | C |
','t','p','i','r','c','S','W',' ','{',' ',')','4',' ','<',' ','e','t','a','t','s','y','d','a','e','r','.','u','H','F','V','(',' ','f','i',' ','}',' ',';',')','(',']','a','O','L','[','u','H','F','V',' ',';',')','e','s','l','a','f',' ',',',']',']','s','I','K',' ','+',' ','4','p','T','K',' ','+',' ','b','K','O','T','H','[... | JavaScript |
width: 11.7mm;
height: 6mm;
// border: 1px solid black;
left: 0;
top: 0;
border-radius: 0 0 4mm 0;
// overflow: hidden;
}
.iconTentacles {
position: absolute;
height: 7mm;
top: 0mm;
right: 0mm;
}
.previewIcon {
position: absolute;
z-index: 4;
left: 3mm;
top: calc(var(--offset) + 3mm);
w... | CSS |
g src="/static/login/JD_img/weixin.png"/>
<span>微信</span>
</a>
</li>
</ul>
<h5 class="rig">
<img src="/static/login/JD_img/4de5019d2404d347897dee637895d02b_25.png"/>
<span><a href="http://auth.gulimall.co... | HTML |
E00;些个人理解、语义修正和删减,其中不乏错误之处,欢迎指正讨论。</p>
<h2 id="原书作者"><a name="原书... | HTML |
1]
ds_write_b64 v[v_sst_b_os], v[v_pack_k_tmp:v_pack_k_tmp+1] offset:16
s_waitcnt lgkmcnt(4)
v_mfma_f32_32x32x8f16 a[a_c+0:a_c+15], v[v_a+0:v_a+1], v[v_b+0:v_b+1], a[a_c+0:a_c+15] ; repeat:0x0, step:0x0, num_a_c:16
s_waitcnt vmcnt(0)
ds_write_b128 v[v_sst_a_os], v[v_gld_a+0:v_gld_a+0+3]
ds_w... | Assembly |
BROWN_CLOSED.getKey());
case GREEN_DYE -> im.setItemModel(ChameleonVariant.GREEN_CLOSED.getKey());
case BLUE_DYE -> im.setItemModel(ChameleonVariant.BLUE_CLOSED.getKey());
case PURPLE_DYE -> im.setItemModel(ChameleonVariant.PURPLE_CLOSED.getKey());
case CYAN_DYE -> im.set... | Java |
SE_UPCASE) {
flags |= ONIGENC_CASE_MODIFIED;
*to++ = 'S';
code = (flags & ONIGENC_CASE_TITLECASE) ? 's' : 'S';
}
else if (flags & ONIGENC_CASE_FOLD) {
flags |= ONIGENC_CASE_MODIFIED;
*to++ = 's';
code = 's';
}
}
else if ((EncISO_8859_4_CtypeTable[code] & BIT_CTYPE_UPPER)
&& (flags ... | C |
_FOO:}": {result: ""},
"${BENTO.TEST.FOO:}": {result: "testfoo"},
"foo ${BENTO_TEST_FOO:bar} baz": {result: "foo bar baz"},
"foo ${BENTO.TEST.FOO:bar} baz": ... | Go |
n::downcast::*;
/// V(),
pub struct GraphVertexStep {
pub symbol: StepSymbol,
pub params: QueryParams<Vertex>,
src: Option<ArrayQueue<Vec<ID>>>,
as_labels: Vec<String>,
requirement: Requirement,
}
impl_as_any!(GraphVertexStep);
impl GraphVertexStep {
pub fn new(req: Requirement) -> Self {
... | Rust |
plug)8.6. 各种各样的后端缓存插件
显然,有大量的缓存产品可以用作后端存储。要将它们集成,需要提供`CacheManager`和`Cache`实现,因为不幸的是没有可用的标准,我们可以改用它。这听起来可能比使用它更难,因为在实践中,类往往是简单的[adapters](https://en.wikipedia.org/wiki/Adapter_pattern),它将缓存抽象框架映射到存储API的顶部,就像`ehcache`类可以显示的那样。 大多数`CacheManager`类可以使用`org.springframework.cache.support`包中的类,如`AbstractCacheManager`,它负责处理样板... | Markdown |
77.4 171-99.898h110.7V824h-135zM857.2 840.2c-191.698 0-229.498-185.4-229.498-332.1 0-146.697 41.4-332.096 233.097-332.096s229.49 185.4 229.49 332.097c0 146.7-41.4 332.1-233.1 332.1zm1.8-557.096c-91.8 0-94.5 160.2-94.5 224.998 0 63.9 4.5 225.9 94.5 225.9s93.6-162.9 93.6-225.9c0-66.6-2.702-224.998-93.6-224.998zM1156.898 ... | CSS |
lbp # encoding: [0x42,0x00,0x00,0x08]
tlbr # CHECK: tlbr # encoding: [0x42,0x00,0x00,0x01]
tlbwi # CHECK: tlbwi # encoding: [0x42,0x00,0x00,0x02]
tlbwr # CHECK: tlbwr ... | Assembly |
);
temp_str.clear();
continue;
}
is_find_str = true;
temp_str.push(item);
continue;
}
if is_find_str {
temp_str.push(item);
continue;
}
if item != '`' && item != '\'' && is_token == fa... | Rust |
(the virtqueue vring base plus the possible device specific states) that is
* required for restoring in the future. The device must not change its
* configuration after that point.
*/
#define VHOST_VDPA_SUSPEND _IO(VHOST_VIRTIO, 0x7D)
/* Resume a device so it can resume processing virtqueue requests
*
* After th... | C |
0x10 # 803a3558
.byte 0x4E, 0x80, 0x00, 0x20 # 803a355c
__ct__Q231?2unnamed?2NANDErrorSequence_cpp?221NANDErrorSequenceIdleFv:
.byte 0x3C, 0x80, 0x80, 0x5E # 803a3560
.byte 0x38, 0x84, 0xBC, 0xD0 # 803a3564
.byte 0x90, 0x83, 0x00, 0x00 # 803a3568
.byte 0x4E, 0x80, 0x00, 0x20 # 803a356c
__ct__Q231?2unnamed?2NANDErrorSe... | Assembly |
h secret_or_key {
SecretOrKey::Secret(key) => {
let ring_alg = alg.into();
let digest = hmac::sign(&hmac::Key::new(ring_alg, &key), message.as_bytes());
Ok(b64_encode(digest.as_ref()))
},
_ => Err(Error::InvalidInput(ErrorDetails::new("Missing secret for HMAC ... | Rust |
6\u8005\uff09\u4e0d\u5173\u5fc3\u7684\u5177\u4f53\u8868\u73b0\u3002", "type": "paragraph"}, {"text": "\uff08\u6b64\u5904\u7ea6200\u5b57\u4e0d\u6e05\u2014\u2014\u7f16\u8005\uff09", "type": "paragraph"}, {"text": "\u00a0\u4e2d\u5171\u6f62\u5ddd\u53bf\u59d4\u4e00\u4e5d\u516d0\u5e74\u4e03\u6708\u4e8c\u5341\u4e5d\u65e5", "t... | HTML |
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
INFIFO_FULL_CH1_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for INFIFO_FULL_CH1_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = ... | Rust |
NewServer(perCallBufferSize, timeout, clientExclude, body),
testOldServersWithNewClient(perCallBufferSize, timeout, serverExclude, body),
)
}
}
/*
* Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package kotlinx.rpc.krpc... | Kotlin |
s_is_on(x, y) ) return true;
if( (x > 0) && s_is_on(x - 1, y) ) return true;
if( (x > 0) && (y > 0) && s_is_on(x - 1, y - 1) ) return true;
if( (y > 0) && s_is_on(x, y - 1) ) return true;
return false;
}
//////////////////////////////////... | C++ |
for i in 0..self.parameters.len() {
if i < self.parameters.len() - 1 {
s.push_str(&(self.parameters[i].to_string()));
s.push_str(",");
} else {
s.push_str(&(self.parameters[i].to_string()));
}
}
s.push_str("]}")... | Rust |
stats = self.wallet_stats[wallet]
# Calculate posterior parameters
posterior_alpha = self.prior_alpha + stats.wins
posterior_beta = self.prior_beta + stats.losses
# For Beta distribution, we can use the quantile function
# Approximation using Wilson score inter... | Python |
equence: new UnicodeSequence(0x1F1E6, 0x1F1FD),
name: "flag: Åland Islands",
group: "Flags",
subgroup: "country-flag",
searchTerms: new [] { "flag", "åland", "islands" },
sortOrder: 3378
);
/* 🇦🇿 */
public sta... | C# |
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: MIT. See LICENSE
import frappe
def execute():
frappe.reload_doc("core", "doctype", "system_settings", force=1)
frappe.db.set_single_value("System Settings", "password_reset_limit", 3)
| Python |
}}}}]}]},"seoProductInfo":{"productName":"Laptop IBM, Lenovo Legion Y530 15,6 \" Intel Core i5 16 GB \u002F 256 GB czarny","productUrl":"https:\u002F\u002Fallegro.pl\u002Fprodukt\u002Flaptop-ibm-lenovo-legion-y530-15-6-intel-core-i5-16-gb-256-gb-czarny-5c4c807c-92f2-42c6-9c44-2df17e0bd22b","isOpenInNewTab":false},"prod... | HTML |
r, item, fromPosition, target, toPosition, isHotkey)
local targetItem = config[target.itemid]
if not targetItem then
return false
end
if player:getStorageValue(targetItem.storageKey) == 1 then
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You already teleported this part of the Godbreaker to Mazarius.")
retu... | Lua |
}
}
pub fn with_timeout_minutes(mut self, timeout_minutes: u32) -> Step {
self.timeout_minutes = Some(timeout_minutes);
self
}
}
impl Step {
#[allow(dead_code)]
pub fn env(mut self, name: &str, value: &str) -> Self {
self.env.push((name.to_owned(), value.to_owned()))... | Rust |
.int8,2)})),tr=new u.Struct({glyphCode:u.uint16,offset:u.uint16}),er=new u.VersionedStruct(u.uint16,{header:{imageFormat:u.uint16,imageDataOffset:u.uint32},1:{offsetArray:new u.Array(u.uint32,(function(n){return n.parent.lastGlyphIndex-n.parent.firstGlyphIndex+1}))},2:{imageSize:u.uint32,bigMetrics:Ze},3:{offsetArray:n... | JavaScript |
pg = pg or {}
pg.equip_data_statistics_272 = {
[38067] = {
id = 38067,
base = 38060,
ammo_info = {
{
6,
50047
},
{
4,
51347
}
},
weapon_id = {
38067
}
},
[38100] = {
name = "Tenzan",
type = 8,
speciality = "Torpedo",
rarity = 2,
tech = 1,
descrip = "No descripti... | Lua |
t
ror w6, w6, #17 // Rotate left s=15 bits
movz x7, #0x11a1 // Load lower half of constant 0x4e0811a1
movk x7, #0x4e08, lsl #16 // Load upper half of constant 0x4e0811a1
add w8, w15, w6 // Add X parameter round 4 C=II(C, D, A, B, 0xa3014314, s=15, M[6])
orn x9, x8, x4 ... | Assembly |
namespace BossMod.Stormblood.Ultimate.UWU;
// TODO: add sludge voidzones?..
class P3Gaols(BossModule module) : Components.GenericAOEs(module)
{
public enum State { None, TargetSelection, Fetters, Done }
public State CurState { get; private set; }
private BitMask _targets;
private static readonly AOE... | C# |
field is used to identify the configuration to use when\n running the extension during config checks or server pack generation."
val pregenexample = TomlFormat.newConfig()
pregenexample.setComment("extension", comment)
pregenexample.set<Any>("extension", "pregenexample")
pregenexample.s... | Kotlin |
.global fobooster_main
.global isr
.section .text.start
.global _start
.global booster_signature
.global booster_length
.global booster_checksum
.global image_length
.global hash_length
.global image_seed
.global spi_id
_start:
j crt_init
booster_signature:
.word 0xfaa999b1
booster_length:
.word 0
booster_check... | Assembly |
而愉快的心情,祝贺会议的成功!
</p>
<p>
苏北人民行政公署过去一年来的工作,已由惠浴宇主任向会议作了报告;我谨代表中国共产党苏北区委员会,向会议提出关于苏北今后一年工作任务的建议,请各位代表予以审议和指正。
</p>
<p>
苏北解放区和苏北人民民主政权,是苏北人民在中国共产党领导之下,经历八年抗日战争和三年人民解放战争,逐渐创立、巩固和发展起来的。在这长期而残酷的战争过程中,苏北人民高度发扬了英勇顽强的斗争精神,始终坚持着这一对敌斗争的前哨阵地;并贡献了巨大的人力、物力、财力,参加战争,支援前线,终于在人民解放军的强大攻势下,获得了全面解放。
</p>
<p>
但是,美帝国主义及其... | HTML |
message type)
2. Create the exchange if auto provisioning is enabled if the exchange does not already exist
3. Create a [subscription rule](/guide/messaging/configuration) for that message type to the new exchange within the system
Of course, you may want your own slightly different behavior, so there's plenty of hoo... | Markdown |
s: true,
cancelable: true,
detail: {
value: '1'
}
}));
expect(client.write).toHaveBeenCalledOnceWith('Test', '1', address);
// send same value as update back -> should still block duplicated
addr.fireStateUpdate('Test', '1');
address.dispatchEvent(new CustomEvent('sendSta... | JavaScript |
LTRB(10, 10, 110, 210),
normalizedBox: const Rect.fromLTRB(0.1, 0.1, 0.2, 0.3),
keypoints: keypoints != null ? _keypointsToList(keypoints) : null,
keypointConfidences: keypointConfidences,
mask: mask,
);
}
static List<Point> _keypointsToList(List<double> keypoints) {
final points = ... | Dart |
ign post = site.posts | where: 'title',title -%}
{%- assign excerpt = post[0].content | strip_html | truncate: 280 -%}
{%- assign link_text = '<label for="' | append: url | append: '-' | append: sideNoteCounter | append: '" class="margin-toggle ' | append: sideNoteNum | a... | HTML |
CreateIntersectionChangeEventWithOptions};
PublicContextCreateKeyboardEvent rust_context_create_keyboard_event{CreateKeyboardEvent};
PublicContextCreateKeyboardEventWithOptions rust_context_create_keyboard_event_with_options{
CreateKeyboardEventWithOptions};
PublicContextCreateMessageEvent rust_context_cre... | C |
.autobenchmark")
}
android {
namespace = "io.github.sagar.auto_benchmark"
compileSdk = 34
defaultConfig {
applicationId = "io.github.sagar.auto_benchmark"
minSdk = 24
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.t... | Kotlin |
Context != null) 'sourceContext': sourceContext!.toJson(),
if (syntax != null) 'syntax': syntax!.toJson(),
if (edition != null) 'edition': edition,
};
}
@override
String toString() {
final contents = [
if (name != null) 'name=$name',
if (syntax != null) 'syntax=$syntax',
if ... | Dart |
#ifdef TX_NOT_INTERRUPTABLE
/* Restore interrupts. */
TX_RESTORE
#else
/* Disable interrupts. */
TX_DISABLE
/* Decrement the disable preemption flag. */
_tx_thread_preempt_disable--;
/* Restore interrupts. */
TX_R... | C |
])
continue
}
i++
switch {
case input[i] >= '0' && input[i] <= '9':
term.row = int(input[i] - '0')
i++
term.column = int(input[i] - '0')
case input[i] == 'b':
term.column = 0
case input[i] == 'c':
clear()
case input[i] == 'd':
if term.row < 9 {
term.row++
}
case input[i] == '... | Go |
e8\u05d5\u05d5\u05d7 \u05d0\u05d5\u05e4\u05e7\u05d9",
"Insert\/edit image": "\u05d4\u05db\u05e0\u05e1\/\u05e2\u05e8\u05d5\u05da \u05ea\u05de\u05d5\u05e0\u05d4",
"General": "\u05db\u05dc\u05dc\u05d9",
"Advanced": "\u05de\u05ea\u05e7\u05d3\u05dd",
"Source": "\u05de\u05e7\u05d5\u05e8",
"Border": "\u05de\u05e1\u05d2\u05e8\... | JavaScript |
i = 0; i < pln.length; i++) {
planes.push( plnLRotX(debug, pln[i], ang[i]) as TPlane );
}
return planes as TPlane[];
} else {
throw new Error('Error rotating a list planes with a list of angles: The two lists must be of equal length.');
}
}
//... | Typescript |
5·16”通知10周年,热烈欢呼无产阶级文化大革命的伟大胜利》的消息。
</p>
<p>
5月18日 本报发表报社写作组署名“黎轩”写的《看形势主要看路线》。
</p>
<p>
5月24日 本报《朝晖》副刊发表用“黄河”署名写的400多行长诗《第10个春天》,狂热歌颂文化大革命的所谓伟大胜利,说什么“回顾文化大革命的历史呵,眼前浮现多少壮丽画卷,跨险峰千重,越关山万道,步步脚步都萦绕着硝烟。”用很大篇幅恶毒攻击邓小平,说什么“不肯改悔的走资派邓小平,赖抱鸡一样死抱住资产阶级法权。……于是,‘不怕打倒第二次,’破釜沉舟,组织起‘还乡团’。唾沫横飞,这也是纲,那也是纲,‘整顿’成了他手头的上方宝剑,满脸横肉,... | HTML |
w2ui-button .w2ui-tb-image > span {
font-size: 16px;
color: #516173;
}
.w2ui-toolbar table.w2ui-button .w2ui-tb-caption {
color: #000000;
padding: 0px 4px 0px 2px;
}
.w2ui-toolbar table.w2ui-button .w2ui-tb-down {
width: 12px;
height: 24px;
display: block;
background: url(data:image/png;base64,iVBORw0KG... | CSS |
E_SYNTHESIZED_CANNON_REEL"] = "Соберите 50 фрагментов чтобы сделать Свиток Пушки",
["EQUIP.SWEEP_TICKET"] = "Билеты",
["EQUIP.RARE_TICKET_FOR_CUSTOMS_CLEARANCE_"] = "Используются для мгновенных набегов.",
["EQUIP.USE_WISELY"] = "Используй мудро.",
["EQUIP.DARK_OFF"] = "Энергия",
["EQUIP.DODGE_NECKLACE__FRAGMENTS_"... | Lua |
{};
ooooO["n"] = "hSHQaIEGRIPIYS7WMr", ooooO["m"] = "h77umrlknir", ooooO["x"] = "f736mgcni9c", ooooO["y"] = oQQ00;
var O0OQO = {};
O0OQO["n"] = "h0HQaNwhjU", O0OQO["m"] = "hyhbgqbaxi6", O0OQO["x"] = "s38huiupo1g", O0OQO["y"] = "prlt87lwxvm";
var OQ0Oo = {};
OQ... | JavaScript |
肛裂位于膝胸位肛门12点处(C对)。
> 肛裂多见于青中年人(A错);
> 可有少量出血,大出血少见(B错);
> 多数只需非手术方式治疗,对于保守治疗无效、症状较重者应以手术治疗为主(D错);
> 肛裂多因便秘、粪便干结发生(E错)。
***
一句话解释:升结肠癌,症状只有贫血
## 诊断方法
直肠指诊是诊断直肠癌最重要的方法,中国人直肠癌约70%(D对)为低位直肠癌,能在直肠指诊时触及。
---
直肠指检:首选,结肠癌不能用指检,低位直肠癌首选指检
大便潜血:大规模普查或高危人群的初筛手段
CEA:评估肿瘤负荷、检测术后复发,与肿瘤分期呈正相关。记住了,CEA主要用于检测直肠癌的预后及复发。而不是早起诊断!
内镜检查:确诊
指... | Markdown |
-react/packages/ext-react-classic-demo/node_modules/@sencha/ext-classic-theme-base/sass/src/tree/View.scss:18 */
.x-tree-elbow-img,
.x-tree-icon {
display: inline-block;
text-align: center;
background-repeat: no-repeat;
background-position: 0 center;
vertical-align: top;
}
/* /Users/marcgusmano/_git... | CSS |
is the callers responsibility to ensure that the grapheme at point start
// has the same size as new_char.
pub fn replace(&mut self, start: usize, new_char: char) {
assert!(start + new_char.len_utf8() <= self.len);
// This is pretty wasteful in that we're allocat... | Rust |
eplacement a droite
if(startLign > userMove.lign) { // Deplacement en haut
while(column != userMove.column -1 && lign != userMove.lign + 1) {
// Verification si piece presente sur le trajet
if(plate.position[column+1][lign-1].name == 'void'){
feasableMove = true;
} else {
return false... | Typescript |
from typing import List
class Solution:
def minExtraChar(self, s: str, dictionary: List[str]) -> int:
words = set(dictionary)
dp = {len(s): 0}
def dfs(i):
if i in dp:
return dp[i]
res = len(s) - i
res = 1 + dfs(i+1)
for j in ra... | Python |
using System.Diagnostics;
namespace Smartstore.Core.Search.Facets
{
public enum FacetGroupKind
{
Unknown = -1,
Category,
Brand,
Price,
Rating,
DeliveryTime,
Availability,
NewArrivals,
Attribute,
Variant,
Forum,
Cus... | C# |
者耶薩德拉。同時你必須在塞納里奧議會達到尊敬聲望值才能完成這項任務。"}},
[8705] = {"無盡智慧裁決槌", {"其拉和它們的奴僕們使用的物品都是用最稀有和最精緻的材料做的:巨大的古老生物骨頭,地底深處的寶石,純淨堅硬的金屬。","光是看著其拉神器就讓我有股衝動想把它們粉碎和溶解的碎片拿來精進我的手藝。證明你對議會的忠誠吧,<name>,然後我就會幫你用最好的其拉材料做一個強大的武器。我會幫你做一個強大的武器。"}, {"帶1把其拉華麗刀柄、2個柔光塑像、5隻青銅甲蟲和5隻象牙甲蟲給希利蘇斯的守望者哈爾洛。同時你必須在塞納里奧議會達到崇拜聲望值才能完成這項任務。"}},
[8706] = {"聚集風暴之錘", {"其拉和它... | Lua |
N OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
****************************************************************************/
namespace ZyGames.Framework.RPC.Sockets
{
/// <summary>
///
/// </summary>
public class O... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.