content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
(packModule(&ep, &mNoPlatforms, "node-js", "cf", "", true, map[string]string{})).Should(Succeed())
Ω(getFullPathInTmpFolder("mta_with_zipped_module", "node-js", "data.zip")).
ShouldNot(BeAnExistingFile())
})
})
Describe("Build", func() {
var _ = Describe("build Module", func() {
var config []byte
... | Go |
="code" href="group__sim__hal__k64f12.html#gaeb03e376f250916e4af06ec8dccfe803">clock_trace_src_t</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div ... | HTML |
L1014 260L827 260L827 260Q816 360 786 422L786 422L786 422Q756 484 707.50 522L707.50 522L707.50 522Q659 560 545 592L545 592L545 592Q444 438 444 305L444 305L444 260ZM184 1556L1087 1556L1128 1257L1090 1257L1090 1257Q1035 1257 986.50 1301L986.50 1301L986.50 1301Q938 1345 915 1421L915 1421L354 1421L354 1421Q335 1351 287 130... | HTML |
cyclePolicy(nm)
}
return reflect.DeepEqual(oo, no)
}
func diffSuppressIngestPipeline(k, old, new string, d *schema.ResourceData) bool {
var oo, no interface{}
if err := json.Unmarshal([]byte(old), &oo); err != nil {
return false
}
if err := json.Unmarshal([]byte(new), &no); err != nil {
return false
}
re... | Go |
ithub.com/hypermodeinc/dgraph/issues/4425
## [1.1.0] - 2019-09-03
[1.1.0]: https://github.com/hypermodeinc/dgraph/compare/v1.0.17...v1.1.0
**Changed**
- **Breaking changes**
- **uid schema type**: The `uid` schema type now means a one-to-one relation, **not** a
one-to-many relation as in Dgraph v1.1. To speci... | Markdown |
element_index, &mut self.quad_points, &mut self.quad_weights);
}
pub fn weights(&self) -> &[T] {
&self.quad_weights
}
pub fn points(&self) -> &[OPoint<T, GeometryDim>] {
&self.quad_points
}
pub fn data(&self) -> &[Data] {
&self.quad_data
}
pub fn weights_and_p... | Rust |
eAround,
children: <Widget>[
mediaDropdown,
codecDropdown,
],
),
),
);
}
Widget buildCodecDropdown() {
return FutureBuilder<List<NativeMediaFormat>>(
future: NativeMediaFormats().encoders,
builder: (context, asynData) {
if ... | Dart |
55z92z2p")
assertEquals("yej0492j55z92z2p", config.apiKey)
}
@Test
fun testSettingWrongSizeApiKey() {
val config = Configuration("5d1ec5bd39a74caa1267142706a7fb21")
config.apiKey = "abfe05f"
assertEquals("abfe05f", config.apiKey)
}
@Test
fun testSettingNonHexApi... | Kotlin |
-hoc-hacker-mu-trang/" rel="tag">Tự học hacker mũ trắng</a>, <a href="https://tuhocnetworksecurity.business.blog/tag/tu-hoc-network-security/" rel="tag">Tự học network security</a></span> </footer><!-- .entry-footer -->
</article><!-- #post-## -->
<article id="post-1973" class="post-1973 post type-post sta... | HTML |
return function()
local RunService = game:GetService("RunService")
local ToastRoot = script.Parent
local DialogRoot = ToastRoot.Parent
local AppRoot = DialogRoot.Parent
local UIBloxRoot = AppRoot.Parent
local Packages = UIBloxRoot.Parent
local Roact = require(Packages.Roact)
local mockStyleComponent = requir... | Lua |
io_num_t PIN_NUM_MISO{GPIO_NUM_6};
constexpr static const gpio_num_t PIN_NUM_CS{GPIO_NUM_1};
constexpr static const gpio_num_t PIN_NUM_CLK{GPIO_NUM_5};
constexpr static const char *MOUNT_POINT{"/sdcard"};
sdmmc_card_t *m_card;
spi_host_device_t m_host_slot;
bool m_sdre... | C++ |
xis
* coordinate) into a coordinate in the corresponding physical (x or y) axis. If
* the flex-relative axis in question already maps *directly* to a physical
* axis (i.e. if it's LTR or TTB), then the physical coordinate has the same
* numeric value as the provided flex-relative coordinate. Otherwise, we have to
... | C++ |
index::Index()
}
}
})
}
}
}
fn main() {
console_error_panic_hook::set_once();
console_log::init_with_level(log::Level::Debug).unwrap();
render(|| template! { App() });
}
use rustc::hir::itemlikevisit::ItemLikeVisitor;
use rustc::hir::map::M... | Rust |
if(m_iLinesFilledInBuffer < (m_iAmLinesInBuffer-1))
{
iStartOfBuffer=0;
}
else
{
iStartOfBuffer=(m_iNextCleanLineinCB+1)%m_iAmLinesInBuffer;
}
// calculate the amount of lines above the topline in the logical buffer
if(iStartOfBuffer <= m_iTopLineOnScreen)
{
iAmLinesAboveTopLine=m_iTopLineOnSc... | C++ |
using Sirenix.OdinInspector;
using Sirenix.OdinInspector.Editor.Examples;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class SearchableExample_2 : MonoBehaviour
{
[Searchable]
public ExampleClass searchableClass = new ExampleClass();
[Searchable]
public... | C# |
user_name; //获得当前登录用户名
if (cbStatus.Checked == false)
{
model.status = 2;
}
else
{
model.status = GetAdminInfo().is_audit;
}
model.add_time = Utils.StrToDateTime(txtAddTime.Text.Trim());
model... | C# |
<String>? = null
result.scanRecord?.manufacturerSpecificData?.let { mfData ->
getMfId(mfData)?.let { mfId ->
mfName = bleRepository.getCompanyById(mfId)?.name
result.scanRecord?.getManufacturerSpecificData(mfId)?.let { mfBytes ->
... | Kotlin |
(error) *error = EVAL_ERROR_UNKNOWN_OPERAND;
if (failed_at) {
*failed_at = error_pos;
}
// Clean up result if it was created
if (result) {
eval_node_free(result);
}
return NULL;
}
if (!result) {
if (error) *er... | C |
unsigned int cmd,
unsigned long arg)
{
switch (cmd) {
case COMPAT_ASHMEM_SET_SIZE:
cmd = ASHMEM_SET_SIZE;
break;
case COMPAT_ASHMEM_SET_PROT_MASK:
cmd = ASHMEM_SET_PROT_MASK;
break;
}
return ashmem_ioctl(file, cmd, arg);
}
#endif
static const struct file_operations ashmem_fops = {
.owner = THIS_MODU... | C |
0011 ! 948: SLL_R sll %r16, %r17, %r5
.word 0x82140011 ! 948: OR_R or %r16, %r17, %r1
.word 0xbda00051 ! 948: FMOVd fmovd %f48, %f30
thr3_irf_ce_60:
!$EV error(3,expr(@VA(.MAIN.thr3_irf_ce_60), 16, 16),1,IRF,ce,50,x, x,x,x, x,x,x)
.word 0xd82c2ec7 ! 951: STB_I stb %r12, [%r16 + 0x0ec7]
.word 0x902c0011 ! 953... | Assembly |
rs, seconds = divmod(seconds, 3600)
minutes, seconds = divmod(seconds, 60)
if weeks:
parts.append(f"{weeks}w")
if days:
parts.append(f"{days}d")
if hours:
parts.append(f"{hours}h")
if minutes:
parts.append(f"{minutes}m")
if seconds or not parts:
parts.app... | Python |
)
}
}
companion object {
private val REQUEST_SHARE_MEDIA = 201
private val REQUEST_PERMISSION_SAVE_MEDIA = 202
private val REQUEST_PERMISSION_SHARE_MEDIA = 203
private val REQUEST_SELECT_SAVE_MEDIA = 204
@RequiresApi(Build.VERSION_CODES.JELLY_BEAN)
cons... | Kotlin |
content ui-corner-bottom" >
<div id="chart1"></div>
</div>
</div>
<pre class="code brush:js"></pre>
<script class="code" type="text/javascript">
$(document).ready(function () {
$.jqplot._noToImageButton = true;
var prevYear = [["2011-08-01",398], ["2011... | HTML |
Enter(grammar.ContinueStatement, (node, { parents }) => {
if (!inLoopOrSwitch(parents)) {
report('You can only place continue inside a loop or switch case', node.span);
}
});
},
};
export class AsyncDeviceCommandRequest {
private 'service_id'?: string;
private 'command_name'?: string... | Typescript |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HalconWPF.Method;
using HalconWPF.Model;
using HalconWPF.UserControl;
using ICSharpCode.AvalonEdit;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Windows;
using System.Windows.Controls;
namespace HalconWPF.ViewModel
... | C# |
n, shotgun.Owner, shotgun.GetBuckshotPattern),
ParticleDisruptor particleDisruptor =>
new DisruptorHitreg(particleDisruptor, particleDisruptor.Owner, particleDisruptor._explosionSettings),
Revolver revolver =>
new SingleBulletHitreg(revolver, revol... | C# |
DTextLabel.md): Tworzy tekst 3D.
- [Delete3DTextLabel](Delete3DTextLabel.md): Kasuje tekst 3D.
- [Attach3DTextLabelToVehicle](Attach3DTextLabelToVehicle.md): Przyczepia tekst 3D do pojazdu.
- [Update3DTextLabelText](Update3DTextLabelText.md): Zmienia treść tekstu 3D.
- [CreatePlayer3DTextLabel](CreatePlayer3DTextLabel.... | Markdown |
}
`, context)
}
func TestAccIAMBetaWorkloadIdentityPoolProvider_iamWorkloadIdentityPoolProviderOidcFullExample(t *testing.T) {
t.Parallel()
context := map[string]interface{}{
"random_suffix": acctest.RandString(t, 10),
}
acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTes... | Go |
сообщает радиостанция Europe 1, глава МВД Франции <strong>Жеральд Дарманен</strong> на встрече с префектами 18 октября заявил о намерении оперативно выслать из страны около 230 человек, которые числятся в списках полиции как лица, связанные с экстремистами.</p>
<h2>Доморощенные убийцы</h2>
<p>Подобные жесткие меры н... | HTML |
onicalName() + " (individual bytes): ");
for (int i = 0; i < data.length; i++) {
csum.update((int) data[i]);
}
System.out.print(getValue(csum) + "\n");
csum.reset();
}
private static void byteArrays(Checksum csum, byte[] data) {
System.out.print(csum.getClass().getCanonicalName() + " (byt... | Java |
_PROFILE, "Request"),
RESPONSE__ECP(ECP_PROFILE, "Response"),
SIGNATURE(XMLDSIG_NSURI, "Signature"),
DSA_KEY_VALUE(XMLDSIG_NSURI, "DSAKeyValue"),
KEY_INFO(XMLDSIG_NSURI, "KeyInfo"),
KEY_VALUE(XMLDSIG_NSURI, "KeyValue"),
RSA_KEY_VALUE(XMLDSIG_NSURI, "RSAKeyValue"),
X509_CERT(XMLDSIG_NSURI, "... | Java |
QiuqiuData.Qiuqiu, QiuqiuData.QiuqiuScript, QiuqiuData.QiuqiuID, 0, QiuqiuData.QiuqiuPos, QiuqiuData.QiuqiuDir, true, false)
Qiuqiu:DoFreeStyle(1)
end
local function OnStart41002()
print("41002 start: Spawn Medicine")
globalActor:UnSpawn("Medicine")
globalActor:SpawnItem(q410Cfg.MedicineID, q410Cfg.MedicineP... | Lua |
o_icon_open_togglebox #end"> </i> $r.translate("infos.taughtby")
</h4>
</fieldset></legend>
<div id="collapse_taughtby_${r.getCId()}" class="collapse #if($taughtbyOpen) in #end">$r.render("taughtby")</div>
</div>
<script>
"use strict";
jQuery(function() {
jQuery('#collapse_taughtby_${r.getCId()}').on('hide.bs.colla... | HTML |
{struct USE_INFO_4 {
ui4_ui3: USE_INFO_3,
ui4_auth_identity_length: DWORD,
ui4_auth_identity: PBYTE,
}}
pub type PUSE_INFO_4 = *mut USE_INFO_4;
pub type LPUSE_INFO_4 = *mut USE_INFO_4;
pub const USE_LOCAL_PARMNUM: DWORD = 1;
pub const USE_REMOTE_PARMNUM: DWORD = 2;
pub const USE_PASSWORD_PARMNUM: DWORD = 3;... | Rust |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... | C |
p> DATA<br>
On the contrary, I find it<br>
rather... comforting.</p>
<p> STAR TREK: "Time's Arrow" - 4/06/92 - ACT ONE 9.</p>
<p>11 CONTINUED:</p>
<p> GEORDI<br>
(surprised)<br>
Comforting...</p>
<p> DATA<br>
I have often wondered about my<br>
own mortality as I have seen<br>
... | HTML |
_ptr[index]++;
}
}
// Reset the vars_to_dep_ptr array
int offset = 0;
for (int i = 0; i <= nvars; i++) {
int tmp = vars_to_dep_ptr[i];
vars_to_dep_ptr[i] = offset;
offset = tmp;
}
}
for (int i = 0; i < nvars; i++) {
perm[i] = i;
degree[i] = rowp[i + 1] - rowp[i]... | C++ |
+ size.height + "&markers=" + point.lng + ',' + point.lat;
editor.execCommand('inserthtml', '<img width="'+ size.width +'"height="'+ size.height +'" src="' + url + '"' + (styleStr ? ' style="' + styleStr + '"' :'') + '/>');
}
};
document.getElementById("address").focus();
</script>
</body... | HTML |
/apps/details?id=com.mojang.minecraftpe&hl=uk" hreflang="uk" rel="alternate"><link href="https://play.google.com/store/apps/details?id=com.mojang.minecraftpe&hl=ar" hreflang="ar" rel="alternate"><link href="https://play.google.com/store/apps/details?id=com.mojang.minecraftpe&hl=am" hreflang="am" rel="altern... | HTML |
.log_prob(action)).item()
action = T.squeeze(action).item()
value = T.squeeze(value).item()
return action, probs, value
def learn(self):
for _ in range(self.n_epochs):
state_arr, action_arr, old_prob_arr, vals_arr,\
reward_arr, dones_arr, batches = \
... | Python |
4': 1,
'5': 8,
'9': 0,
'10': 'boolValue'
},
const {
'1': 'struct_value',
'3': 5,
'4': 1,
'5': 11,
'6': '.google.protobuf.Struct',
'9': 0,
'10': 'structValue'
},
const {
'1': 'list_value',
'3': 6,
'4': 1,
'5': 11,
'... | Dart |
EncounterJournal then
EncounterJournal_LoadUI();
end
local instanceID, encounterID, sectionID, tierIndex = EJ_HandleLinkPath(journalType, id);
EncounterJournal_OpenJournal(difficultyID, instanceID, encounterID, sectionID, nil, nil, tierIndex);
end
function AdventureGuideUtil.GetCurrentJournalInstance()
local c... | Lua |
共陕西省委常委、严克伦
</em>
<h3>
[严克伦时任中共陕西省委常委、办公厅秘书长、省对资本主义工商业改造工作领导小组组长。这是他在省委资改小组会议上的发言。]
</h3>
<p>
省委对资改造小组于2月3日至5日,召集渭南、宝鸡、延安、商洛、汉中地委和宝鸡、汉中、咸阳市委以及长安、富平、潼关、周至,岐山、宜君、洛南、城固、铜川、户县、咸阳等县委对资改造小组的负责同志,将最近的工作情况,进行了一次检查。
</p>
<p>
全省资本主义工商业改造工作,继西安市之后,在100个县城,已全部批准了合营合作,其中有52个已进入清产核资阶段,19个已开始进行经济改组、调整商业网和人事安排等工作。... | HTML |
binding.keyS,
binding.keyD,
binding.keyF,
binding.keyG,
binding.keyH,
binding.keyJ,
binding.keyK,
binding.keyAtMark,
binding.keyL,
// Bottom row (ZXCVBNM)
binding.keyZ,
bindi... | Kotlin |
лно.</p><code>row (default)</code> <code>row-reverse</code> <code>column</code> <code>column-reverse</code>'
},
'flex-flow': {
'en': '<p>Shorthand property for <code>flex-direction</code> and <code>flex-wrap</code>.</p><code><flex-direction> <flex-wrap></code>',
'he': '<p>קיצור בשביל <code>flex-... | JavaScript |
.I32Shl, ExecuteI32Shl,
NumericInst.ValidateOperands(pop1: ValType.I32, pop2: ValType.I32, push: ValType.I32));
public static readonly InstI32BinOp I32ShrS = new Signed(OpCode.I32ShrS, ExecuteI32ShrS,
NumericInst.ValidateOperands(pop1: ValType.I32, pop2: ValType.I32, push: ValType.I32))... | C# |
// SPDX-License-Identifier: GPL-2.0-only
/*
* IIO accel I2C driver for Freescale MMA7455L 3-axis 10-bit accelerometer
* Copyright 2015 Joachim Eastwood <manabian@gmail.com>
*/
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/regmap.h>
#include "mma7455.h"
static int mma7455_i2c_probe(struct i2c_cl... | C |
PSIZE16);
DWORD WINAPI SetWindowOrg16(HDC16,INT16,INT16);
BOOL16 WINAPI SetWindowOrgEx16(HDC16,INT16,INT16,LPPOINT16);
INT16 WINAPI StartDoc16(HDC16,const DOCINFO16*);
INT16 WINAPI StartPage16(HDC16);
INT16 WINAPI StartSpoolPage16(HPJOB16);
BOOL16 WINAPI StretchBlt16(HDC16,INT16,INT16,... | C |
04-.214.227-.187.028.004.07.007.12.008a.301.301 0 00-.043.114c-.006.15.114.422.291.488s.929.394 1.086.236c.158-.157.858-.54.982-.609.125-.068.354-.115.432-.098.079.017.24.6.515 1.099.276.498.23.707.41.637.18-.07.177.134.342.13.166-.006.196.11.292.295.097.186.198.414.437.452.238.038 1.185.284 1.293.226.11-.059.114-.208-... | Dart |
ew);
Program.Renderer.CurrentViewMatrix = Matrix4D.Identity;
while (!Loading.Complete && !Loading.Cancel && !simulationSetup)
{
CPreciseTimer.GetElapsedTime();
this.ProcessEvents();
if (this.IsExiting)
Loading.Cancel = true;
double routeProgress = 1.0, trainProgress = 0.0;
for (int i ... | C# |
失败原因: ${message}`);
}
}
})
.catch((err) => {
// api is completely wrong
vscode.window.showErrorMessage('发送失败, 请检查你的 API Key 是否正确');
});
} else {
vscode.window.showWarningMessage('请先设置你的 API Key', 'Go to Settings').then((value) => {
if (value === 'Go to Set... | Typescript |
any(field.name == "input_dim" for field in fields(cls))
if need_input_dim:
self.decoder_color = cls(input_dim=input_dim, **args)
else:
self.decoder_color = cls(**args)
def _create_voxel_grid_scaffold(self) -> VoxelGridModule:
"""
Creates object to become sel... | Python |
Isometry3<f32>, mul, mul_assign);
test_op_vs_op_assign!(test_sim3_rot3_mul_assign, Similarity3<f32>, Rotation3<f32>, mul, mul_assign);
// Division.
test_op_vs_op_assign!(test_vec3_vec3_div_assign, Vector3<f32>, Vector3<f32>, div, div_assign);
test_op_vs_op_assign!(test_quaternion_quaternion_div_assign, Quaternion<f32>... | Rust |
3/1023/20231023035855787.png"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="http://example.com/2024/01/05/first-page/index.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css?v=4.12.0"><... | HTML |
etadata<openvdb::Int64Metadata>("houdiniorigoffset");
if (offmeta) {
origvdboff = static_cast<GA_Offset>(offmeta->value());
}
if (origvdboff != GA_INVALID_OFFSET) {
totalpiececount(origvdboff)++;
}
}
for (it = lsFracture.fragments().begin(); it != lsFractu... | C++ |
= cidToGidMap[cid];
}
}
if (cidToGidMap.length !== this.toUnicode.length && properties.hasIncludedToUnicodeMap && this.toUnicode instanceof _to_unicode_map.IdentityToUnicodeMap) {
this.toUnicode.forEach(function (charCode, unicodeCharCode) {
const cid = map[charCode];
... | JavaScript |
, -0x4300
/* 095708 8010CC98 460A4400 */ add.s $f16, $f8, $f10
/* 09570C 8010CC9C C444000C */ lwc1 $f4, 0xc($v0)
/* 095710 8010CCA0 3C198013 */ lui $t9, %hi(D_8012BCD0) # $t9, 0x8013
/* 095714 8010CCA4 3C088013 */ lui $t0, %hi(D_8012BCCC) # $t0, 0x8013
/* 095718 8010CCA8 E7B00050 */ swc1 $f16, 0x50($sp)
/* 0... | Assembly |
_base_ + allocated_pages_;
SnapshotPagePointer new_page_id = snapshot_writer_->get_next_page_id() + allocated_pages_;
ASSERT_ND(verify_snapshot_pointer(new_page_id));
++allocated_pages_;
CHECK_ERROR_CODE(read_or_init_page(0, new_page_id, 0, range, page));
pointer.snapshot_pointer_ = new_page_id;
cur_path_[... | C++ |
�钮,二维数组,用于定义网格布局。
/// 外层列表的每个元素代表一列,内层列表包含该列中的按钮。
final List<List<SpeedDialChild>> childrens;
/// 用于在滚动时隐藏按钮。详见示例。
final bool visible;
/// 用于滚动时按钮动画的曲线。
final Curve curve;
final String? tooltip;
final String? heroTag;
final Color? backgroundColor;
final Color? foregroundColor;
final Color? acti... | Dart |
l2, T3 col3)
{
Col1 = col1;
Col2 = col2;
Col3 = col3;
}
}
public class Row<T1, T2, T3, T4> {
public T1 Col1;
public T2 Col2;
public T3 Col3;
public T4 Col4;
public Row (T1 col1, T2 col2, T3 col3, T4 col4)
{
Col1 = col1;
Col2 = col2;
Col3 = col3;
Col4 = co... | C# |
delete it if it exists already
report = os.path.join(outDir, 'report.txt')
for name in computedResults:
basename = os.path.basename(name)
refDir = ''
if testName not in source_dir:
refDir = source_dir.replace('Tests', os.path.join('References', testName ))
else:
refDir = source_dir.re... | Python |
() {
if (_selectedCategory == categoryAll) {
return List<Product>.from(_availableProducts);
} else {
return _availableProducts
.where((p) => p.category == _selectedCategory)
.toList();
}
}
// Adds a product to the cart.
void addProductToCart(int productId) {
if (!_... | Dart |
ang.org/nightly/core/sync/atomic/struct.AtomicI64.html" title="struct core::sync::atomic::AtomicI64">AtomicI64</a></code><a href='#impl-Sync-22' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/sync/atomic.rs.html#1... | HTML |
andSize.QWORD,
"eax",
OperandSize.QWORD,
combinedEdxEax,
OperandSize.QWORD,
combinedEdxEax));
final String comparisonResult = environment.getNextVariableString();
// Step (4) Compare the two values (by subtracting them).
instructions.add(ReilHelpers.createSub(baseOff... | Java |
"""
Uses a trace function to switch greenlets at unexpected times.
In the trace function, we switch from the current greenlet to another
greenlet, which switches
"""
import greenlet
g1 = None
g2 = None
switch_to_g2 = False
def tracefunc(*args):
print('TRACE', *args)
global switch_to_g2
if switch_to_g2:
... | Python |
import datetime
import json
import logging
from typing import Any
from .errors import CartolaFCError, CartolaFCGameOverError, CartolaFCOverloadError
def json_default(value: Any) -> dict:
if isinstance(value, datetime.datetime):
return dict(
year=value.year,
month=value.month,
... | Python |
藏自治区山南地区");
map.insert("542221", "西藏自治区乃东县");
map.insert("542222", "西藏自治区扎囊县");
map.insert("542223", "西藏自治区贡嘎县");
map.insert("542224", "西藏自治区桑日县");
map.insert("542225", "西藏自治区琼结县");
map.insert("542226", "西藏自治区曲松县");
map.insert("542227", "西藏自治区措美县");
map.in... | Rust |
default clock source as input source or for PLL, turn it off.
match self.input_src {
InputSrc::Hsi => (),
InputSrc::Pll(pll_src) => match pll_src {
#[cfg(feature = "f3")]
PllSrc::HsiDiv2 => (),
#[cfg(feature = "f4")]
PllSrc... | Rust |
7;
this.buttonSize = 12;
this.buttonWidth = 70;
this.yButtonCancel = 170;
this.yButtonNext = 170;
this.xButtonCancel = 5;
this.xButtonNext = 243;
break;
}
}
}
// Function to define the x and y values and other properties for all the objects ... | Typescript |
먼저 RGBD-to-RGBD 및 점대점 생성을 위해 구현된 확산 모델 세트를 미리 훈련한다. 다양한 모달리티의 확산 디코더와 LLM 임베딩 공간을 효율적으로 연결하기 위해 3D-VLA에서 다중 모달 목표 생성을 정렬하는 프로젝터를 사용한다. 그것은 한 세대의 촬영장비 유형을 지정하기 위해 멀티모달 신호를 전략적으로 통합한다.\n' +
'\n' +
'이러한 생성 세계 모델을 구축하기 위한 또 다른 과제는 데이터의 부족에 있다. 사용 중인 구체화된 데이터 세트(Padalkar et al., 2023; Brohan et al., 2022; Jang ... | HTML |
t found: '_function'.
private._function();
// ^^^^^^^^^
// [analyzer] COMPILE_TIME_ERROR.UNDEFINED_FUNCTION
// [cfe] Method not found: '_function'.
new _Class();
// ^^^^^^
// [analyzer] COMPILE_TIME_ERROR.CREATION_WITH_NON_TYPE
// [cfe] Couldn't find constructor '_Class'.
private._Class();
// ... | Dart |
!isPassphraseFromField() ) {
// Check static pass-phrase
if ( Utils.isEmpty( passhrase ) ) {
error_message = BaseMessages.getString( PKG, "PGPDecryptStreamMeta.CheckResult.PassphraseMissing" );
cr = new CheckResult( CheckResult.TYPE_RESULT_ERROR, error_message, stepMeta );
remarks.a... | Java |
rPostsRouteArgs {
const UserPostsRouteArgs({this.key});
final _i5.Key? key;
@override
String toString() {
return 'UserPostsRouteArgs{key: $key}';
}
@override
bool operator ==(Object other) {
if (identical(this, other)) return true;
if (other is! UserPostsRouteArgs) return false;
return ... | Dart |
["array.prototype.flat", [\
["npm:1.3.3", {\
"packageLocation": "./.yarn/cache/array.prototype.flat-npm-1.3.3-51377719d9-d90e04dfbc.zip/node_modules/array.prototype.flat/",\
"packageDependencies": [\
["array.prototype.flat", "npm:1.3.3"],\
["call-bind", "npm:1.0.8"],\
... | JavaScript |
self.nodes {
if let Some(grad) = gradients.get(&node.id) {
param_gradients.push(grad.clone());
}
}
Ok(param_gradients)
}
fn compute_local_gradients(&self, node: &GraphNode, upstream_grad: &Tensor) -> Result<Vec<Tensor>, GraphError> {
... | Markdown |
g sqlMapKey, String officeWheres, String userWheres) {
User user = entity.getCurrentUser();
// 如果是超级管理员,则不过滤数据
if (user.isAdmin()) {
return;
}
// 数据范围(1:所有数据;2:所在公司及以下数据;3:所在公司数据;4:所在部门及以下数据;5:所在部门数据;8:仅本人数据;9:按明细设置)
StringBuilder sqlString = new StringBuilder();
// 获取到最大的数据权限范围
String roleId... | Java |
setup link-local address */
srcAddress[0] = (byte) 0xfe;
srcAddress[1] = (byte) 0x80;
/* infer IID from L2 address */
System.arraycopy(packet.llsender, 0, srcAddress,
16 - packet.llsender.length, packet.llsender.length);
break;
... | Java |
s', 10, 50);
* }
*
* </code></div>
*
* <p>You can also use the string name of the font to style other HTML
* elements.</p>
*
* <div><code>
* var myFont;
*
* function preload() {
* myFont = loadFont('assets/Avenir.otf');
* }
*
* function setup() {
* var myDiv = createDiv('hello there');
* myDiv.st... | JavaScript |
Q/TIM
* Copyright (C) 2019-2024 QAuxiliary developers
* https://github.com/cinit/QAuxiliary
*
* This software is an opensource software: you can redistribute it
* and/or modify it under the terms of the General Public License
* as published by the Free Software Foundation; either
* version 3 of the License, or a... | Kotlin |
ckSize(DataStream &buff, GaussPoint *ip) override
{
OOFEM_ERROR("not implemented");
}
FloatArrayF< 9 >giveFirstPKStress_3d(const FloatArrayF< 9 > &reducedvF, GaussPoint *gp, TimeStep *tStep) const override;
FloatArrayF< 5 >giveFirstPKStress_PlaneStrain(const FloatArrayF< 5 > &reducedvF, GaussP... | C |
]
local ammo = player.get_inventory(defines.inventory.character_ammo)[player.selected_gun_index]
if not weapon.valid_for_read or not ammo.valid_for_read then
return
end
local p = cause.player
if not (p and p.valid) then
return
end
local mod... | Lua |
begin cisst license - do not edit ---
This software is provided "as is" under an open source license, with
no warranty. The complete license can be found in license.txt and
http://www.cisst.org/cisst/license.txt.
--- end cisst license ---
*/
#include "nmrIsOrthonormalTest.h"
#include <cisstVector/vctTransformati... | C++ |
tension.configureMultiplatformTargets(
project: Project,
localProperties: Properties? = project.readLocalProperties(),
) {
// COMPOSE COMPATIBLE TARGETS START
val androidEnabled = project.readPropertyOrElse("com.mikepenz.android.enabled", "true", localProperties).toBoolean()
val jvmEnabled = project... | Kotlin |
)
throw("bad flushGen")
}
c.releaseAll()
stackcache_clear(c)
c.flushGen.Store(mheap_.sweepgen) // Synchronizes with gcStart
}
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package runtime
import (
"... | Go |
bject.controllers = {{"opacity_using_parameter", 0}, {"parameter_compare_with_number", 1, 2, -1}}
local FLIR_Info_On = addPlaceholder(nil, {0, 0}, FLIR_Info.name)
object = addStrokeText(nil, "TARGET", CMFD_STRINGDEFS_DEF_X08, "LeftTop", {-0.5,0.25}, FLIR_Info_On.name)
object.element_params = {CMFD_BRIGHT, "FLIR_STATUS... | Lua |
e,t,n){"use strict";var r=n(50),o=Object(r.a)("ok",{icon:"M39,30c-1,0-3,2-7,2s-6-2-7-2c-1.1,0-2,0.9-2,2c0,1,0.6,1.5,1,1.7c1.2,0.7,5,2.3,5,2.3l-4.3,5.4 c0,0-0.8,0.9-0.8,1.6c0,1.1,0.9,2,2,2c1,0,1.5-0.7,1.5-0.7S32,39,32,39c0,0,4.5,5.3,4.5,5.3S37,45,38,45c1.1,0,2-0.9,2-2 c0-0.6-0.8-1.6-0.8-1.6L35,36c0,0,3.8-1.6,5-2.3c0... | JavaScript |
/*-
* FreeBSD OSM Library for the aic7xxx aic79xx based Adaptec SCSI controllers
*
* Copyright (c) 1994-2002 Justin T. Gibbs.
* Copyright (c) 2001-2003 Adaptec Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the follo... | C |
adeRow;
this._currentTargetRowColumnElement = null;
}
else if(this._currentRowClass === RowClass.Current){ //вставка в текущую строку
if(target.classList.contains('row') && // навели на строку - вставляем в конец,
target.tagName === 'DIV' && // но ... | Typescript |
px;
padding: 8px 15px;
.iconfont {
font-size: 15px;
}
.important {
margin: 0 5px;
color: #0394f5;
}
.danger {
color: #c7254e;
}
}
}
}
.file-processor-page-popup-important {
margin: 0 5px;
color: #0394f5;
}
.contents-extraction-co... | CSS |
));
};
this.av = this.props.call.sfuClient.availAv;
}
specShouldComponentUpdate(newProps) {
const {
stayOnEnd,
hasLeft,
isOnHold,
call
} = this.props;
const currAv = this.av;
this.av = call.sfuClient.availAv;
return newProps.stayOnEnd !== stayOnEnd || newProps.has... | JavaScript |
try {
val path = Paths.get(optionFileName)
val content =
Buffer.buffer(this::class.java.getResourceAsStream(path.toString())!!.readAllBytes())
return JsonObject(content)
} catch (e: Exception) {
log.warn(
"Failure when reading Vert.x options file {} from property {}, will use... | Kotlin |
value1,
int value2,
int value3,
int value4)
{
if (caster is Character) { Logger.Debug("Special effects: ConsumeLaborPower value1 {0}, value2 {1}, value3 {2}, value4 {3}", value1, value2, value3, value4); }
// TODO: Need to factor skill level into how much lp we subtract.
... | C# |
AwMDQuMDAzIDQuMDAyaDQ0LjAyOGE0LjAwMyA0LjAwMyAwIDAwNC4wMDMtNC4wMDJWNC4wMUE0LjAwMyA0LjAwMyAwIDAwNDguMDM2LjAwOEg0LjAwOHpNOC4wMSA4LjAxM2g0LjAwM3Y0LjAwM0g4LjAxVjguMDEzem0xMi4wMDggMGgtNC4wMDJ2NC4wMDNoNC4wMDJWOC4wMTN6bTQuMDAzIDBoNC4wMDJ2NC4wMDNoLTQuMDAyVjguMDEzem0xMi4wMDggMGgtNC4wMDN2NC4wMDNoNC4wMDNWOC4wMTN6bTQuMDAyIDBoNC4wMD... | CSS |
="description last"><p>Number of previous inputs to remember</p></td>
</tr>
</tbody>
</table>
</div>
<h5>Returns:</h5>
<div class="param-desc">
<p>Layer with nodes that store previous inputs</p>
</div>
<h5>Example</h5>
<pre class="prettyprint">
... | HTML |
ociació, per delegació de l'Assemblea General i de l'òrgan de representació.
- La presidència i la direcció dels debats, dels òrgans de govern i de representació.
- Signar les convocatòries de les reunions de l'Assemblea General i de l'òrgan de representació.
- Visar les actes i els certificats confeccionats per/per la... | Typescript |
_NS directly does not work. bit 0-2 are consecutive in the register but the highest value bit is at bit 5
// So worked for up to WDTO_2S
sei();
wdt_reset();
#else
wdt_enable(WDTO_NS); // The function handles the upper bit correc... | C++ |
8212; <a href='Commentadd.asp?MarkerID=9&Editor=1'>Contact Us</a>
</span>
<br>
</div>
<div id:logininfo style='position: absolute; top: 5px; right: 10px; width: 790px; height: 25px; opacity:1; z-index: 100;text-align: right; visibility: visible; font-size:75%;line-height:100%; color=silver;' class='bodysa... | Kotlin |
|
| 对话生成 | 如何使用深度学习模型生成逼真的对话,例如与虚拟人物聊天? |
| 文本编辑 | 如何使用自然语言处理技术将一个句子中的语法错误和拼写错误进行自动修正? |
| 推荐系统 | 如何使用协同过滤算法,为用户推荐他们可能感兴趣的产品或服务? ... | Markdown |
float32 dist
float32 angle
float32 n_los
float32 rssi_1
float32 rssi_2
```
### 超声数据
- 功能描述:获取超声传感器探测目标测距值与强度值。
- 接口形式:ros topic
- 接口名称:ultrasonic_payload
- 发送频率:10hz
- 接口内容:
”sensor_msgs/msg/Range.msg“
```C%2B%2B
# 包含topic的时间戳和序列信息,详情见std_msgs/Header
Header header
# 特定传感器的字段定义
uint8 ULTR... | Markdown |
u0457\u0409\u0459\u040A\u045A" + // 0xB8 - 0xBF
"\u0458\u0405\u00AC\u221A\u0192\u2248\u2206\u00AB" + // 0xC0 - 0xC7
"\u00BB\u2026\u00A0\u040B\u045B\u040C\u045C\u0455" + // 0xC8 - 0xCF
"\u2013\u2014\u201C\u201D\u2018\u2019\u00F7\u201E" + // 0xD0 - 0xD7
... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.