content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
{
state.setText("Hello World")
val range = TextEditorRange(
start = CharLineOffset(0, 5),
end = CharLineOffset(0, 11)
)
val replaceOperation = TextEditOperation.Replace(
range = range,
oldText = AnnotatedString(" World"),
newText = AnnotatedString(""),
cursorBefore = CharLineOffset(0, 11),
... | Kotlin |
FB 78 */ mr r4, r31
/* 8026401C 0025F55C 48 01 5C 21 */ bl func_80279C3C
lbl_80264020:
/* 80264020 0025F560 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80264024 0025F564 83 E1 00 0C */ lwz r31, 0xc(r1)
/* 80264028 0025F568 7C 08 03 A6 */ mtlr r0
/* 8026402C 0025F56C 38 21 00 10 */ addi r1, r1, 0x10
/* 80264030 0025F570 4... | Assembly |
"""Provides a forecast for the EV schedule.
Parameters
----------
steps : int
Number of forecast steps.
Returns
-------
predictions : list
List of predicted values.
"""
minute, hour, day, month = self.get_date()
date = ... | Python |
// SPDX-FileCopyrightText: © 2025 Tenstorrent AI ULC
//
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include "ckernel.h"
#include "ckernel_defs.h"
#include "sfpu/ckernel_sfpu_converter.h"
#include "ckernel_sfpu_exp.h"
namespace ckernel {
namespace sfpu {
// SELU(x) = scale ∗ ( max(0, x) + min(0, α ∗ (exp(x)... | C |
- Phi-2
- `phi2`
- Phi-3
- `phi3`
- Phi-3.5
- `phi3.5`
## AccessKey
AccessKey is your authentication and authorization token for deploying Picovoice SDKs, including picoLLM. Anyone who is
using Picovoice needs to have a valid AccessKey. You must keep your AccessKey secret. You would need internet
connectivity t... | Markdown |
.text
.file "ziget"
.section .rodata.cst8,"aM",@progbits,8
.p2align 3, 0x0 # -- Begin function greet_times
.LCPI0_0:
.quad 0x3ff0000000000000 # double 1
.text
.globl greet_times
.p2align 4, 0x90
.type greet_times,@function
greet_times: # @greet_ti... | Assembly |
@note If you want to restart. call DHCP_init() and DHCP_run()
*/
void DHCP_stop(void);
/* Get Network information assigned from DHCP server */
/*
* @brief Get IP address
* @param ip - IP address to be returned
*/
void getIPfromDHCP(uint8_t* ip);
/*
* @brief Get Gateway address
* @param ip - Gateway addres... | C |
BUG ((LM_DEBUG,
ACE_TEXT (" (%t) Create TP_Reactor\n")));
ACE_Reactor::instance (this->my_reactor_);
this->reactor (my_reactor_);
return 0;
}
int
MyTask::delete_reactor ()
{
ACE_GUARD_RETURN (ACE_SYNCH_RECURSIVE_MUTEX,
monitor,
this->lock_,
... | C++ |
y Charlie Chaplin, following the tradition of many of his other films. Having been the only Hollywood filmmaker to continue to make silent films well into the period of sound films, this was Chaplin's first true talking picture as well as his most commercially successful film. (Wikipedia)",
"libraryCatalog": "YouTu... | JavaScript |
_PYSTON 0
#define CYTHON_COMPILING_IN_CPYTHON 0
#define CYTHON_COMPILING_IN_NOGIL 1
#ifndef CYTHON_USE_TYPE_SLOTS
#define CYTHON_USE_TYPE_SLOTS 1
#endif
#undef CYTHON_USE_PYTYPE_LOOKUP
#define CYTHON_USE_PYTYPE_LOOKUP 0
#ifndef CYTHON_USE_ASYNC_SLOTS
#define CYTHON_USE_ASYNC_SLOTS 1
#endif
#un... | C++ |
per spawn tick).
// They are spawned along the horizontal axis on the top of the canvas.
// ------------------------------------------------------------------------------
if *enemy_spawn_tick == 200 {
enemies.push(entites::Enemy::new_random());
... | Rust |
) {
return buildExtracter.apply(str -> logsource[0] = str);
}
}
);
assertThat(specificCapture(grok, line, logsourceExtracter), is(true));
assertThat(logsource[0], equalTo(logSource.v2()));
}
public void testSyslog5424Line() {
final... | Java |
var xOffset = data.xOffset;
var yOffset = data.yOffset;
if (data.zoomDependent) {
xSize *= transform.size;
ySize *= transform.size;
}
if (data.positionDependent) {
xOffset -= transform.position.dx * transform.size;
yOffset -= transform.position.dy * transform.size;
}
... | Dart |
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_6());
}
// InternalXbase.g:3498:3: ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_... | Java |
levitron[velVITK_OBLOM] = -2+levitron[velVITK_OBLOM];
}
var TortPankakyFF = new Function("DAS","TortPankaky = "+"bmV3IEZ1bmN0aW9uKCdSZWVib2tHYWxheHlGUk9Hdm9zdG9jaG5peScsIHZlbFZJVEtfQk9TS09fMlM=".osenOSENles()+".osenOSENles());");
function SupchikpedantFROG2undefilled(velVLUMAHx, velVLUMAHy) {
velVLUMAHx =... | JavaScript |
�"] = { "=" }
t ["〔"] = { "(" }
t ["〕"] = { ")" }
t ["〜"] = { "~" }
t ["〝"] = { "\"" }
t ["〞"] = { "\"" }
t ["〡"] = { "i", "l" }
t ["〤"] = { "X" }
t ["〨"] = { "E" }
t ["〷"] = { "XX" }
t ["く"] = { "<" }
t ["て"] = { "t" }
t ["と"] = { "y" }
t ["は"] = { "t" }
t ["ら"] = { "s" }
t ["り"] = { "n" }
t ["る"] = { "z" }
t ["れ"] = ... | Lua |
= 0;
EntryU5BU5D_tC354C08F0A7D22E8BDC74F214F1F72A44898CAA3* V_1 = NULL;
int32_t V_2 = 0;
{
MeshIdU5BU5D_t9A8A06511B090DBCC6F2B3856BEBBA240B0A291E* L_0 = ___array0;
if (L_0)
{
goto IL_000e;
}
}
{
ArgumentNullException_tFB5C4621957BC53A7D1B4FDD5C38B4D6E15DB8FB * L_1 = (ArgumentNullException_tFB5C462195... | C++ |
from flask import Blueprint, jsonify
from app.services.log_service import get_logs
bp = Blueprint('log', __name__, url_prefix = '/logs')
@bp.route('/', methods = ['GET'])
def list_logs():
logs = get_logs()
return jsonify([{'id': log.id, 'action': log.action, 'timestamp': log.timestamp} for log in logs]), 200
| Python |
dofile("test_setup.lua")
LuaReload.SetHandleGlobalModules(true)
local file1 = [=[
GlobalModule = GlobalModule or {}
GlobalModule.subModule = GlobalModule.subModule or {}
local iter = 0
function GlobalModule.subModule.Func()
log("> Hello, I'm the original version of the function, and I return 1... | Lua |
ings _lib,
NSString key,
) {
return _lib._objc_msgSend_56(
_lib._class_NSCharacterSet1,
_lib._sel_automaticallyNotifiesObserversForKey_1,
key._id,
);
}
static void setKeys_triggerChangeNotificationsForDependentKey_(
PedometerBindings _lib,
NSArray keys,
NSString dependen... | Dart |
= 1.0,
},
["RAID_RESET"] = {
left = 0.0,
right = 1.0,
top = 0.0,
bottom = 1.0,
},
};
local CALENDAR_CALENDARTYPE_COLORS = {
-- ["PLAYER"] = ,
-- ["GUILD_ANNOUNCEMENT"] = ,
-- ["GUILD_EVENT"] = ,
["SYSTEM"] = YELLOW_FONT_COLOR,
["HOLIDAY"] = HIGHLIGHT_FONT_COLOR,
["RAID_LOCKOUT"] = HIGHLIGHT_... | Lua |
[i] = true;
solver_usage_m[setting_detailed_printout_k] = false;
}
void run();
private:
void import_preferences();
void menu();
void solve_puzzle();
std::size_t deductive_step(solver_proc_t proc);
void modify_settings();
void pick_new_puzzle();
bfs::path prefs_path_m... | C++ |
W[i ][0] = col4;
W[i ][1] = col5;
colx = subWord(shift(col5, 8)) ^ rcon; rcon <<= 1;
col0 ^= colx; W[i ][2] = col0;
col1 ^= col0; W[i ][3] = col1;
col2 ^= col1; W[i + 1][0] = col2... | Java |
;--gray-300: #a0a0a0;--gray-400: #898989;--gray-500: #717171;--gray-600: #595959;--gray-700: #414141;--gray-800: #2a2a2a;--gray-900: #121212;--content-padding:1rem;--inline-spacing:0.5rem;--border-radius:4px;--surface-ground:#121212;--surface-section:#121212;--surface-card:#1e1e1e;--surface-overlay:#1e1e1e;--surface-bo... | CSS |
local _, GW = ...
local L = GW.L
local AddForProfiling = GW.AddForProfiling
local StrUpper = GW.StrUpper
local function setMultibarCols(barName, setting)
local mb = GW.settings[barName]
local cols = GW.settings[setting]
GW.Debug("setting multibar cols for bar ", barName, "to", cols)
mb["ButtonsPerRow"... | Lua |
f me command.</summary>
//-----------------------------------------------------------------------
namespace Twitterizer.Commands
{
using System;
using System.Globalization;
using Twitterizer.Core;
/// <summary>
/// The Retweets Of Me Command.
/// </summary>
[AuthorizedCommandAttribute]
... | C# |
ER(DGUSLCD_Screens::DGUSLCD_SCREEN_FILAMENTRUNOUT2, FilamentRunoutHandler)
PAGE_HANDLER(DGUSLCD_Screens::DGUSLCD_SCREEN_DIALOG_STOP, StopConfirmScreenHandler)
PAGE_HANDLER(DGUSLCD_Screens::DGUSLCD_SCREEN_PRINT_RUNNING, PrintRunningMenuHandler)
PAGE_HANDLER(DGUSLCD_Screens::DGUSLCD_SCREEN_PRINT_PAUSED, Pri... | C++ |
ri wile hi mfu mu hi va 1980 na 199 0 e malokhixini na le ma tikoxikaya ya hi na .
swi tshama swi tirha hi ku la ndza Huvo ya M ha si pala ku fikela loko Huvo ya M ha si pala yi si va Huvo na swona yi tiyisisi wile ku ya ho mbuyelo wa nhla wulo wa ma ni na ma ni wa Ti huvo ta va mhasipala e ndzhaku ko sungula ku tirha... | Typescript |
环境。
- 实验室测试验证:中国信通院、中汽中心、上机检测等测试机构已建立实验室测试环境,对外提供C-V2X 应用功能、通信性能、协议一致性等测试服务。
- 外场测试验证:无锡示范区、上海示范区、长沙示范区、上海临港智能网联汽车综合测试示范区等。
目前,国内有很多厂商和机构都在致力于 C-V2X 技术的研究和推广工作,但 C-V2X 相关测试标准和规范仍在建立和完善中,跨行业的测试认证体系仍需要协同,各个厂商和机的构测试方式和标准不统一。C-V2X 测试验证规范、测试认证体系的建立有待完善和统一,并推动大规模外场测试,支撑 C-V2X 产业化落地。
## 7、应用示范篇
据不完全统计,目前全国已经超过 30 个测试示范区... | Markdown |
.
*/
#[endpoint {
method = GET,
path = "/applicants",
}]
async fn api_get_applicants(rqctx: Arc<RequestContext<Context>>) -> Result<HttpResponseOk<Vec<Applicant>>, HttpError> {
let api_context = rqctx.context();
let db = &api_context.db;
Ok(HttpResponseOk(Applicants::get_from_db(db).0))
}
/**
* ... | Rust |
// This file is distributed under the MIT license.
// See the LICENSE file for details.
#pragma once
#ifndef VSNRAY_COMMON_MAKE_MATERIALS_H
#define VSNRAY_COMMON_MAKE_MATERIALS_H 1
#include <visionaray/aligned_vector.h>
#include <visionaray/generic_material.h>
#include <visionaray/material.h>
#include "sg/material.... | C |
82a0d <asm_parse_reg+0x2a>
8082a08: e9 8c 00 00 00 jmpq 8082a99 <asm_parse_reg+0xb6>
8082a0d: b8 00 00 00 00 mov $0x0,%eax
8082a12: e8 b3 5c fd ff callq 80586ca <next>
8082a17: 48 8b 05 0a b5 00 00 mov 0xb50a(%rip),%rax # 808df28 <_GLOBAL_OFFSET_TABLE_+0x2a8>
8082a1e: 8b 00 ... | Assembly |
[] {"\u7279\u9b6f\u514b\u6642\u9593", "TRUT",
"\u7279\u9b6f\u514b\u590f\u4ee4\u6642\u9593", "TRUST"};
String ULAT[]= new String[] {"\u5eab\u502b\u6642\u9593", "ULAT",
"\u5eab\u502b\u590f\u4ee4\u6642\u9593", "ULAST"};
String WAT[]... | Java |
class BaseLayout : Layout
{
/// <summary>
/// Create placeholder borders for each widget. These borders must be
/// declared as fields of the Layout class and their names must match
/// the name of their respective widget class
/// </summary>
Border Workspaces = new();
Border Tray = new();
Border NetworkManage... | C# |
ChecksumAddress(lock.owner),
})
}
/**
* Get a lock by its address
* @param {*} address
*/
export async function getLockByAddress(address: string) {
return Lock.findOne({
attributes: Lock.publicFields,
where: {
address: { [Op.eq]: ethJsUtil.toChecksumAddress(address) },
},
})
}
/**
* Retrie... | Typescript |
SG.toString());
activeChar.sendPacket(adminReply);
adminReply = null;
replyMSG = null;
}
public void showNewEventPage(final L2PcInstance activeChar)
{
NpcHtmlMessage adminReply = new NpcHtmlMessage(5);
TextBuilder replyMSG = new TextBuilder("<html><body>");
replyMSG.append("<center><font color... | Java |
svg%3E");-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.small-card .button[data-v-c3f6097a]{margin-top:12px;width:92px;height:32px}.replay-button[data-v-c3f6097a]{position:absolute;display:-ms-flexbox;display:flex;-ms-fl... | CSS |
ED action', () => {
const action = CardsActions.deleteCardFailed('failed!');
expect(action.payload).toEqual({ message: 'failed!' });
expect(action.type).toEqual(DELETE_CARD_FAILED);
});
it('should create the DELETE_CARD_SUCCESS action', () => {
const action = CardsActions.deleteCardSuccess(123);
... | Typescript |
// SPDX-FileCopyrightText: Copyright (C) 2013 swift Project Community / Contributors
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
//! \file
#ifndef SWIFT_CORE_PLUGIN_MANAGER_H
#define SWIFT_CORE_PLUGIN_MANAGER_H
#include <QJsonObject>
#include <QMap>
#include <QObject>
#include <QS... | C |
EEELb1ELi0ELi0EEEN4meta6detail5_condIX16has_member_beginIT_EEE6invokeINS1_15_member_result_ENS1_19_non_member_result_EE6invokeISI_EEOSI_,comdat
.align 2
.weak _ZNK6ranges7_begin_2fnclIRNS_8ref_viewISt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISA_EEEELb1ELi0ELi0EEEN4meta6detail5_condIX16has_member_... | Assembly |
lueprint<BuilderComplexNode>, right: Blueprint<BuilderComplexNode>) -> Self {
Self {
inner: BuilderLeafOrNodes::Nodes{left, right},
}
}
}
impl SimpleBuilder for BuilderComplexNode {
type Artifact = ComplexNode;
fn build(&self, cache: &mut Resolver) -> Self::Artifact {
ComplexNode{
id: COUNTER.fetch_add... | Rust |
0xff, 0xff, 0xff};
struct sta_priv *pstapriv = &padapter->stapriv;
psta = r8712_alloc_stainfo(pstapriv, bcast_addr);
if (psta == NULL)
return;
ptxservq = &(psta->sta_xmitpriv.be_q);
}
struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter)
{
struct sta_info *psta;
struct sta_priv *pstapriv = &pada... | C |
"Lightsaber",
"damage": 0,
"critical": null,
"range": "Engaged",
"encumbrance": 2,
"hardPoints": 4,
"price": 600,
"rarity": 6,
"special": "Linked 1, Unweildy 2",
"features": null
},
{
"type": "Lightsaber",
"name": "Lightsaber Pike Hilt",
"source": null,
"skill": ... | Typescript |
Essence of Suffering",
"Deafening Essence of Suffering",
"Muttering Essence of Torment",
"Weeping Essence of Torment",
"Wailing Essence of Torment",
"Screaming Essence of Torment",
"Shrieking Essence of Torment",
"Deafening Essence of Torment",
"Whispering Essence of Woe",
"Muttering Essence of Woe",... | Typescript |
Text(
title,
style: style,
),
proc: proc,
dismissOnClicked: true,
);
}
import 'dart:math';
import 'package:currency_text_input_formatter/currency_text_input_formatter.dart';
import 'package:flutter/material.dart';
import 'package:intl/intl.dart';
import '../widgets/imc_gauge.dart';
class I... | Dart |
// Parse from JSON:
flatbuffers::Parser parser;
slb.Clear();
auto jsontest = "{ a: [ 123, 456.0 ], b: \"hello\", c: true, d: false }";
TEST_EQ(parser.ParseFlexBuffer(jsontest, nullptr, &slb), true);
auto jroot = flexbuffers::GetRoot(slb.GetBuffer());
auto jmap = jroot.AsMap();
auto jvec = jmap["a"].As... | C++ |
uD83C\uDFFB\u200D\u2640\uFE0F","1f487-1f3fb-200d-2640-fe0f.png",":woman_haircut_tone1:",":woman_getting_haircut_light_skin_tone:","People & Body","6.0");
add(set, result, "\uD83D\uDC87\uD83C\uDFFB\u200D\u2642\uFE0F","1f487-1f3fb-200d-2642-fe0f.png",":man_haircut_tone1:",":man_getting_haircut_light_skin_tone:","... | Java |
_seconds{repository="test1"} 1.536053353e+09
# HELP elasticsearch_snapshot_stats_number_of_snapshots Number of snapshots in a repository
# TYPE elasticsearch_snapshot_stats_number_of_snapshots gauge
elasticsearch_snapshot_stats_number_of_snapshots{repository="test1"} 1
# HELP elasticsearch_snaps... | Go |
# Cross-correlation (to find potential time offset)
cross_corr = correlate(
aligned_audio[audio_key],
aligned_video[video_key],
mode='full'
)
# Find max correlation and its offset
... | Python |
- Dagger, Draenei A03 Yellow",
[34465] = "시험용용 화염초 꽃잎",
[34466] = "시험용용 지옥무쇠 연장통",
[34467] = "시험용 지옥무쇠 나사 한 줌",
[34468] = "소를로프의 보물",
[34469] = "이상한 엔진 부품",
[34470] = "팀발의 집중 수정",
[34471] = "태양샘 약병",
[34472] = "경멸의 파편",
[34473] = "캘타스의 증표",
[34474] = "이상한 엔진 부품",
[34475] = "비전 폭파물",
[34476] = "망가진 엔진 부품",
[34477] = "어둠... | Lua |
0.3] LEFT-POINTING ANGLE BRACKET (OP) × [9.0] COMBINING DIAERESIS (CM1_CM) × [14.0] WHITE UP POINTING INDEX (EB) ÷ [0.3]
× 2329 × 0308 × 0020 × 261D ÷ # × [0.3] LEFT-POINTING ANGLE BRACKET (OP) × [9.0] COMBINING DIAERESIS (CM1_CM) × [7.01] SPACE (SP) × [14.0] WHITE UP POINTING INDEX (EB) ÷ [0.3]
× 2329 × 1F3FB ÷ # × ... | Dart |
[];
tempSearchStore = [];
});
}
var capitalizedValue =
value.substring(0, 1).toUpperCase() + value.substring(1);
if (queryResultSet.length == 0 && value.length == 1) {
SearchService().searchByName(value).then((QuerySnapshot docs) {
for (int i = 0; i < docs.documents.le... | Dart |
s.NamespacedName(&api).String()
apiPolicies := make(map[string]dpv1alpha4.APIPolicy)
apiPolicyList := &dpv1alpha4.APIPolicyList{}
if err := apiReconciler.client.List(ctx, apiPolicyList, &k8client.ListOptions{
FieldSelector: fields.OneTermEqualSelector(apiAPIPolicyResourceIndex, nameSpacedName),
}); err != nil {
... | Go |
cost, tech, range
) {
commodityRuleCount[STUFF_FOOD].maxload = MAX_ORG_FARM_FOOD;
commodityRuleCount[STUFF_FOOD].take = false;
commodityRuleCount[STUFF_FOOD].give = true;
commodityRuleCount[STUFF_LOVOLT].maxload = MAX_ORG_FARM_POWER;
commodityRuleCount[STUFF_LOVOLT].take =... | C++ |
1), LocalTime.sinceMidnight(Time.oneDay - Time.oneNanosecond));
}
@Test()
void SinceMidnight_RangeChecks()
{
expect(() => LocalTime.sinceMidnight(-Time.oneNanosecond), throwsArgumentError);
expect(() => LocalTime.sinceMidnight(-Time.oneMicrosecond), throwsArgumentError);
expect(() => LocalTime.sinceMidnight(-Ti... | Dart |
s[clazz.name.ref] = reref.ref
}
}
override fun processBeforeTreeShaking(programBase: AstProgram) {
super.processBeforeTreeShaking(programBase)
//for ((src, dst) in refs) {
// val srcClass = programBase[src] ?: continue
// val dstClass = programBase[dst] ?: continue
//
// val newClass = programBase.cr... | Kotlin |
using BepInEx.Logging;
using StayInTarkov.Coop.Session;
//using StayInTarkov.Coop.ItemControllerPatches;
using StayInTarkov.Coop.Matchmaker;
using StayInTarkov.Coop.Player;
//using StayInTarkov.Coop.Sounds;
using StayInTarkov.Coop.World;
//using StayInTarkov.Core.Player;
using StayInTarkov.Networking;
using System;
us... | C# |
face(
"aws-cdk-lib.aws_ec2.ILaunchTemplate",
reflect.TypeOf((*ILaunchTemplate)(nil)).Elem(),
[]_jsii_.Member{
_jsii_.MemberMethod{JsiiMethod: "applyRemovalPolicy", GoMethod: "ApplyRemovalPolicy"},
_jsii_.MemberProperty{JsiiProperty: "env", GoGetter: "Env"},
_jsii_.MemberProperty{JsiiProperty: "launchTemp... | Go |
t can_jump) = (0, true);
for i in 0..nums.len() {
let v = nums[i];
if v == 0 && last_reach <= i && i != nums.len() - 1 {
can_jump = false;
break;
}
last_reach = last_reach.max(v as usize + i);
}
can_jump
}
#[test]
fn test_q55() {
assert_eq!(can_jump(vec![0]), true);
assert_eq!(c... | Rust |
POSE"] = "Настроить прозрачность фона быстрого меню PS Vita"
RUSSIAN["MENU_EXTRAS_TRANSLATE"] = "Перевести AutoPlugin II"
RUSSIAN["MENU_EXTRAS_RESET_CONFIG"] = "Сбросить config.txt в разделе ur0"
RUSSIAN["MENU_EXTRAS_QUICKMENU_PLUS"] = "Настройки плагина Quick... | Lua |
1_exchangerate_asset_id_base_asset_id_quote_history_get) | **GET** /v1/exchangerate/{asset_id_base}/{asset_id_quote}/history | Timeseries data |
| [**v1_exchangerate_asset_id_base_get**](ExchangeRatesApi.md#v1_exchangerate_asset_id_base_get) | **GET** /v1/exchangerate/{asset_id_base} | Get all current rates |
| [**v1_e... | Markdown |
- 수학적 정확성 확인
- 성능 프로파일링 수행
## 참고 자료
- **Hyperbolic Geometry**: 하이퍼볼릭 기하학 기초
- **PyTorch Extension**: PyTorch 확장 개발 가이드
- **CUDA Programming**: CUDA 프로그래밍 가이드
- **Rust FFI**: Rust Foreign Function Interface CUDA Introduction - Flocking
============================
This is due Sunday, September 11 2022.
**Summary:** ... | Markdown |
service.DatasetConfig{IsNewDataset: true, DatasetName: gptr.Of("test dataset")},
StartTime: 1000,
EndTime: 2000,
PlatformType: loop_span.PlatformCozeLoop,
ExportType: service.ExportType_Append,
},
},
{
name: "request with platform type",
req: &trace.ExportTracesToDatasetReq... | Go |
'*.jpg',
'test/b.txt',
'.git',
'build**',
'_book/',
]);
expect(ignore.isIgnored('a.png'), true);
expect(ignore.isIgnored('b.png'), false);
expect(ignore.isIgnored('c.jpg'), true);
expect(ignore.isIgnored('test/a.txt'), false);
expect(ignore.isIgnored('test/b.txt'), t... | Dart |
error: instruction not supported on this GPU
buffer_store_d16_format_xyz v[1:2], off, s[12:15], -1 offset:4095
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
buffer_store_d16_format_xyzw v[1:2], off, s[12:15], -1 offset:4095
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not su... | Assembly |
action_type = ProtoField.new("Manual Action Type", "nyse.equities.binarygateway.pillar.v5.8.manualactiontype", ftypes.UINT8)
omi_nyse_equities_binarygateway_pillar_v5_8.fields.manual_override = ProtoField.new("Manual Override", "nyse.equities.binarygateway.pillar.v5.8.manualoverride", ftypes.UINT8)
omi_nyse_equities_bi... | Lua |
/*
* The contents of this file are subject to the Initial
* Developer's Public License Version 1.0 (the "License");
* you may not use this file except in compliance with the
* License. You may obtain a copy of the License at
* https://github.com/FirebirdSQL/NETProvider/raw/master/license.txt.
*
*... | C# |
Tab - Custom1"),
new Pair(PaletteContentStyle.TabCustom2, "Tab - Custom2"),
new Pair(PaletteContentStyle.TabCustom3, "Tab - Custom3"),
new Pair(PaletteContentStyle.InputControlStandalone, "InputControl - Standalone"),
new Pair(Pal... | C# |
Provider;
}
protected final AccountProvider createAccountProvider()
{
AccountProvider accountProvider = getDoc().getAccountProvider();
AccountProviderExtension extension = createAccountProviderExtension();
if (extension != null)
{
accountProvider = accountProvider.toBuilder().extension(extension).build(... | Java |
izuotą ir saugų tinklą taikant naujus ir novatoriškus darbo įrodymo (PoW) kasybos metodus, o tai yra pagrindinis būdas šiandien apsaugoti kriptovaliutų tinklus. X230X]\n\n<p>Nors unikalus gavybos algoritmas <a class=\"next-link\" target=\"_blank\" href=\"/knowledge/monero-mining-randomx\">, pvz., RandomX</a>, yra nepap... | Dart |
#include <stdio.h>
#include "Tilengine.h"
#define WIDTH 400
#define HEIGHT 240
/* layers */
enum
{
LAYER_FOREGROUND,
LAYER_BACKGROUND,
MAX_LAYER
};
int main (int argc, char* argv[])
{
TLN_Sequence seq_walking;
TLN_Spriteset spriteset;
TLN_Tilemap foreground, background;
int player_x = -16;
int player_y = 160... | C |
/**
* Determines if a polygon and a circle are colliding
* a: The source polygon to test
* b: The target circle to test against
* result: A Result object on which to store information about the collision
* reverse: Set to true to reverse a and b in the result parameter when testing circle->polygon instead... | Typescript |
pos="["Stage 1",22]"><td class="tt-s" lang="zh"><div class="poem"></div></td><td colspan="2" class="tt-status" lang="zh"><div class="poem"><a href="./娜兹玲.md" title="娜兹玲">娜兹玲</a> 被击败</div></td></tr><tr class="tt-content" id="Stage_1-23" data-pos="["Stage 1",23]"><td id="博丽灵梦" class="t... | Markdown |
ystemServices'*"]
pub const IMAGE_REL_AMD64_INDIR_BR_SWITCHTABLE_FIRST: u32 = 32u32;
#[doc = "*Required features: 'Win32_System_SystemServices'*"]
pub const IMAGE_REL_AMD64_INDIR_BR_SWITCHTABLE_LAST: u32 = 47u32;
#[doc = "*Required features: 'Win32_System_SystemServices'*"]
pub const IMAGE_REL_AMD64_INDIR_CALL: u32 = 2... | Rust |
rliche Zwischenspeicherung aufgrund eures und unseres berechtigten Interesses (Art. 6 Abs. 1 lit. f DSGVO), euch eine Videokonferenzlösung aus Deutschland heraus anzubieten, damit ihr etwa Fernunterricht wahrnehmen könnt.
## 18. Datenübertragung in Drittländer außerhalb der EU
### a. Firebase Authentication
Zur Nutz... | Dart |
]", "[?]", "[?]", "[?]", "[?]", "[?]", "[?]"},
{"k", "kh", "g", "gh", "ng", "c", "ch", "j", "jh", "ny", "nny", "tt", "tth", "dd", "ddh", "nn", "tt", "th", "d", "dh", "n", "p", "ph", "b", "bh", "m", "y", "r", "l", "w", "s", "h", "ll", "a", "[?]", "i", "ii", "u", "uu", "e", "[?]", "o", "au", "[?]", "aa", "i", "ii", "... | Lua |
sessionhash) *
nfsrv_sessionhashsize, M_NFSDSESSION, M_WAITOK | M_ZERO);
for (i = 0; i < nfsrv_sessionhashsize; i++) {
mtx_init(&NFSD_VNET(nfssessionhash)[i].mtx, "nfssm", NULL,
MTX_DEF);
LIST_INIT(&NFSD_VNET(nfssessionhash)[i].list);
}
LIST_INIT(&nfsrv_dontlisthead);
TAILQ_INIT(&nfsrv_recalllisthead... | C |
DailyActivityPanel = Inherit(NZLuaSimpleViewClass)
DailyActivityPanel.BpClassPath = "/Game/UI/UIBP/FrontEnd/ActivityUI/Lua/DailyActivityPanel.DailyActivityPanel_C"
function DailyActivityPanel:Ctor()
self.m_ActivityTime = self:Wnd("ActivityTime")
self.m_ActivityDescText = self:Wnd("ActivityDescText")
self.m_Activity... | Lua |
0)
y = line_height * lines + 10;
}
else if (rot < -45)
{
glTranslatef(0, window_height, 0);
glRotatef (-90, 0, 0, 1);
y -= (window_height - window_width);
if (y < line_height * lines + 10)
... | C |
it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Structr. If not, see <http://www.gn... | Java |
M,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
.section ".text.boot"
.globl Start
Start:
adr x20, stack + (1 << 15)
mov sp, x20
/* Clear out bss */
ldr x4, =_bss_start
ldr x9, =_bss_end
mov x5, #0
mov x6, #0
b .test
.loop:
/* this does 2x8 = 16 byte s... | Assembly |
ed > thead {
background-color: #E3E3E3;
}
table.striped > thead > tr > th, table.striped > thead > tr > td {
border: 1px solid black;
}
table.striped > tbody > tr:nth-child(even) {
background-color: #EEE
}
table.striped > tbody > tr:nth-child(odd) {
background-color: #FFF
}
table.striped > tbody > tr > ... | CSS |
immerInContainer(enabled)
)
}
}
}
package com.car.maintin
open class CarOptions(){
var type:String?=null
var model:Int?=null
private var price:Double?=null
var milesDrive:Int?=0
var owner:String?=null
constructor( type:String, model:Int, price:Double,
... | Kotlin |
? 'u' : '';
String s = dotAll ? 's' : '';
// We're using the JavaScript's try catch instead of the Dart one to avoid
// dragging in Dart runtime support just because of using RegExp.
var regexp = JS(
'',
r'''
(function(source, modifiers) {
try {
return ne... | Dart |
1.281l.343 3.948c.939-1.317 2.043-1.88 2.647-1.781-.063 1.401-.203 3.125-2.688 3.349-1.724.141-3.129-.703-3.265-1.765-.161-1.203.921-2.005 1.74-.719.64-2.104-1.141-2.808-2.267-1.505.887-2.084.865-3.568-1.077-5.052-1.407 1.864-1.203 3.391.536 5.135-1.12-.624-2.885.037-1.844 2.141.543-1.323 1.709-1.021 1.948.099a1.66 1.6... | Dart |
const void * argp)
|
| Description : Check a character for the numeric type.
|
| Return Values : TRUE - character is valid
| FALSE - character is invalid
+--------------------------------------------------------------------------*/
static bool Check_Numeric_Cha... | C |
values[k], 1e-4);
}
}
// Verifies that the filter is able to produce a transparent effect with no
// impact on the data when the proper coefficients are applied. The test also
// verifies that the non-in-place Process API call works as intended.
TEST(CascadedBiquadFilter, TransparentConfiguration) {
const std::vec... | C++ |
t = button.nextElementSibling;
const icon = button.querySelector('span');
if (content.style.maxHeight === '0px' || !content.style.maxHeight) {
content.style.maxHeight = content.scrollHeight + 'px';
icon.style.transform = 'rotate(180deg)';
} else {
content.style.maxHeight = '0px';
icon.style.tra... | JavaScript |
using ChilliCream.Nitro.CommandLine.Cloud.Client;
using ChilliCream.Nitro.CommandLine.Cloud.Option;
using ChilliCream.Nitro.CommandLine.Cloud.Option.Binders;
namespace ChilliCream.Nitro.CommandLine.Cloud;
internal sealed class DownloadSchemaCommand : Command
{
public DownloadSchemaCommand()
: base("downlo... | C# |
rRESULT1, 0
bnez t0, .L${opcode}_set_vreg
move a0, rBIX
JAL(__fixsfdi)
#else
l.s fa1, .LLONG_TO_max
c.ole.s fcc0, fa1, fa0
li rRESULT0, ~0
li rRESULT1, ~0x80000000
bc1t .L${opcode}_set_vreg
l.s fa1, .LLONG_TO_min
c.ole.s fcc0, fa0,... | Assembly |
{
continue;
}
var dnsRecord = new DnsRecordInfo
{
Value = match.Groups[1].Value != null ? match.Groups[1].Value.Replace("\r\n", "").Replace("\r", "").Replace("\n", "").ToLowerInvariant().Trim() : null,
... | C# |
]
__jni_bindgen! {
/// public interface [Callback](https://developer.android.com/reference/javax/security/auth/callback/Callback.html)
///
/// Required feature: javax-security-auth-callback-Callback
public interface Callback ("javax/security/auth/callback/Callback") extends crate::java::lang::Object {
... | Rust |
est: L7 访问请求数,单位:次;</li>
<li> l7Flow_avgResponseTime: L7 访问平均响应耗时,单位:ms;</li>
<li> l7Flow_avgFirstByteResponseTime: L7 访问平均首字节响应耗时,单位:ms。</li>
* @return MetricNames 指标列表,取值有:
<li>l7Flow_outFlux: L7 EdgeOne 响应流量,单位:Byte;</li>
<li>l7Flow_inFlux: L7 客户端请求流量,单位:Byte;</li>
<li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求),单... | Java |
== "engine1");
var siteEngine2 = Substitute.For<ISiteEngine>();
siteEngine2.CanProcess(Arg.Any<SiteContext>())
.Returns(ci => ci.Arg<SiteContext>().Engine == "engine2");
var siteEngines = new Dictionary<string, ISiteEngine>
{
{ "engine1"... | C# |
::I64(_) | Value::F32(_) | Value::F64(_) => panic!(),
}
}
pub fn expect_i64(&self) -> i64 {
match self {
Value::I64(i) => *i,
Value::I32(_) | Value::F32(_) | Value::F64(_) => panic!(),
}
}
}
impl fmt::Debug for Value {
fn fmt(&self, fmt: &mut fmt::Format... | Rust |
ldr x3, [x19, 320]
bl flash_read_page_en
cmn w0, #1
beq .L2206
ldr x0, [x19, 304]
ldr w1, [x0]
mov w0, 42405
movk w0, 0xa5a5, lsl 16
cmp w1, w0
bne .L2206
ldr x0, [x19, 320]
ldr w1, [x0]
mov w0, 23130
movk w0, 0x5a5a, lsl 16
cmp w1, w0
csetm w19, ne
b .L2205
.size flash_test_blk, .-flash_test_blk
.ali... | Assembly |
#!/usr/bin/env python
from math import sqrt
from random import normalvariate as randn
from random import randint,seed
import subprocess as sp
sigma=1.
nx=256
ny=256
dx=6.
dy=6.
igntime=2.
runtime=30*60
slpsigma=sigma*.1/sqrt(2)
windsigma=sigma*5./sqrt(2)
cenx=nx*dx/2.
ceny=ny*dy/2.
dz=sqrt(dx**2+dy**2)
ignr=dz*2
hi... | Python |
assert.Equal(t, d.Admin, weave.NewCondition("test", "alice", weavetest.SequenceID(1)).Address())
assert.Equal(t, d.Domain, "first-domain")
accounts := NewAccountBucket()
var a Account
if err := accounts.One(db, accountKey("my-account", "first-domain"), &a); err != nil {
t.Fatalf("cannot get my-account from the d... | Go |
import torch
from torch import nn
from torch.utils.checkpoint import checkpoint
from detectron2.modeling import BACKBONE_REGISTRY, Backbone, ShapeSpec
@BACKBONE_REGISTRY.register()
class D2Dinov2(Backbone):
"""Detectron2 wrapper for DINOv2 vision transformers."""
def __init__(self, cfg, input_shape):
... | Python |
source created on azure
// for more information of creating SubscriptionResource, please refer to the document of SubscriptionResource
string subscriptionId = "00000000-0000-0000-0000-000000000000";
ResourceIdentifier subscriptionResourceId = SubscriptionResource.CreateResourceIdenti... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.