content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
values truncated with ellipses), with the identifier: `did:webvh:QmdhkLDvMUxSmf8LweLPergW5refqjL1S1YKpBihwvmXs6:id.anoncreds.vc:demo:8d2bebfe-6492-4915-b53c-4c3bf2c9711a/resources/zQma3iMYNvMzNNxPsj9cW1cHhN3R1cb3QNMmqhrvhtEhoQe`
```json
{
"@context": [
"https://w3id.org/security/data-integrity/v2"
],
"type"... | Markdown |
if (acc) {
acc--
if (!acc && lastbeg != -1) {
const len = idx - lastbeg
if (len > MIN_GESTURE_LEN) {
for (let i = lastbeg - 3; i <= idx; ++i)
allsamples[i][3] += 3
... | Typescript |
RetryTimeoutMs: 1000,
MinRequestAmount: 5,
StatIntervalMs: 1000,
MaxAllowedRtMs: 100000,
Threshold: 0.99,
}
rule2 := &circuitbreaker.Rule{
Resource: resErrorRatio,
Strategy: circuitbreaker.ErrorRatio,
RetryTimeoutMs: 1000,
MinRequestAmount: 5,
StatIntervalMs: 1000,
... | Go |
80142E50 0013FD90 38 80 00 00 */ li r4, 0
/* 80142E54 0013FD94 81 9E 00 00 */ lwz r12, 0(r30)
/* 80142E58 0013FD98 81 8C 00 AC */ lwz r12, 0xac(r12)
/* 80142E5C 0013FD9C 7D 89 03 A6 */ mtctr r12
/* 80142E60 0013FDA0 4E 80 04 21 */ bctrl
/* 80142E64 0013FDA4 80 6D 92 E0 */ lwz r3, naviMgr__4Game@sda21(r13)
/* 80... | Assembly |
ssets.s3.amazonaws.com/mobileApp/images/Mount_Body_BearCub-Shadow.png');
width: 105px;
height: 105px;
}
.Mount_Body_BearCub-Shimmer {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/Mount_Body_BearCub-Shimmer.png');
width: 105px;
height: 105px;
}
.Mount_Body_BearCub-Silver {
... | CSS |
atus_code=status.HTTP_404_NOT_FOUND, detail="Category not found"
)
@router.get("/detail/{product_slug}", summary="Получить детальную информацию о товаре")
async def product_detail(session: session, product_slug: str) -> Dict[str, str]:
"""Получение детальной информации о продукте по его slug.
Args:
... | Python |
Future.delayed(const Duration(seconds: 1)); // 每秒检查一次
}
// 更新区块状态为 "运行中" 并通过回调通知UI
task.chunk.status = ChunkStatus.running;
await onProgressUpdate(completedTasks / totalChunks, task.chunk);
// 核心处理逻辑:处理单个任务区块,将绘图池传入,供内部调度绘图任务
final success = await _processChunkForImage... | Dart |
),
interval(
1, trace.Timestamp(1030), Duration(0), CPUID(1),
threadResidency(thread4, Duration(0), WaitingState),
),
},
}}
tests := []struct {
description string
eventSet *eventpb.EventSet
options []Option
want []wantPIDIntervals
}{{
description: "simple switch-only, lo... | Go |
AQAB";
orderInfo['sign'] = sign;
let reportData = {
'account': LocationProperty.openID,
'serverId': LocationProperty.weiduanCurSrvData?LocationProperty.weiduanCurSrvData.server_id:LocationProperty.srvid,
'actorid': `${Actor.actorID}`,
'itemindx': payIndex
};
let reportDataStr = "";
... | Typescript |
ota. Voit selata verkkosivuiltamme kauppailmoituksia ja etsiä suosimaasi maksutapaa. Löydät kauppiaita ostamassa ja myymässä kryptovaluuttoja verkossa yli 60 eri maksutavalla. Jos olet uusi $appName:n käyttäjä ja haluat ostaa kryptovaluuttoja, tutustu oppaihimme.';
}
@override
String faq250Sbanswer8722Sb1(Object... | Dart |
#------------------------------------------------------------------------------
#
# Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
# which accompanies this distributi... | Assembly |
(b"Poincareplane", "\u{210C}"),
(b"Popf", "\u{2119}"),
(b"Pr", "\u{2ABB}"),
(b"Precedes", "\u{227A}"),
(b"PrecedesEqual", "\u{2AAF}"),
(b"PrecedesSlantEqual", "\u{227C}"),
(b"PrecedesTilde", "\u{227E}"),
(b"Prime", "\u{2033}"),
(b"Product", "\u{220F}")... | Rust |
/// Handles the scenario when the scan timer completes. When the timer completes, this function checks if any devices
/// were discovered. If none were discovered, an error condition is triggered.
void handleScanTimeout() {
if (discoveredDevices.isEmpty) {
debugPrint('No Pincer devices found');
/... | Dart |
.297 2.926c-3.905 3.905-3.905 10.237 0 14.142 3.905 3.905 10.237 3.905 14.142 0a9.972 9.972 0 002.926-7.297 10.037 10.037 0 00-.337-2.368 14.87 14.87 0 01-1.744 1.436c-1.351.949-2.733 1.563-3.986 1.842-1.906.423-3.214.032-3.93-.684-.716-.716-1.107-2.024-.684-3.93.279-1.253.893-2.635 1.841-3.986.415-.592.894-1.177 1.437... | Dart |
// Prototyping extended expression trees for C#.
//
// bartde - May 2020
namespace Tests.Microsoft.CodeAnalysis.CSharp
{
partial class CompilerTests_CSharp70_TupleLiterals
{
partial class Reviewed
{
// Literal
public override void CompilerTest_4091_A89E() => OK();
... | C# |
ed"] = BsonValue.Create(false);
workflowElement["RetryCount"] = BsonValue.Create(0);
workflowElement["ResumeOn"] = BsonValue.Create(DateTime.UtcNow);
coll.ReplaceOne(filter, doc, new ReplaceOptions() { IsUpsert = false });
}
}
}
} | C# |
.9918,-3177.923]));
P.push(new BezierPatch([
[-21.97386,27.61001,-3199.084],
[-23.80501,36.11979,-3194.45],
[-25.63617,44.62957,-3189.817],
[-27.46732,53.13935,-3185.183],
[-15.29296,26.97588,-3195.279],
[-16.56737,35.43282,-3190.329],
[-17.84179,43.88976,-3185.378],
[-19.1162,52.3467,-3180.427],
[-7.714435,26.64205,-... | HTML |
RD_PREF = "BLACKOUT_PASSWORD"
private val DATE_FORMATTER by lazy {
SimpleDateFormat("dd/MM/yyyy", Locale.ENGLISH)
}
}
}
package eu.kanade.tachiyomi.extension.pt.universohentai
import eu.kanade.tachiyomi.multisrc.gattsu.Gattsu
import eu.kanade.tachiyomi.network.interceptor.rateLimit
imp... | Kotlin |
: UserAllowListedDomain) {
withContext(dispatchers.io()) { dao.insert(entry) }
}
private suspend fun deleteEntryFromDatabase(entry: UserAllowListedDomain) {
withContext(dispatchers.io()) { dao.delete(entry) }
}
}
/*
* Copyright (c) 2024 DuckDuckGo
*
* Licensed under the Apache License, V... | Kotlin |
use secp::key::SecretKey;
use rand::os::OsRng;
use core::{Transaction, Input, Output, DEFAULT_OUTPUT};
/// Context information available to transaction combinators.
pub struct Context {
secp: Secp256k1,
rng: OsRng,
}
/// Accumulator to compute the sum of blinding factors. Keeps track of each
/// factor as well as ... | Rust |
{
}
.dates-event-list-dv .ee-gmap-wrapper {
float: right;
width: 50%;
}
/************************************** EVENT SINGLE ************************************* */
.espresso-event-header-dv {
position: relative;
margin: 0 0 20px;
}
.espresso-event-details.has-excerpt .espresso-event-header-dv {
/*min-he... | CSS |
ed
[INFO] read file 2/3: common_b.fasta
[INFO] 5 seqs left
[INFO] read file 3/3: common_c.fasta
[INFO] 5 seqs left
[INFO] 5 unique sequences found in 3 files, which belong to 5 records in the first file: common_a.fasta
[INFO] 5 common/shared sequences saved to: -
... | Markdown |
--[[
Copyright (C) 2020, 2021 penguin0616
This file is part of Insight.
The source code of this program is shared under the RECEX
SHARED SOURCE LICENSE (version 1.0).
The source code is shared for referrence and academic purposes
with the hope that people can read and learn from it. This is not
Free and Open Source s... | Lua |
Value::Int(num1 & num2)
}
_ => Value::Null,
},
BinOp::BitOr => match (arg1, arg2) {
(Value::Int(num1), Value::Int(num2)) => {
Value::Int(num1 | num2)
}
_ => Value::Null,
... | Rust |
blic
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
/* We want an #include_next, but we are the main source file.
So, #include ourselves and in that incarnation we can use #include_next. */
#ifndef INCLUDED_SELF
# define INCLUDED_SELF
# include <vfork.S>
#else
# includ... | Assembly |
accessed from ``Base``.
friend class RxSO3Base<RxSO3<Scalar_, Options>>;
using Base::operator=;
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
/// Default constructor initializes quaternion to identity rotation and scale
/// to 1.
///
SOPHUS_FUNC RxSO3()
: quaternion_(Scalar(1), Scalar(0), Scalar(0), Scalar(0))... | C++ |
: Paste YM Sound
dc.l paste_yms
;
dc.w 101 / op NumKeyPad : YM Sound Minus
dc.l sound_m
;
dc.w 102 * op NumKeyPad : YM Sound Plus
dc.l sound_p
;
dc.w 96 Backslash
dc.l change_pal
;
dc.w 97 Undo
dc.l do_undo_yef
;
; laatste item
dc.w 0
dc.l 0
;
help_keys
;
dc.w 72 Scroll Up
dc.l scroll_up
;
dc.w 80 S... | Assembly |
to_pi() : <a class="el" href="classlarcfm_1_1_util.html#a54cd33b77244807ee83460803720d14c">larcfm::Util</a></li>
<li>to_pi2_cont() : <a class="el" href="classlarcfm_1_1_util.html#a9acde405b87081e41e899b277afdf2a3">larcfm::Util</a></li>
<li>toIntervalSet() : <a class="el" href="classlarcfm_... | HTML |
FF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class org.apache.tools.ant.Task</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, hand... | HTML |
/* Copyright © 2019 Software Reliability Group, Imperial College London
*
* This file is part of SaBRe.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
/*
* RUN: %{cc} %s -o %t1
* RUN: %{sbr} %{sbr-id} -- %t1 &> %t1.actual
* RUN: echo "Hello from child" > %t1.expected
* RUN: echo "Hello from parent" >> ... | C |
# How it works
Fill the UCSC 'YC' color tag in a BAM using a javascript expression using
the nashorn javascript engine. The YC is used by IGV or the UCSC to colorize the reads
The script engine inject 'header' ( a htsjdk.samtools.SAMFileHeader ) and 'record' (a htsjdk.samtools.SAMRecord).
The script should return
... | Markdown |
s",value:function(t){k(e,a,t,this.props)}},{key:"render",value:function(){var e=j()(this.props,a?i()(a):[]),t=n(o,"root");return x.a.createElement(t,e)}}]),r}(S.Component)},I=function(e,t,n,r,o){var a=n(e,t,r,"App","root");_.a.render(x.a.createElement(a,null),o)},T=function(e){var t=e.name;return x.a.createElement("div... | JavaScript |
318-.988a.963.963 0 00-1.165.046l.002-.001-1.079 1.087a.958.958 0 00-.044 1.165l-.002-.003.988 1.318a1.309 1.309 0 01.099 1.272l.003-.008-.611 1.482c-.162.419-.522.73-.963.819l-.008.001-1.631.23a1.017 1.017 0 00-.817.849l-.001.006s-.029.256-.029.769.027.77.027.77c.064.432.393.773.814.852l.006.001 1.629.232c.449.091.81.... | Dart |
::Ok();
}
template<valid_spi_data T>
hal::HalResult SpiDrv::transceive_burst(
const std::span<T> pbuf_rx,
const std::span<const T> pbuf_tx,
Continuous cont
){
if(const auto res = spi_.borrow(idx_.to_req());
res.is_err()) return res;
{
const auto N = pbuf_rx.size();
if con... | C++ |
from datetime import date
from django.db import models
from django.core.exceptions import ValidationError
from .fields import BooleanChoiceField
# Create your models here.
class Animal(models.Model):
name = models.CharField(max_length=100)
species = models.CharField(max_length=100)
birth_date = models.Da... | Python |
private val participantes = mutableListOf<Participante>()
// Función para registrar un nuevo evento
fun registrarEvento(nombre: String) {
eventos.add(Evento(nombre))
println("Evento '$nombre' registrado correctamente.")
}
// Función para registrar un nuevo participante
fun regist... | Kotlin |
using System.Linq;
using UnityEngine;
namespace UnityEditor.Timeline
{
class RectangleSelect : RectangleTool
{
protected override bool enableAutoPan { get { return false; } }
protected override bool CanStartRectangle(Event evt)
{
if (evt.button != 0 || evt.alt)
... | C# |
static int s_46 = 1;
public static int Run()
{
s_32 = 0;
M5();
return s_46;
}
static void M5()
{
s_46 *= (Interlocked.Exchange(ref s_46, 0) | s_32--);
}
}
class Test3
{
static int s_3;
stat... | C# |
, name: "高斯大地坐标系_中国2000_45带3_北2", type: 0, strProject: "+proj=tmerc +lat_0=0 +lon_0=135 +k=1 +x_0=45500000 +y_0=0 +ellps=GRS80 +units=m +no_defs" },
{ id: 4546, name: "高斯大地坐标系_中国2000_37带3_北", type: 1, strProject: "+proj=tmerc +lat_0=0 +lon_0=111 +k=1 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs" },
... | JavaScript |
://www.snowflake.com/en/data-cloud/snowpark/).
These examples showcase some of the work conducted for the [March Machine Learning Mania 2023](https://www.kaggle.com/competitions/march-machine-learning-mania-2023/data) Kaggle competition and are inspired by the article [Predicting the Unpredictable — March Madness usin... | Markdown |
")]
const KEYWORD_FILE: &str = "assets/hi robot_mac.ppn";
#[cfg(target_os = "windows")]
const KEYWORD_FILE: &str = "assets/hi robot_windows.ppn";
fn read_audio_file() -> Vec<u8> {
let mut file = File::open("assets/single.raw").unwrap();
let mut audio_u8 = Vec::new();
// Read file to memory
file.read_t... | Rust |
lse, Encoding.Default);
m_sw.WriteLine(c_line, "Calls", "Level", "Function", "Module", "Time", "Type", "Warnings");
uint startLevel = GetUnit(n).NestingLevel;
uint index = n;
uint returnTime = this.GetUnitReturnTime(n);
uint maxNodeN = GetNMax();
... | C# |
",
isPrimary = false,
type = AliasType.ARTIST_NAME,
),
BasicAlias(
name = "ずとまよ",
locale = "ja",
isPrimary = false,
... | Kotlin |
private val handler:Handler = Handler(thread.looper) { msg ->
return@Handler when(msg.what) {
READ -> {
// 更新指定字段的数据
synchronized(modifierKeys) {
val keys = modifierKeys.toTypedArray()
modifierKeys.clear()
va... | Kotlin |
y>
<header class="top-bar">
<div class="brand">
<img src="%%LOGO_URL%%" alt="SyntH logo" />
<div class="brand-text">
<h1>%%BRAND_NAME%%</h1>
<span>Synthetic Heart Command Console</span>
</div>
</div>
<button class="hamburger... | HTML |
(255,0,0,0)","margin":"0 auto","borderColor":"rgba(0,0,0,1)","backgroundColor":"#fff","borderRadius":"0","borderWidth":"0 0 1px 0","width":"80%","borderStyle":"solid","height":"64px"}' class="form-item layui-form-text">
<label v-if="false" :style='{"padding":"0 10px","boxShadow":"0 0 6px rgba(255,0,0,0)","borderCo... | HTML |
BYlPi5hX
XY0SwdkKtdsd3P5xH5ArZZQ4CRZQvlq04ec1mwAAAABJRU5ErkJggg==
`)
TileImgs["map-hbar"] = []byte(`iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAMAAADEfo0+AAADAFBMVEUAAAD///8A/wD/+wCC/wAA
/wAA/30A//8Agv8AAP95AP/PAP//ANf/AIL/AAD/fQDLmkWWPBhhAAD/94LD/4KC/4KC/76C//+C
w/+Cgv+mgv/Pgv/7gv//gsP/goL/noKCAACCHACCPACCUQCCZQCCeQBBggAAggAAg... | Go |
class Solution:
def getMaximumXor(self, nums: List[int], maximumBit: int) -> List[int]:
ret = []
prefix = 0
for num in nums:
prefix ^= num
ret.append((2 ** maximumBit - 1) ^ prefix)
return ret[::-1]
| Python |
="javascript:void(0);"></a>
<a title="分享到Facebook" class="bshare-facebook" href="javascript:void(0);"></a>
<a title="分享到Twitter" class="bshare-twitter" href="javascript:void(0);"></a>
<a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a>
</div>
<script type="text/j... | HTML |
s.push(num1 / num2);
}
// "+", "-", "*", "/"
}
}
tokens.close();
return s.pop();
}
}
package DynamicProgramming;
// Partition a set into two subsets such that the difference of subset sums is minimum
/*
Input: arr[] = {1, 6, 11, 5}
Output: 1
Explanation:
Subset1 = {1, 5, 6}... | Java |
SetMediaTrackInfo_Value( tr, 'I_SOLO', 4 )
SetTrackUISolo( tr, 4, 2 )
else
SetMediaTrackInfo_Value( tr, 'I_SOLO', 0 )
SetTrackUISolo( tr,0, 2 )
end
TrackList_AdjustWindows( false )
DATA.upd = true
end
if ImGui.IsItemClicked( ctx, ImGui.MouseButton_Right ) th... | Lua |
func TestAccDataSourceGoogleOrganizationIamCustomRole_basic(t *testing.T) {
t.Parallel()
orgId := envvar.GetTestOrgFromEnv(t)
roleId := "tfIamCustomRole" + acctest.RandString(t, 10)
acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories:... | Go |
_property_native("path")
temporary_screenshot_path = nil
else
-- Not an image, take a temporary screenshot
-- In case the full-size output path is identical to the crop path,
-- crudely make it different
if temporary_screenshot_path == output_path then
temporary_screenshot_path = temporary_... | Lua |
MockResponse
.Builder()
.body("A")
.addHeader("Cache-Control: max-age=0")
.addHeader("Date: " + formatDate(0, TimeUnit.MINUTES))
.build(),
)
server.enqueue(
MockResponse
.Builder()
.code(304)
.build(),
)
assertThat(get(server.url("/... | Kotlin |
if (json is Map && json.isNotEmpty) {
json = json.cast<String, dynamic>(); // ignore: parameter_assignments
for (final entry in json.entries) {
final value = ServiceCreateRequest.fromJson(entry.value);
if (value != null) {
map[entry.key] = value;
}
}
}
re... | Dart |
nalIEs = append(c.AdditionalIEs, i)
}
}
c.SetLength()
return c
}
// Marshal serializes UpdateBearerResponse into bytes.
func (c *UpdateBearerResponse) Marshal() ([]byte, error) {
b := make([]byte, c.MarshalLen())
if err := c.MarshalTo(b); err != nil {
return nil, err
}
return b, nil
}
// MarshalTo seriali... | Go |
{padding-top:0px !important;padding-bottom:0px}nav[role=doc-toc]{z-index:1020}#quarto-sidebar>*,nav[role=doc-toc]>*{transition:opacity .1s ease,border .1s ease}#quarto-sidebar.slow>*,nav[role=doc-toc].slow>*{transition:opacity .4s ease,border .4s ease}.quarto-color-scheme-toggle:not(.alternate).top-right .bi::before{ba... | CSS |
rn;
}
polyCount = ClipQuadToFrustumFixed(quad, outPoly);
if (polyCount > 0) {
ProcessClippedTriangleAndDraw(outPoly, polyCount);
}
}
#define V0_VIS (1 << 0)
#define V1_VIS (1 << 1)
#define V2_VIS (1 << 2)
#define V3_VIS (1 << 3)
static void ClipLineFixed(const VertexFixed* v1, const VertexFix... | C |
} CertificateVerify;
```
algorithm 字段指定使用的签名算法(有关此类型的定义,请参见第 4.2.3 节)。signature 字段是使用该算法的数字签名。签名中涵盖的内容是第 4.4.1 节中描述的哈希输出,即:
```c
Transcript-Hash(Handshake Context, Certificate)
```
计算数字签名是级联计算的:
- 由八位字节32(0x20)组成的字符串重复 64 次
- 上下文字符串
- 用作分隔符的单个0字节
- 要签名的内容
设计这个结构目的是为了防止对先前版本的 TLS 的攻击,其中 ServerKeyExcha... | Markdown |
import json
import time
from pubsub import pub
from src.common import constant
from src.common import runtime_data_info
from src.common.obj import IdentifyMsg
def send_msg(mzml_name=None, mzml_index=None, step=None, status=None, msg=None, channel=None):
#
start_timestamp = runtime_data_info.runtime_data.sta... | Python |
ationSize, objectCreator: () => new object());
pool.FreeAll();
pool.Shrink();
pool.Size.ShouldEqual(0);
UseObjectsInPool(pool, 1);
pool.Size.ShouldEqual(AllocationSize);
}
[TestCase]
public void FreeKeepsPoolSize()
{
... | C# |
('url').value,
max_depth: Number(document.getElementById('depth').value),
max_pages: Number(document.getElementById('pages').value),
};
if (crawlerCollectBooks) {
payload.collect_books = crawlerCollectBooks.checked;
}
if (crawlerCollectMedex) {
payload.collect_med... | HTML |
#!/usr/bin/python3
import inspect
import io
import sys
import cmd
import shutil
import console
"""
Cleanup file storage
"""
import os
file_path = "file.json"
if not os.path.exists(file_path):
try:
from models.engine.file_storage import FileStorage
file_path = FileStorage._FileStorage__file_path
... | Python |
// Rings
ring_ancient = Ringe (Antiker)
ring_goauld = Ringe (Goauld)
ring_ori = Ringe (Ori)
ring_panel_ancient = Ring Schalttafel (Antiker)
ring_panel_goauld = Ring Schalttafel (Goauld)
ring_panel_ori = Ring Schalttafel (Ori)
ring_name = Benenne die Ringe (nur Nummern!):
ring_dial = Gebe Zieladresse ein (nur Nummern!):... | Lua |
68d3, U+68d6, U+68e1, U+68e3, U+68e6, U+68e8-68ec, U+68ef-68f1, U+68f3, U+68f6-68f7, U+68f9-68fd, U+6900-6904, U+6906-6907, U+6909, U+690b, U+690f-6910, U+6917-691c, U+6925, U+692a, U+692c-692d, U+6932, U+6934, U+6936, U+6939, U+693c-6940, U+6942-6943, U+6946, U+6949, U+6952, U+6954-6956)
);
/* noto-sans-hk-[66]-700-n... | CSS |
rel="icon" type="image/x-icon"/>
</head>
<body>
<meta content="旅大市大、中学校选拔留苏学生中的问题" property="title"/>
<meta content="1953-6-26" property="date"/>
<meta content="李普人" property="authors"/>
<script type="application/ld+json">
{"title": "\u65c5\u5927\u5e02\u5927\u3001\u4e2d\u5b66\u6821\u9009\u62d4\u7559\u82cf... | HTML |
2)
local m_iPicked = -1
if CGameArea > 0 then
m_iPicked = IEex_ReadDword(CGameArea + 0x246)
end
return m_iPicked
end
function IEex_GetActorIDCharacter(characterNum)
if characterNum >= 0 and characterNum <= 5 then
return IEex_ReadDword(IEex_GetGameData() + 0x3816 + characterNum * 0x4)
end
return -1
end
fun... | Lua |
}
]
);
}
#[test]
fn get_reference() {
let mut rng = rand::rngs::StdRng::seed_from_u64(42);
let refs = References::from_stream(std::io::Cursor::new(FASTA)).unwrap();
let seqs: Vec<(usize, char)> = (0..10).map(|_| refs.choose_reference(&mut rng)).collect();
... | Rust |
::Wrapper {
/// [getConnection](https://developer.android.com/reference/javax/sql/DataSource.html#getConnection())
///
/// Required features: "java-sql-Connection"
#[cfg(any(feature = "all", all(feature = "java-sql-Connection")))]
pub fn getConnection<'env>(&'env self) -> __jni_... | Rust |
The Unit that was Killed
local killedUnit = EntIndexToHScript( keys.entindex_killed )
-- The Killing entity
local killerEntity = nil
if keys.entindex_attacker ~= nil then
killerEntity = EntIndexToHScript( keys.entindex_attacker )
end
if killedUnit:IsRealHero() then
DebugPrint("KILLED, KILLER: " ... | Lua |
global tables. Customers should use <a
/// href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html">Global
/// Tables version 2019.11.21 (Current)</a> when possible, because it provides
/// greater flexibility, higher efficiency, and consumes less write capacity
/// than 2017.1... | Dart |
_62",
[3482720376] = "h4_mp_yacht_worldmap",
[2000427138] = "barr_fcage_1ac",
[3629521027] = "ba_glam_pay_counter",
[348002439] = "wheel_5smod17c",
[1141774479] = "insur_armdsidef_a",
[1406539929] = "gtx_grille_b",
[2299664540] = "hei_ch3_rd1a_props_prop10_03_lod",
[370022561] = "sent_roof_3",
[1384913059] = "... | Lua |
бновить статус</button>
<button type="submit" name="delete_note">Удалить заметку</button>
</form>
</div>
{% endfor %}
{% if notes_len > 5 %}
<nav>
<span>Постраничная навигация:</span>
<ul>
{% for p in page_obj.paginator.page_range %}
<li>
<a href="?page={{ p }}">{{ p }}<... | HTML |
using System;
using System.Linq;
using AcTools.Render.Base.Cameras;
using AcTools.Render.Base.Shaders;
using AcTools.Render.Base.TargetTextures;
using AcTools.Render.Base.Utils;
using AcTools.Render.Shaders;
using AcTools.Utils;
using SlimDX;
using SlimDX.Direct3D11;
namespace AcTools.Render.Base.PostEffects.AO {
... | C# |
�酯",
"phenyl carbylamine dichloride":"[化] 苯胩化二氯",
"phenyl chloroacetate":"[化] 氯乙酸苯酯",
"phenyl crotonylene":"[化] 苯基巴豆炔",
"phenyl cyanate":"[化] 氰酸苯酯",
"phenyl cyanide":"[化] 苯基氰; 苄腈",
"phenyl diglycol carbonate":"[建] 苯基二甘醇碳酸酯",
"phenyl disulfide":"[化] 二硫二苯",
"phenyl ether":"[化] 苯基醚; 二苯醚",
"phenyl fatty acid":"[医] 苯脂[肪]酸",... | Typescript |
of undefined (reading 'url'),
Error: Cannot read properties of undefined (reading 'url')
unsupported: false, false, false, false, false
passed: true, true, true, true, true
test failed: false, false, false, false, false</pre>
</td>
</tr>
<tr>
<td class="toolt... | HTML |
': 1,
'5': 11,
'6': '.livekit.ParticipantInfo',
'10': 'participant'
},
{
'1': 'other_participants',
'3': 3,
'4': 3,
'5': 11,
'6': '.livekit.ParticipantInfo',
'10': 'otherParticipants'
},
{'1': 'server_version', '3': 4, '4': 1, '5': 9, '10': 'serverVe... | Dart |
ializableContent.Length != 0)
{
SerializableContent += ", ";
}
SerializableContent += GetFlagContentString(serializationContent, serializable: true);
SerializableContent = SerializableContent.TrimStart(',');
}
}
}
internal string GetFlagContentString(SerializationContent flag, bool... | C# |
| Opening | Likeliness | Next moves | Likeliness | White wins | Draw | Black wins | Average points for White |
|-----------|------------|------------|:----------:|:---------------:|:--------------:|:---------------:|:------------------------:|
| 1.g4 g5 2.h4 h6 3.Nbc3 Nbc6 4.Rg3 b6 5.hxg5 Ne5 6.... | Markdown |
final defaultImg = _image2!;
// This function is called only one time, no need to care about the performance.
Uint8List data = defaultImg.getBytes(order: img2.ChannelOrder.rgba);
_image?.dispose();
_image = await img.decodeImageFromPixels(
data, defaultImg.width, defa... | Dart |
e(m_muting_uid, m_branch_mute_callback.get());
}
}
/*
* Called when we successful mute a device during the branch stage.
*/
void DiscoveryAgent::BranchMuteComplete(bool status) {
m_mute_attempts++;
if (status) {
m_uids.AddUID(m_muting_uid);
m_uid_ranges.top()->uids_discovered++;
} else {
// faile... | C++ |
--[[ Global Variable Management with automagic global table cleaning, and Lua garbage collection.
*********************************
* *
* The LUA++ Scripting Project *
* *
*********************************
This software is provided as free and open source by the
staff of The LUA++ Scripting Project, in a... | Lua |
': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'},
{
'1': 'parameter_types',
'3': 2,
'4': 3,
'5': 11,
'6': '.google.api.expr.v1alpha1.Type',
'10': 'parameterTypes'
},
],
};
@$core.Deprecated('Use typeDescriptor instead')
const Type_PrimitiveType$json = {
'1': 'PrimitiveTy... | Dart |
aterializeable: true}, // fp32 constant
{name: "MOVSDconst", reg: fp01, asm: "MOVSD", aux: "Float64", rematerializeable: true}, // fp64 constant
{name: "MOVSSloadidx1", argLength: 3, reg: fploadidx, asm: "MOVSS", scale: 1, aux: "SymOff", symEffect: "Read"}... | Go |
move.w d1,instr_t(a3) ; Oui, il devient l'instrument courant
move.l (adr_instrset,a1,d1.w*4),a2 ; a2 pointe sur l'instrument
move.w vol_i(a2),d3 ; Prend le volume dans d3
move.w curnote_t(a3),d4 ; Recherche le sample qui va avec la note courante
move.b transp_i(a2,d4.w*2),d1
ext.w d1
move.w d1,transp_t(a3) ; Tran... | Assembly |
BRight.render(scaleFactor);
this.RTop.render(scaleFactor);
this.RBottom.render(scaleFactor);
this.RLeft.render(scaleFactor);
this.RRight.render(scaleFactor);
this.GPivot.render(scaleFactor);
this.GBase.render(scaleFactor);
this.F31.render(scaleFactor);
this.F21.render(scaleFactor);
this.F41.render(sca... | Java |
l extents = cairo_text_extents_t:create();
local text = "";
-- few co-ordinates
local centerx = width/2;
local centery = height/2;
-- getting the path of the conky
local pathway = script_path()
-- setup variables for web based content
local min = tonumber(conky_parse('${time %M}'));
local sec = tonumber(con... | Lua |
iter)):
out = batched_preds_pmap(params, batch_i)
outs.append(out)
# Have enough to accumulate
if len(outs) == num_accumulations:
megabatch = jax.tree_multimap(lambda *xs: jnp.concatenate(xs, 1), *outs)
loss_info = loss_megabatch_pmap(mega... | Python |
char *ecopy, *ep, *p, *pofs, *re;
FILE *ofp;
if ((ecopy = strdup(expr)) == NULL)
err(1, "strdup");
re = ecopy + 1;
if ((pofs = strrchr(ecopy, *expr)) == NULL || pofs[-1] == '\\')
errx(1, "%s: missing trailing %c", expr, *expr);
*pofs++ = '\0';
if (*pofs != '\0') {
errno = 0;
ofs = strtol(pofs, &ep, 1... | C |
4MzcwNTAzOQ==&mid=2247535253&idx=1&sn=a63da635da47e36d7a285a69fff6f365&chksm=eb84a135dcf32823c3baa9ffe8764369b8ed1dbda68729cb451512fb86f09740320c78689cd8&scene=21#wechat_redirect)
[• 路人乙 | U8 Cloud ServiceDispatcher反序列化漏洞及补丁分析](http://mp.weixin.qq.com/s?__biz=MzI4MzcwNTAzOQ==&mid=2247535559&idx=1&sn=fe740dada54... | Markdown |
already includes the vector number, so we can simply call */
call amd64_dispatch_isr
.restore_stack:
/* If this is the outermost stack, this restores the task stack */
movq SAVED_RSP, rsp
decl PER_CPU_ISR_NEST_LEVEL(Per_CPU_Info)
decl PER_CPU_THREAD_DISPATCH_DISABLE_LEVEL(Per_CPU_Info)
movl PER_CPU_THREAD... | Assembly |
0)
}
#[doc = "Clock enabled"]
#[inline(always)]
pub fn _1(self) -> &'a mut W {
self.variant(DAC0_A::_1)
}
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
... | Rust |
Returns:
[Shadow Element]: 返回值为一合法, 但不包括任何 Image 特征属性的叠加态消息元素; 其包含有一 asFlash 方法,
可以将当前图片转为闪照形式发送.
"""
return Image_NetworkAddress(url, method)</code></pre>
</details>
</dd>
<dt id="graia.application.message.elements.internal.Image.fromUnsafeAddress"><code class="name flex">
<span... | HTML |
7abM",
"s84NfZE",
"Zr3joV+",
"tvWqIy4",
"GKQxLch",
"Vlvz+ek",
],
rds: { m: ["FbtLogging", "IntlQtEventFalcoEvent"] },
be: 1,
},
React: { r: ["R0lSirj", "nc2ZTn5"], be: 1 },
... | HTML |
setSelectedLayoutIndex(selectedLayoutIndex: Int): LayoutSelector {
this.selectedLayoutIndex = selectedLayoutIndex
return this
}
fun setSelectedLayoutTitle(selectedLayoutTitle: String?): LayoutSelector {
this.selectedLayoutTitle = selectedLayoutTitle
return this
}
fun s... | Kotlin |
天内,基本上停止了五大任务,全力进行种包谷(该区土多田少,种包谷是一个紧张的生产季节)。清理和分配了以往积压的斗争果实,解决了农民在生产中的困难,并号召农民将斗争果实投入生产,仅高溪乡兴隆村即用果实烧了近10万斤石灰。除号召农民撒足够的秧苗外,还在有水田的村,以包干的方法撒了公秧(兴隆村撒了二斗五升公秧),以备秧苗不足时应用,这在正土改区是特别重要的。发动群众解决了缺秧田的问题,在组与组、村与村之间进行了调剂,在个别村还发动群众挑水打秧田。为了争取及时播种,并使包谷种不被枯死,在一些村中发动群众背水点种包谷(仅兴隆村一个组就背了800多背)。在防旱抗旱工作中,打破了农民靠天吃饭的保守思想,兴修了小型水利。
</p>
<p>
... | HTML |
Client(const MUID& uidStage, int nState, int nRound)
{
}
int MMatchStage::GetObjInBattleCount()
{
int nCount = 0;
for (auto itor=GetObjBegin(); itor!=GetObjEnd(); ++itor)
{
MMatchObject* pObj = itor->second;
if (pObj->GetEnterBattle() == true)
{
nCount++;
}
}
return nCount;
}
void MMatchStage::SetO... | C++ |
ng:0px 4px 0px 4px" class="hierarchy">0..*</td><td style="vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy"><a href="datatypes.html#ContactPoint">ContactPoint</a></td><td style="vertical-align: top; text-align : left; background-colo... | HTML |
> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#meth... | HTML |
r, TextEncoder};
use crate::core::{logging, logpump, status as bot_status, BotConfig, BotContext, BotStats, ColdRebootData};
use crate::error::{EventHandlerError, StartupError};
use commands::ROOT_NODE;
use translation::Translations;
mod commands;
mod core;
pub mod cache;
use cache::Cache;
mod parser;
pub use par... | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.