content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/TABLE>
<A NAME="prepareComparison(com.db4o.marshall.Context, java.lang.Object)"><!-- --></A><H3>
prepareComparison</H3>
<PRE>
public com.db4o.foundation.PreparedComparison <B>prepareComparison</B>(<A HREF="../../../com/db4o/marshall/Context.html" title="interface in com.db4o.marshall">Context</A> context,
... | HTML |
import setup_path
import airsim
import os
import tempfile
CAM_NAME = "fixed1"
IS_EXTERNAL_CAM = True
client = airsim.VehicleClient()
client.confirmConnection()
tmp_dir = os.path.join(tempfile.gettempdir(), "airsim_cv_mode")
print ("Saving images to %s" % tmp_dir)
try:
os.makedirs(tmp_dir)
except OSError:
... | Python |
val delta = inStream.read(tmp, 0, tmp.size)
if (delta <= 0) break
sink.write(tmp, 0, delta)
nWrite += delta
val percent = (100f * nWrite.toFloat() / length).toInt()
onWrote(percent)
... | Kotlin |
c fun javafx.scene.layout.RowConstraints.percentHeight(f: (() -> Double)? = null): Double =
template<Double>("percentHeight", f, this, percentHeightProperty()!! as ObservableValue<Double>)
[suppress("USELESS_CAST_STATIC_ASSERT_IS_FINE")] [suppress("UNCHECKED_CAST")]
public fun javafx.scene.layout.RowConstraints.... | Kotlin |
DB on disk </td></tr><tr><td style="border: 1px solid #aaa; padding: 5px;"> <a href="BgsaveCommand.html">BGSAVE</a> </td><td style="border: 1px solid #aaa; padding: 5px;"> - </td><td style="border: 1px solid #aaa; padding: 5px;"> Asynchronously save the DB on disk </td></tr><tr><td style="border: 1px solid #aaa; pa... | HTML |
ightArrow,
LeftArrow,
// modules
Export,
Import,
As,
// logical operators
Amp,
Bang,
BangEqual,
Equal,
EqualEqual,
Greater,
GreaterEqual,
Less,
LessEqual,
// sequences
Identifier,
String,
StringStart,
StringSegment,
StringEnd,
Number,
// keywords
And,
Class,
Else,... | Rust |
is(3)),
rec -> Tuple.from(rec.getStrValueIndexed()),
false,
context -> { }));
}
/**
* Verify that an IN predicate that, when converted to an OR of equality predicates, would lead to a very large DNF
* gets planned as a normal IN query rather than throw... | Java |
adageId="123550",
adageInscriptionDate=date_utils.get_naive_utc_now() - timedelta(days=3),
venueEducationalStatusId=next(educational_status_iterator),
collectiveInterventionArea=ALL_INTERVENTION_AREA,
departementCode="33",
postalCode="33000",
city="Bordeaux",
... | Python |
rf.py /path/to/healthy.zip /path/to/healthy_manualsegm.zip /path/to/glaucoma.zip /path/to/glaucoma_manualsegm.zip /path/to/diabetic_retinopathy.zip /path/to/diabetic_retinopathy_manualsegm.zip
```
该脚本将自动调整数据集目录结构,使其满足 MMSegmentation 数据集加载要求。
## STARE
请下载 [stare images.tar](http://cecas.clemson.edu/~ahoover/stare/pro... | Markdown |
using System.IO;
using System.Text;
using Composite.Core.IO.Plugins.IOProvider;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
namespace Composite.Plugins.IO.IOProviders.LocalIOProvider
{
[ConfigurationElementType(typeof(NonConfigurableIOProvider))]
internal class LocalIOProvider : IIOProv... | C# |
`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [audiosink_period_cnt](audiosink_period_cnt) module"]
pub type AUDIOSINK_PERIOD_CNT = crate::Reg<u32, _AUDIOSINK_PERIOD_CNT>;
#[allow(missing_docs)]
#[doc(hidden)]
pub stru... | Rust |
x24070004 ; 800D58F8
dw 0x3C02800B ; 800D58FC
dw 0x244BB39C ; 800D5900
dw 0x89680003 ; 800D5904
dw 0x99680000 ; 800D5908
dw 0x89690007 ; 800D590C
dw 0x99690004 ; 800D5910
dw 0xAA0807E3 ; 800D5914
dw 0xBA0807E0 ; 800D5918
dw 0xAA0907E7 ; 800D591C
dw 0xBA0907E4 ; 800D5920
dw 0x02002021 ; 800D5924
dw 0x0220F80... | Assembly |
()[2:]...),
), true
}
} else {
return atoms.NewInteger(big.NewInt(1)), atoms.NewExpression(append([]expreduceapi.Ex{atoms.NewSymbol("System`Times")}, asTimes.GetParts()[1:]...)), true
}
}
asExpr, isExpr := e.(expreduceapi.ExpressionInterface)
if isExpr {
return atoms.NewInteger(
big.NewInt(1),
... | Go |
3R8W8KH4G8AHK4T.webp)
这里应该不能算结束,我本来是想怎么想办法刷机 getadb,提取手表 app,拿来看看能不能 rce 玩的,但是没有 wifi 功能,只能算个蓝牙设备。无奈狗日的不让我拆,等我放假回老家给 byd 揍一顿再拆。
[[招生] 科锐逆向工程师培训 (2024 年 11 月 15 日实地,远程教学同时开班, 第 51 期)](https://bbs.kanxue.com/thread-51839.htm)
最后于 6 天前 被 p1yang 编辑 ,原因:> 本文由 [简悦 SimpRead](http://ksria.com/simpread/) 转码, 原文地址 [bbs.pediy.... | Markdown |
]
MOV SP, R1
BX R2
launch_application
; return from exception to application launch function
; R0: application vector address
; R1: exit function address
; push interrupt context R0 R1 R2 R3 R12 LR PC xPSR
;MOV R2, #0x01000000 ; xPSR activate Thumb bit
M... | Assembly |
id": {
"_id": String,
"name": String,
"position": String,
"bio": String,
"linkedin": String,
"github": String,
"avatar": String,
"createdAt": Date,
"updatedAt": Date
},
"createdAt": Date,
"updatedAt": Date
}
```
</details>
<details>
<summary style="f... | Markdown |
isteredInTheThingRegistry() {
ThingRegistry thingRegistry = getService(ThingRegistry.class);
assertThat(thingRegistry, is(notNullValue()));
Collection<Thing> things = thingRegistry.getAll();
assertThat(things.size(), is(0));
ModelRepository modelRepository = getService(ModelRepos... | Java |
' call
#
lwz r4,176(sp) # paramCount
lwz r5,180(sp) # params
# addi r6,sp,128 # fprData
mr r6,sp # fprData
slwi r3,r3,2 # number of bytes of stack required
addi r3,r3,28 # linkage area
mr r31,sp # save original stack top
sub sp,sp,r3 # bump the stack
clrrwi sp,sp,4 ... | Assembly |
METHODS.SOURCE
];
exports.METHODS_RTSP = [
METHODS.OPTIONS,
METHODS.DESCRIBE,
METHODS.ANNOUNCE,
METHODS.SETUP,
METHODS.PLAY,
METHODS.PAUSE,
METHODS.TEARDOWN,
METHODS.GET_PARAMETER,
METHODS.SET_PARAMETER,
METHODS.REDIRECT,
METHODS.RECORD,
... | JavaScript |
ffnessMeasure::createObjectFromSTEP( const std::string& arg, const BuildingModelMapType<int,shared_ptr<BuildingEntity> >& map, std::stringstream& errorStream, std::unordered_set<int>& entityIdNotFound )
{
if( arg.size() == 0 ) { return shared_ptr<IfcRotationalStiffnessMeasure>(); }
if( arg.compare( "$" ) == 0 ) { ret... | C++ |
�搜索的实现思路.mp4
┣━11-5 完成searh search.html前端开发.mp4
┣━11-3 django-haystack elasticsearch-py elasticsearch-dsl-py比较.mp4
┣━第03章 项目需求分析,功能设计和技术选型
┣━3-3 模块化设计网站功能 (2).mp4
┣━3-4 确定开发技术栈 (2).mp4
┣━3-1 项目需求分析(附文档 (2).mp4
┣━第05章 django-allauth同时实现本地和第三方认证
┣━5-5 理解OAuth 2.0协议的原理.mp4
┣━5-6 完成用户个人中心开发.mp4
┣━5-2 dj... | Markdown |
cast 20159 (0x4ebf) to all elements of ymm1
movl $0x4ebf4ebf, %eax
vmovd %eax, %xmm1
vpbroadcastd %xmm1, %ymm1
red16 3
/* 4 abs bound < 4q, 6,8 abs bound < 2q, 3,5,7,9,11 abs bound < q */
shuffle2 3,4,10,4 // 4,10 abs bound < 4q
shuffle2 6,8,3,8 // 3,8 abs bound < 2q
shuffle2 5,7,6,7 // 6,7 abs bound < q
shu... | Assembly |
trix SDK (https://github.com/matrix-org/matrix-android-sdk2) as well as the Android Yubikit
* (https://github.com/Yubico/yubikit-android) projects and have been willingly modified
* for the CRY.ME project purposes. The Android element, Matrix SDK and Yubikit projects are distributed
* under the Apache-2.0 license... | Kotlin |
tutor-earning-withdraw-form-wrap>div>div>div:last-child{border-top:1px solid #E8E8E8;background:#F3F3F3}.tutor-frontend-dashboard-withdrawal .tutor-earning-withdraw-form-wrap label[for=tutor_withdraw_amount]{margin-bottom:7px;display:block}.tutor-frontend-dashboard-withdrawal .tutor-earning-withdraw-form-wrap .withdraw... | CSS |
ter/filings/0001558370-23-010792/agrx-20230602x8k.htm",
"cik": "1261249",
"accessionNum": "000155837023010792",
"ticker": "agrx",
"dateString": "20230602x8k"
},
{
"version": "2.2",
"instance_file": "pmts-20230530x8k.htm",
"link": "?doc=filings/0001558370-23-010793/pmts-20230530x8k.htm",
"size": false,... | JavaScript |
<tbody>
<tr>
<td id="title" class="title" style="width: 70%">
Title
</td>
<td id="revision" class="title" style="width: 30%">
Revision
</td>
</tr>
<tr>
<td id="company">
Company
... | HTML |
r_type, &writer_spec);
ADD_TYPE(mod, state->encoder_type);
ADD_TYPE(mod, state->decoder_type);
ADD_TYPE(mod, state->reader_type);
ADD_TYPE(mod, state->writer_type);
return 0;
}
#undef CREATE_TYPE
#undef ADD_TYPE
static struct PyMethodDef _multibytecodec_methods[] = {
_MULTIBYTECODEC___CREATE_... | C |
</td><td><a href=http://web/xss_json.php?title=bea_wls_internal/iiop/ClientSend&action=search>http://web/xss_json.php?title=bea_wls_internal/iiop/ClientSend&action=search</a></td></tr>
<tr><td>01866</td><td><font color=#00aa00>200</font></td><td> 337L</td><td> 1530W</td><td><a href=http://web/xss_json.php?title=BeenTh... | HTML |
jar: Special Mobs - 9 copies of each
HUGINN = GetTableOfIDs('Huginn'),
MUNINN = GetTableOfIDs('Muninn'),
HEITHRUN = GetTableOfIDs('Heithrun'),
SAEHRIMNIR = GetTableOfIDs('Saehrimni | Lua |
\0\1\1\1\1\2\0\1\1\22\0\1\1\1\20\1\57\1\0"+
"\1\21\1\0\1\0\1\60\1\11\1\12\1\22\1\6\1\10\1\4"+
"\1\5\1\23\12\2\1\3\1\0\1\16\1\17\1\15\1\0\1\7"+
"\15\0\1\53\2\0\1\52\11\0\1\13\1\0\1\14\1\0\1\0"+
"\1\0\1\31\1\47\1\41\1\24\1\43\1\50\1\44\1\46\1\25"+
"\1\0\1\55\1\35\1\27\1\32\1\30\1\40\1\0\1\33\1\36"+
... | Java |
):t.slice(o-i.length,o)===i}})},29253:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("fixed")},{fixed:function(){return o(this,"tt","","")}})},42125:(e,t,n)=>{"use strict";var r=n(82109),o=n(14230);r({target:"String",proto:!0,forced:n(43429)("fontcolor")},{fontcolor:functio... | JavaScript |
ifCode) +"IsvsubMchParams"));
} catch (ClassNotFoundException e) {
LogUtils.error(e);
}
return null;
}
}
/*
* Copyright (c) 2021-2031, 河北计全科技有限公司 (https://www.jeequan.com & jeequan@126.com).
* <p>
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
* you may not use ... | Java |
target_base_time_millisecs_{};
float consume_rate_{1.0f};
std::vector<Object::Ref<Scene> > scenes_;
std::vector<Object::WeakRef<Node> > nodes_;
std::vector<Object::Ref<SceneTexture> > textures_;
std::vector<Object::Ref<SceneMesh> > meshes_;
std::vector<Object::Ref<SceneSound> > sounds_;
std::vector<Objec... | C |
g id="line2d_2"/>
<g id="text_1">
<!-- 2018 -->
<g transform="translate(54.666629 326.017374)rotate(-30)scale(0.1 -0.1)">
<defs>
<path d="M 3213 0
L 341 0
L 341 653
Q 650 947 925 1215
Q 1200 1484 1463 1775
Q 1994 2359 2187 2711
Q 2381 3063 2381 3438
Q 2381 3631 2320 3778
Q 2259 3... | HTML |
not found", uri))));
}
Ok(indv)
}
// https://leetcode-cn.com/problems/get-watched-videos-by-your-friends/
// Runtime: 28 ms
// Memory Usage: 3.1 MB
use std::collections::{HashMap, VecDeque};
pub fn watched_videos_by_friends(
watched_videos: Vec<Vec<String>>,
friends: Vec<Vec<i32>>,
id: i32,
lev... | Rust |
*)--$", REGEX_FLAGS_SI);
private static final Pattern P_TAGS = Pattern.compile("<(.*?)>", Pattern.DOTALL);
private static final Pattern P_END_TAG = Pattern.compile("^/([a-z0-9]+)", REGEX_FLAGS_SI);
private static final Pattern P_START_TAG = Pattern.compile("^([a-z0-9]+)(.*?)(/?)$", REGEX_FLAGS_SI);
priv... | Java |
{
this._sendCallback();
}
this._stateNotEqualCount = 0;
}
}
_sendCallback() {
this.stateUpdateCallback(this._currentLightState);
this._stateSentToCallback = GenericUtil.deepCopy(this._currentLightState);
}
_isLinearExpected(from:number,to:number,current:number){
const offse... | Typescript |
n3bzk4I1_015OaUjBzkBofreireR)
.weak b__MGIA7naqebvq8uneqjner5zrqvn3bzk4I1_013OfBzkBofreireR
GOT_RELOC(b__MGIA7naqebvq8uneqjner5zrqvn3bzk4I1_013OfBzkBofreireR)
.weak b__MGPA7naqebvq8uneqjner5zrqvn3bzk4I1_013OfBzkBofreireR0_AF3_12VBzkBofreireR
GOT_RELOC(b__MGPA7naqebvq8uneqjner5zrqvn3bzk4I1_013OfBzkBofreireR0_AF3_12VBzkB... | Assembly |
]) ? -1 : hueGroup(hslB.h, self.hueGroups);
var hueDiff = hueB - hueA;
if (hueDiff) return -hueDiff;
var lumDiff = lumGroup(+hslB.l.toFixed(2)) - lumGroup(+hslA.l.toFixed(2));
if (lumDiff) return -lumDiff;
var satDiff = satGroup(+hslB.s.toFixed(2)) - satGroup(+hslA.s.toFixed(2));
if (satDiff) retur... | Typescript |
Versklavter Gnom"},
[27193] = {"Alornerk","Gemischtwaren"},
[27194] = {"Fallensteller Saghani","Stallmeister"},
[27195] = {"Tarralikitak","Handwerkswaren"},
[27196] = {"Winziger Blaudrache",nil},
[27197] = {"Winziger Golddrache",nil},
[27198] = {"Brod","Versklavter Gnom"},
[27199] = {"Kriegsherr Jin'arrak",nil},
[27200... | Lua |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* Licensed under the Oculus SDK License Agreement (the "License");
* you may not use the Oculus SDK except in compliance with the License,
* which is provided at the time of installation or download, or which
* otherwise accompanie... | C# |
fields.keys().collect()
}
pub fn field(&self, name: Symbol<'src>) -> Option<Rc<ClassFieldDef<'src>>> {
self.fields.get(&name).map(Rc::clone)
}
pub fn iter_fields<'a>(&'a self) -> impl Iterator<Item = Rc<ClassFieldDef<'src>>> + 'a {
self.fields.iter().map(|(_, c)| Rc::clone(c))
}
... | Rust |
structions)
{
var codes = instructions.ToList();
var check_custom_companion = codes.FindIndex(x => x.opcode == System.Reflection.Emit.OpCodes.Call && x.operand.ToString().Contains("IsCustomCompanion"));
codes[check_custom_companion] = new Harmony12.CodeInstruction(System.Refl... | C# |
VIL
elseif IDSEntry == 0x20 then -- MASK_LCNEUTRAL
return m_Alignment == 0x12 or m_Alignment == 0x32 or m_Alignment == 0x22 -- LAWFUL_NEUTRAL / CHAOTIC_NEUTRAL / NEUTRAL
elseif IDSEntry == 0x30 then -- MASK_CHAOTIC
return m_Alignment == 0x31 or m_Alignment == 0x32 or m_Alignment == 0x33 -- CHAOTIC_GOOD / CHAO... | Lua |
.pending = None; // release buf reference
let buf: &'static mut Vec<u8> = unsafe { &mut *(self.buf as *mut _) };
self.pending = Some(self.inner.read_event(buf)?);
Ok(())
}
fn peek(&mut self) -> Result<Event<'a>> {
if self.pending.is_none() {
self.shift()?;
}
Ok(self.pending.clone().expect("can't be No... | Rust |
guarantee(LifetimeGuarantee {
lifetime_parameter: lifetime_param.clone(),
constraint: constraint.clone(),
proof: "Lifetime parameter satisfies its constraint".to_string(),
});
} else {
verific... | Markdown |
0000, 3, 6,
"ISR 400.XX", 32.024235, 34.719258750, 3, 6,
"ISR 500.XX", 32.024235, 34.820642750, 3, 6,
"ISR 600.XX", 31.937746, 34.688842750, 3, 6,
"ISR 700.XX", 31.937746, 34.790226750, 3, 6,
"ISR 800.XX", 31.846724, 34.614114750, 3, 6,
"ISR 900.XX", 32.834777, 34.941749375, 3, 4,
"ISR B00.XX", 32.826128, 35.044334375,... | Dart |
[S>>2]=o,n[S>>2]|0|0}function cU(o,l){o=y(o),l=y(l);var u=0,A=0,d=0,m=0,B=0,k=0,R=0,M=0;m=(h[S>>2]=o,n[S>>2]|0),k=(h[S>>2]=l,n[S>>2]|0),u=m>>>23&255,B=k>>>23&255,R=m&-2147483648,d=k<<1;e:do if(d|0&&!((u|0)==255|((B6e(l)|0)&2147483647)>>>0>2139095040)){if(A=m<<1,A>>>0<=d>>>0)return l=y(o*y(0)),y((A|0)==(d|0)?l:o);if(u)A... | JavaScript |
.Thmtheorem6.p1.1.m1.2.3.cmml" xref="A1.Thmtheorem6.p1.1.m1.2.3"><eq id="A1.Thmtheorem6.p1.1.m1.2.3.1.cmml" xref="A1.Thmtheorem6.p1.1.m1.2.3.1"></eq><apply id="A1.Thmtheorem6.p1.1.m1.2.3.2.cmml" xref="A1.Thmtheorem6.p1.1.m1.2.3.2"><times id="A1.Thmtheorem6.p1.1.m1.2.3.2.1.cmml" xref="A1.Thmtheorem6.p1.1.m1.2.3.2.1"></t... | HTML |
}
val DDR_ERR_SBE = object : Register(ports.ctrl, baseAddress + 0xE58u, DWORD, "DDR_ERR_SBE") {
//TODO: Stub - not fully implemented
}
val DDR_UNKNOWN_1 = object : Register(ports.ctrl, baseAddress + 0xF04u, DWORD, "DDR_UNKNOWN_1") {
//TODO: Stub - not fully implemented
var unk1 ... | Kotlin |
background: #c6b4b4;
margin-top:8px;
padding:8px;
color:#902d2d;
display:none;
}
#add_show_hosts-element {
max-height: 80px;
min-width: 150px;
overflow: auto;
}
#add_show_start_time, #add_show_end_time {
width: 54px;
margin-left:10px;
}
#add_show_end_date_no_repeat, #add_show_start_date {
width:... | CSS |
/**
******************************************************************************
* @file usbd_hid.h
* @author MCD Application Team
* @version V2.4.2
* @date 11-December-2015
* @brief Header file for the usbd_hid_core.c file.
**********************************************************************... | C |
{ { inc; p24; },{ dec; p4; } -> { p24; } };
{ { inc; p25; },{ dec; p4; } -> { p25; } };
{ { inc; p26; },{ dec; p4; } -> { p26; } };
{ { inc; p27; },{ dec; p4; } -> { p27; } };
{ { inc; p28; },{ dec; p4; } -> { p28; } };
{ { inc; p29; },{ dec; p4; } -> { p29; } };
{ { inc; p30; },{ dec; p4; } -> { p30; } };
{ {... | Rust |
tTags()
): HprofIndex {
val reader = StreamingHprofReader.readerFor(hprofSourceProvider, hprofHeader)
val index = HprofInMemoryIndex.indexHprof(
reader = reader,
hprofHeader = hprofHeader,
proguardMapping = proguardMapping,
indexedGcRootTags = indexedGcRootTags
)
... | Kotlin |
ll()
.statusCode(200)
.extract().as(RoomContentResponse.class);
// then
assertThat(actual).isEqualTo(expectedResponse);
}
}
}
package ddangkong.domain.balance.option;
import static org.assertj.core.api.Assertions.assertThat;
import static org... | Java |
0 01-.08-1.003A7.063 7.063 0 0112 18Zm-.005-13.026L12 5c.006 0 .01-.027.017-.027L17 8H7Z"/><path fill="currentColor" d="M15 13.26V12a1 1 0 00-2 0v3.408a7.027 7.027 0 012-2.148ZM18 11a1 1 0 00-1 1v.294A6.994 6.994 0 0119 12a1 1 0 00-1-1ZM6 11a1 1 0 00-1 1v4a1 1 0 002 0v-4a1 1 0 00-1-1Zm4 0a1 1 0 00-1 1v4a1 1 0 002 0v-4a... | Dart |
"""
This file contains one of several implementations of the function
`simplify_ztz(sentence, verbose=False)` that we considered.
Refs:
https://spacy.io/usage/spacy-101/
For spacy, here are some values of token.dep_
cc: coordinating conjunction.
i.e., FANBOYS = for, and, nor, but, or, yet, so
mark: marker that... | Python |
, 0.0F, 1.0F);
quaternion.mul(oldSchool(0, yaw, 0));
quaternion.mul(oldSchool(pitch, 0, 0));
if (particle.getRoll() != 0) {
quaternion.rotateZ(Mth.lerp(partialTicks, particle.getORoll(), particle.getRoll()));
}
Vec3 vec3 = camera.getPosition();
float x = (flo... | Java |
#Import required libraries
import numpy as np
import pandas as pd
from keras.optimizers import SGD
from keras.datasets import cifar10
from keras.models import Sequential
from keras.utils import np_utils as utils
from keras.layers import Dropout, Dense, Flatten
from keras.layers.convolutional import Conv2D, MaxPooling2D... | Python |
/*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C |
.public:
return
if 'x' not in tv.private:
return
if tv.public.get('kty') != 'OKP':
return
if tv.public.get('crv') != 'X25519':
return
if tv.private.get('crv') != 'X25519':
return
... | Python |
_is_id_valid(&mymap, &"SOLENOID".to_string())
);
assert_eq!(
AxialError::ReservedWordError("*".to_string()),
_is_id_valid(&mymap, &"*".to_string())
);
}
#[test]
fn _test_is_id_valid_hash_map_cotains() {
let mut mymap: HashMap<String, Primitives> ... | Rust |
、资源访问安全性等。
2. **模型检验扩展性**:发展适用于大规模CI/CD系统的模型检验技术,处理状态空间爆炸问题。
3. **混合验证方法**:结合多种验证技术,如抽象解释、符号执行、模型检验等,提高验证效率。
**定理53(关键属性可验证性)**:对于任何有限状态CI/CD系统 $CICD$,存在一组核心属性 $P_{core}$,使得:
$$\forall p \in P_{core}, \exists \text{算法} A: A(CICD, p) \text{判定} CICD \models p$$
且算法复杂度为 $O(|S|^c)$,其中 $|S|$ 是系统状态空间大小,$c$ 是常数。
### 3.3 轻量... | Markdown |
{ value: 1000e-6, expected: '1 m' },
{ value: 1000e-3, expected: '1' },
{ value: 1000, expected: '1 K' },
{ value: 1000e3, expected: '1 M' },
{ value: 1000e6, expected: '1 G' },
{ value: 1000e9, expected: '1 T' },
{ value: 1000e12, expected: '1000 T' },
{ value: 123e-3, expecte... | Typescript |
})
}
}
func TestPartMetaDataValidateBasic(t *testing.T) {
tests := []struct {
name string
part PartMetaData
wantErr bool
}{
{
name: "Valid part",
part: PartMetaData{
Index: 1,
Hash: rand.Bytes(tmhash.Size),
},
wantErr: false,
},
{
name: "invalid hash",
part: PartMetaData... | Go |
// add image node
const background_img = document.createElement('div');
background_img.classList.add('background-img');
background_img.setAttribute('style', 'background-image: url("' + value + '");');
node.appendChild(background_img);
// append element to container
const container = document.q... | JavaScript |
n,
}, options...)
if err != nil {
fmt.Println("Error deploying Hyperion contract:", err)
return gethcommon.Address{}, 0, false
}
if !success {
return gethcommon.Address{}, 0, false
}
return address, blockNumber, true
}
func (g *Global) InitializeHyperionContractWithDefaultValset(chainId uint64) (uint64, er... | Go |
{
return format!("{}{} mins", prefix, self.total_mins);
}
format!("{}{} secs", prefix, self.total_secs)
}
pub fn print_as_duration(&self){
conz::print_type("Significant: ", conz::MsgType::Normal);
conz::println_type(self.string_significant(true), conz::MsgType::Value... | Rust |
;
if (BurnLoadRom(DrvGfxROM + 0x1000000, 6, 2)) return 1;
if (BurnLoadRom(DrvGfxROM + 0x1000001, 7, 2)) return 1;
if (BurnLoadRom(DrvSndROM + 0x0000000, 8, 1)) return 1;
return 0;
}
static INT32 HotdebutInit()
{
speedhack_address = 0x0001c;
speedhack_pc[0] = 0x000029EE;
speedhack_pc[1] = 0x000029F0;
r... | C++ |
warning]
> 两次输入的密码不一致
##### (sure_password) 值为空(Nil) :id=a7a37053c915ca1195fb7333b6f19137f
`sure_password` ISNULL
##### (new_password) 值为空(Nil) :id=a592922bb4b34342b3f3f7b94eba06348
`new_password` ISNULL
### 默认规则 :id=Default
```plantuml
@startuml
hide empty description
<style>
root {
HyperlinkColor #42b... | Markdown |
%E3%80%8D%EF%BC%88%E6%B7%B1%E7%A7%98%E5%BD%95%EF%BC%89.png 2x" data-file-width="1282" data-file-height="721"></a> <div class="thumbcaption"><div class="magnify"><a href="./文件-怒面「愤怒的忌狼之面」(深秘录).png.md" class="internal" title="放大"></a></div>怒面「愤怒的忌狼之面」</div></div></div>
</td>
<td>
<p>角色秦心的对战使用符卡。<sup id="cite_ref-1" clas... | Markdown |
-1zM4 15.993h9v-1h-9v1zM17 1v11h-17v-11h17zM16 2h-15v9h15v-9z" fill="currentFill" />
</svg>
</li><li title="layout media center ">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="17" height="17" viewBox="0 0 17 17">
<g>
</g>
<path d="M1 4v6h15v-6h-15zM15 9h-13v... | HTML |
ToggleCasterButtonActive( buttonName, bActive );
}
}
function ToggleCasterButtonActive( buttonName, bActive )
{
var button = $( buttonName );
if ( button == null )
return;
if ( bActive == false && button.BHasClass( 'sb-spectator-control-button-notactive' ) == false )
{
... | JavaScript |
lbumNameReplacementCharacter() {
return '?';
}
};
List<PhotoAlbum> albums =
ImmutableList.of(new PhotoAlbum("id1", "This:a fake album!", "This:a fake album!"));
List<PhotoModel> photos =
ImmutableList.of(
new PhotoModel("Pic1", "http://fake.com/1.jpg", "A pic"... | Java |
using System;
using Xamarin.Forms;
namespace Forms9PatchDemo
{
[Xamarin.Forms.Internals.Preserve(AllMembers = true)]
public class HtmlButtonsPage : ContentPage
{
Forms9Patch.Button mb1 = new Forms9Patch.Button
{
IconText = "<font size=\"4\" face=\"Forms9PatchDemo.Resources.Font... | C# |
informação colada decido a um erro interno.","title":"Colar do Word","toolbar":"Colar do Word"},"removeformat":{"toolbar":"Eliminar Formato"},"sourcearea":{"toolbar":"Fonte"},"specialchar":{"options":"Opções de caracteres especiais","title":"Selecione um caracter especial","toolbar":"Inserir carácter especial"},"scayt"... | JavaScript |
class Solution:
def mergeAlternately(self, word1: str, word2: str) -> str:
merged=[]
min_length=min(len(word1), len(word2))
for i in range(min_length):
merged.append(word1[i])
merged.append(word2[i])
merged.append(word1[min_length:])
merged.appe... | Python |
//github.com/Lumiwealth/lumibot/blob/master/LICENSE>
---
description: "Learn why this project was created as a maintained alternative to 'angular/clang-format,' offering Node.js support without Python dependencies, while providing options for Python3 compatibility and migration guidance."
---
# Why we started this pro... | Markdown |
() + "' does not have 'sa' operand.");
}
#endif
this->instr.word = RAB_INSTR_PACK_sa(this->instr.word, val);
}
void InstructionBase::Set_function(uint8_t val) {
this->instr.word = RAB_INSTR_PACK_function(this->instr.word, val);
}
void InstructionBase::Set_rs(Registers::Cpu::GprO32 val) {
#ifdef RAB_SANITY... | C++ |
/* $NetBSD: atomic_xor.S,v 1.3 2014/06/23 21:53:45 joerg Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Jason R. Thorpe.
*
* Redistribution and use in source and binary forms, with or without
... | Assembly |
n\t}\n\n\t//
+usage=Instructions for assessing container health by executing an HTTP GET
request. Either this attribute or the exec attribute or the tcpSocket attribute
MUST be specified. This attribute is mutually exclusive with both the exec
attribute and the tcpSocket attribute.\n\tht... | Go |
# form spurs
from dataclasses import dataclass
import torch
from spurs.models import register_model
from spurs.models.stability.basemodel import BaseModel
from spurs.datamodules.datasets.data_utils import Alphabet
# from .decoder import MPNNSequenceDecoder
# from .encoder import MPNNEncoder
@dataclass
class Protei... | Python |
6.363f, 86.6238f, 36.2048f)
curveTo(83.363f, 33.1036f, 78.567f, 27.2948f, 72.0666f, 22.813f)
curveTo(65.5037f, 18.2864f, 57.2141f, 15.1102f, 47.0264f, 17.3469f)
curveTo(45.1701f, 17.7545f, 42.745f, 18.4385f, 40.7821f, 19.5991f)
curveTo(39.4... | Kotlin |
口,有一百多人爬墙翻了进来,总理不得不中断与我们的谈话,到三点四十五分,总理才回来。)
</p>
<p>
总理:到人大会堂处理了一个问题,现在又有人要冲中南海,对你们是个教育,你们要从大处着想,你们是几万人,整个国家有多少大事啊!
</p>
<p>
革命得靠自己,自己教育自己,为什么七机部作出××就不能解决这个问题?要按照十六条办事嘛!915、916都不能违背这个大前提。
</p>
<p>
绝大多数是阶级同志,当然有不少人有私心杂念,你们就是在这些事情上抢来抢去的。小事就不要到中南海,你们单位可以直接到国务院、中央反映情况。过去李副总理就行了,现在李副总理也不行了,指标往上涨了。当前有的矛头... | HTML |
etSeqInterVolume__11JAISequenceFUc
.fn getTrackPortRoute__8JAISoundFUcUc, global
/* 800B54D4 000B2414 80 03 00 20 */ lwz r0, 0x20(r3)
/* 800B54D8 000B2418 54 00 05 29 */ rlwinm. r0, r0, 0, 0x14, 0x14
/* 800B54DC 000B241C 41 82 00 20 */ beq .L_800B54FC
/* 800B54E0 000B2420 54 83 E7 3E */ rlwinm r3, r4, 0x1c, 0x1c, ... | Assembly |
(card);
this.hands.splice(handIndex, 0, deck);
} else {
this.hands[handIndex].add(card);
}
}
/**
* Adds cards to the spcified hand
* @param {Deck} deck - The cards to add to the players hand
* @param {number} handIndex - The hand to add the card to. Defaults to 0, the first hand
*/
... | Typescript |
printf("\r\n");
#endif
IIC->SubWidth = 2;
IIC->Address = Address << 1;
IIC->Retry = 2;
if (Pwr) *Pwr = true;
//bool rs = CheckStatus();
CheckStatus();
/*
SHT30三种采集数据方式:
1,Stretch阻塞模式,发送命令后采集,需要长时间等待SCL拉高,才能发送读取头然后读取数据
2,Polling非阻塞模式,发送命令后采集,需要反复多次启动并发送读取头,得到ACK以后才能读取数据
3,内部定期采集模式,启动时发送Periodic命令,读取时发送Fet... | C++ |
qual({
name: "foo",
parts: {
[DeckPart.MAIN]: [card1],
[DeckPart.EXTRA]: [card2, card2],
[DeckPart.SIDE]: [card3, card4, card1, card1, card1],
},
});
});
it("works with null name", () => {
const card1 = createCard({ passcode: "123" });
when(
cardDatabaseMock.hasCard("123", F... | Typescript |
with st.spinner("Generating audio..."):
audio_data = morse_to_audio(morse_input, wpm=wpm, frequency=frequency)
if len(audio_data) > 0:
audio_html, wav_data = create_audio_player(audio_data)
... | Python |
anic("%s: unable to ioremap mct address space\n", __func__);
tick_clk = of_clk_get_by_name(np, "fin_pll");
if (IS_ERR(tick_clk))
panic("%s: unable to determine tick clock rate\n", __func__);
clk_rate = clk_get_rate(tick_clk);
mct_clk = of_clk_get_by_name(np, "mct");
if (IS_ERR(mct_clk))
panic("%s: unable to ... | C |
ColumnList)
{
string[] aName = strColumnList.Split(new Char[] { ',' });
this.Clear();
for (int i = 0; i < aName.Length; i++)
{
string strPart = aName[i];
if (strPart == "")
continue;
SortColumn ... | C# |
sp-cancel,
.sp-palette-toggle {
color: #333;
margin-right: 0.3125rem;
background-color: #fafafa;
margin-right: 4%;
border-color: #ddd; }
.sp-cancel:hover, .sp-cancel:focus,
.sp-palette-toggle:hover,
.sp-palette-toggle:focus {
color: #333; }
.sp-palette-toggle {
margin-right: 0;
width: auto;
f... | CSS |
640666 42.285263
L 493.307466 42.596838
L 497.974266 42.167273
L 502.641066 43.347038
L 507.307866 44.775885
L 511.974666 45.44953
L 516.641467 45.993224
L 521.308267 43.43573
L 525.975067 42.625475
L 530.641867 43.789237
L 535.308667 45.794434
" style="fill:none;stroke:#fc8d62;stroke-linecap:round;stroke-wi... | HTML |
a.fr>
*/
#include "ns3/assert.h"
#include "ns3/packet.h"
#include "ns3/simulator.h"
#include "ns3/uinteger.h"
#include "ns3/log.h"
#include "ns3/node.h"
#include "ns3/trace-source-accessor.h"
#include "ns3/names.h"
#include "arp-cache.h"
#include "arp-header.h"
#include "ipv4-interface.h"
#include "ipv4-header.h"
na... | C++ |
8ToTStr(err));
}
catch (const exception &e) //catch a possible exception from getRootFileName
{
AfxMessageBox(nlUtf8ToTStr(e.what()));
}
}
else
{
refreshMachine();
}
if(vectSel.size()>0)
_PluginAccess->setCurrentSelection(vectSel);
GraphDlg->Invalidate();
}
void CGraphPlugin::refreshMachine()
{
... | C++ |
\n Stop location : \x1b[0m%s(), %s:%u\n\n\x00"
as *const u8 as *const libc::c_char,
b"func_unknown\x00" as *const u8 as *const libc::c_char,
b"include/alloc-inl.h\x00" as *const u8 as *const libc::c_char,
94 as libc::c_int);
abort();
}
r... | Rust |
.getEntity(PersistentEntityId(0, 100)))).isTrue()
}
}
}
/**
* Copyright 2006 - 2024 JetBrains s.r.o.
*
* 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
*
* https://www.apache... | Kotlin |
,C,F,I):a.C.call(null,b,c,d,e,f,h,k,m,l,p,u,w,x,C,F,I)}function h(a,b,c,d,e,f,h,k,m,l,p,u,
w,x,C,F){a=this;return a.C.Sa?a.C.Sa(b,c,d,e,f,h,k,m,l,p,u,w,x,C,F):a.C.call(null,b,c,d,e,f,h,k,m,l,p,u,w,x,C,F)}function k(a,b,c,d,e,f,h,k,m,l,p,u,w,x,C){a=this;return a.C.Ra?a.C.Ra(b,c,d,e,f,h,k,m,l,p,u,w,x,C):a.C.call(null,b,c... | JavaScript |
tivities**`,
method: "GET",
},
{
alias: "initLoad",
url: `${Cypress.env("apiUrl")}/activities/`,
method: "GET",
},
{
alias: "createNewActivity",
url: `${Cypress.env("apiUrl")}/Activities`,
method: "POST",
},
{
alias: "loginUser",
url: `${Cypr... | Typescript |
/*
Copyright (C) 2011-2015 de4dot@gmail.com
This file is part of de4dot.
de4dot 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) any la... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.