content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
snippet: {
textOriginal: text
}
}
}
}
})
return mapComment(response.data)
}
async fetchComments(videoId, pageToken = undefined) {
const response = await this.youtube.commentThreads.list({
pageToken,
videoId,
maxResults: 50... | JavaScript |
}
return msg;
}
if (async) {
return Promise.reject(e);
}
if (callback) {
callback(e);
return;
}
throw e;
};
}
};
var markedInstance = new Marked();
function marked(src, opt, callback) {
return markedInstance.parse(src, opt, callback);
}
marked.... | JavaScript |
XED_IFORM_NOT_GPRv" ref="4e231bca35f78f25641be3eabcb35f6d089dfa3f47c39c713e24a31c2acd1ee8" args="" -->XED_IFORM_NOT_GPRv</em> </td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="4e231bca35f78f25641be3eabcb35f6d8c9176cdbe73f161cf471b2ef800efe5"></a><!-- doxytag: member="XED_IFORM_NOT_MEMb" ref="4e... | HTML |
3FFA //A3
data8 0xAFA4A913D8E6BB4A, 0x0000BFF9 //A2
data8 0xAFC2D6A885BAA875, 0x00003FF7 //A1
data8 0xFFD40B84505A10B2, 0x00003FFE //A0
//
// Polynomial coefficients for the tanh(x), 8.0 <= |x| < 13.0
data8 0xA11C8A1FED168CD5, 0x00003FF2 //A3
data8 0xF1AAD6B02063A5F5, 0x0000BFEF //A2
data8 0xF1AADA46AD341C34, 0x00003FE... | Assembly |
);
removeElements();
parent.setLocation(location);
parent.getBounds().height=10;
}
}
/**
* Copyright (C) 2009 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | Java |
neClusterPreferences(c)
}
func (c *InstancetypeV1beta1Client) VirtualMachineInstancetypes(namespace string) VirtualMachineInstancetypeInterface {
return newVirtualMachineInstancetypes(c, namespace)
}
func (c *InstancetypeV1beta1Client) VirtualMachinePreferences(namespace string) VirtualMachinePreferenceInterface {
... | Go |
tandard.jfk-button-focused.jfk-button-hover{color:#0b57d0;padding:9px 12px;background-color:rgba(11,87,208,.12)}.docs-grille-gm3.docos.docs-gm.docos-comments-pe .docos-input-cancel.jfk-button-standard.jfk-button.jfk-button-disabled{color:#0b57d0;padding:9px 12px;color:#1f1f1f;cursor:default}.docos-comments-pe .docos-re... | CSS |
ut::sInstance) {
setNerve(&SelectAnimControllerNrvSelectOutStart::sInstance);
}
else {
setNerve(&SelectAnimControllerNrvSelectIn::sInstance);
}
_C = NULL;
}
}
void SelectAnimController::exeSelectIn() {
}
... | C++ |
ails>
<summary>职位要求</summary>
1、计算机相关专业本科及以上学历,有扎实的计算机基础知识和编程功底,良好的数据结构基础;
2、具备研发效能平台相关设计开发经验,对研发效能整体开发流程规范及实现有较深入认知和理解
3、精通java及spring框架等;
4、精通多线程编程,熟悉常见的开源分布式中间件、缓存、消息队列、数据库等;
5、有强烈的好奇心,对前沿技术保持敏感。具有良好的沟通能力、学习能力和团队合作精神;
6、深刻理解研发流程和实践,良好的工程师思维,准确把握需求;
7、有较强的技术视野,学习能力强,有较好的沟通与表达;
8、拥有项目管理及协作、代码托管、CI/CD、DevOps等效能... | Markdown |
, 2024,0)
inst_528:
// rs1_val==46339 and rs2_val==2,
// opcode: bne, op1:x10; op2:x11; op1val:0xb503; op2val:0x2; immval:0x2; align:0
TEST_BRANCH_OP(bne, x4, x10, x11, 0xb503, 0x2, 0x2, 1b, x1, 2028,0)
inst_529:
// rs1_val==46339 and rs2_val==1431655764,
// opcode: bne, op1:x10; op2:x11; op1val:0xb503; op2val:0x55... | Assembly |
ice(actions.payload.game.id-1, 1);
return {
...state,
games: oldGameArray,
gamesToUpdateId: -1,
editedGame: null
}
default:
return state;
}
}
import pointInRotatedEllipse from './pointInRotatedEllipse.js'
/**
* Calculates the statistics of an elliptical regio... | Typescript |
type = -1,
id = 206040,
voice_actor_2 = -1,
air_torpedo_skin = "",
prefab = "banrenma",
l2d_se = "",
aircraft_skin = "",
main_UI_FX = "",
shop_id = 0,
voice_actor = 164,
air_bomb_skin = "",
illustrator = -1,
rarity_bg = "",
time = "",
l2d_para_range = "",
lip_sync_gain = 0,
show_skin = "... | Lua |
_sample: Point2f) -> LightSample {
let radiance = self.intensity;
let pfrom = pos + (-2.0 as Float * self.world_radius) * self.dir;
let pto = pos;
let pdf = 1.0 as Float;
LightSample{
radiance: radiance,
pfrom: pfrom,
pto: pto,
pdf:... | Rust |
;']) // #7179
);
}
if (tempParent) {
tempParent.removeChild(textNode);
}
}
// Apply the text outline
if (isString(this.textOutline) && wrapper.applyTextOutline) {
wrapper.applyTextOutline(this.textOutline);
}... | JavaScript |
Selecione um registro");
return;
}
var meuCardapioAiService = new MeuCardapioAiService(txtMeuCardapioAiURL.Text);
var result = meuCardapioAiService.Status(_meuCardapioAiToken, _meuCardapioAiSelected, MeuCardapioAi.Enum.OrderStatus.CANCELADO);
if (result.S... | C# |
24E792AF08A*)NULL, /*hidden argument*/NULL);
G_B3_0 = L_6;
goto IL_0027;
}
IL_0026:
{
G_B3_0 = NULL;
}
IL_0027:
{
V_0 = (RuntimeObject *)G_B3_0;
TraceLoggingTypeInfo_t20C551D7A794E567EA451C7C8E8BAA4F7E2E263F * L_7 = (TraceLoggingTypeInfo_t20C551D7A794E567EA451C7C8E8BAA4F7E2E263F *)__this->get_typeInfo_0... | C++ |
}
else if (strcmp(arg, "-ts") == 0 && i + 1 < argc && isdigit(argv[i + 1][0]))
{
settings.texture_scale = clamp(float(atof(argv[++i])), 0.f, 1.f);
}
else if (strcmp(arg, "-tl") == 0 && i + 1 < argc && isdigit(argv[i + 1][0]))
{
settings.texture_limit = atoi(argv[++i]);
}
else if (strcmp(arg, "-tp... | C++ |
透弹幕相关逻辑
#### V2.4.7
> 1. up主在自己的视频下发送顶端、底端弹幕不再受等级的限制
#### V2.4.6
> 1. 修复用户撤回判断弹幕逻辑
#### V2.4.5
> 1. 重构弹幕监控
#### V2.4.4
> 1. 添加发送屏蔽状态日志
#### V2.4.3
> 1. up主屏蔽词屏蔽类型 painc 修复
#### V2.4.2
> 1. up主屏蔽词屏蔽类型修改
#### V2.4.1
> 1. 分段弹幕开启实名制
#### V2.4.0
> 1. 添加业务操作infoc2日志
> 2. test 去除simplejson 依赖
#### V2.3.4
> 1. 修复特殊弹幕管... | Markdown |
cs.alloc(|| "preimage xr", || {
xr_value.ok_or(SynthesisError::AssignmentMissing)
})?;
for i in 0..MIMC_ROUNDS {
// xL, xR := xR + (xL + Ci)^3, xL
let cs = &mut cs.namespace(|| format!("round {}", i));
// tmp = (xL + Ci)^2
let tmp_value = xl... | Rust |
date() {
const settings = this.config.settings;
this.filterNode.type = settings.type;
this.filterNode.frequency.value = settings.freq;
this.filterNode.gain.value = settings.gain;
this.filterNode.Q.value = settings.Q;
}
static create(id: string, audioCtx: AudioContext): B... | Typescript |
注本站,现在开始吧!</p><div style="text-align:center;"><img style="max-width: 100%;" alt="国内兽药厂家前50名有(国内十大兽药厂排名)" src="https://img2.baidu.com/it/u=1895234696,2867745860&fm=253&fmt=auto&app=138&f=JPEG?w=675&h=500"></div><div><div style="color:#999;text-align:center;">(图片来源网络,侵删)</div></div><h2>本文目录一览:</h2><ul><li style='margin-b... | HTML |
).withName(streamSyncStats.streamName))
}
}
}
}
val streamResults =
ctx.fetch(
(
STREAM_STAT_SELECT_STATEMENT +
"WHERE stats.attempt_id IN " +
"( SELECT id FROM attempts WHERE job_id IN ( " + jobIdsS... | Kotlin |
r * ta_txt = lv_ta_get_text(ext->ta);
if(ta_txt[0] == '-') {
lv_ta_set_cursor_pos(ext->ta, 1);
lv_ta_del_char(ext->ta);
lv_ta_add_char(ext->ta, '+');
lv_ta_set_cursor_pos(ext->ta, cur);
} else if(ta_txt[0] == '+') {
lv_ta_set_cursor_pos(ext->ta... | C |
ARB:
mov ___blue_glCore_glBufferSubDataARB@GOTPCREL(%rip), %r11
jmp *(%r11)
.private_extern _bluegl_glGetBufferSubDataARB
_bluegl_glGetBufferSubDataARB:
mov ___blue_glCore_glGetBufferSubDataARB@GOTPCREL(%rip), %r11
jmp *(%r11)
.private_extern _bluegl_glMapBufferARB
_bluegl_glMapBufferARB:
mov ___b... | Assembly |
.privateRun(TestRunner.java:808)
at org.testng.TestRunner.run(TestRunner.java:603)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:429)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:423)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:383)
at org.testng.SuiteRunner.run(SuiteRunner.java:326)
... | HTML |
aximum_power_charges
/// </summary>
LoseAllPowerChargesOnReachingMaximumPowerCharges = 3943,
/// <summary>
/// shocked_for_4_seconds_on_reaching_maximum_power_charges
/// </summary>
ShockedFor4SecondsOnReachingMaximumPowerCharges = 3944,
/// <summary>
/// local_display_molten_burst_on_melee_hit_%
//... | C# |
= 0x06;
}
else if (aScore < bScore && score > aScore) {
aScore = score;
aPoint = 0x06;
}
}
// Decide if (1,0,0,0) is closer.
double p1 = 2 - inSum + xins;
if (aScore >= bScore && p1 > bScore) {
bScore = p1;
bPoint = 0x01;
bIsBiggerSide = false;
}
else if (aScore < b... | Java |
using Steamworks;
using System;
using System.Collections.Generic;
using System.Linq;
using UtilLibs;
namespace SaveGameModLoader
{
class StoreModPackNameScreen : KModalScreen
{
KInputTextField textField;
public ModListScreen parent;
public bool ExportToFile = true;
public override void OnSpawn()
{
bas... | C# |
= added;
newEdgeAdded[2] = std::abs(nextOffset3 - newEdgeOffsets[2]) - 1;
newEdgeOffsets[1] = vertBary.size();
newEdgeOffsets[2] = nextOffset3;
for (int j = 0; j < added; ++j) {
vertBary.push_back(la::lerp(vertBary[newCornerVerts[1]],
vertBary[newCorn... | C++ |
3], v[v_b+4:v_b+5], a[a_c+0:a_c+15] ; repeat:0x0, step:0x0, num_a_c:16
ds_read_b64 v[v_b+2:v_b+2+1], v[v_sld_b_os] offset:13312 ; load i_k:6 into local buffer 0, repeat 1
ds_read_b64 v[v_b+4:v_b+4+1], v[v_sld_b_os] offset:14336 ; load i_k:7 into local buffer 1, repeat 0
s_waitcnt lgkmcnt(4)
v_m... | Assembly |
SystemTest
{
TestFile = "linux_2.0.0.aif",
MediaType = MediaType.GENERIC_HDD,
Sectors = 262144,
SectorSize = 512,
Clusters = 65535,
ClusterSize = 1024,
Type = "minix"
},
new FileSystemTest
... | C# |
}
}
/// Print a success status message (in green if colors are enabled)
macro_rules! status_ok {
($status:expr, $msg:expr) => {
::shell::status(::term::color::GREEN, $status, $msg, true);
};
($status:expr, $fmt:expr, $($arg:tt)+) => {
status_ok!($status, format!($fmt, $($arg)+));
}... | Rust |
var $button;
if ( 'themes' === pagenow ) {
$button = $( '.theme-actions .delete-theme' );
} else if ( 'themes-network' === pagenow ) {
$button = $( '[data-slug="' + args.slug + '"]' ).find( '.row-actions a.delete' );
}
args = _.extend( {
success: wp.updates.deleteThemeSuccess,
error: wp.updates... | JavaScript |
gen, DO NOT EDIT.
package tg
import (
"context"
"errors"
"fmt"
"sort"
"strings"
"go.uber.org/multierr"
"github.com/gotd/td/bin"
"github.com/gotd/td/tdjson"
"github.com/gotd/td/tdp"
"github.com/gotd/td/tgerr"
)
// No-op definition for keeping imports.
var (
_ = bin.Buffer{}
_ = context.Background()
_ =... | Go |
class="tsd-signature-type tsd-kind-type-alias">TooltipOption</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="types.WbNodeData.html#type">type</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</spa... | HTML |
al projector.
</p>
<h2>Source</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/geometries/DecalGeometry.js examples/jsm/geometries/DecalGeometry.js]
</p>
</body>
</html> -->
<div style="color:rgb(158, 156, 156);align-items: center; margin-left: auto; margin-right: auto; padding-t... | HTML |
�官网'},
{'21985', '利来国际娱乐平台', '利来国际娱乐平台'},
{'21986', '捷报比分网', '捷报比分网'},
{'21987', '丹东一句定三码', '丹东一句定三码'},
{'21988', '乐彩论坛', '乐彩论坛'},
{'21989', '牛彩网', '牛彩网'},
{'21990', '排三试机号', '排三试机号'},
{'21991', '超级大乐透', '超级大乐透'},
{'21992', '超級大樂透', '超級大樂透'},
{'21993', '金码走势图', '金码走势图'},
{'21994', '太湖字谜', '太湖字谜'},
{'21995', '晚秋和值谜', '晚... | Lua |
Ey7kvWVfpe sx_80fa74"></i>Friend request sent</button></div><a class="_42ft _4jy0 _3-99 _4jy3 _517h _51sy" role="button" href="#" ajaxify="/friends/pymk/xout/?uid=590787652&src_page=friends_center&how_found=requests_page_pymk&ext=1504475250&hash=AeRA1kKtMqRUn7sA" rel="async" id="u_l_k">Remove</a></div><... | HTML |
using System.Collections.Generic;
using UnityEngine.UIElements;
using Unity.PlasticSCM.Editor;
namespace Unity.PlasticSCM.Editor.UI.UIElements
{
internal class TabView : VisualElement
{
internal TabView()
{
InitializeLayoutAndStyles();
BuildComponents();
}
... | C# |
ext = uuid.New().String()
uuid.SetRand(nil)
} else {
keptnContext = eventKeptnContext
}
}
return keptnContext
}
func sendInternalErrorForPost(err error) *event.PostEventInternalServerError {
logger.Error(err.Error())
return event.NewPostEventInternalServerError().WithPayload(&models.Error{Code: 500, Mess... | Go |
// Copyright (c) Canaan Inc. All rights reserved.
// Licensed under the Apache license. See LICENSE file in the project root for full license information.
using Nncase.Diagnostics;
using Nncase.IR;
using Nncase.IR.Tensors;
using static Nncase.IR.F.Tensors;
namespace Nncase.Utilities;
public static class ShapeExprUt... | C# |
>账户登录</h3>
</a>
</li>
</ul>
<div class="tab-content tab-wraped">
<div id="index" class="tab-pane">
<p>二维码登录,暂为官网二维码</p>
<img src="./img/wx_cz.jpg"/>
</div>
<div id="profile" class="tab-pane active">
<span v-text="ms... | HTML |
],'/prs_1_',annot,'.test.pred_comp.txt'))
tmp$Phenotype<-pheno[i]
tmp$Annot<-annot
comp<-rbind(comp, tmp)
}
comp_all<-rbind(comp_all, comp)
eval$Type<-gsub('.*EUR.','',gsub('_group','',eval$Model))
eval$Type[eval$Type == &#... | HTML |
# Copyright (C) 2024 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import _, api, fields, models
class TMSOrder(models.Model):
_inherit = "tms.order"
purchase_ids = fields.One2many("purchase.order", "trip_id", store=True)
purchase_order_count = fields... | Python |
*************** */
void HPRefinement (Mesh & mesh, Refinement * ref, SplittingType split,
int levels, double fac1, bool setorders, bool reflevels)
{
PrintMessage (1, "HP Refinement called, levels = ", levels);
// NgLock mem_lock (mem_mutex,1);
mesh.coarsemesh = make_unique<Mesh... | C++ |
Q175,112 175,156 Q175,202 170,246 Q166,291 166,324 Q166,395 197,450 Q229,505 286,534 Q344,563 417,563 Q507,563 573,523 Q639,483 673,408 Q708,333 708,237 Q708,122 651,55 Q595,-12 496,-12 Q417,-12 371,32 Q325,77 325,147 Q325,208 356,244 Q387,279 436,279 Q472,279 493,261 Q514,243 514,211 Q514,183 498,166 Q482,148 459,148 ... | HTML |
an} streamingEnded is the stream finished ?
* @param {number} offset the current offset from the start of the zip file.
* @param {String} platform let's pretend we are this platform (change platform dependents fields)
* @param {Function} encodeFileName the function to encode the file name / comment.
* @return {Obje... | JavaScript |
- You may not provide the software to third parties as a hosted or managed
service, where the service provides users with access to any substantial set of
the features or functionality of the software.
- You may not move, change, disable, or circumvent the license key functionality
in the soft... | CSS |
'special_attention',
'3': 2,
'4': 1,
'5': 5,
'10': 'specialAttention'
},
{'1': 'reddot_state', '3': 3, '4': 1, '5': 5, '10': 'reddotState'},
{
'1': 'live_info',
'3': 4,
'4': 1,
'5': 11,
'6': '.bilibili.app.dynamic.v2.MixUpListLiveItem',
'10': 'liv... | Dart |
(IMG_DIR, "bin2").readText().binaryImage()
// val image = File(IMG_DIR, "fix.png").readBytes().fixPng().toImage()
// val image = File(IMG_DIR, "base64").readText().base64Image()
// val text = File(IMG_DIR, "rgb.txt").readText()
// val colors = text.lines().f... | Kotlin |
r25 = r6
int r6 = -r11
float r6 = (float) r6
r26 = r8
int r8 = -r12
float r8 = (float) r8
r3.drawBitmap(r4, r6, r8, r15)
r11 = 0
r12 = 0
r6 = r9
r21 = r4
r4 = r6
r22 = ... | Java |
hemeScrollbars,{label:a.__("Theme Scrollbars"),isToggled:()=>u.isToggledThemeScrollbars(),execute:()=>u.toggleThemeScrollbars()});d.addCommand($.changeFont,{label:e=>e["enabled"]?`${e["font"]}`:a.__("waiting for fonts"),isEnabled:e=>e["enabled"],isToggled:e=>u.getCSS(e["key"])===e["font"],execute:e=>u.setCSSOverride(e[... | JavaScript |
map(a => a + 10, [1, 2])
);
</script>
## 불변성
함수형 프로그래밍에서 불변성은 매우 중요한 키워드입니다. 자바스크립트에는 불변성을 지원하는 값이 존재하지 않습니다. `Object.freeze`는 객체를 불변하도록 만들지만, 객체의 값이 변하지 않는 것은 불변성의 일부일 뿐입니다. 불변성에서 더 중요한 내용이자 목적은 불변적으로 데이터를 '변형'하는 것입니다. 이것은 한 번 정의한 값을 직접 변경하지 않고, 변형된 새로운 값으로 만드는 것을 말합니다. 자바스크립트에서 이것을 달성하기 위해 잘 숙지해야 할 것은, 값이 전달/할당될 ... | HTML |
id="local-icon-shouye"><path d="M437.483 134.784a112.81 112.81 0 0 1 149.034 0L842.54 340.501a94.613 94.613 0 0 1 32.128 71.147v390.613c0 63.552-50.944 115.072-113.771 115.072H263.104c-62.827 0-113.77-51.52-113.77-115.072V411.648c0-27.307 11.733-53.27 32.127-71.147zm108.373 47.424a51.285 51.285 0 0 0-67.733 0L222.1 3... | JavaScript |
{ Group } from "models";
export interface PostGroupRequest {
name: string;
description?: string;
tags?: string[];
}
export const useMutateCreateGroup = () => {
const queryClient = useQueryClient();
const fetcher = useFetcher();
const postGroup = async (request: PostGroupRequest) => {
try {
re... | Typescript |
13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"></path></svg></button></div><div class="navbarSearchContainer_Bca1"></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="__docusaurus_skipToCont... | HTML |
lute value of D0
BPL DIV1
NEG.L D0
DIV1 TST.L D1 take absolute value of D1
BPL DIV2
NEG.L D1
DIV2 MOVEQ #31,D3 iteration count for 32 bits
MOVE.L D0,D1
CLR.L D0
DIV3 ADD.L D1,D1 (This algorithm was translated f... | Assembly |
ctorFilterSortAlgorithm
*/
val filteredCandidates: Flow<List<MaybeExcludedMedia>>
/**
* 搜索到的全部的列表, 经过了设置 [MediaSelectorSettings] 筛选.
* @see MediaSelectorFilterSortAlgorithm
*/
val filteredCandidatesMedia: Flow<List<Media>>
/**
* 用户的偏好字幕组设置
*/
val alliance: MediaPrefer... | Kotlin |
, 0.0, 0.0), this);
gCpoints.set(robotSide, contactPoint);
kneeJoints.get(robotSide).addGroundContactPoint(contactPoint);
Graphics3DObject graphics = kneeJoints.get(robotSide).getLink().getLinkGraphics();
graphics.identity();
graphics.translate(0.0, 0.0, 0.0);
doubl... | Java |
bash
poetry run uvicorn src.api.routes:app --reload --port 8000
```
### Production Deployment
#### Option 1: Docker Compose
```bash
# Production deployment
docker-compose -f docker-compose.prod.yml up -d
# Monitor services
docker-compose logs -f research-assistant-api
```
#### Option 2: Kubernetes
```bash
# A... | Markdown |
0 809B9EC0 944E0004 */ lhu $t6, 0x0004($v0) ## FFFFFFE4
/* 01BE4 809B9EC4 0C26E146 */ jal func_809B8518
/* 01BE8 809B9EC8 A60E00B8 */ sh $t6, 0x00B8($s0) ## 000000B8
/* 01BEC 809B9ECC 86040268 */ lh $a0, 0x0268($s0) ## 00000268
.L809B9ED0:
/* 01BF0 809B9... | Assembly |
class ARROW_EXPORT Voidify {
public:
Voidify() {}
// This has to be an operator with a precedence lower than << but
// higher than ?:
void operator&(ArrowLogBase&) {}
};
namespace detail {
/// @brief A helper for the nil log sink.
///
/// Using this helper is analogous to sending log messages to /dev/null:
... | C |
ary: Colors.blue,
secondary: Colors.blueAccent,
),
useMaterial3: true,
),
darkTheme: ThemeData(
colorScheme: const ColorScheme.dark(
primary: Colors.blue,
secondary: Colors.blueAccent,
... | Dart |
User = await UserService.GetDetailAsync(_userId);
Authorization = new(User.Id, User.Roles.Select(role => role.Id), User.Permissions);
Teams = new();
_visible = true;
}
private async Task UpdateVisible(bool visible)
{
if (VisibleChanged.HasDelegate)
{
aw... | C# |
including defaults
*/
options(): Readonly<TOptions>;
/**
* Returns interface of the price scale the series is currently attached
*
* @returns IPriceScaleApi object to control the price scale
*/
priceScale(): IPriceScaleApi;
/**
* Sets or replaces series data.
*
* @param data - Ordered (earlier ti... | Typescript |
Cframe%7Ccenter%7Calt=AeroFoil-output-types.gif>\|
<div style="text-align: center">
Opis : Typy danych wyjściowych makrodefinicji Skrzydło samolotu
</div>
\]\]
\[\[<File:AeroFoil-input-types.gif%7Cframe%7Ccenter%7Calt=AeroFoil-input-types.gif>\|
<div style="text-align: center">
Opis : Typy danych wejściowych ... | Markdown |
warn("LxShare: share payment uri: err: $err");
return ShareResultStatus.unavailable;
}
}
}
import 'dart:async' show Timer, unawaited;
import 'package:flutter/foundation.dart' show Listenable;
import 'package:lexeapp/logger.dart';
import 'package:lexeapp/notifier_ext.dart' show LxChangeNotifier;
/// Mana... | Dart |
h_node(emac_match, np) == NULL)
continue;
if (of_get_property(np, "unused", NULL))
continue;
idx = of_get_property(np, "cell-index", NULL);
if (idx == NULL)
continue;
cell_indices[i] = *idx;
emac_boot_list[i++] = of_node_get(np);
if (i >= EMAC_BOOT_LIST_SIZE) {
of_node_put(np);
break;
}
}
... | C |
if(!Net.client() || force) {
Effects.effect(Fx.explosion, enemy);
Effects.shake(3f, 4f, enemy);
Effects.sound("bang2", enemy);
enemy.remove();
enemy.dead = true;
}
}
public void removed(Enemy enemy){
if(!enemy.dead){
... | Java |
ServerUtils.clientSignKey
if (!TextUtils.isEmpty(clientSignKey)) {
msgMap["sign"] = HttpServerUtils.calcSign(timestamp.toString(), clientSignKey)
}
if (refresh) pageNum = 1
msgMap["data"] = SmsQueryData(smsType, pageNum, pageSize, keyword)
var requestMsg: String = G... | Kotlin |
combined.save(path)
raise Exception(
f"Cairo and Inkscape {name} images differ by {diff} pixels, "
f"images written to {path}"
)
else:
print(f"{name} difference: {diff}", file=sys.stderr)
def check_svg(svg: str, inkscape_shell, wrapped, ch... | Python |
return ret;
}
return def_value;
}
DUK_EXTERNAL void *duk_get_heapptr(duk_hthread *thr, duk_idx_t idx) {
duk_tval *tv;
void *ret;
DUK_ASSERT_API_ENTRY(thr);
tv = duk_get_tval_or_unused(thr, idx);
DUK_ASSERT(tv != NULL);
if (DUK_UNLIKELY(!DUK_TVAL_IS_HEAP_ALLOCATED(tv))) {
return (void *) NULL;
}
ret = ... | C++ |
d_qty_for_production_plan", "fieldtype": "Float", "width": 100, "convertible": "qty"},
{"label": _("Reserved for Sub Contracting"), "fieldname": "reserved_qty_for_sub_contract", "fieldtype": "Float", "width": 100, "convertible": "qty"},
{"label": _("Reserved for POS Transactions"), "fieldname": "reserve... | Python |
init {
requestArticles()
}
fun requestArticles() = articlesRepository.requestArticles()
fun getAll() = articlesRepository.getAll()
fun insertAll(articlesItemList: List<ArticlesItem>) {
articlesRepository.insertAll(articlesItemList)
}
fun deleteAll() {
articlesReposit... | Kotlin |
<th>Sport</th>
</tr>
<tr>
<td><a href="//en.wikipedia.org/wiki/2013_in_sports" title="2013 in sports">2013</a></td>
<td><a href="//en.wikipedia.org/wiki/Frederik_Van_Lierde" title="Frederik Van Lierde">Frederik Van Lierde</a></td>
<td align="center">triathlon</td>
<td><a href="//en.wikipedia.org/wiki/Kirsten_Flipkens"... | HTML |
<domain name="example.com"/>
<!-- enable 默认开启 -->
<!-- forwardPlainNames 如果关闭则不会处理不带 . 的名字 -->
<dns enable='yes' forwardPlainNames='yes'>
<txt name="example" value="example value"/>
<forwarder addr="8.8.8.8"/>
<forwarder domain='example.com' addr="8.8.4.4"/>
<forwarder domain='www.example.com'/>
... | Markdown |
''},
{'50002', '', '', '30027', '完成主线剧情里【第一章】所有普通难度关卡的3星条件', '3', '2', '1', '', '', '', '', '', '', ''},
{'50003', '', '', '30027', '完成主线剧情里【第二章】所有普通难度关卡的3星条件', '3', '3', '1', '', '', '', '', '', '', ''},
{'50004', '', '', '30027', '首次通过【教程】里面的4个关卡的3星条件', '3', '10001', '4', '', '', '', '', '', '', ''},
{'50005', '', '... | Lua |
术范式的探索——都提供了宝贵的借鉴。对于更广泛的读者,这不仅仅是一个关于 3D 模型的故事,更是一个关于 AI 时代,人的创造力、组织的适应性以及如何利用技术赋予个体力量的深刻洞察。阅读原文,你将更深入地理解这场正在发生的、静悄悄的三维革命。
#### Tinker:重塑 AI 训练抽象层,是精准的价值切割还是傲慢的技术幻觉?
[Announcing Tinker](https://thinkingmachines.ai/blog/announcing-tinker/)
当 AI 领域的军备竞赛日益聚焦于模型规模与基础设施的“暴力美学”时,一家名为 Thinking Machines 的初创公司却另辟蹊径,将目光投向了连接算法... | Markdown |
/**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* 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... | C |
mustGetPutObjReader(t, bytes.NewReader([]byte("abcd")), int64(len("abcd")), "", ""), ObjectOptions{
Versioned: true,
})
if err != nil {
t.Fatalf("Erasure Object upload failed: <ERROR> %s", err)
}
names[i] = ObjectToDelete{
ObjectV: ObjectV{
ObjectName: objInfo.Name,
VersionID: objInfo.Ve... | Go |
// Store dest back to memory
STR(src, STATE, dest_offset_disp);
} else {
// Not all components are enabled, so mask the result when storing to the destination
// register...
LDR(VSCRATCH0, STATE, dest_offset_disp);
// MOVI encodes a 64-bit value into an 8-bit immidiate by ... | C++ |
int rt_targetOutput = 600;
//Skip adaptation passes if adaptation switched off.
if( !Adaptation )
{
if( passId == rt_luminance0 || passId == rt_luminance1 || passId == rt_luminance2
|| passId == rt_luminance3 || passId == rt_luminance4 )
{
skipPass = true;
return;
}
}
//Skip... | C# |
#include <Server/Packets/Packets.h>
#include <Server/Server.h>
void send_set_hp(server_t* server,
player_t* player,
player_t* player_hit,
long hp_chnage,
uint8_t type_of_damage,
uint8_t kill_reason,
uin... | C |
def encode_prompt(text_encoders, tokenizers, prompt, text_input_ids_list=None):
for i, text_encoder in enumerate(text_encoders):
if tokenizers is not None:
tokenizer = tokenizers[i]
text_input_ids = tokenize_prompt(tokenizer, prompt)
else:
assert text_input_ids_li... | Python |
�是罗德岛的疗养庭院。我们培育这么多植物,除了种出漂亮的花朵让人开心之外,还希望能利用它们真正帮助到大家。”
——在“花期”中,调香师向波登可阐释疗养庭院的功能定位和工作的真正意义。
“我从之前就一直觉得,小暗索一定会很适合熏香吧。”
——在“鲜花香水”中,调香师在暗索捡拾花种后,没有责怪,反而计划着等她归还时,鼓励她种植并为其定制香薰,展现出细致的观察和温柔的关怀。
“总有些事,别人帮不上手,只好自己来处理了。”;“没下地做过怎么指挥别人呢......”;“现在流的每滴汗水都是今后指导别人的经验,加油干吧。”
——在“改建计划”中,调香师回顾自己亲手建立庭院的经历,强调亲力亲为和经验积累的重要性,并以此勉励波登可。
“草木无... | Markdown |
from django_cotton.tests.utils import CottonTestCase
from django_cotton.tests.utils import get_rendered
class DynamicComponentTests(CottonTestCase):
def test_dynamic_components_via_string(self):
self.create_template(
"cotton/dynamic_component_via_string.html",
"""
<div>... | Python |
Property,
OneToOne,
OneToMany,
} from "@mikro-orm/core";
import { BlockType } from "../enums";
import { Field, ObjectType } from "type-graphql";
import { v4 as uuidv4 } from "uuid";
import { CustomField } from "./CustomField";
import { OptionValue } from "./CustomFieldOptionValue";
@ObjectType()
@Entity()
export ... | Typescript |
ope object which prevents undos from being created by Timeline operations.
/// </summary>
public DisableTimelineUndoScope()
{
m_DisableScope = new TimelineUndo.DisableUndoScope();
}
/// <summary>
/// Disposes the DisableTimelineUnd... | C# |
tau = rtr/rt1r1;
rt1r1 = rtr.clone();
Zip::from(&mut pki).and(&ri).apply(|pki, &ri|{
*pki = ri + tau * *pki;
});
}
err
}
//We can set the below in the future to allowing rectangular A matrices. Therefore, it could be applied to solve full-rank least squares
/... | Rust |
syncDemo) BeforeEach(t provider.T) {
t.Epic("Async")
t.Feature("Async Steps")
t.Tags("async", "suite", "steps")
}
func (s *StepAsyncDemo) TestAsyncStepDemo1(t provider.T) {
t.Title("Test with async steps 1")
t.WithNewAsyncStep("Async Step 1", func(ctx provider.StepCtx) {
ctx.WithNewParameters("Start", fmt.Spri... | Go |
Flags::IGNORECASE.bits() | 64),
opts
);
assert_eq!(Options::from(Flags::EXTENDED | Flags::IGNORECASE), opts);
assert_ne!(
Options::from(Flags::EXTENDED | Flags::IGNORECASE | Flags::MULTILINE),
opts
);
assert_eq!(opts.ignore_case(), RegexpOption... | Rust |
rch:before {
color: white;
}
/* Admin Bar: submenu */
#wpadminbar .menupop .ab-sub-wrapper {
background: #4ca26a;
}
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
background: #7eb892;
}
#wpadminbar .ab-submenu .ab-item,
#wpadminbar .quick... | CSS |
бии и до этого было много поездок - про это писали в мотивационном письме. Дали под даты поездки - 9 дней, но мульти.
> [#190435](https://t.me/c/1608823685/14535/190435), [#190438](https://t.me/c/1608823685/14535/190438), [#190440](https://t.me/c/1608823685/14535/190440)
> **✅ Одобрено, Суботица.** Получили визы, под... | Markdown |
*/ mr r3, r28
/* 8042B30C 0042684C 7F C4 F3 78 */ mr r4, r30
/* 8042B310 00426850 81 8C 00 48 */ lwz r12, 0x48(r12)
/* 8042B314 00426854 7D 89 03 A6 */ mtctr r12
/* 8042B318 00426858 4E 80 04 21 */ bctrl
/* 8042B31C 0042685C 7C BB FA 14 */ add r5, r27, r31
/* 8042B320 00426860 7C 64 1B 78 */ mr r4, r3
/* 8042B32... | Assembly |
etwork"},
{65, "ENOPKG", "package not installed"},
{66, "EREMOTE", "object is remote"},
{67, "ENOLINK", "link has been severed"},
{68, "EADV", "advertise error"},
{69, "ESRMNT", "srmount error"},
{70, "ECOMM", "communication error on send"},
{71, "EPROTO", "protocol error"},
{72, "EMULTIHOP", "multihop attempte... | Go |
{}, "PARAM": {}, "META": {}, "LINK": {}, "ISINDEX": {},
"INPUT": {}, "IMG": {}, "HR": {}, "FRAME": {}, "COL": {}, "BR": {},
"BASEFONT": {}, "BASE": {}, "AREA": {}, "SOURCE" : {}, "WBR" : {}, "TRACK" : {},
"embed": {}, "param": {}, "meta": {}, "link": {}, "isindex": {},
"input": {}, "img": {}, "hr": {}, "frame"... | JavaScript |
tion = reserve.config.optimal_utilization_rate as f64 / 100f64;
let borrow_apy = {
if optimal_utilization == 1f64 || current_utilization < optimal_utilization {
let normalized_factor = current_utilization / optimal_utilization;
let optimal_borrow_rate = reserve.config... | Rust |
createEmptyInstance: create)
..aInt64(
1,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'start')
..aInt64(
2,
const $core.bool.fromEnvironment('protobuf.omit_field_names')
? ''
: 'end')
..aInt64(
... | Dart |
Delta && closePrice < price)
{
trappedLevels.Add(price);
Draw.Dot(this, "TrappedBuyerLevel_" + CurrentBar + "_" + price, true, 0, price, transGreen);
}
}
return trappedLevels.Count >= MinTrappedLevels;
}
}
}
#region NinjaScri... | C# |
*****************************************************************
* Name: irqrestore
*
* Description:
* Restore previous interrupt state
*
****************************************************************************/
void irqrestore(irqstate_t flags) __naked
{
__asm
di ; Assume disabled
pop hl ; HL = re... | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.