content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Id) throw new CustomError("자신의 프로젝트에는 지원할 수 없습니다.")
const applicationExisting = await Application.findOne({ where: { ownerId: userId, postId } })
if (applicationExisting) throw new CustomError("이미 지원 완료된 프로젝트입니다.")
const application = await Application.create({
role:... | Typescript |
RecoverCloneTask();
ASSERT_EQ(kErrCodeInternalError, ret);
}
TEST_F(TestCloneServiceManager, TestRecoverCloneTaskPushTaskFail) {
const UUID source = "uuid1";
const std::string user = "user1";
const std::string destination = "file1";
bool lazyFlag = true;
CloneInfo cloneInfo("uuid1", user, Clone... | C++ |
depsMap.set(key, (dep = new Set()))
}
if (!dep.has(effect)) {
dep.add(effect)
}
}
}
function trigger(target, key, type?) {
let deps = targetMap.get(target)
const effects = new Set()
deps.get(key)?.forEach(e => effects.add(e))
if (type === Types.ADD || type === Types.DELETE) {
const iter... | Typescript |
// 对应 ch5-eceval-support.scm
#ifndef __ECEVAL_SUPPORT_H__
#define __ECEVAL_SUPPORT_H__
#include "scheme_runtime.h"
int is_true(Reg *x);
int is_false(Reg *x);
void make_procedure(Reg *result, Reg *parameters, Reg *body, Reg *env);
int is_compound_procedure(Reg *p);
void procedure_parameters(Reg *result, Reg *p);
vo... | C |
.4lf\n", num); break;
case 5: printf("%.5lf\n", num); break;
}
return 0;
}
```
你会看到,在这段程序中,使用 switch…case 结构将 n 等于 1、2、3、4、5 时候所对应的程序输出行为都罗列了出来,看似好像解决了问题,可实际不然。当 n 等于 6、7、8、9、10 怎么办呢?就让我们通过今天的学习,来尝试解决这个问题吧。
## 必知必会,查缺补漏
你先来好好看看上面给出的那个设计的很丑的示例代码,case结构中的 5 行代码,除了 printf 中的格式控制字符串不同以外,其... | Markdown |
h = 0;
i = 0;
do {
j = (b + (i << 2)) | 0;
f[(e + (i << 3)) >> 2] = f[j >> 2];
f[(e + (i << 3) + 4) >> 2] = h;
d = h;
h = ((f[j >> 2] | 0) + h) | 0;
if (h >>> 0 > 524288) {
d = 0;
k = 19;
break;
}
if (d >>> 0 < h ... | JavaScript |
;offset` query parameters to retrieve the desired recurring transfers.
* @param transferRecurringListRequest (required)
* @return Call<TransferRecurringListResponse>
*
* @see <a href="/api/products/transfer/recurring-transfers/#transferrecurringlist">List recurring transfers Documentation</a>
... | Java |
: Boolean): List<CharSequence>
fun clear()
}
/*
* Copyright (C) 2025 The FlorisBoard Contributors
*
* 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/license... | Kotlin |
的跨境电子商务人才培训基地。
鼓励社会培训机构开展跨境电子商务人才培训,引进国内外知名培训机构,构建专业化、社会化、国际化的跨境电子商务人才培养体系。
第三十五条 本市探索建立知识、技术、管理等人力资本产权激励机制,引进跨境电子商务创新人才,开展跨境电子商务商业模式创新和技术创新。
第三十六条 本市健全和完善跨境电子商务人才吸引、培养、使用、流动和激励机制,发展跨境电子商务人才的公共服务体系。
鼓励建设开放共享的合作平台,建立跨境电子商务产业联盟与人才发展联盟,推进跨境电子商务人才与企业、项目、资本的对接。
## 第六章 环境营造和制度支持
第三十七条 国家规定的跨境电子商务投资、贸易、金融、税收等改革试点措施发生调整,... | Markdown |
EE – MMMM d, EEEE',
'_': 'y(\'e\')\'ko\' MMMM d, EEEE'
},
LONG_DATE: {
'M': 'y(\'e\')\'ko\' MMMM d – MMMM d',
'd': 'y(\'e\')\'ko\' MMMM d–d',
'_': 'y(\'e\')\'ko\' MMMM d'
},
MEDIUM_DATE: {
'M': 'y(\'e\')\'ko\' MMM d – MMM d',
'd': 'y(\'e\')\'ko\' MMM d–d',
'y': 'y(\'e\')\'ko\' MMM d ... | JavaScript |
#5
bne _02088474
add ip, ip, lr
_02088448:
sub ip, ip, #1
cmp ip, r2
bls _02088460
ldrsb r3, [ip]
cmp r3, #0x30
beq _02088448
_02088460:
cmp ip, r2
ldreqsb r3, [r2, #-1]
andeq r4, r3, #1
movne r4, #1
b _0208847C
_02088474:
movgt r4, #1
movle r4, #0
_0208847C:
cmp r1, #0
beq _020884D8
mov ip, #0
mov l... | Assembly |
true if this type is one of the signed integer types.
pub fn is_signed_integer(&self) -> bool {
use self::ExpressionType::*;
match self {
I8 | I16 | I32 | I64 | I128 | Isize => true,
_ => false,
}
}
/// Returns true if this type is one of the unsigned integer... | Rust |
[yi]
rbs = r1 - abs(i)
rsum += r[yi] * rbs
gsum += g[yi] * rbs
bsum += b[yi] * rbs
if (i > 0) {
rinsum += sir[0]
ginsum += sir[1]
binsum += sir[2]
} else {
routsum += sir[0]
... | Kotlin |
3, r4, r5, r6, r7, r8, pc}
_02304540:
mov r0, r8
mov r1, r7
bl ov00_0230716C
_0230454C:
mov r0, #0
add sp, sp, #0x2ac
ldmia sp!, {r3, r4, r5, r6, r7, r8, pc}
.align 2, 0
_02304558: .word 0x00000106
_0230455C: .word 0x00000201
_02304560: .word ov00_0231B35C
_02304564: .word ov00_0231B364
_02304568: .word ov00_023... | Assembly |
e, release: true);
}
NSSet setByAddingObjectsFromArray_(NSArray other) {
final _ret = _lib._objc_msgSend_362(
_id,
_lib._sel_setByAddingObjectsFromArray_1,
other._id,
);
return NSSet._(_ret, _lib, retain: true, release: true);
}
void enumerateObjectsUsingBlock_(ObjCBlock_ffiVoid_... | Dart |
al IAgent ag, final double appre, final double domi, final double solid, final double fami,
final double tru) {
this.agent = ag;
this.liking = appre;
this.hasLiking = true;
this.dominance = domi;
this.hasDominance = true;
this.solidarity = solid;
this.hasSolidarity = true;
this.familiarity = fami;
... | Java |
present for only [AttributionType.CATEGORY]
* feed item type.
* @param channel The channel that this event occurred for. This will be present for only [AttributionType.CHANNEL] feed
* item type.
* @param group The group that this event occurred for. This will be present for only [AttributionType.GROUP] feed item
... | Kotlin |
`Vue`构造函数。只不过在最终导出`Vue`的时候会经过一系列的处理。

小提示⏰:如果你是使用`vscode`查看`Vue`源码的话,`js`文件中有`ts`语法时,`vscode`会提示错误,此时可以在`vscode`的`setting.json`中添加这么一个配置:
```javascript
{
"javascript.validate.... | Markdown |
, lb: Bound<u64>, ub: Bound<u64>) -> TestResult {
let k1 = match lb {
Bound::Unbounded => None,
Bound::Included(k) => Some((false, k)),
Bound::Excluded(k) => Some((true, k)),
};
let k2 = match ub {
Bound::Unbounded => None,
Bound::Incl... | Rust |
this.consumerKey! +
"&consumer_secret=" +
this.consumerSecret!
: "?consumer_key=" +
this.consumerKey! +
"&consumer_secret=" +
this.consumerSecret!);
}
Random rand = Random();
List<int> codeUnits ... | Dart |
//
if (start > end) return -1;
if (array[start] == key) return start;
if (array[end] == key) return end;
final middle = start + (end - start) ~/ 2;
if (array[middle] == key) return middle;
if (key < array[middle]) {
return binarySearch(array, start + 1, middle - 1, key);
}
... | Dart |
447B8 38 21 00 20 */ addi r1, r1, 0x20
/* 8004787C 000447BC 4E 80 00 20 */ blr
.endfn draw__11J2DWindowExFffff
.fn setCullBack__11J2DWindowExFb, weak
/* 80047880 000447C0 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 80047884 000447C4 7C 08 02 A6 */ mflr r0
/* 80047888 000447C8 90 01 00 14 */ stw r0, 0x14(r1)
/* 8004788C... | Assembly |
= bg.width * 0.7
content:clip()
end
local minimumGap = close.w / 4 + confirm.w / 4
close.y = bg.height + bg:getBottomBlockH() * 0.5
close.x = close.w * 0.5
title.y = 0
title.x = bg.width * 0.5
if content ~= nil then
content.x = title.x
content.y = bg.height * 0.5
end
confirm.y = bg.height ... | Lua |
params_rate(params) * rfs;
switch (rclk) {
case 12288000:
case 18432000:
psr = 4;
break;
case 24576000:
case 36864000:
psr = 2;
break;
case 49152000:
case 73728000:
psr = 1;
break;
default:
printk("Not yet supported!\n");
return -EINVAL;
}
/* Set AUD_PLL frequency */
sclk = rclk * psr;
for... | C |
2.explain_direction2"),
Time = 0,
ParentTo = "Gearbox"
})
Chapter2:AddInstruction("Delay", {Length = 2.5})
Chapter2:AddInstruction("TransformModel", {Target = "Gearbox", Rotation = Angle(0, -180, 0), Length = 0.75})
Chapter2:AddInstruction("Delay", {Length = 1.75})
Chapter2:AddInstruction("HideText", {Name = "E... | Lua |
6c\u62a4\u9001", "source": "\u4eba\u6c11\u7f51\u5b89\u5fbd\u9891\u9053", "time": "2014-08-16 19:17"}, {"weight": 0.48793269521466776, "title": "ISIS\u5934\u76ee\u56e0\u6015\u7a7a\u88ad\u9003\u5f80\u53d9\u5229\u4e9a", "url": "http://weibo.com/1494720324/BizBv1NIx", "text": "ISIS\u5934\u76ee\u56e0\u6015\u7a7a\u88ad\u9003... | JavaScript |
using Backend.DTOs;
using Microsoft.AspNetCore.Mvc;
namespace Backend.services
{
public interface ICommonService<T, TI, TU>
{
Task<IEnumerable<T>> | C# |
unc() {
It("[test_id:3181]should have cloud-init network-config with NetworkData source", func() {
vmi := libvmifact.NewCirros(
libvmi.WithInterface(libvmi.InterfaceDeviceWithMasqueradeBinding()),
libvmi.WithNetwork(v1.DefaultPodNetwork()),
libvmi.WithCloudInitNoCloud(libcloudinit.WithNoCloudNetwo... | Go |
.groupId, event.senderId)
return true
}
}
plugin.generalConfig.getStringList("information.mspt.command", event.groupId).forEach {
if (!plugin.generalConfig.getBoolean("information.mspt.enable", event.groupId)) {
AQQBotAPI.fireEvent(PostInformationE... | Kotlin |
ames - I didn't do this
frame:RegisterForDrag("LeftButton");
end
function FlexBarFrame_UpdateLocation(frame)
-- The button frame has recieved a drag stop, or a moveABS/moveREL command has finished
-- Get the current button co-ordinates and store them
-- 1) Determine if this is a single button, or a group
-- 2) I... | Lua |
sor forward of n chars
*
* The following are used to clear the screen: ESC [ H ESC [ 2 J
* This is actually composed of two sequences:
*
* cursorhome
* Sequence: ESC [ H
* Effect: moves the cursor to upper left corner
*
* ED2 (Clear entire screen)
* Sequence: ESC [ 2 J
* Effect: clear the whole s... | C++ |
'save'])
p4.scatter('index', 'locations.COUNT(appointments)', alpha=.7, source=source, color='teal')
p4.title.text = 'Appointments by Neighborhood'
p4.xaxis.axis_label = 'Neighborhoods (hover to view)'
p4.yaxis.axis_label = 'Count'
return p4
def plot_noshow_by_loc(fm):
tmp = fm.groupby('neigh... | Python |
sType.TANGO_POSE_VALID)
{
return false;
}
return true;
}
/// <summary>
/// Sets up extrinsic matrixes and camera intrinsics for this hardware.
/// </summary>
private void _SetUpCameraData()
{
if (m_cameraDataSetUp)
{
retur... | C# |
SHRQ $0x02, R13
DECQ R13
MOVOU bswapMask<>+0(SB), X15
MOVOU gcmPoly<>+0(SB), X14
MOVOU (R8), X8
PXOR X9, X9
PXOR X10, X10
MOVOU (CX), X0
MOVL 12(CX), R10
MOVOU (AX), X11
MOVL 12(AX), R12
BSWAPL R10
BSWAPL R12
PXOR X0, X11
MOVOU X11, (SP)
ADDL $0x01, R10
MOVL R10, R11
XORL R12,... | Assembly |
value (see [mw.util.isIninity()]{@link module:mediawiki.util.isInfinity})
*/
this.callback( this.$link, isWatched, expiry );
}
};
/**
* Bind a given watchstar element to make it interactive.
*
* This is meant to allow binding of watchstars for arbitrary page titles,
* especially if different from t... | JavaScript |
IEnumerable<IDynamicModuleType> dynamicModuleTypes, IDynamicModuleType parent)
{
var result = new List<IDynamicModuleType>();
var childTypes = dynamicModuleTypes.Where(x => x.ParentTypeId == parent.Id).ToList();
if (childTypes.Count > 0)
{
| C# |
Active
? Icon(
Icons.keyboard_arrow_up,
color: card['color'],
)
: Icon(
Icons.keyboard_arrow_down,
color: card['color'],
),
... | Dart |
rning.com/chap1.html),它由 [Michael Nielsen](http://michaelnielsen.org/) 所著。
## 設定
根據你所使用的平台與作業系統版本,安裝我們將使用到的軟體(Caffe 與 DIGITS)可能會讓你感到十分挫敗。目前為止最簡單的方式是使用 Docker。以下我們將示範如何使用 Docker 來設定,以及如何用原生的方式來設定它。
### 方法 1a:原生安裝 Caffe
首先,我們將會使用到來自 Berkely Vision 及 Learning Center 的 [Caffe 深度學習框架](http://caffe.berkeleyvision.org/)(B... | Markdown |
5851.json)
* [Gingered Squash And Ham Soup With Cornmeal Dumplings 13483](../../index/g/gingered-squash-and-ham-soup-with-cornmeal-dumplings-13483.json)
* [Gyoza Japanese Dumplings 56390033](../../index/g/gyoza-japanese-dumplings-56390033.json)
* [Indian Sweet Coconut Dumplings 352879](../../index/i/indian-sweet-coc... | Markdown |
lingAdjustmentType;
/// <summary>
/// Current status of the scaling policy. The scaling policy can be in force only when in an ACTIVE status. Scaling policies can be suspended for individual fleets. If the policy is suspended for a fleet, the policy status does not change.
/// </summary>
... | C# |
+ chrStart + padding;
getHg().api.zoomTo(viewId, start, end, start, end, duration);
},
// TODO: Support assemblies (we can infer this from the spec)
zoomToExtent: (viewId, duration = 1000) => {
const [start, end] = [0, GET_CHROM_SIZES().total];
getHg().api.z... | Typescript |
tin", "ジョン・カーティン", "John Curtin", "约翰・卡廷"],
[1945, 1949, "pacific/ben-chifley", "ベネディクト・チフリー", "Benenedict Chifley", "本尼迪特克・奇夫利"],
[1949, 1966, "pacific/robert-menzies", "ロバート・メンジーズ", "Robert Gordon Menzies", "罗伯特・戈登・孟席斯"],
[1966, 1967, "pacific/harolt-holt", "ハロ儿ド・ホ儿ト", "Harold Holt", "哈罗德・霍尔特"],
[1967... | JavaScript |
.generateDisplayLists(7);
private int glSkyList;
private int glSkyList2;
private final ResourceLocation planetToRender = new ResourceLocation(Constants.ASSET_PREFIX, "textures/gui/celestialbodies/earth.png");
public SkyProviderOverworld()
{
GL11.glPushMatrix();
Tessellator tessellat... | Java |
.l "dw "
dc.l "dz "
dc.l "ea "
dc.l "fc "
dc.l "fp "
dc.l "fred"
dc.l "ftm "
dc.l "glue"
dc.l "gmc "
dc.l "hip "
dc.l "hip7"
dc.l "hipc"
dc.l "is "
dc.l "is20"
dc.l "it "
dc.l "jam "
dc.l "jb "
dc.l "jd "
dc.l "jpo "
dc.l "jt "
dc.l "kh "
dc.l "ma "
dc.l "mc "
dc.l "mk2 "
dc.l "ml ... | Assembly |
// Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
#pragma once
#include <QtCore/QElapsedTimer>
#include <QtCore/QObject>
#include <QtCore/QScopedPointer>
#include <QtCore/QVariantMap>
#include <nx/monitoring/activity_monitor.h>
#include <nx/utils/impl_ptr.h>
namespace nx... | C |
more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <linux/linkage.h>
#include <asm/assembler.h>
/*
* Find the last occurrence of a character in a string.
*
* Parameters:
* x0 - str
* x1 - c
*... | Assembly |
sleep = int(input())
wake = int(input())
length = (24 - sleep) + (wake - 0)
if 20 <= sleep <= 23 and 6 <= wake <= 9:
if 8 <= length <= 10:
print('Healthy')
else:
print('Unhealthy')
else:
print('Unhealthy')
| Python |
D528
/* 8001D4D8 00019138 80 1B 10 70 */ lwz r0, 0x1070(r27)
/* 8001D4DC 0001913C 7F 63 DB 78 */ mr r3, r27
/* 8001D4E0 00019140 38 80 01 9B */ li r4, 0x19b
/* 8001D4E4 00019144 2C 00 00 00 */ cmpwi r0, 0
/* 8001D4E8 00019148 57 C0 0D FC */ rlwinm r0, r30, 1, 0x17, 0x1e
/* 8001D4EC 0001914C 7F 85 E3 78 */ mr r5, ... | Assembly |
alogTitle, filters, existingValue);
}
EditorGUILayout.EndHorizontal();
return result;
}
public static string BrowseFolderField(GUIContent content, string existingValue, string dialogTitle)
{
EditorGUILayout.BeginHorizontal();
string re... | C# |
email);
});
it('Signup button navigates to signup page', async () => {
//1. Click 'Signup' button
await loginPage.clickSignupButton()
//2. Verify user renavigated
expect(await browser.getCurrentUrl()).toEqual("https://www.grip.tools/request-a-demo/");
});
});
import { test... | Typescript |
1-.5147-1.77754l-.00871-.04864c-.04939-.25873-.28755-.27684-.62981-.22448-.14234.02178-.5755.088-.53426.39969l.001.00712a9.08807,9.08807,0,0,0,15.406,4.99094c.00193-.00192.04753-.04718.0725-.07436C19.79425,19.16234,19.87422,18.98728,19.50945,18.6236Z" />
</SVG>
);
/**
* WordPress dependencies
*/
import { Path, SVG }... | JavaScript |
essClient.Text = "Fullscreen Client".L10N("UI:DTAConfig:FullscreenClient");
chkBorderlessClient.CheckedChanged += ChkBorderlessMenu_CheckedChanged;
chkBorderlessClient.Checked = true;
AddChild(chkBorderlessClient);
// 语言
var lblLanguage = new XNALabel(WindowM... | C# |
ePrimaryBlock = { fg = black, bg = background },
LineSecondaryBlock = { fg = blue, bg = background },
LineError = { link = 'DiagnosticError' },
LineHint = { link = 'DiagnosticHint' },
LineInfo = { link = 'DiagnosticInfo' },
LineWarning = { link = 'DiagnosticWarn' },
}
for group, opts in pairs(highlights) do
... | Lua |
t Methods --------------------------------
/*
* CTxtFormat::CTxtFormat(prg)
*
* @mfunc
* Constructor
*/
CTxtFormat::CTxtFormat(CTxtRange *prg)
{
_cRefs = 1;
_prg = prg; // NULL for clone
if(prg)
prg->AddRef();
}
/*
* CTxtFormat::~CTxtFormat()
*
* @mfunc
* Destructor
*/
CTxtFormat::~CTxtFormat()
{... | C++ |
use dot::{
disable_dot_uploading, disable_dotting, enable_dot_uploading, enable_dotting,
is_dot_uploading_disabled, is_dotting_disabled,
};
pub use download::{
sign_download_url_with_deadline, sign_download_url_with_lifetime, RangeReader,
RangeReaderBuilder,
};
pub use req_id::{set_download_start_time,... | Rust |
[(*encoded_len)++] = (char) ((s->crc >> 24) & 0xFF);
(*encoded)[(*encoded_len)++] = (char) ((s->Z.total_in) & 0xFF);
(*encoded)[(*encoded_len)++] = (char) ((s->Z.total_in >> 8) & 0xFF);
(*encoded)[(*encoded_len)++] = (char) ((s->Z.total_in >> 16) & 0xFF);
(*encoded)[(*encoded_len)++] = (char) ((s->Z.total_in >>... | C |
] / q[i__ + j * q_dim1];
/* L80: */
}
temp = snrm2_(k, &s[1], &c__1);
i__2 = *k;
for (i__ = 1; i__ <= i__2; ++i__) {
ii = indx[i__];
q[i__ + j * q_dim1] = s[ii] / temp;
/* L90: */
}
/* L100: */
}
/* Compute the updated eigenvectors. */
L110:
n2 = *n - *n1;
n12 = ctot[1] + ctot[2];
... | C |
c
*
* @summary converted from VM Testbase gc/g1/unloading/tests/unloading_compilation_level2_keep_cl.
* VM Testbase keywords: [gc, stress, stressopt, nonconcurrent, javac]
*
* @modules java.base/jdk.internal.misc
* @library /vmTestbase
* /test/lib
*
* @run driver jdk.test.lib.FileInstaller . .
*
* @... | Java |
/// </typeparam>
/// <param name="obj">
/// The object to serialize.
/// </param>
/// <param name="type">
/// The type to be used during serialization.
/// </param>
/// <returns>
/// A string representing the serialized object.
/// </returns>
string Serialize<T>(T obj, Type ty... | C# |
.length - perModuleStatusTextSize)
// Always use index 0, since this only happens in the UI thread.
removeStringStat.record(System.nanoTime() - beforeRemove)
}
catch (e: BadLocationException)
{
// Shouldn't happen.
assert(false)
}
}
}
/**
* `true` indicates the entire tree is currentl... | Kotlin |
{
m_wavesetMixEuler = new Vector3[m_nodes.Length];
}
SaveFrequencies();
}
}
// OnValidate 는 프로젝트 윈도우에서 선택시에도 실행되는 등 문제가 많아서 봉인하고 수동으로 호출
public void MyValidate()
{
if (!m_initialized && this.gameObject.activeInHierarchy && this.enabled)
... | C# |
older one
* @return a positive frequency, in Hz; or zero if the tone is a pause
*/
float audio_get_processed_frequency(uint8_t tone_index);
/**
* @brief update audio internal state: currently playing and active tones,...
* @details This function is intended to be called by the audio-hardware
* ... | C |
=> {
const message = `Test hook ${Date.now()}`;
const result = execSync(
`npx claude-flow@alpha hooks notify --message "${message}" --level "test"`,
{ encoding: 'utf8' }
);
if (!result.includes('saved to .swarm/memory.db')) {
throw new Error('Hook notificat... | JavaScript |
12<<14 | 0x4C<<7 | 0x2D,
40810 - 19968: jis0208<<14 | 0x52<<7 | 0x57,
40812 - 19968: jis0208<<14 | 0x52<<7 | 0x56,
40813 - 19968: jis0212<<14 | 0x4C<<7 | 0x2E,
40814 - 19968: jis0212<<14 | 0x4C<<7 | 0x2F,
40815 - 19968: jis0212<<14 | 0x4C<<7 | 0x30,
40816 - 19968: jis0212<<14 | 0x4C<<7 | 0x31,
40817 - 19968: jis... | Go |
control
0x32, // sequence number
0xcd,0xab, // destination PAN id
0xbf,0x9b,0x15,0x06,0x00,0x4b,0x12,0x00, // extended destination address
0xc7,0xd9,0xb5,0x14,0x00,0x4b,0x12,0x00, // extended source address
0x05, // security control field
0x31,0x0... | Rust |
2 = UUID.fromString("9ec458db-9ac8-4553-a5d0-ce5559f6e225")
private val itemId3 = UUID.fromString("7a52242b-9002-4615-b1cd-4fe1cb55f079")
private val itemId4 = UUID.fromString("2efb65e3-25cc-4944-8234-98082df21e84")
private val itemCoverId2 = UUID.fromString("5a75e2de-5393-4f5e-9707-e5e806ada10... | Kotlin |
0; i < iLenDataBits; i++)
vecbiTag.Separate(1);
}
/* Return number of consumed bytes. This number is the actual body plus two
times for bytes for the header = 8 bytes */
return iLenDataBits / SIZEOF__BYTE + 8;
}
void CTagPacketDecoder::AddTagItemDecoder(CTagItemDecoder *pTagItemDecoder)
{
vecpTagItemDec... | C++ |
-Engineer_R_1443921?utm_source=Simplify&ref=Simplify"><img src="https://i.imgur.com/fbjwDvo.png" width="50" alt="Apply"></a> <a href="https://simplify.jobs/p/a2f23612-7208-41fe-8689-641fb46a4751?utm_source=GHList"><img src="https://i.imgur.com/aVnQdox.png" width="26" alt="Simplify"></a></div></td>
<td>1mo</td>
</tr>
<t... | Markdown |
| Project ID The project's ID. | |
| **clientCreateEventStreamBody** | [**ClientCreateEventStreamBody**](ClientCreateEventStreamBody.md) | | |
### Return type
[**ClientEventStream**](ClientEventStream.md)
### Authorization
[oryWorkspaceApiKey](../README.md#oryWorkspaceApiKey)
### HTTP request headers
- ... | Markdown |
� امتیاز میشود: (۱×۲)+۲+۲';
@override
String get arenaBerserk => 'دیوانگیِ راوان';
@override
String get arenaBerserkAnswer => 'هنگامی که بازیکنی در آغاز بازی روی دکمهٔ «دیوانگی» میتِلیکد، نیمی از زمانش را از دست میدهد، اما بُرد یک امتیاز اضافی برایش در مسابقات دارد.\n\nرفتن به «دیوانگی» در زمانبندی افزایش... | Dart |
#pragma once
#include <Windows.h>
#include <d3d10.h>
#include <d3dx10.h>
#include "Texture.h"
#define MAX_FRAME_RATE 60
/*
Our simple game framework
*/
class CGame
{
static CGame * __instance;
HWND hWnd; // Window handle
int backBufferWidth = 0; // Backbuffer width & height, will be set during Dire... | C |
# Copyright 2022 InstaDeep Ltd. All rights reserved.
#
# 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 required by applicable law o... | Python |
注册事件时指定,将会在事件发生时作为参数传递给回调函数。
使用 keventt 结构体可以轮询获取 I/O 事件,实现对多个 I/O 操作的同时监听,避免了单线程中循环遍历的效率低下问题。
## Functions:
### setNsec
setNsec函数是在标准库runtime中的defs1_netbsd_amd64.go文件中定义的,它的作用是设置一个系统调用的 time_t 和 timespec 结构体中的纳秒值。
在NetBSD系统上,time_t是用来表示从Unix纪元(即1970-01-01 00:00:00 UTC)算起的秒数。而timespec结构体是用来表示一个精确到纳秒的时间值,其中tv_sec... | Markdown |
domGrid(bt, (g:Grid) => Math.abs(g.pos.x - m.pos.x) + Math.abs(g.pos.y - m.pos.y) >= m.attrs.movePs.moveRange);
return targetGrid ? targetGrid.pos : undefined;
}
// 移动前先尝试行动
await act();
// 没有进行目标行为则根据配置确定移动方式
if (acted) return;
... | Typescript |
},
{
'description': '',
'excerpt': '',
'height': 3271,
'img_id': 81633881,
'img_id_str': '81633881',
'title': '',
'user_id': 1807584,
'width': 2244
},
{
'description': '',
'excerpt': '',
... | Dart |
a: "\e42e";
}
.fa-panel-fire {
--fa: "\e42f";
}
.fa-peanut {
--fa: "\e430";
}
.fa-peanuts {
--fa: "\e431";
}
.fa-pepper {
--fa: "\e432";
}
.fa-person-to-door {
--fa: "\e433";
}
.fa-phone-intercom {
--fa: "\e434";
}
.fa-pickleball {
--fa: "\e435";
}
.fa-pipe-circle-check {
--fa: "\e436";
}
.fa-p... | CSS |
2023 The Kelemetry 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 required by applicable law or agreed to in w... | Go |
Label: string;
@Input() selectedOptions: SelectOption[] = [];
@Input() selectedOptionsRender: string;
@Input() selectionHassErr: boolean;
@Input() selectionErrMsg: string;
@Input() selectionIconClass: string;
@Input() selectionLeftIcon: boolean;
@Input() selectionRightIcon: boolean;
// options :: dr... | Typescript |
ups[0].add(rocksGroup);
/****************************************************************************
* Events
*/
// add mouse handling so we can rotate the scene
//addMouseHandler(canvas, groups[0]);
threeJs.addAnimationEvent((dt){
animate();
});
}
void addGroup(three.Vector3 ... | Dart |
{@link android.R.attr#color}.
@attr name android:color
*/
public static final int ColorStateListItem_android_color = 0;
/** Attributes that can be used with a CompoundButton.
<p>Includes the following attributes:</p>
<table>
<colgroup align="left" />
... | Java |
1 => 11,
Sounds.Sound12 => 12,
Sounds.Sound13 => 13,
Sounds.Sound14 => 14,
Sounds.Sound15 => 15,
Sounds.Sound16 => 16,
_ => -1,
};
}
public static Sounds FromIdx(int idx)
{
return idx switch
{
... | C# |
2.293a41.913 41.913 0 0 0-7.86 48.444l2.952 5.904C3.337 107.813 0 118.621 0 129.941V262.02c0 17.37 10.257 33.153 26.13 40.207zM32 129.941c0-6.365 2.529-12.47 7.03-16.971L48 104 35.213 78.426C32.145 72.291 36.228 64 44.129 64H160c88.365 0 160 71.634 160 160v192H64v-30.979a48 48 0 0 1 25.227-42.254l61.546-33.171A47.998 4... | JavaScript |
</span>', doc );
playground.append( element );
var style = new CKEDITOR.style( { element: 'span', attributes: { lang: 'pt' , style: 'font-size:10px;' } } );
assert.isTrue( style.checkElementRemovable( element, true ) );
},
test_checkElementRemovable_fontFamily: function() {
var element = CKEDITOR.dom.eleme... | JavaScript |
<i32>,
}
impl User {
pub fn new() -> User {
User {
id: None,
username: None,
first_name: None,
last_name: None,
email: None,
password: <PASSWORD>,
phone: None,
user_status: None,
}
}
}
use std::cmp:... | Rust |
ll have:
- ✅ Memra SDK installed and working
- ✅ PostgreSQL database running
- ✅ MCP bridge server running
- ✅ ETL workflow processing PDF invoices
- ✅ Data stored in PostgreSQL database
## 📋 Repository Structure
The Memra SDK repository includes everything needed to run the ETL demo:
- **`memra/`** - Core SDK libr... | Markdown |
(reTemplateIdList.size() == 0){
// throw new RequestParamsException(ApiCode.BUSINESS_HANDLE_ERROR,"业务处理失败,业务线中未配置模板");
// }
// //获取模板控件数据
// List<SignTemplateControl> reTemplateControlList = templateControlService.getList(reTemplateIdList);
// if(reTemplateCont... | Java |
__))
cfh_origin_path = os.path.join(root_dir, 'Data', 'CFH_origin')
BOLD_path = os.path.join(cfh_origin_path, 'Post_Surgery', 'Post_Surgery_BOLD')
list_subj_path = pp.get_1ring_subdirs(BOLD_path)
list_subj_path = sorted(list_subj_path, key=pp.natural_sort_key)
list_subj_name = [os.path.basename(path... | Markdown |
#ifndef PLUGINSTRUCTS_P081_DATA_STRUCT_H
#define PLUGINSTRUCTS_P081_DATA_STRUCT_H
#include "../../_Plugin_Helper.h"
#ifdef USES_P081
# include <ctype.h>
# include <time.h>
extern "C"
{
# include "ccronexpr.h"
}
# ifndef PLUGIN_081_DEBUG
# define PLUGIN_081_DEBUG false // set to true for extra log info in th... | C |
i2sd xmm15,xmm8,DWORD PTR [rsp+r13*1-0x99]
# Tests for all register operands.
vmovd r8d,xmm8
vcvtsd2si r8d,xmm8
vcvtsi2sd xmm15,xmm8,r8d
# Tests for different memory/register operand
vcvtsd2si r8,QWORD PTR [rcx]
vcvtss2si r8,DWORD PTR [rcx] | Assembly |
// CSS specification offer following guidance on dealing with pixel sizes
// when printing at
// http://www.w3.org/TR/2004/CR-CSS21-20040225/syndata.html#length-units:
//
// Pixel units are relative to the resolution of the viewing device, i.e.,
// most often a computer display. If the pixel density of the ou... | C++ |
return ((rangePart.colFixed ? "$" : "") +
numberToLetters(col) +
(rangePart.rowFixed ? "$" : "") +
String(row + 1));
}
// -----------------------------------------------------------------------------
// Date Type
// -------------------------------------------... | JavaScript |
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
namespace fennecs;
public partial class World
{
#region State & Storage
private readonly ConcurrentQueue<DeferredOperation> _deferredOperations = new();
#endregion
#region Locking & Deferred Operations
/// <summary>
... | C# |
_irq(base) nvic_enable_irq(periph_id_from_base(base))
#define periph_disable_irq(base) nvic_disable_irq(periph_id_from_base(base))
/* Common regisgers. Not all peripherals have these registers, but when they
* are present, they are at this offset.
*/
#define PERIPH_SHORTS_OFFSET (0x200)
#define PERIPH_INT... | C |
',
'when',
'where',
'whip',
'whisper',
'wide',
'width',
'wife',
'wild',
'will',
'win',
'window',
'wine',
'wing',
'wink',
'winner',
'winter',
'wire',
'wisdom',
'wise',
'wish',
'witness',
'wolf',
'woman',
'wonder',
'wood',
'wool',
'word',
'work',
'world',
'worry... | Dart |
wing situations (not an exhaustive list):
///
/// * The parent directories do not exists and couldn't be created.
/// * The current process lacks permissions to create directory at `path`.
///
/// # Examples
///
/// ```no_run
/// # #![feature(async_await)]
/// # fn main() -> std::io::Result<()> { async_std::task::block... | Rust |
.25a5.87 5.87 0 0 0 4.37-1.894 6.1 6.1 0 0 0 1.576-3.415c.1-.847.038-2.503-.117-3.121-.446-1.782-1.586-3.196-3.219-3.994-.879-.43-1.377-.546-2.46-.573-.72-.017-1.002.001-1.41.091' fill='%2355565b'/%3e%3c/svg%3e");
}
.field-icon-plain_text {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/200... | CSS |
function event_say(e)
local inktuta_status = tonumber(eq.get_data("inktuta_status-"..eq.get_zone_instance_id())) or 0
local inktuta_bonus_loot = tonumber(eq.get_data("inktuta_bonus_loot-"..eq.get_zone_instance_id())) or 0
if inktuta_status <= 1 then
if e.message:findi("Hail") then
e.self:Emote("screams");
e.... | Lua |
iWFwc8": {"SOL-CATS", "MEOW", 9, "**"},
"8p758d6ZMkLUYQ949XZa6s1Mo31mhPpLcaaAPUBMeAmx": {"Gene Crucean", "BOO", 9, "**"},
"Gro98oTmXxCVX8HKr3q2tMnP5ztoC77q6KehFDnAB983": {"SolMoon", "SOLMO", 4, "**"},
"2wBXHm4oxmed7ZoDkPL4DU8BuRfMYkubVu8T4N38vXdb": {"MasterCoin", "MSC", 9, "**"},
"8b9mQo6ZU2rwZQgSFqGNQvXzrUSHDTRpKS... | Go |
(0)},
m(){var s=this.d
s===$&&A.b()
s.m()
this.ai9()},
aJ(a){var s,r,q,p,o,n,m,l=this
l.aP(a)
s=l.a
if(a.e!==s.e||a.d!==s.d)l.a0G()
s=a.c
r=s==null
q=l.a.c
p=q==null
if(r===p){o=r?null:s.a
q=J.e(o,p?null:q.a)}else q=!1
if(q)return
q=l.d
q===$&&A.b()
o=q.Q
o===$&&A.b()
if(o===B.a_){o=l.a
n=o.r
m=n.x
m===$&&A.b()
if(m===... | JavaScript |
}
#[doc(hidden)] // set from macro
pub fn add_location(&mut self, location: &'static str) -> &mut Self {
self.location = Some(location);
self
}
#[doc(hidden)] // set from macro
pub fn add_data<D: Serialize>(&mut self, key: &'static str, value: D) -> &mut Self {
self.dat... | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.