content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
.getBlockState(targetBlock);
VoxelShape shape = state.getShape(level, targetBlock);
if(!shape.isEmpty())
{
AABB blockBounds = shape.bounds();
if(getFacing()==Direction.UP)
tL = targetBlock.getY()-getBlockPos().getY()+blockBounds.maxY;
else if(getFacing()==Direction.DOWN)
t... | Java |
名、电话号码、电子邮件地址或账号查找他们并窃取他们的个人身份信息(PII),包括 MAC 地址、电子邮件、电话号码和地址。

不仅如此,攻击者还可以通过查询在前一攻击阶段窃取的硬件 MAC 地址,收集连接设备的 Wi-Fi 密码和其他信息。继而执行未经授权的命令、修改设备设置并控制受害者的账... | Markdown |
pub: pub,
curve: curve,
}, nil
}
// Phase1 -- used to generate final pubkey of parties.
// Return the shared PubKey.
func (party *SchnorrParty) Phase1(pub2 *PubKey) *PubKey {
pub := party.pub
return pub.Add(pub2)
}
// Phase2 -- used to generate k, kinv, scalarR.
// Return the party scalar R.
func (party *Sc... | Go |
sa-symbol--status-color: #000;
--sa-symbol--size: inherit;
--sa-symbol--parent-bg-color: #fff;
--sa-symbol--text-size: 37%;
--sa-symbol--icon-size: 40%;
flex-shrink: 0;
font-size: var(--sa-symbol--size);
height: 1em;
position: relative;
width: 1em;
}
.sa-symbol:hover {
text-deco... | CSS |
"""RF-DETR Large (Roboflow Inference) — minimal example with visualization."""
from PIL import Image
import matplotlib.pyplot as plt
import matplotlib.patches as patches
from inference import get_model
# Load RF-DETR Large model
model = get_model("rfdetr-large/1")
# Input image
image_path = "test_image.jpg"
image = ... | Python |
/* -*- asm -*-
*
* Creation Date: <2001/02/03 19:38:07 samuel>
* Time-stamp: <2003/07/08 18:55:50 samuel>
*
* <asmdefs.h>
*
* Common assembly definitions
*
* Copyright (C) 2001, 2002, 2003 Samuel Rydh (samuel@ibrium.se)
*
* This program is free software; you can redistribute it and/or
* modify i... | C |
RR;
int err;
unsigned errlevel = 3;
char buf[TPORT_HOSTPORTSIZE];
char const *what;
what = "su_socket";
s = su_socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
if (s == INVALID_SOCKET)
goto sys_error;
what = "tport_alloc_secondary";
if ((self = tport_alloc_secondary(pri, s, 0, &what)) =... | C |
));
py_list
.iter(py)
.for_each(|pyobj| res.push(Box::new(PyChainObserver::new(pyobj))));
res
} else {
return ErrorCode::InvalidPythonObject;
};
let block_manager = (*(block_manager as *const BlockManager)).clone();
let state_database = (*(state_database ... | Rust |
LICENSE file.
/**
* Mathematical constants and functions, plus a random number generator.
*/
library dart.math;
part "jenkins_smi_hash.dart";
part "point.dart";
part "random.dart";
part "rectangle.dart";
/**
* Base of the natural logarithms.
*
* Typically written as "e".
*/
const double E = 2.718281828459045;... | Dart |
"神池县": {112.2, 39.08},
"五寨县": {111.85, 38.9},
"岢岚县": {111.57, 38.7},
"河曲县": {111.13, 39.38},
"偏关县": {111.5, 39.43},
"原平市": {112.7, 38.73},
"临汾市": {111.52, 36.08},
"尧都区": {111.52, 36.08},
"曲沃县": {111.47, 35.63},
"翼城县": {111.72, 35.73},
"襄汾县"... | Go |
案**: ABD
**解题思路**:
1. 理解MSR IR的定位:基于图的函数式中间表示
2. 分析函数式编程的核心语义特性:
- 自由变量:作用域和变量绑定
- 高阶函数:函数作为一等公民
- 递归:函数式编程的基本控制结构
3. 排除非函数式特性:中断属于命令式控制流,不是函数式语义
## 概念图解
```mermaid
flowchart TD
A["MSR图函数式IR"] --> B["函数式语义特性"]
A --> C["图表示优势"]
A --> D["应用场景"]
B --> E["自由变量 ✅"]
B --> F["高阶函数 ✅"]
... | Markdown |
numbers */
(void)printf("\n");
for (int i = 0; i < 16; i++) {
fhe_integer result, addend1, addend2;
addend1 = fhe_random(FHE_INTEGER_BIT_WIDTH);
addend2 = fhe_random(FHE_INTEGER_BIT_WIDTH);
result = fhe_decrypt_integer(
tmp1 = fhe_add_integers(
fhe_en... | C |
} else {
*end = '\0';
last_token = end + 1;
}
return start;
}
char* itoa(int value, char* str, int base) {
char* rc;
char* ptr;
char* low;
if (base < 2 || base > 36) {
*str = '\0';
return str;
}
rc = ptr = str;
if (value < 0 && base ==... | C |
UNCTION(4, 5);
extern void GULLogInfo(GULLoggerService service,
BOOL force,
NSString *messageCode,
NSString *message,
...) NS_FORMAT_FUNCTION(4, 5);
extern void GULLogDebug(GULLoggerService service,
BOOL ... | C |
#!/usr/bin/python3
my_array = [64, 34, 25, 12, 22, 11, 90, 5]
print(my_array)
n = len(my_array)
for i in range(n):
min_index = i
for j in range(i+1, n):
if my_array[j] < my_array[min_index]:
min_index = j
my_array[i], my_array[min_index] = my_array[min_index], my_array[i]
print("Sor... | Python |
logger)
}
// Log the online status
if isOnline {
logger.Debug("Operator is online", "operatorInfo", operatorStatus.IndexedOperatorInfo, "socket", socket)
} else {
logger.Debug("Operator is offline", "operatorInfo", operatorStatus.IndexedOperatorInfo, "socket", socket)
}
// Create the metadata regardless of... | Go |
/* SPDX-License-Identifier: GPL-2.0 */
/******************************************************************************
*
* Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
*
******************************************************************************/
#ifndef __RTL8188E_CMD_H__
#define __RTL8188... | C |
if k in expand_rule_cache:
return 0
if k in rules:
dprint("len(rules[\""+str(k)+"\"])="+str(len(rules[k])), 3)
else:
dprint("rules[\""+str(k)+"\"] is not defined", 3)
expanded_keys, ct=expand_rule_keys(k)
dprint("Key \""+k+"\" has been expanded into "+str(len(expanded_keys))+" new unique keys, wi... | Python |
�یں فی الواقع اس کی چال بڑی زبردست ہے",
},
{
"surah_number": 13,
"verse_number": 14,
"content":
"اسی کو پکارنا برحق ہے رہیں وہ دوسری ہستیاں جنہیں اس کو چھوڑ کر یہ لوگ پکارتے ہیں، وہ اُن کی دعاؤں کا کوئی جواب نہیں دے سکتیں اُنہیں پکارنا تو ایسا ہے جیسے کوئی شخص پانی کی طرف ہاتھ پھیلا کر اُس سے در... | Dart |
dores.md)
* [Consola de Chrome DevTools](WIP.md)
* [Ejercicio](js_primeros_pasos/ejercicio.md)
* [Recursos](js_primeros_pasos/recursos.md)
* [JS: Controlando el flujo](WIP.md)
* [Estructuras de control](js_controlando_el_flujo/estructuras_de_control.md)
* [Depurando con Chrome DevTools](WIP.md)
... | Markdown |
import urllib.request
import csv
import os
import shutil
import gzip
import hashlib
md5_hash = hashlib.md5()
a_file = open('oldchecksum.md5', "rb")
content = a_file.read()
md5_hash.update(content)
old_check = md5_hash.hexdigest()
url ='https://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz.md5'
urllib.req... | Python |
:
* arbitrate 占位:提交裁决;直接提交已签名交易 hex。
*/
suspend fun arbitrate(signedExtrinsicHex: String): String = rpc.authorSubmitExtrinsic(signedExtrinsicHex)
}
package land.buddha.app.feature.api
import land.buddha.app.core.rpc.RpcService
/**
* 函数级中文注释:
* EvidenceApi 封装与 pallet-evidence 相关的 extrinsic 提交流程。
* 当... | Kotlin |
el:hover,.open>.dropdown-toggle.lobibox .lobibox-btn.lobibox-btn-cancel{color:#FFF;background-color:#9e1a1a;border-color:#951818}.lobibox .lobibox-btn.lobibox-btn-cancel.disabled,.lobibox .lobibox-btn.lobibox-btn-cancel.disabled.active,.lobibox .lobibox-btn.lobibox-btn-cancel.disabled.focus,.lobibox .lobibox-btn.lobibo... | CSS |
= MessageRepo.c2cTable;
break;
case 'C2G':
tb = MessageRepo.c2gTable;
break;
case 'C2S':
tb = MessageRepo.c2sTable;
break;
case 'S2C':
tb = MessageRepo.s2cTable;
break;
//
case 'C2C_SERVER_ACK':
tb = MessageRepo.c2cTable;
... | Dart |
and inference procedure.
# ScanNet for 3D Object Detection
## Dataset preparation
For the overall process, please refer to the [README](https://github.com/open-mmlab/mmdetection3d/blob/master/data/scannet/README.md/) page for ScanNet.
### Export ScanNet point cloud data
By exporting ScanNet data, we load the raw p... | Markdown |
0,2],[2170305,1,2]]', '', '', '', '1', '1,2,3', '1,1', '2,2', '3,20', '[1]', '[[3,99]]', '-1', '201294', '', '', '', '', '', '-99', '245', '2079', '234.5', '[[1804,-117.6],[1926.1,97]]', '0', '0', '收束塔才是真正战斗的开始。', '', '', '10262', '', '20000', '35', '', '', 'bg206', 'map_test', '注定的未来改变了,人类将“谱写”新的篇章。', '', ''},
{'1390'... | Lua |
/*
* Atheros AR71XX/AR724X/AR913X common definitions
*
* Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
* Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org>
*
* Parts of this file are based on Atheros' 2.6.15 BSP
*
* This program is free software; you can redistribute it and/or modify it
* under... | C |
mdCreate)
CmdRoot.AddCommand(run.CmdRun)
CmdRoot.AddCommand(upgrade.CmdUpgrade)
create.CmdCreate.AddCommand(create.CmdCreateHandler)
create.CmdCreate.AddCommand(create.CmdCreateService)
create.CmdCreate.AddCommand(create.CmdCreateRepository)
create.CmdCreate.AddCommand(create.CmdCreateModel)
create.CmdCreate.Ad... | Go |
child: child,
onHover: (event) {
onHover(true);
},
onExit: (event) {
onHover(false);
},
);
}
return InkWell(
hoverColor: Colors.transparent,
onTap: onTap,
onHover: (hover) {
onHover(hover);
},
child: child,
);
... | Dart |
m = decode(message)
if m and m.type then
m.time = time()
if m.type == "post" then
m.post = emojis(m.post)
db.posts.store(r, m)
elseif m.type == "join" then
self.nick = m.nick
self:send(encode{
type = "nicks",
ni... | Lua |
= nil {
return m.Confirms
}
return nil
}
// Round1Info contains all necessary information for handling round 1 of the DKG process.
type Round1Info struct {
// member_id is the unique identifier of a group member.
MemberID github_com_bandprotocol_chain_v3_pkg_tss.MemberID `protobuf:"varint,1,opt,name=member_id,js... | Go |
terSemantics(
rect: Offset((i / numGroups) * size.width, 0) &
Size(size.width / numGroups, size.height),
properties: SemanticsProperties(
label: numberFormat.format(medians[i]),
textDirection: textDirection,
),
);
});
};
}
/// Re... | Dart |
boolean equals(Number value) {
return this.value().intValue() == value.intValue();
}
/**
* <p>getValue.</p>
*
* @return a {@link java.lang.Number} object.
*/
default Number getValue() { return value(); };
}
package com.pi4j.io.gpio.analog;
/*-
* #%L
* ************************... | Java |
制保证数据的一致性,那么程序最终导致异常,
所以,Python之父就搞了个全局的线程锁,不管你数据有没有同步问题,反正一刀切,上个全局锁,保证数据安全。
这也就是多线程鸡肋的原因,因为它没有细粒度的控制数据的安全,而是用一种简单粗暴的方式来解决。
#### 能不能去掉GIL
那么把 GIL 去掉可行吗?
去掉GIL的 Python 在单线程条件下执行效率将近慢了2倍。
#### threading模块
```python
import threading
from time import sleep
class Mythead(threading.Thread):
def run(self):
... | Markdown |
)
d.setShadow(shadow)
if (isBuffered) {
d.setResolution(resolution)
font?.let { d.setFont(it) }
}
d.setHorzAlign(horzAlign)
d.setVertAlign(vertAlign)
d.setBackground(background)
d.setBackgroundColor(backgroundColor)
d.setLines(lines... | Kotlin |
ameterNameTwo", "pathParameterValueTwo_One")
))
.setQueryStringParameters(new Parameters().withEntries(
param("queryStringParameterNameOne", "queryStringParameterValueOne_One", "queryStringParameterValueOne_Two"),
param("queryString... | Java |
return var_exp - kl
def log_marginal_likelihood(self):
# maximize the lower bound
return self.elbo()
def _predict_f(self, X, full=False):
Kuu = self.kernel(self.Z())
Kus = self.kernel(self.Z(),X) # NxS
Luu = self._cholesky(Kuu, add_jitter=True) # NxN
a = to... | Python |
speed=30,
),
mock_instrument_core.move_to(
location=Location(Point(12, 24, 36), labware=None),
well_core=dest_well,
force_direct=True,
minimum_z_height=None,
speed=None,
),
mock_instrument_core.air_gap_in_place(
... | Python |
from datetime import datetime
from .. import Provider as CompanyProvider
def calculate_checksum(value: str) -> str:
factors = [3, 7, 2, 4, 10, 3, 5, 9, 4, 6, 8][-len(value) :]
check_sum = 0
for number, factor in zip(value, factors):
check_sum += int(number) * factor
return str((check_sum % 1... | Python |
g.junit.vintage", module = "junit-vintage-engine")
}
}
tasks.withType<Test>().configureEach { useJUnitPlatform() }
tasks.withType<KotlinCompile>().configureEach {
kotlin {
compilerOptions.freeCompilerArgs = listOf("-Xjsr305=strict")
compilerOptions.jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM... | Kotlin |
--output=untitled_rife.mp4
```
## Evaluation
Download [RIFE model](https://drive.google.com/file/d/1h42aGYPNJn2q8j_GVkS_yDu__G_UZ2GX/view?usp=sharing) or [RIFE_m model](https://drive.google.com/file/d/147XVsDXBfJPlyct2jfo9kpbL944mNeZr/view?usp=sharing) reported by our paper.
**UCF101**: Download [UCF101 dataset](htt... | Markdown |
patch.append(new DUP2()); // Load the index for him
patch.append(loadIns1); // Load the value for him
// Now the stack is restored.
// Change instance var: D.changeArray1D("foo.java", 75, Int[23]{3, 4,
// ...}, index, <Obj_33>, tl) SET INSTANCE VAR
patch
.ap... | Java |
ft( "split", SPLIT_TYPE, OTYPE , 0,
function(inp)
local sout = S.select(S.lt(S.index(S.index(inp,0),0),S.constant(320,types.uint(16))),S.index(S.index(inp,1),0),S.index(S.index(inp,1),1))
sout = S.tuple{sout,sout,sout,S.constant(0,types.uint(8))}
sout = S.cast(sout,OTYPE)
return sout end, function() return tfn end ... | Lua |
",
["奢"] = "dftj",
["砆"] = "dfwy",
["压"] = "dfyi",
["研"] = "dgah",
["硎"] = "dgaj",
["砘"] = "dgbn",
["碃"] = "dgeg",
["三"] = "dggg",
["古"] = "dghg",
["硬"] = "dgjq",
["觱"] = "dgke",
["厨"] = "dgkf",
["感"] = "dgkn",
["咸"] = "dgkt",
["礓"] = "dglg",
["𥕢"] = "dgm... | Lua |
: (.*)"), "$2")
continue
}
// Detect main function
if (line.matches(Regex("\\s*fun main\\([A-Za-z0-9_]+: Array<String>\\) \\{"))) {
hasMain = true
}
// Comments lines are only detected when no additional code is in the line
// Start multi line comments
if (li... | Kotlin |
sGet200Response &&
total == other.total &&
items == other.items &&
pageNum == other.pageNum &&
pageSize == other.pageSize;
}
@override
int get hashCode {
var _$hash = 0;
_$hash = $jc(_$hash, total.hashCode);
_$hash = $jc(_$hash, items.hashCode);
_$hash = $jc(_$hash... | Dart |
nt of a fatal
* error, returns the errno value.
*
* "timeout" is a value in microseconds to limit the length of the
* select call. Less than zero means to wait indefinitely.
*/
int sel_iterate(sel *sel, long timeout);
/*
* Change the underlying fd in a wfd. If set to -1, no write
* attempts will take place and ... | C |
none
}
.theme-dark pre[class*=language-] {
margin: .5em 0;
overflow: auto
}
.theme-dark :not(pre)>code[class*=language-],
.theme-dark pre[class*=language-] {
background: #2d2d2d
}
.theme-dark :not(pre)>code[class*=language-] {
padding: .1em;
border-radius: .3em;
white-space: normal
}
.theme-dark .token.comme... | CSS |
from presidio_analyzer import AnalyzerEngine
from presidio_anonymizer import AnonymizerEngine
analyzer = AnalyzerEngine()
anonymizer = AnonymizerEngine()
def presidio_pii_check(text, project_id=None, session_id=None, user_id=None):
"""
Uses Microsoft Presidio to detect and optionally redact PII in a string.
... | Python |
return
super().update(other, **kwds)
def copy(self) -> PassData:
"""Returns a deep copy of the data."""
return copy.deepcopy(self)
def become(self, other: PassData, deepcopy: bool = False) -> None:
"""Become a copy of `other`."""
if deepcopy:
self._t... | Python |
nt)
/**
* 作用:当页面改变的时候回调
*
* @param pos:当前的页面的序号
*/
fun onPageChange(pos: Int)
}package com.example.ggwavekmp
import CaptureSoundListener
import PlaySoundListener
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job
import kotlinx.coro... | Kotlin |
ment to the definition for '%s'." % (f.name, rel_opts.object_name, r.get_accessor_name(), f.name))
# Check ordering attribute.
if opts.ordering:
for field_name in opts.ordering:
if field_name == '?': continue
if field_name.startswith('-'):
... | Python |
compare density of binary code and obfuscated C.
- `prog.x86.asm` and for x86, although the headers are smaller, but the binary code is larger due to fewer registers and lack of 64-bit multiply.
## Feature phone firmware helper
For SC6530/SC6531/SC6531E firmware dumps. Finds small sections init table and helps deco... | Markdown |
outineSequencer()
val results = ArrayList<String>()
val jobs = listOf(
GlobalScope.launch(dispatcher) {
sequencer.post { suspendingMethod("#1") }
.also { results.add(it) }
},
GlobalScope.launch(dispatcher) {... | Kotlin |
uct wl_list* cur1 = server->wm_contents.next;
struct wl_list* cur2 = cur1->next;
for(;cur1 != server->wm_contents.prev;
cur1 = cur1->next, cur2 = cur2->next){
struct wm_content* content1 = wl_container_of(cur1, content1, link);
struct wm_content* content2 = wl_c... | C |

## Quick Month View
Navigate seamlessly through future dates with our intuitive month view, ensuring you never miss an important appointment.
;
/* Selection */
--bg-selection: var(--dark-bg-selection);
--text-selection: var(--dark-text-selection);
--clr-success: var(--dark-clr-success);
--clr-error: var(--dark-clr-error);
}
}
/* User Override: Lets the user manually override the system preference... | CSS |
ByResourceID(resources)
inv_testing.OrderByResourceID(tc.resources)
for i, expected := range tc.resources {
singleSchedEdgesOnlyResourceID(expected)
singleSchedEdgesOnlyResourceID(resources[i])
if eq, diff := inv_testing.ProtoEqualOrDiff(expected, resources[i]); !eq {
t.Errorf("ListSingleS... | Go |
space a {
padding: 0.5rem;
}
}
.slds-has-inline-block-links a {
display: inline-block;
text-decoration: none;
}
.slds-has-inline-block-links_space a {
display: inline-block;
text-decoration: none;
padding: 0.75rem;
}
@media (min-width: 48em) {
.slds-has-inline-block-links_space a {
padding: 0.5re... | CSS |
rpret(OperandCategory::SrcDestRegOrDeref)),
0b0111_0010 => (Opcode::MOV(size), Reinterpret(OperandCategory::SrcDestRegOrDeref)),
0b0111_0011 => (Opcode::MOV(size), Reinterpret(OperandCategory::SrcDestRegOrDeref)),
0b0111_0100 => (Opcode::NOP, Reinterpret(OperandCategory::Op74)),
0b0111_0... | Rust |
currentIndex: _selectedIndex,
type: BottomNavigationBarType.fixed,
selectedItemColor: MyTheme.accent, //
unselectedItemColor: MyTheme.darkGray,
onTap: (index) => setState(() {
// close chat overlay when go chat page
if (_selectedInd... | Dart |
2 {
font-weight: 400;
}
.marketing .col-lg-4 p {
margin-right: .75rem;
margin-left: .75rem;
}
/* Featurettes
------------------------- */
.featurette-divider {
margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}
/* Thin out the marketing headings */
.featurette-heading {
font-weight: 300;
line-hei... | CSS |
h-16.3c27.6-35.3 44-79.69 44-127.99C416.03 93.09 322.92 0 208.02 0S0 93.09 0 207.98s93.11 207.98 208.02 207.98c48.3 0 92.71-16.4 128.01-44v16.3c0 6.4 2.5 12.5 7 17l99.71 99.69c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.59.1-33.99zm-297.02-90.7c-79.54 0-144-64.34-144-143.98 0-79.53 64.35-143.98 144-143.98 79.54 0 ... | JavaScript |
trt.SetFinalizer(rv2, qtcore.DeleteQRectF)
return rv2
}
// /usr/include/qt/QtQuick/qquickpainteditem.h:93
// index:0
// Public Visibility=Default Availability=Available
// [8] QSize contentsSize() const
/*
*/
func (this *QQuickPaintedItem) ContentsSize() *qtcore.QSize /*123*/ {
rv, err := qtrt.InvokeQtFunc6("_ZNK... | Go |
hUlpDiff(testCases[i][0],
testCases[i][1], 0);
}
// For |x| < 2^-54 log1p(x) ~= x
for(int i = DoubleConsts.MIN_SUB_EXPONENT; i <= -54; i++) {
double d = Math.scalb(2, i);
failures += testLog1pCase(d, d);
failur... | Java |
local_test == LocalTests.CREATE_ETH:
# btc_price = qis.load_df_from_csv(file_name=BTC_PRICES_FROM_2010, local_path=LOCAL_PATH).iloc[:, 0]
# eth_price = create_eth_price(btc_price=btc_price)
# print(eth_price)
from bbg_fetch import fetch_field_timeseries_per_tickers
bbg_price = fe... | Python |
/*
Copyright (C) 2014, The University of Texas at Austin
This file is part of libflame and is available under the 3-Clause
BSD license, which can be found in the LICENSE file at the top-level
directory, or at http://opensource.org/licenses/BSD-3-Clause
*/
#include "FLAME.h"
#define FLA_ALG_REFERENC... | C |
tureDetector.SimpleOnGestureListener()
fun setListener(listener: GestureDetector.SimpleOnGestureListener) {
delegate = listener
}
override fun onLongPress(e: MotionEvent) {
delegate.onLongPress(e)
}
override fun onScroll(
e1: MotionEvent?,
e2: MotionEvent,
... | Kotlin |
copper|metal-implements'),
SearchData(1467, 314823, 'Conopa (votive effigy)', 'container|stone|stone-containers'),
SearchData(-350, 308590, 'Double Spout and Bridge Bottle with Snake', 'bottle|ceramic, pigment|ceramics-containers'),
SearchData(1475, 317791, 'Kero', 'kero|wood (prosopis?)|wood-containers'),
Sear... | Dart |
为true
var show by rememberSaveable(route) { mutableStateOf(false) }
val sharedTransitionScope = LocalSharedTransitionScope.current
LaunchedEffect(isCurrentEntry) {
// 当前页面首次进入时播放动画
if (isCurrentEntry && !show) {
show = false
// 当动画结束后显示
// delay(TransitionC... | Kotlin |
release: true);
}
}
/// Call operator for `objc.ObjCBlock<ffi.Void Function(objc.NSError?)>`.
extension ObjCBlock_ffiVoid_NSError_CallExtension on objc.ObjCBlock<ffi.Void Function(objc.NSError?)> {
void call(objc.NSError? arg0) => ref.pointer.ref.invoke
.cast<
ffi.NativeFunction<ffi.Void Function(ff... | Dart |
from typing import Any, Tuple, Dict
from nonebot import on_regex, require, on_command
from nonebot.params import RegexGroup, CommandArg
from nonebot.adapters.onebot.v11 import (
Bot,
MessageEvent,
PRIVATE_FRIEND,
GROUP,
GroupMessageEvent,
MessageSegment,
Message
)
from ..xiuxian2_handle imp... | Python |
.295 0 0 1-1.094-1.415 7.098 7.098 0 0 1-.71-1.675A6.985 6.985 0 0 1 1 8c0-.643.082-1.262.246-1.86a6.968 6.968 0 0 1 .711-1.667 7.156 7.156 0 0 1 2.509-2.516 6.895 6.895 0 0 1 1.675-.704A6.808 6.808 0 0 1 8 1z'/></svg>\");mask-image:url(\"data:image/svg+xml;utf8,<svg width='16' height='16' viewBox='0 0 16 16' xmlns='ht... | JavaScript |
base).init();
// Update base address of logger
set_logger_base(self.base);
set_logger(&LOGGER).unwrap();
set_max_level(self.filter);
}
}
/// Create a builder for fine-tuning logger.
///
/// Call [`Builder::setup`][] to apply the configuration and actually setup the logger.
///
///... | Rust |
6; }
#qunit-tests .pass .test-name { color: #366097; }
#qunit-tests .pass .test-actual,
#qunit-tests .pass .test-expected { color: #999; }
#qunit-banner.qunit-pass { background-color: #C6E746; }
/*** Failing Styles */
#qunit-tests li li.fail {
color: #710909;
background-... | CSS |
### Patch Changes
- @pnpm/default-resolver@12.0.6
## 4.0.0
### Major Changes
- eeff424bd: strictSSL option renamed to strictSsl.
### Patch Changes
- Updated dependencies [e7d9cd187]
- Updated dependencies [eeff424bd]
- @pnpm/fetch@4.0.0
- @pnpm/default-resolver@12.0.5
- @pnpm/tarball-fetcher@9.3.2
- @pn... | Markdown |
aul.rpc.users.UserEntryKt.Dsl.() -> kotlin.Unit): qaul.rpc.users.UsersOuterClass.UserEntry =
qaul.rpc.users.UserEntryKt.Dsl._create(this.toBuilder()).apply { block() }._build()
//Generated by the protocol buffer compiler. DO NOT EDIT!
// source: services/chat/chat.proto
package qaul.rpc.chat;
@kotlin.jvm.JvmName("... | Kotlin |
= value.as_str() {
if s == "red" {
map.clear();
return;
}
}
}
for (_, value) in map.iter_mut() {
prune_red(value);
}
... | Rust |
242-5.61c-1.148-.74-1.355-2.42-.462-3.75.893-1.331 2.547-1.81 3.695-1.068 1.148.74 1.355 2.42.463 3.75-.893 1.331-2.547 1.81-3.695 1.069zm4.795 8.229c-1.376.058-2.726-1.11-2.708-1.516-.02-.594 1.676-1.058 2.782-1.03 1.113-.049 2.607.352 2.61.884.018.517-1.355 1.684-2.684 1.662zm2.759-5.858c.008 1.39-1.226 2.522-2.757 2... | Dart |
_name} ${var.aws_profile} ${var.aws_region} false 120 60 1 15 6"
# Arguments
# <codebuild-project-name> <aws-profile> <aws-region> <print-dots> <initial-timeout> <update-timeout> <sleep-interval> <init-wait-time> <max-retry-count>
}
```
#### Contributors ####
* Bircan Bilici
https://github.com/brcnblc
... | Markdown |
FT(ALCcontext *context, ALenum pname, void **values) AL_API_NOEXCEPT;
void AL_APIENTRY alBufferCallbackDirectSOFT(ALCcontext *context, ALuint buffer, ALenum format, ALsizei freq, ALBUFFERCALLBACKTYPESOFT callback, ALvoid *userptr) AL_API_NOEXCEPT;
void AL_APIENTRY alGetBufferPtrDirectSOFT(ALCcontext *context, ALuint b... | C |
OIName[__i__]}]);
}
Future<void> set_AOIName_batch(List<String> AOIName) async {
await kAmapLocationFluttifyChannel.invokeMethod('AMapLocationReGeocode::set_AOIName_batch', [for (int __i__ = 0; __i__ < this.length; __i__++) {'__this__': this[__i__], "AOIName": AOIName[__i__]}]);
}
//endreg... | Dart |
self.manager.send(cmd_ctx);
}
fn handle_umforward(
&self,
cmd_ctx: CmdCtx,
reply_receiver: CmdReplyReceiver,
) -> CmdReplyFuture {
let (mut cmd_ctx, redirection_times) = match Self::get_sub_command(cmd_ctx, 1) {
Some((cmd_ctx, sub_cmd)) => (cmd_ctx, sub_cmd.to_up... | Rust |
mpose.ui.graphics.StrokeJoin
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.unit.dp
import compose.icons.CssGgI... | Kotlin |
= bot:GetAbilityByName('puck_illusory_orb')
local WaningRift = bot:GetAbilityByName('puck_waning_rift')
local PhaseShift = bot:GetAbilityByName('puck_phase_shift')
local EtherealJaunt = bot:GetAbilityByName('puck_ethereal_jaunt')
local DreamCoil = bot:GetAbilityByName('puck_dream_coil')
local IllusoryOrbDe... | Lua |
),
);
},
);
}
onBlock({required GComment_postComment comment}) async {
await context.showDialog(
title: '${comment.profile.name}님을 차단할까요?',
content: '차단된 유저는 스페이스의 모든 게시물을 볼 수 없으며, 댓글을 달 수 없어요. 차단 해지는 [스페이스 설정- 독자관리]에서 가... | Dart |
type><device_id>>OGNAVI,qAS,NAVITER:/<timestamp>h<latitude>/<longitude>'<heading>/<ground_speed>/A=<altitude> <comment>
```
**Parameters:**
* **device_type** — 3-character device type identifier (e.g. NAV, FLR, …)
* **device_id** — 24-bit device identifier written in hexadecimal format. Device identifier is only uniq... | Markdown |
}
}
/**
* Handle game text messages, including debug commands.
* Was part of SOCServer.processCommand before 1.1.07.
*<P>
* Some commands are unprivileged and can be run by any client:
*<UL>
* <LI> *ADDTIME*
* <LI> *CHECKTIME*
* <LI> *VERSION*
* <LI> *STATS*
... | Java |
Sdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_11.toString()
}
defaultConfig {
// TODO:... | Kotlin |
the operation.
* </pre>
*
* <code>string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
*
* @return The verb.
*/
java.lang.String getVerb();
/**
*
*
* <pre>
* Output only. Name of the verb executed by the operation.
* </pre>
*
* <code>string verb = 4 [(.google... | Java |
tionFunc != EnWallmas_ReturnToCeiling) &&
(this->actionFunc != EnWallmas_TakePlayer) && (this->actionFunc != EnWallmas_WaitForSwitchFlag)) {
xzScale = this->actor.scale.x * 50.0f;
} else {
xzScale = ((0x50 - this->timer) >= 0x51 ? 0x50 : (0x50 - this->timer)) * TIMER_SCALE;
}
Matrix... | C |
// definitely not equal if not even non-query parts match
if (one.toString() !== two.toString()) {
return false;
}
// query parameters have the same length, even if they're permutated
if (one_query.length !== two_query.length) {
return false;
}
one_map = URI.parseQuery(one_query)... | JavaScript |
job").EqualRegexp("$job"),
label.New("instance").EqualRegexp("$instance"),
),
).By("instance"),
"BlackboxAvgProbeDurationSeconds": promql.AvgBy(
"probe_duration_seconds",
[]string{"instance"},
label.New("job").EqualRegexp("$job"),
label.New("instance").EqualRegexp("$instance"),
),
"BlackboxProbeHttpPha... | Go |
# Copyright (c) 2024 Allied Vision Technologies GmbH. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list... | Python |
menu > .c-links > li > a:not(.btn):active > i,
.c-layout-header .c-topbar-dark .c-top-menu > .c-links > li > a:not(.btn):hover > i,
.c-layout-header .c-topbar-dark .c-top-menu > .c-links > li > a:not(.btn):focus > i,
.c-layout-header .c-topbar-dark .c-top-menu > .c-ext > li > a:not(.btn):active > i,
.c-... | CSS |
�� 숫자여야 합니다.","invalidHeight":"표 높이는 숫자여야 합니다.","invalidRows":"행 번호는 0보다 큰 숫자여야 합니다.","invalidWidth":"표의 폭은 숫자여야 합니다.","menu":"표 설정","row":{"menu":"행(Row)","insertBefore":"앞에 행 삽입","insertAfter":"뒤에 행 삽입","deleteRow":"가로줄 삭제"},"rows":"가로줄","summary":"요약","title":"표 설정","toolbar":"표","widthPc":"퍼센트","widthPx":"픽셀","widt... | JavaScript |
/* SPDX-License-Identifier: GPL-2.0-only */
/****************************************************************************
* Driver for Solarflare network controllers and boards
* Copyright 2015 Solarflare Communications Inc.
*/
#ifndef EF10_SRIOV_H
#define EF10_SRIOV_H
#include "net_driver.h"
/**
* struct ef10_v... | C |
if err != nil {
return err
}
var o types.ComputeStateOutput
if err := json.Unmarshal(data, &o); err != nil {
return err
}
stout = &o
} else {
o, err := getEnv(env).ChainAPI.StateCompute(ctx, height, msgs, ts.Key())
if err != nil {
return err
}
stout = o
}
buf := &byt... | Go |
# It will input the employee's years of service rendered in each category.
IT_yrs = float(input("Years serviced in IT Dept.: "))
ACCT_yrs = float(input("Years serviced in ACCT Dept.: "))
HR_yrs = float(input("Years servicedin HR Dept.: "))
# Amount of bonuses to be given.
if IT_yrs >= 10:
IT_bns = 10000
print ... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.