content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
* getScreenPixelsPerCSSPixel();
var low_dpr = 0.9 * getScreenPixelsPerCSSPixel();
should_apply("all and (" + max_name + ": " + real_dpr + ")");
should_apply("all and (" + min_name + ": " + real_dpr + ")");
should_not_apply("not all and (" + max_name + ": " + real_dpr + ")");
should_not_apply("not al... | HTML |
quired this.image,
required this.name,
required this.id,
required this.email,
});
late String image;
late String name;
late String id;
late String email;
MyUser.fromJson(Map<String, dynamic> json) {
image = json['image'] ?? '';
name = json['name'] ?? '';
id = json['id'];
email =... | Dart |
r("kk",-1,-1),new r("tt",-1,-1)],h=[new r("ene",-1,2),new r("se",-1,3),new r("en",-1,2),new r("heden",2,1),new r("s",-1,3)],k=[new r("end",-1,1),new r("ig",-1,2),new r("ing",-1,1),new r("lijk",-1,3),new r("baar",-1,4),new r("bar",-1,5)],v=[new r("aa",-1,-1),new r("ee",-1,-1),new r("oo",-1,-1),new r("uu",-1,-1)],q=[17,... | JavaScript |
b_srp_root_path *rp );
};
/** IB SRP root path components */
static struct ib_srp_root_path_parser ib_srp_rp_parser[] = {
{ ib_srp_parse_sgid },
{ ib_srp_parse_initiator_id_ext },
{ ib_srp_parse_initiator_hca_guid },
{ ib_srp_parse_dgid },
{ ib_srp_parse_pkey },
{ ib_srp_parse_service_id },
{ ib_srp_parse_lun }... | C |
::{Deserialize, Serialize};
use std::{fmt, net::SocketAddr};
use unwrap::unwrap;
const MSG_HEADER_LEN: usize = 9;
const MSG_PROTOCOL_VERSION: u16 = 0x0001;
/// Final type serialised and sent on the wire by QuicP2p
#[derive(Serialize, Deserialize, Debug, Clone)]
pub enum WireMsg {
EndpointEchoReq,
EndpointEcho... | Rust |
val mTvExceptionMessage = TextView(context).apply {
layoutParams = LinearLayout.LayoutParams(
LinearLayout.LayoutParams.MATCH_PARENT,
LinearLayout.LayoutParams.WRAP_CONTENT,
).apply {
leftMargin = 10.dp2px
}
textSize = 12F
setTextIsSelectable(true)
}
private val mScaleScrol... | Kotlin |
οἰκειότεροι καὶ ἐκ γενετῆς ὑπάρχουσι στέργοντες ἀλλήλους, καὶ ὅσῳ ὁμοηθέστεροι οἱ ἐκ τῶν αὐτῶν καὶ σύντροφοι καὶ παιδευθέντες ὁμοίως· καὶ ἡ κατὰ τὸν χρόνον δοκιμασία πλείστη καὶ βεβαιοτάτη.
<td>Friendship among brothers has all the features of friendship among comrades; and it has them more perfectly when ... | HTML |
notator_TEL" style="color:#000000; background-color:#CC66CC;" wa-id="5" wa-subtypes="" wa-type="TEL">281.286.6017</span>
<br>www.autosoln.com</p>
</div>
<div id="FooterRight">
<span id="dnn_dnnLinks_lblLinks"><a class="BOTTOM_LINKS" href="http://www.autosoln.com/Home/tabid/104/Default.aspx">Home</a> <span class="BOTTOM... | HTML |
er, event);
} catch (std::exception& e) {
qCritical() << "Exception thrown:" << e.what();
}
return false;
}
};
int main ( int argc, char*argv[] )
{
// if (!TestRunner::run()) exit(1);
ProjectMApplication app ( argc, argv );
QString config_file;
config_file = read_config();
QMutex audioMutex;
Q... | C++ |
!==d&&u.charCodeAt(x)!==47||(w.length===0?w+="..":w+="/..");return w.length>0?w+h.slice(m+v):(m+=v,h.charCodeAt(m)===47&&++m,h.slice(m))},"relative"),_makeLong:o(function(u){return u},"_makeLong"),dirname:o(function(u){if(a(u),u.length===0)return".";for(var h=u.charCodeAt(0),f=h===47,d=-1,p=!0,m=u.length-1;m>=1;--m)if(... | JavaScript |
数)",
"sayso":"许可,决定权",
"sayst":"<古>= sayest",
"Saytzeff rule":"[化] 扎伊采夫规则",
"sayuri":"n. (Sayuri)人名;(日)小百合(姓);(日)小百合(名)",
"sayville":" [地名] [美国] 塞维尔",
"saywell":" [人名] 塞韦尔",
"sayyed":" [地名] [哈萨克斯坦] 赛义德",
"sayyid":"n. 伊斯兰教主; 赛义德(对贵族出身等的伊斯兰教徒的尊称)",
"saz":"abbr. Sasstown, Liberia 利比里亚,萨斯敦机场(代码)",
"saza":"<乌干达语> n.萨扎(乌干达行政... | Typescript |
/* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2017-2018 Intel Corporation <www.intel.com>
*
*/
#ifndef _FIREWALL_S10_
#define _FIREWALL_S10_
struct socfpga_firwall_l4_per {
u32 nand; /* 0x00 */
u32 nand_data;
u32 _pad_0x8;
u32 usb0;
u32 usb1; /* 0x10 */
u32 _pad_0x14;
u32 _pad_0x18;
u32 spim0;
... | C |
code>, <code>PROCESSING_INSTRUCTION_NODE</code>, <code>COMMENT_NODE</code>,
<code>DOCUMENT_NODE</code>, <code>DOCUMENT_TYPE_NODE</code>, <code>DOCUMENT_FRAGMENT_NODE</code>, <code>NOTATION_NODE</code>.</p>
* @type Number
* @since 0.9 (Android), 0.9 (iPhone), 0.9 (iPad), 1.8 (Mobile Web), 3.1 (Tizen)
*/
... | JavaScript |
lassic View was located.
* @property node The semantics node associated with a Jetpack Compose component. If non-null, indicates
* that a Compose node with the given semantics tag was found.
*
* Only one of [viewRef] or [node] is expected to be non-null, depending on the UI framework used.
*/
class V... | Kotlin |
(i, 1);
}
}
if (this.listenList.length === 0) {
this.stopListen();
}
}
private static checkTag=false;
private static startListen(): void {
this.checkTag=true;
this.update()
}
private static update=()=>{
HtmlElementResizeHelper.checkSize();
if(HtmlElementResizeHelper.checkTag)
... | Typescript |
</ul>
<h2 id="inc-components">{% if lng == "fr" %}Composants inclus{% else %}Included components{% endif %}</h2>
<div class="wb-disable-allow" data-wb-json='{
"url": "#[api]",
"streamline": "true",
"mapping": [
{
"@type": "rdf:Alt",
"mapping": [
{
"template": "[data-yes]",
"test": "fn:isArra... | HTML |
func.blocks.insert(MilBlockId(4), create_test_block(MilBlockId(4), &[], &[], MilEndInstructionKind::Return(Some(MilOperand::RefNull))));
func.block_order = vec![MilBlockId(0), MilBlockId(1), MilBlockId(2), MilBlockId(3), MilBlockId(4)];
let mut cfg = FlowGraph::for_function(&func);
as... | Rust |
}),t.sansSerifBoldItalic=void 0;var e=T(768),r=T(4886);t.sansSerifBoldItalic=e.AddPaths(r.sansSerifBoldItalic,{305:"54 431Q63 458 102 458H127H149Q192 458 199 433Q201 427 201 229T199 25Q190 0 149 0H125L81 1Q61 7 54 28V431",567:"-38 -84Q-36 -84 -14 -95T33 -106H38Q70 -103 78 -86Q83 -78 83 -49T84 180Q84 427 86 433Q93 458 1... | JavaScript |
from uuid import UUID
import pytest
from supriya.patterns import (
ChainPattern,
Event,
EventPattern,
NoteEvent,
SequencePattern,
)
from .conftest import run_pattern_test
@pytest.mark.parametrize(
"stop_at, input_a, input_b1, input_b2, input_c, expected, is_infinite",
[
(
... | Python |
namespace Reloaded.Mod.Loader.Mods;
// ReSharper disable once InconsistentNaming
public class LoaderAPI : IModLoader
{
/* Controller to mod mapping for GetController<T>, MakeInterfaces<T> */
private readonly ConcurrentDictionary<Type, ModGenericTuple<object>> _controllerModMapping = new ConcurrentDictionary<Ty... | C# |
*} & 6B & 63.2 & 42.8 & 72.0 & 75.5 & 72.2 & 72.2 & 68.7 & 21.1 & 18.6 \\\\ & 34B & 76.3 & 54.3 & **81.4** & **83.7** & **82.8** & 80.7 & **76.5** & 32.1 & 40.8 \\\\ \\hline \\hline \\end{tabular}\n' +
'\\end{table}\n' +
'표 2: 오픈 소스 기반 모델과 비교하여 그룹화된 학술 벤치마크에 대한 전반적인 성능. **CR**는 상식 추론의 약자입니다. **RC**는 읽기 이해의... | HTML |
using Cumpilation.Common;
using RimWorld;
using rjw;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Verse;
namespace Cumpilation.Gathering
{
/// <summary>
/// Unlike `FluidGatheringBuilding` that works upon nearby sex, the PassiveFluid... | C# |
r7 # Zero-extend to 64 bits
ediv $5,r6,r1,r7 # Divide (cannot overflow)
/*
* Step 3: Divide the low-order part of (r0,r1) by 5,
* using the remainder from step 2 for rounding.
* Note that the result of this computation is unsigned,
* so we have to allow for the fact that an ordinary division
* by 5 could overfl... | Assembly |
ChampionshipNoPeriodDay = 0x406, // s_guild_ui_championship_no_period_day
GuildUiChampionshipNoPeriodTime = 0x407, // s_guild_ui_championship_no_period_time
GuildUiChampionshipMyParticipate = 0x408, // s_guild_ui_championship_my_participate
GuildUiChampionshipMemberParticip = 0x409, // s_guild_ui_championsh... | C# |
ping" },
{ 0x8879, "sonar_hint" },
{ 0x887A, "sonar_hint_2" },
{ 0x887B, "sonar_off" },
{ 0x887C, "sonar_on" },
{ 0x887D, "sonar_reset_dvars" },
{ 0x887E, "sonar_save_and_set_dvars" },
{ 0x887F, "sonar_vision" },
{ 0x8880, "sonar_vision_off" },
{ 0x8881, "sonar_vision_on" },
{ 0x... | C++ |
80%; white-space:nowrap;"><a href="./模板-东方文果真报导航.md" title="模板:东方文果真报导航"><span style=";;border:none;" title="查看这个模板">查</span></a> <span style="font-size:80%;">•</span> <a href="/index.php?title=%E6%A8%A1%E6%9D%BF:%E4%B8%9C%E6%96%B9%E6%96%87%E6%9E%9C%E7%9C%9F%E6%8A%A5%E5%AF%BC%E8%88%AA&action=edit"><span s... | Markdown |
type().id(), TypeIds::I32);
EXPECT_NE(fieldWithDefault.customDefault(), nullptr);
EXPECT_EQ(fieldWithDefault.customDefault()->asInt32(), 42);
const FieldDefinition& fieldWithoutDefault = def.asStruct().fields()[1];
EXPECT_EQ(
fieldWithoutDefault.identity(), def::Identity(2, "fieldWithoutDefault"));
EXP... | C++ |
'city': 'CARLTON',
'loc': [-87.837793, 31.322449],
'pop': 30,
'state': 'AL'
},
{
'_id': '36518',
'city': 'CHATOM',
'loc': [-88.269887, 31.487638],
'pop': 3094,
'state': 'AL'
},
{
'_id': '36521',
'city': 'CHUNCHULA',
'loc': [-88.13112599999999, 30.991178],
'pop... | Dart |
});
});
$("#toolbar-button-forward").click(function(){
browsing = true;
appHistory.forward();
});
$("#toolbar-button-forward").mouseover(function(evt){
popupFlag = true;
... | HTML |
_lr=1e-5' '--warmup=0.0032' '--plateau=0.0' '--dataset=allenai/c4' '--tokenizer=mistralai/mathstral-7B-v0.1' '--epochs=3' '--checkpoint_dir=./checkpoints/mathstral-7B' '--resume_from_checkpoint=./checkpoints/mathstral-7B' '--checkpoint_freq=50' '--validation_freq=500' '--dataset_config_name=en' '--limit_all_gathers=1' ... | Markdown |
|10193|S|QO|1|M|24.28,72.93|N|Kill 2 Sunfury Warp-Masters walking around the Sunfury Geologists.|REP|Scryers;934|
K Sunfury Geologists|QID|10193|QO|3|M|24.31,72.82|N|Best place to find the Sunfury Geologists.|REP|Scryers;934|
K Sunfury Warp-Masters|QID|10193|US|QO|1|M|24.28,72.93|N|Kill 2 Sunfury Warp-Masters walking a... | Lua |
; i2++) {
*(newPalette+i2) = colorTable[*(newPalette+i2) % 0x8000];
}
// GB/GBC
newPalette = (u16*)icon_gbPal;
for (int i2 = 0; i2 < 16; i2++) {
*(newPalette+i2) = colorTable[*(newPalette+i2) % 0x8000];
}
// NES
newPalette = (u16*)icon_nesPal;
for (int i2 = 0; i2 < 16; i2++) {
*(newPalette+i2) = colorTa... | C++ |
XHTML: false,
dontEncodeNonLatin: false,
addMissingSpaces: false,
convertDotsToEllipsis: false,
stripHtml: false,
eol: false,
};
//
// vars and internal functions
// --------------------------------------------------------------------------
let endOfLineVal: EndOfLineVal = "\n";
if (op... | Typescript |
x y z = ap (_, g · z) (f .snd .is-group-hom.pres-⋆ _ _) ∙ t-pres-*l
bilin .Bilinear.pres-*r x y z = ap (f · x ,_) (g .snd .is-group-hom.pres-⋆ _ _) ∙ t-pres-*r
Ab-tensor-functor .F-id = ext λ _ _ → refl
Ab-tensor-functor .F-∘ f g = ext λ _ _ → refl
Tensor⊣Hom : (A : Abelian-group ℓ) → Bifunctor.Left Ab-tensor-fu... | Markdown |
:"inline-block"});m(v,"tap",r);m(v,"click",r);q=f.appendChild(d.createElement("div"));q.id="rnr-feedback-inner";e.call(q,{width:"310px",height:"auto","float":"right","min-height":"205px",background:"white",position:"relative",border:"1px solid #ab8e66",padding:"20px 0"});m(t,"tap",r);m(t,"click",r);y()},ka=function(){j... | HTML |
int n_rg;
strscan.skip(1); // skip '('
n_rg = strscan.readInt1();
while (n_rg-- > 0)
_bmol->allowRGroupOnRSite(i, strscan.readInt1());
}
else if (strcmp(prop, "ATTCHPT") == 0)
... | C++ |
u",
"Unchecked" : "Chene verìfica",
"Scanner exit status" : "Istadu de essida de s'iscansionadore",
"Scanner output" : "Essida de s'iscansionadore",
"Saving…" : "Sarvende...",
"Antivirus" : "Antivirus",
"File {file} is infected with {virus}" : "S'archìviu {file} est impestadu cun {virus}",
"... | JavaScript |
test('Should return 500 if DeleteClient throws ',async () => {
const { sut, deleteClientStub } = makeSut()
jest.spyOn(deleteClientStub, 'delete').mockReturnValueOnce(new Promise((resolve,reject) => reject(new Error())))
const httpResponse = await sut.handle({
params: {
id: 'any_id'
}
... | Typescript |
です!",
"favorites": "お気に入り",
"dark": "ダーク",
"home": "ホーム",
"cancel": "キャンセル",
"by": "開発者",
"streamingQuality": "ストリーミング品質",
"linkPipedDes": "再生リストをPipedで同期",
"libPlaylists": "再生リストのライブラリ",
"disabled": "無効",
"CreateNewPlaylist": "再生リストを作成",
"blacklistPlstResetAlert": "初期化しました!"... | Dart |
AssertExtensions.Throws<ArgumentOutOfRangeException>("matchTimeout", () => new Regex("foo", RegexOptions.None, TimeSpan.Zero));
AssertExtensions.Throws<ArgumentOutOfRangeException>("matchTimeout", () => new Regex("foo", RegexOptions.None, TimeSpan.FromMilliseconds(int.MaxValue)));
if (PlatformD... | C# |
table {
font-family: arial, sans-serif;
border-collapse: collapse;
width: 90%;
}
td{
border: 1px solid black;
padding: 5px;
text-align: center;
}
th {
text-align: center;
color: white;
bord... | HTML |
ceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin" title="Buzz Aldrin">Buzz Aldrin</a>, on the Moon on July... | HTML |
{
case 'CNAB 240':
return '0';
break;
case 'CNAB 400':
return '1';
break;
default:
return null;
}
}
getAceite(String aceite) {
switch (aceite) {
case 'S':
return 'Sim';
break;
case 'N':
return 'Não';
break... | Dart |
finder.
* @param exp Expected number of addresses.
*/
private void checkRequestAddresses(TcpDiscoveryMulticastIpFinder ipFinder, int exp) {
for (int i = 0; i < 10; i++) {
if (ipFinder.getRegisteredAddresses().size() == exp)
return;
}
assertEquals(exp, ... | Java |
section"><span class="mw-editsection-bracket">[</span><a href="/w/index.php?title=%D7%A0%D7%92%D7%99%D7%A9%D7%95%D7%AA_%D7%90%D7%99%D7%A0%D7%98%D7%A8%D7%A0%D7%98&action=edit&section=6" title="עריכת פסקה: הערות שוליים">עריכת קוד מקור</a><span class="mw-editsection-divider"> | </span><a href="/w/index.php?title=%... | HTML |
t-content" id="Good_End_No._02-9" data-pos="["Good End No. 02",9]"><td id="博丽灵梦" class="tt-char" lang="zh"><div class="poem">博丽灵梦</div></td><td class="tt-ja" lang="ja"><div class="poem">じょ~だんよ、じょ~だん<i class="touhou98">❤</i></div></td><td class="tt-zh" lang="zh"><div class="poem">开玩笑的啦,开玩笑的<i cl... | Markdown |
writeln(errorLine);
//
// for (var i = 0; i < errorColumn; i++) builder.write(" ");
// for (var i = 0; i < errorLength; i++) builder.write("^");
builder.writeln();
return builder.toString();
}
}
/// An error class that collects multiple [AnalyzerError]s that are emitted
/// during a single... | Dart |
#ifndef SPEETER_SPLEETER_H_
#define SPEETER_SPLEETER_H_
#include <string>
#include <memory>
#include <unordered_set>
#include <Eigen/Core>
#include "spleeter_common/spleeter_common.h"
namespace spleeter {
/// Split the input waveform into vocals and accompaniment
/// \param input the input waveform
/// \param vocal... | C |
令地址。选项 B 说法正确。`,
p`对于选项 C,两个进程是并发的,是指这两个进程在时间上交错或重叠执行,显然,这种情况下它们的逻辑控制流在时间上是交错或重叠的。选项 C 说法正确。`,
p`对于选项 D,虽然链接时机器代码已被映射到虚拟地址空间,即每条指令的虚拟地址已经确定,但是,在执行过程中 CPU 应该执行哪些指令还取决于所操作的数据,而有些数据可能是进程执行过程中动态获得的,因而进程的逻辑控制流也会随着不同数据的输入而不同。因而选项 D 的说法是错误的。`
),
section('第 4 题')(
p`进程上下文指进程的... | Typescript |
aram = {},
spawn = {
{
monsterTemplateID = 111028,
score = 0,
reinforceDelay = 7,
delay = 0,
moveCast = true,
corrdinate = {
-15,
0,
70
}
},
{
monsterTemplateID = 111031,
reinforceDelay = 7,
delay = 0,
... | Lua |
linkedin.com/blog/2017/12/couchbase-ecosystem-at-linkedin)
* [SimpleDB at Zendesk](https://medium.com/zendesk-engineering/resurrecting-amazon-simpledb-9404034ec506)
* [Espresso: Distributed Document Store at LinkedIn](https://engineering.linkedin.com/espresso/introducing-espresso-linkedins-hot-new-distributed-docum... | Markdown |
e) *Node {
return &Node{
isRootNode: true,
Character: character,
Children: make(map[rune]*Node, 0),
}
}
// IsLeafNode 判断是否叶子节点
func (node *Node) IsLeafNode() bool {
return len(node.Children) == 0
}
// IsRootNode 判断是否为根节点
func (node *Node) IsRootNode() bool {
return node.isRootNode
}
// IsPathEnd 判断是否为某个... | Go |
>
where
T: AnimationSampling,
T::Channel: DeserializeOwned + Serialize,
T::Primitive: DeserializeOwned + Serialize,
{
type SystemData = (
ReadExpect<'a, Loader>,
Read<'a, AssetStorage<Sampler<T::Primitive>>>,
Read<'a, AssetStorage<Animation<T>>>,
);
type Result = Handle<A... | Rust |
background-size: cover;
background-position: center right;
}
}
@media screen and (max-width: 1000px) {
.catalog-page__boxes {
grid-template-columns: repeat(3, 1fr);
}
.c-item-img {
position: unset;
top: 32px;
right: 24px;
}
.news__boxes {
grid-template-columns: repeat(1, 1fr);
}
.news__left {... | CSS |
是免费送书!
**活动规则:**
- 文末点赞/再看本篇推文,并在评论区留言,说说你和R语言的故事,留言点赞数最多的**前3名**小伙伴将免费获取《R语言临床预测模型实战》1本
- 截止时间:2023.2.27晚8点
**注意事项:**
- 中奖的小伙伴请在24小时内添加小编微信,逾期将自动顺延给下一位,添加时请务必备注学校-专业-昵称。前几天在我们的QQ交流群中有小伙伴提出合并LUAD和LUSC数据时报错:

使用的是我推文中的教程:[新版... | Markdown |
var(--loader-size);height:var(--loader-size);min-width:0;border:3px solid;border-color:#eee #bbb #888 transparent;border-radius:50%;animation:rotateLoader .4s infinite linear;margin:0 .5em 0 -.1em}.tagify__tag--flash div::before{animation:none}.tagify__tag--hide{width:0!important;padding-left:0;padding-right:0;margin-l... | CSS |
1 -DCK28 -verify -fopenmp -fopenmp-targets=i386-pc-linux-gnu -x c++ -triple i386-unknown-unknown -emit-llvm %s -o - | FileCheck -allow-deprecated-dag-overlap %s --check-prefix CK28 --check-prefix CK28-32
// RUN: %clang_cc1 -DCK28 -fopenmp -fopenmp-targets=i386-pc-linux-gnu -x c++ -std=c++11 -triple i386-unknown-unkno... | C++ |
0, top: 8, bottom: 8),
child: Center(
child: Text(
'content',
style: TextStyle(
fontSize: 12,
fontWeight: FontWeight.w500,
color: Colors.white),
... | Dart |
nd(_flags[i], s1[i]));
}
s1 = sb.ToString();
// string s = tostring(flags);
sb.Clear();
for (int i = 0; i < _flags.Count(); i++)
{
sb.Append(Or(s[i], s1[i]));
}
_flags = sb.ToString();
// ... | C# |
.raw.create_icon_pack)
.writeTo(workDir.createFileAndOpenStream(contentResolver, "", "create_icon_pack.sh"))
context.resources
.openRawResource(R.raw.dummy)
.writeTo(workDir.createFileAndOpenStream(contentResolver, "", "dummy.jks"))
context.resources
.openRawResource(R.raw.cl... | Kotlin |
2 3
1 7 6 2
1 7 5 6
bdFlag =
0 1 0 0
0 0 0 0
1 0 0 0
</pre><img vspace="5" hspace="5" src="bddoc_03.png" alt=""> <p>The top and bottom of the prism is set as Dirichlet boundary condition and other faces are zero flux boundary condition.... | HTML |
37s-0.018 5.652-0.018 6.983c0 0.418-2.919 8.302-2.919 8.302l9.433 4.725c0 0-1.691 2.934-3.544 2.934s-17.363 0.019-21.236 0.019c-1.797 0-3.545-2.953-3.545-2.953l9.476-4.782c0 0-2.971-7.598-2.971-8.245 0-1.663-0.037-7.038-0.037-7.038s0.907-5.316 5.337-5.316z"></path>
</symbol>
<symbol id="svg-icon-radio" viewBox=... | HTML |
ahil ang enerhiyang kailangan para mag-propose at mag-validate ng isang block ay hindi nakasalalay sa bilang ng mga transaksyon dito. Sa unit na kada transaksyon ng paggamit ng enerhiya, ipinagpapalagay na mas maliit ang magagamit na enerhiya kapag mas kaunti ang mga transaksyon at vice-versa, na hindi naman totoo. Gay... | Markdown |
valid.retailer0122TZHN7RSZPFAR3K/confirm520458125303710540115802ZA5916cryptoqrtestscan6002CT63049FB8';
expect(MoneyBadgerValidator.isValidRetailerQR(qrData), false);
});
test('converts Pick n Pay QR to Lightning address on mainnet', () {
const qrData =
'00020129530023za.co.electrum.pickn... | Dart |
/*++
Copyright (c) 2016 Minoca Corp.
This file is licensed under the terms of the GNU General Public License
version 3. Alternative licensing terms are available. Contact
info@minocacorp.com for details. See the LICENSE file at the root of this
project for complete licensing information.
Module Name:... | Assembly |
-type.yml"}
stdout = ""
stderr = ""
main()
So(stderr, ShouldEqual, `4 error(s) detected:
- $.properties.homework.list: path meta.list is of type slice, which cannot be used in calculations
- $.properties.homework.map: path meta.map is of type map, which cannot be used in calculations
- $.properties.h... | Go |
0, 0 # encoding: [0xed,0x00,0x00,0x00,0x00,0x09]
#CHECK: ceb %f0, 4095 # encoding: [0xed,0x00,0x0f,0xff,0x00,0x09]
#CHECK: ceb %f0, 0(%r1) # encoding: [0xed,0x00,0x10,0x00,0x00,0x09]
#CHECK: ceb %f0, 0(%r15) # encoding: [0xed,0x00,0xf0,0x00,0x00,0x09]
#CHECK: ceb %f... | Assembly |
" name="info" class="display-none"></ix-icon>
</ix-date-input>
</div>
</div>
<script>
function displayInputs() {
const containers = document.getElementsByClassName('input-container');
for (const container of containers) {
container.style.display = 'block';
... | HTML |
## 関連情報
- [`prefers-contrast`](/ja/docs/Web/CSS/@media/prefers-contrast): ユーザーのコントラストの環境設定に基づいてページスタイルを調整
- [`prefers-reduced-transparency`](/ja/docs/Web/CSS/@media/prefers-reduced-transparency)
- [`prefers-color-scheme`](/ja/docs/Web/CSS/@media/prefers-color-scheme)
- [`inverted-colors`](/ja/docs/Web/CSS/@media/inve... | Markdown |
(nil)
require.NoError(t, err)
_, err = uni.migrationTestCoordinator.FulfillRandomWords(uni.neil, requestID)
require.NoError(t, err)
uni.backend.Commit()
rw, err := consumerContract.SRandomWords(nil, big.NewInt(0))
require.NoError(t, err)
return requestID, rw
}
func TestVRFV2PlusIntegration_CancelSubscription... | Go |
/static_pages_controller.rb
class StaticPagesController < ApplicationController
def home
@micropost = current_user.microposts.build if logged_in?
end
def help
end
def about
end
def contact
end
end
```
当然,current_user仅仅当用户登陆时才存在,所以@micropost变量应该仅仅在这种情形下定义。
另一个变化是让清单11.37工作是重定义错误信息视图片段,这样清单11.37里... | Markdown |
outline: none;
}
.k-breadcrumb-root-link {
margin-right: @breadcrumb-root-link-spacing;
}
.k-breadcrumb-icon-link {
padding: @breadcrumb-icon-link-padding-y @breadcrumb-icon-link-padding-x;
}
.k-breadcrumb-icontext-link .k-icon {
margin-right: @breadcrumb-link-icon-spa... | CSS |
int w = metrics.Width(num[i-1]);
ptr.DrawText(new QPointF(i*step-w/2, DISTANCE), num[i-1]);
}
}
}
```
在这个文件中,我们创建了刻录小部件。
```cs
public class Burning : QWidget
{
...
```
自定义窗口小部件基于`QWidget`类。
```cs
const int PANEL_HEIGHT = 30;
const int DISTANCE = 19;
const int LINE_WIDTH = 5;
const... | Markdown |
arDialog : public wdgTitleBarWindow {
public:
explicit wdgTitleBarDialog(QWidget *parent = nullptr);
~wdgTitleBarDialog() override;
};
#endif /* WDGWINDOW_HPP_ */
/*
* Copyright (C) 2010-2026 Fabio Cavallo (aka FHorse)
*
* This program is free software; you can redistribute it and/or modify
* it under the ... | C++ |
import os
import unittest
import json
from typing import Dict
import jc.parsers.proc_iomem
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
class MyTests(unittest.TestCase):
f_in: Dict = {}
f_json: Dict = {}
@classmethod
def setUpClass(cls):
fixtures = {
'proc_iomem': (
... | Python |
%r9
c %r6,4095(%r5,%r10)
cd %f6,4095(%r5,%r10)
cdb %f6,4095(%r5,%r10)
cdbr %f6,%f9
cdfbr %r6,%f9
cdr %f6,%f9
cds %r6,%r9,4095(%r5)
ce %f6,4095(%r5,%r10)
ceb %f6,4095(%r5,%r10)
cebr %f6,%f9
cefbr %r6,%f9
cer %f6,%f9
cfc 4095(%r5)
cfdbr %f6,5,%r9
cfebr %f6,5,%r9
cfxbr %f6,5,%r9
ch %r6,4095(%r5,%r10)
ch... | Assembly |
11000001-00101111-01110111-11100111
// CHECK-INST: sdot za.s[w11, 7, vgx2], { z31.b, z0.b }, z15.b
// CHECK-ENCODING: [0xe7,0x77,0x2f,0xc1]
// CHECK-ERROR: instruction requires: sme2
// CHECK-UNKNOWN: c12f77e7 <unknown>
sdot za.s[w11, 7], {z31.b, z0.b}, z15.b // 11000001-00101111-01110111-11100111
// CHECK-INST... | Assembly |
class TokensMenu extends ConfigMenu {
getMenuParts() { // config) {
// this.config = config;
const ts = 'tokenSettings';
const menu = 'tsMenu';
const optionRows =
this.makeToggleSetting({
path: `${ts}.number`, title: 'Numbered Tokens', menuCmd: menu,
}) +
this.ma... | JavaScript |
transfer approaches on the downstream maze task. Through learned skill embeddings and skill priors our method can explore the environment more widely than randomly sampling learned skills ("Skills w/o Prior") or learning priors over primitive actions ("Flat Prior"). Uniformly random exploration in primitive action spa... | HTML |
/* Linux close syscall implementation -- non-cancellable.
Copyright (C) 2018-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by t... | C |
i] = nr_class;
y_index[i] = prob.y[i];
index[i] = i;
}
DoubleArrayPointer alpha_i = new DoubleArrayPointer(alpha, 0);
IntArrayPointer alpha_index_i = new IntArrayPointer(alpha_index, 0);
while ( iter < max_iter ) {
double stopping = Double.NEGATIVE_INFINITY;
... | Java |
min == null,
minB = min - EPSILON,
maxB = max + EPSILON;
// We need to include EPSILON in the comparisons with min / max,
// as some solutions are ever so lightly out of bounds.
if (isFinite(x1) && (boundless || x1 > minB && x1 < maxB))
roots[count++] = boundless ? x1 : clamp(x1, min, max);
if (x2 !== x1
&... | Typescript |
ry {
// 判断Key是否正确
if (sKey == null) {
//Log.e("Key为空null", "Key为空null");
return null;
}
// 判断Key是否为16位
if (sKey.length() != 16) {
//Log.e("\"Key长度不是16位\"", "Key长度不是16位");
return null;
... | Java |
oe? (Takes the shoe into the kitchen) Marcel, bad monkey! Oh! Oh! (She notices the
newsletter and taps the contents of the shoes onto it, then folds it shut) Sorry, Barry.
Little engagement gift. I'm sure you didn't register for that. (She leaves the apartment
holding the newsletter at arm's length. However, she leaves... | HTML |
= b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *LaunchIDFromVerifiedClientID) XXX_Merge(src proto.Message) {
xxx_messageInfo_LaunchIDFromVerifiedClientID.Merge(m, src)
}
func (m *LaunchIDFromVerifiedClientID) XXX_Size() int {
return m.Size... | Go |
Insets.only(left: 10)),
],
),
16.height,
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Container(
width: 13... | Dart |
<summary>
/// 渠道
/// </summary>
[XmlElement("partner_org_id")]
public string PartnerOrgId { get; set; }
/// <summary>
/// 保险合作商信息
/// </summary>
[XmlElement("partner_organization")]
public InsPartnerOrganization PartnerOrganization { get; set; }
... | C# |
while (read < kWriteSize) {
ASSERT_OK(seq_file->Read(kWriteSize - read, &result, scratch));
read_data.append(result.data(), result.size());
read += result.size();
}
ASSERT_TRUE(write_data == read_data);
delete[] scratch;
}
} // namespace rocksdb
int main(int argc, char** argv) {
::testing::InitG... | C++ |
ters_5"><a name="Head4;"></a> <a name="1029358"> Parameters </a></h5>
<p><a name="1029364"> This function has the following parameter:</a></p>
<table>
<tbody>
<tr>
<td>
<pre>
<a name="1029361"></a><a name="1029364">slot</a></pre>
</td>
<td>
<p><a name="1029363"> A pointer to a sl... | HTML |
String input = "c4c4c16c4c4c4c16c16c8c8c4c4c16c16c4c4c4";
String expect = "ccc16cccl16ccc8c8c4c4ccl4ccc";
checkMMLStringOptimize(input, expect);
}
@Test(timeout=TIMEOUT)
public void testOptimize_3() {
String input = "c16c16c16c16c1c1c1c1c16";
String expect = "l16ccccl1ccccc16";
checkMMLStringOptimize(... | Java |
0) {
throw new FirestoreError(
Code.INVALID_ARGUMENT,
`Invalid collection ID '${collectionId}' passed to function ` +
`collectionGroup(). Collection IDs must not contain '/'.`
);
}
return new Query(
firestore,
/* converter= */ null,
newQueryForCollectionGroup(collectionId)
... | Typescript |
shortcut to Origin Realm AVP */
AAA_AVP *dest_host; /**< shortcut to Destination Host AVP */
AAA_AVP *dest_realm; /**< shortcut to Destination Realm AVP */
AAA_AVP *res_code; /**< shortcut to Result Code AVP */
AAA_AVP *auth_ses_state; /**< shortcut to Authorization Session State AVP */
AAA_AVP_LIST avpLis... | C |
r := c.packScalarToVar(s)
res.ScalarMulBase(c.api, varScalar, opts...)
return res
}
// MultiScalarMul computes ∑scalars_i * P_i and returns it. It doesn't modify
// the inputs. It returns an error if there is a mismatch in the lengths of the
// inputs.
func (c *Curve) MultiScalarMul(P []*G1Affine, scalars []*Scalar,... | Go |
rd_component.dart';
part 'dashboard_tab.g.dart';
@HiveType(typeId: 9)
class DashboardTab extends HiveObject {
static Map<String, IconData> availableIcons = {
'settings': Icons.settings,
'dashboard': Icons.dashboard,
'info': Icons.info,
'tach': FlutterIcons.tachometer_faw,
'sliders': FlutterIcons... | Dart |
(v.y);
expect(w.z).to.be.eql(v.z);
expect(w.w).to.be.eql(v.w);
});
});
describe('Arithmetic Operations', () => {
it('should add one vector to another properly', () => {
const a = new Vector4(5, 7, 11, 13);
const b = new Vector4(17, 19, 23, 29);
a.add(b);
expect(a).to.be.e... | Typescript |
)}</code>
""".trimIndent(),
appPackages = appArgs.appPackages,
beforeApkSizeInKb = (appArgs.beforeApk.length() / 1024).toInt(),
afterApkSizeInKb = (appArgs.afterApk.length() / 1024).toInt(),
beforeFilesCount = beforeFiles.size,
... | Kotlin |
5 2.581 0 5.138-1.129 5.875-4.517h-3.041c-.438 1.475-1.566 2.051-2.673 2.051ZM100.517 14.928h-3.571l-4.517 4.977V10.62H89.25v16.704h3.179v-3.732l1.521-1.636 3.249 5.368h3.571l-4.7-7.649 4.447-4.747zM105.376 10.62h-3.295v16.704h11.428v-2.673h-8.133V10.62zM123.07 16.518c-.668-1.175-1.936-1.866-3.503-1.866-3.018 0-5.46 2.... | CSS |
Cheese Puffs](../../index/m/mushroom-cheese-puffs.json)
* [Olive Puffs](../../index/o/olive-puffs.json)
* [Parmesan Cheese Puffs](../../index/p/parmesan-cheese-puffs.json)
* [Parmesan Puffs](../../index/p/parmesan-puffs.json)
* [Party Corned Beef Puffs](../../index/p/party-corned-beef-puffs.json)
* [Pecan Puffs I... | Markdown |
1(), p2()
*/
/*!
\fn void QLineF::setPoints(const QPointF &p1, const QPointF &p2)
\since 4.4
Sets the start point of this line to \a p1 and the end point of this line to \a p2.
\sa setP1(), setP2(), p1(), p2()
*/
/*!
\fn void QLineF::setLine(qreal x1, qreal y1, qreal x2, qreal y2)
\since 4... | C++ |
ye, M., Andreassen, A. J., Gur-Ari, G., Michalewski, H., Austin, J., Bieber, D., Dohan, D., Lewkowycz, A., Bosma, M., Luan, D., et al. show your work: Scratchpads for intermediate computation with language models. _ arXiv preprint arXiv:2112.00114_, 2021.\n' +
'* OpenAI(2022) OpenAI. Chatgpt: Optimizing language ... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.