content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
b+2+1], v[v_sld_b_os] offset:5120 ; load i_k:2 into local buffer 0, repeat 1
s_waitcnt lgkmcnt(5)
v_mfma_f32_4x4x4f16 a[a_c+0:a_c+3], v[v_a+8:v_a+9], v[v_b+4:v_b+5], a[a_c+0:a_c+3] ; repeat:0x0, step:0x0, num_a_c:4
buffer_load_short_d16 v[v_gld_b+15], v[v_in_os], s[s_p_in:s_p_in+3], s[s_in_offset+13] of... | Assembly |
rInputCompleted, gaEventCategory ] );
return (
<Layout title={ __( 'Key Metrics', 'google-site-kit' ) } header rounded>
<div className="googlesitekit-settings-module googlesitekit-settings-module--active googlesitekit-settings-user-input">
{ isUserInputCompletedLoading && (
<PreviewBlock
width="10... | JavaScript |
Indent = max(getTextWidth(), lineWidth / 4F)
val layout = StaticLayout.Builder.obtain(text, 0, text.length, paint, lineWidth).setLineSpacing(lineSpacingExtra, lineSpacingMultiplier).setIncludePad(false).build()
val maxLine = layout.lineCount - 1
for (line in 0..maxLine) {
val lineTex... | Kotlin |
imit[0]); err != nil {
panic(fmt.Sprintf("Bad time_range Type. err: %s", err.Error()))
}
if endTime, err = time.Parse(timeFormat, timeLimit[1]); err != nil {
panic(fmt.Sprintf("Bad time_range Type. err: %s", err.Error()))
}
if valTime, err = time.Parse(timeFormat, fl.Field().String()); err != nil {
return fal... | Go |
.api.experimental.kotlin.StandaloneKotlinJvmLibraryPlugin"
tags = setOf("declarative-gradle", "kotlin-multiplatform")
}
create("kotlin-application") {
id = "org.gradle.experimental.kotlin-jvm-application"
displayName = "Kotlin JVM Application Experimental Declarative ... | Kotlin |
cut":"Keyboard shortcut"},"about":{"copy":"Copyright © $1. Бар хокуклар сакланган","dlgTitle":"CKEditor турында","help":"Ярдәм өчен $1 тикшереп карагыз.","moreInfo":"For licensing information please visit our web site:","title":"CKEditor турында","userGuide":"CKEditor кулланмасы"},"basicstyles":{"bold":"Калын","it... | JavaScript |
1 Depth=1
movl 64(%rbp), %eax
addl -76(%rbp), %eax
movl %eax, -80(%rbp)
movslq -76(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
cmpl -80(%rbp), %eax
je LBB12_5
## %bb.3:
movl -76(%rbp), %esi
movl -80(%rbp), %edx
movslq -76(%rbp), %rax
movl -48(%rbp,%rax,4), %ecx
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _pr... | Assembly |
;margin:0;overflow:auto}#pm_composer .composer.maximized footer,#pm_composer .composer.maximized header{border-radius:0}#pm_composer .composer.attachmentsOpen.moreAttachments .previews{height:111px;overflow:auto}#pm_composer .composer .dotdotdot{display:none}#pm_composer .composer.blur{-webkit-box-shadow:1px 1px 3px rg... | CSS |
r_panic!(conn.transaction());
or_panic!(trans.execute("INSERT INTO foo (id) VALUES ($1)", &[&1i32]));
trans.set_commit();
assert!(trans.finish().is_ok());
let stmt = or_panic!(conn.prepare("SELECT * FROM foo"));
let result = or_panic!(stmt.query([]));
assert_eq!(vec![1i32], result.map(|row| ro... | Rust |
;
rec.args.push(it.args[1 + i * 2]);
if (i == tags.get(it.tag) / 2 - 1) {
lx = it.args[0 + i * 2]//+lx;
ly = it.args[1 + i * 2]//+ly;
}
//
}
} else {
rec.args.push(it.args[0]);
... | Typescript |
val vDetInst = getInstance.invoke(null)
val addVisibilityListener = vDetector.getDeclaredMethod("addVisibilityListener", View::class.java)
addVisibilityListener.isAccessible = true
addVisibilityListener.invoke(vDetInst, viewReference)
val destroy = vDe... | Kotlin |
}
#[test]
fn insert_into_empty_map() {
let mut range_map: RangeMap<u32, bool> = RangeMap::new();
range_map.insert(0..50, false);
assert_eq!(range_map.to_vec(), vec![(0..50, false)]);
}
#[test]
fn new_same_value_immediately_following_stored() {
let mut range_map... | Rust |
/*
* Copyright (c) 2017, Intel Corporation
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <xtensa_asm2_s.h>
#include <zephyr/offsets.h>
#include <zephyr/zsr.h>
#if defined(CONFIG_SIMULATOR_XTENSA) || defined(XT_SIMULATOR)
#include <xtensa/simcall.h>
#endif
/*
* xtensa_spill_reg_windows
*
* Spill all regis... | Assembly |
"#;#v#a#r# #_#M#H#p#1#;# #v#a#r# #_#W#d#0#;#f#o#r# #(#v#a#r# #_#W#f#3#=#0#;# #_#W#f#3# #<# #_#L#f#6#.#l#e#n#g#t#h#;# #_#W#f#3# #+#=# #1#)#{#_#M#H#p#1#=#_#L#f#6#[#_#W#f#3#]#;#i#f# #(#_#M#H#p#1# #<# #1#2#8#)#{#_#W#d#0#=#_#M#H#p#1#;#}# #e#l#s#e# #{#_#W#d#0#=#_#A#P#a#5#[#_#M#H#p#1#]#;#}#_#J#H#m#9#.#p#u#s#h#(#S#t#r#i#n#g#[#... | JavaScript |
getPosition (WriteFileBuffer_t *wfb)
{
#if defined(DEBUG)
fprintf (stderr, "WriteFileBuffer_getPosition (%p)\n", wfb);
#endif
return wfb->lastWrittenLocation+wfb->numElements*wfb->sizeElement;
}
void WriteFileBuffer_write (WriteFileBuffer_t *wfb, const void* data)
{
size_t offset;
#if defined(DEBUG)
fprintf (stde... | C |
0.5;
}
.VanityLoadoutPopup .HudWeaponInspect__border
{
height: 100%;
width: 100%;
border-left: 5px solid white;
}
.VanityLoadoutPopup #jsWeaponInspectImagePanel
{
height: 100%;
width: 100%;
}
.VanityLoadoutPopup #VanityLoadout__interior
{
width: 100%;
height: 100%;
padding: 20px;
}
.VanityLoadoutPopup #Van... | CSS |
tomInput",
attachControl: () => undefined,
detachControl: () => undefined,
checkInputs: () => undefined,
};
});
it("should remove attached input", () => {
manager.add(input);
// manager should have attached i... | Typescript |
using OverCloudAirways.BuildingBlocks.Application.Commands;
using OverCloudAirways.BuildingBlocks.Domain.Abstractions;
using OverCloudAirways.BuildingBlocks.Infrastructure.CosmosDB;
using OverCloudAirways.PaymentService.Domain.Invoices;
using OverCloudAirways.PaymentService.Domain.Payments;
namespace OverCloudAirways... | C# |
h_count += 1;
Some(h)
};
(
h_fn(x1i, y1i),
h_fn(x1i, y2i),
h_fn(x2i, y1i),
h_fn(x2i, y2i),
)
};
if h_count == 0 {
return None;
}
let h_avg = h_... | Rust |
iter.parent.Valid() {
iter.skipCacheDeletes(nil)
return iter.cache.Valid()
}
// Parent is valid.
if !iter.cache.Valid() {
return true
}
// Parent is valid, cache is valid.
// Compare parent and cache.
keyP := iter.parent.Key()
keyC := iter.cache.Key()
switch iter.compare(keyP, keyC) {
ca... | Go |
//
// UNotifivationManager.h
// Alarm_Clock_UserNotifications
//
// Created by 欧阳荣 on 2017/5/24.
// Copyright © 2017年 欧阳荣. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UserNotifications/UserNotifications.h>
#define categryLaterIdf @"categryIdentiferLater"
#define categryStopIdf @"categryIden... | C |
{"210", "<pre><textarea></textarea><code class=\"language-go hljs\">this is code</code></pre>", "```go\nthis is code\n```\n"},
{"209", "<figure> <img alt=\"c03f001.eps\" class=\"center\" src=\"https://www.w3schools.com/tags/pic_trulli.jpg\"> <figcaption><p><a id=\"figure3-1\" href=\"#figureanchor3-1\"><b>Figure 3-1:</... | Go |
jZQ== LXJlbGF0ZWQ= X0FSRw== IHZvcg== IExlc3Nlcg== X09Q U2VyaWFsaXplcg== IHVwZ3JhZGU= TGlnaHQ= IGNvZGVz Kys7DQo= IHdyaXRlcw== Zm9vZA== IMOpdA== QHNlY3Rpb24= IHRyYWNrcw== IHNlcmlvdXNseQ== Y2h0 NDMw KHNpemVvZg== IGltbWVkaWF0ZQ== IHNjaWVudGlzdHM= IHsk X25l LkFuY2hvclN0eWxlcw== IGFjY29tbW9k IEhhcnJ5 IHNpZ2h0 IFBhbGVzdA== ZX... | JavaScript |
te-1
// #docregion heroes-ngfor-1
<li *ngFor="let hero of heroes">
// #enddocregion heroes-ngfor-1
// #docregion class-selected-1
[class.selected]="hero == selectedHero"
// #enddocregion class-selected-1
// #docregion class-selected-2
<li *ngFor="let hero of heroes"
[class.selected]="hero == selectedHero"
(click... | Dart |
6A5.5,5.5 0 0,0 13,11.5C13,12.83 13.47,14.05 14.26,15H9.74C10.53,14.05 11,12.83 11,11.5A5.5,5.5 0 0,0 5.5,6A5.5,5.5 0 0,0 0,11.5A5.5,5.5 0 0,0 5.5,17H18.5A5.5,5.5 0 0,0 24,11.5A5.5,5.5 0 0,0 18.5,6Z",
MaterialIconKind.Volcano => "M18 8H11L9 13H6L2 22H22L18 8M13 1H15V5H13V1M16.12 5.47L18.95 2.64L20.36 4.05L17.54... | C# |
essageBuffer,
SshRelayCloseCode closeCode,
string? closeReason)
{
var closeReasonBytes = closeReason == null
? Array.Empty<byte>()
: Encoding.UTF8.GetBytes(closeReason);
ThrowIfBufferSmallerThan(messageB... | C# |
skfjs" + DateTime.Now.Ticks;
}
public static string GenerateFirstName()
{
return "fksjdfkjsdkfjksdfs" + DateTime.Now.Ticks;
}
public static string GenerateCityName()
| C# |
0x65, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f,
0x6e, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x74,
0x65, 0x6c, 0x65, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x5f, 0x64, 0x65, 0x7... | Go |
name: HabitDBCellKey.type)
final int? type;
@JsonKey(name: HabitDBCellKey.createT)
final int? createT;
@JsonKey(name: HabitDBCellKey.modifyT)
final int? modifyT;
@JsonKey(name: HabitDBCellKey.uuid)
final HabitUUID? uuid;
@JsonKey(name: HabitDBCellKey.status)
final int? status;
@JsonKey(name: HabitDB... | Dart |
fitType.CitizenWelfare]);
treasury.SubSchemes.First(s => s.SchemeId == ProfitItemsIds[ProfitType.CitizenWelfare]).Shares
.ShouldBe(ElectionContractConstants.CitizenWelfareWeight);
var reward = await ProfitContractStub.GetScheme.CallAsync(ProfitItemsIds[ProfitType.MinerReward]);
// B... | C# |
*************** buttons ***********************************/
'btnClose' : 'Đóng',
'btnSave' : 'Lưu',
'btnRm' : 'Gỡ bỏ',
'btnApply' : 'Áp dụng',
'btnCancel' : 'Hủy bỏ',
'btnNo' : 'Không',
'btnYes' : 'Đồng ý',
'btnMount' : 'Mount', // added 18.04.2012
'btnApprove': 'Goto $1 & a... | JavaScript |
dev(dev);
if (rc) {
printk(KERN_ERR "ROSE: netdevice registration failed\n");
free_netdev(dev);
goto fail;
}
rose_set_lockdep_key(dev);
dev_rose[i] = dev;
}
sock_register(&rose_family_ops);
register_netdevice_notifier(&rose_dev_notifier);
ax25_register_pid(&rose_pid);
ax25_linkfail_register(&ros... | C |
, (a0), a1
# CHECK-INST: vssseg5e128.v v24, (a0), a1
# CHECK-ENCODING: [0x27,0x0c,0xb5,0x9a]
# CHECK-ERROR: instruction requires the following: 'Zvlsseg'
# CHECK-UNKNOWN: 27 0c b5 9a <unknown>
vssseg5e256.v v24, (a0), a1, v0.t
# CHECK-INST: vssseg5e256.v v24, (a0), a1, v0.t
# CHECK-ENCODING: [0x27,0x5c,0xb5,0x98]
# CH... | Assembly |
// Use a particle solution (no rotation).
Vec2 u = C; u.Normalize();
float k = invMass1 + invMass2;
Box2DXDebug.Assert(k > Settings.FLT_EPSILON);
float m = 1.0f / k;
Vec2 impulse = m * (-C);
float k_beta = 0.5f;
b1._sweep.C -= k_beta * invMass1 * impulse;
b2._sweep.C += k_beta * ... | C# |
r[1] && (r.pop(), r[2] === r[0] && (r.pop(), r[1] === r[0] && r.pop())), (this.styles[t] = r.join(" "));
}
function o(t) {
var Q, e;
try {
for (var T = f(m.connect[t].children), r = T.next(); !r.done; r = T.next()) {
var n = r.value;
this.setStyle(this.childName(t, n), th... | JavaScript |
/*
* Tiny Code Generator for QEMU
*
* Copyright (c) 2008 Fabrice Bellard
*
* 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
... | C |
ap();
assert_abs_diff_eq!(
sums,
(array![[
-0.3894, -0.4608, -0.4127, -0.1656, -0.3927, -0.1952, -0.4998, -0.2477, -0.1676
]])
.into_dyn(),
epsilon = 1e-4
);
}
#[test]
fn squeeze_bert_encoder_attention_mask() {
... | Rust |
ency_node none_list[MAXN];
struct adjacency_node cliques_list[MAXN];
*/
string clique="";
string graph="";
string edge="";
FILE * f_fp;//ͼ
ofstream fout1,fout2;
string readname="";
int readnametonum[MAXN];
int nodenum[MAXN]={0};
int readnum=0;
int writenum=0;
int cliquenum=0;
int writencliquenum=0;
int g_list_index=0;... | C++ |
r) as? List<Any?>)?.let {
LocationPuck.fromList(it)
}
}
139.toByte() -> {
return (readValue(buffer) as? List<Any?>)?.let {
LocationComponentSettings.fromList(it)
}
}
140.toByte() -> {
return (readValue(buffer) as? List<Any?>)?.let {
S... | Kotlin |
esis(0.01)
# act
stack.push(_Hypothesis(0.9)) # greatly superior hypothesis
stack.push(poor_hypothesis)
# assert
self.assertFalse(poor_hypothesis in stack)
def test_best_returns_the_best_hypothesis(self):
# arrange
stack = _Stack(3)
best_hypothesis... | Python |
: none ;
}
merror { /* adapted */
color : rgb(50%,0%,0%) ;
background-color : rgb(85%,85%,85%) ;
}
mphantom {
visibility : hidden ;
}
/* atoms */
mi {
text-transform : math-auto ;
}
/* tables */
mtable {
display : inline-table ;
math-style : compact ;
}
mtr {
display : table-row ;
}
mtd... | CSS |
::{update_clip, UpdateClip};
<filename>tests/headers/named/mod.rs
mod contact;
mod from;
mod in_reply_to;
mod reply_to;
mod to;
#[allow(dead_code)]
pub enum TestField<'a> {
All,
Field(&'a str),
TableField(&'a str, &'a str),
}
type Bits = Vec<bool>;
fn gen_data(bits: &mut Bits, size: usize) {
//println... | Rust |
, Int> = emptyMap(),
map_string_string: Map<String, String> = emptyMap(),
map_string_message: Map<String, NestedMessage> = emptyMap(),
map_string_enum: Map<String, NestedEnum> = emptyMap(),
@field:WireField(
tag = 601,
adapter = "com.squareup.wire.ProtoAdapter#INT32_ARRAY",
label = WireField.Label.P... | Kotlin |
dexer cache.Indexer) KarydiaNetworkPolicyLister {
return &karydiaNetworkPolicyLister{indexer: indexer}
}
// List lists all KarydiaNetworkPolicies in the indexer.
func (s *karydiaNetworkPolicyLister) List(selector labels.Selector) (ret []*v1alpha1.KarydiaNetworkPolicy, err error) {
err = cache.ListAll(s.indexer, sele... | Go |
#endif
#if AXIS_DRIVER_TYPE_Y2(L6470)
L6470_REPORT_CURRENT(Y2);
#endif
#if AXIS_DRIVER_TYPE_Z(L6470)
L6470_REPORT_CURRENT(Z);
#endif
#if AXIS_DRIVER_TYPE_Z2(L6470)
L6470_REPORT_CURRENT(Z2);
#endif
#if AXIS_DRIVER_TYPE_Z3(L6470)
L6470_REPORT_CURRENT(Z3);
#endif
... | C++ |
movd %xmm3,-36(%edi)
vmovd %xmm4,-32(%edi)
vzeroupper
movl %ebp,%esp
.L020nodata:
popl %edi
popl %esi
popl %ebx
popl %ebp
ret
.size _poly1305_blocks_avx2,.-_poly1305_blocks_avx2
.align 64
.Lconst_sse2:
.long 16777216,0,16777216,0,16777216,0,16777216,0
.long 0,0,0,0,0,0,0,0
.long 67108863,0,67108863,0,67108863,0... | Assembly |
;TextBorderCharacterSet.s
TextCharacterSet ;Only redefine 33-42(10)
.dsb 8,0 ;Space Character
.byt %000100 ;Vertical Left(33)
.byt %001001
.byt %001100
.byt %001101
.byt %001100
.byt %000101
.byt %001000
.byt %001101
.byt %001000 ;Vertical Right(34)
.byt %100100
.byt %001100
.byt %101100
.byt %001100
... | Assembly |
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 5 2017 23:13:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import "MMObject.h"
#import "UITableViewDataSource-Protocol.h"
#import "UITableViewDelegate-Protocol.h"
#import "WCRadioButtonGroupDe... | C |
infoObj.key,
type: infoObj.type,
});
}
return currentResult;
} else if (isBool(i1)) {
DEV && console.log(`709 i1 is bool, cases 71-80`);
if (isBool(i2)) {
// case 78 - two Booleans
if (opts.mergeBoolsUsingOrNotAnd) {
let currentResult = uni ? uniRes : i1 || i2; // de... | Typescript |
IFwiUG9seWdvblwiKSIsIk9idGFpbmVkIjpudWxsLCJSdW5PcHRzIjpbXSwiUmVuZGVyU29tZXRoaW5nIjpmYWxzZX0=" );
//JavaQuery, geo/primitives.yaml, #5
/* ExpectedOriginal: ({'$reql_type$':'GEOMETRY', 'coordinates':[[[0, -9.04369477050382e-06], [-7.779638566553426e-06, 4.5218473852518965e-06], [7.779638... | C# |
0xF5, 0x16,// EVEX_Vpmovm2d_xmm_kr
0x24,// VK
0x6D,// YMM0
0xF6, 0x16,// EVEX_Vpmovm2d_ymm_kr
0x24,// VK
0x8D,// ZMM0
0xF7, 0x16,// EVEX_Vpmovm2d_zmm_kr
0x09,// VectorLength
0x24,// VK
0x4D,// XMM0
0xF8, 0x16,// EVEX_Vpmovm2q_xmm_kr
0x24,// VK
0x6D,// YMM0
0... | Rust |
utting" }
val values = listOf(
BLASTING,
CAMPFIRE_COOKING,
CRAFTING_SHAPED,
CRAFTING_SHAPELESS,
CRAFTING_SPECIAL,
CRAFTING_TRANSMUTE,
SMELTING,
SMITHING_TRANSFORM,
SMITHING_TRIM,
SMOKING,
STONECUTTING,
)
}
package io.github.ayfri.kore.features.loottables
import io.github.ayfri.kore.features.it... | Kotlin |
names {
artifact, pres := repository.Get(ctx, config_obj, name)
if !pres {
continue
}
// Clean up the artifact by removing internal fields.
artifact = proto.Clone(artifact).(*artifacts_proto.Artifact)
for _, source := range artifact.Sources {
if source.Query != "" && len(source.Querie... | Go |
_gostObs.EventDate = field.NewString(tableName, "event_date")
_gostObs.InputBytes = field.NewInt64(tableName, "input_bytes")
_gostObs.OutputBytes = field.NewInt64(tableName, "output_bytes")
_gostObs.fillFieldMap()
return _gostObs
}
type gostObs struct {
gostObsDo
ALL field.Asterisk
Id field... | Go |
pos="["P13",1]"><td id="二岩猯藏" class="tt-char" lang="zh"><div class="poem">二岩猯藏</div></td><td class="tt-ja" lang="ja"><div class="poem">能楽師はどこかでそれを見て<br>ふざけて真似しているだけじゃろ<br><br>さてどうやって鈴奈庵の娘を納得させればいいものか<br><br><big>何しろあの能楽師と儂らは</big><br><br><big>完全にグルじゃからのう</big></div></td><td class="tt-zh" lang="zh"><di... | Markdown |
/* ========== Tooltips ========== */
/* ========== Footer ========== */
/* TEXTFIELD */
/* SWITCH */
/* SPINNER */
/* RADIO */
/* MENU */
/* LIST */
/* LAYOUT */
/* ICON TOGGLE */
/* FOOTER */
/*mega-footer*/
/*mini-footer*/
/* CHECKBOX */
/* CARD */
/* Card dimensions */
/* Cover image */
/* BUTTON */
/**
*
* Di... | CSS |
42,
base = 39040,
ammo_info = {
{
6,
50042
},
{
5,
52242
},
{
5,
52142
}
},
weapon_id = {
39042
}
},
[39043] = {
id = 39043,
base = 39040,
ammo_info = {
{
6,
50043
},
{
5,
52243
},
{
5,
52143
}
},
weapon_id = {
... | Lua |
and with status `Queued`.
chainA := gofakeit.Uint32()
chainB := chainA + 1
err = testDB.StoreRelayableAgentStatus(
t.GetTestContext(),
addressA,
types.AgentFlagUnknown,
types.AgentFlagActive,
chainA,
)
Nil(t.T(), err)
err = testDB.StoreRelayableAgentStatus(
t.GetTestContext(),
addressB,... | Go |
// 0..63
// heatramp <<= 2; // scale up to 0..252 (0xFC)
// heatramp = gamma5(heatramp);
heatramp = pgm_read_byte(&GammaTable32[(heatramp / 2)]); // replacement for << 2 and gamma5()
// now figure out which third of the spectrum we're in:
if (tTemperature0To191 & 0x80) {
// we're in the hottest third, r... | C++ |
ght)
angle = 0
box2d = (center, size, angle)
except:
return None
return list(box2d)
# 清理退出函数 关闭节点 销毁所有 窗口
def cleanup(self):
print "关闭了视觉信息处理节点。"
cv2.destroyAllWindows() # 关闭所有窗口
# 主函数
def main(args):
... | Markdown |
},
[0.766666666667] = {
0.982662,
0.18157,
0.037511,
0,
0.132274,
-0.5448,
-0.828068,
0,
-0.129916,
0.818673,
-0.559371,
0,
0.117247,
-0.449813,
-0.381302,
1,
},
[0.783333333333] = {
0.982679,
0.181483,
0.037503,
0,
0.132225,
-0.544846,
-0.828046,
0,
-0.129843,
0.8... | Lua |
_bi::value< T > type;
};
template<class T> struct add_value
{
typedef typename add_value_2< T, boost::is_placeholder< T >::value >::type type;
};
#endif
template<class T> struct add_value< value<T> >
{
typedef _bi::value<T> type;
};
template<class T> struct add_value< reference_wrapper<T> >
{
typedef r... | C++ |
```
### Section Types
| Code | Name | Description | |
| ------ | ------------------ | ---------------------------------------------- | -------------- |
| `0x01` | Identity | Project identity and metadata | |
|... | Markdown |
ORT int gsl_matrix_uint_scale (gsl_matrix_uint * a, const double x);
GSL_EXPORT int gsl_matrix_uint_add_constant (gsl_matrix_uint * a, const double x);
GSL_EXPORT int gsl_matrix_uint_add_diagonal (gsl_matrix_uint * a, const double x);
/***********************************************************************/
/* The fun... | C |
ting bouys. Loot the sword.|L|44978|
C The Edge Of Winter|QID|13675|M|55.5,74.9|Z|Crystalsong Forest|T|Lord Everblaze|N|Kill Lord Everblaze and loot the everburning ember from his corpse.|L|45005|
C The Edge Of Winter|QID|13675|M|42.19,19.66|Z|Howling Fjord|N|Find the Maiden encased in ice and use the ember on her.|T|... | Lua |
<span class="select-menu-item-text css-truncate-target" title="v4.7.1">
v4.7.1
</span>
</a>
<a class="select-menu-item js-navigation-item js-navigation-open "
href="/seiyria/bootstrap-slider/tree/v4.7.0/dist/css/bootstrap-slider.css"
... | CSS |
rawBaseImage(Canvas canvas, ui.Image originalImage) {
final paint = Paint()
..colorFilter = ColorFilter.mode(
Colors.black.withValues(alpha: 0.3),
BlendMode.darken,
);
canvas.drawImage(originalImage, Offset.zero, paint);
}
void _drawVerseText(Canvas canvas, ui.Image originalImag... | Dart |
return ""
}
func (x *PatchObjectAccessControlRequest) GetObject() string {
if x != nil {
return x.Object
}
return ""
}
func (x *PatchObjectAccessControlRequest) GetGeneration() int64 {
if x != nil {
return x.Generation
}
return 0
}
func (x *PatchObjectAccessControlRequest) GetObjectAccessControl() *Object... | Go |
")),
]),
)]);
let cases = [
(func1, res1),
(func2, res2),
(func3, res3),
(func4, res4),
(func5, res5),
(func6, res6),
(func7, res7),
];
for (key, expected_result) in cases {
let ... | Rust |
(168) */
@font-face {
font-family: 'Chiron Hei HK WS';
font-style: italic;
font-weight: 200 900;
font-display: swap;
src: url('../woff2/vf-italic/t0/gf_63.woff2') format('woff2-variations'), url('../woff2/vf-italic/t0/gf_63.woff2') format('woff2 supports variations');
unicode-range: U+6aa8, U+6aab, U+6aae, ... | CSS |
/**
* @brief Instruction opcode values
*
* @warning The opcode table is not stable.
*
* There is no special meaning to the ordering of opcodes, and they can change
* even within a given patch number. Opcode values are not exposed in public
* C headers and should not be relied upon.
*
* Opcode numbers *are* exp... | C |
bounds(121, 288)
(120.0, 290.0)
>>> get_optimal_bounds(1210, 2880)
(1200.0, 2900.0)
>>> get_optimal_bounds(0.025, 0.11)
(0.0, 0.2)
>>> get_optimal_bounds(0.0025, 0.11)
(0.0, 0.2)
>>> get_optimal_bounds(0.00025, 0.11)
(0.0, 0.2)
"""
low_mag ... | Python |
is", maxCircularSum(a, n))
# This code is contributes by subhammahato348
```
**输出:**
```
Maximum circular sum is 31
```
**复杂度分析:**
* **时间复杂度:** O(n),其中 n 为输入数组中的元素个数。
因为只需要数组的线性遍历。
* **辅助空间:** O(1)。
因为不需要额外的空间。
详见[最大圆子阵和](https://www.geeksforgeeks.org/maximum-contiguous-circular-sum/)整篇文章!# Tim Brady... | Markdown |
, otherwise returns false.
func Equal(u1 UUID, u2 UUID) bool {
return bytes.Equal(u1[:], u2[:])
}
// Version returns algorithm version used to generate UUID.
func (u UUID) Version() uint {
return uint(u[6] >> 4)
}
// Variant returns UUID layout variant.
func (u UUID) Variant() uint {
switch {
case (u[8] & 0x80) =... | Go |
e character", s)
}
switch cs := ChannelStatus(s[0]); cs {
case ChannelPublic, ChannelSecret, ChannelPrivate:
return cs, nil
default:
return 0, fmt.Errorf("invalid channel status %q: unknown status", s)
}
}
// Membership is a channel member rank.
type Membership struct {
Mode byte
Prefix byte
}
// Members... | Go |
Number < comment.line) {
for (var j = this._lineNumber; j < comment.line; ++j)
this._addText("\n");
this._lineNumber = comment.line;
this._needNewLine = false;
this._addIndent();
} else
this.addSpace();
this._addMappingIfNeeded... | JavaScript |
a1 := makePNode()
a2 := makeEmNode()
a3 := makeTextNode("foobar")
a1.AppendChild(a2)
a2.AppendChild(a3)
b1 := makePNode()
b2 := makeCodeNode()
b3 := makeEmNode()
b4 := makeStrongNode()
b5 := makeTextNode("foobar")
b1.AppendChild(b2)
b2.AppendChild(b3)
b3.AppendChild(b4)
b4.AppendChild(b5)
c1 := makePNod... | Go |
(REPLICATION);
setState(7414);
match(GROUP);
setState(7416);
_errHandler.sync(this);
switch ( getInterpreter().adaptivePredict(_input,872,_ctx) ) {
case 1:
{
setState(7415);
if_not_exists();
}
break;
}
setState(7418);
id_();
setState(7419);
match(OBJE... | Java |
khttp3/coroutines/ExecuteAsync.kt)
*
* @since 1.5.2
*/
internal suspend fun Call.executeAsync(): Response = suspendCancellableCoroutine { continuation ->
continuation.invokeOnCancellation {
this.cancel()
}
this.enqueue(
object : Callback {
override fun onFailure(call: Call, e:... | Kotlin |
using Stackray.Mathematics;
using System;
using System.Linq;
using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;
namespace Stackray.Transforms {
public class CameraUtility {
private static float m_screenDpi = -1f;
private static float m_fallbackDpi = 96f;
public static float ScreenDpi {
... | C# |
art = span.range.col_start.0 as usize;
let col_end = span.range.col_end.0 as usize;
line.get(col_start..col_end).map(|line| line.to_string())
});
debug!("racer_def: name: {:?}", name);
let results = ::std::panic::catch_unwind(move || {
let cache = requests::racer_cache(... | Rust |
_ENUM_ENTRY
import tech.mappie.util.IDENTIFIER_THROWN_BY_ENUM_ENTRY
object EnumMappingStatementCollector
: BaseVisitor<Pair<IrEnumEntry, EnumMappingTarget>?, Unit>() {
override fun visitCall(expression: IrCall, data: Unit): Pair<IrEnumEntry, EnumMappingTarget>? {
return when (expression.symbol.owner.n... | Kotlin |
便的构建一个自己的组件。
1 首先创建你的样式表文件
```javascript
export default {
Title: {
backgroundColor: 'transparent',
color: '#FFFFFF',
fontSize: 17,
fontWeight: '500',
marginBottom: 4,
},
};
```
2 使用 `withStyles` 函数将样式应用到你的组件
```javascript
import { Text as RNText } from 'react-native';
import { withStyles } f... | Markdown |
/// Retrieve the number of potential casts.
#[inline]
#[must_use]
pub const fn num_casts(&self) -> i32 {
match *self {
Self::Direction(..) | Self::Target(..) => 1,
Self::Soft(samples, ..) | Self::Radiant(samples) => samples,
}
}
}
impl Display for Caster {
#[... | Rust |
ooter
fun FourAllianceNote() = SequentialCommand(
InitAuto(Rotation2d.fromDegrees(180.0)),
ParallelDeadlineCommand(
Hood.Commands.aimAtSpeaker(),
Shooter.Commands.runAtSpeeds(),
deadline = SequentialCommand(
ParallelCommand(
PullFromSpeakerShooter(),
... | Kotlin |
r10]
vunpcklpd xmm1, xmm14, xmm12
vunpckhpd xmm12, xmm14, xmm12
vunpcklpd xmm13, xmm5, xmm4
vunpckhpd xmm4, xmm5, xmm4
vmovupd ymm5, YMMWORD PTR [__jsvml_dlog_ha_data_internal+12416]
vfmadd213pd ymm5, ymm2, YMMWORD PTR [__jsvml_dlog_ha_data_internal+12480]
vinse... | Assembly |
params['updatingUserID'] = loginUserID;
MeetingRepository().updateMeetingSetting(UpdateMeetingRequest()..mergeFromProto3Json(params));
break;
case OperationType.leave:
await MeetingRepository().leaveMeeting(roomID!, loginUserID);
close();
closeWindow();
bre... | Dart |
t mockConstructorTestingTNewEVMQueryClient) *EVMQueryClient {
mock := &EVMQueryClient{}
mock.Mock.Test(t)
t.Cleanup(func() { mock.AssertExpectations(t) })
return mock
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: evmos/vesting/v1/t... | Go |
PP3_0_OR_GREATER
public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
app.UseSoapEndpoint<TestService>("/Service.svc", new SoapEncoderOptions(), SoapSerializer.DataContractSerializer);
app.UseMvc();
}
#else
public void Configure(IApplicationBuilder app, I... | C# |
string> { { "name", "testkey" }, { "value", "testvalue" } } },
});
var actualExecInfo = JsonSerializer.Deserialize<IDictionary<string, dynamic>>(actual.StartInfo.EnvironmentVariables["KUBERNETES_EXEC_INFO"]);
Assert.Equal("testingversion", actualExecInfo["apiVersion"].ToString());
... | C# |
bnez a2, 0b
1:
ret
.balign 4
.text
.global cvt_color_simd_helper_gray2gray_qint8
.type cvt_color_simd_helper_gray2gray_qint8, @function
cvt_color_simd_helper_gray2gray_qint8:
# a0: uint8_t *src
# a1: uint8_t *dst
# a2: int n
# a3: int *lut
blez a2, 1f
0:
esp.vld.128.i... | Assembly |
/*Challenge link:https://leetcode.com/problems/largest-3-same-digit-number-in-string/description/
Question:
You are given a string num representing a large integer. An integer is good if it meets the following conditions:
It is a substring of num with length 3.
It consists of only one unique digit.
Return the maximum ... | C# |
POSITIVE_INFINITY
}
if (data.size >= 5 && (data[1] > 1 || data[2] >= 1 || data[3] >= 1)) {
for (i in 4 until data.size) {
if (data[i] > 0) {
return Double.POSITIVE_INFINITY
}
}
}
if (data.size == 3 && data[2] =... | Kotlin |
AT+CIPCLOSE=0\r\n",clickBoardNum)
//response = WiFiResponse("OK", false, defaultWiFiTimeoutmS,clickBoardNum); //Wait for the response "OK"
}
// // -------------- 3. Cloud ----------------
// //% blockId=WiFi_BLE_createVariable
// //% block="Create variable %varName initialized to %initValue with... | Typescript |
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.Controllers.ActionRes... | C# |
) {
companion object {
const val TYPE_VXLAN = 0x0800
}
private var rtcpEnabled = false
private var rtpEnabled = false
private var sipEnabled = true
private var vxlanEnabled = false
private var tzspEnabled = false
private val rtcpHandler: RtcpHandler by lazy {
RtcpHand... | Kotlin |
riptName)
ON_BN_CLICKED(IDC_SCRIPT_ACTIVE, OnScriptActive)
ON_BN_CLICKED(IDC_ONE_SHOT, OnOneShot)
ON_BN_CLICKED(IDC_EASY, OnEasy)
ON_BN_CLICKED(IDC_HARD, OnHard)
ON_BN_CLICKED(IDC_NORMAL, OnNormal)
ON_BN_CLICKED(IDC_SCRIPT_SUBROUTINE, OnScriptSubroutine)
ON_BN_CLICKED(IDC_EVERY_FRAME, OnEveryFrame)
ON_BN_CLICKE... | C++ |
ASET=sample.jsonl` in `steganography.py`. Then, run `analyze_logs.json` with the same choice of `encoder_models` and `decoder_models`.
- For **Payload Length Ablation**, `inspect eval steganography.py --model openai/o3-mini --epochs 2 -T "decoder_model=openai/o3-mini" --log-format json`, then `analyze_logs_varied_lengt... | Markdown |
allocatedDelta -= (long)objBitSize << dbAllocationQuantumBits;
usedSize -= (long)objBitSize << dbAllocationQuantumBits;
if ((pos & (Page.pageSize-1)) == 0 && size >= Page.pageSize) {
if (pageId == currPBitmapPage && offs < currPBitmapOffs) {
currPBitmapOffs... | Java |
T".."1000300000",
"OBJECT_TYPE_RENDER_MODEL_ASSET_EXT".."1000300001"
)
EnumConstant(
"TYPE_RENDER_MODEL_CREATE_INFO_EXT".."1000300000",
"TYPE_RENDER_MODEL_PROPERTIES_GET_INFO_EXT".."1000300001",
"TYPE_RENDER_MODEL_PROPERTIES_EXT".."1000300002",
"TYPE_RENDER_MODEL_SPACE_C... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.