content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
#[test]
fn sign_and_verify_eddsa_jwt() -> Result<()> {
let input = b"abcde12345";
let alg = EddsaJwsAlgorithm::Eddsa;
let private_key = load_file("jwk/OKP_Ed25519_private.jwk")?;
let public_key = load_file("jwk/OKP_Ed25519_private.jwk")?;
let signer = alg.signer_from_j... | Rust |
to-hsl($color-2);
$h1: map-get($c1, h);
$s1: map-get($c1, s);
$l1: map-get($c1, l);
$a1: map-get($c1, a);
$h2: map-get($c2, h);
$s2: map-get($c2, s);
$l2: map-get($c2, l);
$a2: map-get($c2, a);
$h: calc((#{$h1} + #{$h2}) / 2);
$s: calc((#{$s1} + #{$s2}) / 2);
$l: calc((#{$l1} + #{$l2}) / 2);
... | CSS |
-5.206 9.2487-11.685 9.2487-7.643 0-12.682-5.2613-12.682-13.0145 0-7.6978 5.316-13.0143 12.515-13.0143 7.643 0 11.962 5.095 11.962 12.5159v2.1598h-16.115c.277 2.9905 1.827 4.5965 4.32 4.5965 1.772 0 3.156-.7753 3.655-2.4921zm-3.822-10.0237c-2.049 0-3.433 1.2737-3.987 3.5997h7.532c-.111-2.0491-1.385-3.5997-3.545-3.5997z... | HTML |
"""The NFAndroidTV integration."""
from notifications_android_tv.notifications import ConnectError, Notifications
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_HOST, Platform
from homeassistant.core import HomeAssistant
from homeassistant.exceptions import ConfigEntryNotRead... | Python |
"""
Tests for the Balance command with hierarchy and total options combined.
Specifically tests the fix for double-counting issue.
"""
from tests.test_utils import run_bal_command, extract_table_data
def test_bal_with_hierarchy_and_total_no_double_counting():
"""Test that using --hierarchy and --total together d... | Python |
({ userId: req.user._id });
if (!device) {
throw new Error();
}
let result=await plotGraph('Bulb Graph', 'line', device.bulb.graph, req.user.email);
res.set('Content-Type','image/jpg');
res.send(result);
} catch (e) {
console.log(e)
res.status(500)... | Typescript |
buildCounterOpenUserListRequest++;
if (buildCounterOpenUserListRequest < 3) {}
buildCounterOpenUserListRequest--;
}
core.List<api.PolicyTopicEntry> buildUnnamed40() => [
buildPolicyTopicEntry(),
buildPolicyTopicEntry(),
];
void checkUnnamed40(core.List<api.PolicyTopicEntry> o) {
unittest.expect(o, unittes... | Dart |
icrosoft.Alpha(Opacity=100);opacity:1}.sds-app-widget-instruction .message-arrow{position:absolute;overflow:hidden;width:22px;height:35px}.ext-ie8m .sds-app-widget-instruction .message-arrow{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=$ieOpacity)";filter:alpha(opacity=75);filter:progid:DXImageTransform.... | CSS |
sIndex: 1, type: 'bar', color: '1d6b99'},
1: {
targetAxisIndex: 0,
type: 'line',
lineWidth: 0,
pointSize: 10,
color: 'e37d05'
}
},
hAxis:
{title: 'Ecoregion', titleTextStyle: {italic: false, b... | JavaScript |
(require,module,exports){"use strict";var _hyphenPattern=/-(.)/g;function camelize(string){return string.replace(_hyphenPattern,function(_,character){return character.toUpperCase()})}module.exports=camelize},{}],37:[function(require,module,exports){"use strict";var camelize=require("./camelize");var msPattern=/^-ms-/;f... | CSS |
.js
var imag = __webpack_require__(25);
// CONCATENATED MODULE: ./node_modules/@tensorflow/tfjs-core/dist/ops/maximum.js
/**
* @license
* Copyright 2020 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Licen... | JavaScript |
move.l #4096,-(a7)
move handle(pc),-(a7)
move #$40,-(a7)
trap #1 FWRITE
lea 12(a7),a7
move handle(pc),-(a7)
move #$3e,-(a7)
trap #1 FCLOSE
addq.l #4,a7
move.l basis(pc),a0 alter Basis-Vektor &..
move.l status(pc),12(a0) ..Status-Vektor
clr -(a7)
trap #1 E N D E
**************************************... | Assembly |
Ns.DeepCopy(), anotherDevopsProjectNs.DeepCopy(), oldSecret.DeepCopy()).Build(),
log: logr.New(log.NullLogSink{}),
},
args: args{
cluster: newMemberCluster.DeepCopy(),
},
verify: func(t *testing.T, c client.Client, err error) {
assert.Nil(t, err)
secret := &v1.Secret{}
err = c.Get(con... | Go |
218 001A6E78 38 A0 00 5A */ li r5, 0x5a
/* 801AB21C 001A6E7C 4B FD 53 FD */ bl func_80180618
/* 801AB220 001A6E80 28 03 00 01 */ cmplwi r3, 1
/* 801AB224 001A6E84 41 82 00 64 */ beq lbl_801AB288
/* 801AB228 001A6E88 7F 63 DB 78 */ mr r3, r27
/* 801AB22C 001A6E8C 7F 84 E3 78 */ mr r4, r28
/* 801AB230 001A6E90 38 ... | Assembly |
{
this.rectangle = rectangle;
this.color = color;
}
@Override
public void render(GuiGraphics graphics, int mouseX, int mouseY, float delta) {
float a = (color >> 24 & 255) / 255.0F;
float r = (color >> 16 & 255) / 255.0F;
float g = (color >> 8 & 255) / 255.0F;
... | Java |
}
int np = b / a + 1;
Int64 key = b * (fd - d + 1);
if(p > np)
np = p;
bool flag = false;
while(np * a < key) {
buf[d] = np;
Int64 na = a * np - b, nb = b * np,
g = gcd(na, nb);
flag |= DFS(d + 1, na / g, nb / g, np + 1);
++np;
}
return... | C++ |
</a></div><div class="summaryTableDescription">
Returns the primitive value of the specified object.</div></td><td class="summaryTableOwnerCol"><a href="../../../Object.html">Object</a></td></tr></table></div><a xmlns:xd="http://www.pnp-software.com/XSLTdoc" name="constantSummary" id="constantSummary"></a><div xmlns:... | HTML |
<details>
<summary>职位描述</summary>
<p>研发域产品经理</p><p>职位描述:</p><p><br></p><p>●研发领域产品经理,负责建设面向研发的一站式工作台产品。</p><p>●该工作台产品旨在为研发团队提供高效、集成的工具和服务,以提升研发效率和质量。</p><p>●一站式研发平台中除了DevOps功能外,还会集成常用的中间件、可观测领域的组件等等。</p><p><br></p><p>岗位职责:</p><p>●负责一站式工作台产品的整体设计与规划,确保产品满足研发团队的需求。 </p><p>●与研发团队密切合作,深入了解研发过程中的痛点和需求,制定产品功能需求文档。 </p><p>●... | Markdown |
итить изменения бизнес-логики при написании тестов.
Бывает, что в разных коммитах добавляются модели, потом логика, потом тесты.
Хочется избежать ситуаций, когда в такие коммиты подмешиваются изменения бизнес-логики.
При нахождении бага лучше зафиксировать изменения отдельным коммитом, а потом вернуться к тестам.
Одна... | Markdown |
age={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},c.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},c.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},c.rassadiran={towgs84:"-133.63... | HTML |
l_rounds = card.ability.partial_rounds + 1
while card.ability.partial_rounds >= card.ability.upgrade_rounds do
upgraded = true
card.ability.retriggers = card.ability.retriggers + 1
card.ability.partial_rounds = card.ability.partial_rounds - card.ability.upgrade_rounds
... | Lua |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | C |
float b41 = be[3], b42 = be[7], b43 = be[11], b44 = be[15];
elements[0] = a11 * b11 + a12 * b21 + a13 * b31 + a14 * b41;
elements[4] = a11 * b12 + a12 * b22 + a13 * b32 + a14 * b42;
elements[8] = a11 * b13 + a12 * b23 + a13 * b33 + a14 * b43;
elements[12] = a11 ... | C# |
;</th>
</tr>
<tr id="i5230" class="altColor">
<td class="colFirst"><a href="hydra/ext/org/graphql/syntax/TypeSystemDirectiveLocation.INTERFACE.html" title="class in hydra.ext.org.graphql.syntax">TypeSystemDirectiveLocation.INTERFACE</a></td>
<th class="colLast" scope="row"> </th>
</tr>
<tr id="i5231" class="rowCol... | HTML |
65a52.21 52.21 0 01-10.088.989c-6.152 0-11.762-1.064-16.828-3.19-5.067-2.125-9.415-5.225-13.043-9.298-3.63-4.074-6.435-9.06-8.415-14.96C310.99 121.655 310 114.9 310 107.294c0-6.408.92-12.323 2.76-17.744 1.84-5.421 4.493-10.093 7.961-14.016 3.467-3.922 7.72-6.991 12.758-9.209C338.513 64.11 344.229 63 350.624 63zm.573 6c... | HTML |
text) =>
comment(openCtx).then(body(openCtx)).chain((ch: IndentResult<T>) =>
IndentParser.endOfLine(ch.context).chain((closeEolCtx: IndentContext) =>
IndentParser.closeParen(currentLevel, closeEolCtx).map((closeCtx: IndentContext) =>
new IndentResult(ch.value, closeCt... | Typescript |
loop:
CMPQ DX, DI
JCS prezero_loop_completed
VMOVDQA64 Z0, (DX)
SUBQ $64, DX
JMP prezero_aligned_loop
prezero_loop_completed:
VMOVDQU8 Z0, (DI) // n > 64, so the finishing store cannot write out of the... | Assembly |
e class="access_instructions"><tr><th>coproc</th><th>opc1</th><th>CRn</th><th>CRm</th><th>opc2</th></tr><tr><td>0b1111</td><td>0b000</td><td>0b1101</td><td>0b0000</td><td>0b010</td></tr></table><p class="pseudocode">
if PSTATE.EL == EL0 then
if EL2Enabled() && !ELUsingAArch32(EL2) && HCR_EL2.<E2H... | HTML |
eature report not found\n");
return -ENODEV;
}
if (report->maxfield < 1 || report->field[0]->report_count < 7) {
hid_err(hdev, "invalid tablet-enabling feature report\n");
return -ENODEV;
}
value = report->field[0]->value;
value[0] = 0x12;
value[1] = 0x10;
value[2] = 0x11;
value[3] = 0x12;
value[4] = ... | C |
);
});
}
await cryptoProvider.writePoints(points);
};
};
import { NDArray } from './';
/**
* @static
* @memberof module:Globals
* @function row_add
* @description Adds a multiple of one row multiplied by `scalar` to another inside `x`.
* @param {NDArray} x
* @para... | Typescript |
string
"string-pre": function ( a ) {
// This is a little complex, but faster than always calling toString,
// http://jsperf.com/tostring-v-check
return _empty(a) ?
'' :
typeof a === 'string' ?
a.toLowerCase() :
! a.toString ?
'' :
a.toString();
},
// string-asc and -desc ... | JavaScript |
//
// MatchListView.h
//
// Copyright (c) Shareaza Development Team, 2002-2014.
// This file is part of SHAREAZA (shareaza.sourceforge.net)
//
// Shareaza 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; eith... | C |
max = WALLTARGET;
let average = Math.ceil(_.sum(<never[]>kernel.data.roomData[roomName].walls, 'hits') / kernel.data.roomData[roomName].walls.length);
let target = average + 10000;
if(target > max)
{
return max;
}
else
{
return target;
}
}
},
r... | Typescript |
end return; end if __f == nil then __f = { __blk= pp.ptr.prototype.fmtComplex end; end __f._1 = _1; __f._q = _q; __f._q__1 = _q__1; __f.oldPlus = oldPlus; __f.p = p; __f.size = size; __f.v = v; __f.verb = verb; __f.__s = __s; __f.__r = __r; return __f;
end;
pp.prototype.fmtComplex = function(b) return this... | Lua |
E::VCVTBIASPH2BF8SZrmb)
.value("VCVTBIASPH2BF8SZrmbk", LIEF::assembly::x86::OPCODE::VCVTBIASPH2BF8SZrmbk)
.value("VCVTBIASPH2BF8SZrmbkz", LIEF::assembly::x86::OPCODE::VCVTBIASPH2BF8SZrmbkz)
.value("VCVTBIASPH2BF8SZrmk", LIEF::assembly::x86::OPCODE::VCVTBIASPH2BF8SZrmk)
.value("VCVTBIASPH2BF8SZrmkz", LIEF::assem... | C++ |
te(top: Field, right: Field, down: Field, left: Field) {
// Fire spread
if (this.fire > 0.1 && this.food && Math.random() > 0.5 ) {
// todo: randomize and properly calculate fire spread
top.changes.push((self: Field) => {
if (self.food > 0.1) {self.fire += 0.1 * ... | Typescript |
)
..hasRequiredFields = false;
TestOneof2._() : super();
factory TestOneof2({
$core.int? fooInt,
$core.String? fooString,
$core.String? fooCord,
$core.String? fooStringPiece,
$core.List<$core.int>? fooBytes,
TestOneof2_NestedEnum? fooEnum,
TestOneof2_NestedMessage? fooMessage,
T... | Dart |
from django.utils.deprecation import MiddlewareMixin
class NoCacheMiddleware(MiddlewareMixin):
def process_response(self, request, response):
response['Cache-Control'] = 'no-cache, no-store, must-revalidate'
response['Pragma'] = 'no-cache'
response['Expires'] = '0'
return response | Python |
Exif header.
<tr valign=top><td><b>-ds<date-time>
<td>Sets the date stored in the Exif header to what is specified on the command line.
Can be used to set date, just year and month, or just year.
Date is specified as:<br>
<font face=courier>     yyyy:mm:dd, yyyy:mm, or yyyy</font><p>
</tab... | HTML |
x10000;
int nHeightStart = 0;
int nHeightEnd = 0;
int nHeight = 0;
{ // Don't keep cs_main locked
LOCK(cs_main);
nHeightStart = chainActive.Height();
nHeight = nHeightStart;
nHeightEnd = nHeightStart+nGenerate;
}
unsigned int nExtraNonce = 0;
UniValue block... | C++ |
> :是否关闭流控,默认是0代表不关闭,1代表关闭。</p> </li> </ul> <p>KCP有正常模式和快速模式两种,通过以下策略达到提高流速的结果:</p> <ul class="list-paddingleft-2"> <li> <p>普通模式/正常模式: ikcp_nodelay(kcp, 0, 40, 0, 0);</p> </li> <li> <p>极速模式/快速模式: ikcp_nodelay(kcp, 1, 10, 2, 1)</p> </li> </ul> <h3>最大窗口:</h3> <p>int ikcp_wndsize(ikcpcb *kcp, int sndwnd, int rcvwnd);<... | HTML |
import unittest
import torch
from sglang.srt.utils import DynamicGradMode
from sglang.test.test_utils import CustomTestCase
class TestDynamicGradMode(CustomTestCase):
def test_inference(self):
# Test inference_mode
DynamicGradMode.set_inference_mode(True)
@DynamicGradMode()
def ... | Python |
队发起“祭祀式的竞赛”挑战,表现出对博士的好奇和残酷本性。
- **[黑暗时代·下](../stories/main_1.md)**:梅菲斯特作为整合运动干部,与塔露拉一同参与围剿罗德岛的计划,并目睹Ace的牺牲。
- **[靶向药物](../stories/main_5.md)**:梅菲斯特指挥整合运动入侵龙门近卫局,与陈、阿米娅等人交战,展示其“牧群”和“护卫”能力,最终失败并被浮士德掩护撤离。
- **[局部坏死](../stories/main_6.md)**:详细揭示梅菲斯特(伊诺)的童年、与浮士德(萨沙)的关系、扭曲力量的由来。描述他在龙门战场的极端行为导致与浮士德决裂,最终精神崩溃,浮士德为掩护其撤离而牺牲... | Markdown |
parer Instance = new();
private CompletionItemDisplayTextComparer()
{
}
public int Compare(CompletionItem x, CompletionItem y)
{
var displayText1 = x?.DisplayText;
var displayText2 = y?.DisplayText;
if (displayText1 is null)
{
if (displayText2 is not nu... | C# |
,
desc_get_add = {},
desc_add = {
{
{
"5",
"+1"
},
{
"6",
"+1"
},
{
"7",
"+1"
},
{
"8",
"+1"
},
{
"9",
"+1"
},
{
"10",
"+1"
},
{
"11",
"+1"
},
{
"12",
"+1"
},
{
... | Lua |
*******************
* get current battery percentage from battery service
****************************************************************************/
uint8_t get_battery_power_percentage(void)
{
extern ble_bas_t m_bas;
return m_bas.battery_level_last;
}
void battery_measure_timer_start(uint32_t interval)
... | C |
) * 4),
horizontal-align: center,
vertical-align: flex-start,
flush: false
));
width: 100%;
padding: 0;
> article {
border-color: _palette(border);
border-left-width: 2px;
border-style: solid;
border-top-width: 2px;
text-align: center;
> :last-child {
margin-bo... | CSS |
1,
max = 5,},
{name = "lottweapons:copper_warhammer",
chance = 10,
min = 1,
max = 5,},
},
light_resistant = true,
armor = 100,
drawtype = "front",
water_damage = 5,
lava_damage = 1,
light_damage = 0,
on_rightclick = nil,
do_custom = lottmobs.do_custom_guard,
attack_type = "dogfight",
animati... | Lua |
r w=h.Z&&h.Z.locals?h.Z.locals:undefined},77502:(e,f,o)=>{var t=o(93379);var n=o.n(t);var a=o(7795);var r=o.n(a);var c=o(90569);var i=o.n(c);var b=o(3565);var s=o.n(b);var l=o(19216);var d=o.n(l);var m=o(44589);var p=o.n(m);var h=o(14850);var u={};u.styleTagTransform=p();u.setAttributes=s();u.insert=i().bind(null,"head... | JavaScript |
[model.Logger] configured for this [*QAEnv],
func (env *QAEnv) Logger() model.Logger {
return env.baseLogger
}
// OtherResolversConfig returns the [*netem.DNSConfig] of the non-ISP resolvers. Note that can safely
// add new DNS records from concurrent goroutines at any time.
func (env *QAEnv) OtherResolversConfig() ... | Go |
Weth9Pool,
},
Router: sourceRouter,
OnRamp: onRamp,
}
dest := DestinationChain{
Common: Common{
ChainID: destChainID,
ChainSelector: destChainSelector,
User: destUser,
// FIXME
//Chain: destChain,
LinkToken: destLinkToken,
LinkTokenPool: destPool,
... | Go |
шибку.
func (b *ByteCounter) Write(p []byte) (n int, err error) {
n, err = b.w.Write(p)
b.written += int64(n)
return n, err
}
// CountingWriter создает новый объект ByteCounter, используя переданный интерфейс io.Writer
// как исходный параметр, и возвращает его, а так же указатель на поле written.
// С помощью него... | Go |
2"><a href="/free-nodes/2024-11-20-free-high-speed-nodes.htm">11月20日|最高速度19.4M/S,2024最新Hysteria2免费节点高速订阅链接,便宜机场推荐</a></li>
<li class="py-2"><a href="/free-nodes/2024-11-19-free-clash.htm">11月19日|最高速度18.7M/S,2024最新Hysteria2免费节点高速订阅链接,便宜机场推荐</a></li>
... | HTML |
// TLD with only 1 rule.
{"biz", ""},
{"domain.biz", "domain.biz"},
{"b.domain.biz", "domain.biz"},
{"a.b.domain.biz", "domain.biz"},
// TLD with some 2-level rules.
{"com", ""},
{"example.com", "example.com"},
{"b.example.com", "example.com"},
{"a.b.example.com", "example.com"},
{"uk.com", ""},
{"example.... | Go |
elected,
.main-trackList-trackListRow.main-trackList-selected:hover {
background: linear-gradient(
90deg,
transparent 0%,
rgba(var(--spice-rgb-selected-row), 0.07) 30%,
rgba(var(--spice-rgb-selected-row), 0.07) 60%,
transparent 100%
);
}
.main-card-card .main-cardImage-im... | CSS |
y = (
mix_stft[..., None]
* (
targets_spectrograms
/ (
eps
+ torch.sum(targets_spectrograms, dim=-1, keepdim=True).to(
mix_stft.dtype
)
)
)[..., No... | Python |
--===========================================================================--
-- --
-- System Message --
-- --
... | Lua |
=> u == downloadUrl))).Returns(new CommunicationResult(true));
settings.Security.AllowReconfiguration = true;
browser.Raise(b => b.ConfigurationDownloadRequested += null, filename, args);
args.Callback(true, downloadUrl, downloadPath);
coordinator.Verify(c => c.RequestReconfigurationLock(), Times.Once);
... | C# |
TypeCheckArgument
// TODO(MvG) Present the full phrase type if it can be a
// macro argument.
val argType = instruction.operand.phraseTypeExpressionType
typeSet.add(argType)
// Add the type under the given plan *string*, even if it's
// a different underlying message bundle.
val type... | Kotlin |
"'a' token should have been removed");
o.htmlFor.remove('d');
checkHtmlFor(o.htmlFor, ['b', 'c'], "Nothing should have been removed");
o.htmlFor.toggle('a');
checkHtmlFor(o.htmlFor, ['b', 'c', 'a'], "'a' token should have been added");
o.htmlFor.toggle('b');
checkHtmlFor(o.htmlFor, ['c', 'a'], "Nothing should have ... | HTML |
-table-body-row-cell ctf-scoreboard-details-table-body-row-cell-solution"><img alt="Solved challenge" loading="lazy" width="16" height="19" decoding="async" data-nimg="1" srcset="/_next/image?url=%2F_next%2Fstatic%2Fmedia%2Fchallenge-solved.24ae9de7.png&w=16&q=75 1x, /_next/image?url=%2F_next%2Fstatic%2Fmedia%2... | HTML |
font-weight:700;letter-spacing:1px}body.ff-on #prev>div>span.text,body.ff-on #submit>div>span.text,body.ff-on #next>div>span.text{font-weight:700;letter-spacing:1px}body.ff-on #captions.cs-button:after,body.ff-on #captions-overflow #settings-captions:after{content:"";position:absolute;width:19px;height:2px;left:50%;top... | CSS |
time * 1000L)
} else ""
}
}
labelValueFormatter = object : IValueFormatter {
override fun format(value: Float, index: Int): String {
val values = chartData.getTouchDataSet()?.getVisiblePoints(currentViewport)
... | Kotlin |
#[test]
fn test_x64_ret_after_jne() {
let bin_ret_post_jmp = common::get_raw_bin("bin_ret_post_jmp", common::RET_AFTER_JNE_X64);
let bins = vec![bin_ret_post_jmp];
let gadgets =
xgadget::find_gadgets(&bins, common::MAX_LEN, xgadget::SearchConfig::DEFAULT).unwrap();
let gadget_strs = common::get_... | Rust |
x2g-wfc8",
Description: "Bootstrap Cross-site Scripting vulnerability",
Package: &claircore.Package{
Name: "bootstrap",
RepositoryHint: "rubygems",
},
FixedInVersion: "fixed=4.1.2-alpha",
},
want: false,
},
{
name: "openshift-origin-node unfixed",
record: &claircore.I... | Go |
nt(2700, 3404, 0)),
SEA_SLUG(Quest.SEA_SLUG, new WorldPoint(2715, 3302, 0)),
SHADES_OF_MORTTON(Quest.SHADES_OF_MORTTON, new WorldPoint(3463, 3308, 0)),
SHADOW_OF_THE_STORM(Quest.SHADOW_OF_THE_STORM, new WorldPoint(3270, 3159, 0)),
SHEEP_HERDER(Quest.SHEEP_HERDER, new WorldPoint(2616, 3299, 0)),
SHILO_VILLAGE(Quest... | Java |
\x87\xa1\x0c,,\x10=_\xe8\x04\xf3w\xc3f\xaa\xfc\
G\x08\x03\x8c[\x9c\xac\x11\xaa\xa7\xef^\xf9\xc2\xe4q\
\xcc\xab\x18\x10j\xd26$3\x84^\xb84\xdb\xc9\xa6\
\x7f\xdcH\x06\x85\x052y\xd5\xa6)\xe5\xbe\xca\x1a\x00\
BU\x8dF&\xa1\xc6\x92\xcf\x00\x83>R2\xd3\xf7\
\xca@\xd6s\xb6\xf7sk\xbe\x0c,\x22:\xa7\x98I\
\xcb)\x04\x08\x04$,\x90\x... | Python |
ude Sonnet regarding Cloudflare. I made this by iterating on building Cloudflare workers, and added and removed bits and pieces many times until I got to this.
## Additional requirements
In my specification I've listed a few more requirements and contexts, among others, I used https://assets.p0web.com to ensure AI fo... | Markdown |
ection<Pair<CharSequence, CharSequence?>>): HttpUrl.Builder? {
if (values.isEmpty()) return dest
val builder = dest ?: url.newBuilder()
values.forEach { (key, value) ->
builder.addQueryParameter(key.toString(), value?.toString())
}
return builder
}
@JvmSynthetic internal fun <T> DataType.No... | Kotlin |
_lib._sel_addChild_withPendingUnitCount_1,
child?._id ?? ffi.nullptr,
inUnitCount);
}
int get totalUnitCount {
return _lib._objc_msgSend_584(_id, _lib._sel_totalUnitCount1);
}
set totalUnitCount(int value) {
_lib._objc_msgSend_585(_id, _lib._sel_setTotalUnitCount_1, value);
}
i... | Dart |
))
{
LOG_FMT(LALBR, "%s(%d): idx is %zu, al_cnt is %zu, cpd.al[%zu].col is %zu, cpd.al[%zu].len is %zu\n",
__func__, __LINE__, idx, cpd.al_cnt, idx, cpd.al[idx].col, idx, cpd.al[idx].len);
reindent_line(next, cpd.al[idx].col + cpd.... | C++ |
1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#structure_pattern1_devices_pattern1_device_ids" onclick="anchorLink('structure_pattern1_devices_pattern1_device_ids')">device_ids</a>
<svg width="1em" height="1em" viewBox="0 0 16 16" class="bi bi-arr... | HTML |
local pd <const> = playdate
local gfx <const> = pd.graphics
local assets <const> = Assets
local utilities <const> = Utilities
local audioManager <const> = AudioManager
assets.preloadImages({
"images/title/gameCompleted/thanksForPlaying",
"images/decoration/stars"
})
local font = FONT
local levelTimes = LEVE... | Lua |
ayui-transfer-header{height:38px;line-height:38px;padding:0 10px;border-bottom-width:1px}.layui-transfer-search{position:relative;padding:10px;border-bottom-width:1px}.layui-transfer-search .layui-input{height:32px;padding-left:30px;font-size:12px}.layui-transfer-search .layui-icon-search{position:absolute;left:20px;to... | CSS |
[token.type] = 1;
}
}
return DefaultDialog(
hasCloseButton: true,
title: Text(AppLocalizations.of(context)!.containerSyncDialogTitle(container.serial)),
content: SizedBox(
width: double.maxFinite,
child: SingleChildScrollView(
child: Column(
crossAxi... | Dart |
"^\sM."#], &["{print $2}"])
.unwrap_or_default();
let stage = git_status_files(
&["status", "--porcelain", "--untracked-files=all"],
&[r#"^[A|M|D|R]"#],
&["{print $2}"],
)
.unwrap_or_default();
filter_git_dirty_stage(dirty, stage)
}
/// Command exec git current branch
f... | Rust |
executable rather than a simple version string.
# We can then execute this program to obtain any info we need, such
# as the real sys.version string for the build.
cur_version = get_python_version()
# If the target version is *later* than us, then we assume they
# use what we u... | Python |
leading: const Icon(Icons.color_lens),
title: const Text("调色板"),
),
pick('主题色', primaryColorKey, tomatoCat[primaryColorKey]),
pick('图标色', iconColorKey, tomatoCat[iconColorKey]),
... | Dart |
限制 (Capability Control / Bounded Rationality)**:限制AI系统的某些能力或资源,以降低其潜在风险。
- **4.4. AI 对齐失败场景 (AI Alignment Failure Scenarios / Existential Risks)**
- **回形针最大化器 (Paperclip Maximizer)** (Nick Bostrom):
- 一个著名的思想实验,说明即使一个看似无害的目标,如果被一个超级智能AI不加限制地追求,也可能导致灾难性后果。
- 假设一个超级智能AI的最终目标是“最大化宇宙中回形针的数量”。它可能会将地球上所有物质(包括人类)都转... | Markdown |
ories(results.getPathForKeyAndAdd(pipeline, context, this.config, GitCraftPipelineFilesystemStorage.ASSETS_OBJECTS));
Path assetsIndexDir = Files.createDirectories(results.getPathForKeyAndAdd(pipeline, context, this.config, GitCraftPipelineFilesystemStorage.ASSETS_INDEX));
Path assetsPathObjects = Files.createDire... | Java |
ibility, contiguity, and constancy.
knownDivisibility = DimVectorT(rank, highestPowOf2Divisor<int64_t>(0));
knownConstancy = DimVectorT(rank, highestPowOf2Divisor<int64_t>(0));
knownContiguity = DimVectorT(rank, highestPowOf2Divisor<int64_t>(0));
}
// Other operations are conservatively initia... | C++ |
0d2f871e9b991777a6813c47107b.woff2") format("woff2");
font-style: normal;
font-display: swap;
font-weight: 400;
unicode-range:
U+4EC4, U+4EF5, U+4F25, U+4F27, U+4F32, U+4F5E, U+4F76, U+4F7B, U+4FE3,
U+5048, U+5080, U+5121, U+5208, U+5250, U+52F0, U+535F, U+538D, U+5453,
U+54A6, U+54D0, U+54D4, U+54D... | CSS |
*newm);
TEXT runtime·tstart_stdcall(SB),NOSPLIT,$96-0
SAVE_R19_TO_R28(8*3)
MOVD m_g0(R0), g
MOVD R0, g_m(g)
BL runtime·save_g(SB)
// Set up stack guards for OS stack.
MOVD RSP, R0
MOVD R0, g_stack+stack_hi(g)
SUB $(64*1024), R0
MOVD R0, (g_stack+stack_lo)(g)
MOVD R0, g_stackguard0(g)
MOVD R0, g_stackguard1... | Assembly |
aşlaması üzerine dizi oldukça sarmaya başladı. Özellikle ikinci sezon ve karakterlerin birbirleriyle tanıştıktan sonraki dövüş sahneleri, birbirlerine yardım etmeleri gibi sahneleri daha önce hiçbir dizide olmadığı kadar "şehvetle" izledim. Görsel efektten kaçınmayan, ilk başta nefret ettirse de bir süre sonra 8 karakt... | Markdown |
.if FAMISTUDIO_EXP_FDS
;======================================================================================================================
; FAMISTUDIO_UPDATE_FDS_WAVE (internal)
;
; Internal function to upload the FDS waveform (if needed) of an FDS instrument.
;===================================================... | Assembly |
or: var(--toolbar-icon-bg-color);
}
}
.secondaryToolbarButton::before {
/* All matching images have a size of 16x16
* All relevant containers have a size of 28x28 */
position: absolute;
display: inline-block;
width: 16px;
height: 16px;
content: "";
background-color: rgba(0, 0, 0, 1);
background-c... | CSS |
uploads/item/201712/08/20171208210116_Euwcy.thumb.400_0.jpeg_webp" alt="Some image" referrerpolicy="no-referrer"width="160" style="margin:0 auto;display:block;border-radius:32px;border: 1px solid rgba(0,0,0,.1);" /><br/>
hjd发布页相关信息,核基地最新地址网址论坛域名发布页人人为我我为人人请使用...链接一:网页链接 链接二:http://bbs.cp50021.com/2048/?u=3462619 来自... | HTML |
调整,周密研究,逐行逐户核算其必要的营业额,加以具体安排。
</p>
<p>
为了保证市场物价的稳定和维持私营商业的经营,需要继续撤掉一些零售点时,坚决继续加以调整,在步骤上先撤非商业系统的零售点(尤其是不属于供应本单位而是从事商业活动的机关合作社),再撤国、合零售点,非商业系统的零售机构如确有必要存在时,须经过当地领导机关批准并严格执行国家统一牌价和服从工商行政部门的统一管理。
</p>
<p>
对在原行业无法安排的零售商,适当地转向其它行业进行安排,经营计划供应商品的行业为了保证其能有一定的卖钱额,采取分片定点供应的办法,予以维持。
</p>
<p>
注意对特殊困难户的安排与处理,由于营... | HTML |
rHz( hz ) * 100 // (100 cents per midi index)
// rate = Math.pow(2, (100.0 * pitch - originalPitch) / 1200.0) // 1200 cents per octave
return this.trigger( loudness, rate, decay )
},
note( freq, loudness=null, decay=null ) {
'no jsdsp'
const midinote = 69 + 12 * Math.log2( freq/440 )
... | JavaScript |
CHECK: swpah w2, w3, [sp] // encoding: [0xe3,0x83,0xa2,0x78]
// CHECK: swplh w0, w1, [x2] // encoding: [0x41,0x80,0x60,0x78]
// CHECK: swplh w2, w3, [sp] // encoding: [0xe3,0x83,0x62,0x78]
// CHECK: swpalh w0, w1, [x2] // encoding: [0x41,0x80,0xe0,0x78]
// CHECK: swpalh w2, w3, [sp] // encoding: [... | Assembly |
E8;访问,false的话只监听本地端口
rpc-listen-all=true
#RPC端口, 仅当默认端口被占用时修改
#rpc-listen-port=6800
#最大同时下载e... | HTML |
property, or an array of parameters
for a method (if not null).
</td></tr></table></div></span><div class="detailSectionHeader">Constant Detail</div><span id="pageFilter" runtime="Flash::9##AIR::1.1##" product="Flex::3##"><a name="constantDetail" id="constantDetail"></a><a name="CURSOR_MANAGER_REQUEST" ... | HTML |
li>
</ul>
<h4>Changed in this release:</h4>
<ul>
<li><strong>New improved testcharts and presets, with lower patch counts:</strong> 12 patches default for gamma+matrix profiles, 48 patches default for curves+matrix profiles (former chart had 91 patches), 124 patches default for LUT profiles whi... | HTML |
player_index].Rocket[ROCKET_HW_THREE_STAGE].Safety = 5 + tt;
if ((n1 >= 75 || n5 >= 75) && (n2 >= 75 || n4 >= 75)) { // Tech from multiple programs
Data->P[player_index].Rocket[ROCKET_HW_THREE_STAGE].Safety = 60;
}
break;
case ROCKET_HW_MEGA_STAGE: // N... | C++ |
/68GUN3000-1536x1536.png 1536w, /wp-content/uploads/2022/02/68GUN3000-2048x2048.png 2048w, /wp-content/uploads/2022/02/68GUN3000-610x610.png 610w" sizes="(max-width: 450px) 100vw, 450px"></a>
</div>
<div class="five-twelfth-inner column last post-content">
<h3 class="post-title"><a href="/flash... | HTML |
</PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
success</H3>
<PRE>
boolean <B>success</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
label</H3>
<PRE>
boolean <B>label</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
code</H3>
<PRE>
boolean <B>code</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<H3>
message</H3>
<PRE>
boolean <B>message</B></PRE>
<DL... | HTML |
�を遂げてきました。特に、Cloudflareのエンジニアリングチームは、MNMのトラフィック量の推定精度向上に多大な時間を投資しました。Magic Network Monitoringの早期アクセス版では、ネットワークトラフィック量の推定値が高すぎて、期待値と一致していないとお客様から予期していなかった報告がありました。<br><br>Magic Network Monitoringは、受信したNetFlowまたはsFlowデータを独自にサンプリングするため、Cloudflare のグローバルネットワーク全体で取り込まれたデータを効果的に拡張および管理できます。MNMによって解析されたNetFlowまたはsFlowデータはすでにサ... | HTML |
(ctoekn)
}
if x.Addition.CreditKey != "" {
x.SetCreditKey(x.Addition.CreditKey)
}
if x.Addition.DeviceID != "" {
x.Common.DeviceID = x.Addition.DeviceID
} else {
x.Addition.DeviceID = x.Common.DeviceID
op.MustSaveDriverStorage(x)
}
// 防止重复登录
identity := x.GetIdentity()
if x.identity != identity || !... | Go |
ght > 1.0e20) rescaleAllWeights = true;
dt += problem.vars.size();
for (size_t varIdx = 0; varIdx < problem.vars.size(); varIdx += 1)
forEachMove(varIdx, [&](Move& move) {
move.score += weightUpdateIncrement *
problem.vars[varIdx].objectiveCoeff *
... | C++ |
feature_without_bands = {
"type": "Feature",
"id": "ABC123",
"collection": "y",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[-48.3106, -15.3637],
[-48.3106, -16.4178],
[-47.2492, -16.4178],
[-47.2492, -15... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.