content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
사 결정이나 계획과 관련이 있으며, 불확실하거나 경쟁적인 \\\\ 목표를 가지고 선택을 해야 하는가?\\\\\\\n' +
'도 29는 데이터 분석, 모델링 또는 최적화 기술이 필요한 분석적 문제입니까?\\\\\n' +
'30은 창의적 해결과 혁신이 필요한 설계 과제인가?\\\\\\\n' +
'31 문제는 개별 사례보다 시스템 또는 구조적 문제를 해결해야 합니까? \\\\\\\n' +
'32 문제는 시간에 민감하거나 긴급하여 즉각적인 주의와 조치가 필요한가?\\\\\\\n' +
'33 이러한 종류의 문제 사양을 위해... | HTML |
/jfrj/matrix/ClockReasonsId.html" title="class in br.gov.jfrj.matrix">ClockReasonsId</A> id,
java.lang.String reasonString)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" ... | HTML |
Delta(deltaX, deltaY)
}
override fun decreaseCubeCount() {
nativeDecreaseCubeCount()
}
override fun increaseCubeCount() {
nativeIncreaseCubeCount()
}
override fun toggleVBOs() {
nativeToggleVBOs()
}
override fun toggleStride() {
nativeToggleStride()
... | Kotlin |
ORT R3 K4 [require]
GETTABLEKS R5 R0 K5 ["Packages"]
GETTABLEKS R4 R5 K6 ["Framework"]
CALL R3 1 1
GETTABLEKS R2 R3 K7 ["Util"]
GETTABLEKS R1 R2 K8 ["Action"]
GETIMPORT R2 K4 [require]
GETTABLEKS R5 R0 K9 ["Src"]
GETTABLEKS R4 R5 K7 ["Util"]
GETTABLEKS R3 R4 K10 ["SaveState"]
CALL R2 1 1
LOADN R3 ... | Assembly |
# Q_new[0, 0] = np.random.uniform(MAX_Q_VALUE[0, 0], MIN_Q_VALUE[0, 0])
# print("Q_new[0, 0] = ", Q_new[0, 0])
# count_3 = count_3 + 1
# print("count_3 = ", count_3)
Q_new = Q_hat_matrix
# print("Q_new = ", Q_new)
# update_factor = 0.01
# Q_new ... | Python |
848597853], [-78.76078123786776, -5.374140598634397], [-78.78634698789017, -5.428189223684546], [-78.83242086292992, -5.443910723698829], [-78.84244336293828, -5.402431598660154], [-78.89890823798588, -5.338749973600455], [-79.00285161307212, -5.317842473580038], [-79.0087051130765, -5.259906223526073], [-79.0080038630... | HTML |
d=\"selected\">".$template."</option>\n";
}
?>
</select>
<span class="lang_045" style="display:none;">Language</span>
<select id="language" name="language" style="display:none;">
<?php
if ($picklanguage) {
foreach ($languages as $l) :
$selected = "";
if ($language === $l) {
... | HTML |
ag)
break;
}
else {
flag = deleteDirectory(files[i].getAbsolutePath());
if (!flag)
break;
}
}
if (!flag) {
return false;
}
return dirFile.delete();
}
public static String showPageStaticHtml(String url, int currentPage, int... | Java |
6000073C */ lui $a3, (0x602080 >> 16)
/* 4259614 8007D84C 0780023C */ lui $v0, %hi(D_800758E4)
/* 4259618 8007D850 E458428C */ lw $v0, %lo(D_800758E4)($v0)
/* 425961C 8007D854 00000000 */ nop
/* 4259620 8007D858 09F84000 */ jalr $v0
/* 4259624 8007D85C 8020E734 */ ori $a3, $a3, ... | Assembly |
_file);
log::trace!("shader kind: {:?}", shader_kind);
let package_vk = (args.package_all || args.package_vk) && cooked_shader_file.is_some();
let package_metal = (args.package_all || args.package_metal) && cooked_shader_file.is_some();
let package_gles2 = (args.package_all || args.package_gles2) && co... | Rust |
import socket
import pyautogui
# Nastavenie servera
HOST = '0.0.0.0' # Akceptuje pripojenia z akéhokoľvek hosta
PORT = 12345 # Zvolený port pre server
def start_server():
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_socket.bind((HOST, PORT))
server_socket.listen(1)
pr... | Python |
继续写入数据。
总之,closeAnotherScope函数是writer.go文件中Writer结构体的关键函数之一,用于有效地管理缓冲区和输出流之间的数据流动,以确保数据能够正确地写入输出流。
### stmt
在go/src/cmd中的writer.go文件中,stmt函数是一个内部函数,用于将表示语句(stmt)的AST节点写入到输出流中。
AST(Abstract Syntax Tree)是一种将代码抽象为树状结构的数据结构,每个节点表示代码中的一个语法结构,如函数、表达式、语句等。writer.go中的stmt函数就是用来遍历表示语句的AST节点的工具函数。
具体来说,stmt函数会接受一个包含AST节点的... | Markdown |
ifies as the minimum size the smaller of:
</p>
<ul>
<li>the <a data-link-type="dfn" href="https://drafts.csswg.org/css-sizing-3/#min-content" id="ref-for-min-content①⑤">min-content size</a>, or
<li>the computed <a class="css property" data-link-type="property" href="https://... | HTML |
pchBuf = NULL;
TCHAR * pchSourceUrl = NULL;
CStr cstr;
CStr cstrBuf;
ULONG cb = NULL;
CROStmOnBuffer *prostm = NULL;
HINSTANCE hInst = NULL;
// The url is of the following syntax:
// about:<name>
Assert(_tcsnipre(_T("about:"), 6, _c... | C++ |
// TODO remove the hardcode opt after refactor, all methods should accept custom flags
opt = append(opt, withKeyValue(flagFees, fees))
opt = append(opt, withKeyValue(flagFrom, from))
opts := applyOptions(c.id, opt)
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
defer cancel()
s.T().Logf... | Go |
CONTAINER_INFO_VERSION)
HGOTO_ERROR(H5E_FILE, H5E_VERSION, FAIL, "wrong container info version #")
/* Set the container info fields */
info->feature_flags = 0; /* None currently defined */
info->token_size = H5F_SIZEOF_ADDR(f);
info->blob_id_size = H5HG_HEAP_ID_SIZE(f);
done:
FUNC_LEAV... | C |
ational (6),
<br />
trace -> debug (7).
</td></tr><tr><td>
transport
</td><td>
local
</td><td>
The transport to use for syslog data (local | udp | tcp | tls).
</td></tr><tr><td>
transport_options
</td><td>
[]
</td><td>
The transport options to use for t... | HTML |
#
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
import sys
from airbyte_cdk.entrypoint import launch
from source_aws_cloudtrail import SourceAwsCloudtrail
def run():
source = SourceAwsCloudtrail()
launch(source, sys.argv[1:])
| Python |
"] = "重置快速協助 (當前專精)"
L["RESET_CHARACTER"] = "從過舊的版本更新,需要重置角色設定檔"
L["RESET_INCLUDES"] = "只包括滑鼠點擊施法和自動切換版面配置"
L["RESET_YES_NO"] = [=[|cff22ff22是|r - 重置 Cell
|cffff2222否|r - 我自己搞定]=]
L["Respond to all dispellable debuffs"] = "回應所有的可驅散減益"
L["Respond to all requests from group members"] = "回應所有隊伍成員的請求"
L["Respond to request... | Lua |
n
riding = true
flyablex = true
if not IsControlKeyDown() then
flyingmount = ""
groundmount = ""
end
end
if IsControlKeyDown() then
if IsSwimming() and not vjswim then
swimablex = not swimablex
elseif not vjswim then
flyablex = not flyablex
if riding then riding = false end
else
vjswi... | Lua |
mm3 ;# H1
;# coulomb table ready, in xmm4-xmm7
mulsd xmm6, xmm1 ;# xmm6=Geps
mulsd xmm7, xmm2 ;# xmm7=Heps2
addsd xmm5, xmm6
addsd xmm5, xmm7 ;# xmm5=Fp
mulsd xmm7, [esp + nb302_two] ;# two*Heps2
movapd xmm3, [esp + nb302_qqHH]
addsd xmm7, xmm6
addsd xmm7, xmm5 ;# xmm7=FF
mulsd xmm5, xmm1 ;... | Assembly |
hfsplus_file_truncate(struct inode *inode)
{
struct super_block *sb = inode->i_sb;
struct hfsplus_inode_info *hip = HFSPLUS_I(inode);
struct hfs_find_data fd;
u32 alloc_cnt, blk_cnt, start;
int res;
hfs_dbg(INODE, "truncate: %lu, %llu -> %llu\n",
inode->i_ino, (long long)hip->phys_size, inode->i_size);
if (... | C |
config = Scene.context.getSharedPreferences(SpfConfig.GLOBAL_SPF, Context.MODE_PRIVATE)
}
return config!!.getBoolean(SpfConfig.GLOBAL_SPF_FREEZE_XPOSED_OPEN, false)
}
val whiteList = arrayOf(
"com.android.quicksearchbox", // 搜索
"com.android.settings", // 设置
... | Kotlin |
F397731595D = 0x36391F397731595D,
_0xDEB2B99A1AF1A2A6 = 0xDEB2B99A1AF1A2A6,
_0x9465E683B12D3F6B = 0x9465E683B12D3F6B,
_0xB7C7F6AD6424304B = 0xB7C7F6AD6424304B,
_0xC505036A35AFD01B = 0xC505036A35AFD01B,
_0x267C78C60E806B9A = 0x267C78C60E806B9A,
_0x6... | C# |
[0][0] = sqrt(3.) / 12.;
_plattice[0][1] = 1. / 12.;
_plattice[0][2] = 0.;
_plattice[1][0] = -sqrt(3.) / 12;
_plattice[1][1] = 1. / 12.;
_plattice[1][2] = 0.;
_plattice[2][0] = 0.;
_plattice[2][1] = -1. / 6.;
_plattice[2][2] = 0.;
_plattice[3][0] = 0.;
_plattice[3][1] = 0.;
... | C++ |
C_Print_Package printPackage = printPackageToUse == null ? InterfaceWrapperHelper.create(ctx, I_C_Print_Package.class, trxName) : printPackageToUse;
printPackage.setC_Print_Job_Instructions(printJobInstructions);
printPackage.setAD_Org_ID(printJob.getAD_Org_ID());
printPackage.setTransactionID(printCtx.getTransac... | Java |
func (c *canvas) DrawLines(lines gxui.Polygon, pen gxui.Pen) {
edge := openPolyToShape(lines, pen.Width)
c.appendOp("DrawLines", func(ctx *context, dss *drawStateStack) {
ds := dss.head()
if edge != nil && pen.Color.A > 0 {
ctx.blitter.blitShape(ctx, *edge, pen.Color, ds)
}
})
}
func (c *canvas) DrawPolyg... | Go |
05\f\x01\v\v\f\x01\v \x00E\x04@ \x05\x04\u007fA\x01!\x00\x03@ \x00A\x02t \x03j(\x02\x00\x22\b\x04@ \x00A\x03t \x02j \b \x01\x10' \x00A\x01j\x22\x00A\nI\r\x01A\x01!\t\f\x04\v\v\x03\u007f \x00A\x02t \x03j(\x02\x00\x04@A\u007f!\t\f\x04\v \x00A\x01j\x22\x00A\nI\r\x00A\x01\v\x05A\x00\v!\t\v\v \x0f$\x02 \t\v\x95\x02\x01\x01\... | Go |
,"f144","M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zM188.3 147.1c-7.6 4.2-12.3 12.3-12.3 20.9l0 176c0 8.7 4.7 16.7 12.3 20.9s16.8 4.1 24.3-.5l144-88c7.1-4.4 11.5-12.1 11.5-20.5s-4.4-16.1-11.5-20.5l-144-88c-7.4-4.5-16.7-4.7-24.3-.5z"],tablets:[640,512,[],"f490","M614.3 247c-5.2 7.9-16.2 8.5-22.9 1.8L391.2 48.6c-6.7-... | JavaScript |
idNfeDeclaracaoImportacao:
idNfeDeclaracaoImportacao ?? this.idNfeDeclaracaoImportacao,
numeroAdicao: numeroAdicao ?? this.numeroAdicao,
numeroSequencial: numeroSequencial ?? this.numeroSequencial,
codigoFabricanteEstrangeiro:
codigoFabricanteEstrangeiro ?? this.codigoFabricanteEst... | Dart |
s, R:%d", voteCount, m.committeeSize, key.BlockID.ToBlockShortID(), key.Round))
return nil, nil
}
func (m *QCVoteManager) Count(round uint32, blockID types.Bytes32) uint32 {
key := voteKey{Round: round, BlockID: blockID}
return uint32(len(m.votes[key]))
}
func (m *QCVoteManager) seal(round uint32, blockID types.By... | Go |
attribute unsigned short <a data-anolis-xref="dom-track-readyState" href="#dom-track-readystate">readyState</a>;
readonly attribute <a href="#texttrack">TextTrack</a> <a data-anolis-xref="dom-track-track" href="#dom-track-track">track</a>;
};</pre>
</dd>
</dl><!--TOPIC:HTML--><p><code><a href="#the-track-eleme... | HTML |
, bucket_mode, 30)
text_surface = Surface((132, 669), (537, 40), (22, 22, 22), 255)
texts.append(fill_text)
texts.append(bucket_text)
texts.append(current_layer_text)
while running:
for event in pg.event.get():
if event.type == pg.QUIT:
... | Python |
;
pub use render::Template;
pub use vars::{Variable};
pub use varmap::Context;
pub use number::Number;
pub use compare::Comparable;
#[cfg(feature="json")] pub use serde::render_json;
use std::collections::HashMap;
use vars::Val;
#[derive(Debug, Clone)]
/// Options of the template
///
/// Usually all options are set ... | Rust |
的成功,已经席卷了市场,并改变了用户对应用负载均衡工具的期望。相反,我更关注项目的可持续性。我们是在做长期的工作,这些天我觉得自己更像一个 CEO,看减员人数、优先级、预算编制、安全问题等等。这并不是说这不是有用的工作;它显然是有用的,它只是与早期的工作不同,早期的工作技术性更强,节奏更快。
截止到 2021 年末,我对 Envoy 最引以为豪的事情是,在我看来,这个社区已经可以自我维持了。我们有一群令人难以置信的维护者、贡献者和用户,他们对项目的成功充满热情,并在使 Envoy 成为今天的样子中发挥了作用。这确实是一个团队的努力。
## 经验教训
过去的 5 年是一个史诗般的旅程。虽然我觉得我在技术上学到的东西相对较少,但我... | Markdown |
differences anyway.
Color Colour = (Selection == Data.Selected) ? SelectedRowColour : RowColour;
Box.Color = Colour;
Box.Draw(new Vector2i(BackgroundX, (int)(Vector.Y - (25 * Main.ScreenMultiplier))), 1f);
#else
int TexID = (Selection == Data.Selected) ? (int)_sheetSprites.ID.INVENTORY_BACK10 : (int)_s... | C# |
*C_ResourceZone::GetTargetDescription( void ) const
{
return "Resource Zone";
}
//==========================================================================================================
// Resource Spawner
//=========================================================================================================... | C++ |
or licensing, see LICENSE.md or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang("devtools","ku",{title:"زانیاری توخم",dialogName:"ناوی پەنجەرەی دیالۆگ",tabName:"ناوی بازدەر تاب",elementId:"ناسنامەی توخم",elementType:"جۆری توخم"});CKEDITOR.plugins.setLang("wsc","th",{btnIgnore:"ยกเว้น",btnIgnoreAll:"ยกเว้นทั้งห... | JavaScript |
L55_1 = _ENV
L56_1 = "C922C3F5A144DFAFE"
L57_1 = _hx_e
L57_1 = L57_1()
L55_1[L56_1] = L57_1
_ENV["C922C3F5A144DFAFE"]["new"] = function(A0_2)
local L1_2, L2_2, L3_2, L4_2
L1_2 = lua_helper_new
L2_2 = C922C3F5A144DFAFE
L2_2 = L2_2.prototype
L3_2 = 24
L4_2 = 162
L1_2 = L1_2(L2_2, L3_2, L4_2)
L2_2 = C922C... | Lua |
::empty(module.get());
c.getConfig().architecture.setIsX86();
AbiX86 abi(module.get(), &c);
bool ret = pass.runOnModuleCustom(*module, &c, &abi);
std::string exp = R"(
define void @fnc() {
call void @__writeNullptrWord(i16 123)
ret void
}
declare void @__writeNullptrWord(i16)
)";
checkModuleAgainstE... | C++ |
]:{{[0-9]+}}: error: instruction not supported on this GPU
global_atomic_ordered_add_b64 v0, v[2:3], s[0:1] offset:64
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
ds_subrev_u32 v1, v2
// CHECK: :[[@LINE-1]]:{{[0-9]+}}: error: instruction not supported on this GPU
ds_subrev_rtn_u | Assembly |
expect(serverRequest.data.mimes).to.equal('video/mp4,application/javascript');
expect(serverRequest.data.max_dur).to.equal(20);
expect(serverRequest.data.api).to.equal('1,2');
expect(serverRequest.data.skippable).to.equal('ALLOW');
});
it('Verify bid floor without price floors module', function() {
... | JavaScript |
ixin.android.vo
import com.reown.util.randomBytes
import kernel.Address
import kernel.Kernel
import one.mixin.android.crypto.generateEd25519KeyPair
import one.mixin.android.crypto.newKeyPairFromSeed
import one.mixin.android.crypto.sha3Sum256
import one.mixin.android.extension.base64RawURLEncode
import one.mixin.androi... | Kotlin |
.isClass);
}
friend bool operator==(const CxxDeclExplicitSafetyDescriptor &lhs,
const CxxDeclExplicitSafetyDescriptor &rhs) {
return lhs.decl == rhs.decl && lhs.isClass == rhs.isClass;
}
friend bool operator!=(const CxxDeclExplicitSafetyDescriptor &lhs,
co... | C |
nsform>(SkewXProperty, SkewYProperty);
}
public SkewTransform()
{
}
public SkewTransform(float skewX, float skewY)
{
SkewX = skewX;
SkewY = skewY;
}
public float SkewX
{
get => _skewX;
set => SetAndRaise(SkewXProperty, ref _skewX, value);
}
... | C# |
gtki.Button `gtk-widget:"room-close-cancel-button"`
confirmButton gtki.Button `gtk-widget:"room-close-confirm-button"`
log coylog.Logger
}
func (v *roomView) newRoomViewCloseWindowConfirm() *roomViewCloseWindowConfirm {
confirm := &roomViewCloseWindowConfirm{
roomView: v,
log: v.log.WithField(... | Go |
mU3MMZaHYChBnJUDzWOFZdVfc5+ZFLbrWDeXPwbxIqrLLfaeS0hEBVGIRQCEiZoHQwtlGSByCCdYBl8g8egTTAWoKQMRBRBcZxYlhzhKegqMOageErsCHVkk3hXIFooDgHB1KkHIHVgzKB4ADJQ/A1jAFmAYhkQqA5TOBtocrKrgXwQA8gcFIuAIO8sQSA7hidvPwaQGZSaAYHOUWJABhWWw2EMIH9QagQERU4SArJXo0ZZL18uvaxejXt/Em8xjVBXmvFr1KVm/AJ10tRe2XnraNqaJvKE3KHuUbfK1E+VHB0q40/y3sdQSxY4FHWeK... | CSS |
ormat */
DBUG_ASSERT(!thd->is_current_stmt_binlog_format_row());
if (save_binlog_row_based)
thd->set_current_stmt_binlog_format_row();
DBUG_RETURN(TRUE);
}
transactional_tables= (tables[0].table->file->has_transactions() ||
tables[1].table->file->has_transactions());
i... | C++ |
expect(mockLog.mock.calls[0][0]).toBe('log');
expect(mockWarn).toHaveBeenCalledTimes(1);
expect(mockWarn.mock.calls[0]).toHaveLength(1);
expect(mockWarn.mock.calls[0][0]).toBe('warn');
expect(mockError).toHaveBeenCalledTimes(1);
expect(mockError.mock.calls[0]).toHaveLength(1);
expect(mockE... | JavaScript |
tyle>`](/ja/docs/Web/CSS/counter#counter-style)
## ガイド
- [一貫したリストのインデント](/ja/docs/Web/CSS/CSS_lists/Consistent_list_indentation)
- : 異なるブラウザー同士でも一貫したリストのインデントを実現する方法を説明します。
- [CSS カウンターの使用](/ja/docs/Web/CSS/CSS_counter_styles/Using_CSS_counters)
- : リストのカウンターを制御するために CSS カウンタープロパティを使用する方法を説明します。
## 関連概念
- [CSS... | Markdown |
ur ad ullamco anim ea laboris labore laboris pariatur exercitation dolor anim. Commodo ullamco consectetur consequat dolor eiusmod minim veniam nostrud incididunt officia officia magna amet proident. Elit ex reprehenderit exercitation pariatur enim. Incididunt quis sint reprehenderit est fugiat excepteur dolore commodo... | Typescript |
" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DelegatingGuacamoleTunnel (guacamole-common 0.9.6 API)";
}
//-->
</script>
<noscript>
<div>JavaScript is dis... | HTML |
0
mov x19, x1
mov x0, x30
bl _mcount
cbz x19, .L9
ldr x2, .LC3
mov x1, x19
mov w0, w20
ldr x2, [x2, 88]
blr x2
.L9:
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 32
ret
.size HI_ADSP_V_FREE, .-HI_ADSP_V_FREE
.align 3
.LC3:
.xword g_AdspOsalFunc
.global _mcount
.align 2
.p2align 3,,7
.global HI_ADSP_MALL... | Assembly |
ofBreaksEnum);
femmodel->parameters->FindParam(&nummonthbreaks,FrontalForcingsNumberofMonthBreaksEnum);
femmodel->parameters->FindParam(&arorder,FrontalForcingsARMAarOrderEnum);
femmodel->parameters->FindParam(&maorder,FrontalForcingsARMAmaOrderEnum);
IssmDouble* datebreaks = NULL;
IssmDouble* arl... | C++ |
/**
* @file llpidlock.h
* @brief System information debugging classes.
*
* $LicenseInfo:firstyear=2001&license=viewergpl$
*
* Copyright (c) 2001-2009, Linden Research, Inc.
*
* Second Life Viewer Source Code
* The source code in this file ("Source Code") is provided by Linden Lab
* to you under the terms o... | C |
import sys
import os
import FWCore.ParameterSet.Config as cms
from electronValidationCheck_Env import env
cmsEnv = env() # be careful, cmsEnv != cmsenv. cmsEnv is local
cmsEnv.checkSample() # check the sample value
cmsEnv.checkValues()
if cmsEnv.beginTag() == 'Run2_2017':
from Configuration.Eras.Era_Run2_2017_c... | Python |
, z13[1] // 11000000-10001100-11010001-10110110
// CHECK-INST: luti2 { z22.h, z23.h }, zt0, z13[1]
// CHECK-ENCODING: [0xb6,0xd1,0x8c,0xc0]
// CHECK-ERROR: instruction requires: sme2
// CHECK-UNKNOWN: c08cd1b6 <unknown>
luti2 {z30.h - z31.h}, zt0, z31[7] // 11000000-10001111-11010011-11111110
// CHECK-INST: luti... | Assembly |
#################################################################################################
#
# Copyright (c) 2017 - 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: BSD-3-Clause
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitt... | Python |
/li>
<li><a href="globals_0x73.html#index_s"><span>s</span></a></li>
<li><a href="globals_0x74.html#index_t"><span>t</span></a></li>
<li><a href="globals_0x75.html#index_u"><span>u</span></a></li>
<li class="current"><a href="globals_0x76.html#index_v"><span>v</span></a></li>
<li><a href="... | HTML |
Promise<MusicMetadata | undefined> => {
const metadata: MusicMetadata | undefined = await ipcRenderer.invoke(
IPCKey.ReadMusicMetadata,
filePath
)
return metadata
}
/**
* Check that the specified music file is a supported.
* @param filePath Path of the music file.
* @returns Asynchronous task, return ... | Typescript |
ccent,
text_normal_bg = beautiful.accent,
text_on_normal_bg = beautiful.one_bg3,
font = beautiful.icon_font .. "Round ",
size = 17,
text = icon,
on_release = function()
awesome.emit_signal("central_panel::toggle", awful.screen.focused())
gears.timer({
timeout = 1,
autostart = true,
single_... | Lua |
/*
* omap-rng.c - RNG driver for TI OMAP CPU family
*
* Author: Deepak Saxena <dsaxena@plexity.net>
*
* Copyright 2005 (c) MontaVista Software, Inc.
*
* Mostly based on original driver:
*
* Copyright (C) 2005 Nokia Corporation
* Author: Juha Yrjölä <juha.yrjola@nokia.com>
*
* This file is licensed under th... | C |
Keyword && view.labelPosition == "top":
ya = padHeight + view.labelYAdjust;
xa = (width / 2) + view.labelXAdjust;
ret.y = view.y1 + ya;
ret.x = (isFinite(m) ? fy(ret.y) : view.x1) - xa;
break;
// bottom align
case view.mode == verticalKeyword && view.labelPosition == "bottom":
ya = heig... | HTML |
',
processor: (trigger, src, srcRegExpObj) =>
srcRegExpObj.test(src || trigger.find('img').attr('src')) ? RegExp.$1.replace(/\.gif(\..+)$/, '$1.gif') : ''
},
onXhrLoad: (url, response) => {
if (/api\/post\/get-rec-list/.test(url)) {
try {
// TODO: Replace the timeout with a... | JavaScript |
collapsible section',
}
export class LoadSidebarAction implements Action {
readonly type = SidebarActionTypes.LOAD_SIDEBAR;
constructor(public payload: { menu: SidebarMenu }) { }
}
export class UnloadSidebarAction implements Action {
readonly type = SidebarActionTypes.UNLOAD_SIDEBAR;
}
export class ToggleColl... | Typescript |
x: -1, y: -2 },
{ x: 0, y: -2 },
{ x: 1, y: -2 },
{ x: -2, y: -1 },
{ x: -1, y: -1 },
{ x: 0, y: -1 },
{ x: 1, y: -1 },
{ x: 2, y: -1 },
{ x: -4, y: 0 },
{ x: -3, y: 0 },
{ x: -2, y: 0 },
{ x: -1, y: 0 },
],
[
{ x: -1, y: -2 },
{ x: 0, y: -2 },
{ x: 1, y: -2 ... | JavaScript |
1host.html#a300d68abd082150020768c0a94044a34"> 61</a></span> <span class="keywordtype">void</span> <a class="code" href="namespacecutlass_1_1reference_1_1host.html#a300d68abd082150020768c0a94044a34">compute_gemm</a>(</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="c... | HTML |
b struct W(crate::W<UCBXIFG_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<UCBXIFG_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
... | Rust |
7627689148,46.77186427518906],[26.73345280205065,46.76305822612492],[26.742545091256414,46.768314874614674]]]},"properties":{"countyId":"Buhuși", "scoring":"3","procente":"</br>Populatie: 22045</br> Total consilieri: 19</br> Procent USRPLUS: 12.97% </br> Necesar consilieri USRPLUS: 2.47 </br> Necesar rotunjit: 3" }},
... | JavaScript |
and ending offsets (based on the given <<startingOffsets, KafkaOffsetRangeLimit>> and the <<endingOffsets, KafkaOffsetRangeLimit>>, respectively). `buildScan` requests the `KafkaOffsetReader` to [close](KafkaOffsetReader.md#close) afterwards.
`buildScan` creates offset ranges (that are a collection of `KafkaSourceRDD... | Markdown |
mit(self, propname, propvalue):
if propvalue == UNSET_LIMIT:
self.limits.pop(propname, None)
else:
self.limits[propname] = propvalue
def update_limits(self, limits: Limits):
for propname, propvalue in limits.items():
self.update_limit(propname, propvalue)... | Python |
dyn_cast_ref(self)
}
}
impl<'a, T, F, A> DynCastExtAdvHelper<F, T> for &'a mut A
where
T: ?Sized + 'static,
F: ?Sized + 'static + GetDynCastConfig<T>,
A: ?Sized + 'static + DynCast<GetConfig<F, T>>,
{
type Target = &'a mut T;
type Source = &'a mut F;
fn _dyn_cast(self) -> Result<Self::Targe... | Rust |
에 복사할 수 없습니다. 키보드(Ctrl/Cmd+C)를 이용해서 복사하십시오.',
cut: '잘라내기',
cutError: '브라우저의 보안설정 때문에 잘라내기 기능을 실행할 수 없습니다. 키보드(Ctrl/Cmd+X)를 이용해서 잘라내기 하십시오',
paste: '붙여넣기',
pasteNotification: 'Press %1 to paste. Your browser doesn‘t support pasting with the toolbar button or context menu option.', // MISSING
pasteArea: '붙여넣기 범위',
... | JavaScript |
justify-content:flex-start;gap:30px}article#first-caption-comp div.buttons-cont-cap-first button.filled-web-btn{width:120px;height:50px;background-color:#008DAA;font-family:"Euclid Circular A",sans-serif;font-weight:400;font-size:1.2em;font-style:normal;color:#ffffff;border-radius:8px;border:3px solid #ffffff}article#f... | CSS |
sec = getNetworkAwolTime(dst) / 1000.0;
TEXT(sec.toFixed(1) + 's', TD('', awoltr));
}
let now = window.performance.now();
for (let src in players) {
let p = players[src];
// No rows for blacklisted players -- we don't store their data.
if (p.playerType === PlayerType.BLACKLISTED)
continu... | Typescript |
. In the
future these operations might be updated to return 0d tensors instead.
## Limitations
* The number of tensor dimensions is currently limited to 250 when using a
compiler that supports cxx11. It is limited to only 5 for older compilers.
* The IndexList class requires a cxx11 compliant compiler. You ca... | Markdown |
rent_for(color: CardColor, num_cards: usize) -> u8 {
rents(color)[(num_cards - 1) as usize]
}
/// Returns the number of cards required for a complete set for the `color`.
fn num_cards_for_complete_set(color: CardColor) -> usize {
rents(color).len() as usize
}
<gh_stars>0
enum UsState {
Alabama,
Alaska,
... | Rust |
es)</a></li>\n <li><a href="#Hu68mQDKXCo" style="cursor: pointer">Install OpenResty on Ubuntu 20.04 via apt-get</a></li>\n <li><a href="#4VQP7eKq4oA" style="cursor: pointer">Streaming HTTP Response Output in OpenResty</a></li>\n <li><a href="#EP7c0BM2yNo" style="cursor: pointer">Precompile Lua Modules in... | Lua |
ryn Heldric",
[16006] = "InCombat Trigger",
[16007] = "Orok Deathbane",
[16008] = "Temma of the Wells",
[16009] = "Tormek Stoneriver",
[16011] = "Loatheb",
[16014] = "Mux Manascrambler",
[16017] = "Patchwork Golem",
[16018] = "Bile Retcher",
[16019] = "Boorana Thunderhoof",
[16020] = "Mad Scientist"... | Lua |
st76{fill:#0F954E;}\n .st77{fill:#EDF0F4;}\n .st78{fill:#CCDEE6;}\n .st79{fill:#E4EBEF;}\n .st80{fill:#5B93B7;}\n .st81{fill:#BBD0DC;}\n .st82{fill:#F0F2F6;}\n .st83{fill:#5F92A7;}\n .st84{fill:#4B88AC;}\n .st85{fill:#89C688;}\n .st86{fill:#098850;}\... | JavaScript |
from collections import OrderedDict
from typing import Dict, List, Union
import torch.nn as nn
from torch import Tensor
from torch.nn.utils.rnn import pad_sequence
HIDDEN_DIM = 8
class UpstreamExpert(nn.Module):
def __init__(self, ckpt: str = None, model_config: str = None, **kwargs):
"""
Args:
... | Python |
:"busca im\u00e1genes en el repositorio del LRE","i.walkImagesUrl1_1":'Ahora te encuentras en la pesta\u00f1a de enlace, haz click en "Siguiente" para continuar.',"i.walkImagesUrl2_1":"A\u00f1adiendo im\u00e1genes por enlace (url)","i.walkImagesUrl2_2":"Si quieres a\u00f1adir una imagen mediante su url, debes escribir ... | JavaScript |
24
.long 593698344,2428436474
.long 3733110249,2756734187
.long 2999351573,3204031479
.long 3815920427,3329325298
.long 3928383900,3391569614
.long 566280711,3515267271
.long 3454069534,3940187606
.long 4000239992,4118630271
.long 1914138554,116418474
.long 2731055270,174292421
.long 3203993006,289380356
.long 32062031... | Assembly |
riendship_by_users(db,requester_id,accepter_id)
if friendship_by_user:
if friendship_by_user.status == FriendshipStatus.PENDING:
raise HTTPException(
status_code=400,
detail='Запрос на дружбу уже отправлен.'
)
elif f... | Python |
min = i;
}
}
let diff_x = (fx - c[ind_min].0, fy -c[ind_min].1);
let error_front_axle = - (state.yaw + 0.5 * std::f64::consts::PI).cos() * diff_x.0 -
(state.yaw + 0.5 * std::f64::consts::PI).sin() * diff_x.1;
(ind_min, error_front_axle)
}
fn main() {
let k = 0.5; // control gain
... | Rust |
lex-direction:row;gap:8px}.lifelong-upgrade-modal__content .offer-cards__item ul li i{font-size:16px}.lifelong-upgrade-modal__content .offer-cards__item ul li p{color:#f9fafb;margin:0}.lifelong-upgrade-modal__content .offer-cards__item a{background:#fff;border-radius:36px;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);color:#1... | HTML |
jsr move_and_print
jsr normal_text
cpx #MENU_LIMIT_DROP
bne print_menu_drop ; print DROP
jsr inverse_text
print_menu_drop:
jsr move_and_print
jsr normal_text
cpx #MENU_LIMIT_ZAP
bne print_menu_zap ; print ZAP
jsr inverse_text
print_menu_zap:
jsr move_and_print
jsr normal_text
;======================... | Assembly |
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text('每日推荐'),
actions: [
TextButton.icon(
icon: const Icon(Icons.folder_outlined),
label: Text(
defaultFolderName ?? '选择收藏夹',
style: TextStyle(
... | Dart |
#include <cpu/tlb.h>
// callee save register can be ommit
#define SKIP_BACKUP_CALLEE_SAVE
.section .sdata
.align 2
bur_r1: .word 0
bur_r2: .word 0
bur_r3: .word 0
bur_r4: .word 0
bur_r5: .word 0
bur_r6: .word 0
bur_r7: .word 0
bur_r8: .word 0
bur_r9: .word 0
bur_r10: .wo... | Assembly |
8(m3u8);
auto it = resultMap.find(quality);
if (it != resultMap.end()) {
result = it->second;
}
return result;
}
static std::string callAPI(const std::string& api, const std::vector<std::string>& args) {
std::string result;
boost::format apiFormat(api);
if (apiFormat.remaining_args() != args.size()... | C |
se.all(templateExamples);
}
// TODO: error handling if file does not follow the proper structure?
private async getExamplesByPath(examplePath: string): Promise<TemplateExample[]> {
const fileContent = await this.fileSystem.promises.readFile(examplePath, {encoding: 'utf-8'});
return JSON.par... | Typescript |
General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have a... | Java |
RealmList
import io.realm.kotlin.types.RealmObject
import io.realm.kotlin.types.annotations.Ignore
class InternalMessageEntityV1 : RealmObject {
var id: String = ""
var sender: String = ""
var text: String = ""
var time: RealmInstant = RealmInstant.now()
var tag: String = ""
var isUnread: Boole... | Kotlin |
ORGESH_KAAN_CHEST_LOOTED_MESSAGE = "You find treasure inside!";
private static final Pattern GRUBBY_CHEST_LOOTED_MESSAGE = Pattern.compile("You find treasure(?: and supplies|, supplies, and a weirdly coloured egg sac) within the chest.");
private static final String ANCIENT_CHEST_LOOTED_MESSAGE = "You open the chest ... | Java |
* an inlier.
* between 0.95 and 0.99 is usually good enough. Values too close to 1 can slow down the estimation
* significantly. Values lower than 0.8-0.9 can result in an incorrectly estimated transformation.
*
* The function estimates an optimal 3D affine transformation between two 3D point set... | Java |
me.cancelFunc = SHTCancelFunc[id];
if( id < 5 ) then
ColorPickerFrame.hasOpacity = true;
ColorPickerFrame.opacity = 1 - texture.a;
ColorPickerFrame.opacityFunc = SHTSetOpacityFunc[id];
else
ColorPickerFrame.hasOpacity = false;
end
--OpacityFrame.opacityFunc = SHTSetOpacityFunc[id];
ColorPickerFrame:S... | Lua |
t-Type" CONTENT="text/html;CHARSET=utf-8">
<title>鬼車</title>
</head>
<body BGCOLOR="#ffffff" VLINK="#808040" TEXT="#696969">
<h1>鬼車</h1>
<p>
(c) K.Kosako, 最終更新: 2014/12/12
</p>
<dl>
<font color="orange">
<dt><b>更新情報</b>
</font>
<ul>
<li>2014/12/12: Version 5.9.6 リリース</li>
<li>2007/08/16: Version 4.7.1 リリース</li>
<l... | HTML |
return res.status(200).json(await this.zoneService.findByName(name));
}
public async delete(req: Request, res: Response) {
const { id } = req.params;
const data = { id };
const schema = yup.object().shape({
id: yup.string().required()
});
await sch... | Typescript |
1">Question [85]</a>, <a href="SS085.html#SSQ85A3THEP1">Article [3]</a>) when we were treating of the virtue of religion, religion has reference not only to the offering of sacrifices and other like things that are proper to religion, but also to the acts of all the virtues which in so far as these are referred to God'... | HTML |
"</"+e+">")),a.push("</span>")),n[0].join("")+n[1].replace(Ei,"<br/>")+n[2].join("")):""}var Si=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,_i=/<(?:\w+:)?r>/,xi=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ai(e,t){var r=!t||t.cellHTML,t={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(t.t=wt(Mt(e.slice(e.indexOf... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.