content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
nager(Object<ffi::SoupAuthManager, ffi::SoupAuthManagerClass>);
match fn {
type_ => || ffi::soup_auth_manager_get_type(),
}
}
pub const NONE_AUTH_MANAGER: Option<&AuthManager> = None;
pub trait AuthManagerExt: 'static {
#[cfg(any(feature = "v2_58", feature = "dox"))]
#[cfg_attr(feature = "dox... | Rust |
t
loss *= valid_weight
if (valid_weight > 0).float().sum() > 0:
if self.cfg.LOSS_REDUCTION['mm']['refs-reg'] == 'mean':
loss = loss.sum() / (valid_weight > 0).float().sum()
elif self.cfg.LOSS_REDUCTION['mm']['refs-reg'] == 'sum':
loss = loss.sum()
... | Python |
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <CloudKitDaemon/CKDPCSData.h>
@class CKShareID, NSData, NSString;
__attribute__((visibility("hidden")))
@interface CKDSharePCSData : CKDPCSData
{
struct _OpaquePCSShar... | C |
6"],
["@types/connect", "npm:3.4.34"],
["@types/express", "npm:4.17.12"],
["@types/keygrip", "npm:1.0.2"],
["@types/node", "npm:15.12.5"]
],
"linkType": "HARD",
}]
]],
["@types/cors", [
["npm:2.8.10", {
"packageLoc... | JavaScript |
html?link=https://appleid.cdn-apple.com/20131211/global/scripts/lib/iepngfix.htc)}.myappleid .btn{cursor:pointer;font-weight:normal;height:auto}.myappleid .btn.createid{display:inline-block;height:53px;padding-right:11px;background:transparent url(myappleid_createid_right_20091125.png) 100% 0 no-repeat}.myappleid .btn.... | CSS |
using System.Collections.Generic;
using System.Linq;
using BTD_Mod_Helper.Api.Attributes;
using BTD_Mod_Helper.Api.Commands.Open;
using BTD_Mod_Helper.Api.Internal;
using BTD_Mod_Helper.UI.Menus;
namespace BTD_Mod_Helper.Api.Commands;
internal class OpenScreenSettingsCommand : ModCommand<OpenScreenCommand>
{
publ... | C# |
()
runnerCtrl.runners = append(runnerCtrl.runners, testRunnerID)
runnerCtrl.runnersMu.Unlock()
t.Logf("Testing pre-warm distribution with large GPUs (%d GB each)", gpuMemoryBytes/(1024*1024*1024))
// Trigger real pre-warming
scheduler.PrewarmNewRunner(testRunnerID)
t.Logf("Waiting for slot reconciliation with f... | Go |
formData.append("rutaImagenActual", items.imagen);
xhr.onreadystatechange = function(){
if(xhr.readyState == 4){
if(xhr.status == 200){
resolver(JSON.parse(xhr.response))
}else{
rechazar(xhr.response)
}
... | Typescript |
guageNames).find((x) => client.GameData.utilData.languageNames[x] === languageName)
if (languageMatchByName) {
newLanguage = languageMatchByName
}
if (Object.keys(client.config.general.availableLanguages).includes(newLanguage)) {
language = newLanguage
}
if ((msg.channel.type === 'GUILD_TEXT' || msg.ch... | JavaScript |
usuários.
* @apiSuccess {Boolean} usuario.isActive Usuário esta ou não ativo.
* @apiSuccess {String} usuario._id ID do usuário.
* @apiSuccess {String} usuario.email Email do usuário.
* @apiSuccess {String} usuario.password Password do usuário.
* @apiSuccess {String} usuario.username ... | Typescript |
</td>
<td valign="top">
This is a float which determines the chance that a packet will be duplicated at the destination. 0 means no packets will be duplicated, 0.5f means that on average, every other packet will be duplicated.
</td>
</tr>
<tr>
<td colspan="3">
&n... | HTML |
: "rigid",
};
expect(
parseAndCastQueryParams(
queryStringParametersWithoutVehicleSize,
numericParameters
).vehicleAxles
).toEqual(null);
});
});
context(
"if queryStringParameters.vehicleAxles is a string representing a number",
() => {
it("... | Typescript |
RemovedLeft);
const xorTopBottom = (isWall(place.top) || isWall(place.bottom)) &&
!(isWall(place.top) && isWall(place.bottom));
return isWall(place) && (isTop || isBottom) && xorTopBottom;
}
return false;
}
export function hasEnoughSpace(chart: FiniteChart, roomSize: Dimensions, p... | Typescript |
3HR4
+vg1YFkCExh8vPtNsCBtQ7tgMHpnM1zFmdH4LTlSc/uMqpclXHLZCB6rTjzjgTGfA6b7wP4piFXa
hNVQA7bihKOmNqoROgHhGEvWRGizPflTdISzRpFGlgC3gCy24eMQ4tui5yiPAZZiFj4A4xylNoEY
okxSdsARo27mHbrjWr42U8U+dY+GaSlYU7Wcu2+fXMUY7N0v4ZjJ/L7fCg0=
-----END CERTIFICATE-----
]],
-- "S-TRUST Authentication and Encryption Root CA 2005 PN"
[[-----BEG... | Lua |
英国王の宮殿)'],
['Buckinghamshire', 'バッキンガムシャー州(英国南部の州)'],
['buckish', '性急な,がむしゃらな,威勢のよい'],
['buckle', '締め金,バックル,(靴などの)飾りバックル / (道路などの)膨れあがり,凸面 / 《副詞[句]を伴って》…\'を\'バックルで留める(締める) / (熱・圧力などで)…\'を\'曲げる / (熱・圧力などのために)曲がる,ゆがむ'],
['buckler', '(手に持つにぎり,または腕を通すひものついた)丸盾(たて) / 《比喩(ひゆ)的に》防護となる物'],
['buckram', 'バックラム(洋服の衿芯(えり... | Typescript |
th.log10(d)
except OverflowError:
raise RuntimeError('AutoLocator illegal data interval range')
fld = math.floor(ld)
base = 10 ** fld
#if ld==fld: base = 10**(fld-1)
#else: base = 10**fld
if d >= 5 * base:
... | Python |
4)
}};
(@op => $op:ident, $inputs:expr, $arg1:expr, $arg2:expr, $arg3:expr, $arg4:expr, $arg5:expr) => {{
let (arg1, arg2, arg3, arg4, arg5) = *$inputs;
$op(arg1, arg2, arg3, arg4, arg5)
}};
(@op => $op:ident, $inputs:expr, $arg1:expr, $arg2:expr, $arg3:expr, $arg4:expr, $arg5:expr, $arg... | Rust |
<ITicketCreatedEvent> {
subject: EventSubjectsEnum.TicketCreated = EventSubjectsEnum.TicketCreated;
queueGroupName = queueGroupName;
// onMessage 可以改成 processIncomingMessage
// 透過base Listener所使用的 IEvent 的規定,傳入 onMessage method的 data 參數型別為 any
// 所以也可以使用 ITicketCreatedEvent 作為 data 型別的 interface
// 藉此產生符合... | Typescript |
'a> {
pub fn new(typeface: &'a Typeface, request: &TypefaceRequest) -> TypefaceAndLangScore<'a> {
let request_languages: Vec<LocaleId> =
match request.query.as_ref().and_then(|query| query.languages.as_ref()) {
Some(languages) => languages.iter().map(LocaleId::clone).collect(),
... | Rust |
\x3c/a> span > button.some_class # This is equivalent\n<a href=\"#Click\" class=\"name\">Click\x3c/a> css=span > button.some_class # to this.\n\n# // or .. leads to xpath selector strategy\n<a href=\"#Click\" class=\"name\">Click\x3c/a> //span/button[@class=\"some_class\"]\n<a href=\"#Click\" class... | HTML |
:</c-> <c- mf>1</c-><c- p>,</c->
automationRate<c- o>:</c-> <c- u>"k-rate"</c->
<c- p>}];</c->
<c- p>}</c->
process<c- p>(</c->inputs<c- p>,</c-> outputs<c- p>,</c-> parameters<c- p>)</c-> <c- p>{</c->
<c- c1>// Get the first input and output.</c->
<c- a>const</c-> input <c- o>=</c-> inputs<c- p>... | HTML |
*2025-05-14**|**FaceShield: Explainable Face Anti-Spoofing with Multimodal Large Language Models**|Hongyang Wang et.al.|[2505.09415](http://arxiv.org/abs/2505.09415)|null|
|**2025-05-14**|**Zero-Shot Multi-modal Large Language Model v.s. Supervised Deep Learning: A Comparative Study on CT-Based Intracranial Hemorrhage ... | Markdown |
Milliseconds, null);
_profiler.ScalarExecuted(command, context);
}
public void ScalarExecuting(DbCommand command,
DbCommandInterceptionContext<object> interceptionContext)
{
var context = EFProfilerContextProvider.GetLoggedDbCommand(co... | C# |
/ Height);
GrContext.SetRenderTarget(g_pSceneColorBuffer->GetRTV());
GrContext.SetViewportAndScissor(0, 0, Width, Height);
GrContext.Draw(3);
}
}
else
{
Context.SetPipelineState(s_CameraVelocityCS[UseLinearZ ? 1 : 0]);
Context.SetDynamicDescriptor... | C++ |
(modelState != null && modelState.Value != null)
{
value = modelState.Value.AttemptedValue;
}
else if (modelMetadata.Model != null)
{
value = modelMetadata.Model.ToString();
}
else
{
value... | C# |
yMainView();
}
void dispose() {
// 注销prompt替换方法
_promptController.unregisterPromptMethods();
}
}
import 'package:flutter/material.dart';
import '../base_plugin.dart';
import '../../core/plugin_manager.dart';
import '../../core/config_manager.dart';
import '../../core/event/event_manager.dart';
import 'sc... | Dart |
_eq!(result, expected);
}
}
<filename>src/main.rs
use moniker::{Var, Scope, Binder, FreeVar, Ignore};
use termcolor::{ColorChoice, StandardStream};
use std::{io::Result, rc::Rc};
use some_embedded_scripting_language::{expr::Expr, cont_expr::{KExpr, self}, literals::Literal};
pub fn main() -> Result<()> {
expr... | Rust |
xtRequest\0323.google.cloud.lang"
+ "uage.v1beta2.ModerateTextResponse\"5\332A\010do"
+ "cument\202\323\344\223\002$\"\037/v1beta2/documents:moderateText:\001*\022\331\001\n"
+ "\014AnnotateText\0222.google.cloud.language.v1beta2.AnnotateTextRequest\0323."
+ "google.cloud.languag... | Java |
ecbqqtE5I2X4qlOREf/JIDgnQSEuqAl/Ss1KlsvgfAaZUOqjOXn11SSqxFOCFHEQ0x0weUgJSAoAEEVIL4i6BVOsgIwksWflNVroiyVM+lxJIVQnk5oz0xfybVJV/tHylUvhZtDKQ70kJkAQkiJB6ICUgJSAlICUgJZAACZAxKke+EiB4WaSUgJSAKxKQIMIVMcpMpASkBKQEpASkBKQEpASkBKQEbh0JSBBx69S15FRKQEpASkBKQEpASkBKQEpASsAVCUgQ4YoYZSZSAlICUgJSAlICUgJSAlICUgK3jgT+f9rmveYwd5D+AAAAAEl... | HTML |
ency();
L.remove(Z);
EXPECT_EQ(L.size(), 1U);
EXPECT_EQ(L.front(), X);
EXPECT_EQ(L.back(), X);
L.checkConsistency();
L.pop_front();
EXPECT_TRUE(L.empty());
L.push_back(X);
L.insert(Y, X);
EXPECT_EQ(L.size(), 2U);
EXPECT_EQ(L.front(), Y);
EXPECT_EQ(L.back(), X);
L.checkConsistency();
L.remov... | C++ |
e: normal;
font-display: swap;
}
@font-face {
font-family: 'Twkeverett Mono';
src: url('../../static/fonts/TWKEverettMono-Light.ttf') format('truetype');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Twkeverett Mono';
src: url('../../stati... | CSS |
field_233207_f_.add("minecraft:zombie_villager");
field_233207_f_.add("minecraft:phantom");
field_233207_f_.add("minecraft:ravager");
field_233207_f_.add("minecraft:piglin");
field_233208_g_.add("minecraft:armor_stand");
field_233209_h_.add("minecraft:arrow");
field_23... | Java |
<script> tag.
setTimeout(() => {
if (!scriptLoaded) {
console.warn(
'Failed to load app from service worker. Falling back to plain <script> tag.',
);
loadMainDartJs();
}
}, 4000);
});
} else {
// Service workers not s... | HTML |
import {
action,
makeAutoObservable,
autorun,
when,
reaction,
runInAction,
} from 'mobx'
import { createContext } from 'react'
function CounterStoreFunction() {
// makeAutoObservable похож на makeObservable,
// но он определяет все свойства объекта
// по умолчанию (observable или computed иди action)... | Typescript |
d
end
-- Flight log - Console - 0xcdef
f.console_text = ProtoField.string ("dji_p3_flyrec.console_text", "Console", base.ASCII)
local function flightrec_console_dissector(payload, pinfo, subtree)
local offset = 0
local rec_console_text = payload(offset, payload:len() - offset)
subtree:add (f.console_tex... | Lua |
持仓"""
THOST_FTDC_PSD_History = 50
"""历史持仓"""
class TThostFtdcPositionDateTypeType(Enum):
"""持仓日期类型类型"""
THOST_FTDC_PDT_UseHistory = 49
"""使用历史持仓"""
THOST_FTDC_PDT_NoUseHistory = 50
"""不使用历史持仓"""
class TThostFtdcTradingRoleType(Enum):
"""交易角色类型"""
THOST_F... | Python |
omFile
{
#region IThumbnailFromFile Members
public Bitmap ConstructBitmap(System.IO.FileInfo info, int sideSize)
{
return new Bitmap(sideSize, sideSize);
}
#endregion
}
public class ItemThumbnailProviderTestSample : ThumbnailProvider, IThumbnailFromShe... | C# |
_pymod_exec_edit_trees},
{0, NULL}
};
#endif
static struct PyModuleDef __pyx_moduledef = {
PyModuleDef_HEAD_INIT,
"edit_trees",
0, /* m_doc */
#if CYTHON_PEP489_MULTI_PHASE_INIT
0, /* m_size */
#else
-1, /* m_size */
#endif
__pyx_methods /* m_methods */,
#if CYTHON_PEP489_MULTI_PHASE_... | C++ |
LPCSTR motd)
{
if (mOuter == NULL)
{
WWDEBUG_SAY(("WOLERROR: Session not initialized\n"));
WWASSERT(mOuter && "Session not initialized");
return S_OK;
}
const char* errorText = NULL;
switch (result)
{
// Connection successful
case S_OK:
{
WWDEBUG_SAY(("WOL: Connected to server.\n"));
mOu... | C++ |
eemap.draw(gl.series);
break;
case 'pie':
case 'donut':
case 'polarArea':
elGraph = this.ctx.pie.draw(gl.series);
break;
case 'radialBar':
elGraph = radialBar.draw(gl.series);
break;
case... | JavaScript |
+5974, U+599e, U+59a5, U+59ec, U+5b66, U+5b99, U+5b9d, U+5c2c, U+5c48, U+5c65, U+5cfd, U+5d0e, U+5dba, U+5de2, U+5e06, U+5e15, U+5ec1, U+5ed6, U+5f00, U+5f4c, U+5f65, U+6055, U+609f, U+60b6, U+6241, U+624e, U+626f, U+6291, U+62cc, U+62d3, U+62d8, U+62da, U+62fe, U+6349, U+6367, U+63ea, U+6454, U+64a4, U+64b2, U+64bc, U... | CSS |
()
if (pc[0] >= this.functions[pc[1]].length) {
break
}
const operation = this.functions[pc[1]][pc[0]]
const f = this.table[operation.opId]
if (f === undefined) {
throw new Error(`unknown operation ${operation.constructor.name}`)
} else {
// console.log(`${pc... | Typescript |
ss */pre{line-height:125%;}span.linenos{color:inherit; background-color:transparent; padding-left:5px; padding-right:20px;}.pdoc-code .hll{background-color:#ffffcc}.pdoc-code{background:#f8f8f8;}.pdoc-code .c{color:#3D7B7B; font-style:italic}.pdoc-code .err{border:1px solid #FF0000}.pdoc-code .k{color:#008000; font-wei... | HTML |
is_using_registry = true;
g_registry_port = initParams.registryPort;
g_tseer_client_key = initParams.serviceKey;
g_reserved_value = initParams.reserved;
g_registry_dns_conf_file = initParams.dnsFile;
//判断是使用域名方式还是直接指定IP方式
//取domainName字段进行判断,如果符合 xx.xx.xx.xx|yy.yy.yy.yy ... | C++ |
elegant way to record messages on a server. On the client side, the JavaScript will look something like this:</p>
<pre><code>window.onerror = function(message, url, linenumber) {
if (window.XMLHttpRequest) {
var xhr = new XMLHttpRequest();
var scripturl = "http://yourdomain.example.com/log";
... | HTML |
)).isNot
}
fact "short circuit invocation works in closures within assertions"{
'''
describe "Test"{
fact assert list(null, "").filter [ it != null && it.length > 2 ].empty
}
'''.executesSuccessfully
}
fact "throw checks expected ex... | HTML |
var(--glide-font-family);
--glide-status-font-size: var(--glide-small-font-size);
--glide-status-bg: var(--glide-bg);
--glide-status-fg: var(--glide-fg);
--glide-status-border: 1px lightgray solid;
--glide-status-border-radius: 2px;
--glide-mode-hint: #f3a;
--glide-mode-normal: #a89984;
--glide-mode-in... | CSS |
numerous helper functions that are used in the paper but not available
//! in Rust (or at least in core). Our version is additionally complicated by the need to handle
//! overflow and underflow and the desire to handle subnormal numbers. Bellerophon and
//! Algorithm R have trouble with overflow, subnormals, and unde... | Rust |
#endregion
#region IAstNodeInit Members
public void Init(ParsingContext context, ParseTreeNode parseNode)
{
var _GraphQL = context.Parser.Language.Grammar;
if (HasChildNodes(parseNode))
{
var _Terminal = parseNode.ChildNodes[0].Token... | C# |
)
//****************************************************************************80
//
// Purpose:
//
// LP_VALUES_TEST tests LP_VALUES.
//
// Licensing:
//
// This code is distributed under the GNU LGPL license.
//
// Modified:
//
// 31 October 2014
//
// Author:
//
// John Burkardt
//
{
int n_data;... | C++ |
qakqSOa_06YdJCtqSFM{align-items:center;display:flex;justify-content:center;margin-bottom:50px}.zp25CN3EDtkBO0TEzDW_ .Iy9RShOHXbpScyCIqdkk .NeXHjQmizMoCnHJ59BFW{align-items:center;border-top:1px solid #dee2e6;display:flex;flex-direction:column;gap:8px;justify-content:space-around;margin:0 16px;padding:16px;width:90%}.zp... | HTML |
eSize: number): [number, number] {
const scale = getScale(z, tileSize);
return [(x / scale) * TILE_SIZE, (y / scale) * TILE_SIZE];
}
export function tileToBoundingBox(
viewport: Viewport,
x: number,
y: number,
z: number,
tileSize: number = TILE_SIZE
): TileBoundingBox {
if (viewport.isGeospatial) {
... | Typescript |
,
"SpAttack": 100,
"SpDefense": 110,
"Speed": 30
}
},
{
"img": "../assets/pokemon.json-master/images/200.png",
"name": {
"english": "Misdreavus",
"japanese": "ムウマ",
"chinese": "梦妖"... | Typescript |
colors
// scss-docs-start utilities-border-colors
$utilities-border: map-merge(
$utilities-colors,
(
"white": to-rgb($white)
)
) !default;
$utilities-border-colors: map-loop($utilities-border, rgba-css-var, "$key", "border") !default;
$utilities-border-subtle: (
"primary-subtle": var(--#{$prefix}primary-b... | CSS |
.42l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 1.1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"></path>
</svg>
</a>
</div>
<p>Partnering with the Internet Archive’s Wayback Machine to power the next generation of Always Online accomplishes all of these goals. The I... | HTML |
�信支付双寡头格局(占移动支付市场90%以上)。
- 拼多多以社交电商切入下沉市场,通过百亿补贴快速崛起,倒逼传统电商平台跟进低价策略。
3. **技术垄断与数据控制**
- BAT(百度、阿里、腾讯)通过收购或打压新兴企业巩固地位。例如,腾讯投资京东、美团,阿里收购饿了么,形成生态闭环。
- 数据垄断问题凸显:阿里通过电商数据控制供应链,腾讯通过社交数据主导信息流推荐,谷歌、亚马逊等国际巨头亦通过算法垄断搜索和电商市场。
---
#### 三、**垄断后果与监管反制(2020年代后)**
1. **市场失衡与社会影响**
- 低价补贴导致传统企业倒闭、就业萎缩,消费者长期依赖垄断平台后被迫接受... | Markdown |
ന്താണെന്ന് അദ്ദേഹത്തോട് ചോദിച്ച് നോക്കുക. തീര്ച്ചയായും എന്റെ രക്ഷിതാവ് അവരുടെ തന്ത്രത്തെപ്പറ്റി നന്നായി അറിയുന്നവനാകുന്നു."
},
{
"surah_number": 12,
"verse_number": 51,
"content":
"(ആ സ്ത്രീകളെ വിളിച്ചുവരുത്തിയിട്ട്) അദ്ദേഹം (രാജാവ്) ചോദിച്ചു: യൂസുഫിനെ വശീകരിക്കുവാന് നിങ്ങള് ശ്രമം നടത്തിയപ... | Dart |
t_name(layer.cross_attention->value.bias, "Qformer.bert.crossattention.self.value.bias");
ggml_set_name(layer.cross_attention->dense.weight, "Qformer.bert.crossattention.output.dense.weight");
ggml_set_name(layer.cross_attention->dense.bias, "Qformer.bert.crossattention.output.dense.bias... | C++ |
>
<li><p>Cleaned-up some internal code</p></li>
<li><p>ECC Live! UPD
v2.0.0.3</p></li>
<li><p>Changed Unrar path to 'ecc-core\thirdparty\unrar'</p></li>
<li><p>ECC Script
v1.1.0.0</p></li>
<li>Turbo mode!, by using another function script validation speed has been increased by 50 times!!
v1.0.0.3</li>
<li>Removed Autoi... | HTML |
回 `STATE_INVALID`。
- 如果该帧应被忽略,则返回 `STATE_IGNORE`。
- 确保在失败路径中释放已分配的内存。
- 有关详细示例,请参阅 `http_parse_frame`、`redis_parse_frame` 等。
#### 3.7. 实现请求-响应匹配 (`matcher/`)
- **`new_protocol_matcher.h`**: 声明 `void new_protocol_match_frames(struct frame_buf_s *req_frames, struct frame_buf_s *resp_frames, struct record_buf_s *r... | Markdown |
expected %s", obj.Md5Hash, md5Hash)
}
}
obj.Md5Hash = md5Hash
obj.Etag = strconv.Quote(md5Hash)
err := g.locks.Run(ctx, lockName(bucket, filename), func(ctx context.Context) error {
// Find the existing file / meta.
existing, err := g.store.GetMeta(baseUrl, bucket, filename)
if err != nil {
return fmt.... | Go |
PLAY)
val taskSecondDisplay = setUpFreeformTask(displayId = SECOND_DISPLAY)
controller.moveToFullscreen(taskDefaultDisplay.taskId, transitionSource = UNKNOWN)
with(getLatestExitDesktopWct()) {
assertThat(changes.keys).contains(taskDefaultDisplay.token.asBinder())
assertThat(changes.keys).doesN... | Kotlin |
return failure();
auto reshapeInputType =
llvm::cast<RankedTensorType>(lowerTensorValue.getType());
auto reshapeOutputType = RankedTensorType::get(
ArrayRef<int64_t>(reshapeOutputShape), reshapeInputType.getElementType());
auto reshapeLower = rewriter.create<tosa::ReshapeOp>(
loc, reshape... | C++ |
ction d3_layout_packIntersects(a, b) {
var dx = b.x - a.x,
dy = b.y - a.y,
dr = a.r + b.r;
return dr * dr - dx * dx - dy * dy > .001; // within epsilon
}
function d3_layout_packCircle(nodes) {
var xMin = Infinity,
xMax = -Infinity,
yMin = Infinity,
yMax = -Infinity,
n = nodes.... | HTML |
in the above view.
```XML
<heading>Flag Status</heading> <prop>http://schemas.microsoft.com/mapi/proptag/0x10900003</prop> <type>i4</type> <bitmap>1</bitmap> <style>padding-left:3px;text-align:center;padding-left:3px</style> </column> <column> <format>boolicon</format> <heading>Attachment</... | Markdown |
rcX, int srcY, int srcWidth, int srcHeight, int destX, int destY, int destWidth, int destHeight, boolean simple, BITMAP bm, int imgWidth, int imgHeight) {
int srcHdc = OS.CreateCompatibleDC(handle);
int oldSrcBitmap = OS.SelectObject(srcHdc, srcImage.handle);
int rop2 = 0;
if (!OS.IsWinCE) {
rop2 = OS.GetROP2(han... | Java |
from django.apps import AppConfig
from django.db.models.signals import post_delete
class ThumbnailAppConfig(AppConfig):
name = "saleor.thumbnail"
def ready(self):
from .models import Thumbnail
from .signals import delete_thumbnail_image
post_delete.connect(
delete_thumbna... | Python |
//
// Copyright 2017 gRPC authors.
//
// 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 agreed t... | C |
<span class="u-screen-reader-text">Arabe</span>
</a>
<a class="main-footer__lang ajax" href="/content/zhong_wen">
中文 <span class="u-screen-reader-text">Chinois</span>
</a>
</div> </div>
</div>
</footer>
<section class="player">
<div class="player-controls">
<audio id="main-player" src="" preload... | HTML |
t.is(ipow(6, 179), 0);
t.is(ipow(7, 190), 0);
});
test("idiv", t => {
t.is(idiv(0, 5), 0);
t.is(idiv(4, 5), 0);
t.is(idiv(5, 5), 1);
t.is(idiv(6, 5), 1);
t.is(idiv(24, 5), 4);
t.is(idiv(-31, 5), -6);
t.is(idiv(5.1, 5), 1);
t.is(idiv(-3, 5), 0);
t.is(idiv(-6, 5), -1);
t.... | Typescript |
local W = unpack((select(2, ...))) ---@type WindTools
W.Changelog[256] = {
RELEASE_DATE = "2022/10/27",
IMPORTANT = {
["zhCN"] = {
"代码整理优化.",
},
["zhTW"] = {
"代碼整理優化.",
},
["enUS"] = {
"Code optimization.",
},
["koKR"] = {
"Code optimization.",
},
},
NEW = {
["zhCN"] = {},
["zhTW"] ... | Lua |
干部多次对他进行帮助教育,直至现在他仍然负隅顽抗,实在令人气愤。大家一致要求召开大会,面对面地对他进行揭发、批判、帮助。
</p>
<h3>
会上,着重就白辛夫为林贼“选妃子”、“挑女婿”的错误和罪行进行了揭发批判。白的态度仍然极不老实,只谈现象,不谈实质和要害,甚至狡猾抵赖,经过大家摆事实,讲道理,有力地进行揭发批判,他不得不承认以下几个事实:
</h3>
<p>
1、对胡敏等人殷勤接待。他说,“一九六八年七月胡敏来前一两天,给我打电话说,她要来西安,选几个女工作人员,我就派人给她准备了房间,铺的、盖的、用的全是新买的”,“从小车班给固定了一辆车子,并给司机规定,要随叫随到”。第二次吴瑞云来、第三次王子... | HTML |
_usage_limit'
label={t('总使用次数限制')}
placeholder={t('留空表示不限制')}
min={0}
step={1}
extraText={t('限制令牌总使用次数,0或留空表示不限制')}
style={{ width: '100%' }}
/>
</Col... | JavaScript |
-- Quest Name: Treskar's Secret Mission
-- Quest for SK GM Treskar in Grobb
-- Updated faction hits, requirements. Also deleted Neriak era quests
-- Added new quest that is on live - that seems pretty odd....
-- items: 12190, 2308, 12199, 5020
function event_say(e)
local pfaction = e.other:GetFaction(e.self);
i... | Lua |
void refresh() {
if (mounted) setState(() {});
}
@override
Widget build(BuildContext context) {
return Shortcuts.manager(
manager: shortcutManager,
child: Actions(
actions: getActions(editorContext),
child: Focus(
focusNode: focusNode,
child: ShareEditorC... | Dart |
s(statsUpdateRunnable);
statsUpdateHandler.postDelayed(statsUpdateRunnable, STATS_UPDATE_INTERVAL);
}
}
}
public static DeviceStatusSettings deviceStatus = new ChameleonIO.DeviceStatusSettings();
/**
* Executes the passed command by sending the command to the devic... | Java |
ions .diff {
transition: opacity 0.5s;
}
.revisions.loading .diff {
opacity: 0.5;
filter: alpha(opacity=50); /* ie8 and earlier */
}
.revisions.diff-error .diff {
visibility: hidden;
}
.revisions-meta {
margin-top: 20px;
background-color: #fff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.... | CSS |
state.search_active = false;
state.active_action = "";
state.active_category_id = -1;
state.active_coach_id = -1;
},
activateSearch: function (state, activation_payload: SearchActivationPayload) {
state.search_active = true;
state.active_action = activation_payload.sea... | Typescript |
-put`命令上传本地文件到 OSS-HDFS 服务。
</br> 用例:`hdfs dfs -put <localfile> oss://<Bucket>.<Endpoint>/Test`
```shell
[root@emr-header-1 ~]# hdfs dfs -put /etc/hosts oss://dls-chenshi-test.cn-xxx.oss-dls.aliyuncs.com/Test/
[root@emr-header-1 ~]# hdfs dfs -ls oss://dls-chenshi-test.cn-xxx.oss-dls.aliyuncs.com/Test
Found 2 items
-r... | Markdown |
r.html#nodegroup-v1-spec-cloudinstances-priority) кастомного ресурса `NodeGroup` можно задавать порядок заказа узлов в кластере.
Например, можно сделать так, чтобы сначала заказывались узлы типа *spot-node*, а если они закончились — обычные узлы. Или чтобы при наличии ресурсов в облаке заказывались узлы большего размер... | Markdown |
'Access-Control-Allow-Credentials': true,
},
body: JSON.stringify({
error: 'Unknown',
}),
};
console.log({ event });
try {
/* Validate incoming params */
const { title, description, price, count } = JSON.parse(event.body);
if (
!title ||
!description ||
Number.i... | Typescript |
#8 @clear any potential overflow bits
rsbs r14, r14, r11, asr #8 @check if the result is the same when overflow bits are removed
eorne r11, r4, r14, asr #8 @clamp the result if it is out of bounds
orr r10, r10, r11, lsr #16 @combine the FIRST and THIRD samples
and r8, r5, r10, ror #24 @isolate the... | Assembly |
else {
document.getElementById("tracksAndZonesCheckboxes").style.display = "none";
tracksVisible(false);
zonesVisible(false);
}
initBooleanSetting("dnpOutline", false, "dnpOutlineCheckbox", dnpOutline);
initBooleanSetting("redrawOnDrag", config.redraw_on_drag, "dragCheckbox", setRedrawOnDrag);
init... | HTML |
(null, null, (`#${swiper.slides.eq(swiper.activeIndex).attr('data-hash')}` || ''));
} else {
const slide = swiper.slides.eq(swiper.activeIndex);
const hash = slide.attr('data-hash') || slide.attr('data-history');
document.location.hash = hash || '';
}
},
init() {
const swiper = this;
... | JavaScript |
aPtr = (btCollisionObject**)taskDesc.m_mainMemoryPtr;
int batchSize = taskDesc.m_sampleValue;
int dmaArraySize = batchSize*sizeof(void*);
if (batchSize>MAX_NUM_BODIES)
{
spu_printf("SPU Error: exceed number of bodies, see MAX_NUM_BODIES in SpuSampleTask.cpp\n");
break;
}
uint64_t ppuArrayAd... | C++ |
1,
'word2': word2,
},
);
}
Future<List<String>> analyseSimilarWords({
required String word,
required int number,
}) async {
final List<dynamic> result = await _channel.invokeMethod(
'analyseSimilarWords',
<String, dynamic>{
'word': word,
'number': number,... | Dart |
oud<pcl::PointXYZ>());
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_trgt(new pcl::PointCloud<pcl::PointXYZ>());
cloud_src->width = matches.size();
cloud_src->height = 1;
cloud_src->is_dense = false;
cloud_src->resize(cloud_src->width * cloud_src->height);
cloud_trgt->width... | C++ |
Helvetica,Arial,sans-serif}}[data-v-75a43c1f] h5{font-size:1.29412rem;line-height:1.18182;font-weight:600;letter-spacing:.01em;font-family:Helvetica Neue,Helvetica,Arial,sans-serif}@media only screen and (max-width:1068px){[data-v-75a43c1f] h5{font-size:1.17647rem;line-height:1.2;font-weight:600;letter-spacing:.011em;f... | CSS |
OVUPS_STORE));
e.enc_32_64(bound_store, rec_fstDisp32.opcodes(&MOVUPS_STORE));
// Load
let bound_load = load.bind(vector(ty, sse_vector_size)).bind(Any);
e.enc_32_64(bound_load.clone(), rec_fld.opcodes(&MOVUPS_LOAD));
e.enc_32_64(bound_load.clone(), rec_fldDisp8.opcodes(&MOVUPS_... | Rust |
queue
this.queueSource = QueueSource.fromJson(event['queueSource']);
// onQueueEnd();
break;
case 'screenAndroidAuto':
AndroidAuto androidAuto = AndroidAuto();
List<MediaItem> data = await androidAuto.getScreen(event['id']);
await AudioService.customAc... | Dart |
ID, name: test.WebsiteName }, test.Status === "Up" ? 1 : 0);
if (typeof test.Uptime === "number") {
this.statuscakeUptime.set({ website: test.WebsiteURL, testId: test.TestID, name: test.WebsiteName }, test.Uptime);
}
this.statuscakePaused.set({ website: test.WebsiteURL, testId:... | Typescript |
.....................................", "CLEAR": "......", "CLOSE": "......", "COMMENT_LABEL": "......", "CONNECT_TO_THE_INTERNET": "..................", "CONTINUE_WATCHING": "............", "DELETE": "......", "DELETE_ALL_DOWNLOADS_PROMPT": ".................................", "DELETE_FROM_DOWNLOADS": ".................. | HTML |
# If this is a bomb trigger, run once gas hits zero
elif self.bomb_trigger and will_run and self.gas_remaining == 0:
self.ran = True
# If this is a normal trigger and we still have gas remaining, run and
# decrement the gas
elif will_run and self.gas_remaining > 0:
... | Python |
function ZO_CombinationPromptManager_ShowEvolutionPrompt(baseCollectibleId, unlockedCollectibleId, acceptCallback, declineCallback)
local baseCollectibleData = ZO_COLLECTIBLE_DATA_MANAGER:GetCollectibleDataById(baseCollectibleId)
local baseCollectibleName = ZO_WHITE:Colorize(baseCollectibleData:GetName())
... | Lua |
ext-shadow: none;
}
* {
/* 常规初始化 */
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
/* 常规居中显示,简单背景色 */
display: grid;
place-content: center;
min-height: 100vh;
background: linear-gradient(10deg, #0d9545, #45b9dd);
}
.box {
/* 卡片排列开,加间距 */
display: flex;
gap: 5vmin;
}
.card {
/* 卡片宽高,高... | CSS |
xt in request/response bodies. Rust uses
//! utf-8 for `String` and assumes text bodies should be encoded as
//! utf-8. Using the `content-type` we can change how hreq handles
//! both requests and responses.
//!
//! ## Example sending an iso-8859-1 encoded body.
//!
//! ```no_run
//! use hreq::prelude::*;
//!
//! // T... | Rust |
fic', obj.Get('ylabels.specific') ? false : ['High','Medium','Low']); RGraph.Redraw();">Toggle specific Y axis labels</button>
<button onclick="obj = getObject(); obj.Set('ymin', obj.Get('ymin') ? 0 : 50); RGraph.Redraw();">Toggle ymin (50) setting</button>
<button onclick="obj = getObject(); ob... | HTML |
## 1 什么是“车路协同”?
车路协同是采用先进的无线通信和新一代互联网等技术,全方位实施车车、车路动态实时信息交互,并在全时空动态交通信息采集与融合的基础上,开展车辆主动安全控制和道路协同管理,充分实现人、车、路的有效协同,保证交通安全,提高通行效率,从而形成的安全、高效和环保的道路交通系统。
如果你觉得这个定义太复杂,那么我通俗的解释下:
**车路协同是将车与车、车与路的信息相连通。车可以将拥堵信息、实时路况等,传给交通控制中心;交通控制中心又可以将实时更新的信号灯数据、车流量信息、绿波信号、事故信息等,传给路上行驶的汽车。**
交通是一个动态变化的过程,为了达到合理配置资源、合理化规划的目的,必须实时不断地交换信息... | Markdown |
/javadocs/api-3.6.1/index.html?org/apache/commons/math3/stat/inference/KolmogorovSmirnovTest.html
*/
@UnstableKMathAPI
public fun <T : Comparable<T>, A, BA : BufferAlgebra<T, A>> StatisticalAlgebra<T, A, BA>.ksComparisonStatistic(
x: Buffer<T>,
y: Buffer<T>,
): KMComparisonResult<T> where A : Group<T>, A : Num... | Kotlin |
uld destroy event ${event}`, () => {
if (useClear) {
sockets[0].clearListeners();
sockets[1].clearListeners();
} else if (useListeners) {
let list = listeners[event];
delete listeners[event];
sockets[0].off(event, li... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.