content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/* $XFree86: xc/programs/Xserver/hw/xfree86/vga256/drivers/video7/v7_bank.s,v 3.3 1996/12/23 06:58:54 dawes Exp $ */
/*
* Stubs Driver Copyright 1993 by David Wexelblat <dwex@goblin.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted... | Assembly |
;
out << "ON " << *join_condition;
indent(out);
for (auto p : clauselist) {
out << *p;
indent(out);
}
}
void merge_stmt::accept(prod_visitor *v)
{
v->visit(this);
target_table_->accept(v);
data_source->accept(v);
join_condition->accept(v);
for (auto p : clauselist)
p->ac... | C++ |
for solid tile
if fget(v, 0) then
--position p1 right below
--ceiling
p1.y = math.floor((p1.y + 8) / 8) * 8
--halt upward velocity
p1.dy = 0
end
end
if frametime > 0.4 then
map:update()
--Water:update()
frametime = frametime % 0.4
end
-- infinite water sources
map:set(31, 1, TILE.WATER)
... | Lua |
us_kal16.so.1': 'libflite1',
'libflite_cmu_us_rms.so.1': 'libflite1',
'libflite_cmu_us_slt.so.1': 'libflite1',
'libflite_cmulex.so.1': 'libflite1',
'libflite_usenglish.so.1': 'libflite1',
'libflite.so.1': 'libflite1',
'libfontconfig.so.1': 'libfontconfig1',
'libfreetype.so.6': ... | JavaScript |
em .4em;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
float: right;
}
.ui-dialog .ui-dialog-buttonpane button {
margin: .5em .4em .5em 0;
cursor: pointer;
}
.ui-dialog .ui-resizable-se {
width: 12px;
height: 12px;
right: -5px;
bottom: -5px;
background-position: 16px 16px;
}
.ui-draggable .ui-dialog... | CSS |
docs/assets/material/app_bar_pinned_floating_snap.mp4}
///
/// * App bar with [floating]: false, [pinned]: true, [snap]: false:
/// {@animation 476 400 https://flutter.github.io/assets-for-api-docs/assets/material/app_bar_pinned.mp4}
///
/// The property [snap] can only be set to true if [floating] is also true.
///
... | Dart |
/*
* Copyright (c) 2015 Jens Kuske <jenskuske@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version... | C |
}
CacheUtils.cache["default_Sign_latitude"] = preWeb.latitude
CacheUtils.cache["default_Sign_longitude"] = preWeb.longitude
} else {
val lat = preWeb.html.getElementById("latitude"... | Kotlin |
led-pitas-with-tomatoes-olives-and-feta-109693.json)
* [Grilled Pizza With Fresh Corn Bell Pepper Pancetta And Fontina 12648](../../index/g/grilled-pizza-with-fresh-corn-bell-pepper-pancetta-and-fontina-12648.json)
* [Grilled Pizza With Pears Fresh Pecorino And Walnuts 243004](../../index/g/grilled-pizza-with-pears-f... | Markdown |
or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
*************************************... | C# |
rator);
const iter = lines[Symbol.iterator]();
const sections: string[] = [];
let lemmas: ILemma[] = [];
let sectionText = '';
let item = iter.next();
const tableHeaderRegexp = getTableHeaderRegexp(attr);
while (!item.done) {
if (tableHeaderRegexp.test(item.value)) {
lemmas = lemmas.concat(par... | Typescript |
er),r5:idx]
calc_sum_64_asm: push {r4,r5}
mov r3,#0
mov r4,#0
cmp r1,#0
ble Finish_64
mov r5,#0
loop_64: ldr r2,[r0,r5,lsl #2] // r2 = *(r0 + (r5 << 2))
a... | Assembly |
public Timestamp getTimestamp(String columnLabel) throws SQLException {
return new Timestamp(getLong(columnLabel));
}
@Override
public long getLong(String columnLabel) throws SQLException {
return Long.parseLong(getString(columnLabel));
}
@Override
public int getInt(String colu... | Java |
}
/// A composite filter operator.
class StructuredQuery_CompositeFilter_Operator extends $pb.ProtobufEnum {
static const StructuredQuery_CompositeFilter_Operator OPERATOR_UNSPECIFIED =
StructuredQuery_CompositeFilter_Operator._(
0, _omitEnumNames ? '' : 'OPERATOR_UNSPECIFIED');
static const Struc... | Dart |
namespace Reclaimer.IO.Tests.DynamicWrite
{
public partial class DynamicWrite
{
[DataTestMethod]
[DataRow(ByteOrder.LittleEndian)]
[DataRow(ByteOrder.BigEndian)]
public void Bufferable_Bufferable01(ByteOrder order)
{
var rng = new Random();
var ob... | C# |
t) {};
void SetHandshake(const FPoseAIHandshake& handshake) {
parent->SetHandshake(handshake);
}
void CloseTarget(const FLiveLinkSubjectName& target) {
if (isMe(target))
parent->RequestSourceShutdown();
}
void DisconnectTarget(const FLiveLinkSubjectName& target){
if (isMe(target)) {
parent->udpServe... | C |
efine CAT_3(a, b) a ## b
#define CAT_2(a, b) CAT_3(a, b)
#define CAT(a, b) CAT_2(a, b)
#define CAT3(a, b, c) CAT(a, CAT(b, c))
/* Note: Apple mangles C symbol names to have a leading underscore. */
#ifdef __APPLE__
# define SYMBOL(x) CAT(_, x)
#else
# define SYMBOL(x) x
#endif
#if __APPLE__
#define TEXT_SECTION .... | Assembly |
app.use(bodyParser.json());
// ======================================
// DB Connection
const connection = mysql.createConnection({
host: "localhost",
user: "root",
password: "rootpass",
database: "murmur_schema",
port: 3306,
insecureAuth: true,
});
connection.connect();
// ROUTES FOR OUR API
// ========... | Typescript |
ne();
machine.SetName("name-2");
machine.SetFieldValue<string?>(Data.Models.Metadata.Machine.DescriptionKey, "name-3");
var cleaner = new Cleaner { Single = true };
cleaner.CleanDatItem(datItem, machine);
Assert.Equal("name", datItem.GetName());
... | C# |
[name]: substTy,
};
};
const compose = (a: Substitution, b: Substitution): Substitution => {
return Object.entries(b).reduce((subst, [k, type]) => {
return extend(subst, k, type);
}, a);
};
const initialise = (ty: Type): Type => {
if (ty.type === "func") {
return tyFunc(
ty.params.map((p) =... | Typescript |
/* pthread_once. Generic version.
Copyright (C) 2002-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Founda... | C |
/fonts/noto_sans/4DC0-4DFF/noto_sans_regular.woff2?b2307f1) format("woff2");unicode-range:U+4DC0-4DFF}@font-face{font-family:"Crisp Noto Sans Bold";font-weight:700;font-style:normal;src:url(../fonts/noto_sans/4DC0-4DFF/noto_sans_bold.woff2?b2307f1) format("woff2");unicode-range:U+4DC0-4DFF}@font-face{font-family:"Crisp... | CSS |
+0xf1>
804f455: 48 8b 45 f0 mov -0x10(%rbp),%rax
804f459: 48 89 c6 mov %rax,%rsi
804f45c: 48 8d 05 e4 a6 03 00 lea 0x3a6e4(%rip),%rax # 8089b47 <L.166>
804f463: 48 89 c7 mov %rax,%rdi
804f466: b8 00 00 00 00 mov $0x0,%eax
804f46b: e8 7d e0 ff ff ... | Assembly |
日三服,初服微烦,复服汗出便愈。
## 《金匮要略》卷上 中风历节病脉证并治第五
中风历节病脉证并治第五:(论一首 脉证三条 方十一首)
夫风之为病,当半身不遂,或但臂不遂者,此为痹。脉微而数,中风使然。
寸口脉浮而紧,紧则为寒,浮则为虚,寒虚相搏,邪在皮肤。浮者血虚,络脉空虚,贼邪不泻,或左或右,邪气反缓,正气即急,正气引邪,喎僻不遂。
邪在于络,肌肤不仁;邪在于经,即重不胜;邪入于府,即不识人;邪入于藏,舌即难言,口吐诞。
侯氏黑散 治大风,四肢烦重,心中恶寒不足者。(《外台》治风癫)
菊花四十分 白术十分 细辛三分 茯苓三分 牡蛎三分 桔梗八分 防风十分 人参三分 矾石三分 黄芩五分 当归三分 干姜三分 穹 穷三... | Markdown |
// Unsigned lower or same Less than or equal
ARM_CC_GE, // Greater than or equal Greater than or equal
ARM_CC_LT, // Less than Less than, or unordered
ARM_CC_GT, // Greater than Greater than
ARM_CC_LE, // Less th... | Lua |
utlass::gemm::device::GemmSplitKParallel::OperatorClass()'],['../classcutlass_1_1gemm_1_1device_1_1GemmSplitKParallel_3_01ElementA___00_01LayoutA___00_01ElementBbe7c1f7154ad5b5bf9d4d28301e2b457.html#a498ec1c01a7bfd6f2e401450991ed8be',1,'cutlass::gemm::device::GemmSplitKParallel< ElementA_, LayoutA_, ElementB_, Layou... | JavaScript |
x00,0x18,0xa3]
#CHECK: vmhh %v18, %v3, %v20 # encoding: [0xe7,0x23,0x40,0x00,0x1a,0xa3]
vmhh %v0, %v0, %v0
vmhh %v0, %v0, %v31
vmhh %v0, %v31, %v0
vmhh %v31, %v0, %v0
vmhh %v18, %v3, %v20
#CHECK: vml %v0, %v0, %v0, 0 # encoding: [0xe7,0x00,0x00,0x00,0x00,0xa2]
#CHECK: vml %v0, %v0, %v0,... | Assembly |
CA8Y28+Wlp4WXVvVENjRGQ6PGNvPg=="
val cellIdSection24 = "PGRlPnpnZUFkbnBTWTVLLCA8Y28+WjhhWDNBa3JETVM6PGNvPg=="
val cellId2Section24 = "PGRlPnpnZUFkbnBTWTVLLCA8Y28+c05yMXk1UXExWVE6PGNvPg=="
dataSetTableRobot(composeTestRule) {
clickOnSection(categoryToRowList[0].sectionIndex, category... | Kotlin |
# Copyright (c) 2021-2023, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and ... | Python |
me: o.Name.DeepCopy(),
TeamID: o.TeamID.DeepCopy(),
MemberCount: o.MemberCount,
}
}
type SubteamListResult struct {
Entries []SubteamListEntry `codec:"entries" json:"entries"`
}
func (o SubteamListResult) DeepCopy() SubteamListResult {
return SubteamListResult{
Entries: (func(x []SubteamListEntry... | Go |
笔记》,将它送给守望堡的看守者马哈尔巴。"}},
[1365] = {"戴兹帕可汗", {"科卡尔并不是凄凉之地唯一的半人马部族。许多半人马部族都游弋在这片干燥的平原上,他们相互残杀,纷争不断。他们的窝里斗对我们来说不是件坏事,因为半人马强壮而且残忍,如果这些半人马联合起来对付我们的话,那将是极其可怕的力量。","在他们联合起来之前,我们必须将他们各个击破。","你的第一个任务是让科卡尔部族出现内乱,只要干掉他们的首领戴兹帕可汗就可以了。","科卡尔村就在东北方。去吧,祝你好运。"}, {"把戴兹帕可汗的头颅交给凄凉之地的费古尔·双刃。"}},
[1366] = {"悬赏半人马", {"既然你已经震慑了半人马部族,那么现在该让他们出... | Lua |
.inset-media-box .caption, .inset-media-box .caption-left, .inset-media-box .caption-right, .inset-media-box .caption-top, .beveled-media-box .caption, .beveled-media-box .caption-left, .beveled-media-box .caption-right, .beveled-media-box .caption-top {
position: absolute;
-webkit-box-sizing: border-box;
... | CSS |
()
if IsVehicleStopped(transport) then
if IsVehicleSeatFree(transport, -1) and IsVehicleSeatFree(transport, 0) and IsVehicleSeatFree(transport, 1) and
GuardsDead == 1 then
if not IsEntityInWater(PlayerPedId()) then
RequestAnimDict('anim@heists@ornate_bank@thermal_char... | Lua |
given format arguments. */
pub fn write_args(domain: Domain, level: Level, args: fmt::Arguments) {
unsafe {
if CBLLog_WillLogToConsole(domain as u8, level as u8) {
write(domain, level, &format!("{:?}", args));
}
}
}
//////// LOGGING MACROS:
/// A macro that writes a formatted E... | Rust |
"test_schema/*",
],
},
install_requires=install_requires,
extras_require=extras_require,
entry_points={
"console_scripts": [
"schema-salad-tool=schema_salad.main:main",
"schema-salad-doc=schema_salad.makedoc:main",
]
},
zip_safe=True,
cl... | Python |
_node** let_ptr, tommy_trie_inplace_node* remove, tommy_key_t key)
{
tommy_trie_inplace_node* node;
int i;
tommy_trie_inplace_node** leaf_let_ptr;
tommy_trie_inplace_node* leaf;
node = *let_ptr;
while (node && node->key != key) {
let_ptr = &node->map[(key >> shift) & TOMMY_TRIE_INPLACE_TREE_MASK];
node = *le... | C |
export default new UserController();
const padZero = (num: number) => (num < 10 ? `0${num}` : `${num}`)
export function formatDate(date: Date, type?: string) {
const YYYY = date.getFullYear()
const MM = padZero(date.getMonth() + 1)
const DD = padZero(date.getDate())
const HH = padZero(date.getHours())
cons... | Typescript |
p-latte-lavender: #7287fd;--ctp-latte-lavender-rgb: 114 135 253;--ctp-latte-lavender-hsl: 230.935 97.203% 71.961%;--ctp-latte-text: #4c4f69;--ctp-latte-text-rgb: 76 79 105;--ctp-latte-text-hsl: 233.793 16.022% 35.49%;--ctp-latte-subtext1: #5c5f77;--ctp-latte-subtext1-rgb: 92 95 119;--ctp-latte-subtext1-hsl: 233.333 12.... | CSS |
ing_id == "4"
or greeting_id == "5"
or greeting_id == "6"
or greeting_id == "7"
or greeting_id == "8"
or greeting_id == "9") then
--record your greeting at the tone press any key or stop talking to end the recording
if (session:ready()) then
dtmf_digits = '';
session:execute("pl... | Lua |
# Copyright 2017 Google Inc. All Rights Reserved.
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agree... | Python |
ancelik.com</b></p></div>
Kaynak: [taraf.com.tr](http://www.taraf.com.tr:80/makale/10992.htm), [web.archive.org (arşiv bağlantısı)](http://web.archive.org/web/20100426012525/http://www.taraf.com.tr:80/makale/10992.htm)
# Dostlar Kopenhag’da görsün
*Aydan Çelik 17.12.2009*
<div class="taraf_structure_2col_1zq">
<div ... | Markdown |
0 0) !important;
-webkit-clip-path: inset(100%) !important;
clip-path: inset(100%) !important;
overflow: hidden !important; } }
/*# sourceMappingURL=mini-default.css.map */
/* 覆盖默认变量 */
:root {
--vp-c-brand-1: #ff8800;
--vp-c-brand-2: #ffa14d;
--vp-c-brand-3: #ffc999;
--vp-c-brand-4-bg: #fff2e699;... | CSS |
x = b'zoot !'
print(x)
string1 = "geeks For GEEgKS"
print("Title case: ", string1.title())
print("lower case: ", string1.lower())
print("upper case: ", string1.upper())
print("count total 'g': ", string1.lower().count('g'))
print('center: ', string1.center(1))
print(string1.capitalize())
print(string1.casefold())
| Python |
}
.instrumentation-table th:first-child,
.instrumentation-table td:first-child {
padding-left: 1.5rem;
}
.instrumentation-table tbody tr:nth-child(odd) {
background-color: rgba(0, 0, 0, 0.4);
}
.instrumentation-table tbody td:nth-child(even) {
text-align: right;
border-right: 1px dashed;
padding-right: .5em;... | CSS |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from optparse import OptionParser
import gkcrp
import re
import codecs
import subprocess
import os
patsp = re.compile(r'\s+')
def gen(basedir, aspect, trainfile):
f = codecs.open(trainfile, 'a', 'utf8')
for text in gkcrp.alltext(basedir, aspect):
for item... | Python |
: 3338538, Attributes: 7},
{RelativeID: 2931096, Attributes: 7},
{RelativeID: 3392610, Attributes: 7},
{RelativeID: 3342740, Attributes: 7},
{RelativeID: 3392630, Attributes: 7},
{RelativeID: 3014318, Attributes: 7},
{RelativeID: 2937394, Attributes: 7},
{RelativeID: 3278870, Attributes: 7},
{RelativeID... | Go |
Vec(this.x + x, -MAX_X, MAX_X)
return SVec3(raw + X * x)
}
inline fun minusX(): SVec3 {
assertVec(this.x > -MAX_X)
return SVec3(raw - X * 1)
}
inline fun plusY(): SVec3 {
assertVec(this.y < MAX_Y)
return SVec3(raw + Y * 1)
}
inline fun plusY(y: Int): SV... | Kotlin |
FrameTemplate_HideButtonBar(frame)
frame.Inset:Hide()
frame:EnableMouse(true)
frame:SetScript("OnMouseWheel", function() end)
frame:SetTitle(addonTable.Locales.CUSTOMISE_CHATTYNATOR_TAB)
frame.filters = addonTable.CustomiseDialog.SetupTabFilter | Lua |
k IGVyZm9sZ3Jl LnZhbG9y KGxpZ2h0 IE1hZ251cw== IHpvZWs= eWg= IHN0eWxlc2hlZXQ= Pm0= V2hpdGVzcGFjZQ== IFsnLw== CVJlcXVlc3Q= X2luY3JlYXNl LWRpc3RhbmNl aWNvbG9y aGNp IEtJTkc= UFg= b2ls ZW1pbmc= bmFtZW50cw== RGVmaW5lcw== IFstLQ== IHZhcmlvcw== IFBSRVNT LGF4aXM= IENvbGxpZGVy KX0KCg== IGZvcmNpYmx5 IHN0YWF0 X1NUQU5EQVJE IG9jY3Vs... | JavaScript |
MCP tool server that provides stateful, TUI-compatible terminal sessions.
This is a proof-of-concept using [mcp-go](https://github.com/dwrtz/mcp-go).
Works quite well with Claude Desktop.
## Usage
Clone the repo and run `make` to generate `bin/mcpterm`.
```
git clone https://github.com/dwrtz/mcpterm.git
cd mcpterm... | Markdown |
> {
Ok(*v)
}
fn try_from_i64(v: &i64) -> Result<Self> {
i32::try_from(*v)
.with_context(|| format!("cannot convert i64 value ({}) into i32", v))
.map_err(SpringError::Sql)
}
fn try_from_f32(v: &f32) -> Result<Self> {
Ok(v.ceil() as i32)
}
}
impl ToNn... | Rust |
同视角智能化与交互)
- [6.1 AI驱动的系统优化](#61-ai驱动的系统优化)
- [6.2 人在回路 (Human-in-the-Loop)](#62-人在回路-human-in-the-loop)
- [6.3 可解释AI (XAI) 与运维信任](#63-可解释ai-xai-与运维信任)
- [6.4 结构模式:混合架构](#64-结构模式混合架构)
- [7. 成熟工程设计原则:全局与演化视角](#7-成熟工程设计原则全局与演化视角)
- [8. 实践落地:从设计到运行](#8-实践落地从设计到运行)
- [8.1 形式化方法的应用与局限](#81-形式化方法的应用与局... | Markdown |
tion....
*
* Bugs can slip through the cracks without those annotations; for example, I unthinkingly redefined TYPE_SI
* at one point, and if all the definitions had been preceded by an "@const", that mistake would have been
* caught at compile-time.
*/
/*
* Information regarding inte... | JavaScript |
com/strangelove-ventures/interchaintest/v7/ibc"
"github.com/strangelove-ventures/interchaintest/v7/testreporter"
"github.com/kava-labs/kava/app"
"github.com/kava-labs/kava/client/erc20"
"github.com/kava-labs/kava/tests/e2e/runner"
"github.com/kava-labs/kava/tests/e2e/testutil"
kavainterchain "github.com/kava-lab... | Go |
\
if (n > 0) { \
ANY_SIMD(y_buf, uv_buf, dst_ptr, n); \
} \
memcpy(temp, y_buf + n * SBPP, r * SBPP); ... | C++ |
nterface.
/// </summary>
/// <remarks>
/// The <c>Contents</c> property provides access to a list of <see cref="Content"/> objects.
/// Each <see cref="Content"/> represents multi-part content with a specified role and data parts.
/// </remarks>
/// <example>
/// This property can be ... | C# |
exports_t,
) {
let mut instance = unsafe { &mut *(instance as *mut Instance) };
let named_exports: Box<NamedExports> =
Box::new(NamedExports(instance.exports().map(|e| e.into()).collect()));
unsafe { *exports = Box::into_raw(named_exports) as *mut wasmer_exports_t };
}
pub struct NamedExports(Vec<N... | Rust |
ction = db.prepare(
`DELETE FROM connections
WHERE id = :id
RETURNING *`,
);
const selectAllSubscriptions = db.prepare(`SELECT * FROM subscriptions`);
const insertSubscription = db.prepare(
`INSERT INTO subscriptions (connectionId, subject)
VALUES (:connectionId, :subject)
RETURNING *`,
... | Typescript |
tYXBDYWNoZUhhcyA9IHJlcXVpcmUoJy4vX21hcENhY2hlSGFzJyksXG4gICAgbWFwQ2FjaGVTZXQgPSByZXF1aXJlKCcuL19tYXBDYWNoZVNldCcpO1xuXG4vKipcbiAqIENyZWF0ZXMgYSBtYXAgY2FjaGUgb2JqZWN0IHRvIHN0b3JlIGtleS12YWx1ZSBwYWlycy5cbiAqXG4gKiBAcHJpdmF0ZVxuICogQGNvbnN0cnVjdG9yXG4gKiBAcGFyYW0ge0FycmF5fSBbZW50cmllc10gVGhlIGtleS12YWx1ZSBwYWlycyB0byBjYWN... | JavaScript |
/*
* MIT License
*
* Copyright (C) 2024, DragonDreams GmbH (info@dragondreams.ch)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation th... | C |
d as PrimeField>::BigInt::from_bits_be(
&cur_bits[cur_bits.len() - params.bits_per_limb..],
); // therefore, the lowest `bits_per_non_top_limb` bits is what we want.
limbs.push(BaseField::from_bigint(cur_mod_r).unwrap());
cur.divn(params.bits_per_limb as u32);
... | Rust |
ame purpose as the `max_memory_to_use` field in
the `jpeg_memory_mgr` struct in the libjpeg API, the `JPEGMEM` environment
variable, and the cjpeg/djpeg/jpegtran `-maxmemory` option.
3. Introduced a new parameter (`TJPARAM_MAXPIXELS` in the TurboJPEG C API and
`TJ.PARAM_MAXPIXELS` in the TurboJPEG Java API) and a corr... | Markdown |
"
}
if (currentTime.getHours() < 20 && currentTime.getHours() >= 19) {
return `Good evening ${name}`
}
if (currentTime.getHours() < 6 && currentTime.getHours() >= 1) {
return `Go to sleep ${name}`
}
return `Greetings ${name}!`
}... | Typescript |
awEvent::ScheduleDispatch(2, 0));
assert!(System::events()
.iter()
.any(|record| record.event == schedule_dispatch_event));
assert_noop!(
ScheduleUpdateModule::cancel_deplayed_dispatch(Origin::signed(2), 2, 0),
Error::<Runtime>::NoPermission
);
// OperationalDispatches
let call = Call::Balances(... | Rust |
= -1, timing_stream_type = -1;
iDVBTSRecorder::timing_pid_type timing_pid_type = iDVBTSRecorder::none;
eDebugNoNewLineStart("[eDVBServiceStream] have %zd video stream(s)", program.videoStreams.size());
if (!program.videoStreams.empty())
{
eDebugNoNewLine(" (");
for (std::vector<eDVBServicePMTHandler::vi... | C++ |
import json
from ...backends.facebook import API_VERSION
from ...exceptions import AuthCanceled, AuthUnknownError
from .oauth import OAuth2Test
from .test_open_id_connect import OpenIdConnectTestMixin
class FacebookOAuth2Test(OAuth2Test):
backend_path = "social_core.backends.facebook.FacebookOAuth2"
user_dat... | Python |
default: false
local.retain = false
```
By default, this plugin is not enabled. To activate it, you must add the `rmqtt-bridge-ingress-mqtt` entry to the
`plugins.default_startups` configuration in the main configuration file `rmqtt.toml`, as shown below:
```bash
##---------------------------------------------------... | Markdown |
.leafChildActivities }
?: listOf(this)
val selfAndChildActivities: List<Activity>
get() = listOf(this) + childActivities.flatMap { it.selfAndChildActivities }
fun getLocalStartTime(timeZone: ZoneId) = startTime.parseWCIFDateWithTimezone(timeZone)
companion object {
val WCIF_DA... | Kotlin |
// list update
paging.map { pagingData ->
pagingData.filter {
when (it) {
is FeedUiModel.DoraChipUiModel -> true
is FeedUiModel.FeedCardUiModel -> {
it.postId != cardItem.postId
}
... | Kotlin |
OutputFile)).toBe(false);
}, 25000);
});
});
import { Space } from '../models/space.model';
import * as player from '../actions/player.actions';
import * as game from '../actions/game.actions';
import { PlayerID } from '../models/player.model';
export interface State { [id: string]: Space }
export const initial... | Typescript |
m_image_ctx.op_work_queue->queue(on_safe, event.ret_val);
return Future();
}
event.on_safe_contexts.push_back(create_async_context_callback(m_image_ctx,
on_safe));
return event.futures.back();
}
template <typename I>
void Journal<I>::star... | C++ |
Include(child, filter, includedNodes, childrenIncluded)
included = included || childIncluded
}
if (included) {
includedNodes.add(node)
}
return included
}
/**
* @param nodeBuilder to this node children will be added
* @param child may be added to nodeBuilder if matches isInclude... | Kotlin |
ss-regions/#dom-named-flow-collection
class NamedFlowCollection extends Interceptor native "WebKitNamedFlowCollection" {
// To suppress missing implicit constructor warnings.
factory NamedFlowCollection._() { throw new UnsupportedError("Not supported"); }
@DomName('WebKitNamedFlowCollection.length')
@DocsEdita... | Dart |
Keg of Chen's Stormstout",
[4928] = "Garde-poignets de coureur des sables",
[4929] = "Armure de scorpide légère",
[4930] = "Sac en cuir fait main",
[4931] = "Arc court en noyer",
[4932] = "Coupe-aile de harpie",
[4933] = "Cape de combattant aguerri",
[4934] = "Deprecated Heavy Cord Shoulderpads",
[4935] = "Grand ceintu... | Lua |
} returns flow {
emit(itemList)
}
val testObserver = viewModel.propertyListViewState.test()
// WHEN
viewModel.refreshPropertyList()
advanceUntilIdle()
// THEN
val viewStates = testObserver.values()
Truth.a... | Kotlin |
))
})
}
const noiseGlow = (p: SCanvas) => {
p.background(0, 0, 10)
p.forTiling({ n: 50, type: "square" }, ([x, y], [dX], at) => {
const maxR = dX / 1.8
const value = clamp(
{ from: 0.2, to: 1 },
1.5 * perlin2(x * 6 + 0.3, y * 15 + 0.5)
)
const h = 120 - 120 * value
p.setFillColor(... | Typescript |
HashTok key1, const UHashTok key2) {
const UChar *p1 = (const UChar*) key1.pointer;
const UChar *p2 = (const UChar*) key2.pointer;
if (p1 == p2) {
return TRUE;
}
if (p1 == NULL || p2 == NULL) {
return FALSE;
}
while (*p1 != 0 && *p1 == *p2) {
++p1;
++p2;
}... | C++ |
ToDeviceClassArrayOutputWithContext(ctx context.Context) DeviceClassArrayOutput {
return o
}
func (o DeviceClassArrayOutput) Index(i pulumi.IntInput) DeviceClassOutput {
return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DeviceClass {
return vs[0].([]*DeviceClass)[vs[1].(int)]
}).(DeviceClassOutput)
}
type ... | Go |
er.AddLocalStack(localStackOptions: localStackOptions);
var result = builder.AddAWSCDKBootstrapCloudFormationTemplateForLocalStack(localStackBuilder);
Assert.Null(result);
}
[Fact]
public void AddAWSCDKBootstrapCloudFormationTemplateForLocalStack_Should_Create_Template_When_LocalStack_Ena... | C# |
const DictionaryInfo<'a>;
/// Return transtion cost from rcAttr to lcAttr.
/// @return transtion cost
fn mecab_model_transition_cost(
model: *const RawModel,
rcAttr: c_ushort,
lcAttr: c_ushort,
) -> c_int;
fn mecab_model_lookup<'a>(
model: *mut RawModel,
beg... | Rust |
` directory with the following content:
```html
<!DOCTYPE html>
<html>
<head>
<script>
async function fetchData() {
const url = 'web3://0xf14e64285Db115D3711cC5320B37264708A47f89:11155111/greeting';
const response... | Markdown |
,
Armor_008_Lower:'Wüsten-Beinschutz',
Armor_040_Lower:'Wüsten-Beinschutz ★',
Armor_065_Lower:'Wüsten-Beinschutz ★★',
Armor_066_Lower:'Wüsten-Beinschutz ★★★',
Armor_067_Lower:'Wüsten-Beinschutz ★★★★',
Armor_008_Upper:'Wüsten-Schulterschutz',
Armor_040_Upper:'Wüsten-Schulterschutz ★',
Armor_065_Upper:'Wüsten-Schultersch... | JavaScript |
, z1.s, z2.s
# CHECK-NEXT: [1,3] D==========================eeeeER sqdmlalb z0.d, z0.s, z1.s
# CHECK: Average Wait times (based on the timeline view):
# CHECK-NEXT: [0]: Executions
# CHECK-NEXT: [1]: Average time spent waiting in a scheduler's queue
# CHECK-NEXT: [2]: Average time spent waiting in a schedul... | Assembly |
�活动安排,无偿使用私营企业主提供的车辆及司机、住房,接受客户企业为其低价修建住房;违反组织纪律,长期瞒报港籍子女、持有境外资产情况;违反廉洁纪律,违规经商办企业,违规到原任职务管辖业务范围内的企业任职。利用职务上的便利,在项目转让等方面为他人谋利,非法收受他人所送巨额财物,涉嫌受贿犯罪;在资产处置中滥用职权,致使公共财产、国家和人民利益遭受重大损失,涉嫌滥用职权犯罪。
## [13. 汉能系创始人李河君被警方带走 ](https://weibo.cn/sinaurl?u=https%3A%2F%2Fwww.caixin.com%2F2023-01-10%2F101987669.html)
**近日,网传汉能系创始人... | Markdown |
or
import androidx.compose.ui.graphics.StrokeCap.Companion.Butt
import androidx.compose.ui.graphics.StrokeJoin.Companion.Miter
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.ImageVector.Builder
import androidx.compose.ui.graphics.vector.path
import androidx.compose.ui.... | Kotlin |
#if !defined(_RADIOLIB_SX1276_H)
#define _RADIOLIB_SX1276_H
#include "../../TypeDef.h"
#if !defined(RADIOLIB_EXCLUDE_SX127X)
#include "SX1278.h"
/*!
\class SX1276
\brief Derived class for %SX1276 modules. Overrides some methods from SX1278 due to different parameter ranges.
*/
class SX1276: public SX1278 {
p... | C |
active" json:"active" yaml:"active"` // 是否在群内开启 - 过渡为象征意义
ActivatedExtList []*ExtInfo `json:"activatedExtList" yaml:"activatedExtList,flow"` // 当前群开启的扩展列表
Players map[string]*GroupPlayerInfo `json:"-" yaml:"players"` ... | Go |
pcib_detach(dev);
if (error == 0)
AcpiOsFree(sc->ap_prt.Pointer);
return (error);
}
static device_method_t tb_acpi_pcib_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, tb_acpi_pcib_probe),
DEVMETHOD(device_attach, tb_acpi_pcib_attach),
DEVMETHOD(device_detach, tb_acpi_pcib_detach),
/* Thunderb... | C |
using System;
using System.Collections.Generic;
using System.Linq;
using Games.Common.IO;
using SuperStarTrek.Commands;
using SuperStarTrek.Objects;
using SuperStarTrek.Resources;
using SuperStarTrek.Space;
namespace SuperStarTrek.Systems;
internal class ShortRangeSensors : Subsystem
{
private readonly Enterprise... | C# |
.5T374 623H214q-19 0-21 19l-65 408q-1 6 3 11t10 5h76q20 0 22-19l18-110q1-8 7-13t15-6.5 17-1.5 19 1 14 1q86 0 135-48.5T513 735zm309 312l41-261q1-6-3-11t-10-5h-76q-14 0-17 33-27-40-95-40-72 0-122.5 54T489 944q0 59 34.5 94t92.5 35q28 0 58-12t48-32q-4 12-4 21 0 16 13 16h69q19 0 22-19zm447-263q0-5-4-9.5t-9-4.5h-77q-11 0-18 ... | JavaScript |
ction></td><td data-colwidth="244" width="244" style="border: 1px solid #d9d9d9;"><p style="margin: 0;padding: 0;min-height: 24px;"><span style="color: rgb(0, 0, 0);font-size: 16px;"><span leaf="">适用</span></span></p></td></tr></tbody></table>### 1.2.1Windows补丁更新情况
1.搜索 KB4012212补丁更新情况
MS17-010 漏洞的官方修复补丁是 KB4... | Markdown |
�",
"store cell":"[计] 存储单元",
"store character":"[计] 存储字符",
"store cheese":"= Cheddar",
"store controller":"[计] 存储控制器",
"store controller data":"[计] 存储控制器数据",
"store credit":"[经] 赊帐购货, 店铺赊销",
"store cycle time":"[计] 存取周期时间",
"store d'oeuvres":"[网络] 商店开店",
"store data buffer":"[计] 存储数据缓冲器",
"store detective":"n. 专抓在商店里行窃... | Typescript |
}
}
override suspend fun getPages(chapter: MangaChapter): List<MangaPage> {
val images = webClient.httpGet(chapter.url.toAbsoluteUrl(domain)).parseHtml()
.selectFirstOrThrow("script:containsData(paginasLista)").data()
.substringAfter("paginasLista = ")
.substringBefore(";").split(":").drop(1)
val pages ... | Kotlin |
: &mut usize) -> PathBuf {
loop {
let path = PathBuf::from(format!("{}{}", prefix, ctr));
if !path.exists() {
return path;
} else {
*ctr += 1;
}
}
}
fn main() -> Result<()> {
env_logger::init();
let prefix = env::args().nth(1)
.context("... | Rust |
using System;
using System.IO;
using UnityEngine;
namespace UnityEditor.Tilemaps
{
internal static class DefaultAssetCreation
{
const int k_TilePaletteAssetMenuPriority = 4;
static internal Action<int, ProjectWindowCallback.EndNameEditAction, string, Texture2D, string> StartNewAssetNameEditing... | C# |
e, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(align, MDUnsignedField, (0, UINT32_MAX)); \
OPTIONAL(offset, MDUnsignedField, (0, UINT64_MAX)); \
OPTIONAL(flags, DIFlagField, ); \
OPTIONAL... | C++ |
impl Dilation {
pub fn setStructuringElementSize(&self, size: i32) {
unsafe { FASTDilationSetStructuringElementSize(self.ir, size) };
}
}
impl Erosion {
pub fn setStructuringElementSize(&self, size: i32) {
unsafe { FASTErosionSetStructuringElementSize(self.ir, size) };
}
}
impl Seede... | Rust |
using Microsoft.IdentityModel.Tokens;
using MinimalAPIsMovies.Utilities;
namespace MinimalAPIsMovies.DTOs
{
public class PaginationDTO
{
public const int pageInitialValue = 1;
public const int recordsPerPageInitialValue = 10;
public int Page { get; set; } = 1;
private int recor... | C# |
// rdlist_groups.h
//
// A widget to select a Rivendell Group.
//
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software F... | C |
';
export '../models/em_chat_thread.dart';
export '../models/em_conversation.dart';
export '../models/em_cursor_result.dart';
export '../models/em_device_info.dart';
export '../models/em_download_callback.dart';
export '../models/em_error.dart';
export '../models/em_group_message_ack.dart';
export '../models/em_group_o... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.