content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ed": "Txapelketa *ez bada* sailkatutakoa, *ez du* zure sailkapenean eraginik izango.",
"someRated": "Txapelketa batzuk sailkapenerako balio dutenez zure sailkapenaren puntuazioa aldatuko dute.",
"howAreScoresCalculated": "Nola kalkulatzen dira puntuazioak?",
"howAreScoresCalculatedAnswer": "Garaipenak 2 puntu ema... | JavaScript |
es().getProperty(ALLURE_SEPARATE_LINES_SYSPROP),
ignoreCase = true
)
}
}package com.almasb.zeph
import com.almasb.fxgl.dsl.FXGL
import com.almasb.fxgl.dsl.addUINode
import com.almasb.fxgl.logging.Logger
import com.almasb.zeph.ui.TooltipView
/**
* Holds all constants and configurations.
*
* ... | Kotlin |
1.\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor informat... | Rust |
ationOnScroll,
'useGalleryTint': instance.useGalleryTint,
'volumeKeyTurnPage': instance.volumeKeyTurnPage,
'autoReadInterval': instance.autoReadInterval,
'preloadPagesCount': instance.preloadPagesCount,
'searchSortOnFrontPage':
_$SearchSortEnumMap[instance.searchSortOnFrontPage]!... | Dart |
rshaller m = jc.createMarshaller();
m.marshal(this, doc);
_xmlNodePresentation = doc.getElementsByTagNameNS("urn:hl7-org:v3", "MCCI_MT000200UV01.Device").item(0);
} catch (JAXBException e) {
try{
db = dbf.newDocumentBuilder();
_xmlNodePresentation = db.newDocument();
}
catch(Exc... | Java |
return (semiMajorAxis);
}
/******************************************************************************************/
/******************************************************************************************/
/**** CONSTRUCTOR: PolygonRlanRegionClass::PolygonRlanRegionClass() ****/
/*************... | C++ |
fw"></i>
<a class="post-taxonomy-tag" href="https://HauyuChen.github.io/tags/%E7%AE%97%E6%B3%95">算法</a>
</div>
<div>
<i class="fa fa-tags fa-fw"></i>
<a class="post-taxonomy-topic" href="https://HauyuChen.github.io/topics/%E7%AE%97%E6%B3%95">算法</a> /
<... | HTML |
34.217-34.217v-76.65c38.045 17.996 62.936 56.64 62.936 99.365 0 60.589-49.293 109.882-109.882 109.882-60.589 0-109.882-49.293-109.882-109.882 0-16.081 3.391-31.574 10.081-46.048a7.605 7.605 0 0 0-13.806-6.38c-7.62 16.488-11.484 34.128-11.484 52.428 0 68.975 56.115 125.09 125.09 125.09s125.09-56.115 125.09-125.09c0-51.... | HTML |
if (passed) {
long reslaside = getlaside(res);
if (isDFPZero(reslaside)) {
reslaside &= 0x7FFFFFFFFFFFFFFFL;
setlaside(res, reslaside);
}
return HARDWARE_OPERATION_SUCCESS;
}
return HARDWARE_OPERATION_FAIL;
}
public int divide(BigDecimal res, BigDecimal lhs, BigDecimal rhs, MathContext set) ... | Java |
v1
c->lq(t1, 60, a0); // lq t1, 60(a0)
c->pextlh(v1, r0, v1); // pextlh v1, r0, v1
c->lq(t2, 76, a0); // lq t2, 76(a0)
c->pcgtw(t0, t1, t0); // pcgtw t0, t1, t0
c->vmul(DEST::xyzw, vf2, vf2, vf... | C++ |
// _list.Add(new UrlEvaluator());
_list.Add(new LabelEvaluator());
_list.Add(new HtmlBlockEvaluator());
_list.Add(new OmitTagEvaluator());
_list.Add(new OmitOuterTagEvaluator());
_list.Add(new ContentEv... | C# |
pred._leaves]
)
debug_logical_expr("reducing ", pred, evaluation)
ensure_logical_algebraic_rules()
pred = pred.evaluate(evaluation)
debug_logical_expr("-> ", pred, evaluation)
cc = True
while cc:
pred, cc = pred.apply_rules(logical_algebraic_rules, evaluation)
debug_lo... | Python |
/* $OpenBSD: apply.c,v 1.27 2015/10/10 17:48:34 deraadt Exp $ */
/* $NetBSD: apply.c,v 1.3 1995/03/25 03:38:23 glass Exp $ */
/*-
* Copyright (c) 1994
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry.
*
* Re... | C |
\_ROOT** key, which was retained for compatibility with earlier versions of COM.
## Related topics
<dl> <dt>
[**Interface**](interface.md)
</dt> </dl>
---
UID: NF:msiquery.MsiRecordGetStringW
title: MsiRecordGetStringW function (msiquery.h)
description: The MsiRecordGetString function returns the string va... | Markdown |
for ((x, y), _) in &flashed_this_step {
self.inner[*x as usize][*y as usize] = 0;
}
self.flash_count += flashed_this_step.len();
break flashed_this_step.len()
}
}
}
pub fn flashes(&self) -> usize {
se... | Rust |
from collections import defaultdict
T=raw_input()
T=int(T)
def find(point,lookup):
if point not in lookup:
lookup[point]=point
return point
it=point
while lookup[it]!=it:
it=lookup[it]
lookup[point]=it
return it
def union(a,b,lookup,rank):
p1=find(a,lookup)
p2=find(... | Python |
scep_auth_backend_role.test", "backend", backend),
resource.TestCheckResourceAttr("vault_scep_auth_backend_role.test", "name", name),
resource.TestCheckResourceAttr("vault_scep_auth_backend_role.test", "display_name", "Almondiga"),
resource.TestCheckResourceAttr("vault_scep_auth_backend_role.test", "auth... | Go |
num = int(input("Enter the Number :"))
for i in range (1,num+1):
for j in range (1,num+1):
print("*", end="")
print()
# ****
# ****
# ****
# ****
| Python |
MyLayer(10),
layers.Activation('softmax')])
# 训练配置
model.compile(optimizer=tf.keras.optimizers.RMSprop(0.001),
loss='categorical_crossentropy',
metrics=['accuracy'])
# 训练5个周期
model.fit(data, labels, batch_size=32, epochs=5)
```
了解有关从头开始创建新层和模型的更多信息,在[从头开始编写层和模型指南](https://tensorflow.... | Markdown |
loadEncoded = parts[1];
var signatureEncoded = parts[2];
var headerJson = DecodeBase64Url(headerEncoded);
if (headerJson == null || !headerJson.Contains("\"alg\":\"HS256\""))
return null;
var message = $"{headerEncoded}.{payloadEncoded}";
var expectedSignature = Com... | C# |
息
*/
fun getLeader(unitId: Int) {
viewModelScope.launch {
//重新加载
if (_uiState.value.leaderLoadState != LoadState.Success) {
_uiState.update {
it.copy(
leaderLoadState = LoadState.Loading
)
... | Kotlin |
[MEMORY] Resolving patterns...")
err = mem.ResolvePatterns(process, &patterns)
if err != nil {
return err
}
SettingsData.Folders.Songs = SongsFolderPath
fmt.Println("[MEMORY] Got all patterns...")
fmt.Println("WARNING: Mania pp calcualtion is experimental and only works if you choose mania gamemode in the Son... | Go |
AST_BEAN_FUNCTION = ReflectBean::new;
LogFactory.useStdOutLogging();
init();
}
public static void init() {
initDatasource();
initEasyQuery();
initData();
}
public static void initDatasource() {
dataSource = new HikariDataSource();
dataSource.... | Java |
/enum.Json.html" title="enum rustc_serialize::json::Json">Json</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/rustc_serialize/json.rs.html#1205-1207' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Performs... | HTML |
con-zhengyan" viewBox="0 0 1024 1024"><path d="M512 204.8C233.984 204.8 51.2 483.84 51.2 483.84S186.368 819.2 512 819.2s460.8-335.36 460.8-335.36S790.016 204.8 512 204.8z m0 502.272A200.192 200.192 0 0 1 307.2 512a200.192 200.192 0 0 1 204.8-195.072A200.192 200.192 0 0 1 716.8 512a200.192 200.192 0 0 1-204.8 195.072zM5... | JavaScript |
B3BA693823175002F10F400811363D26BBB33633AC8BAD", res.unwrap().to_hex().unwrap());
}
}
// Wrap the MIG (Memory Interface Generator) into a RustHDL object
use rust_hdl_core::direction::Direction;
use rust_hdl_core::prelude::*;
use rust_hdl_synth::TopWrap;
#[derive(Clone, LogicInterface, Default)]
pub struct MCBInter... | Rust |
require "GlobalVariables"
require "MessageDispatchCenter"
require "Helper"
require "AttackCommand"
local file = "model/archer/archer.c3b"
Archer = class("Archer", function()
return require "Actor".create()
end)
function Archer:ctor()
self._useWeaponId = ReSkin.archer.weapon
self._useArmourId = ReSkin.arc... | Lua |
10);}
case 11 :{OPENGM_FWRAPPER_PROPERTY_GEN_MACRO(11);}
case 12 :{OPENGM_FWRAPPER_PROPERTY_GEN_MACRO(12);}
case 13 :{OPENGM_FWRAPPER_PROPERTY_GEN_MACRO(13);}
case 14 :{OPENGM_FWRAPPER_PROPERTY_GEN_MACRO(14);}
case 15 :{ OPENGM_FWRAPPER_PROPERTY_GEN_MACRO(15);... | C++ |
from fastapi import APIRouter, Depends, HTTPException
from sqlalchemy.orm import Session
from app.config.database import get_db
from app.services.question_service import (
add_question, fetch_question, fetch_questions_by_quiz, modify_question, remove_question
)
from app.schemas.quiz_schema import QuestionCreate, Qu... | Python |
":"ref-for-common-lig-values"}],"title":"6.11. \nOverall shorthand for font rendering: the font-variant property"}],"url":"#common-lig-values"},
"composite-face": {"dfnID":"composite-face","dfnText":"composite face","external":false,"refSections":[],"url":"#composite-face"},
"contextual-alt-values": {"dfnID":"contextua... | HTML |
:expr)) => {
assert_eq!($f($e), $e as f64)
};
}
#[wasm_bindgen_test]
fn limits_correct() {
t_roundtrip!(roundtrip_i8(i8::min_value()));
t_roundtrip!(roundtrip_i8(0));
t_roundtrip!(roundtrip_i8(i8::max_value()));
t_roundtrip!(roundtrip_i16(i16::min_value()));
t_roundtrip!(roundtrip_i16(0... | Rust |
]
delete(dropCAs, ca.Name)
if !exists {
if err := r.kube.Create(ctx, ca); err != nil {
return reconcile.Result{}, errors.Wrapf(err, "create ChartAssignment %q", ca.Name)
}
slog.Info("Created ChartAssignment", slog.String("Name", ca.Name))
continue
}
if changed, err := chartAssignmentChanged(&pr... | Go |
License.
-->
<link rel="import" href="../paper-button/paper-button.html">
<link rel="import" href="../paper-menu/paper-menu.html">
<link rel="import" href="../paper-menu-button/paper-menu-button.html">
<dom-module id="option-dropdown">
<template>
<style>
:host {
display: block;
}
paper... | HTML |
, this._Q, this._chainCode);
/// @nodoc
Uint8List get publicKey {
_Q ??= Ecc.pointFromScalar(_d!, true)!;
return _Q!;
}
/// @nodoc
Uint8List? get privateKey => _d;
/// @nodoc
Uint8List get fingerprint =>
Hash.sha160fromHex(HEX.encode(publicKey)).sublist(0, 4);
/// @nodoc
Uint8List ge... | Dart |
from src.wakatime import WakaTimeClient
from datetime import datetime, timedelta
from src.graph import create_language_usage_chart, create_weekly_summary_chart
from src.badge import create_wakatime_badges
import json
import os
with open("config.json", "r") as config_file:
config = json.load(config_file)
# Wakatim... | Python |
edia_title(self):
"""Title of current playing media."""
return self._source_na_var("songname")
@property
def media_artist(self):
"""Artist of current playing media, music track only."""
return self._source_na_var("artistname")
@property
def media_album_name(self):
... | Python |
342)说过,这里我再带你简单回顾一下。
- Join策略调整:如果某张表在过滤之后,尺寸小于广播变量阈值,这张表参与的数据关联就会从Shuffle Sort Merge Join降级(Demote)为执行效率更高的Broadcast Hash Join。
- 自动分区合并:在Shuffle过后,Reduce Task数据分布参差不齐,AQE将自动合并过小的数据分区。
- 自动倾斜处理:结合配置项,AQE自动拆分Reduce阶段过大的数据分区,降低单个Reduce Task的工作负载。
接下来,我们就一起来分析这3个特性的动态优化过程。
### Join策略调整
我们先来说说Join策略调整,这个特性涉及了一个逻辑规则和一个... | Markdown |
var buf = BssomSerializer.Serialize(val);
var bsfm = new BssomFieldMarshaller(buf);
int count = ((ICollection)val).Count;
for (int i = 0; i < count; i++)
{
bsfm.ReadValue<BssomValue>(bsfm.IndexOf($"${i}")).Is(BssomValue.Create(((IList)val)[i]));
... | C# |
,"value":3},{"timestamp":"1663084800","value":3},{"timestamp":"1663088400","value":2},{"timestamp":"1663142400","value":11},{"timestamp":"1663138800","value":2.5},{"timestamp":"1663077600","value":6},{"timestamp":"1663081200","value":2},{"timestamp":"1663135200","value":4}]}]}}';
static const String accountId = "mock... | Dart |
4C18.3 293.2 0 246.5 0 201.7zM336 224c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm272 88c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24zm-40 24c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24zm-64 48c0 13.3-10.7 24-24 24s-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24z... | HTML |
height,
show: false,
},
DrawerHide: {
width,
height,
show: false,
stickOutDistance: 2, // Kind of distracting, actually. I may wwant to just leave a button tab beneath the first one.
}
}
}();
/** // TODO finish writing this class; I only ever completed the working dra... | Typescript |
package:flutter/material.dart';
import 'package:k_chart/flutter_k_chart.dart';
class VolRenderer extends BaseChartRenderer<VolumeEntity> {
late double mVolWidth;
final ChartStyle chartStyle;
final ChartColors chartColors;
VolRenderer(Rect mainRect, double maxValue, double minValue,
double topPadding, in... | Dart |
SetSimpleForm(const SparseMatrix& Aeq,const Vector& beq,const SparseMatrix& Aineq,const Vector& bineq);
void Copy(const LinearConstraints_Sparse&);
void Swap(LinearConstraints_Sparse&);
const LinearConstraints_Sparse& operator = (const LinearConstraints_Sparse& lp) { Copy(lp); return *this; }
SparseMatrix A;
... | C |
冰梆'},
{'59639', 'the fla xi', 'the fla xi'},
{'59640', '(?i)(Glorys*tos*Hongs*Kong)', '(?i)(Glorys*tos*Hongs*Kong)'},
{'59641', '9thJune2019', '9thJune2019'},
{'59642', 'HKProtests', 'HKProtests'},
{'59643', 'antiextraditionbillprotest', 'antiextraditionbillprotest'},
{'59644', 'HKers', 'HKers'},
{'59645', '荣光归', '荣光归'... | Lua |
": IsoCode.MD,
"ME": IsoCode.ME,
"MF": IsoCode.MF,
"MG": IsoCode.MG,
"MH": IsoCode.MH,
"MK": IsoCode.MK,
"ML": IsoCode.ML,
"MM": IsoCode.MM,
"MN": IsoCode.MN,
"MO": IsoCode.MO,
"MP": IsoCode.MP,
"MQ": IsoCode.MQ,
"MR": IsoCode.MR,
"MS": IsoCode.MS,
"MT": IsoCode.MT,
"MU": IsoCode.MU,
"MV... | Dart |
/* ====================================================================
* Copyright (c) 1999 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of ... | C |
xes['cql'][103]=""
all_indexes['cql'][104]=""
all_indexes['cql'][105]=""
all_indexes['cql'][106]=""
all_indexes['cql'][107]=""
all_indexes['cql'][108]=""
all_indexes['cql'][109]=""
all_indexes['cql'][110]=""
all_indexes['cql'][111]=""
all_indexes['cql'][112]=""
all_indexes['cql'][113]=""
all_indexes['cql'][114]=""
all_... | JavaScript |
8cbc3.png","375x250":"https://www.latercera.com/resizer/KIxSbh0dwz-KJGxFed9ENBClknM=/375x250/smart/s3.amazonaws.com/arc-authors/copesa/b7026ae9-1dda-47ef-861d-ed9acda8cbc3.png","380x570":"https://www.latercera.com/resizer/JTCPY7mrq2-fohJ0cFxBXPeDAIQ=/380x570/smart/s3.amazonaws.com/arc-authors/copesa/b7026ae9-1dda-47ef-... | HTML |
py.File(session_fullfname, 'r')
except OSError:
Logger().logger.spacer()
Logger().logger.error(f"Session file {session_fullfname} not found")
session_file = None
return session_file
def _load_cam_frames(session_file, key, columns):
L = Logger()
frames_stack = []
if columns i... | Python |
let uri: Uri = Uri::try_from(input).unwrap();
// let expect_uri = "http://";
// assert_eq!(&uri.normalize(), expect_uri);
// }
// //
// #[test]
// fn test_20() {
// let input = "http://[2001::192.168.0.1.]/";
// let uri: Uri = Uri::try_from(input).unwrap();
// let expect_uri = "http://";
// ... | Rust |
#160;<a class="el" href="struct_brawl_lib_1_1_s_s_b_b_1_1_types_1_1_particle_parameter_header.html#ac837d457a55569e0a06d81c48a92e326">BrawlLib.SSBB.Types.ParticleParameterHeader</a></li>
<li>HeaderSize : <a class="el" href="struct_brawl_lib_1_1_s_s_b_b_1_1_types_1_1_pathing_misc_data.html#ae0c2bf1e32743ec3382... | HTML |
><a name='L535' href='#L535'><pre>535</pre></a></td><td class='skipped-line'></td><td class='code'><pre></pre></td></tr><tr><td class='line-number'><a name='L536' href='#L536'><pre>536</pre></a></td><td class='skipped-line'></td><td class='code'><pre> #[test]</pre></td></tr><tr><td class='line-number'><a name='L537'... | HTML |
ikasi sidik jari ditutup
} else {
const result = await response.json();
alert(result.message);
}
}
</script>
<script type="text/javascript">
// ketika tombol hapus ditekan
$("#form_sep").on("click",".hapus_sep", function(event){
var baseURL = mlite.url + '/' + mlite.admin;
event.preventDefault();
... | HTML |
--[[
Copyright (c) 2014 Google Inc.
See LICENSE file for full terms of limited license.
]]
require "torch"
function recursive_map(module, field, func)
local str = ""
if module[field] or module.modules then
str = str .. torch.typename(module) .. ": "
end
if module[field] then
str = str... | Lua |
://www.devopsdays.org/events/2016-detroit/sponsor" class="sponsor-cta"><i>Become a Silver Sponsor!</i></a></div></div><div class="row sponsor-row"><div class="col-lg-1 col-md-2 col-4"><a href="http://www.victorops.com"><img src="/img/sponsors/victorops.png" alt="VictorOps" title="VictorOps" class="img-fluid"></a></div>... | HTML |
f::descriptor& isf, const QString& compute)
{
exec_context->ui->unregister_node(id);
for(int i = 0, n = std::ssize(controls); i < n; i++)
{
auto& ctl = controls[i];
ctl->port->write_value(ctl->value, 0);
}
auto n = std::make_unique<score::gfx::ISFNode>(isf, compute);
{
sco... | C++ |
-1.83295,-5.7653 -1.29553,-1.78722 -3.62017,-3.12792 -5.58522,-3.84314 l -4.15758,-1.51852 c -2.01076,-0.71523 -4.15531,-1.65287 -4.15531,-3.97807 0,-0.35733 0.0886,-3.17139 3.84315,-3.17139 2.54817,0 4.647,1.6986 5.67382,3.66364 l 5.40797,-3.57501 z m 14.45472,27.580556 V 52.644002 h -7.24093 v 32.807856 z m 5.96175,-... | CSS |
}
}
m_pioOutput = null;
}
private void ProcessBuffer() throws IOException {
ProcessBuffer(false);
}
private ByteArrayReader pByteReader = new ByteArrayReader();
private void ProcessBuffer(boolean bFinalize) throws IOException {
if (m_pBuffer == null)
... | Java |
notificações de comentários</label></div><div class="n4"><div id="hlp_dialogv6388b1ca55611_notify" class="e4 c4"></div></div></div></div></div><div class="x_ j0"><div class="e8"><div id="dialogv6388b1ca55611_progress" role="progressbar" class="c8 m0 t0"><div class="p0"></div><div class="q0"></div><div class="n0 r0"><s... | HTML |
tring>((member["NickName"]),
(member["RemarkName"]));
});
updateUITextLine(info_display, "开始查找...", Environment.NewLine, Color.Black);
var group_num = (int)Math.Ceiling(member_count / (float) MAX_GROUP_NUM);
Cons... | C# |
:
return "BIZ_DATASET_ICON"
case FileBizType_BIZ_PLUGIN_ICON:
return "BIZ_PLUGIN_ICON"
case FileBizType_BIZ_BOT_SPACE:
return "BIZ_BOT_SPACE"
case FileBizType_BIZ_BOT_WORKFLOW:
return "BIZ_BOT_WORKFLOW"
case FileBizType_BIZ_SOCIETY_ICON:
return "BIZ_SOCIETY_ICON"
case FileBizType_BIZ_CONNECTOR_ICON:
re... | Go |
es) = matches.subcommand_matches("environments") {
process_environment_command(matches, &rest_cfg)?;
process::exit(0)
}
if let Some(matches) = matches.subcommand_matches("projects") {
process_project_command(matches, &rest_cfg)?;
process::exit(0)
}
if let Some(matches) ... | Rust |
( obj ) {
if ( typeof obj === "undefined" ) {
return "undefined";
// consider: typeof null === object
}
if ( obj === null ) {
return "null";
}
var match = toString.call( obj ).match(/^\[object\s(.*)\]$/),
type = match && match[1] || "";
switch ( type ) {
case "Number":
if ( isNaN(obj) ... | JavaScript |
difier.a());
} else if (vel < 100) {
col = UINT_INTERPOLATE(UIConfiguration::instance().color ("midi meter color4"), UIConfiguration::instance().color ("midi meter color5"), ((vel-64) / 36.0));
col = Gtkmm2ext::change_alpha (col, color_modifier.a());
} else if (vel < 112) {
col = UINT_INTERPOLATE(UIConfigu... | C++ |
",
&rcv_buffer.to_string(),
"h-beat",
&heartbeat.as_secs().to_string(),
"dev",
"rust",
],
);
self.send(msg.serialize()).await
}
async fn ping(&mut self) -> Result<()> {
let msg = Message::new(Me... | Rust |
)
self.assertIsNotNone(self.mbox.next())
self.assertIsNotNone(self.mbox.next())
self.assertIsNone(self.mbox.next())
self.assertIsNone(self.mbox.next())
## End: tests from the original module (for backward compatibility).
_sample_message = """\
Return-Path: <gkj@gregorykjohnson.com>
X-... | Python |
bute("pattern");
timeStyle = getAttribute("timeStyle");
timeZone = getAttribute("timeZone");
type = getAttribute("type");
}
/**
* Returns a new DateTimeConverter
*
* @see DateTimeConverter
*/
protected Converter createConverter(FaceletContext ctx) throws FacesExc... | Java |
// Reconciliation time tracking for binding policies
BindingPolicyReconciliationDuration = prometheus.NewHistogram(
prometheus.HistogramOpts{
Name: "kubestellar_binding_policy_reconciliation_duration_seconds",
Help: "Time taken for binding policy reconciliation",
Buckets: []float64{0.1, 0.5, 1.0, 2.... | Go |
",2.0,foq
* 2022-12-26T12:34:56,extra,9,"30",2.0,foo
* 2022-12-26T12:34:56,extra,10,"20",2.0,foo
*
*/
@Test
public void testInsertWithMultiClusteringFromQuery()
{
String tableName = dataSource;
TableMetadata table = TableBuilder.datasource(tableName, "P1D")
.column(Columns.TIME_COLUMN,... | Java |
Go" %}
```go
// Step 4: Claim the airdrop for Charlie's account
tokenClaimTx, err := hedera.NewTokenClaimAirdropTransaction().AddPendingAirdropId(airdropTxRecord.PendingAirdropRecords[0].GetPendingAirdropId()).FreezeWith(client)
if err != nil {
log.Fatalf("Error creating token claim airdrop transaction: %v", err)
... | Markdown |
worldhigh >>= 4;
worldlow >>= 4;
if (worldhigh < worldtop)
{
pixhigh = (centeryfrac>>4) - FixedMul (worldhigh, rw_scale);
pixhighstep = -FixedMul (rw_scalestep,worldhigh);
}
if (worldlow > worldbottom)
{
pixlow = (centeryfrac>>4) - FixedMul (worldlow, rw_scale);
p... | C++ |
event.stopPropagation();
})
// Functions
async function readJSON(filePath) {
try {
const response = await fetch(filePath);
if (!response.ok) { throw new Error('Network response was not ok'); }
const data = await response.json(); // Parse the JSON from the response
return data; ... | JavaScript |
0x3c] /* data_e3c */
/*0x0dfe*/ bl call_46c
/*0x0e02*/ ldr r1, [pc, #0x3c] /* data_e40 */
/*0x0e04*/ movs r0, #2
/*0x0e06*/ str r0, [r1, #0x28]
/*0x0e08*/ mov r1, r0
/*0x0e0a*/ ldr r0, [pc, #0x38] /* data_e44 */
/*0x0e0c*/ bl call_e0
/*0x0e10*/ ldr r4, [pc, #0x34] /* data_e48 */
... | Assembly |
return !this.$view.parents('.view').size();
};
/**
* Attach the ajax behavior to each link.
*/
Drupal.views.ajaxView.prototype.attachPagerAjax = function() {
this.$view.find('ul.pager > li > a, th.views-field a, .attachment .views-summary a')
.each(jQuery.proxy(this.attachPagerLinkAjax, this));
};
/**
* Attach... | JavaScript |
nt(("KeStackAttachProcess װ:%d\n", bInstallRet));
//ֹ̱߳ر߳
PVOID pfnNtOpenThread = GetSSDTFuncAddrByName("NtOpenThread");
InitInlineHookFunction(&g_inlineNtOpenThread, pfnNtOpenThread, FakeNtOpenThread);
bInstallRet = InstallInlineHookFunction(&g_inlineNtOpenThread);
KdPrint(("NtOpenThread װ:%d\n", bInstallRet))... | C |
/*
* MIT License
*
* Copyright (c) 2017 Twitter
*
* 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 the rights
* to use, copy, modify, ... | C |
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\... | C |
e_coord(msg.z)) end
if msg.formupdate then
jumpdrive.fleet.update_formspec(meta, pos)
end
elseif msg.command == "simulate" or msg.command == "show" then
if jumpdrive.fleet.is_active(pos) then
return notify {
success = false,
msg = "Operation not completed",
}
end
local engines_pos_list = ju... | Lua |
�юсиль Кэслтон",
[4612] = "Бойл",
[4644] = "Мародер из племени Маграм",
[4676] = "Младший инфернал",
[4708] = "Шрив",
[5855] = "Элементаль магмы",
[9543] = "Риббли Крутипроб",
[5856] = "Хрустальный паук",
[4560] = "Уолтер Эллингсон",
[5862] = "Геомант из культа Сумеречного Молота",
[4900] = "Алхимик... | Lua |
\( \sin^2 x \)**
\[
\int \sin^2 x \, dx
\]
Using \( \sin^2 x = 1 - \cos^2 x \) is unhelpful, so instead, use the **half-angle identity**:
\[
\sin^2 x = \frac{1 - \cos 2x}{2}
\]
Thus:
\[
\int \sin^2 x \, dx = \int \frac{1 - \cos 2x}{2} \, dx
\]
\[
= \frac{1}{2} \int dx - \frac{1}{2} \int \cos 2x \, dx
\]
\[
= \frac{x}{... | Markdown |
def solution(cap, n, deliveries, pickups):
answer = 0
deliveries = deliveries[::-1]
pickups = pickups[::-1]
deli_num = 0
pickup_num = 0
for i in range(n):
deli_num += deliveries[i]
pickup_num += pickups[i]
while deli_num > 0 or pickup_num > 0:
... | Python |
int>("s")];
var memberContextPositional = StaticMemberFutureOrContext(.member(), .memberType<String, int>("s"));
var memberContextNamed = StaticMemberFutureOrContext.named(nullableMember: .memberType<String, int>("s"));
var memberContextOptional = StaticMemberFutureOrContext.optional(.memberType<String, int>("s... | Dart |
,"Philips MR Imaging DD 005",VR::IS,VM::VM1,"?", false },
{0x2005,0x0052,"Philips MR Imaging DD 005",VR::UI,VM::VM1,"?", false },
{0x2005,0x0055,"Philips MR Imaging DD 005",VR::FD,VM::VM3,"ImageVelocityEncodingDirection", false },
{0x2005,0x0092,"Philips MR Imaging DD 005",VR::FL,VM::VM1,"Specific Energy Dose",fa... | C++ |
</div>
<h2>Scopes</h2>
<table>
<tr>
<td>payroll.timesheets</td>
<td>Grant read-write access to payroll timesheets</td>
</tr>
</table>
... | HTML |
cription": f"測試描述{eventId[-1]}"
}
)
# 模擬事件列表響應
mock_events.list.return_value.execute.return_value = {
"items": [
{
"id": "event_a",
"summary": "用戶A排班",
"start": {"dateTime": "2025-05-30T0... | Python |
ll childLoadPositionListPointer
jr ++
@shyStage6:
ld a,$01
call childLoadPositionListPointer
++
ld h,d
ld l,Interaction.var39
ld (hl),$01
ld l,Interaction.speed
ld (hl),SPEED_200
ld a,$00
jr @setAnimation
@curious:
ld h,d
ld l,Interaction.var39
ld (hl),$02
ld a,$00
jr @setAnimation
@slacker:
ld a,$00... | Assembly |
r;
return rootViewInjector;
}
function createRootLViewEnvironment(rootLViewInjector) {
const rendererFactory = rootLViewInjector.get(RendererFactory2, null);
if (rendererFactory === null) {
throw new RuntimeError(407, ngDevMode && "Angular was not able to inject a renderer (RendererFactory2). Likely this is d... | JavaScript |
# Linux AppImages
└── macos/ # macOS app bundles
```
### Platform-Specific Instructions
#### Windows Deployment
##### Prerequisites
```bash
# Install Visual Studio Build Tools
winget install Microsoft.VisualStudio.2022.BuildTools
# Install Windows SDK
winget install Microsoft.WindowsSDK.10.0.22621
# ... | Markdown |
-signing with your real name, whether to use only your first name", pMaxTextWidth);
helpText += "\r\n";
helpText += getHelpTextWithLabel(" Sign emails with real name", "When auto-signing messages, whether or not to always sign emails with your real name", pMaxTextWidth);
helpText += "\r\n";
helpText += getHelpText... | JavaScript |
}
protected override WitRequest OnCreateRequest()
{
return witConfiguration.GetIntentRequest(name);
}
public override void UpdateData(WitResponseNode intentWitResponse)
{
id = intentWitResponse[Fields.ID].Value;
name = intentWitResponse[Fi... | C# |
ix_call_funcs[] =
{
macdrv_dnd_get_data,
macdrv_dnd_get_formats,
macdrv_dnd_have_format,
macdrv_dnd_release,
macdrv_dnd_retain,
macdrv_init,
macdrv_quit_result,
};
C_ASSERT( ARRAYSIZE(__wine_unix_call_funcs) == unix_funcs_count );
#ifdef _WIN64
static NTSTATUS wow64_dnd_get_data(void *arg... | C |
mputed_modifier_multiple_args() {
let template = String::from(r#"{var|modifier:-32.09:"argument":var2:true}"#);
let template = parse(template);
assert!(template.is_ok(), "{:#?}", template);
let template = template.unwrap();
assert_eq!(
template,
Template {... | Rust |
#pragma once
#include "stdafx.h"
#define LSA_CREDS_DISPLAY_RAW 0x00000000
#define LSA_CREDS_DISPLAY_LINE 0x00000001
#define LSA_CREDS_DISPLAY_NEWLINE 0x00000002
#define LSA_CREDS_DISPLAY_CREDENTIAL 0x08000000
#define LSA_CREDS_DISPLAY_PRIMARY 0x01000000
#define LSA_CREDS_DISPLAY_CREDENTIALKEY 0x02000000
... | C |
riever training experiments. It takes up 32G GPU memory for the main GPU and 23.8G GPU memory for other GPUs.
### Retriever Local Evaluation
1. You can train the retriever by yourself using the above scripts to get your trained retriever and entity embeddings. You can also Download our trained retriever [here](https://... | Markdown |
10001100011110100010100110000000100001100000…
[3] (1 elem)
SEQUENCE (4 elem)
SEQUENCE (3 elem)
OBJECT IDENTIFIER 2.5.29.19 basicConstraints (X.509 extension)
BOOLEAN true
OCTET STRING (2 byte) 3000
SEQUENCE (0 elem)
SEQUENCE (2 elem)
OBJECT I... | Markdown |
</h1><p><a href="/lib/?lang=en&author=Ferrie%2C%20Peter">Peter Ferrie</a><br/> <em>Virus Bulletin, March 2004, pp.4-9</em><br/> <em>ISSN 0956-9979</em><br/> <em>March 2004</em></p><script type="text/rocketscript">var disqus_url = 'http://vxheaven.org/lib/apf14.html';</script><img src="/img/pdf.gif" alt="PDF"/><a hr... | HTML |
.space 0x400
.rept 4
tramp_ventry .Lvector_start\@, 64, \kpti, \bhb
.endr
.rept 4
tramp_ventry .Lvector_start\@, 32, \kpti, \bhb
.endr
.endm
#ifdef CONFIG_UNMAP_KERNEL_AT_EL0
/*
* Exception vectors trampoline.
* The order must match __bp_harden_el1_vectors and the
* arm64_bp_harden_el1_vectors enum.
*/
... | Assembly |
ing
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <netaddress.h>
#include <net.h>
#include <test/util/net.h>
#include <test/util/setup_common.h>
#include <boost/test/unit_test.hpp>
#include <algorithm>
#include <functional>
#include <optional>
#include <unordered_set>
#include <vect... | C++ |
计72人。自三月五日开始至现在,共逮捕反革命犯57名,连原押9名,总计66名。已处理了33名(计枪决17名,交区管制5名,教育释放11名)。现在还押着3名,其中有20名已结案,其余正在积极审理中。
</p>
<p>
(二)开展了大张旗鼓的镇压反革命工作,除组织全体干部认真学习镇反文件及印发宣传材料并向群众普遍进行讲解外,在执行反革命罪犯时,并召开群众控诉大会,如正西村的联村控诉大会,参加群众四千余人,7名群众登台控诉,朱二更(12岁)控诉特务杀人犯郑振纲勾结日伪,把他父亲百般毒打后又杀死,诉到惨痛时泣不成声,四千多群众都咬牙切齿。枪决郑振纲后,群众同声称快,张湾村赵庆昌说:“枪毙这大坏蛋,比下场透雨心里还痛快哩!”在四... | HTML |
roken)
// broken with invalid share record
suite.Keeper.SetVaultShareRecord(suite.Ctx, types.NewVaultShareRecord(
suite.addrs[0],
// Directly create vaultshares instead of NewVaultShares() to avoid sanitization
types.VaultShares{
types.NewVaultShare("ukava", sdk.MustNewDecFromStr("50")),
types.NewVaultSh... | Go |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.