content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|

专注渗透测试技术
全球最新网络攻击技术
**END**
:
def __init__(self,taskExecuteId = 0,runTaskSer... | Python |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | C |
st if the directory is "/" */
if ( !strcmp(obj, "/") ) {
if ( errmsg != NULL ) {
sprintf(err_msg, "Cannot remove /");
*errmsg = err_msg;
}
return -1;
}
/* Open the directory to get access to what is in it */
if ( (dir = opendir(obj)) == NULL ) ... | C |
-----------------------------------
-- Area: Apollyon NW
-- Mob: Cynoprosopi
-----------------------------------
require("scripts/globals/pathfind")
local ID = require("scripts/zones/Apollyon/IDs")
local flags = tpz.path.flag.NONE
local path =
{
{-553.732,0.000,599.452},
{-606.096,0.000,567.105},
{-577.405... | Lua |
br> License: [MIT][MIT] | <img src="https://raw.githubusercontent.com/cjwirth/awesome-ios-ui/master/assets/BLKFlexibleHeightBar1.gif" width="49%" > <img src="https://raw.githubusercontent.com/cjwirth/awesome-ios-ui/master/assets/BLKFlexibleHeightBar2.gif" width="49%" >
[SAParallaxViewControllerSwift](https://github.com... | Markdown |
Buffer());
final run = DateTime.now().millisecondsSinceEpoch - runs;
print('Time to run inference: $run ms');
Map<String, double> labeledProb = TensorLabel.fromList(
labels, _probabilityProcessor.process(_outputBuffer))
.getMapWithFloatValue();
final pred = getTopProbability(labele... | Dart |
a[] = {5, 1, 2, 2}
Output: Yes
we can write 5=(1+2+2)
Input: a[] = {2, 1, 2, 4, 3}
Output: No
```
**逼近:**假设数组中的元素总数为 **N** 。现在,如果存在任何这样的元素,使得该元素等于剩余元素的和,那么可以说该数组可以被分成具有相等和的两半,使得一半只有一个具有值 sum/2 的元素。
此外,由于两半的和相等,因此数组的总和必须相等,我们知道:
* 奇数+奇数=偶数
* 偶数+偶数=偶数
**算法** :
* 遍历数组,统计所有元素的出现次数,并存储在[映射](https://www.geeksforg... | Markdown |
button"));return y("includeBulkResourceButton",s)},v=(e=!0)=>{h("getExcludeBulkResourceButton",v);const t=S(e),s=t.querySelector(".minus-icon")?.closest("button");if(!s&&e)throw new Error(a("No exclude bulk resource button"));return y("excludeBulkResourceButton",s)},E=(e=!0)=>{h("getShowAllBulkResourceButton",E);const... | JavaScript |
(step) then
loops = index <= limit
else
loops = index >= limit
end
if loops then
stack[inst.A] = index
stack[inst.A + 3] = index
pc = pc + inst.sBx
end
end
elseif op > 18 then
if op < 28 then
if op < 23 then
if op < 20 then
--[[LEN]]
stack[inst.A] =... | Lua |
ertEquals("z/* */x", text.get());
}
@Test
public void dump_post_commit() {
JsonStreamWriter c = new JsonStreamWriter();
RxText text = new RxText(null, new RxInt32(null, 0));
Assert.assertTrue(text.append(0, new NtDynamic(PATCH_0)));
Assert.assertTrue(text.append(1, new NtDynamic(PATCH_1)));
... | Java |
=>
_$RelatedListFromJson(json);
}
@freezed
abstract class Series with _$Series {
const factory Series({
@JsonKey(name: "id") required String id,
@JsonKey(name: "name") required String name,
@JsonKey(name: "sort") required String sort,
}) = _Series;
factory Series.fromJson(Map<String, dynamic>... | Dart |
arcu, dapibus eu, fermentum et, dapibus sed, urna.
{% note danger %}
Morbi interdum mollis sapien. Sed ac risus. Phasellus lacinia, magna a ullamcorper laoreet, lectus arcu pulvinar risus, vitae facilisis libero dolor a purus. Sed vel lacus. Mauris nibh felis, adipiscing varius, adipiscing in, lacinia vel, tellus. Su... | Markdown |
'''
Extracción DNS con Python
Query ¿Para qué lo uso?
A IPv4
AAAA IPv6
MX MailServers
NS NameServers
'''
import dns.resolver
import sys
def dnsQuery(domain, lookuptype):
try:
answer = dns.resolver.query(domain,lookuptype)
for ans in answer:
if lookupt... | Python |
MIT_MODEL_CONFIG = {
"MiT_B0": {"embed_dims": [32, 64, 160, 256], "depths": [2, 2, 2, 2]},
"MiT_B1": {"embed_dims": [64, 128, 320, 512], "depths": [2, 2, 2, 2]},
"MiT_B2": {"embed_dims": [64, 128, 320, 512], "depths": [3, 4, 6, 3]},
"MiT_B3": {"embed_dims": [64, 128, 320, 512], "depths": [3, 4, 18, 3]},... | Python |
error, stackTrace);
return isEnabled;
});
setState(() {
isEnabled = enableResult;
});
}
void handleUninstallPressed() {
backend.uninstall().then((_) => asyncInitState());
}
@override
Widget build(BuildContext context) {
_logger.finest("build() _AwakeScreenState");
c... | Dart |
;
// Sorting by severity
Response severityResponse = searchTopAnomalyResults(
detector.getId(),
false,
"{\"category_field\":[\"keyword-field\"]," + "\"start_time_ms\":0, \"end_time_ms\":10, \"order\":\"severity\"}",
client()
);
Map<String,... | Java |
/*
* Octeon Bootbus flash setup
*
* This file is subject to the terms and conditions of the GNU General Public
* License. See the file "COPYING" in the main directory of this archive
* for more details.
*
* Copyright (C) 2007, 2008 Cavium Networks
*/
#include <linux/kernel.h>
#include <linux/mtd/mtd.h>
#incl... | C |
j));
}
}
@OnClick(R.id.stop)
void stop() {
if (mTask != null) {
mTask.cancel();
try {
sleep(300);
refresh();
} catch (InterruptedException e) {
Log.e("ozobiLog","... | Java |
sg":"%s","ctx":"%s"}', code[1],
code[2], ctx)
end
-- 直接返回由对应功能指定的内容。比如返回一个json串,不好再放到ctx里
return ctx
end
-- 格式化http-200返回
function Httpd:format_200(code, ctx)
local error_ctx = self:format_error(code, ctx)
return string.format(page200, string.len(error_ctx), error_ctx... | Lua |
border-radius: var(--radius);
@apply bg-popover text-popover-foreground shadow-lg;
display: flex;
align-items: center;
gap: 0.5rem;
transition: all 0.2s ease-in-out;
max-width: 24rem;
}
.toast-success {
border-left: 4px solid hsl(142.1, 76.2%, 36.3%);
}
.toast-error {
border-left: 4px solid hsl(var(--... | CSS |
.mp3",}
wagon.SoundNames["pnm_button2_off"] = {"subway_trains/common/pnm/pnm_button_release4.mp3", "subway_trains/common/pnm/pnm_button_release5.mp3",}
wagon.SoundNames["horn"] = {
loop = 0.6,
"subway_trains/common/pneumatic/horn/horn3_start.wav",
"subway_trains/commo... | Lua |
用');
return null;
}
}
// 如果没有权限且需要请求权限
if (!_hasLocationPermission && !skipPermissionRequest) {
// 检查权限,但不自动请求
final permission = await Geolocator.checkPermission();
_hasLocationPermission = (permission == LocationPermission.whileInUse ||
permission == LocationPerm... | Dart |
8f, 8f)
transferFunction = TransferFunction.ramp(0.3f, 0.1f, 0.1f)
// min 20, max 180, color map fire
transferFunction.addControlPoint(0.3f, 0.5f)
transferFunction.addControlPoint(0.8f, 0.01f)
converterSetups.get(0).setDisplayRange(20.0, 220.0)
c... | Kotlin |
ыка")
end
end
end
actionButtons.close.onTouch = function()
workspace:stop()
end
switchButton.onTouch = function()
fromComboBox.selectedItem, toComboBox.selectedItem = toComboBox.selectedItem, fromComboBox.selectedItem
fromInputField.text, toInputField.text = toInputField.text, fromInputField.text
translate()
e... | Lua |
N = y - y0;
y0 = D - D0 - N;
N = ((N != 0.0) && (y0 != 0.0)) ? y - N * (alt + D - y) / y0 : alt + D;
y0 = y;
D0 = D;
y = N;
}
return D; // Lifting by refraction in radians
}
/*
* Correction for refraction and semi-diameter/parallax of body is taken care of in function RiseSet
*
* @para... | Dart |
/*****************************************************************************
*
* Copyright (c) 1996-1999 ADVANCED MICRO DEVICES, INC. All Rights reserved.
*
* This software is unpublished and contains the trade secrets and
* confidential proprietary information of AMD. Unless otherwise
* provided in the Softwar... | C |
sem_wait(__sem = threadSemaphore)
sem_post(__sem = threadSemaphore)
// イベント発生まで待機
val pollResult = poll(
__fds = pollDescriptors,
__nfds = pollDescriptorsSize.toULong(),
__timeout = -1
)
... | Kotlin |
the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of ... | Java |
36C0, 4),
}
tornPageLocks = {
"TornPage1": WorldLocationData(0x1DB7, 4), # --Scenario_1_start
"TornPage2": WorldLocationData(0x1DB7, 7), # --Scenario_2_start
"TornPage3": WorldLocationData(0x1DB8, 2), # --Scenario_3_start
"TornPage4": WorldLocationData(0x1DB8, 4), # --Scenario_4_start
"TornPage... | Python |
for (int i = 0; i < numTextures; i++) {
var guiTexture = guiTextures.get(i);
String descId = guiTexture.texturePath();
DescSet descSet = descAllocator.addDescSets(device, descId, 1, textDescSetLayout)[0];
Texture texture = textureCache.getTexture(guiTexture.textur... | Java |
gin-top: 6px;
width: 120px;
height: 20px;
}
.bs-team img {
float: left;
width: 32px;
margin-right: 10px;
border-radius: 4px;
}
/*
* Grid examples
*
* Highlight the grid columns within the docs so folks can see their padding,
* alignment, sizing, etc.
*/
.show-grid {
margin-bottom: 15px;
}
.show-gr... | CSS |
devicePixelRatio: Double get() {
if (GraphicsEnvironment.isHeadless()) {
return 1.0
} else {
// transform
// https://stackoverflow.com/questions/20767708/how-do-you-detect-a-retina-display-in-java
val config = graphicsConfiguration
?: GraphicsEnvironment.getLocalGraph... | Kotlin |
;
/// Active keys are used to sign subsequent changes to the ManagedZone.
///
/// Inactive keys are still present as DNSKEY Resource Records for the use of
/// resolvers validating existing signatures.
core.bool? isActive;
/// Length of the key in bits.
///
/// Specified at creation time, and then imm... | Dart |
ag.dap.hellodata.sidecars.sftpgo.client.model;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
/**
* BandwidthLimit
*/
@... | Java |
1].node, 2*radius, 0, -4)
table.insert(points, {x=worldX, y=vehY, z=worldZ})
worldX, _, worldZ = localToWorld(self.components[1].node, 2*radius, 0, -8)
table.insert(points, {x=worldX, y=vehY, z=worldZ})
else
for i = 1, (resolution + 1) do
local cir... | Lua |
/*************************************************************************\
C O P Y R I G H T
Copyright 2003 Image Synthesis Group, Trinity College Dublin, Ireland.
All Rights Reserved.
Permission to use, copy, modify and distribute this software and its
doc... | C |
2LDE1VjE5QzYsMjAuMSA2LjksMjEgOCwyMUgxMFYxOUg4VjE0QzgsMTIuOSA3LjEsMTIgNiwxMkM3LjEsMTIgOCwxMS4xIDgsMTBWNUgxMFYzTTE2LDNDMTcuMSwzIDE4LDMuOSAxOCw1VjlDMTgsMTAuMSAxOC45LDExIDIwLDExSDIxVjEzSDIwQzE4LjksMTMgMTgsMTMuOSAxOCwxNVYxOUMxOCwyMC4xIDE3LjEsMjEgMTYsMjFIMTRWMTlIMTZWMTRDMTYsMTIuOSAxNi45LDEyIDE4LDEyQzE2LjksMTIgMTYsMTEuMSAxNiw... | JavaScript |
ct}
* {@link com.sun.identity.wsfederation.jaxb.xmlsig.RetrievalMethodElement}
* {@link com.sun.identity.wsfederation.jaxb.xmlsig.KeyNameElement}
* {@link com.sun.identity.wsfederation.jaxb.xmlsig.MgmtDataElement}
* {@link com.sun.identity.wsfederation.jaxb.xmlsig.KeyValueElement}
*
*/
... | Java |
=new RegExp(`^(([rubf]|(ur)|(br))?('{3}|"{3}|['"]))`,"i")}var H=p(E),Z=p(z);function ee(K,X){var I=K.sol()&&X.lastToken!="\\";if(I&&(X.indent=K.indentation()),I&&S(X).type=="py"){var B=S(X).offset;if(K.eatSpace()){var le=K.indentation();return le>B?D(X):le<B&&j(K,X)&&K.peek()!="#"&&(X.errorToken=!0),null}else{var xe=re... | JavaScript |
return new PatchState(Produce.KWUARM, CropState.DISEASED);
}
if (value >= 155 && value <= 157)
{
// Diseased herbs[Cure,Inspect,Guide] 8144,8145,8146
return new PatchState(Produce.SNAPDRAGON, CropState.DISEASED);
}
if (value >= 158 && value <= 160)
{
// Diseased herbs[Cure,In... | Java |
/* GStreamer
* Copyright (C) <2019> Seungha Yang <seungha.yang@navercorp.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your optio... | C |
e: frame rate
Returns a list of TrackingBboxes
Implementation inspired from code found here: https://github.com/ifzhang/FairMOT/blob/master/src/track.py
"""
self.opt.conf_thres = conf_thres
self.opt.track_buffer = track_buffer
self.opt.min_box_area = min_box_area
... | Python |
olecule != null) {
rx = molecule.rangeX();
ry = molecule.rangeY();
}
float scale = -1;
if (rx != 0 && widthLimit != Float.MAX_VALUE) {
scale = (widthLimit - fontSize * 2 - getPaddingLeft() - getPaddingRight()) / rx;
}
if (ry != 0 && heightLimit... | Java |
_MAX) {\n return vec4(255.0, 128.0, 0.0, 0.0) / 255.0;\n }\n\n highp vec4 c = vec4(0,0,0,0);\n\n //Compute exponent and mantissa\n highp float e = floor(log2(av));\n highp float m = av * pow(2.0, -e) - 1.0;\n \n //Unpack mantissa\n c[1] = floor(128.0 * m);\n m -= c[1] / 128.0;\n c[2] = floor(32768.0 * m);\... | JavaScript |
ent.detail.java.value.TestJavaBean>?
// --- key_str6 : kotlin.Array<com.mars.component.detail.java.value.TestJavaBean>?
RubikLauncher().launch(FirstPageActivity::class.java, queries, null, results)
}
RubikPath("activity/java_page2/{key_str1}/{key_str2}/{key_str3}").matching(path) -> {
... | Kotlin |
ted property view", "three", actual[12]);
assertEquals("Invalid JSON result for sorted property view", "null", actual[13]);
assertEquals("Invalid JSON result for sorted property view", "four", actual[14]);
assertEquals("Invalid JSON result for sorted property view", "null"... | Java |
las Sombras."}},
[24430] = {"Oscurecer el cielo", nil, {"Monta en un jinete del viento en tierra y vuela hasta Punta Talrendis. Acaba con 6 lanzagujas de Talrendis y bombardea el Centro de mando."}},
[24431] = {"Receta encharcada", nil, {"Llévale la receta encharcada a Christi Stockton en la Ciudad de Dalaran."}},
[244... | Lua |
下载完成
if (downloadId == completeDownloadId) {
Log.e("TAG", "DownloadFinish downloadId == completeDownloadId");
//安装apk
String apkFilePath = new StringBuilder(Environment
.getExternalStorageDirectory().getAbsolutePath())
... | Java |
} else {
loadBackground("skin/defaultbg.jpg");
}
} else {
loadBackground("skin/defaultbg.jpg");
}
};
self.createBackground();
// load combo colors
function convertcolor(color) {
return ((+color[0]... | JavaScript |
ormat,
SafeSearch,
XBingApisSDK,
)
__all__ = [
"Airport",
"Answer",
"CivicStructure",
"ContractualRulesAttribution",
"ContractualRulesContractualRule",
"ContractualRulesLicenseAttribution",
"ContractualRulesLinkAttribution",
"ContractualRulesMediaAttribution",
"ContractualRu... | Python |
始时,钨铬耐久上限8%', '5', 'test_icon_1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2', '1', '', '', '', '', '', '', 'OnBorn', '318802', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'318803', '', '318804', '3188', '装甲加固', '4', '', '7', '', '', ... | Lua |
A): Int =
when (elem) {
A.A0 -> 40
A.A2 -> 42
else -> 41
}
fun useEnumAValueOf(s: String): Int {
val elem: A = A.valueOf(s)
return when (elem) {
A.A0 -> 40
A.A2 -> 42
else -> 41
}
}
fun useEnumAValues(): Int {
v... | Kotlin |
说和电影的一则札记
电影给我们展示了一种新的语言,一种通过直接体验面部和动作的语言来谈论情感的方式。 c:46
电影是一种泛艺术。它能利用、吸收、吞食几乎任何一种其他艺术:小说,诗歌,戏剧,绘画,雕刻,舞蹈,音乐,建筑。 c:34
第一类电影可被描绘为心理电影,其关切的是对人物动机的揭示。第二类电影是反心理描绘的,处理的是感觉与事物之间的相互作用,其人物“在处境中”是模糊的。 c:41
### 精神分析与诺曼·O·布朗的《生与死的对抗》
精神分析的观念的问题在于,它们构成了从现实世界中退却的一种形式,因此也就成了顺从现实世界的一种形式。 c:25
失望是当代美国知识分子的颇有特色的姿态,但失望通常是懒惰的产物。我们对思想... | Markdown |
r"""事""": 757,
r"""二""": 758,
r"""五""": 759,
r"""井""": 760,
r"""京""": 761,
r"""人""": 762,
r"""亻""": 763,
r"""仁""": 764,
r"""介""": 765,
r"""代""": 766,
r"""仮""": 767,
r"""伊""": 768,
r"""会""": 769,
r"""佐""": 770,
r"""侍""": 771,
r"""保""": 772,
r"""信""": 773,
r"""健""": 774,
r"""元""": 775,... | Dart |
else
* 打印当前还没有被释放的所有对象, 这可以用来检查内存泄露. 一般可以在一个场景的
* onEnter方法里调用这个方法查看前一个场景的对象是否都已经被释放
* \endif
*/
public native static void printUnreleasedObjects();
/**
* \if English
* Print all memory blocks which is not released yet. The memory block
* must be allocated by WiEngine custom macro, such as wyMalloc, W... | Java |
{ 7709, "INV_Pants_07", "=q3=Blighted Leggings", "=ds=Jambes, Tissu" },
{ 7708, "INV_Wand_04", "=q3=Necrotic Wand","=ds=A distance, Baguette" },
{ 7731, "INV_Jewelry_Necklace_06", "=q3=Ghostshard Talisman", "=ds=Cou" },
};
SMFallenChampion = {
{ 7691, "INV_Helmet_28", "=q3=Emba... | Lua |
10-7.4 0v9.86a3.7 3.7 0 007.4 0m-3.7 23.44a3.7 3.7 0 000-7.4h-3.7v3.7a3.7 3.7 0 003.7 3.7m0-9.86h9.86a3.7 3.7 0 100-7.4h-9.86a3.7 3.7 0 000 7.4M5.5 28.94a3.7 3.7 0 007.4 0v-3.7H9.2a3.7 3.7 0 00-3.7 3.7m9.86 0v9.86a3.7 3.7 0 007.4 0v-9.86a3.68 3.68 0 00-3.68-3.7h0a3.7 3.7 0 00-3.7 3.7"/></svg>';
static const String sl... | Dart |
box AP | Config | Download ... | Markdown |
= String
typealias InvoicePayload = String
typealias StartParameter = String
typealias DiceResult = Int
typealias FoursquareId = String
typealias FoursquareType = String
typealias GooglePlaceId = String
typealias GooglePlaceType = String
typealias MembersLimit = Int
typealias Seconds = Int
typealias DoubleSeconds = D... | Kotlin |
50", alpha=0.7)
# Plot signals
for signal in signals:
if signal["signal"] == "buy":
plt.scatter(
signal["date"],
signal["price"],
color="green",
marker="^",
s=100,
)
else:
plt.sc... | Python |
#include <stdlib.h>
#include <stdint.h>
#if UINT_MAX != UINT16_MAX || UINTPTR_MAX != UINT16_MAX
#error This file assumes a 16-bit architecture
#endif
void foo1(int32_t *p1, int128_t *p2)
//@ requires [1/2]*p1 |-> 10 &*& [1/2]*p2 |-> 20;
//@ ensures [1/2]*p1 |-> 10 &*& [1/2]*p2 |-> 20;
{
}
void foo2(int32_t *p)
//@... | C |
);
Files.createDirectories(jars);
Path jarfile = jars.resolve("test.jar");
JarUtils.createJarFile(jarfile, classes);
Path image = Paths.get("mysmallimage");
runJmod(jarfile.toString(), TEST_MODULE, true);
runJlink(image, TEST_MODULE, "--compress", "2", "--launcher", "foo... | Java |
&& (VisionRecvData.identify_buff == TRUE || VisionRecvData.identify_buff == 2) )//Ӿݸ
{
//ȡǶ
Vision_Buff_Error_Angle_Yaw(&gb_yaw_angle);
Vision_Buff_Error_Angle_Pitch(&gb_pitch_angle);
Vision_Buff_Time[NOW] = xTaskGetTickCount();//ȡݵʱʱ
Vision_Clean_Update_Flag();//һҪǵ,һֱִ
}
if(Vision_Buff_Time[NOW] !... | C |
val execMock by gradleExecMock()
val lsExecMock by memoized { execMock.forCommand("ls") }
val commandExecMock by memoized { execMock.forCommand("uninstall") }
val task by gradleTask<HelmUninstall> {
releaseName.set("awesome-release")
}
fun GradleExecMock.verifyHelmLsInvocation() {
... | Kotlin |
.wishlist-btn:hover i{color:var(--color-white)}a.axil-btn.wishlist-btn:hover:before,button.axil-btn.wishlist-btn:hover:before{visibility:visible;opacity:1;transform:scale(1.2)}a.axil-btn.btn-size-md,button.axil-btn.btn-size-md{font-size:14px;font-weight:500;display:inline-flex;align-items:center;padding:10px 30px 9px;b... | CSS |
.contains(itemIndex)
fun isAllSelected(): Boolean = selected.value.size == items.size
val selectItemClickCallback = useCallback { item: String ->
selected.update(
selected.value
.toMutableSet()
.apply { if (isSelected(item)) remove(item) else add(item) }
... | Kotlin |
self.model_name = model_name
class BaiChuanChat(Base):
def __init__(self, key, model_name="Baichuan3-Turbo", base_url="https://api.baichuan-ai.com/v1"):
if not base_url:
base_url = "https://api.baichuan-ai.com/v1"
super().__init__(key, model_name, base_url)
@staticmethod
... | Python |
urn Output(metadata={"empty_metadata": True}, value=None)
PublishConnectorLifecycle.log(
context,
PublishConnectorLifecycleStage.REGISTRY_ENTRY_GENERATION,
StageStatus.IN_PROGRESS,
f"Generating registry entry for {metadata_entry.file_path}",
)
spec_cache = SpecCache()
... | Python |
정보를 사용하여 로봇 운용 환경의 2D 점유 격자 지도(occupancy grid map) 생성.
- 생성된 지도를 파일(map.pgm, map.yaml)로 저장.
### Localization (위치 추정):
- Navigation2의 nav2_amcl 패키지 설정 및 실행.
- 저장된 지도와 실시간 LiDAR 데이터(/scan), TF 정보를 사용하여 지도 상에서 로봇의 실시간 위치와 방향 추정.
### Navigation (자율 주행):
#### Navigation2 스택 (nav2_bringup) 설정:
- Costmap 설정: Global co... | Markdown |
=================
'1234.'
```
``` sql
--numeric type can be casted to CHAR type only when enough length is specified
SELECT (CAST(1234.567890 AS CHAR(5)));
```
```
ERROR: Cannot coerce value of type "numeric" to type "character varying".
```
``` sql
--numeric type can be casted to CHA... | Markdown |
number = "87654321",
type = 2,
},
}
},
{
name = "Bob",
id = 20000,
phone = {
{
number = "01234567890",
type = 3,
}
}
}
... | Lua |
val router = quoteSwap.router
val recommendedGasRate = quoteSwap.recommended_gas_rate.toInt()
val dustThreshold = quoteSwap.dust_threshold?.toInt()
val outboundFee = CoinValue(tokenOut, quoteSwap.fees.outbound.movePointLeft(8))
val liquidityFee = CoinValue(tokenOut, quoteSwap.fees.liqui... | Kotlin |
(success) {
val selectionStart = this.fakeEditTextForTextStateCalculation?.selectionStart
val selectionEnd = this.fakeEditTextForTextStateCalculation?.selectionEnd
if (selectionStart != null && selectionEnd != null) {
val arguments = Bundle()
argumen... | Kotlin |
boundary(sx, sy) == false then
for t = 1, self.model.T do
if self.model.wave[s + 1][t] then
contrib = contrib + 1
local c = assert(self.colors[self.patterns[t][dy * self.N + dx + 1] + 1])
local ar, ag, ab = Draw.color_from_b... | Lua |
tions that the general device layer doesn't
* know about.
*/
/* Notify platform of device discovery */
extern int (*platform_notify)(struct device * dev);
extern int (*platform_notify_remove)(struct device * dev);
/**
* get_device - atomically increment the reference count for the device.
*
*/
extern struct dev... | C |
/** Copyright © 2019 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 3.0 of the Li... | C |
stemMessageFormats.DeathWatchNotificationData getDwNotificationData() {
return dwNotificationData_ == null ? org.apache.pekko.remote.SystemMessageFormats.DeathWatchNotificationData.getDefaultInstance() : dwNotificationData_;
}
/**
* <code>optional .DeathWatchNotificationData dwNotificationData = 7;</... | Java |
tanceOf(AgreementVersion version) =>
box.safeGet<bool>(_AgreementsK.acceptanceKeyOf(AgreementType.basic, version));
Future<void> setBasicAcceptanceOf(AgreementVersion version, bool? newV) async =>
await box.safePut<bool>(_AgreementsK.acceptanceKeyOf(AgreementType.basic, version), newV);
late final $ba... | Dart |
8192) / GridSize)
end
function GetGridChannel(Coords, Intact)
local Grid = vector2(GetGridChunk(Coords.x), GetGridChunk(Coords.y))
local Channel = GridToChannel(Grid)
if not Intact and CurrentInstance ~= 0 then
Channel = tonumber(("%s0%s"):format(Channel, CurrentInstance))
end
return Channe... | Lua |
en;
if (firstExtra < trimmedFen.length) {
extras = trimmedFen.substring(firstExtra).trim();
coreFen = trimmedFen.substring(0, firstExtra).trimRight();
}
String custodianData = '';
String interventionData = '';
int? preferredTarget;
if (extras.isNotEmpty) {
final List<String> t... | Dart |
*/
@Suppress("LongParameterList")
class FederatedSchemaGeneratorConfig(
override val supportedPackages: List<String>,
override val topLevelNames: TopLevelNames = TopLevelNames(),
override val hooks: FederatedSchemaGeneratorHooks,
override val dataFetcherFactoryProvider: KotlinDataFetcherFactoryProvider... | Kotlin |
757073
ms.prod: excel
api_name:
- Excel.ListDataFormat.Application
ms.assetid: 7df41d06-b4b2-9fef-9564-74122fa72a9b
ms.date: 06/08/2017
---
# ListDataFormat.Application Property (Excel)
When used without an object qualifier, this property returns an **[Application](application-object-excel.md)** object that represe... | Markdown |
15s ease-in-out,box-shadow .15s ease-in-out,border-radius .15s ease}@media (prefers-reduced-motion:reduce){.accordion-button{transition:none}}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff;box-shadow:inset 0 -1px 0 rgba(0,0,0,.125)}.accordion-button:not(.collapsed)::after{background-image:url(... | CSS |
|
| 股票价格预测 | 基于历史数据,如何使用机器学习算法来预测特定股票的未来价格变化? |
| 口罩生产质量控制 | 在口罩生产过程中,如何保证产品的质量符合标准并满足客户需求?有哪些常用的质量控制方法可以应用? ... | Markdown |
.$B$BDie Distelbären wurden am schwersten von der Seuche getroffen. Die einst edlen Tiere sind jetzt ein Instrument der Zerstörung - tollwütig und rasend. Ich habe möglicherweise ein Heilmittel für dieses Leiden.$B$BGeht mit dieser Falle in den Wald und legt sie auf den Boden. Jeder tollwütige Distelbär, der das Licht ... | Lua |
frame_num-wind_leng+1):
keypoint_sample = keypoint_tensor[:, i:i+wind_leng]
keypoint_input.append(keypoint_sample[np.newaxis,:])
return keypoint_input
def map_result_to_step(action_result, frame_step):
action_list = []
action_list.extend(["step: unknown"]*frame_step)
for action_type i... | Python |
f.org/html/rfc3339) timestamp format. Example: {@code
* 2019-04-03T21:10:29.600Z}
*
* @return the value
*/
public java.util.Date getTimeOfDeletion() {
return timeOfDeletion;
}
@Override
public String toString() {
return this.toString(true);
}
/**
* Retu... | Java |
x, c)) : DependencySet.INDEPENDENT;
addType(x, c, ds);
}
@Override
public void addType(final ATermAppl x, final ATermAppl cParam, final DependencySet dsParam)
{
ATermAppl c = cParam;
DependencySet ds = dsParam;
c = ATermUtils.normalize(c);
// when a type is being added to
// an ABox that has already... | Java |
, "INV_Sword_23", "=q3=Arbiter's Blade", "=ds=#h3#, #w10#", " 21.54%" },
{ 0, "", "", "" },
{ 0, "INV_Box_01", "=q6=Dark Coffer", "" },
{ 11752, "INV_Potion_69", "=q1=Black Blood of the Tormented", "=ds=#m3#", "44.48%" },
{ 11751, "Spell_Fire_LavaSpawn", "=q1=Burning Essence",... | Lua |
* @param assetType Optional type of the location asset.
* Set to SENDER if sharing own location. Set to PIN if sharing any location.
* @param inReplyToEventId Optional [EventId] for the event this message should reply to.
*/
suspend fun sendLocation(
body: String,
geoUri: String... | Kotlin |
nal int IS_NEW_RECORD_FIELD_NUMBER = 5;
private boolean isNewRecord_;
/**
* <code>bool is_new_record = 5;</code>
* @return The isNewRecord.
*/
@java.lang.Override
public boolean getIsNewRecord() {
return isNewRecord_;
}
private byte memoizedIsInitialized = -1;
@java.lan... | Java |
,", bombTargets))
sendMessage(format("B:%d:%d:%d:%s:%d::%d:%s", totalTicks, spellID, bombAmount, bombTargets, amount, tickInterval, targets))
elseif( hasVariableTicks ) then
sendMessage(format("VH:%d:%d:%s::%d:%s", tickInterval, spellID, table.concat(amount, "@"), totalTicks, targets))
else
... | Lua |
876', '代缴发票', '代缴发票'},
{'44877', '代缴税', '代缴税'},
{'44878', '代开发票MOD', '代开发票MOD'},
{'44879', '代开商业发票', '代开商业发票'},
{'44880', '代开增值税', '代开增值税'},
{'44881', '代開', '代開'},
{'44882', '代開發票', '代開發票'},
{'44883', '代卖发票', '代卖发票'},
{'44884', '代售发票', '代售发票'},
{'44885', '代写', '代写'},
{'44886', '待开发票', '待开发票'},
{'44887', '蛋白合成激素', '蛋白合成... | Lua |
p_LP", special_powers_fn = lunarmoth_special_powers_fn}, {"critterbuff_lunarmoth"}),
MakeBuilder("critter_lunarmothling"),
MakeCritter("critter_eyeofterror", "eyeofterror_mini", 6, standard_diet, true, {buildname = "eyeofterror_mini_basic", favoritefood="baconeggs"--[[, flyingsoundloop = "a hover loop her... | Lua |
#import "GLProgram.h"
#import "GPUImageFramebuffer.h"
#import "GPUImageFramebufferCache.h"
#define GPUImageRotationSwapsWidthAndHeight(rotation) ((rotation) == kGPUImageRotateLeft || (rotation) == kGPUImageRotateRight || (rotation) == kGPUImageRotateRightFlipVertical || (rotation) == kGPUImageRotateRightFlipHorizontal... | C |
d = Phaser.Math.RND;
```
- New random generator
```javascript
var rnd = new Phaser.Math.RandomDataGenerator(seed);
```
### Set seed
- Set seed in game config for pre-defined random data generator
```javascript
var config = {
// ...
seed: seed,
// ...
}
var game ... | Markdown |
�定
if (!dartEnvironmentVariables.containsKey("FLAVOR")) {
dartEnvironmentVariables["FLAVOR"] = "dev"
}
// Firebaseの設定ファイルを環境によってコピーする
tasks.register<Copy>("selectGoogleServicesJson") {
val flavor = dartEnvironmentVariables["FLAVOR"] ?: "dev"
from("src/$flavor/google-services.json")
into("./")
}
tasks.... | Kotlin |
t name
*/
static final String JAVAX_IMAGEIO_JPEG_IMAGE_1_0 = "javax_imageio_jpeg_image_1.0";
// TODO: Create our own native format, which is simply markerSequence from the Sun format, with the segments as-is, in sequence...
// + add special case for app segments, containing appXX + identifier (ie. <a... | Java |
tem) > a:visited:before,
.bd-menu-23.nav-pills .bd-menuitem-23:not(.bd-mega-item) > a:after,
.bd-menu-23.nav-pills .bd-menuitem-23:not(.bd-mega-item) > a:link:after,
.bd-menu-23.nav-pills .bd-menuitem-23:not(.bd-mega-item) > a:visited:after {
display: inline-block;
vertical-align: middle;
text-decoration: none;
... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.