content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
own](/d/storagegrid-overview/storagegrid3a-overview?orgId=1&viewPanel=38) |
///
### storagegrid_storage_utilization_metadata_bytes
The amount of object metadata on storage volume 0, in bytes
| API | Endpoint | Metric | Template |
|--------|----------|--------|---------|
| REST | `prometheus` | `storagegrid_sto... | Markdown |
r_t) -> c_int;
fn rust_uv_malloc_buf_base_of(sug_size: size_t) -> *u8;
fn rust_uv_free_base_of_buf(buf: uv_buf_t);
fn rust_uv_get_stream_handle_from_connect_req(connect_req: *uv_connect_t) -> *uv_stream_t;
fn rust_uv_get_stream_handle_from_write_req(write_req: *uv_write_t) -> *uv_stream_t;
fn rust_... | Rust |
ptr)
, docRdf(nullptr)
, progressUpdater(nullptr)
, progressProxy(nullptr)
, profileStream(nullptr)
, filterManager(nullptr)
, specialOutputFlag(0)
, // default is native format
isImporting(false)
, isExporting(false)
, password(QString())
... | C++ |
_allowedHosts ?? (_allowedHosts = new InputList<string>());
set => _allowedHosts = value;
}
/// <summary>
/// The version number of the code.
/// </summary>
[Input("codeRev")]
public Input<string>? CodeRev { get; set; }
/// <summary>
/// The ... | C# |
'model_wheelbase_in': '99.2',
'model_mpg_hwy': '21',
'model_mpg_city': '13',
'model_mpg_mixed': '11',
'model_fuel_cap_g': '18.5',
'make_display': 'Dodge',
'make_country': 'USA',
'ExtColors': ... | Typescript |
track3B1, RZ;\n",
j5c25 => "--:-:-:-:1 \@P3 IADD track4B0.CC, track4B0, cdb64;\n",
j5c30 => "--:-:-:-:1 \@P3 IADD.X track4B1, track4B1, RZ;\n",
j5c32 => "--:-:-:-:1 \@P3 IADD track5B0.CC, track5B0, cdb64;\n",
j5c37 => "--:-:-:-:1 \@P3 IADD.X track5B1, track5B1, RZ;\... | CSS |
the License.
package config
import (
"fmt"
"github.com/apigee/registry/pkg/config"
"github.com/spf13/cobra"
)
func listCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "list",
Short: "List properties in the active configuration",
Example: `registry config list`,
Args: cobra.NoArgs,
Run... | Go |
{
_performanceScope = new PerformanceScope("Scope:" + captured.PhaseName, perfLogLevel.Value);
}
}
public static T WithScope<T>(string phaseName, Func<T> func)
{
using (new LoggerPhaseScope(phaseName))
{
return func();
... | C# |
div align="center"><a href="https://www.bilibili.com/video/BV1JB4y1M7xp" target="_blank">https://www.bilibili.com/video/BV1JB4y1M7xp</a><br>
</div><div align="center"><font size="4"><font style="background-color:rgb(251, 242, 219)">宣传视频</font></font></div><div align="center"><a href="https://www.bilibili.com/video/BV1i... | HTML |
hätte.
### Der Aufbruch der 80er: Reime gegen Vorurteile
Mit dem Wechsel ins nächste Jahrzehnt wurde die *Hip-Hop*-Szene immer facettenreicher. In den **1980er Jahren** begannen weibliche Acts, aus dem Underground herauszutreten und ihr eigenes Klangbild zu prägen. Gruppen wie **Salt-N-Pepa** oder **The Sequence** w... | Markdown |
builder->ReportError(broadcast_shape_or_status.status());
}
xla::Shape broadcast_shape = broadcast_shape_or_status.ValueOrDie();
for (int32 i = 0; i < in_size.size(); ++i) {
if (in_size[i] == 1 && out_size[i] > 1) {
broadcast_shape.set_dimensions(spatial_dimensions_offset + i,
... | C++ |
_time + syl.start_time", "", "", "", "", "char.center", "char.middle", "", "", "5", "0", "fx.pos_x", "fx.pos_y + 100r, fx.pos_y", "200, 400", "1", "", "char.text", "\"\\\\frxo-180\\\\fscxr0.3\\\\fscyr3\\\\blur3\\\\t(0,400,0.5,\\\\frx0\\\\fscxr1\\\\blur0)\\\\t(0,400,\\\\fscyr1)\\\\fad(150,0)\"", "", "Lua", false, false ... | Lua |
e.COPY_DST |
GPUTextureUsage.TEXTURE_BINDING |
GPUTextureUsage.STORAGE_BINDING |
GPUTextureUsage.RENDER_ATTACHMENT,
size: [kTextureSize, kTextureSize, 1],
});
const UseTextureOnCommandEncoder = (
texture: GPUTexture,
usage: 'copy-src' | 'copy-dst' | 'texture' | 'storag... | Typescript |
;
connectToMQTT();
}
// Only send data if we're actually connected
if (mqttClient.connected()) {
mqttConnected = true;
// send mode
String acMode = "off";
if (air_status.power) {
if (air_status.mode == MODE_COOL) {
acMode = "cool";
}... | C++ |
Service {
/**
* 查询参数配置信息
*
* @param configId 参数配置ID
* @return 参数配置信息
*/
SysConfig selectConfigById(Long configId);
/**
* 根据键名查询参数配置信息
*
* @param configKey 参数键名
* @return 参数键值
*/
String selectConfigByKey(String configKey);
/**
* 获取验证码开关
*... | Java |
,re,r,rp)
local c=e:GetHandler()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK, | Lua |
imationComponent(
size: Vector2.all(128),
anchor: Anchor.center,
animation: spriteSheet.createAnimation(row: 0, stepTime: 0.05),
),
),
];
world.addAll(_choppers);
}
}
class _TapWorld extends World
with TapCallbacks, KeyboardHandler, HasGameReference<LookAtExamp... | Dart |
size_code: usize) -> Scaled {
let f = MATH_FONT(2 + size_code);
match &FONT_LAYOUT_ENGINE[f] {
Some(Otgr(e)) if e.is_open_type_math_font() => get_native_mathsy_param(f, 13),
_ => Scaled(FONT_INFO[(13 + PARAM_BASE[f]) as usize].b32.s1),
}
}
unsafe fn sup2(size_code: usize) -> Scaled {
let... | Rust |
Seven,
CardRank.Eight,
CardRank.Nine,
CardRank.Ten,
CardRank.Jack,
CardRank.Queen,
CardRank.King,
CardRank.AceHigh
]
),
new Deck(
DeckId.STANDARD_ACE_HIGH,
`Standard - Ace High`,
[
CardRank.Two,
CardRank.Three,
... | Typescript |
classes = if (viewModel.boldText) "has-text-weight-bold" else null
if (viewModel.isHeader)
th(classes = classes) { link(viewModel.link) }
else
td(classes = classes) { link(viewModel.link) }
}
is TableViewModel.ExternalLinkCellViewModel ->
... | Kotlin |
64 and not uintptr_t?
* because, per the spec:
* The Sv32 page-based virtual-memory scheme described in Section 4.3
* supports 34-bit physical addresses for RV32, so the PMP scheme must
* support addresses wider than XLEN for RV32.
* Yes, in RV32, these are 34-bit numbers.
* Rather than require every future user ... | C |
, simapp.LiquidityKeeper)
_, err = simapp.LiquidityKeeper.WithdrawWithinBatch(ctx, types.NewMsgWithdrawWithinBatch(creatorAddr, pool.Id, sdk.NewInt64Coin(pool.PoolCoinDenom, 1)))
require.NoError(t, err)
liquidity.EndBlocker(ctx, simapp.LiquidityKeeper)
}
func TestWithdrawSmallAmount(t *testing.T) {
simapp, ctx, po... | Go |
tasks>" +
" </conditional>" +
" " +
" </tasks>" +
" </conditional>";
}
[ReflectorType("testInstance")]
public class TestClass
{
private string myName;
private int myValue;
priva... | C# |
;
}
import 'package:fast_app_base/common/common.dart';
import 'package:fast_app_base/common/widget/w_fire.dart';
import 'package:fast_app_base/data/memory/vo/todo_status.dart';
import 'package:fast_app_base/data/memory/vo/vo_todo.dart';
import 'package:flutter/material.dart';
class TodoStatusWidget extends StatelessW... | Dart |
for easy.Setopt(OPT_HTTP_VERSION, flag)
const (
HTTP_VERSION_NONE = C.CURL_HTTP_VERSION_NONE
HTTP_VERSION_1_0 = C.CURL_HTTP_VERSION_1_0
HTTP_VERSION_1_1 = C.CURL_HTTP_VERSION_1_1
)
// for easy.Setopt(OPT_PROXYTYPE, flag)
const (
PROXY_HTTP = C.CURLPROXY_HTTP /* added in 7.10, new in 7.19.4 default is to... | Go |
=2024-05-03)
FirstAndLastDayOfMonth(id=1, DateTime=2024-01-01)
FirstAndLastDayOfMonth(id=2, DateTime=2024-01-31)
FirstAndLastDayOfMonth(id=3, DateTime=2024-02-01)
FirstAndLastDayOfMonth(id=4, DateTime=2024-02-29)
FirstAndLastDayOfMonth(id=5, DateTime=2024-03-01)
```
#### `byyearday`
The `byyearday` feature is similar... | Markdown |
THROW(Ax::get_property(input, "str", "test", d), std::runtime_error);
EXPECT_THROW(Ax::get_property(input, "empty", "test", d), std::runtime_error);
}
TEST(ax_utils_tests, test_get_property_with_vector_ints)
{
using v = std::vector<int>;
EXPECT_EQ(Ax::get_property(input, "+ve", "test", v{}), v{ 1 });
EXPECT_EQ... | C++ |
, h],
&[!a, !c, !e, !g],
&[!b, !c, !e, !g],
&[!a, !d, !e, !g],
&[!b, !d, !e, !g],
&[!a, !c, !f, !g],
&[!b, !c, !f, !g],
&[!a, !d, !f, !g],
&[!b, !d, !f, !g],
&[!a, !c, !e, !h],... | Rust |
ble \"subscription_id\" { default = \"%s\" }\n", subscriptionId)
datasourceName := "data.oci_tenantmanagercontrolplane_subscription_available_regions.test_subscription_available_regions"
acctest.SaveConfigContent("", "", "", t)
dataSourceConfig := config + subscriptionIdVariableStr + acctest.GenerateDataSourceFro... | Go |
5.333334z m0 85.333334a277.333333 277.333333 0 1 1 0 554.666666 277.333333 277.333333 0 0 1 0-554.666666z m0 21.333333a256 256 0 1 0 0 512 256 256 0 0 0 0-512z" ></path><path d="M516.821333 128.085333L512 128a384 384 0 1 1-383.744 397.909333h128.128a256 256 0 1 0 260.48-269.866666V128.085333z" ></path></symbol><symbo... | JavaScript |
in
import (
"fmt"
)
func orDone(done <-chan struct{}, c <-chan any) <-chan any {
valStream := make(chan any)
go func() {
defer close(valStream)
for {
select {
case <-done:
return
case v, ok := <-c:
if ok == false {
return
}
select {
case valStream <- v:
case <-done:
}
... | Go |
label: 'API URL',
required: true,
inputType: 'text',
placeholder: 'http://localhost:11434/v1',
span: 12,
suffix: '/chat/completions',
help: '本地 Ollama 服务地址,需要先安装并启动 Ollama'
}
],
'LocalAI': [
{
name: 'apiKey',
... | JavaScript |
/* Copyright (C) 2016-2017 Shengyu Zhang <i@silverrainz.me>
*
* This file is part of Srain.
*
* Srain is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your optio... | C |
/* Copyright 2002 Andi Kleen */
#include <linux/linkage.h>
#include <asm/errno.h>
#include <asm/cpufeatures.h>
#include <asm/alternative-asm.h>
#include <asm/export.h>
/*
* We build a jump to memcpy_orig by default which gets NOPped out on
* the majority of x86 CPUs which set REP_GOOD. In addition, CPUs which
* ha... | Assembly |
if s.Count != 2 {
t.Errorf("Count Value Incorrect: Expected: %#02x Actual: %#02x", 2, s.Count)
}
if s.Size != 4 {
t.Errorf("Size Value Incorrect: Expected: %#02x Actual: %#02x", 4, s.Size)
}
if s.Ts[0] != 0x1234 {
t.Errorf("Array Value Incorrect: Expected %#02x Actual: %#02x", 0x1234, s.Ts[0])
}
if... | Go |
social a {
padding: 5px;
}
.team-item-2 .team-inner .team-content .team-social a:hover {
color: #1a73e8 !important;
}
.team-item-2 .team-inner .team-content .team-social a.twitter {
color: #55acee;
}
.team-item-2 .team-inner .team-content .team-social a.behance {
color: #1769ff;
}
.team-item-2 .team-inner .team... | CSS |
11
# asm 2: cmp <i=r1,#11
cmp r1,#11
# qhasm: j = 0 if =
# asm 1: ldreq <j=int32#6,=0
# asm 2: ldreq <j=r5,=0
ldreq r5,=0
# qhasm: mulsource = playground1_ptr + 96 if =
# asm 1: addeq <mulsource=int32#3,<playground1_ptr=int32#4,#96
# asm 2: addeq <mulsource=r2,<playground1_ptr=r3,#96
addeq r2,r3,#96
# qhasm: p... | Assembly |
ltYAxis;
var oldYAxisMinimum = yAxis.Minimum;
var oldYAxisMaximum = yAxis.Maximum;
yAxis.Minimum = yAxis.ActualMinimum;
yAxis.Maximum = yAxis.ActualMaximum;
var previousDataFieldX = series.DataFieldX;
var previousDataFieldY = series.DataFieldY;
... | C# |
al parentMap = mutableMapOf<String, String?>()
service.traverseChildrenRecursive("000000000000", 3, "2023") { children, depth, parent ->
children.forEach { district -> parentMap[district.code.code] = parent?.code?.code }
true
}
assertEquals("000000000000", parentMap["110000"])
assertEquals("... | Kotlin |
/*
* include/asm-s390/user.h
*
* S390 version
*
* Derived from "include/asm-i386/usr.h"
*/
#ifndef _S390_USER_H
#define _S390_USER_H
#include <asm/page.h>
#include <linux/ptrace.h>
/* Core file format: The core file is written in such a way that gdb
can understand it and provide useful information to the ... | C |
s.pop()
} else {
//swap the removed element wit the last.
let removed = self.elements[removed_pos].clone();
let last_entry = self.elements.pop().unwrap();
self.key2idx.insert(last_entry.0.clone(), removed_pos);
self.elements[r... | Rust |
import random
lChars = "abcdefghijklmnopqrstuvwxyz"
uChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
digits = "1234567890"
specialChars = "!@#$%^&*-_+="
passLen = 10 # actual generated password length will be this length + 1
myPass = ""
for i in range(passLen):
while (len(myPass)) <= 2:
index = random.randrange(le... | Python |
or = col_formask;}",ut="precision mediump float;varying vec2 v_texCoord;varying vec4 v_clipPos;uniform sampler2D s_texture0;uniform sampler2D s_texture1;uniform vec4 u_channelFlag;uniform vec4 u_baseColor;void main(){vec4 col_formask = texture2D(s_texture0, v_texCoord) * u_baseColor;vec4 clipMask = (1.0 - texture2D(s_t... | JavaScript |
lag99gkb/6NjIxtp7YJjI8IPkDTdVtC/1a14e97700ab05992c1ea0610747d624/BLOG-2934_3.jpg" alt="BLOG-2934 3" class="kg-image" width="1999" height="1423" loading="lazy">
</figure>
<p><sub>Homepage of fogos.pt on August 20, 2025, highlighting a major wildfire near Piódão in central Portugal.</sub></p>
<div class="flex anchor r... | HTML |
index + 1) % self.num_frames()
}
pub unsafe fn destroy(&mut self, device: &ash::Device) {
for frame in &mut self.frame_queue {
frame.destroy(device);
}
}
}
impl QueuedFrame {
fn new() -> Self {
Self {
buffers: Vec::new(),
memory: Vec::new(),
... | Rust |
Section
{
Unknown = 0,
All = 1,
First = 2,
Common = 2,
Extended = 3,
Config = 4,
Stats = 5,
Install = 6,
Depots = 7,
UFS = 10,
OGG = 11,
Policies = 13,
SysReqs = 14,
Community = 15,
Store = 16,
Localization = 17,
Broadcastgamedata = 18,
Computed = 19,
Albummetadata = 20,
}
publi... | C# |
/*
* This file is part of the coreboot project.
*
* Copyright (C) 2013 DMP Electronics Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License.
*
* This program ... | Assembly |
);
println!("sample nr: {}", i);
let createproof_now = Instant::now();
let (rangeproof_vec, commit_vec_vec): (Vec<RangeProof>, Vec<RistrettoPoint>) =
create_rangeproof(&value_vec, &blinding_vec, black_box(*r), N_PARTITION).unwrap();
let create_elapsed = c... | Rust |
n(right),
_ => Err(EvalError::new(format!(
"unknown prefix operator: {}",
expr.operator
))),
}
}
fn eval_minus_prefix_expression(right: Rc<Object>) -> Result<Rc<Object>, EvalError> {
match *right {
Object::Integer(val) => Ok(Rc::new(Object::Integer(-val))),
... | Rust |
Errorf("unable to initialize client: %w", err)
}
return FetchKVs(ctx, client, spreadsheetId)
}
package state
import (
"testing"
"github.com/stretchr/testify/require"
)
func TestGetUnresolvedDependenciess(t *testing.T) {
tests := []struct {
name string
helmState *HelmState
expectfile string
expec... | Go |
#!/usr/bin/env python
# encoding: utf-8
"""
@author: ZhouLixuan
@file: 010_maximum-subarray-of-geometric-mean.py
@time: 2023/8/14
@project: huawei-od-python
@desc: 010 几何平均值最大子数组
"""
import math
def calc_geo_mean(numbers):
value = 1.0
for num in numbers:
value *= num
return math.pow(value, 1.0 / l... | Python |
,[t]:!0,[this.mode??"start"]:!0,"show-handle":this.showHandle})}"> ${this._formatValue(r)} </span> `}render(){const t=this.steppedValue(this.value??0);return o.qy` <div class="container${(0,n.H)({pressed:this.pressed})}" style="${(0,d.W)({"--value":`${this.valueToPercentage(this.value??0)}`})}"> <div id="slider" class=... | JavaScript |
-----------------------------|-----------------|------------------|------------------|-----------------------------|----------------------------------|----------------|--------------------------|
| [YOLOv8n-cls](https://github.com/ultralytics/assets/releases/download/v0.0.0/yolov8n-cls.pt) | 224 | 66.6 ... | Markdown |
59EFE4311BB1640C8(L_4, (bool)0, /*hidden argument*/NULL);
// }
return;
}
}
// System.Void TMPro.TMP_InputField::SetTextComponentRichTextMode()
IL2CPP_EXTERN_C IL2CPP_METHOD_ATTR void TMP_InputField_SetTextComponentRichTextMode_mA5023A446BAB4170AF8F8BB91B6F39FD9A946226 (TMP_InputField_tD50B4F3E6822EAC2720FAED56B86E... | C++ |
target: Char, cl: Class<out Buff>) {
detach(target.buff(cl))
}
}
}
package com.egoal.darkestpixeldungeon.actors.buffs
import com.egoal.darkestpixeldungeon.actors.Char
import com.egoal.darkestpixeldungeon.effects.Speck
import com.egoal.darkestpixeldungeon.messages.M
import com.egoal.darkestpixel... | Kotlin |
Info();
this.isAddButton = isAddButton;
this.existingIdList = existingIdList;
if(!NullUtil.isNull(jobParameter)){
this.jobParameter.copyValues(jobParameter);
}
if(isAddButton){
setTitle(BConfMngtMessages.JobDialog_NEW_JOB_PARAMETER_TITLE);
}else{
setTitle(BConfMngtMessages.JobDialog_EDIT_J... | Java |
#include "namespace.h"
#define syndrome_asm CRYPTO_NAMESPACE(syndrome_asm)
#define _syndrome_asm _CRYPTO_NAMESPACE(syndrome_asm)
# qhasm: int64 input_0
# qhasm: int64 input_1
# qhasm: int64 input_2
# qhasm: int64 input_3
# qhasm: int64 input_4
# qhasm: int64 input_5
# qhasm: stack64 input_6
# qhasm: stack64 in... | Assembly |
求职系统1.0中发现了一个安全漏洞。此问题影响到文件/advancesearch.php的某些未知处理过程。对参数Username进行操作会导致SQL注入。攻击可以远程执行。该漏洞已被公开,可能会被利用。 | [1]https://github.com/HAO-RAY/HCR-CVE/issues/5<br>[2]https://vuldb.com/?ctiid.323878<br>[3]https://vuldb.com/?id.323878<br>[4]https://vuldb.com/?submit.647851<br>[5]https://www.campcodes.com/ |
| 14 | CVE-2025-59358... | Markdown |
服务业等
不知道有没有上面业主的房子
## 5. 沈阳有轨电车
看看地方财政
沈阳浑南有轨电车运营公司9月底公告
有轨电车2号线,4号线将于10月25日停运
沈阳有轨电车是国内首个一次性建成一定规模的有轨电车网络
首个作为区域骨干公共交通的有轨电车工程
也是首个跨市运营的有轨电车项目
一期投资48.6亿,2013年投入运营,规划了四条线路
主要覆盖浑南新区,连接沈阳国际会展中心,桃仙机场,沈阳南站,神府新城等地
此后又增加了两条,其中6号线因为客流稀少
2020年疫情期间暂停运营后再未恢复
目前1到5号线的总运营里程102.6公里
仍是国内规模最大的城市有轨电车系统
如今2号,4号线停运的原因同样是客流太少
沈阳有轨电车今年5月... | Markdown |
*/ slwi r8, r3, 2
/* 8016E3A0 0016A000 38 E0 00 0B */ li r7, 0xb
/* 8016E3A4 0016A004 90 01 00 24 */ stw r0, 0x24(r1)
/* 8016E3A8 0016A008 38 60 00 01 */ li r3, 1
/* 8016E3AC 0016A00C 93 E1 00 1C */ stw r31, 0x1c(r1)
/* 8016E3B0 0016A010 93 C1 00 18 */ stw r30, 0x18(r1)
/* 8016E3B4 0016A014 7C DE 33 78 */ mr r30,... | Assembly |
nt;
@import url("bluish.css") projection, tv;
</pre>
</div>
<p>メディアタイプがない場合、無条件で取り込みがされる。これはメディアに対して'all'を指定するのと同じ効果を持つ。対象メディアがメディアリストとマッチする場合のみ、取り込みは有効である。
<p>メディアリストにおける項目の1つが対象メディアであるまたは'all'の場合、対象メディアはマッチする。
<p class=note>メディアクエリはメディアリストの構文とマッチングの定義を拡張することに注意する。<a href="refs.html#ref-MEDIAQ" rel="biblioentry" cl... | HTML |
return Matrix3((tfrm0 * tfrm1.getX()),
(tfrm0 * tfrm1.getY()),
(tfrm0 * tfrm1.getZ()));
}
inline const Matrix4 outer(const Vector4 & tfrm0, const Vector4 & tfrm1)
{
return Matrix4((tfrm0 * tfrm1.getX()),
(tfrm0 * tfrm1.getY()),
(tfrm0... | C++ |
nger,
.table-info,
.table-light {
--bs-table-color: #7b8ab8;
}
.input-group {
background-color: #f0f5fa;
border-radius: 0.375rem;
box-shadow: inset 2px 2px 8px rgba(55, 94, 148, 0.3), inset -3px -2px 5px rgba(255, 255, 255, 0.8);
}
.input-group > .form-control {
background: none;
box-shadow: none;
}
.input... | CSS |
h({startX:N[ke][_e.id()].getCenterX(),startY:N[ke][_e.id()].getCenterY(),endX:N[ke][me.id()].getCenterX(),endY:N[ke][me.id()].getCenterY()})}),Se.nodes.length>0&&(q.push(Se),H.add(ke))}});var se=O.packComponents(q,T.randomize).shifts;if(T.quality=="draft")A.forEach(function(oe,ke){var Ie=oe.xCoords.map(function(Ue){ret... | JavaScript |
x, y, 0f, 0f, 1f, 0.25f, isMouse).also {
currentTapPoint = it
tapPoints += it
onTapDown(it)
}
updateTapPoint(point, false)
}
fun tapUp(mouseX: Float = stage.camera.getInputX(), mouseY: Float = stage.camera.getInputY()) {
currentTapPoint?.let { point -... | Kotlin |
Wars");
Despawn();
IsBroken = true;
}
private BedWarsTeam Team => this switch
{
BlueBed => BedWarsTeam.Blue,
YellowBed => BedWarsTeam.Yellow,
GreenBed => BedWarsTeam.Green,
RedBed => BedWarsTeam.Red,
_ => throw ... | C# |
/// Gets a custom type descriptor for the given type and object.
/// </summary>
/// <param name="objectType">The type of object for which to retrieve the type descriptor.</param>
/// <param name="instance">An instance of the type. Can be null if no instance was passed to the <see cref="T:System.ComponentMo... | C# |
#ifndef TT06NONGATE_H
#define TT06NONGATE_H
#include <stdio.h>
struct LogParms { FILE *file; int loop, cellType, minK_i,maxK_i,midK_i,minNa_i,maxNa_i,midNa_i;} ;
struct nonGateCnst { double c2, c3, c4, c5, c6, c7, c8, c9,
c11, c13, c14, c15, c16, c17, c18, c19,
c20, c21, c... | C |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Amazon.Lambda.CognitoEvents
{
/// <summary>
/// https://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-lambda-pre-token-generation.html
/// </summary>
public class CognitoPreTokenGenerationV2Request : CognitoT... | C# |
(acc: PlaylistSnapshots, key, index) => ({ ...acc, [key]: values[index] }),
{},
));
}
export function saveSnapshots(db: SrIndexedDB, snapshots: PlaylistSnapshots): Promise<void> {
return db
.clear('snapshots')
.then(() => Promise.all(Object.entries(snapshots).map(
([key, value]) => db.... | Typescript |
bumped over full range")
end
function test_22()
local r = Range.Range({-1}, {10})
local invIndexer = Range.makeRowMajorInvIndexer(r)
local idx = Lin.IntVec(r:ndim())
local ix = r:lower(1)
for loc = 1, r:volume() do
invIndexer(loc, idx)
assert_equal(ix, idx[1], "test_22: Checking inverse ind... | Lua |
e into its components.
Args:
toolgroup_name: The toolgroup name to parse (e.g. "builtin::rag/knowledge_search")
Returns:
A tuple of (tool_type, tool_group, tool_name)
"""
split_names = toolgroup_name_with_maybe_tool_name.split("/")
if len(split_names) ==... | Python |
// <copyright file="CacheService.cs" company="Justin Shannon">
// Copyright (c) Justin Shannon. All rights reserved.
// Licensed under the GPLv3 license. See LICENSE file in the project root for full license information.
// </copyright>
using DevServer.Hub.Dto;
using DevServer.Models;
using Microsoft.AspNetCore.Signal... | C# |
glabel func_80AC3ED8
/* 01238 80AC3ED8 30A200FF */ andi $v0, $a1, 0x00FF ## $v0 = 00000000
/* 0123C 80AC3EDC 30C300FF */ andi $v1, $a2, 0x00FF ## $v1 = 00000000
/* 01240 80AC3EE0 0043082A */ slt $at, $v0, $v1
/* 01244 80AC3EE4 AFA50004 */ sw $a1, 0x0004($sp) ... | Assembly |
name="gplv3_15"></a>
15. Garanciavállalás hiánya
</h3>
<p>
AZ ALKALMAZHATÓ JOGSZABÁLYOK ÁLTAL BIZTOSÍTOTT MAXIMÁLIS MÉRTÉKBEN VISSZAUTASÍTJUK A PROGRAMHOZ A GARANCIA BIZTOSÍTÁSÁT. AMENNYIBEN A SZERZŐI JOGOK TULAJDONOSAI ÍRÁSBAN MÁSKÉNT NEM NYILATKOZNAK, A PROGRAM A „JELEN ÁLLAPOTÁBAN” KERÜL KIADÁSRA, MINDENFÉLE GARANC... | HTML |
criptor): any;
ref<T>(initialValue: T): T;
ref() {
if (arguments.length < 2) {
// although ref creates actually a modifier descriptor, the type of the resultig properties
// of the object is `T` in the end, when the descriptors are interpreted
return createModifierDescriptor(referenceEnhancer, arguments[0]... | Typescript |
const columnName = args[2].toLowerCase() as keyof typeof columns;
if (!Object.keys(columns).includes(columnName)) {
await message.channel.send('The specified config key is not on the column whitelist.');
return;
}
type JSObjectType = ColumnJSObjectType<typeof columnName>;
tr... | Typescript |
he|VM Strong) Roots)|"
+ "CWR: (<total>|(CLDG|Code Cache|Thread|VM Strong|VM Weak) Roots)|Code Roots|Exception Caches|"
+ "DSM: (<total>|Parallel Mark|(CLDG|Thread|VM Strong) Roots)|"
+ "DU: (<total>|(CLDG|Code Cache|Thread|VM Strong|VM Weak) Roots)|E: (<total... | Java |
(PhET Interactive Simulations)"
},
"TAMBO/bright-marimba.mp3": {
"text": [
"Copyright 2002-2018 University of Colorado Boulder"
],
"projectURL": "http://phet.colorado.edu",
"license": "contact phethelp@colorado.edu",
"notes": "created by Mike Winters (Georgia Tech) for use... | HTML |
TkxBHBzdGNhdAN0ZWNofHdpcmVsZXNzBHB0A3N0b3J5cGFnZQR0ZXN0Aw--;_ylv=3" title=""><span>Education</span></a><!-- teaser= --></li><li class=""><a href="/religion/;_ylt=AqmTzGyu3oXQWzqvsJovusQ6cOF_;_ylu=X3oDMTBzMG5paWs0BHBvcwMzBHNlYwNNZWRpYU5hdmlnYXRpb25fVVM-;_ylg=X3oDMTM2MDF2ZWxiBGludGwDdXMEbGFuZwNlbi11cwRwc3RhaWQDN2YyNTIzMG... | HTML |
# 输入银行名称,返回银行代码
# ---
# 2018.12.18 create by David Yi, add in v1.1.4, github issue #159
# 2019.1.5 edit, v1.1.6 github issue #188, 修改函数名称
@classmethod
@lru_cache()
def get_bank_info(cls, bankname):
"""
银行名称,返回银行代码;
:param:
* bankname: (string) 要查询的银行 名称... | Python |
_list_address_description_cleanup; //{ +0x0050 } | .EvtChildListAddressDescriptionCleanup
_m12 pfn_wdf_child_list_device_reenumerated_t evt_child_list_device_reenumerated; //{ +0x0058 } | .EvtChildListDeviceReenumerated
... | C++ |
helpful" class="two">Somewhat helpful</a></li>
<li><a href="HT2191.html#" onclick="ACRating.send(3); return false;" title="Helpful" class="three">Helpful</a></li>
<li><a href="HT2191.html#" onclick="ACRating.send(4); return false;" title="Very helpful" class="four">Very helpful</a></li>
<li><a href="HT2191.html#... | HTML |
/* 2327F8 8021FE58 8CC40008 */ lw $a0, 8($a2)
/* 2327FC 8021FE5C 04830008 */ bgezl $a0, .L8021FE80_ovl18
/* 232800 8021FE60 00822821 */ addu $a1, $a0, $v0
/* 232804 8021FE64 5C400006 */ bgtzl $v0, .L8021FE80_ovl18
/* 232808 8021FE68 00822821 */ addu $a1, $a0, $v0
/* 23280C 8021FE6C 8CC80008 */ lw $t0, 8... | Assembly |
T_LINE13 = "/길드해체, /gdisband - 길드 해체하기";
GUILD_HELP_TEXT_LINE2 = "/길드정보, /ginfo - 길드에 대한 기본적인 정보";
GUILD_HELP_TEXT_LINE3 = "/g <할말> - 모든 길드원에게 메시지 보내기";
GUILD_HELP_TEXT_LINE4 = "/o <할말> - 모든 길드관리자에게 메시지 보내기";
GUILD_HELP_TEXT_LINE5 = "/길드초대, /ginvite <플레이어> - 길드에 해당 플레이어 초대하기";
GUILD_HELP_TEXT_LINE6 = "/길드추방, /gremove <... | Lua |
s (%edx), %xmm1, %xmm1 {%k2}
// CHECK: encoding: [0x62,0xf1,0x76,0x0a,0x51,0x0a]
vsqrtss (%edx), %xmm1, %xmm1 {%k2}
// CHECK: vsqrtss (%edx), %xmm1, %xmm1 {%k2} {z}
// CHECK: encoding: [0x62,0xf1,0x76,0x8a,0x51,0x0a]
vsqrtss (%edx), %xmm1, %xmm1 {%k2} {z}
// CHECK: vsqrtss {rd-sae}, %xmm1, %xmm1, %xmm1
// CHECK: enco... | Assembly |
SETTABLEKS R7 R24 K14 ["Stylizer"]
CALL R23 1 1
MOVE R24 R22
CALL R23 1 1
MOVE R22 R23
GETTABLEKS R23 R2 K48 ["connec | Assembly |
ES_DECL(name, 1, func, parms) \
CREATE_SHADOW_MAP_IMAGE_RES_DECL(name, 2, func, parms) \
CREATE_SHADOW_MAP_IMAGE_RES_DECL(name, 3, func, parms) \
CREATE_SHADOW_MAP_IMAGE_RES_DECL(name, 4, func, parms)
#define CREATE_SHADOW_MAP_IMAGE_RES_INVOKE(varname, res, name) \
varname[res] = ImageFromFunction( va( "_shadowMap_" #... | C++ |
E_I save %r16, 0x0001, %r31
.word 0xb5e461be ! 8773: SAVE_I save %r17, 0x0001, %r26
.word 0xb9e56148 ! 8775: SAVE_I save %r21, 0x0001, %r28
.word 0xb3510000 ! 8776: RDPR_TICK <illegal instruction>
hwintr_0_411:
!$EV trig_pc_d(0,expr(@VA(.MAIN.hwintr_0_411), 16, 16)) -> intp(0, 0, e)
.word 0xb7e4213f ! 8779: SAV... | Assembly |
v1 = ((DCELL *)attributes[i].inrast)[col1];
decision_vol[row1][col1][i] = (double)(v1);
}
}
}
G_message("run algorithm");
build_flow_matrix(
nrows, ncols, ncriteria, weight_vect, decision_vol, positive_flow_vol,
negative_flow_vol); /*scan all DCELL, make ... | C |
ata al coloso volantón Gorishi."}},
[24693] = {"El Pilote Musgoso", nil, {"Preséntate ante Gremix en el Pilote Musgoso."}},
[24694] = {"El Bancal del Creador", nil, {"Habla con el Examinador de Un'Goro para teletransportarte a El Bancal del Creador y, después, habla con Nablya."}},
[24695] = {"Observar siempre desde ar... | Lua |
long? filesizeBytes = null;
//if (videoFormatObject == null)
//{
// formatId = videoSingleFormat?.FormatID ?? "";
// formatNote = videoSingleFormat?.FormatNote ?? "";
// resolution = videoSingleFormat?.Resolution ?? "";
// vcodec = v... | C# |
y.FullName,
"A CA certificate & key file have been generated in the '/tmp/ca/' directory",
"create-ca", "-out", "/tmp/ca"
);
var nodeCertificatePath = Path.Combine(certificateDirectory.FullName, "node");
if (!Directory.Exists(nodeCertificatePath))
await GenerateCertificates(
certificateDirectory.... | C# |
4 563
Q 2800 747 2484 825
L 2631 1266
z
"/></defs><use xlink:href=#ArialMT-51 /></g></g></g></g></g><defs><clippath id=p20cbdf4e65><rect x=7.2 y=7.2 width=390.6 height=110.88 /></clippath></defs></svg></div></div></div><div role=tabpanel class="tab-pane col-sm-12" id=-6846200255718029617bottom--6846200255718029617wo... | HTML |
None, operand4: None, lock: false, rounding_mode: None, merge_mode: None, sae: false, mask: None, broadcast: None }, &[218, 143, 193, 79], OperandSize::Word)
}
#[test]
fn fimul_2() {
run_test(&Instruction { mnemonic: Mnemonic::FIMUL, operand1: Some(IndirectScaledIndexed(EBX, EBX, Four, Some(OperandSize::Dword), N... | Rust |
e related to the column: USER_NAME
* @param userName the USER_NAME value
*/
public void setUserName (java.lang.String userName) {
this.userName = userName;
}
public int compareTo (Object obj) {
if (obj.hashCode() > hashCode()) return 1;
else if (obj.hashCode() < hashCode()) return -1;
else return ... | Java |
structLength >>= 8
}
pos = lengthBytes + 1
}
// Encoding nonce
if a.Nonce < 128 && a.Nonce != 0 {
buffer[pos] = byte(a.Nonce)
} else {
buffer[pos] = byte(128 + nonceBytes)
var nonce = a.Nonce
for i := nonceBytes; i > 0; i-- {
buffer[pos+i] = byte(nonce)
nonce >>= 8
}
}
pos += 1 + nonceBytes... | Go |
al_coordinates(vehicle.position)[0]
>= vehicle.lane.length - 4 * vehicle.LENGTH
)
self.road.vehicles = [
vehicle
for vehicle in self.road.vehicles
if vehicle in self.controlled_vehicles
or not (is_leaving(vehicle) or vehicle.route is None)
... | Python |
* Copyright (c) 2025, IMT Atlantique. All rights reserved.
*
* Licensed under the BSD 4-clause license.
*
* See LICENSE file in the project root for full license information.
*/
package org.chocosolver.solver.search.restart;
/**
* A Luby cutoff strategy.
* <p>
* Based on:
* <br/>
* "Optimal Speedup of Las V... | Java |
PolygonGeometry({
polygonHierarchy : polygonHierarchy
}),
attributes: {
color: Cesium.ColorGeometryInstanceAttribute.fromColor(color)
},
id : 'polygon 3'
})
}));
}
function viewOverlappingPolygons() {
viewer.camera.lookAt(n... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.