content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
goto ERROR1;
goto DODELETE;
/*
this.m_bChanged = true;
continue;
* */
}
{
// 合订双格的左侧位置,不能用RemoveSingleIndex删除
// 探测是否为合订成... | C# |
.4", "2.4", prebuilt = false),
at!("2.3.7", "2.3.7", "2.3.7", prebuilt = false),
at!("2.3.6", "2.3.6", "2.3.6", prebuilt = false),
at!("2.3.5", "2.3.5", "2.3.5", prebuilt = false),
at!("2.3.4", "2.3.4", "2.3.4", prebuilt = false),
at!("2.3.3", "2.3.3", "2.3.3", prebuilt = false),... | Rust |
, %r9, %r28
.word 0x8b780409 ! 574: MOVR_R move %r0, %r9, %r5
.word 0x8e2a2510 ! 574: ANDN_I andn %r8, 0x0510, %r7
.word 0x9eba21b4 ! 574: XNORcc_I xnorcc %r8, 0x01b4, %r15
.word 0xab782401 ! 574: MOVR_I move %r0, 0x1b4, %r21
.word 0x893a0009 ! 574: SRA_R sra %r8, %r9, %r4
.word 0x87322001 ! 574: SRL_I s... | Assembly |
, '', '', '', '', '', '', '9908001', '', '', '2', '', '卡蒂雅', 'Katya', '', '', '4', '', '', '', '', '', '', '', '', '1000912', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'1000912', '', '总之你们没事真是太好了。', '', '', '', '', '', '', '', '', '', '9908001', '', '', '2', '', '卡蒂雅', 'Katya', '', '', '3', '', ... | Lua |
CodeAt(u+1));zFn(f,b,l)}else{u=(a-84)*2;zFn(f,tht[u],tht[u+1])}o=Yft[a];T_(o,"Specials")&&zFn(f,65520,65533);if(T_(o,nce)){zFn(f,983040,1048573);zFn(f,1048576,1114109)}s2(Zft,o,f);s2(nht,o,GGn(f));s=r.a.length;0<s?r.a=s1(r.a,0,0):0>s&&(r.a+=Z$($nn(Uht,L1n,28,-s,15,1)));r.a+="Is";if(BL(o,FCn(32))>=0){for(i=0;i<o.length;... | JavaScript |
77)); // madeleine loop 3
pts.add(new GeoPoint(48.870489898165346, 2.32583329384164)); // madeleine loop 4
pts.add(new GeoPoint(48.87073649426996, 2.3250165432446863)); // madeleine loop 5
pts.add(new GeoPoint(48.87075410823092, 2.3247085881016005)); // madeleine loop 6
pts.add(new GeoPo... | Java |
*/
#include "mfs_io_range_overlap_chker.h"
#include "src/include/branch_prediction.h"
namespace pos
{
MetaFsIoRangeOverlapChker::MetaFsIoRangeOverlapChker(void)
: outstandingIoMap(nullptr)
{
}
MetaFsIoRangeOverlapChker::MetaFsIoRangeOverlapChker(BitMap* outstandingIoMap)
: outstandingIoMap(outstandingIoMap)
{
}
Me... | C++ |
978,979,1061,1062,1081,1095,1114,1142,1144,1562,1653,2243,2246,2247,2253,2318,2320,2431,2557,2561,2567,2572,2573,2574,2624,2635,2649,2656,2715,2716,2718,2723,2728,2729,2742,2743,2760,2761,2829,2893,2906,2907,2924,2932,2945,4260,4329,4331,4352,4356,4357,4360,4361,4362,4363,4378,4386,4387,4396,4397,4401,4415,4505,4506,46... | Lua |
ario"
.x(() => results = this.Run<ITestResultMessage>(feature));
"Then the step fails"
.x(() => Assert.IsAssignableFrom<ITestFailed>(results.Single()));
"And the exception is the exception thrown after the yield"
.x(() => Assert.Equal("I yielded ... | C# |
751;v76[v752]=v751[v78[4]];v750=4;end if (1==v750) then v78=v66[v70];v752=v78[2];v76[v752](v76[v752 + 1 ]);v70=v70 + 1 ;v750=2;end if (v750==10) then v76[v78[2]]=v78[3];break;end if (v750==0) then v751=nil;v752=nil;v76[v78[2]]=v78[3];v70=v70 + 1 ;v750=1;end if (v750==7) then v70=v70 + 1 ;v78=v66[v70];v76[v78[2]]=v78[3]... | Lua |
return {
descriptions = {
Joker = {
j_joy_adaman_analyzer = {
name = "{C:joy_effect}魔救之分析者",
text = {
{
"{C:attention}发掘{}并检查顶部{C:attention}#1#张牌:",
"每张发掘出的{C:diamonds}方片{}使本回合获得{C:chips}+#2#{}筹码"... | Lua |
:
- prefix-sum
- sliding-window
- Hash
---
# 🚀 _Day 3. Largest Subarray of 0s and 1s_ 🧠
The problem can be found at the following link: [Problem Link](https://www.geeksforgeeks.org/batch/gfg-160-problems/track/prefix-sum-gfg-160/problem/largest-subarray-of-0s-and-1s)
## 💡 **Problem Description:**
You are g... | Markdown |
tpm = { help = '傳送至標記點 (僅限管理員)' },
togglepvp = { help = '切換伺服器 PVP 狀態 (僅限管理員)' },
addpermission = {
help = '給予玩家權限 (僅限最高權限)',
params = {
id = { name = 'id', help = '玩家 ID' },
permission = { name = 'permission', help = '權限等級' },
},
... | Lua |
n int) uint32 {
rs := roll(offset, len)
return rs.Digest()
}
sum1a := sum(0, len(buf))
sum1b := sum(1, len(buf))
sum2a := sum(len(buf)-windowSize*5/2, len(buf)-windowSize)
sum2b := sum(0, len(buf)-windowSize)
sum3a := sum(0, windowSize+3)
sum3b := sum(3, windowSize+3)
if sum1a != sum1b {
t.Errorf("sum1a... | Go |
on: Number of tasks.)")
print(f"--minEPT: {args.minEPT} (Description: Minimum number of errands per task.)")
print(f"--maxEPT: {args.maxEPT} (Description: Maximum number of errands per task.)")
print(f"--task_type_rl: {args.task_type_rl} (Description: Relative likelihood of selecting an E or an S location.)... | Python |
private async handleLevel(sectionEntry: {section: Section; levels: Level[]}, flat: Flat): Promise<Level> {
const {section, levels} = sectionEntry;
const existingLevel = levels.find((level) => level.levelNumber === flat.level);
if (existingLevel) {
return existingLevel;
... | Typescript |
if the connection uses TLS,
// either because the conn passed to [New] was a TLS connection, or because
// [Conn.StartTLS] was called.
func (c *Conn) TLSConnectionState() *tls.ConnectionState {
if conn, ok := c.conn.(*tls.Conn); ok {
cs := conn.ConnectionState()
return &cs
}
return nil
}
// WriteCommandf write... | Go |
/* -*- c-set-style: "K&R"; c-basic-offset: 8 -*-
*
* This file is part of PRoot.
*
* Copyright (C) 2015 STMicroelectronics
*
* This program 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; either versio... | C |
*/ strb r0, [r1, #2]
/*0x410e*/ strb r0, [r1, #3]
/*0x4110*/ strb r2, [r1, #4]
/*0x4112*/ ldr r1, [pc, #0x134] /* data_4248 */
/*0x4114*/ ldr r2, [pc, #0x138] /* data_4250 */
/*0x4116*/ mov lr, sb
/*0x4118*/ mov r6, sl
jump_411a:
/*0x411a*/ ldr r4, [pc, #0x128] /* dat... | Assembly |
new Formula(getOnes(number).join(" + "));
for(let i = 1; i < number; i++) {
if(formulas.has(i)) {
if(number % i === 0 && isBetter(formulas, i, number / i, best)) {
best = combine(formulas.get(i), formulas.get(number / i), "*");
}
if(isBetter(formulas,... | Typescript |
terer) FilterUnpaused(opts *bind.FilterOpts) (*FarcasterKeyRegistryUnpausedIterator, error) {
logs, sub, err := _FarcasterKeyRegistry.contract.FilterLogs(opts, "Unpaused")
if err != nil {
return nil, err
}
return &FarcasterKeyRegistryUnpausedIterator{contract: _FarcasterKeyRegistry.contract, event: "Unpaused", l... | Go |
Min: r2.Vec{X: -1.1, Y: -1}, Max: r2.Vec{X: -0.9687500000000001, Y: -0.875}},
nodes: [4]*tile{
ne: {
particle: particle2{x: -1, y: -1, m: 1},
bounds: r2.Box{Min: r2.Vec{X: -1.034375, Y: -1}, Max: r2.Vec{X: -0.9687500000000001, Y: -0.9375}},
center: ... | Go |
的高度,决定了精神的高度,精神的高度,决定了表达的高度。**
大家看,是不是这个理?
**所以,选书很重要,市面上烂书一大堆,你看书不对,选得不对,吸收的观点就不对。**
这就是为什么“鸡汤”类的书很受欢迎,容易成为爆款,因为看起来容易呀,没啥内容,就是情绪渲染,看着挺有道理,实际上没啥作用。
这类书籍,咱们一定要避免。
**我本人一直用的是樊登读书,推荐。**

**新用户是可以免费听 7 天的,现在不知道有没有这个活动了,有需要的可以扫码试一下。**
我之前用过喜马拉雅、得道,个人最喜欢樊登读书,因为所有的书,都是樊登本人在... | Markdown |
.77874;
--wa: 85.5695% 0.084806 74.427797;
--er: 85.5116% 0.07889 16.886379;
--rounded-box: 1.2rem;
--rounded-btn: 0.8rem;
--rounded-badge: 0.4rem;
--tab-radius: 0.7rem
}
:root:has(input.theme-controller[value=sunset]:checked) {
color-scheme: dark;
--pc: 14.9408% 0.031656 39.94703;
-... | CSS |
⏳ Окупаемость: 12 месяцев\n\n"
"💡 **Как это работает?**\n"
"1️⃣ Вы покупаете карту.\n"
"2️⃣ Карта начинает приносить доход.\n"
"3️⃣ Окупаемость наступает через 12 месяцев.\n\n"
"Нажмите \"Купить\", чтобы приобрести карту, или \"Назад\", чтобы вернуться."
),
reply_markup=... | Python |
/*
* Copyright (c) 2013-2014, yinqiwen <yinqiwen@gmail.com>
* Copyright (c) 2014, Matt Stancliff <matt@genges.com>.
* Copyright (c) 2015, Salvatore Sanfilippo <antirez@gmail.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided ... | C |
rdian / 61
{ 3, 321 }, -- Imperial Plate / 53-61
{ 16, 533 }, -- Battlegear of Undead Slaying / 63
},
},
{ -- Misc
name = format(AL["%s Sets"], AL["Misc"]),
[NORMAL_DIFF] = {
-- Fist weapons
{ 1, 261 }... | Lua |
Vf32 b_inc [3], const fstb::Vf32 a_inc [3]) noexcept;
static fstb_FORCEINLINE float
process_sample_single_stage (Biquad4SimdData &data, float x_s, int stage, int mem_pos, int alt_pos) noexcept;
};
template <class STP>
void Biquad4Simd_Proc <STP>::process_block_parallel (Biquad4SimdData &data, fstb::Vf32 out_... | C++ |
数,那么当 $\sqrt{r}$ 为偶数时,和式为 $n$;否则,和式依据 $n$ 奇偶性不同,在 $0$ 和 $-1$ 之间交替变化。下面考虑 $r$ 不是完全平方数的情形。
为了应用类欧几里得算法,首先将求和式转化为熟悉的形式:
$$
\begin{aligned}
\sum_{d=1}^n(-1)^{\lfloor d\sqrt{r}\rfloor} &= \sum_{d=1}^n\left(1 - 2(\lfloor d\sqrt{r}\rfloor\bmod 2)\right)\\
&= n - 2\sum_{d=1}^n\left(\lfloor d\sqrt{... | Markdown |
" },
{ "CI", "\u12ae\u1275 \u12f2\u126f\u122d" },
{ "CK", "\u12a9\u12ad \u12f0\u1234\u1276\u127d" },
{ "CL", "\u127a\u120a" },
{ "CM", "\u12ab\u121c\u1229\u1295" },
{ "CN", "\u127b\u12ed\u1293" },
{ "CO", "\u12ae\u120e\u121d\u1262\u12eb" },
... | Java |
import pytest
import logging
from unittest.mock import MagicMock
from otel_wrapper.domain.services.logs_service import LogsProcessorService
class TestLogsProcessorService:
"""Test suite for LogsProcessorService."""
def test_init(self):
"""Test initialization of logs service."""
# Create a moc... | Python |
received a copy of the MIT License
// along with the Jellyfish library. If not, see <https://mit-license.org/>.
//! Range proof gates.
use crate::{
circuit::{Circuit, PlonkCircuit, Variable},
errors::{PlonkError, SnarkError::ParameterError},
};
use ark_ff::{BigInteger, PrimeField};
use ark_std::{string::ToStr... | Rust |
rics) = init_counters(&node, &addr.to_string()).await;
let handle = Handle::current();
let bob = BobServer::new(Grinder::new(mapper, &node).await, handle, shared_metrics);
info!("Start backend");
bob.run_backend().await.unwrap();
info!("Start API server");
let http_api_port = matches
.... | Rust |
在vma内
而case 2,3 因为不需要调整next。或者更加准确的讲是只需要调整一个vma的状态,所以不在vma_adjust函数中最开始的那个if条件中处理。
接着我们再打开需要调整next的六种情况,其中又可以分成两种
* 删除next, case 1,6,7,8
* 调节next, case 4,5
到这里我们把上述的分析总结一下,看看vma_merge的八中情况到了vma_adjust都有哪些分类:
```
+-- 不动 *next* -- case 2, 3
|
|
-+ +-- 删除 *next* -- case 1,6,7,8
| ... | Markdown |
nd/or nanosecond.
///
/// # Example
///
/// ~~~~
/// use chrono::{NaiveDate, NaiveDateTime, Datelike, Timelike, Weekday};
///
/// let d = NaiveDate::from_ymd(2015, 6, 3);
///
/// let dt: NaiveDateTime = d.and_hms_nano(12, 34, 56, 789_012_345);
/// assert_eq!(dt.year(), 2015);
... | Rust |
.align 3
.LC920:
.xword .LC919
.global _mcount
.align 2
.p2align 3,,7
.global HEVC_SimpleDPBProcess
.type HEVC_SimpleDPBProcess, %function
HEVC_SimpleDPBProcess:
stp x29, x30, [sp, -32]!
add x29, sp, 0
stp x19, x20, [sp, 16]
mov x20, x0
mov x0, x30
add x19, x20, 53248
bl _mcount
ldrb w0, [x19, 1072]
cbnz... | Assembly |
NSCEIVER_DIRECTION_SENDRECV,ʹ EasyRTC_transceiverOnFrame õĻص
rtcRtpTransceiverInit_v_.direction = RTC_RTP_TRANSCEIVER_DIRECTION_SENDRECV;// RTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY;
ret = EasyRTC_addTransceiver(webrtcpeer->peer_, &video_track_, &rtcRtpTransceiverInit_v_, &webrtcpeer->videoTransceiver_);
EasyRtcDevi... | C++ |
rray,
) -> jstring {
return if let Ok(val) = env.get_byte_array_elements(data, ReleaseMode::NoCopyBack) {
let length = val.size().unwrap_or(0) as usize;
let buf = unsafe {
std::slice::from_raw_parts(
std::mem::transmute::<*mut i8, *mut u8>(val.as_ptr()),
l... | Rust |
HqcudX85glAogQ1iqUL4ntYdt73HjRhgZ5/uLFByKLjDkJriIlx
ZYSxcCiJ8BTWAVKp94M38DdC33iBBNajZjBkMA4GA1UdDwEB/wQEAwIBBjASBgNV
HRMBAf8ECDAGAQH/AgEAMB0GA1UdDgQWBBSm8HSakoDfxVb6CiU2cBRl3P73gDAf
BgNVHSMEGDAWgBST0EMXQTt8FI1eCm8X9jS6MNjeLjAKBggqhkjOPQQDAgNHADBE
AiA3t40JojHqLDER+dVJ7XdGk4Pxoxyn0IHloTHvL//nagIgN644i0E6RsyI3IBi
4r42rfgb... | Go |
lic Input<string>? MatchCriteria { get; set; }
[Input("privatePoolIds")]
private InputList<string>? _privatePoolIds;
/// <summary>
/// The node group specific private pool resource ids.
/// </summary>
public InputList<string> PrivatePoolIds
{
get => ... | C# |
lock', target);
},
status: "bounty",
isZ: "quagniumz",
secondary: null,
target: "normal",
type: "Ground",
},
// a random duck
grapes: {
accuracy: true,
basePower: 0,
category: "Status",
desc: "Restores 50% HP, 50% Chance to boost Attack OR Speed 1 stage",
shortDesc: "Restores 50% HP, 50% Chanc... | Typescript |
compatibility.
If this function is \b not called, FLTK tries to figure out the range
when the window is shown. Please see the protected method
default_size_range() for details.
It is undefined what happens if the current window size does not fit
in the constraints passed to size_range().
\note
This on... | C++ |
var predictionResult = sut.Predict(dMatrixTest, strictShape: true);
Assert.AreEqual(2, predictionResult.Rank);
var expected = TestUtils.ExpectedRegressionPredictions;
var actual = TestUtils.FlattenArray(predictionResult);
TestUtils.AssertAreEqual(expected, actual);
}
[TestMet... | C# |
ing address8722Sbinput250Sbbuyer8722Sbsettlement8722Sbaddress250Sblabel(Object asset) {
return 'Atsiskaitymo $asset piniginės adresas';
}
@override
String get affiliate250Sbbanner250Sbcode => 'Reklaminės juostos kodas:';
@override
String affiliate250Sbbanner250Sbtext(Object appName, Object linebreak, Ob... | Dart |
毛病。React Native 的底层还是没有做到无缝适配,它至今没有发布 1.0 版(2019年底是 0.61 版),这多多少少也说明了一些问题。
如果你想用 React Native 做到 iOS 和安卓体验一致,并且充分发挥原生控件的功能,就需要同时熟悉 React Native、iOS、安卓三个平台,这对开发者的要求实在太高了。Airbnb 公司在使用 React Native 两年后,宣布放弃,改用原生技术栈。他们写了一篇[很长的文章](https://medium.com/airbnb-engineering/sunsetting-react-native-1868ba28e30a),解释为什么这么做,React Na... | Markdown |
applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.fac... | Java |
5 roberto Exp $
** Lua Parser
** See Copyright Notice in lua.h
*/
/*
** $Id: lstate.h,v 2.24.1.2 2008/01/03 15:20:39 roberto Exp $
** Global State
** See Copyright Notice in lua.h
*/
/*
** $Id: lstring.h,v 1.43.1.1 2007/12/27 13:02:25 roberto Exp $
** String table (keep all strings handled by Lua)
** See Copyright No... | Go |
ColumnDesc {
/// The name of the column.
pub name: String,
/// The OID of the column's type.
pub type_oid: u32,
/// The modifier for the column's type.
pub type_mod: i32,
/// True if the column lacks a `NOT NULL` constraint.
pub nullable: bool,
/// Whether the column is part of the t... | Rust |
ume(), ml(25.0f));
// oversampling and expect volume to not change except on multiples of 5 ms
for (int i = 0; i < 50; i++) {
tidal_volume.AddFlow(ticks(t) + milliseconds(i), liters_per_sec(-1));
// remove 1l/s flow over 5 ms only when i is a multiple of 5
int j = i / 5 * 5;
EXPECT_VOLUME_NEAR(tid... | C++ |
'?|腐皮惩戒者|',
[1946] = '?|莉莉丝·奈法拉|',
[1947] = '?|图勒·鸦爪|',
[1948] = '?|斯纳麦恩|',
[1949] = '?|阿祖拉的仆从|',
[1950] = 'H|兰妮·尤瑞克|Standing in front of a big house with a deer head mounted above the doorway.',
[1951] = '?|奎恩·尤瑞克|',
[1952] = "H|高级执行官哈德瑞克|He's standing at the bottom of the crypt next to a bookcase.",
[... | Lua |
ns)
/*
* Copyright 2017-Present the original author or authors.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | Kotlin |
">
<video id="scanner-video" autoplay playsinline></video>
<div class="scanner-frame">
<div class="scanner-corners">
<div class="corner top-left"></div>
<div class="corner top-right"></div>
... | JavaScript |
lumn].str.strip()
# Print the column values to check if the split and explode operations were successful.
print(f"\nColumn '{column}' values after splitting and exploding:")
print(df_exploded[column].unique())
# Assign the exploded DataFrame back to df
... | Python |
)
local mat1 = math3d.lookat(eyepos, at, updir)
local mat2 = math3d.lookto(eyepos, direction, updir)
print("lookat matrix:", math3d.tostring(mat1), "eyepos:", math3d.tostring(eyepos), "at:", math3d.tostring(at))
print("lookto matrix:", math3d.tostring(mat2), "eyepos:", math3d.tostring(eyepos), "direction:", math... | Lua |
BLE,
'speech_recognition_available': SPEECH_RECOGNITION_AVAILABLE,
'youtube_dl_available': YOUTUBE_DL_AVAILABLE,
'features': {
'file_analysis': True,
'url_analysis': YOUTUBE_DL_AVAILABLE,
'transcript_extraction': SPEECH_RECOGNITION_AVAI... | Python |
;
const acl_ea_entry *next_entry;
__u16 perm, tag;
__u32 id;
int group_found = 0;
int idx;
int count = (acl.length() - sizeof(*header)) / sizeof(*entry);
for (idx = 0; idx < count; ++idx) {
tag = entry->e_tag;
perm = entry->e_perm;
switch(tag) {
case ACL_USER_OBJ:
if (i_uid == perms.uid... | C++ |
unt == 2
def test_update_buttons_can_add(self, sample_party_members):
"""追加可能な状態でのボタン更新"""
from src.facilities.ui.guild.party_formation_panel import PartyFormationPanel
panel = Mock()
panel.party_members = sample_party_members # 2人(6人未満)
panel.available_charact... | Python |
Array()
s.SetArray([]string{"b", "d", "a", "c"})
fmt.Println(s.Slice())
// Output:
// [a b c d]
}
func ExampleSortedStrArray_SetUnique() {
s := garray.NewSortedStrArray()
s.SetArray([]string{"b", "d", "a", "c", "c", "a"})
fmt.Println(s.SetUnique(true))
// Output:
// ["a","b","c","d"]
}
func ExampleSortedSt... | Go |
rootView.addView(
create(context, iconResId, enableTalkBack, null),
count - 1
)
setMargin(rootView)
}
}
private fun hookNt() {
if (requireMinTimVersion(TIMVersion.TIM_4_0_95_BETA)) {
Initiator.loadClass("com.tencent.tim.aio.in... | Kotlin |
namespace MassTransit.JobService.Scheduling;
using System.Globalization;
using System.Text;
readonly struct CronExpressionSummary
{
public CronExpressionSummary(CronField seconds, CronField minutes, CronField hours, CronField daysOfMonth,
CronField months, CronField daysOfWeek, bool lastDayOfWeek, bool n... | C# |
] 伊莎贝拉皇后;伊莎贝拉女王;伊莎贝拉女皇",
"queen it over":"以女王自居,称王称霸,在女性中逞强",
"Queen Mary":"玛丽女王(历史上的英国女王);玛丽皇后号(油轮名)",
"queen mary's cushion":"[法] 假妊娠",
"Queen Maud Land":"[网络] 毛德皇后地;南极洲玛丽皇后地;德后地",
"queen mole rat":"[网络] 皇后鼹鼠",
"queen mother":"皇太后(当今国王的母亲)",
"Queen of England":"[网络] 英国女王;英国皇后;英国女皇",
"Queen of grace":"圣母玛利亚",
"Queen o... | Typescript |
vuPBoAAAEbSURBVDiNldNPK0RxFMbxz2WUkjIXyykbNVLkvgHlDdgoxdKCqLkrb0BifVfWvAErC4kXoOaW/SQLWZBr2KJrYWho/n5Xv3rO85xz6vyCPM+FaVzCiL+8ZVHyoAtBsVo5wiaCf9o7VrMoOe0W8IKxNvoTVpG10W8LLTo3M4mrDvpFofE4xEmHwlasYzcoVit1TGVRUu/HHabxMOoDfXYVpvGflfsKCNN4AddhGp9hqK+AMI3nsY8V3CDqOSBM4zkc4AM7KOMOCu1tv+YS9lDHK6YxiuGeAjCL00btjO+T38J9rytcYrnRsY... | CSS |
Scheduler _commandsScheduler;
public EnqueueReservingFlightBookingFlightSeatsReservedPolicyHandler(ICommandsScheduler commandsScheduler)
{
_commandsScheduler = commandsScheduler;
}
public async Task Handle(FlightSeatsReservedPolicy notification, CancellationToken cancellationToken)
{
... | C# |
DefaultVmInputForFunc("configChange", [][]byte{[]byte("esdtToken"), []byte(burnable)})
vmInput.CallerAddr = e.ownerAddress
output := e.Execute(vmInput)
assert.Equal(t, vmcommon.UserError, output)
assert.True(t, strings.Contains(eei.returnMessage, vm.ErrInvalidNumOfArguments.Error()))
newBaseIssingCost := big.NewI... | Go |
end
table_production.add{type="empty-widget"}
if line.class == "Floor" and preferences.fold_out_subfloors then
render_lines(line, indent + 1)
end
end
end
render_lines(floor, 0)
end
local function build_production_table(player)
-- No ... | Lua |
nction_p = (ecma_extended_object_t *) function_p;
ecma_object_t *this_arg_obj_p = ecma_get_object_from_value (this_arg);
ECMA_SET_INTERNAL_VALUE_POINTER (ext_function_p->u.bound_function.target_function,
this_arg_obj_p);
/* NOTE: This solution provides temporary... | C |
, [sp, #52] // store link register
movw r12, #0x0303
movt r12, #0x0303
mc_0_2 r12, 6, 2, 26, 18
ldr r14, [sp, #52] // restore link register
bx lr
/******************************************************************************
* Computation of the MixColumns transfo... | Assembly |
n'] = json.dumps(torrent)
return info
def make_artist_title(group, torrent):
if torrent.get('remasterYear', 0) == 0:
torrent['displayTitle'] = "Original Release"
if group.get("groupRecordLabel") != '':
torrent['displayTitle'] += " / " + group.get("groupRecordLabel")
else:
torrent['displayTitle... | Python |
LEXICON_RU: dict[str, str] = {'yes': 'ДА!',
'no': 'НЕТ',
'menu_descr': 'Открыть меню',
'welcome':(
"👋 Приветствую! Ты только что присоединился к нашему боту для изучения английского языка! 🇬🇧\n\n"
"Здесь ты можешь:\n"
"- ... | Python |
ителем"
},
{
"surah_number": 33,
"verse_number": 49,
"content":
"О те, которые уверовали! Если вы вступаете в брак с верующими женщинами, а затем объявляете им развод до того, как вы коснулись их, то они не обязаны перед вами выжидать срок. Одарите их и отпустите их красиво"
},
{
"surah_... | Dart |
from rest_framework import serializers
from .models import JobDetails, JobApplication
from apps.users.models import ApplicantProfile
class JobDetailSerializer(serializers.ModelSerializer):
class Meta:
model = JobDetails
fields = "__all__"
class ApplicationSerializer(serializers.ModelSerializer):... | Python |
if not modules then modules = { } end modules ['l-unicode'] = {
version = 1.001,
optimize = true,
comment = "companion to luat-lib.mkiv",
author = "Hans Hagen, PRAGMA-ADE, Hasselt NL",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files"
}
... | Lua |
.index(to)
val buffer = tfjsArray.bufferSync()
ndIndices(offsetFrom, offsetTo) { buffer.set(value, *it) }
}
override fun fillByArrayValue(array: NDArray, index: Int, from: Int, to: Int) {
val value = (array as NDArrayTFJS).tfjsArray.dataSync()[index]
fill(value as Number, from, ... | Kotlin |
mport (
"bytes"
"encoding/gob"
"log"
"time"
)
type Block struct {
Timestamp int64
Data []byte
PrevBlockHash []byte
Hash []byte
Nonce int
}
// 将 Block 序列化为一个字节数组
func (b *Block) Serialize() []byte {
var result bytes.Buffer
encoder := gob.NewEncoder(&result)
err := encoder.Enc... | Go |
ogram2 = 'bebe';
print('¿Es isograma de segundo ordern "$isogram2"? ${isIsogram(isogram2)}');
print('Compruebo el caso contrario:');
print(isPalindrome('No palindromo'));
print(isAnagram('No', 'Anagrama'));
print(isIsogram('No isograma'));
}
// Reemplar carácteres no alfabéticos y acentos y pasar a minúscul... | Dart |
SNEWDATA = Ref(NAME_ISNEWDATA);
public static readonly CodegenExpressionRef REF_EXPREVALCONTEXT = Ref(NAME_EXPREVALCONTEXT);
public static readonly CodegenExpressionRef LAMBDA_REF_EPS = Ref(LAMBDA_NAME_EPS);
public static readonly CodegenExpressionRef LAMBDA_REF_ISNEWDATA = Ref(LAMBDA_NAME_ISNE... | C# |
入域
/// </summary>
/// <param name="sender"></param>
/// <param name="args"></param>
[WriterCommandDescription("InsertListField")]
private void InsertListField(object sender, DCSoft.Writer.Commands.WriterCommandEventArgs args)
{
if (args.Mode == WriterCommandEv... | C# |
md = "channel_rcmd"
GotoMoe = "moe"
// GotoAuthor is search
GotoAuthor = "author"
GotoSp = "sp"
GotoMovie = "movie"
GotoEP = "ep"
GotoSuggestKeyWord = "suggest_keyword"
GotoRecommendWord = "recommend_word"
GotoTwitter = "twitter"
GotoChannel ... | Go |
2482](http://bugs.otrs.org/show_bug.cgi?id=2482) - IntroUpgradePre in .opm files is not working
on upgradinging via online repository.
# 2.2.4 2007-11-06
- 2007-11-06 Fixed bug#[2477](http://bugs.otrs.org/show_bug.cgi?id=2477) - Escalation time calculation (destination time of
escalation) is not working if ho... | Markdown |
f4, 0x0010($sp)
/* 00828 809B2DC8 AFAC0014 */ sw $t4, 0x0014($sp)
/* 0082C 809B2DCC 0C00B92D */ jal func_8002E4B4
/* 00830 809B2DD0 AFA8002C */ sw $t0, 0x002C($sp)
/* 00834 809B2DD4 3C01809B */ lui $at, %hi(D_809B32E8) ## $at = 809B0000
/* 00838... | Assembly |
l tcache
for i in range(3,10):
delet(i)
#chunk0 1 merge to ustbin, and the chunk2.presize will be 0x200
delet(0)
delet(1)
delet(2) #to make presize stable;maybe only link change both presize and sizeinuse, unlink only change inuse
#x = input("debug")
#then our target is cross-merge
#for cross-merge we must make sure th... | Markdown |
bestB = b;
}
}
}
}
}
if (!success) {
++failedMoves;
} else {
failedMoves = 0;
// Switch A and B.
if (bestA.index != _emptyElement) {
columnObjects[source].remove(bestA);
... | Dart |
"\x1e\v\U00020f1a", // 𠼚
0x20f1b: "\x1e\v\U00020f1b", // 𠼛
0x20f1c: "\x1e\v\U00020f1c", // 𠼜
0x20f1d: "\x1e\v\U00020f1d", // 𠼝
0x20f1e: "\x1e\v\U00020f1e", // 𠼞
0x20f1f: "\x1e\v\U00020f1f", // 𠼟
0x20f20: "\x1e\v\U00020f20", // 𠼠
0x20f21: "\x1e\v\U00020f21", // 𠼡
0x20f22: "\x1e\v\U00020f22", // 𠼢
0x20... | Go |
}
]
for p, h in zip(info['position_infer']['position'][1:], info['position_infer']['heading'][1:]):
if p != self.path_eps[ep_id][-1]['position']:
self.path_eps[ep_id].append({
'... | Python |
: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x37, 0x97, 0xad, 0xcf, 0x84, 0x79, 0xb8, 0x1e, 0x70, 0x52, 0x7f, 0x5, 0x2, 0x55, 0x15, 0x84, 0x27, 0x6, 0x54, 0xf7, 0x55, 0x12, 0x5a, 0xfb, 0xe7, 0xd2, 0x3c, 0xba, 0xa8, 0x91, 0xf9, 0xa3}}
return a, nil
}
var _flowserviceaccountScriptsVerify... | Go |
"|104|35|65.5|80|90.18|3.34",
"|104|35|63.5|80.5|115.23|3.34",
"|104|35|63.5|81|140.28|3.34",
"|104|35|63.5|81.5|145.29|10.02",
"|104|35|63|83|155.31|3.34",
"|104|35|62.5|83.5|75.15|3.34",
"|104|35|74.5|83.5|40.08|3.34",
"|104|35|62|84|75.15|3.34",
"|104|35|75|84|35.07|3.34",
"|... | Lua |
deo_fps=}, time={time.time() - st:.3f}s")
# sample_fps = nframes / max(total_frames, 1e-6) * video_fps
return [video,video_motion], sample_fps
# if return_video_sample_fps:
# return video, sample_fps
# return video
else:
assert isinstance(ele["video"], (l... | Python |
absolute;
inset: 0; }
.td-overlay--dark::after {
background-color: rgba(64, 63, 76, 0.3); }
.td-overlay--light::after {
background-color: rgba(211, 243, 238, 0.3); }
.td-overlay__inner {
position: relative;
z-index: 1; }
@media (min-width: 992px) {
.td-max-width-on-larger-screens, .td-card.... | CSS |
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Based on arch/arm/mm/proc.S
*
* Copyright (C) 2001 Deep Blue Solutions Ltd.
* Copyright (C) 2012 ARM Ltd.
* Author: Catalin Marinas <catalin.marinas@arm.com>
*/
#include <linux/init.h>
#include <linux/linkage.h>
#include <linux/pgtable.h>
#include <asm/assembler.h... | Assembly |
Config sets the Config field and marks it as non-optional;
// this prevents an empty or null value for this field from being omitted during serialization.
func (f *FormBlockPreviousButton) SetConfig(config *FormBlockPreviousButtonConfig) {
f.Config = config
f.require(formBlockPreviousButtonFieldConfig)
}
func (f *Fo... | Go |
using Voidstrap.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Windows;
using Voidstrap;
namespace Voidstrap
{
public class LaunchSettings
{
public LaunchFlag MenuFlag { ... | C# |
/* roadmap_glmatrix.h - opengl matrices wrapper interface
*
*
* LICENSE:
* Copyright 2010, Waze Ltd
* Alex Agranovich
*
*
* This file is part of RoadMap.
*
* RoadMap is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License V2 as published by
* ... | C |
지고 있는 숫자 카드의 개수 N(1 ≤ N ≤ 500,000)이 주어진다. 둘째 줄에는 숫자 카드에 적혀있는 정수가 주어진다. 숫자 카드에 적혀있는 수는 -10,000,000보다 크거나 같고, 10,000,000보다 작거나 같다. 두 숫자 카드에 같은 수가 적혀있는 경우는 없다.</p>
<p>셋째 줄에는 M(1 ≤ M ≤ 500,000)이 주어진다. 넷째 줄에는 상근이가 가지고 있는 숫자 카드인지 아닌지를 구해야 할 M개의 정수가 주어지며, 이 수는 공백으로 구분되어져 있다. 이 수도 -10,000,000보다 크거나 같고, 10,000,000보다 작거나 같다</p>... | Markdown |
* @license @tabler/icons-solidjs v3.11.0 - MIT
*
* This source code is licensed under the MIT license.
* See the LICENSE file in the root directory of this source tree.
*/a("filled","flag-3-filled","IconFlag3Filled",[["path",{d:"M19 4c.852 0 1.297 .986 .783 1.623l-.076 .084l-3.792 3.793l3.792 3.793c.603 .602 .22 1.... | JavaScript |
("expected sherpa error code %q, saw other sherpa error %#v", code, err)
}
}()
fn()
}
func tcompare(t *testing.T, got, expect any) {
t.Helper()
if !reflect.DeepEqual(got, expect) {
t.Fatalf("got:\n%#v\nexpected:\n%#v", got, expect)
}
}
func TestAccount(t *testing.T) {
log := mlog.New("webaccount", nil)
os... | Go |
/*
indexing
description: "C features for OBJC_CALLBACK_MARSHAL"
date: "$Date$"
revision: "$Revision$"
copyright: "Copyright (c) 2009, Daniel Furrer"
*/
#ifndef _OBJC_CALLBACK_MARSHAL_H_INCLUDED_
#define _OBJC_CALLBACK_MARSHAL_H_INCLUDED_
#include <eif_eiffel.h>
#include <objc/runtime.h>
#include <Foundation/NSMet... | C |
Rings/{key_ring}/cryptoKeys/{crypto_key}
///
/// Optional.
core.String? bootDiskKmsKey;
/// The number of local SSD disks to attach to the node, which is limited by
/// the maximum number of disks allowable per zone (see Adding Local SSDs
/// (https://cloud.google.com/compute/docs/disks/local-ssd)).
///
... | Dart |
*/
func fpregs_context_restore
ldp q0, q1, [x0, #CTX_FP_Q0]
ldp q2, q3, [x0, #CTX_FP_Q2]
ldp q4, q5, [x0, #CTX_FP_Q4]
ldp q6, q7, [x0, #CTX_FP_Q6]
ldp q8, q9, [x0, #CTX_FP_Q8]
ldp q10, q11, [x0, #CTX_FP_Q10]
ldp q12, q13, [x0, #CTX_FP_Q12]
ldp q14, q15, [x0, #CTX_FP_Q14]
ldp q16, q17, [x0, #CTX_FP_Q16]
ldp q1... | Assembly |
ro:
Quad::ONE,
Quad::NEG_INFINITY.powi(0);
powi_nan_zero:
Quad::ONE,
Quad::NAN.powi(0);
powi_inf_even:
Quad::INFINITY,
Quad::INFINITY.powi(2);
powi_inf_odd:
Quad::INFINITY,
Quad::INFINITY.powi(3);
... | Rust |
l be created
* implicitly and added to the scope.
*
* For best practices on using `ngModel`, see:
*
* - [Understanding Scopes](https://github.com/angular/angular.js/wiki/Understanding-Scopes)
*
* For basic examples, how to use `ngModel`, see:
*
* - {@link ng.directive:input input}
* - {@link input[text] ... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.