content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | C# |
token.variable,
.cody-animation .token.operator,
.cody-animation .token.function {
color: #c7ffff;
}
.cody-animation .token.url {
color: hsl(187, 47%, 55%);
}
.cody-animation .token.attr-value > .token.punctuation.attr-equals,
.cody-animation .token.special-attr > .token.attr-value > .token.value.css {
co... | CSS |
// Copyright © Theodore Tsirpanis and Contributors.
// SPDX-License-Identifier: MIT
#nullable disable
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using Farkle.Grammars;
using Farkle.Parser.Semantics;
using ParserState = Farkle.Parser.ParserState;
namespace Farkle.Benchmarks;
[MemoryDiagnoser, G... | C# |
'disabled')) then
notice('Auto Macro Switching Disabled for ' .. job ..'.')
else
log('Job changed to ' .. job .. ' - switched to Book: ' .. book .. ' and Page: ' .. page)
windower.chat.input('/macro book ' .. book)
coroutine.sleep(1.2)
windower.chat.in... | Lua |
0x69b9b9d0, 0x17868691, 0x99c1c158, 0x3a1d1d27, 0x279e9eb9,
0xd9e1e138, 0xebf8f813, 0x2b9898b3, 0x22111133, 0xd26969bb, 0xa9d9d970, 0x078e8e89, 0x339494a7,
0x2d9b9bb6, 0x3c1e1e22, 0x15878792, 0xc9e9e920, 0x87cece49, 0xaa5555ff, 0x50282878, 0xa5dfdf7a,
0x038c8c8f, 0x59a1a1f8, 0x09898980, 0x1a0d0d17, 0x65bfbfda, 0xd7... | Go |
must be `.java`, but it was `${file.extension}`."
}
return create(file) as PsiJavaFile
}
}
/*
* Copyright (C) 2021-2023 Rick Busarow
* 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... | Kotlin |
gativo",
[33720] = "Manto de tela lunar de Gladiador vengativo",
[33721] = "Toga de tela lunar de Gladiador vengativo",
[33722] = "Coselete ornamentado de Gladiador vengativo",
[33723] = "Guantes ornamentados de Gladiador vengativo",
[33724] = "Cimera ornamentada de Gladiador vengativo",
[33725] = "Quijotes... | Lua |
or the first 15 seconds of the year
let end_datetime = Some(15 * 1_000_000_000);
let generated_tag_sets = GeneratedTagSets::default();
let mut agent = agent::Agent::from_spec(
agent_spec,
1,
Duration::from_secs(10),
start_datetime,
en... | Rust |
SectionList *module_section_list = module_sp->GetSectionList();
SectionList *objfile_section_list = sym_objfile_sp->GetSectionList();
if (!module_section_list || !objfile_section_list)
return nullptr;
static const SectionType g_sections[] = {
eSectionTypeDWARFDebugAbbrev, eSectionTypeDWARFDebugAdd... | C++ |
turn (await db.query(query, [date, user_id])).rows[0].averageweek
}
async function getToday(user_id: number, date: Date = new Date()): Promise<number> {
const today = new Date(date.getTime())
if (today.getHours() >= 0 && today.getHours() < 6)
today.setDate(today.getDate() - 1)
today.setHours(6)
const query... | Typescript |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_q15_to_q31.c
* Description: Converts the elements of the Q15 vector to Q31 vector
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* --... | C |
elization/mod.rs<gh_stars>100-1000
pub use self::voxel_set::{Voxel, VoxelSet};
pub use self::voxelized_volume::{FillMode, VoxelValue, VoxelizedVolume};
mod voxel_set;
mod voxelized_volume;
<filename>src/lib.rs<gh_stars>0
//! This crate contains an implementation of the Cassowary constraint solving algorithm, based upo... | Rust |
l->vfp, panel->vfp, panel->vsw, panel->pxl_clk_div);
debug("using frambuffer at 0x%08x with size %d.\n",
(unsigned int)gd->fb_base, FBSIZE(panel));
/* palette default entry */
memset((void *)gd->fb_base, 0, 0x20);
*(unsigned int *)gd->fb_base = 0x4000;
/* point fb behind palette */
gd->fb_base += 0x20;
... | C |
SCN_MEM_READ
//CHECK-NEXT: ]
//CHECK-NEXT: SectionData (
//CHECK-NEXT: 0000: 00000000 0F1F4000 00000000 0F1F4000
//CHECK-NEXT: )
//CHECK: Name: .data
//CHECK-NEXT: VirtualSize:
//CHECK-NEXT: VirtualAddress:
//CHECK-NEXT: RawDataSize: 16
//CHECK-NEXT: PointerToRawData:
//CHECK... | Assembly |
tmpsock_ftype == 'socket' and (M.debug(M.kitty_remote_ls():wait()).code == 0)
return ready
end, interval)
if ready then
break
end
kitty_instance:kill(9)
kitty_instance = nil
vim.fn.delete(vim.fn.fnamemodify(tmpsock, ':p'), 'rf')
M.pause_seconds(i * 2)
end
-- additional logg... | Lua |
+= dangvel;
*vels = vels.apply_damping(params.dt, &damping);
});
}
}
// Write impulses back into the manifold structures.
for constraint in &*joint_constraints {
constraint.writeback_impulses(joints_all);
}
for constr... | Rust |
= Int64(0)
..nanos = 0)
.toProto3Json(),
'0s',
);
expect(
(Duration()
..seconds = Int64(10)
..nanos = 0)
.toProto3Json(),
'10s',
);
expect(
(Duration()
..seconds = Int64(10)
... | Dart |
other bits set
lda entbuf+$10 ; get type
cmp #chktype ; and check
bne nxtent ; no match, try next entry
lda entbuf ; get storage type and length
and #$0f ; mask in length
cmp #(fname_-fname) ... | Assembly |
antResults)
=> Xamarin.Essentials.Platform.OnRequestPermissionsResult(requestCode, permissions, grantResults);
protected override void OnPause()
{
scanFragment?.StopScanning();
base.OnPause();
}
void Scan()
{
var opts = new MobileBarcodeScanningOptions
{
PossibleFormats = new List<ZXing.... | C# |
.3s ease}.txListResultButton[data-v-6d16966a]:hover{background:rgba(66,185,131,.2)}.txListResultButton .icon[data-v-6d16966a]{margin-right:4px}.txListResultButton .errorBox[data-v-6d16966a]{color:#ed2d2d;margin-left:4px}.txListResultButton .errorBox .icon[data-v-6d16966a]{color:#ed2d2d}.result-icon[data-v-6d16966a]{ma... | CSS |
e(a6) ecran de 1024*42
rts
ecran_struct1
dc.l struct1
ecran_struct2
dc.l struct2
**************************
* rappel de la structure *
* .l screen_adr *
* .l giana_pos *
* .l objet1 etc... *
**************************
struct1
dc.l ecran1
dc.l 0 adresse partir d'o la sauvegarde a eu lieu
dc... | Assembly |
01;
H2 = 0xefcdab89;
H3 = 0x98badcfe;
H4 = 0x10325476;
xOff = 0;
for (int i = 0; i != X.Length; i++)
{
X[i] = 0;
}
}
//
// round 1 left rotates
//
private static readonly int S1... | C# |
Size = null
};
RotatedRect[] results = det.Run(src);
//PaddleOcrDetector.Visualize(src, results, Scalar.Red, 2).ImWrite("test.jpg");
Assert.NotEmpty(results);
}
[Fact]
public async Task SpecifySize()
{
using Mat src = Cv2.ImRead("./samples/xdr5450.webp");
... | C# |
820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z","M464 688a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z")),t.ExperimentOutline=l("experiment",o,c(r,"M512 472a40 40 0 1 0 80 0 40 40 0 1 0-80 0zm367 352.9L... | JavaScript |
PasswordOtpField> createState() => _ChangePasswordFieldState();
}
class _ChangePasswordFieldState extends State<ChangePasswordOtpField> {
late Debouncer _debouncer;
final _focusNode = FocusNode();
@override
void initState() {
super.initState();
_debouncer = Debouncer();
final cubit = context.read<... | Dart |
hash,
};
result.push(transfer);
}
Ok(result)
}
/**
Test all transactions of a block, and print the transfer information.
Return the number of transactions and amount sum.
*/
async fn test_block(
web3: &Web3<Http>,
block: &Block<Transaction>,
filter: &Filter,
) -> web3::Result<(u64, ... | Rust |
depth, grasp_score_label_max_depth_idx = grasp_score_label.max(-1)
grasp_width_label = grasp_width_label.gather(-1, grasp_score_label_max_depth_idx.unsqueeze(-1)).squeeze(-1)
grasp_score_label_max_angle, grasp_score_label_max_angle_idx = grasp_score_label_max_depth.max(-1)
scene_depth = grasp_sc... | Python |
from django.shortcuts import render, redirect
from .forms import AppointmentForm
from .models import Appointment
from django.contrib.auth.decorators import login_required
@login_required
def book_appointment(request):
if request.method == 'POST':
form = AppointmentForm(request.POST)
if form.is_vali... | Python |
G.wc.Encoding = originalEncoding;
}
static string GetSHA1(string path)
{
long size = new FileInfo(path).Length - 0x20;
if (size < 0x20)
return "invalid file";
var formatted = new StringBuilder(40);
byte[] hash;
using (v... | C# |
m2
[|RESERVED|]
End Enum");
}
[Fact]
public async Task CA1700_NameContainsReservedWithoutCorrectCase_NoDiagnosticAsync()
{
await VerifyCS.VerifyAnalyzerAsync(@"
public enum Enum1
{
Somethingreserved,
ReserveDSuffix,
ReSeRvEd,
}");
await VerifyVB.... | C# |
}
}
final stops = <String>[];
const expected = <String>[
'$file:${LINE_A + 0}:5', // on 'print'
'$file:${LINE_A + 1}:3', // on ending '}'
];
final tests = [
hasPausedAtStart,
setBreakpointAtLine(LINE_A),
runStepIntoThroughProgramRecordingStops(stops),
checkRecordedStops(
stops,
expected,
deb... | Dart |
ay {
val encryptedPrefs = getEncryptedPrefs(context)
val keyStr = encryptedPrefs.getString(KEY_DERIVED_KEY, null)
?: throw IllegalStateException("No encryption key found")
return Base64.decode(keyStr, Base64.NO_WRAP)
}
/**
* Wraps the given output stream such that every... | Kotlin |
movaps [rsp + nb102_izH1], xmm2
movaps [rsp + nb102_ixH2], xmm3
movaps [rsp + nb102_iyH2], xmm4
movaps [rsp + nb102_izH2], xmm5
;# clear vctot and i forces
xorps xmm4, xmm4
movaps [rsp + nb102_vctot], xmm4
movaps [rsp + nb102_fixO], xmm4
movaps [rsp + nb102_fiyO], xmm4
movaps [rsp + nb102_fizO], xmm4
movap... | Assembly |
target=monitor_progress,
args=(args.output_dir, len(urls), args.verbose, stop_event),
daemon=True
)
progress_thread.start()
# Small delay to let progress monitoring start
time.sleep(2)
# Run processing
start_time = d... | Python |
ntry.
InvalidEntry(entry::ParseError),
}
impl error::Error for ParseError {}
impl fmt::Display for ParseError {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
match self {
Self::InvalidEntry(e) => write!(f, "invalid entry: {}", e),
}
}
}
impl From<Vec<Entry>> for A... | Rust |
// if it's inside, reuse it
var path = DKEditorUtils.GetRelativePath(outfit.RootTransform, _previewAvatarGameObject.transform);
_previewOutfitGameObject = _previewAvatarGameObject.transform.Find(path).gameObject;
}
else
{
... | C# |
artTime': startTime.millisecondsSinceEpoch,
'endTime': endTime.millisecondsSinceEpoch,
};
}
factory Attendance.fromMap(Map<String, dynamic> map) {
return Attendance(
id: map['id'],
attendances: List<String>.from(map['attendances']),
startTime: DateTime.fromMillisecondsSinceEpoch(map... | Dart |
= act = new QAction(tr("Old Control Scheme for Branching"), this);
act->setCheckable(true);
//act->setShortcut(QKeySequence(tr("Ctrl+N")));
act->setStatusTip(tr("Old Control Scheme for Branching"));
//act->setIcon( style()->standardIcon( QStyle::SP_FileDialogStart ) );
connect(act, SIGNAL(triggered(bool)), this, ... | C++ |
Functor<any> => ({
emit: () => `Just(${x})`,
map: (f) => Maybe(f(x)),
isJust: true,
isNothing: false,
});
const Nothing = (x?): Functor<any> => ({
map: (_) => Nothing(),
isJust: false,
isNothing: true,
emit: () => `Nothing`,
});
const Maybe = (x): Functor<any> =>
x === null || x === undefined || x.... | Typescript |
yaml中未找到版本号,使用默认版本号0.0.1");
return "0.0.1";
}
} catch (e) {
print("获取版本号时出错: $e,使用默认版本号0.0.1");
return "0.0.1";
}
}
/// 复制文件
static void copyFile(String sourceFilePath, String destinationFilePath) {
final sourceFile = File(sourceFilePath);
if (!sourceFile.existsSync()) {... | Dart |
#ifndef HEADER_CURL_TOOL_BNAME_H
#define HEADER_CURL_TOOL_BNAME_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* ... | C |
from django.db import models
class BannerImg(models.Model):
"""
index.htmlのBanner
"""
bannerTitle = models.CharField(max_length=255)
bannerImg = models.ImageField(upload_to='baseApp/contents/org/banner', null=False)
activeFlg = models.BooleanField(default=False)
create_at = models.DateTimeF... | Python |
initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial}}}@layer theme{:root,:host{--font-... | CSS |
IgaGVpZ2h0PSIxNSIgeGisbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48L3N2Zz4=" /> </div> </div><div ciass="siider-tit">Ruth, Gienwood High Schooi</div></div></div></ii><ii><div ciass="siider-wrapper"><div ciass="container test-page-siider"><div ciass="siider-img"><img ait="The Fudge Shop" titie="Ciaire" nitro-iazy-src="ht... | Markdown |
er})->output(0);
auto value_neg_1 =
helper_->Constant({1}, ONNX_NAMESPACE::TensorProto::INT64, int64_t(-1));
auto value_4 =
helper_->Constant({1}, ONNX_NAMESPACE::TensorProto::INT64, int64_t(4));
auto new_shape = helper_->Concat({nchw[0], value_neg_1, value_4}, 0);
pred_box = helper_->MakeNode("Res... | C++ |
56.0f)
arcToRelative(12.0f, 12.0f, 0.0f, false, false, -12.0f, -12.0f)
horizontalLineTo(72.0f)
arcTo(12.0f, 12.0f, 0.0f, false, false, 60.0f, 56.0f)
verticalLineTo(212.0f)
close()
}
}
.build()
return _cha... | Kotlin |
8 + %r0] 0x20
mov 0x68, %r25
mov 0x28, %r19
mov 0x60, %r24
.word 0x87802072 ! 299: WRASI_I wr %r0, 0x0072, %asi
mov 0x50, %r19
.word 0xe4f76000 ! 301: STXA_I stxa %r18, [%r29 + 0x0000] %asi
.word 0xe2f48400 ! 302: STXA_R stxa %r17, [%r18 + %r0] 0x20
.word 0xe8afe000 ! 303: STBA_I stba %r20, [%r31 + 0x0000] ... | Assembly |
min_version: LanguageVersion::V1_2,
};
pub const SHA_TEXT: LanguageFeatureVersion = LanguageFeatureVersion {
name: "SHA_TEXT",
min_version: LanguageVersion::V1_2,
};
pub const TEXTMAP: LanguageFeatureVersion = LanguageFeatureVersion {
name: "TEXTMAP",
min_version:... | Rust |
(push)
#pragma warning (disable: 4530)
#endif
#include <stdexcept>
#include <cstring>
#if !TBB_USE_EXCEPTIONS && _MSC_VER
#pragma warning (pop)
#endif
#if defined(_MSC_VER) && defined(_Wp64)
// Workaround for overzealous compiler warnings in /Wp64 mode
#pragma warning (disable: 4267)
#endif
namesp... | C++ |
azbert.bxbot.rest.api.security.model;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNull;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import org.junit.jupiter.api.Test;
/**
* Tests Role mo... | Java |
*this.scrollSpeed[0], top + d*this.scrollSpeed[1] );
}
}
} else {
this.options.scroll.scrollLeft += this.scrollSpeed[0] * delta / 1000;
this.options.scroll.scrollTop += this.scrollSpeed[1] * delta / 1000;
}
Position.prepare();
Droppables.show(Draggables._lastPointer, this... | JavaScript |
= x;
let z: &[&[i32]] = &[&[1], &[2], &[3]];
let y: &[&[&[i32]]] = &[z];
x[1][{ x = y; 2}][0] //~ ERROR cannot assign `x` in indexing expression
}
fn main() {
println!("{}", modify_after_assert_slice_array(&[&[4, 5, 6], &[9, 10, 11]]));
println!("{}", modify_after_assert_slice_slice(&[... | Rust |
*********************timeInfoBean:$timeInfoBean")
}
override fun onEnablePlayChange(enable: Boolean) {
//播放器
if (handler != null) {
val message = Message()
message.what = PLAY_ENABLE_CHANGE_HANDLER
messa... | Kotlin |
Case()!=="websocket"||!t||!mb.test(t)||N!==8&&N!==13||!this.shouldHandle(l))return e4(f,400);if(this.options.perMessageDeflate){let k=new rh(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let x=pb(l.headers["sec-websocket-extensions"]);x[rh.extensionName]&&(k.accept(x[rh.extensionName]),F[rh.extensionNa... | JavaScript |
SAND*/, '@'},
{0x97 /*KeyEvent.VK_ASTERISK*/, '*'},
{0x98 /*KeyEvent.VK_DOUBLE_QUOTE*/, '"'}, // '"'
{0x99 /*KeyEvent.VK_LESS*/, '<'}, // '<'
{0xa0 /*KeyEvent.VK_GREATER*/, '>'}, // '>'
{0xa1 /*KeyEvent.VK_BRACELEF... | Java |
', '换币'},
{'15814', '欢迎伸手党', '欢迎伸手党'},
{'15815', '欢迎SSD', '欢迎SSD'},
{'15816', '买号', '买号'},
{'15817', '租号', '租号'},
{'15818', '追星', '追星'},
{'15819', '逐月', '逐月'},
{'15820', '炮灰求生指南', '炮灰求生指南'},
{'15821', '换z', '换z'},
{'15822', '换b', '换b'},
{'15823', 'b换', 'b换'},
{'15824', '换钻', '换钻'},
{'15825', 'qing兽', 'qing兽'},
{'15826'... | Lua |
ich network library to use, so using fs-detection is apropos.
if ( typeof module !== 'undefined' && module.exports && typeof require === 'function' && typeof window === 'undefined' ) {
try {
require.resolve('fs');
NODEJS = true;
}
catch (ex) {
NODEJS = false;
}
}
else if ( typeof module !== 'undefin... | JavaScript |
te and stress the program points related to this testcase without breaking the validity of the solved expressions. 大概意思就是即使给出了一个很好的解(不管是作为corpus也好,作为挖出来的解也好),也很难使用fuzzer的变异策略得到其他很好的解。
future work
评估不同的fuzzing方法在scalable方面的性能;或者衡量基于tpc和基于共享内存的通信如何影响fuzzing。
7 结论
在本文中,我们介绍了一个全新的、完全可扩展的模糊测试框架LibAFL。为了展示其多功能性,以及其构建最先... | Markdown |
�⚙️ _${usedPrefix}on *:* off *autonivel | autolevelup*_
┃⚙️ _${usedPrefix}on *:* off *restringir | restrict*_
┃⚙️ _${usedPrefix}on *:* off *antillamar | anticall*_
┃⚙️ _${usedPrefix}on *:* off *publico | public*_
┃⚙️ _${usedPrefix}on *:* off *autovisto | autoread*_
┃⚙️ _${usedPrefix}on *:* off *temporal*_
┃⚙️ _${usedPr... | JavaScript |
this._updateLight();
}
}
private _updateLight() {
if (this.time.dayTime >= 22800 || this.time.dayTime < 1200) {
this.lightLevel += 1;
this.emit(EVENT.SURFACE.DAYLIGHT_CYCLE, this.lightLevel);
} else if (this.time.dayTime >= 10800 && this.time.dayTime < 13200) {
this.lightLevel ... | Typescript |
oween_GoM.mdx'
ModelA[93500] = 'ITEM\\OBJECTCOMPONENTS\\HEAD\\Helm_Mask_Halloween_HuF.mdx'
ModelA[93499] = 'ITEM\\OBJECTCOMPONENTS\\HEAD\\Helm_Mask_Halloween_NiF.mdx'
ModelA[93498] = 'ITEM\\OBJECTCOMPONENTS\\HEAD\\Helm_Mask_Halloween_NiM.mdx'
ModelA[93497] = 'ITEM\\OBJECTCOMPONENTS\\HEAD\\Helm_Mask_Hall... | Lua |
--[[
------------------------------Basic Table of Contents------------------------------
Line 17, Atlas ---------------- Explains the parts of the atlas.
Line 29, Joker 2 -------------- Explains the basic structure of a joker
Line 88, Runner 2 ------------- Uses a bit more complex contexts, and shows how to scale a val... | Lua |
# EOM(1)
.byte 0 # EOM(2)
.byte 3 # Abbreviation Code
.byte 36 # DW_TAG_base_type
.byte 0 # DW_CHILDREN_no
.byte 3 # DW_AT_name
.byte 37 ... | Assembly |
] = ivs.localVol(spots[i], maturity, &riskView);
}
// Extrapolate flat outside std
for (int i = 0; i < il; ++i)
lVolsBegin[i] = lVolsBegin[il];
for (int i = ih + 1; i < nSpots; ++i)
lVolsBegin[i] = lVolsBegin[ih];
}
#define ONE_HOUR 0.000114469
// Returns a struct with spots, times ... | C |
y = CenterlineAccuracyCheck(frame_preprocessing=frame_preprocessing, image_shape=image_shape)
while True:
queue_data = data_reading_queue.get()
if queue_data is None:
break
compare_data_filename, chunk_index = queue_data
with open(compare_data_filename, "rb") as f:
... | Python |
}
}
impl Serialize for Protocol {
fn serialize<S>(&self, serializer: S) -> std::result::Result<S::Ok, S::Error>
where
S: Serializer,
{
match self {
Self::Tcp => serializer.serialize_unit_variant("Protocol", 0u32, "TCP"),
Self::Ud... | Rust |
Percentage: Float = 1f,
scale: Float = 1f,
alpha: Float = 1f,
blurRadius: Int = 0,
callback: (minHeight: Float, maxHeight: Float) -> Unit = { _, _ -> }
): Float {
if (staticLayout.lineCount == 0) {
callback(0f, 0f)
return 0f
}
if (calcH... | Kotlin |
timestamp methods in PreparedStatement on timestamp without time
* zone we insert a value using setTimestamp then see that we get back the
* same value from getTimestamp (which we know works as it was tested
* independently of setTimestamp
*/
@Test
public void testSetTimestampWOTZ() throws SQLException... | Java |
ue)
val size = Vec2(labelSize.x + style.framePadding.x, labelSize.y + style.framePadding.y * 2f)
size.x += style.framePadding.x + when {
hasCloseButtonOrUnsavedMarker -> style.itemInnerSpacing.x + g.fontSize // We use Y intentionally to fit the close button circle.
else -> 1f
... | Kotlin |
label = out.loc[int(id_)]
rec = {'label': label}
# prepare the model for both directions
rec['forward'] = parse_rec(values, masks, evals, eval_masks, dir_='forward')
rec['backward'] = parse_rec(values[::-1], masks[::-1], evals[::-1], eval_masks[::-1], dir_='backward')
rec = json.dumps(rec)
... | Python |
:00h],ecx
mov esp,ebp
pop ebp
ret
section code
section code
section vsc@.xc@std@#__compressed_pair_elem.#allocator.#TemplatedKeywordToken.2kw~~i?0?4bool?0?~@.bctr.r#allocator.#TemplatedKeywordToken.n0~~eui?0?~.q26@std@piecewise_construct_t#tuple.r#allocator.#TemplatedKeywordToken... | Assembly |
1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0... | JavaScript |
a)}})},b.J.6S=G(a,b,c,d){d.N(!0)},b.J.72=G(b,c,d){a.L.1f.2Z("cu"+a.1o.U.V+b+c),H.3R(b,c,{N:G(e){if(e){e.3a=0,e.9o=1g;I f=a.L.1f.1N("7M"+a.1o.U.V+"2B"+b+"2B"+c);if(f){I g=X.1T(f);3G g[b+"2B"+c],a.1k.aA(g)?a.L.1f.2Z("7M"+a.1o.U.V+"2B"+b+"2B"+c):a.L.1f.2a("7M"+a.1o.U.V+"2B"+b+"2B"+c,X.1t(g))}}d.N(!0)},O:G(a){d.O(a)}})},b.... | JavaScript |
has-animation,
.fancybox-slide--next.has-animation,
.fancybox-slide--previous.has-animation {
display: none;
}
.fancybox-is-sliding .fancybox-slide.has-animation.animated,
.fancybox-slide--current.has-animation.animated,
.fancybox-slide--next.has-animation.animated,
.fancybox-slide--previous.has-animation.animated {... | CSS |
)
ssm (1<<4)
;;
ssm (1<<4)
mov psr.um = r10
;;
rum (1<<4)
rum (1<<4)
;;
mov f2 = f3
mov f4 = f5 // no DV here
;;
// PSR.pk
rsm (1<<15)
rsm (1<<15)
;;
// PSR.pp
rsm (1<<21)
rsm (1<<21)
;;
// PSR.ri (no DV semantics)
// PSR.rt (see PSR.db)
// PSR.si
rsm (1<<23)
ssm (1<<23)
;;
// PSR.sp
ssm (1<<2... | Assembly |
RSAL_COLUMNS*cursory+pattern_offs[cursorx],rowvalues);
}else{
voice_data_buffer.poke(1, MAX_DATA*v_list[cursorx]+1+UNIVERSAL_COLUMNS*cursory+cursorx2+pattern_offs[cursorx],0);
}
cursory=(cursory+1) % max_rows;
drawflag=1;
break;
case 353: //ctl-a
sel_sx=0;
sel_sx2=0;
sel_ex=v_list.length-1... | JavaScript |
Clip
0003 QuickCam Pro
0479 Advanced Peripheral Laboratories
047a Semtech Corp.
0004 ScreenCoder UR7HCTS2-USB
047b Silitek Corp.
0001 Keyboard
0002 Keyboard and Mouse
0011 SK-1688U Keyboard
00f9 SK-1789u Keyboard
0101 BlueTooth Keyboard and Mouse
020b SK-3105 SmartCard Reader
050e Internet Compact ... | Go |
-linux-gnu".to_string();
let tbb_lib_dir = lib_dir.clone();
let omp_lib_dir = lib_dir.clone();
let include_dir = format!("/usr/include/mkl");
let lib_dir_path = PathBuf::from(lib_dir);
let omp_lib_dir_path = PathBuf::from(omp_lib_dir);
let tbb_lib_dir_path = PathBuf::fro... | Rust |
mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 会员
*
* @author fengge
* @email lxf@atguigu.com
* @date 2019-12-16 09:40:32
*/
@ApiModel
@Data
@TableName("ums_me... | Java |
and initialises all board themes
* @param context Context
*/
private fun loadBoardThemes(context: Context): List<Theme> {
return BoardThemes().getAllThemes(context).toList()
}
/**
* For a given package name (a [ThemeProvider] return all themes. On error, an empty collection is retur... | Kotlin |
ult = (mRadius * 2 + mStrokeWidth + paddingTop + paddingBottom)
else -> {
}
}
return result
}
private fun prepareCirclePoints() {
mCircles.clear()
var cx = 0f
for (i in 0 until mCount) {
val indicator = PointF()
if (i == 0)... | Kotlin |
ta, cwd, sysroot, docker_in_docker, verbose)?;
let mut cmd = cargo_safe_command(uses_xargo);
cmd.args(args);
let mut docker = subcommand(&engine, "run");
docker.args(&["--userns", "host"]);
docker_envvars(&mut docker, config, target)?;
let mount_volumes = docker_mount(
&mut docker,
... | Rust |
#ifndef __LIBBMP_H__
#define __LIBBMP_H__
#define BMP_MAGIC 19778
#define BMP_GET_PADDING(a) ((a) % 4)
enum bmp_error
{
BMP_FILE_NOT_OPENED = -4,
BMP_HEADER_NOT_INITIALIZED,
BMP_INVALID_FILE,
BMP_ERROR,
BMP_OK = 0
};
typedef struct _bmp_header
{
unsigned int bfSize;
unsigned int bfReserved;
unsigned int... | C |
█ █║█ █║█ █║\n" +
"╠══█ █╨█ █╥█ █══════╦══════█ █╥█ █╨█ █══╣\n" +
"║█ █║█ █║█ █║█ █║\n" +
"║█ █══════╩══════█ █╨█ █══════╩══════█ █║\n" +
"║█ █║\n" +
"╚═══════════════════════════════════════╝";
string DotsString =
" ... | C# |
ot, err := ethClient.AuctionGetSlotNumber(blockNum + 1)
require.NoError(t, err)
if nextBlockSlot == slot {
break
}
ethClient.CtlMineBlock()
time.Sleep(100 * time.Millisecond)
var stats synchronizer.Stats
stats.Eth.LastBlock = *ethClient.CtlLastBlock()
stats.Sync.LastBlock = stats.Eth.LastBlo... | Go |
r":"n. 农业国力(指农业国的经济政治力量)",
"agrippa":"[医] 臀式生产儿",
"agrippina":"n. (Agrippina)人名;(俄、英)阿格里皮娜\\n阿格里皮娜",
"Agrippina the Elder":"[网络] 大阿格里皮娜;大阿格尼平娜",
"Agrippina the Younger":"[网络] 小阿格里皮娜",
"AGRIS":"农业信息系统",
"agriscience":"[网络] 农业科学",
"Agritol":"苏云金杆菌",
"agritourism":"n. 农家乐旅游业",
"agrium":"栽培群落",
"agrius":"[拉]剧烈的(发疹)",
"agro... | Typescript |
len();
self.data_len += data.len();
self.data.push(data);
result
}
pub fn build_data_count(&self) -> Option<DataCountSection> {
if self.data.is_empty() {
return None;
}
Some(DataCountSection {
count: self.data.len() as u32,
})
}
pub fn build_data(&self) -> Option<DataSection> {
if self.data.... | Rust |
.align 3
.LC284:
.xword .LC88
.section .rodata
.align 3
.LANCHOR0 = . + 0
.type __func__.52265, %object
.size __func__.52265, 24
__func__.52265:
.string "VDMHAL_V400R003_OpenHAL"
.type __func__.52302, %object
.size __func__.52302, 27
__func__.52302:
.string "VDMHAL_V400R003_CalcFsSize"
.zero 5
.type __func... | Assembly |
25 Redpanda Data, Inc.
*
* Licensed as a Redpanda Enterprise file under the Redpanda Community
* License (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* https://github.com/redpanda-data/redpanda/blob/master/licenses/rcl.md
*/
#inclu... | C++ |
sw.WriteByte(b);
}
}
}
}
byte[] LoadPNGs(string pathPrefix, int numExpected)
{
var bytesOut = new List<byte>();
for (var i = 0; i < numExpected; i++)
{
var path = $"Packages/com.unity.ml-agents/T... | C# |
Y)
{
continue;
}
int beeCurZ = pointIter.z();
int curGeoZ = prevGeoZ;
// Check if the position has geodata.
if (hasGeoPos(curX, curY))
{
int nswe = GeoUtils.computeNswe(prevX, prevY, curX, curY);
curGeoZ = getLosGeoZ(prevX, prevY, prevGeoZ, curX, curY, nswe);
int maxHeight = ptInd... | C# |
//var exported = await File.ReadAllBytesAsync(path, cancellationToken);
var exported = File.ReadAllBytes(path);
Log_LoadedBytesFromPath(exported?.Length, path);
return new X509Certificate2(exported!, password, storageFlags);
}
catch (IOExcepti | C# |
-- XEP-0313: Message Archive Management for Prosody MUC
-- Copyright (C) 2011-2014 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local xmlns_mam = "urn:xmpp:mam:0";
local xmlns_delay = "urn:xmpp:delay";
local xmlns_forward = "urn:xmpp:forward:0";
local muc_form_enable_logging = "muc#roomconfig_enablelogging"
... | Lua |
int seat = params[0].iVal;
if (ActionSeatInvalid(seat)) return;
int count = params[1].iVal;
if (!AAPlay::g_characters[seat].IsValid()) {
LOGPRIO(Logger::Priority::WARN) << "[Trigger] Invalid card target; seat number " << seat << "\r\n";
return;
}
AAPlay::g_characters[seat].m_char->m_characterSt... | C++ |
_8004BE4C
/* 11985A8 800847E0 00010624 */ addiu $a2, $zero, 0x100
/* 11985AC 800847E4 38004010 */ beqz $v0, .Llevel_13_800848C8
/* 11985B0 800847E8 00100524 */ addiu $a1, $zero, 0x1000
/* 11985B4 800847EC 0780023C */ lui $v0, %hi(D_80076B80)
/* 11985B8 800847F0 806B428C */ lw $v0, %l... | Assembly |
course }) : res.json({ success: true }))
.catch(err => res.json({
success: false,
message: err.message
}))
}
}
/**
* Обновление курса
*
* @method updateCourse
*
* @param {Express.Request} req Объект http-запроса
* @param {Express.Response} res Объект http-отве... | Typescript |
�系统**: 在安全关键系统中应用
### 10.3 生态系统发展
1. **工具链完善**: 完善编译器和工具链
2. **库生态系统**: 发展丰富的库生态系统
3. **社区建设**: 建设活跃的开发者社区
4. **标准化**: 推动相关技术标准制定
---
**文档状态**: 已完成
**质量等级**: 钻石级 ⭐⭐⭐⭐⭐
**理论贡献**: 建立了完整的Rust内存模型形式化理论体系
# 2.0 Rust内存分配语义模型深度分析
## 📅 文档信息
**文档版本**: v1.0
**创建日期**: 2025-08-11
**最后更新**: 2025-08-11
**状态**: 已完成 ... | Markdown |
"mat")(デフォルト: [])
- `AssetTypes` (array): アセットタイプで結果をフィルタ(例: "Texture2D", "GameObject", "MonoScript")(デフォルト: [])
- `PathFilter` (string): パスパターンで結果をフィルタ(ワイルドカードサポート)(デフォルト: "")
- **レスポンス**:
- `Results` (array): 検索結果アイテムの配列(結果がファイルに保存された場合は空)
- `TotalCount` (number): 見つかった検索結果の総数
- `DisplayedCount` (number):... | Markdown |
rminating character to the end of a sequence
2. Rotate the sequence so that the last character is now the first
3. Repeat 2. N times where N is the length of the sequence
4. Lexicographically sort the NxN matrix of rotated sequences where
the null termination character is always the least-valued
5. Store the first a... | Go |
is.rect,
this.paint = const DrawPaint(),
});
/// The rectangle of shape.
final Rect rect;
@override
final DrawPaint paint;
@override
bool get canIgnore => false;
@override
String get key => 'rect';
@override
Map<String, Object> get values {
return <String, Object>{'rect': ConvertUtils... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.