content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
}
#else /* !LEAK_DETECTIVE */
void *alloc_bytes(size_t size, const char *name)
{
void *p = malloc(size);
if (p == NULL)
exit_log("unable to malloc %lu bytes for %s",
(unsigned long) size, name);
memset(p, '\0', size);
return p;
}
void *clone_bytes(const void *orig, size_t size, const char *name)
{
void *p... | C |
level_max_x = {
-- Emerald Hill Zone
["zone=0,act=0"] = 0x2A40,
["zone=0,act=1"] = 0x29C0,
-- Chemical Plant Zone
["zone=13,act=0"] = 0x2840,
["zone=13,act=1"] = 0x2943,
-- Aquatic Ruin Zone
["zone=15,act=0"] = 0x298C,
["zone=15,act=1"] = 0x298D,
-- Casino Night Zone
["zone=12,act=0"] = 0... | Lua |
lished by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This Program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Gene... | C++ |
,8.5V16h2.2V8.5C9.8,8.5,7.6,8.5,7.6,8.5z M7.6,5.4 v2.2h2.2V5.4C9.8,5.4,7.6,5.4,7.6,5.4z M10.7,8.5h5.7v10.1h-5.7v-1.8h3.5V16h-3.5C10.7,16,10.7,8.5,10.7,8.5z M14.2,14.2v-4h-1.3v4 H14.2z M17.3,8.5H23v10.1h-5.7v-1.8h3.5V16h-3.5C17.3,16,17.3,8.5,17.3,8.5z M20.8,14.2v-4h-1.3v4H20.8z"/>
</symbol>
<symbol id="icon-discord" vie... | HTML |
MessagesRevenue] fields.
final starsAmount = reader.readInt64();
// Construct [AccountPaidMessagesRevenue] object.
final returnValue = AccountPaidMessagesRevenue(starsAmount: starsAmount);
// Now return the deserialized [AccountPaidMessagesRevenue].
return returnValue;
}
/// Stars Amount.
/... | Dart |
,
"en": "Central African Republic",
"pt_BR": "República Centro-Africana",
"sr-Cyrl": "Централноафричка Република",
"sr-Latn": "Centralnoafrička Republika",
"zh_TW": "中非共和國",
"tr": "Orta Afrika Cumhuriyeti",
"ro": "Republica Centrafricană",
"ar": "جمهورية أ... | Dart |
VertexOnly?"#define UVS_VERTEX_ONLY":
"",c.flatShading?"#define FLAT_SHADED":"",c.skinning?"#define USE_SKINNING":"",c.useVertexTexture?"#define BONE_TEXTURE":"",c.morphTargets?"#define USE_MORPHTARGETS":"",c.morphNormals&&!1===c.flatShading?"#define USE_MORPHNORMALS":"",c.doubleSided?"#define DOUBLE_SIDED":"",c.flipSi... | HTML |
h"
#include "gpos/base.h"
#include "gpopt/operators/CLogicalLeftAntiSemiJoinNotIn.h"
#include "gpopt/operators/CPatternLeaf.h"
#include "gpopt/operators/CPhysicalLeftAntiSemiHashJoinNotIn.h"
#include "gpopt/operators/CPredicateUtils.h"
#include "gpopt/xforms/CXformUtils.h"
using namespace gpopt;
//-----------------... | C++ |
MKT_SHARE_mPART1_L2_1_L1_1_mCUSTOMER1_mPART2_mapkey1_idxfn {
FORCE_INLINE static size_t hash(const MKT_SHARE_mPART1_L2_1_L1_1_mCUSTOMER1_mPART2_entry& e) {
size_t h = 0;
hash_combine(h, e.MKT_SHARE_mPART1_L2_1_L1_1_mCUSTOMERCUSTOMER_CUSTKEY);
return h;
}
FORCE_INLINE static bool equals(co... | C++ |
equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
<meta name="description" content="API docs for the allowRigid property from the form_label_2 class, for the Dart programming language.">
<title>allowRigid propert... | HTML |
FontModel("Patrick Hand SC", "Patrick Wagesreiter"),
FontModel("Pinyon Script", "Nicole Fally"),
FontModel("Plaster", "Intellecta Design"),
FontModel("Playball", "TypeSETit"),
FontModel("Poor Story", "epic turns"),
FontModel("Praise", "Spork Thug Typography"),
FontModel("Press Start 2P", "codeman38"),
F... | Dart |
─────────────┘
```
また、結果をもう1つのテーブルに `TO` 構文を使ってアタッチすることができます。
```sql
CREATE WINDOW VIEW wv TO dst AS SELECT count(id), tumbleStart(w_id) as window_start FROM data GROUP BY tumble(timestamp, INTERVAL '10' SECOND) as w_id
```
追加の例は、ClickHouse の状態を持つテストの中で見つけることができます(そこでは `*window_view*` と名付けられています)。
### Window View U... | Markdown |
["The spell is required to apply a buff on the target"] = "要求添加的法术能够在目标上施加增益效果"
L["Spell already exists."] = "法术已存在。"
L["Delete spell?"] = "删除法术?"
-------------------------------------------------
-- dispel request
-------------------------------------------------
L["Dispel Request"] = "驱散请求"
L["DISPEL"] = "驱散"
L["Dis... | Lua |
could always be higher.
*/
private const val MINIMUM_REBUILD_LOGIN_CAPACITY: Int =
MINIMUM_PLAYER_INFO_INIT_SIZE +
MINIMUM_REBUILD_HEADER_BYTES +
MINIMUM_REBUILD_XTEA_BYTES
}
}
package net.rsprox.protocol.v225.game.incoming.decoder.codec.misc.user
import... | Kotlin |
from pypalace import Config, Domains, Boundaries, Solver
my_sim = Config("Eigenmode",Output="eigenmode_output")
my_sim.add_Model("eigenmode_example.bdf")
# define materials
silicon = Domains.Material([1],1.0,11.45,0.0)
air = Domains.Material([2],1.0,1.0,0.0)
my_materials = [silicon,air] # material list for input into... | Python |
load_conv2d(module:get(2):get(2), 'Mixed_6a/Branch_1/Conv2d_0b_3x3')
load_conv2d(module:get(2):get(3), 'Mixed_6a/Branch_1/Conv2d_1a_3x3')
end
local function load_block17(module, name)
load_conv2d(module:get(1):get(2):get(1):get(1), name..'/Branch_0/Conv2d_1x1')
load_conv2d(module:get(1):get(2):get(1):get(2):g... | Lua |
computeStyles$1,
eventListeners,
flip: flip$1,
hide: hide$1,
offset: offset$1,
popperOffsets: popperOffsets$1,
preventOverflow: preventOverflow$1
});
/**
* --------------------------------------------------------------------------
* Bootstrap (v5.1.3): dropdown.js
* Licensed under... | JavaScript |
/*-
* SSLsplit - transparent SSL/TLS interception
* https://www.roe.ch/SSLsplit
*
* Copyright (c) 2017-2025, Soner Tari <sonertari@gmail.com>.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are me... | C |
egggroups EGG_GROUP_MINERAL, EGG_GROUP_MINERAL
abilities ABILITY_SHIELDS_DOWN, ABILITY_NONE
runchance 0
colorflip BODY_COLOR_BROWN, 1
mondata SPECIES_MINIOR_METEOR_INDIGO, "-----"
basestats 60, 60, 100, 60, 60, 100
types TYPE_ROCK, TYPE_FLYING
catchrate 30
baseexp 154
evyields 0, 0... | Assembly |
].TxID,
reason: obj,
}
return nil, nil, nil, nil, nil, failedAG, tracerr.Wrap(fmt.Errorf(
failedGroupErrMsg,
l2Txs[i].AtomicGroupID.String(),
))
}
continue
}
// Reject tx if the batch that is being selected is greater than MaxNumBatch
if l2Txs[i].MaxNumBatch != 0 && nextBatch... | Go |
vegane/pane-pizza-e-focacce/">Pane, pizza e focacce</a></li> <li id="menu-item-13097" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-13097"><a href="https://www.vegolosi.it/ricette-vegane/ricette-dal-mondo/">Ricette dal mondo</a></li> <li id="menu-item-85093" class="menu-item menu-item-t... | HTML |
566.jpg 768w, https://www.luxuriousmagazine.com/wp-content/uploads/2019/06/Polo-Player-Malcolm-Borwick-300x221.jpg 300w, https://www.luxuriousmagazine.com/wp-content/uploads/2019/06/Polo-Player-Malcolm-Borwick-450x331.jpg 450w, https://www.luxuriousmagazine.com/wp-content/uploads/2019/06/Polo-Player-Malcolm-Borwick-225... | HTML |
IO-extra-0] -map [VIDEO-test-out] -ss 12.1 -map [AUDIO-test-out-0] -ss 12.1 -t 10.4 video params audio params -metadata comment=Transcoded using Encore /tmp/123/out.mp4 -map [AUDIO-extra-0] -ss 12.1 -t 10.4 -vn audio extra -metadata comment=Transcoded using Encore /tmp/123/extra.mp4 -dec 0:v:0 -filter_complex [dec:0]th... | Kotlin |
ms – 使用最多的操作系统
· Top products (Software name) – 使用最多的产品 / 软件名称
随后,在中间的主页面我们可以看到包含如下的搜索结果:
· IP 地址
· 主机名
· ISP
· 该条目的收录收录时间
· 该主机位于的国家
· Banner 信息
想要了解每个条目的具体信息,只需要点击每个条目下方的 details 按钮即可。
 -> c_int {
*(hdpa as *mut c_int) -= 1;
*(hdpa as *mut c_int)
}
#[inline]
pub unsafe fn DPA_AppendPtr(hdpa: HDPA, pitem: *mut c_void) -> c_int {
DPA_InsertPtr(hdpa, DA_LAST, pitem)
}
extern "system" {
pub fn DPA_GetSize(hdpa: HDPA) -> ULONGLONG;
pub fn DPA_Sort(hdpa: HDPA, pfnCompare: PFNDACOMPARE,... | Rust |
t e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,r?void 0:"g")}});var r3=w((Itt,t3)=>{"use strict";var e0e=e3();t3.exports=r=>typeof r=="string"?r.... | JavaScript |
"+1.1%"
},
{
"13.3%",
"+1.1%"
},
{
"14.4%",
"+1.1%"
},
{
"15.5%",
"+1.1%"
},
{
"16.6%",
"+1.1%"
},
{
"17.7%",
"+1.1%"
},
{
"18.8%",
"+1.2%"
},
{
"20.0%"
}
}
}
},
[13770] = {
desc_get = "... | Lua |
x_y_z
return bool(v_to_blocks[x] & v_to_blocks[y] & v_to_blocks[z])
# Check that every quadruple contains an even number of triples
for quad in combinations(range(T.num_points()), 4):
if sum(map(has_triple, combinations(quad, 3))) % 2:
return False
return True
def twograph_d... | Python |
/*
* linux/arch/arm/mach-tegra/platsmp.c
*
* Copyright (C) 2002 ARM Ltd.
* All Rights Reserved
*
* Copyright (C) 2009 Palm
* All Rights Reserved
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the... | C |
.5) / this._fps;
if (WebGLVideoTile.verbose) {
console.log(this._id + ': onscreen=' + this._pipeline[0].frameno +
', display=' + r2(displayFrame) +
', nextNeededFrame=' + nextNeededFrame +
', desired=' + r2(targetVideoFrame) +
', offset=' + r2(this._frameOffset) +
... | Typescript |
verdiene ich an qualifizierten Verkäufen.';
margin-left: 5px;
}
/**Amazon Links mit Sternchen**/
a[href*="amazon.de"]:after, a[href*="amazon.com"]:after, a[href*="amzn.to"]:after { content: "*";}
/*Social Media Icons*/
.shariff .shariff-buttons li {
width: 85px!important;}
/*Suche breiter*/
@media screen and (... | HTML |
tuff["name"]
}
def main(args):
split = args.split
name = args.name
print(f"{split}.{name}")
results = []
with open("data.jsonl", "r") as f:
opinions = f.readlines()
opinions = [get_opinions(x) for x in opinions]
opinions = [x for x in opinions if len(x["text"]) > 3000]
... | Python |
m_envs, 12, device='cuda:0'), delta_pos, torch.zeros(num_envs, 2, device='cuda:0')], dim=-1) + dof_states[:, 0].view(num_envs, 20)
gym.set_dof_position_target_tensor(sim, gymtorch.unwrap_tensor(pos))
else:
gym.set_dof_actuation_force_tensor(sim, gymtorch.unwrap_tensor(torch.cat([u, torch... | Python |
{
if (auto base = t.as_type()) {
return from_base(base.value());
}
return std::nullopt;
}
Token DependentSizedExtVectorType::attribute_token(void) const {
return impl->ep->TokenFor(impl->ep, impl->reader.getVal20());
}
Type DependentSizedExtVectorType::element_type(void) const {
RawEntityId eid = impl-... | C++ |
ted-logs",
shouldErr: true,
expectedUniqueLogs: []string{
"[alpine-1] alpine-1",
"[alpine-1] bye alpine-1",
"[alpine-2] alpine-2",
"[alpine-2] bye alpine-2",
},
},
}
for _, test := range tests {
testutil.Run(t, test.description, func(t *testutil.T) {
MarkIntegrationTest(t.T, CanRunW... | Go |
h32_1 = ch32;
function maj32(x, y, z) {
return (x & y) ^ (x & z) ^ (y & z);
}
var maj32_1 = maj32;
function p32(x, y, z) {
return x ^ y ^ z;
}
var p32_1 = p32;
function s0_256(x) {
return rotr32$1(x, 2) ^ rotr32$1(x, 13) ^ rotr32$1(x, 22);
}
var s0_256_1 = s0_256;
function s1_256(x) {
return rotr32$1(x, 6) ... | JavaScript |
ZCBPcGVyYXRpb25zIExpbWl0ZWQx
// SIG // FjAUBgNVBAUTDTIzMDAxMis1MDI5MjYwHwYDVR0jBBgw
// SIG // FoAUSG5k5VAF04KqFzc3IrVtqMp1ApUwVAYDVR0fBE0w
// SIG // SzBJoEegRYZDaHR0cDovL3d3dy5taWNyb3NvZnQuY29t
// SIG // L3BraW9wcy9jcmwvTWljQ29kU2lnUENBMjAxMV8yMDEx
// SIG // LTA3LTA4LmNybDBhBggrBgEFBQcBAQRVMFMwUQYIKwYB
// SIG // BQUHMA... | JavaScript |
.collapsed{border-bottom-width:0}.accordion-button:not(.collapsed){color:#0c63e4;background-color:#e7f1ff}.accordion-button:not(.collapsed)::after{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 ... | CSS |
// SPDX-FileCopyrightText: 2020 Frank Hunleth
//
// SPDX-License-Identifier: MIT
//
#include "erlinit.h"
#include <stdio.h>
#include <stdlib.h>
#include <linux/reboot.h>
#include <time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
static ... | C |
Parameter o) {
buildCounterLaunchFlexTemplateParameter++;
if (buildCounterLaunchFlexTemplateParameter < 3) {
checkContainerSpec(o.containerSpec!);
unittest.expect(o.containerSpecGcsPath!, unittest.equals('foo'));
checkFlexTemplateRuntimeEnvironment(o.environment!);
unittest.expect(o.jobName!, unitte... | Dart |
A' },
{ 'Б', 0b1000_0000 },
{ 'В', (byte)'B' },
{ 'Г', 0b1001_0010 },
{ 'Д', 0b1000_0001 },
{ 'Е', (byte)'E' },
{ 'Ж', 0b1000_0010 },
{ 'З', 0b1000_0011 },
{ 'И', 0b1000_0100 },
... | C# |
rSeverity {
val lowerDesc = description.lowercase()
return when {
// 错误关键词 - 影响编译或运行的问题
lowerDesc.contains("error") ||
lowerDesc.contains("cannot") ||
lowerDesc.contains("unresolved") ||
lowerDesc.contains("undefined") ||
lowerDesc.contains("not found") ||
lo... | Kotlin |
oto != IPPROTO_UDP))
return -EPROTONOSUPPORT;
tbl_idx = skb_get_hash_raw(skb) & ENIC_RFS_FLW_MASK;
spin_lock_bh(&enic->rfs_h.lock);
n = htbl_key_search(&enic->rfs_h.ht_head[tbl_idx], &keys);
if (n) { /* entry already present */
if (rxq_index == n->rq_id) {
res = -EEXIST;
goto ret_unlock;
}
/* desi... | C |
expect(fooBaz.scope, 'Foo');
expect(fooBaz.isStatic, true);
});
});
}
Map<String, Object?> _copyMap(Map<String, Object?> map) {
final result = <String, Object?>{};
for (final entry in map.entries) {
if (entry.value is Map<String, Object?>) {
result[entry.key] = _copyMap(entry.value as Map<S... | Dart |
ov85_021D7FE4
add r0, r4, #0
bl ov85_021D77DC
add r0, r4, #0
bl ov85_021D7BB8
add r0, r4, #0
bl ov85_021D81AC
add r0, r4, #0
bl ov85_021D8044
add r0, r4, #0
bl ov85_021D8134
add r0, r4, #0
bl ov85_021D76F4
add r0, r5, #0
bl OverlayManager_FreeData
mov r0, #0x4f
bl DestroyHeap
mov r0, #1
pop {r4, r5, r... | Assembly |
], 16, v[a_c+86]
v_lshrrev_b32 v[v_c+11], 16, v[a_c+87]
ds_write_b16 v[v_co_sst], v[v_c+8] offset:10240 ; idword:5120(40,0), 40x0, i_mr:0, i_ms:1, i_mw:0, i_mb:1 x i_nr:0, i_ns:0, i_nw:0
ds_write_b16 v[v_co_sst], v[v_c+9] offset:10496 ; idword:5120(40,0), 40x0, i_mr:0, i_ms:1, i_mw:0, i_mb:1 x i_nr:0, i... | Assembly |
み層
"""
def __init__(self, in_channels, out_channels, kernel_size=9, dilation=1, conv='edge', act='relu',
norm=None, bias=True, stochastic=False, epsilon=0.0, r=1):
super(DyGraphConv2d, self).__init__(in_channels, out_channels, conv, act, norm, bias)
self.k = kernel_size # カーネルサ... | Python |
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '5.8.2',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../_... | HTML |
hment-url_1gmhq_89{grid-area:url}._single-challenge-editor_1gmhq_1 ._popover_1gmhq_13 ._flag-area_1gmhq_25 ._attachment-editor_1gmhq_75 ._attachment-delete_1gmhq_93,._single-challenge-editor_1gmhq_1 ._popover_1gmhq_13 ._attachment-area_1gmhq_26 ._attachment-editor_1gmhq_75 ._attachment-delete_1gmhq_93{grid-area:delete;... | CSS |
turnFactor = 1.0f;
Real turnAmount = turnFactor*maxTurnRate;
PhysicsTurningType rotating;
if (moveBackwards && !do3pointTurn) {
Coord3D backwardPos = *obj->getPosition();
backwardPos.x += -(goalPos.x - obj->getPosition()->x);
backwardPos.y += -(goalPos.y - obj->getPosition()->y);
rotating = rotateObjAround... | C++ |
odes);
sendSignal(rg, GSN_CREATE_TRIG_REQ,
signal, CreateTrigReq::SignalLength + 1, JBB);
return;
}
// seize operation record
ndbrequire(signal->getLength() == CreateTrigReq::SignalLength + 1);
const Uint32 opKey = req->getOpKey();
OpCreateTrigger opBusy;
if (! c_opCreateTr... | C++ |
instream.close()
pairpath = pairsam_path.replace('.pairsam.gz', '.pairs.gz')
if SAM:
bampath = pairsam_path.replace('.pairsam.gz', '.bam')
split_command = ['pairtools', 'split', '--output-pairs', pairpath,
'--output-sam', bampath, pairsam_path]
subprocess.check_... | Python |
``
在上面的代码中,我们有一个普通的类。 我们通过传递字符串数据来调用此类的名为`display()`的方法。
在这里,编译器不知道在参数中传递的值是否正确。 但是,让我们看看如果改用泛型类会发生什么。
```java
// using Generics
GenericsClass<Integer> list = new GenericsClass<>();
// calls method of GenericsClass
list2.display("String");
```
在上面的代码中,我们有一个泛型类。 在这里,类型参数指示该类正在处理`Integer`数据。
因此,当在参数中传递字符串数据时,编译器将生成... | Markdown |
adios)
Obx(() => getRadio<String>(
e.child,
e.value,
codec.value,
e.onChanged != null
? (v) {
e.onChanged?.call(v);
if (v != null) codec.value = v;
}
: null)),
if (code... | Dart |
of receive ////////////////////////////
declare const o: Offer<"B", ["l", [number, Close]]>;
// @dts-jest:pass:snap Promise<{ label: "l"; value: number; port: Close }>
receive<"B", ["l", [number, Close]]>(o, "B");
// @dts-jest:fail:snap Argument of type '"A"' is not assignable to parameter of type '"B"'.
receive<"B... | Typescript |
c79512652c5ec353294c7a1a3929d834678cafbf60c6c071b7d049">NVAPI_D3D_SRH_SLI_APP_CONTROLLED_INTERFRAME_CONTENT_SYNC</a> = 1,
<a class="el" href="group__dx.html#ggaf5ad712e159c79512652c5ec353294c7a42662c761d17a98fff812c5f2df74f58">NVAPI_D3D_SRH_SLI_ASK_FOR_BROADCAST_USAGE</a> = 2
}</td></tr>
<tr><td class="memItemLeft"... | HTML |
}
const prioritiesForCheck = !Array.isArray(priorities)
? [priorities]
: priorities;
for (const priority of prioritiesForCheck) {
if (mathOperatorsPriorities[operator as MathOperator] === priority) {
return true;
}
}
return false;
};
import { PokemonActionTypes } from "./pokemon.actions"... | Typescript |
-> Log.d(
this::javaClass.name,
"Validating..."
)
is SingleFileResult.Preparing
-> Log.d(
this::javaClass.name,
"Preparing..."
)
is SingleFileResult.CountingFiles
-> Log.d(
... | Kotlin |
ator]
worker_truth = truth_matrix[truth_matrix['worker'] == annotator]
k = get_k(worker_votes)
q = get_real_q(worker_truth, 'conf_mat').to_list()
# if only one human label, then q[0] and q[1] is same
if len(q) == 1:
q.append(q[0])
#... | Python |
(buttonsContainer, LayoutHelper.createLinear(LayoutHelper.MATCH_PARENT, LayoutHelper.WRAP_CONTENT, 0, 6, 0, 6, 0));
}
float muteProgress;
float mutedByAdminProgress;
@SuppressLint("DrawAllocation")
@Override
protected void onDraw(Canvas canvas) {
boolean isMute = VoIPService.getShared... | Java |
raise ValueError(f"Invalid longitude: {value}")
return float(value)
# Type checking helpers
def is_geohash_series(obj: object) -> bool:
"""Check if object is a pandas Series of geohashes."""
if not _HAS_PANDAS:
return False
from pandas import Series
return isinstance(obj, Series) ... | Python |
50);
if (keycloak?.token) return keycloak.token;
console.error('No keycloak token available');
return 'foo';
};
/**
* Use keycloak update token function to retrieve
* keycloak token
*
* @return keycloak token or empty string if keycloak
* isn't configured
*
*/
export const getParsedKeyCloakToken = async (... | Typescript |
untu 10.04 LTS 64-bit", "Ubuntu 11.04 64-bit", "Ubuntu 12.04 LTS 32-bit",
"Ubuntu 12.04 LTS 64-bit")
.transfers(openvzAllowedTransfers)
.build();
AllowedArguments xenAllowedMemorySizes = AllowedArguments.builder().allowedUnits(512, 768, 1024, 1536, 2048, 2560, 30... | Java |
.html" title="struct epic_api::OutputListing">OutputListing</a>, <a class="struct" href="struct.Error.html" title="struct epic_api::Error">Error</a>></h4></div></summary><div class="docblock"><p>Retrieves the PMMR indices based on the provided block height(s).</p>
<h1 id="arguments-6" class="section-header"><a href=... | HTML |
ic:
//! Constructor
Sample(SampleAssetSet *set, const QString &id, const QString &file);
//! Deconstructor
~Sample();
//! Returns the symbol name for this sample
QString symbolName() const;
//! Loads the asset
bool reload() override;
//! Builds the asset
bool build() override;
//! Returns the... | C++ |
2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C208%2C753%2C0%5D)
#[bitfield]
#[derive(Debug, Copy, Clone, BitfieldSpecifier)]
pub struct BSCFG {
pub bs_pre_ki: BsPreKi,
pub bs_pre_kp: BsPreKp,
pub bs_post_ki: BsPostKi,
pub bs_post_kp: BsPostKp,
pub bs_limit: BsLimit,
}
/// [AGC Control 2](http... | Rust |
nelHandler 中拿到,通过 HttpServerCodec 编解码器,Netty 已经帮我们把请求的数据转换成 HttpRequest 了。但是这个 HttpRequest 只在 ChannelHandler 中才能访问到,而处理 Cookie 通常是用户自定义的操作,并且对用户来说他是不关心 HttpRequest 的,他只需要通过 CookieManager 去获取一个 Cookie 就行了。
这种情况下,最适合的就是将 HttpRequest 对象保存在一个 ThreadLocal 中,在 CookieManager 中需要获取的时候,直接到 ThreadLocal 中去取出来就可以了,如下列代码所示:
``` j... | Markdown |
)
}
const val NORWAY_CERTIFICATE_AS_STRING =
"""-----BEGIN CERTIFICATE-----
MIIDrjCCApagAwIBAgIUZ8z5/me7+2mTkDnIYyx1dKjwYMQwDQYJKoZIhvcNAQEL
BQAwRjESMBAGA1UEAwwJbG9jYWxob3N0MQswCQYDVQQGEwJOTzESMBAGA1UECAwJ
SG9yZGFsYW5kMQ8wDQYDVQQHDAZCZXJnZW4wIBcNMjIxMTI2MTIyNjI1WhgPMzAy
MjAzMjkxMjI2MjVaMEYxEjAQBgNVBAMM... | Kotlin |
ServerSessions].size, 1)
client.goaway()
await waitGoaway
t.assert.strictEqual(fastify.server[kHttp2ServerSessions].size, 0)
client.destroy()
await fastify.close()
})
test('http/2 sessions should be removed from server[kHttp2ServerSessions] Set on frameError', async t => {
t.plan(2)
const fastify = Fasti... | JavaScript |
es-portal), is a legacy feature. Microsoft strongly recommends that new code does not use this feature.\]
The <b>Skip</b> method skips the element at the specified index.
## -parameters
### -param celt [in]
Index of the element to skip.
## -returns
Returns S_OK if successful. If the method fails, error informatio... | Markdown |
47251, 0.493964 }, { 0.698499, 0.790584 },
{ 0.451200, 0.175852 }, { 0.394435, 0.170139 }, { 0.575606, 0.139201 },
{ 0.519766, 0.637931 }, { 0.897444, 0.818441 }, { 0.660771, 0.763253 },
{ 0.210160, 0.702209 }, { 0.411656, 0.338267 }, { 0.560503, 0.445439 },
{ 0.669966, 0.767095 }, { 0.687153, 0.991888 ... | C++ |
ld hl,@treasures
@nextTreasure:
inc b
ldi a,(hl)
call checkTreasureObtained
jr c,@finishedRollingRidgeSidequest
ld a,b
cp $08
jr nz,@nextTreasure
@finishedRollingRidgeSidequest:
; If tip is for goron letter, need to check for lava juice and present
; mermaid key simultaneously, since they can be gotten in eit... | Assembly |
dProbeReturn
_input_sink_probe (GstPad * pad, GstPadProbeInfo * info, gpointer user_data)
{
GstGLVideoFlip *vf = GST_GL_VIDEO_FLIP (user_data);
if (GST_PAD_PROBE_INFO_TYPE (info) & GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) {
GstEvent *event = GST_PAD_PROBE_INFO_EVENT (info);
switch (GST_EVENT_TYPE (event)) {
... | C |
arnpkg/yarn/issues/1334
// (still open as of this comment writing)
// [Note: We tried another lighter workaround being to just remove the node_modules
// directory contained within this package after yarn add is executed. Howver subsequent
// yarn add of a different dependency just reintroduce the error... | Typescript |
if (i->left < ev->x && ev->x < i->right && ev->y <= PADDING + _marker_height*3) {
if (!(*i).prelight) {
need_expose = true;
break;
}
} else {
if ((*i).prelight) {
need_expose = true;
break;
}
}
}
if (need_expose) {
update_minitimeline ();
}
return true;
}
bool
MiniTimeline::on_... | C++ |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/*
RATING: 5 stars
Tested and works
CODE REVIEW: 12/28/22
*/
namespace PJ
{
/// <summary>
/// A UV Scroller mesh has two quads. The quads are moved along with the UV coordinates
/// to simulate endless horizontal scrolling for ... | C# |
CENT',
);
}
// v8BreakIterator also deviates from the spec around hyphens, commas and
// full stops.
final RegExp hyphenRegex = RegExp(r'\((HY|IS)\)(.*?) ÷ \[999\.0\] (DIGIT|NUMBER|SECTION|THAI|<reserved-50005>)');
if (replacement.contains(hyphenRegex)) {
replacement = replacement
... | Dart |
荐|我想买一款以上平台均支持的视频编辑软件,请问有什么好的推荐?|
|图片搜索|请描述并输出以下图片的主要内容:https://www.pexels.com/zh-cn/photo/3061214/ |
|歌曲推荐|请推荐几首类似于《Lose You To Love Me》这样风格的歌曲。|
|电视剧分类|请给出最近一年中您认为值得观看的三部美剧,并简要说明原因。|
|语音转化|请将以下语音文件转化为文字:https://vocaroo.com/1dG9tdA96jHr |
|名人情感分析|请分析以下名人的社交媒体账户最近30天内的情感倾向:@kanyewest、@elonmusk、@taylorswift13|
|电影推荐|请推荐... | Markdown |
0x6dfb2420, 0x2de2b: 0x6de3fe20,
0x2de2c: 0x6dfb2620, 0x2de2d: 0x6dc84e20, 0x2de2e: 0x6dfb2820, 0x2de2f: 0x6dfb2a20,
0x2de30: 0x6dfb2c20, 0x2de31: 0x6dfb2e20, 0x2de32: 0x6dfb3020, 0x2de33: 0x6dfb3220,
0x2de34: 0x6dfb3420, 0x2de35: 0x6dfb3620, 0x2de36: 0x6dfb3820, 0x2de37: 0x6e1db620,
0x2de38: 0x6e0e6220, 0x2de39: ... | Go |
s from 8.8.8.8: icmp_seq=1 ttl=55 time=343 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=55 time=342 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=55 time=361 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=55 time=340 ms
^C
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3002ms
rtt min/avg/max/m... | Markdown |
ente, int *el_liste, int anz_grenz, int anz_elmark_einlauf,
int anz_elmark_eli, int anz_elmark_ere, int anz_elmark_11li,
int anz_elmark_10re, int anz_elmark_15li, int anz_elmark_15re,
int anz_elmark_auslauf, int *elmark_einlauf, int *elmark_eli,
int *elmark_ere, int *elmark_11li, int *elmark_10re,
int *elmark_15li, i... | C++ |
Offset /* , littleEndian */) {
var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined);
return bytes[1] << 8 | bytes[0];
},
getInt32: function getInt32(byteOffset /* , littleEndian */) {
return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[... | JavaScript |
r=Xg(t.op);if(r&&r.customExecutor)return r.customExecutor(new Ov(t,e,n));throw TypeError("Custom op "+t.op+" is not registered.");default:throw TypeError("Unknown op '"+t.op+"'. File an issue at https://github.com/tensorflow/tfjs/issues so we can add it, or register a custom execution with tf.registerOp()")}}(t,e,n);re... | JavaScript |
ure);\n cpy2 = y2;\n }\n\n curve.setShape({\n x1: x1,\n y1: y1,\n x2: x2,\n y2: y2,\n cpx1: cpx1,\n cpy1: cpy1,\n cpx2: cpx2,\n cpy2: cpy2\n });\n curve.setStyle(lineStyleModel.getItemStyle()); // Special color, use source node color or ... | JavaScript |
00F */ lui $at, 0x800f
/* 1E2910 801F1BA0 002D0821 */ addu $at, $at, $t5
/* 1E2914 801F1BA4 240F0005 */ li $t7, 5
/* 1E2918 801F1BA8 AC2F98E0 */ sw $t7, -0x6720($at)
.L801F1BAC_ovl10:
/* 1E291C 801F1BAC 0C006291 */ jal random_soft_s32_range
/* 1E2920 801F1BB0 24040002 */ li $a0, 2
/* 1E2924 801F1BB... | Assembly |
5米;
(三)县道不少于10米;
(四)乡道不少于5米。
属于高速公路的,公路建筑控制区的范围从公路用地外缘起向外的距离标准不少于30米。
公路弯道内侧、互通立交以及平面交叉道口的建筑控制区范围根据安全视距等要求确定。
第十二条 新建、改建公路的建筑控制区的范围,应当自公路初步设计批准之日起30日内,由公路沿线县级以上地方人民政府依照本条例划定并公告。
公路建筑控制区与铁路线路安全保护区、航道保护范围、河道管理范围或者水工程管理和保护范围重叠的,经公路管理机构和铁路管理机构、航道管理机构、水行政主管部门或者流域管理机构协商后划定。
第十三条 在公路建筑控制区内,除公路保护需要外,禁止修建建筑物和地面构筑物;公路建筑控制... | Markdown |
1",
removePaths: "/app1",
expPaths: "/app2",
},
// 4
{
addPaths: "/app2,/app1",
removePaths: "/app1",
expPaths: "/app2",
},
// 5
{
addPaths: "/app1,/app2",
removePaths: "/app3",
expPaths: "/app2,/app1",
},
// 6
{
addPaths: "/app1,/app2",
removePaths: "/a... | Go |
(BuildContext context, {bool invert = false}) {
final RxBool hover = false.obs;
return InkWell(
borderRadius: BorderRadius.circular(14),
onTap: () {},
onHover: (value) => hover.value = value,
child: Obx(() => CircleAvatar(
radius: 14,
backgroundColor: hover.value
... | Dart |
#0284c7;
--liberu-gray-50: #f8fafc;
--liberu-gray-100: #f1f5f9;
--liberu-gray-200: #e2e8f0;
--liberu-gray-300: #cbd5e1;
--liberu-gray-400: #94a3b8;
--liberu-gray-500: #64748b;
--liberu-gray-600: #475569;
--liberu-gray-700: #334155;
--liberu-gray-800: #1e293b;
--liberu-gray-900: ... | CSS |
string(TARGET_DEPTH)
design = "Gaussian Pyramid TR 384"
end
end
harness{ outFile=outfile, fn=hsfn, inFile=infile, tapType=TAP_TYPE, tapValue=P.G, inSize={inputW,inputH}, outSize={outputW,outputH}, earlyOverride=9999999}
io.output("out/"..outfile..".design.txt"); io.write(design); io.close()
io.output("out/"..o... | Lua |
<td width=3D"63%" valign=3D"top" >Customer Name</td>
</tr>
<tr>
<th align=3D"left" valign=3D"top" style=3D"f=
ont-size: 12px; font-weight: bold;">Attention: </th>
<td valign=3D"top" style=3D"max-width: 100px; wor=
d-break: ... | HTML |
onCancel(arguments: Any?) {
eventSink = null
}
}
/*
* Copyright (C) 2024 Oleksii PELYKH
*
* This file is a part of the PCRE4J. The PCRE4J 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 ... | Kotlin |
true, Rarity.EPIC, LocalDate.of(0, 1, 1), set = "sadCats") {
addDefaultVariant("sad-cat-fat", ContentType.Image.PNG, Rectangle(0, 0, 900, 709))
}
createBackground("birthday2020PantufaHugoo", true, Rarity.LEGENDARY, LocalDate.of(0, 1, 1), set = "lorittaBirthday2020", createdBy = listOf("hugo... | Kotlin |
th('logout');
expect(addSpy).to.have.been.calledWith('callRtdb');
expect(addSpy).to.have.been.calledWith('getAuthUser');
});
it('Aliases getAuthUser command', () => {
const commandNames = { getAuthUser: 'testing' };
attachCustomCommands({ cy, Cypress, firebase }, { commandNames });
... | Typescript |
config.maxDate.getFullYear() ? self.currentMonth + 1 > self.config.maxDate.getMonth() : self.currentYear > self.config.maxDate.getFullYear());
}
function getDateStr(specificFormat) {
var format = specificFormat || (self.config.altInput ? self.config.altFormat : self.config.dateFormat);
return self.selectedD... | JavaScript |
, "lineCap": "round", "lineJoin": "round", "opacity": 1.0, "radius": 5, "stroke": true, "weight": 3}
).addTo(map_c85de8a8e8f13113fd47a905205f0f7e);
var popup_4fb24e6055abfda038a4a9ae2b1a2a78 = L.popup({"maxWidth": "100%"});
var html_c26f2d87923853... | HTML |
getSteps = (): Promise<IStepTrackerData> =>
new Promise(resolve => {
// Return mock data if device is iOS simulator
if (global.isIOS && DeviceInfo.isEmulatorSync()) {
resolve({
stepsToday: 17771,
stepsThisWeek: {
'2020-01-21': 7770,
'2020-01-22': 5000,
'202... | Typescript |
elsCount *
// negativeKeywordListsCount * adGroupCriteriaCount * campaignCriteriaCount
func (c *AdvertisersAuditCall) ReadMask(readMask string) *AdvertisersAuditCall {
c.urlParams_.Set("readMask", readMask)
return c
}
// Fields allows partial responses to be retrieved. See
// https://developers.google.com/gdata/docs... | Go |
0: off; 1..7: debug mode. Don't change! :-)
SPRITES_DEBUG_MODE: 0, // 0: off; 1: unlimited; 2: no collisions; 3: both. May cause problems :-)
ROM_MAX_HASH_SIZE_KB: 5120, // Maximum ROM size for Hash calculation
HARDDISK_MIN_SIZE_KB: ... | HTML |
span.cn{color:#8f5902}pre code span.co{color:#5E5E5E}pre code span.cv{color:#5E5E5E;font-style:italic}pre code span.do{color:#5E5E5E;font-style:italic}pre code span.dt{color:#AD0000}pre code span.dv{color:#AD0000}pre code span.er{color:#AD0000}pre code span.fl{color:#AD0000}pre code span.fu{color:#4758AB}pre code span... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.