content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
banmanager.common.ormlite") {
include(dependency("com.j256.ormlite:ormlite-core:5.1"))
include(dependency("com.j256.ormlite:ormlite-jdbc:5.1"))
}
relocate("com.zaxxer.hikari", "me.confuser.banmanager.common.hikari") {
include(dependency("com.zaxxer:HikariCP"))
... | Kotlin |
إلى البقاء في الداخل، وإلى زيادة تشغيل المكيّفات، سعياً إلى جو لطيف وهم يستخدمون أدوات وأجهزة مختلفة أخرى.</p>
<h4 id="one">واحد</h4>
<p>وكل هذه الأمور المتزامنة من تشغيل الأجهزة، يزيد الضغط على شبكات الطاقة، كما أسلفنا. لكن مجرد زيادة سعة الشبكة ليس كافياً. إذ لا بد من تطوير الشبكات الذكية الت... | HTML |
const magnitude = getApparentMagnitudeVenus(0.720923, 0.28252, 168.38);
expect(round(magnitude, 2)).toBe(-4.2);
});
});
it('tests getApparentMagnitudeMars', () => {
const magnitude = getApparentMagnitudeMars(1.39095, 1.8469, 31.54);
expect(round(magnitude, 2)).toBe(1.03);
});
it('tests g... | Typescript |
-- Springspindle Fizzlegear
[npcKeys.questStarts] = {3632},
},
[5479] = { -- Wu Shen
[npcKeys.questStarts] = {1718,8417},
},
[5489] = { -- Brother Joshua
[npcKeys.questStarts] = {8254},
},
[5495] = { -- Ursula Deline
[npcKey... | Lua |
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include('shared.lua')
ENT.WireDebugName = "Wired Wirer"
ENT.OverlayDelay = 0
//ownership functions adapted from E2 code (Thanks Syranide) :)
local function isOwner(self, entity)
return (getOwner(self, entity) == self.Owner)
end
local function getOwner(sel... | Lua |
odec.INT.fieldOf("x").forGetter(Rect::x),
Codec.INT.fieldOf("y").forGetter(Rect::y),
Codec.INT.fieldOf("width").forGetter(Rect::width),
Codec.INT.fieldOf("height").forGetter(Rect::height)
).apply(it, ::Rect) }
fun codec(width: Int, height: Int): Codec<Rect> = RecordC... | Kotlin |
);
}
void uwb_rsv_init(struct uwb_rc *rc)
{
INIT_LIST_HEAD(&rc->reservations);
INIT_LIST_HEAD(&rc->cnflt_alien_list);
mutex_init(&rc->rsvs_mutex);
spin_lock_init(&rc->rsvs_lock);
INIT_DELAYED_WORK(&rc->rsv_update_work, uwb_rsv_update_work);
INIT_DELAYED_WORK(&rc->rsv_alien_bp_work, uwb_rsv_alien_bp_work);
rc->b... | C |
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
#if UNITY_2021_2_OR_NEWER
using UnityEditor.SceneManagement;
#else
using UnityEditor.Experimental.SceneManagement;
#endif
using UnityEngine.Playables;
using UnityEngine.Timeline;
namespace UnityEditor.Timeline
{
partial class Tim... | C# |
"Korea, Democratic People\'s Republic of", "dial_code": "+850", "code": "KP"},
{"name": "Korea, Republic of", "dial_code": "+82", "code": "KR"},
{"name": "Kuwait", "dial_code": "+965", "code": "KW"},
{"name": "Kyrgyzstan", "dial_code": "+996", "code": "KG"},
{"name": "Lao People\'s Democratic Republic"... | Dart |
});
// Perform a Debounce to fetch data efficiently from server
fromEvent(this.input.nativeElement,'keyup')
.pipe(
map((event: any) => {
return event.target.value;
}),
filter(res => res !== ""),
debounceTime(1000),
distinc... | Typescript |
int SystemManager::Awake()
{
return SmartIterate([](Machine* machine) { return machine->Awake(); });
}
int SystemManager::Init()
{
return SmartIterate([](Machine* machine) { return machine->Init(); });
}
void SystemManager::Update(double dt)
{
SmartIterate([dt](Machine* machine) -> int
{... | C++ |
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/dialogflow/cx/v3/changelog.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Co... | C# |
ion-of-untrusted-data-vulnerability?_s_id=cve |
| 195 | CVE-2025-39594 | 7.1 | HIGH | 在 Bob Arigato 自动回复器和新闻通讯中存在 `跨站脚本攻击(Cross-site Scripting)` 的输入处理不当漏洞,允许反射型 XSS。此问题影响 Arigato 自动回复器和新闻通讯版本从 n/a 到 2.7.2.4。 | [1]https://patchstack.com/database/wordpress/plugin/bft-autoresponder/vulnerability/wordpress-arigato-autores... | Markdown |
192);"><strong>1、木马文件的检测</strong></span><br/></p>
<p>在vector-dropper项目中,我发现了名为cooker的项目。对的,这个就是我们写好的加工木马,如图9所示。但是,但是我又发现,这个源码是基于Boost库的。</p>
<p style="text-align: center"><img data-original="http://image.3001.net/images/20160117/14530429194372.jpg!small" src="http://www.freebuf.com/buf/themes/freebuf/images/grey.gif" ... | HTML |
Nodes = append(clusterNodes, shared.RateLimitingAdvancedPluginClusterNodes{
IP: ip,
Port: port,
})
}
}
connectTimeout := new(int64)
if !r.Config.Redis.ConnectTimeout.IsUnknown() && !r.Config.Redis.ConnectTimeout.IsNull() {
*connectTimeout = r.Config.Redis.ConnectTimeout.ValueInt64()
} else... | Go |
extends string = number> {}", { name: "U", constraint: "number", default: "string" },
"class C<U extends number = string> {}");
});
it("should add constraint and default when not exists", () => {
doTest("class C<T> {}", { name: "U", constraint: "number", default: "string" }... | Typescript |
�일한 dep 인스턴스이다.

여기까지 `initData` 함수의 수행이 완료되면 반응형으로 동작할 준비과정이 완료된다.
지금까지 살펴본 코드에서 Dep이 생성되는 곳과 사용되는 곳을 알 수 있었다.
## Dep과 Watcher
[그림-1](http://drive.google.com/uc?export=view&id=1N0VqBqEfSvByYmcIGzSqhVvx6S... | Markdown |
# RUN: llvm-mc -triple=x86_64-pc-win32 -filetype=obj < %s | llvm-readobj -codeview | FileCheck %s
# CHECK: InlineSite {
# CHECK: BinaryAnnotations [
# CHECK: ChangeLineOffset: 1
# CHECK: ChangeCodeLength: 0x2
# CHECK: ]
# CHECK: }
.text
.cv_file 1 "D:\\src\\llvm\\build\\t.c"
.def in... | Assembly |
SHEY_SIMPLEX,
1,
(255, 255, 255),
2
)
# Save target heatmap
target_path = os.path.join(epoch_dir, f"target_heatmap.png")
cv2.imwrite(target_path, target_colored)
# Create a comparison image (side by side)
h... | Python |
dspy-go/pkg/core"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
func TestBayesianToolSelector_ScoreTools(t *testing.T) {
selector := NewBayesianToolSelector()
// Create test tools
tools := []core.Tool{
newMockTool("search", "Search for information in databases", []string{"search"... | Go |
// Hit:
hits.add(doc);
drillDownCounts.inc(doc.dims, doc.dims2);
for (int dim = 0; dim < dimValues.length; dim++) {
drillSidewaysCounts[dim].inc(doc.dims, doc.dims2);
}
} else {
if (VERBOSE) {
System.out.println(" exp: id=" + doc.id + ... | Java |
* Fractale triangle
* ~~~~~~~~~~~~~~~~~
* (c)1995 Sync/DreamDealers
incdir "asm:sources/"
include "registers.i"
SET_OPTS
OPT DEBUG,HCLN
SCREEN_X=640
SCREEN_Y=512
SCREEN_DEPTH=1
FILL=0
KILL_SYSTEM do_triangle
moveq #0,d0
rts
do_triangle
lea _DataBase,a5
lea _CustomBase,a6
move.l sp,Save_SP(a5)
... | Assembly |
forms the conversion.</div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-VZip%3CV%3E-for-GateStrategy" class="impl has-srclink"><a href="#impl-VZip%3CV%3E-for-GateStrategy" class="anchor"></a><h3 class="code-header">impl<V, T> VZip<V> for T<span cla... | HTML |
tf = release_gate_time + 0.4;
let dt = args.flag_dt;
let total_steps = (tf / dt) as u64;
let mut t = 0.;
let mut step_no = 0;
let total_output_file = 100;
let pfreq = if total_steps < total_output_file {
1
} else {
total_steps / total_output_file
};
// let pfreq = 10... | Rust |
"icon-play-smoothed" viewBox="0 0 64 64"><path d="M51.72 28.36L16.64 7.21C12.46 4.7 10 6.08 10 10.96v42.05c0 4.88 2.46 6.27 6.64 3.75L51.72 35.6c3.74-2.25 3.74-5 0-7.25zm1.55-2.57c5.67 3.42 5.67 8.97 0 12.39L18.19 59.33C12 63.05 7 60.23 7 53V10.96C7 3.75 12 .92 18.19 4.64L53.27 25.8z" fill-rule="nonzero"></path></symbo... | HTML |
V>>() {
override fun next(): MutableMap.MutableEntry<K, V> {
@Suppress("UNCHECKED_CAST")
return nextNode() as MutableMap.MutableEntry<K, V>
}
}
}
override fun contains(element: MutableMap.MutableEntry<K, V>): Boolean {
return findByEntry(element) != null
}
... | Kotlin |
return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t[2]=e[2]-i[2],t};f=new e.A(3),e.A!=Float32Array&&(f[0]=0,f[1]=0,f[2]=0);var v=function(t){var e=t[0],i=t[1];return e*e+i*i};function x(t){const e=[];if("string"==typeof t)e.push({id:"default",url:t});else if(t&&t.length>0){const i=[];for(const{id:a,url:s}of t){const t=`${a}${s}`;-1... | HTML |
4619"},{"n":"逆战手游","v":"7575"},{"n":"石器时代:觉醒","v":"9159"}]}]
},
searchUrl:'https://search.cdn.huya.com/?m=Search&do=getSearchContent&q=**&uid=0&v=4&typ=-5&livestate=0&rows=40&start=0',
searchable:2,
quickSearch:0,
headers:{
'User-Agent':'MOBILE_UA'
},
timeout:5000,
limit:8,
p... | JavaScript |
f
this[1] = 44f
this[2] = 55f
this[3] = 11f
this[4] = IS_PREDICTED_EVENT
})
// #3
floatArrayList.add(FloatArray(DATA_STRUCTURE_SIZE).apply {
this[0] = 6f
this[1] = 7f
this[2] = 8f
this[3] = 9f
... | Kotlin |
.sheet.cssRules[ i ];
if ( stylesheet.type !== 1 ) continue;
const selectorList = stylesheet.selectorText
.split( /,/gm )
.filter( Boolean )
.map( i => i.trim() );
for ( let j = 0; j < selectorList.length; j ++ ) {
// Remove empty rules
const definitions = Object.fromEntries(
... | JavaScript |
i>
<span>Quick Onboarding</span>
</li>
<li class="font-mullish flex items-center gap-x-2 mr-12">
<i data-feather="check" class="text-greenLight"></i>
<span>Access to entire product suite </span>
</li>
<li class="font-mullish flex ... | HTML |
a62, U+8a66, U+8a72, U+8abf, U+8b1d, U+8b58, U+8b70, U+8b80, U+8ca1, U+8ca8, U+8cac, U+8cbc, U+8d70, U+8da3, U+8db3, U+8ddf, U+8f03, U+8f15, U+8f2f, U+8fa6, U+8fce, U+8ffd, U+900f, U+9031, U+9069, U+908a, U+91ab, U+91cc, U+92b7, U+9322, U+932f, U+9375, U+9632, U+963f, U+9644, U+9662, U+9673, U+96a8, U+96c4, U+96d9, U+9... | CSS |
ed-due-typhoon-wipha-599075">"Match schedule amended due to Typhoon Wipha"</a>. <i>FIFA.com</i>. <a href="/wiki/FIFA" title="FIFA">Fédération Internationale de Football Association</a>. 18 September 2007. Archived from <a rel="nofollow" class="external text" href="https://www.fifa.com/womensworldcup/news/match-schedule... | HTML |
00.077-.003l.968 1.969c-.787.08-1.512.117-2.185.117-6.086 0-7.815-3.008-11.008-3.008l-.091.001c-.079.001-.159.003-.239.003-2.342 0-5.319-.604-8.819-2.344-2.381-1.181-3.672-2.589-3.839-4.184-.074-.714.063-1.777 1.062-2.832-3.914-1.526-1.392-3.552-.869-4.277-.043-1.843.907-3.424 2.523-4.451m21.526 22.591c-15.474 0-28.063... | Dart |
TMETRTYPE rFiStAccMetricPrev0 = pOldTrelMetric[prev0] + METRICSET(i)[met0]; \
const _VITMETRTYPE rFiStAccMetricPrev1 = pOldTrelMetric[prev1] + METRICSET(i)[met1]; \
\
/* Take path with smallest metric */ \
if (rFiStAccMetricPrev0 < rFiStAccMetricPrev1) { ... | C++ |
();
// Create the wrapper type, with the same class/instance size as the base type.
register_derived_type(gtk_hseparator_get_type());
// Add derived versions of interfaces, if the C type implements any interfaces:
}
return *this;
}
void HSeparator_Class::class_init_function(void* g_class, void* cl... | C++ |
If
<code>any</code> is <code>NIL</code> or a symbol with no name, <code>NIL</code>
is returned. A list argument is returned unchanged.
<pre><code>
: (chop 'car)
-> ("c" "a" "r")
: (chop "Hello")
-> ("H" "e" "l" "l" "o")
</code></pre>
<dt><a name="circ"><code>(circ 'any ..) -> lst</code></a>
<dd>Produces a circular li... | HTML |
;
}
.irs--big {
height: 55px;
}
.irs--big.irs-with-grid {
height: 70px;
}
.irs--big .irs-line {
top: 33px;
height: 12px;
background-color: white;
background: linear-gradient(to bottom, #ddd -50%, white 150%);
border: 1px solid #ccc;
border-radius: 12px;
}
.irs--big .irs-bar {
top: 33px;
height: 12px... | CSS |
ateTime.now().add(Duration(hours: 2));
_timeOfDay = TimeOfDay(hour: addedHour.hour, minute: 0);
}
if (widget.eventType == EventType.test) {
_labelColor = Colors.orange;
} else if (widget.eventType == EventType.assigment) {
_labelColor = Colors.blue;
} else {
_labelColor = Colors.... | Dart |
ick.type[i]=='#666'){
brick.type[i]='#666';
data.score++;
if(data.score>100){
//制造一个逐渐加速的效果,以每一百分为界限
brick.speed+=0.05;
data.score%=100;
}
}else{
//如果不是黑色的,说明点错了,游戏结束
brick.type[i]='red';
//brick.speed=0;
data.showScore=true;
//如果在这里设定data.gameover的话,就不... | HTML |
removing path "'+e+'".',t)}))}function U(){var e=(0,p.default)("#layout_main"),n=t.cur_dir.slice(0);C.default.trigger_files_modal(e,{action:"CREATE FILE",input_default:"",focus_name_input:!0},n,M,(function(e,n){var i=(0,E.build_path)(e,n),a=C.default.show_loading_modal(s);t.events().emit("newFile:pre",{path:i}),o.exec... | JavaScript |
* 删除公告对象
*
* @param noticeId 公告ID
* @return 结果
*/
@Override
public int deleteNoticeById(Long noticeId)
{
return noticeMapper.deleteNoticeById(noticeId);
}
/**
* 批量删除公告信息
*
* @param noticeIds 需要删除的公告ID
* @return 结果
*/
@Override
public in... | Java |
. 方法一 占位元素**
关于为什么要add这个问题最后统一解答
```
queue.add(1);
queue.add(1);
setFieldValue(transformer, "iMethodName", "newTransformer");
final Object[] queueArray = (Object[]) Reflections.getFieldValue(queue, "queue");
queueArray[0] = templates;
queueArray[1] = 1;
```
其中有一步修改transformer对象的iMethodName值,是因为要触发TransformingCompara... | Markdown |
러부터 월 월 $99 / $99 / $\n' +
'\n' +
'5가지 품목입니다.\n' +
'\n' +
'Living Room\n' +
'\n' +
'S59/월\n' +
'\n' +
'4가지 품목입니다.\n' +
'\n' +
'이미지 캡션: 이미지는 가구점을 위한 광고로 다양한 가구 품목을 보여줍니다. 품목은 격자와 같은 패턴으로 배열되며, 각 항목에는 자체 사각형이 있다. 가구에는 소파, 식탁, 의자, 드레스, 침대 및 캐비닛이 포함되어 있습니다. 가구의 색상... | HTML |
低碳环保?|
|时尚|今季流行的服装款式和搭配有哪些?|
|音乐|介绍一下最近比较火的音乐风格和代表歌手。|
|计算机科学|请解释什么是二进制?|
|历史|请列出三个法国大革命的关键事件。|
|文化|请解释K-pop在全球范围内如此流行的原因。|
|技术|请详细说明区块链技术的应用场景。|
|旅游|请推荐一个适合一家人去度假的海滨城市。|
|体育|请列出五个最受欢迎的足球俱乐部。|
|医学|请详细解释癌症是如何形成的。|
|政治|请解释什么是普选,举例说明。|
|环境|请解释气候变化对地球的影响。|
|设计|请列出三个UI设计的原则。|
|旅游|你能为我推荐一些适合家庭出游的海岛度假胜地吗?|
|人工智能|请解释一下什么是深度学习,... | Markdown |
ndexes, params, _, tearDown := indexersTestChain("TestTTLs")
defer tearDown()
var allSpends []*blockchain.SpendableOut
var nextSpends []*blockchain.SpendableOut
// Number of blocks we'll generate for the test.
maxHeight := int32(420)
expectedStumps := make([]utreexo.Stump, 0, maxHeight)
expectAfterUndoTTLs :=... | Go |
| |
| * | 3 |
| 2 | 3 |
| | |
| * | * |
| 3 | * |
| | |
| * | 1 |
*
3
1RQH
//
| 3 | 3 | /HIW | 60( |
|----------|-----|--------|-------|
| | | | |
| 1 | 3 | /HIW... | Markdown |
if (publicKeyBytes.size != 33) { // Expected size for compressed EC public key
Timber.e("Invalid public key size for a space member")
continue
}
Curve.decodePoint(publicKeyBytes, 0)
} catch (e: Exception) {
... | Kotlin |
.jpg'
}
]
},
{
name: 'Execution',
children: [
{
id: 13,
name: 'Ashley Taylor',
start: '2024-11-22',
end: '2024-11-25',
avatar: 'https://lf9-dp-fe-cms-tos.byteorg.com/obj/bit-cloud/VTable/custom-render/rabbit.jpg'
},
{
id: 14,
... | Markdown |
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
from dotenv import load_dotenv
import os
load_dotenv()
EMAIL_HOST = os.getenv("EMAIL_HOST")
EMAIL_PORT = int(os.getenv("EMAIL_PORT"))
EMAIL_USERNAME = os.getenv("EMAIL_USERNAME")
EMAIL_PASSWORD = os.getenv("EMAIL_PASSWO... | Python |
///
/// If the GeoJSON object is a geometry, the returned value is a kind of
/// ``MLNShape``. If it is a feature object, the returned value is a kind of
/// ``MLNShape`` that conforms to the ``MLNShape`` protocol. If it is a feature
/// collection object, the returned value is an instance of
/// ``MLNShapeCollectionF... | Dart |
item cannot have duplicated header and description.
/// </summary>
[pbr::OriginalName("PRICE_ITEM_HAS_DUPLICATED_HEADER_AND_DESCRIPTION")] PriceItemHasDuplicatedHeaderAndDescription = 39,
/// <summary>
/// Price extension has too few items
/// </summary>
[pbr::OriginalNam... | C# |
m:xslt">
<div class="header_content"><a class="links" href="http://twitter.com/Slate"></a></div>
<div class="body_content">
<ul>
<li>
<p class="hed">Winnie the Pooh mental disorders <a href="http://slate.me/esjkQS">http://slate.me/esjkQS</a></p>
</li>
<li>
<p class="hed">Is the long, proud history of the coin toss in... | HTML |
4px%7D100%25%7Bcy:5px%7D%7D%3C/style%3E%3Cellipse class='spinner_rXNP' cx='12' cy='5' rx='4' ry='4'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%0A%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3E.spinner_rXNP%7Banimation:spinner_YeBj .8s infinite%7D@keyframes spi... | CSS |
.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-... | CSS |
32px;
flow-children: right;
vertical-align: center;
}
.mainmenu__lastmatch_header
{
flow-children: down;
height: 32px;
padding-left: op-missions-left-padding;
width: 100%;
border-bottom: 1px solid #ffffff3a;
}
.mainmenu__lastmatch__text
{
font-family: Stratum2, '... | CSS |
) {
this.s0 += 1;
}
this.s1 -= mash.mash(seed);
if (this.s1 < 0) {
this.s1 += 1;
}
this.s2 -= mash.mash(seed);
if (this.s2 < 0) {
this.s2 += 1;
}
}
public next(): number {
const t = 2091639 * this.s0 + this.c * 2.3283064365386963e-10; // 2^-32
this.s0 = this.s1... | Typescript |
s.tagOrderingTableName,
orderColumnName: _SQLNames.tagOrderingUserOrder,
n: newOrder,
);
getLogger().config("N-1th and Nth order values $nMinus1AndNthValue");
final (firstOrder, secondOrder) = getFirstAndSecondOrder(
nMinus1thAndNthValue: nMinus1AndNthValue,
);
getLogger().config("firstOrder: $fir... | Dart |
_[idx];
return;
}
/**
* Adapted from MobileFusion - Ondruska et al.
*/
float KeyFrameSelector::score(int width, int height,
const Matrix3f& K, const Matrix3f& Kinv,
const SE3f& new_to_ref,
float min_depth, float max_depth,
... | C++ |
s.AccountI) bool {
ethAccount, ok := account.(haqqtypes.EthAccountI)
if !ok {
// ignore non EthAccounts
return false
}
addr := ethAccount.EthAddress()
storage := suite.app.EvmKeeper.GetAccountStorage(suite.ctx, addr)
suite.Require().Equal(tc.expRes[i], len(storage))
i++
retur... | Go |
og.Println(DEBUG, "api/operator:", "Creating new operator", op)
// Save new record
ds.Put(op)
} else { // Update
// Get old record
result, _ := ds.Get(fmt.Sprintf("operator.%s", id))
if result == nil {
resp.WriteHeader(http.StatusNotFound)
fmt.Fprintf(resp, "Not Found")
return
}
... | Go |
forms=[
dict(type='Blur', p=0.1),
dict(type='MedianBlur', p=0.1),
dict(
type='CoarseDropout',
max_holes=1,
max_height=0.4,
max_width=0.4,
min_holes=1,
min_height=0.2,
min_w... | Python |
{
emitters.forEach((emitter) => d.add(emitter));
}
if (error) {
d.on('error', error);
}
}
/**
* Create or use active domain. If domain is already initialized
* in application it uses existing domain else create new
* domain object.
*
* @returns {StoreDomainInterface}
*/
function createOrUseActiveD... | Typescript |
Wrong validity check");
check(!g.valid(g.arcFromId(-1)), "Wrong validity check");
}
void checkGridGraph(int width, int height) {
typedef GridGraph Graph;
GRAPH_TYPEDEFS(Graph);
Graph G(width, height);
check(G.width() == width, "Wrong column number");
check(G.height() == height, "Wrong row number");
G.r... | C++ |
of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ... | Dart |
List.add(realAction);
}
return actionList..add(SizedBox(width: themeData.leftAndRightPadding));
}
BrnTextAction _warpRealAction(BrnTextAction textAction) {
return BrnTextAction(
textAction.text,
iconPressed: textAction.iconPressed,
themeData: themeData,
key: textAction.key,
... | Dart |
] =
CardBackgroundColorAttr().apply { attrResourceRefId = resId }
}
android.R.attr.indeterminateTint -> {
if (resId != -1) skinAttrsSet.attrsMap[IndeterminateTintAttr.TAG] =
IndeterminateTintAttr().apply { attrResourceRe... | Kotlin |
mentStatusType currentStatus,
@Default([]) List<TrackNumberService> trackServices,
TrackingInfo? lastTrackingInfo,
ShipmentActivityInfo? lastActivity,
List<TrackingResponseInfo>? lastTrackingResponse,
}) = _ParcelInfo;
}
// Copyright (C) 2021-2024 Yaroslav Pronin <proninyaroslav@mail.ru>
// Copyright ... | Dart |
!important;
}
.ReadMsgBody {
width: 100%;
}
.ExternalClass {
width: 100%;
}
body {
-webkit-text-size-adjust: none;
}
body {
margin: 0; padding: 0;
}
img {
border: 0; outline: none; text-decoration: none;
}
#backgroundTable {
height: 100% !important; margin: 0; padding: 0; width: 100% !important;
}
#backgroundTable {
c... | HTML |
import requests
from requests_oauthlib import OAuth1
import os
consumer_key = os.environ.get("CONSUMER_KEY")
consumer_secret = os.environ.get("CONSUMER_SECRET")
access_token = os.environ.get("ACCESS_TOKEN")
access_token_secret = os.environ.get("ACCESS_TOKEN_SECRET")
def random_fact():
fact = requests.get("https... | Python |
;white-space:nowrap;padding:0;margin:0}.ms-Breadcrumb-list .ms-Breadcrumb-listItem{list-style-type:none;vertical-align:top;margin:0;padding:0;display:inline-block}.ms-Breadcrumb-list .ms-Breadcrumb-listItem:last-of-type .ms-Breadcrumb-chevron{display:none}.ms-Breadcrumb-overflow{display:none;position:relative;margin-ri... | CSS |
(modState != null) {
$result.modState = modState;
}
if (demodState != null) {
$result.demodState = demodState;
}
if (txState != null) {
$result.txState = txState;
}
if (rxState != null) {
$result.rxState = rxState;
}
if (state != null) {
$result.state = sta... | Dart |
return ReturnT.SUCCESS
}
@XxlJob("synOMNI")
fun synOMNI(param: String): ReturnT<String> {
synService.synOMNI()
return ReturnT.SUCCESS
}
@XxlJob("synDASH")
fun synDASH(param: String): ReturnT<String> {
synService.synBTCOrFork(rpcClient.dashRpc(), ChainType.DASH)... | Kotlin |
the VBO data for just
// one square is actually passed to the GPU
let offsetsArray = [];
let colorsArray = [];
let transform1Array = [];
let transform2Array = [];
let transform3Array = [];
let transform4Array = [];
let n: number = 1.0;
for(let i = 0; i < n; i++) {
for(let j = 0; j < n; j++) {
... | Typescript |
113.323 42.5088C113.002 42.4073 112.663 42.3719 112.327 42.4047C111.991 42.4376 111.666 42.538 111.37 42.7L89.12 53.7L111.12 67.64C111.682 67.9891 112.359 68.1029 113.005 67.957C113.65 67.811 114.213 67.417 114.57 66.86C114.756 66.5813 114.884 66.2681 114.946 65.9389C115.009 65.6098 115.004 65.2715 114.933 64.9441C114... | HTML |
-1.2188 101.6367 -1.6875 Q101.8086 -2.0469 101.8086 -2.7344 L101.8086 -3.125 ZM104.5137 0 L104.5137 -6.2188 L105.4512 -6.2188 L105.4512 -5.3438 Q105.748 -5.8125 106.2324 -6.0781 Q106.7168 -6.3594 107.3418 -6.3594 Q108.0293 -6.3594 108.4668 -6.0781 Q108.9199 -5.7969 109.0918 -5.2812 Q109.8418 -6.3594 111.0137 -6.3594 Q... | HTML |
ontext) {
return Scaffold(
backgroundColor: Theme.of(context).colorScheme.background,
appBar: AppBar(
title: const Text("P2P Call App"),
),
body: SafeArea(
child: Column(
children: [
Expanded(
child: Stack(children: [
RTCVid... | Dart |
$ff,S),y
pea $feff
sbc $ff,x
inc $ff,x
sbc [$ff],y
sed
sbc $feff,y
plx
xce
jsr ($feff,x)
sbc $feff,x
inc $feff,x
sbcl $fdfeff,x | Assembly |
await tester.pump(const Duration(milliseconds: 500));
await tester.tap(find.byType(BarColorPicker));
await tester.pumpAndSettle();
expect(colorValue, isNot(equals(0)));
});
});
}
// ignore_for_file: lines_longer_than_80_chars
import '/plugins/emoji_picker_flutter/emoji_picker_flutter.da... | Dart |
"true"
)
type ResourceWithHistory struct {
resource ctlres.Resource
changeFactory *ChangeFactory
diffAgainstLastAppliedFieldExclusionMods []ctlres.FieldRemoveMod
}
func NewResourceWithHistory(resource ctlres.Resource,
changeFactory *ChangeFactory, diffAg... | Go |
t");
record.field("id", data.getCyclesDone());
record.field("name", "Luca");
record.field("surname", "Garulli");
record.field("birthDate", date);
record.field("salary", 3000f + data.getCyclesDone());
content = record.toStream();
storage.createRecord(new ORecordId(), content, 0, (byte) 'd')... | Java |
, 0x15);
/// ```
pub const fn dev_id(&self) -> u8 {
(self.uid & 0xFF) as u8
}
}
impl From<u64> for Uid64 {
fn from(uid: u64) -> Self {
Uid64 { uid }
}
}
impl From<Uid64> for u64 {
fn from(uid: Uid64) -> Self {
uid.uid
}
}
impl Display for Uid64 {
fn fmt(&self, ... | Rust |
have required property 'address'";
test("Humanize ErrorObject w/ Json Notation", t => {
t.assert(humanizeErrorsToString(errorsWithJsonNotation) === expectedErrorString);
});
test("Humanize ErrorObject w/ Json Pointers", t => {
t.assert(humanizeErrorsToString(errorsWithJsonPointers) === expectedErrorString);
});
... | Typescript |
"raw": "v1.0.8",
"major": 1,
"minor": 0,
"patch": 8,
"prerelease": [],
"build": [],
"version": "1.0.8",
"docsUrl": "http://code.angularjs.org/1.0.8/docs"
},
{
"raw": "v1.0.7",
"major": 1,
"minor": 0,
"patch": 7,
"prerelease": [],
"build": [],
"version": "1.0... | JavaScript |
agName;
}
if (options.start) {
options.start(tagName, attrs, unary, match.start, match.end);
}
}
function parseEndTag (tagName, start, end) {
var pos, lowerCasedTagName;
if (start == null) { start = index; }
if (end == null) { end = index; }
if (tagName) {
lowerCasedTagNam... | JavaScript |
.content, content)
assert.deepEqual((await driver.list(root)).map(item => item.pk), [pk2, pk1, pk4, pk3])
/**
* Deleting an element shouldn't break the list.
*/
assert.equal(await driver.delete(pk4), true)
assert.deepEqual((await driver.list(root)).map(item => item.pk), [pk2, pk1, pk3])
/**
* Deletin... | Typescript |
bmTrack( 25, 1634, 0x066200), // 59
new CbmTrack( 25, 1659, 0x067b00), // 60
new CbmTrack( 25, 1684, 0x069400), // 61
new CbmTrack( 25, 1709, 0x06ad00), // 62
new CbmTrack( 25, 1734, 0x06c600), // 63
new CbmTrack( 25, 1759, 0x06df00), // 64
new CbmTrack( 23, 1784, 0x06f800), // 65
new CbmTrack( 23,... | Java |
See: serializeBatch.
type batchSerializingFunc func(
ctx context.Context,
batch *mel.SequencerInboxBatch,
tx *types.Transaction,
txIndex uint,
receiptFetcher ReceiptFetcher,
) ([]byte, error)
// Defines a function that can parse a sequencer message from a batch.
// See: arbstate.ParseSequencerMessage.
type seque... | Go |
_SUBSTR, OP_LEFT, OP_RIGHT, OP_INVERT,
OP_AND, OP_OR, OP_2MUL, OP_2DIV, OP_MUL, OP_DIV, OP_MOD,
OP_LSHIFT, OP_RSHIFT,
}
for _, opcodeVal := range tests {
op := &opcodeArray[opcodeVal]
err := opcodeDisabled(op, nil, nil)
if !errors.Is(err, ErrDisabledOpcode) {
t.Errorf("opcodeDisabled: unexpected error - ... | Go |
implementation produces the same numbers as the
// the more straightforward C++ implementation.
void SeedOutput() {
Random rng = new Random(0);
Expect.equals(rng.nextInt(1 << 32), 211425861);
Expect.equals(rng.nextInt(1 << 32), 2254041230);
Expect.equals(rng.nextInt(1 << 32), 4289937472);
Random rng2 = new Ra... | Dart |
PlotGrid" x1="1488.16" y1="150" x2="1488.16" y2="650" />
<text class="middle" x="1488.16" y="668">8 </text>
<line class="PlotGrid" x1="1803.95" y1="150" x2="1803.95" y2="650" />
<text class="middle" x="1803.95" y="668">10 </text>
<line class="PlotGrid" x1="2119.74" y1="150" x2="2119.74" y2="650" />
<text class="middle"... | HTML |
Отредактировать описание существующих обработчиков или добавить описание новых обработчиков обновления.<br>3. Проконтролировать построение очереди выполнения обработчиков обновления.<br>4. Сохранить изменения в файлы git-репозитория конфигурации.</p>
<p> </p></body></html><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Tra... | HTML |
test('Should draw triangle with texture and indices', () async {
await testTexture(TileMode.repeated, 'draw_vertices_texture_repeated');
},
// TODO(yjbanov): https://github.com/flutter/flutter/issues/86623
skip: isFirefox);
}
Future<HtmlImage> createTestImage({int width = 50, int height = 40}) {
final DomC... | Dart |
to it.
set ekernstack - SA(MINFRAME + REGSIZE), %g1
mov %g1, %sp
#ifdef VAC
! since the temporary stack used an alias for the real stack
! that was probably not aligned, we need to flush the old
! stuff from the cache to avoid "cache data bombs".
set _cpu0, %o0
set PERCPU_PAGES*PAGESIZE, %o1
call _vac_flush
... | Assembly |
result[p].setSize(4);
// set the points
result[p][0] = vtxLabel(i, 0, k);
result[p][1] = vtxLabel(i + 1, 0, k);
result[p][2] = vtxLabel(i + 1, 0, k + 1);
result[p][3] = vtxLabel(i, 0, k + 1);
... | C |
tive_loader/test_reflective_loader.dart';
import 'assist_processor.dart';
void main() {
defineReflectiveSuite(() {
defineReflectiveTests(DestructureLocalVariableAssignmentObjectTest);
defineReflectiveTests(DestructureLocalVariableAssignmentRecordTest);
});
}
@reflectiveTest
class DestructureLocalVariable... | Dart |
)) {
written = writev(audioFD, iov, iovcnt);
if ((written < ((int)(sizeof(samples) * iovcnt)))) {
/* audio buffer was full! */
int naptime;
if (written == -1) {
if (errno != EAGAIN) {
xf86Msg(X_ERROR,
... | C |
#
# This application showcases how UI components can be placed
# to create a more complex layout. The position of all components
# is determined by a (x,y) pair prodived by the developer.
#
# Take a look at the "row-column" application to see how to use
# automatic positioning by leveraging the begin*()/end*() API.
# ... | Python |
al normal 12px Arial,Helvetica,Tahoma,Verdana,Sans-Serif;color:#333;text-align:left;white-space:nowrap;cursor:auto;float:none}.cke_reset_all .cke_rtl *{text-align:right}.cke_reset_all iframe{vertical-align:inherit}.cke_reset_all textarea{white-space:pre}.cke_reset_all input[type=password],.cke_reset_all input[type=text... | CSS |
t.h>
#include <fcntl.h>
#include <sys/errno.h>
#include <pthread.h>
#include <math.h>
#include <unistd.h>
#include <signal.h>
#include <sys/prctl.h>
#include <map>
#include <set>
#include <vector>
#include "acl.h"
#include "sample_comm.h"
static pthread_t g_jpege_pid[MAX_JPEGE_CHN];
static pthread_t g_jpege_get_stream... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.