content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
nstance<LimeLambda>()
val signatureMap = lambdas.groupBy { cppSignatureResolver.getSignature(it) }
val overloadedLambdas = signatureMap.values.filter { it.size > 1 }.flatten()
val attributeLambdas = lambdas.filter { it.attributes.have(LimeAttributeType.OVERLOADED) }
return (overloadedLam... | Kotlin |
#ifndef KEYVAL_NODE_HEADER_INCLUDED
#define KEYVAL_NODE_HEADER_INCLUDED
struct keyval_node {
/* the name of the key or section. can be NULL. */
char * name;
/* if this is a simple key-value pair, this contains the value. if this is
* a section or just a comment, the value is NULL. */
char * valu... | C |
Path: 'dashboard/post/book'
})
this.Actions.push(<IActionItem>{
FontIcon: 'icon-microphone',
Label: 'Podcast',
Path: 'dashboard/post/podcast'
})
this.Actions.push(<IActionItem>{
FontIcon: 'ic... | Typescript |
opt c+, at+, e+, n-
section overlay.text
xdef d18a_snake18_800CFD18
d18a_snake18_800CFD18:
dw 0x27BDFFE0 ; 800CFD18
dw 0xAFB00018 ; 800CFD1C
dw 0x00808021 ; 800CFD20
dw 0x14A0005A ; 800CFD24
dw 0xAFBF001C ; 800CFD28
dw 0x3C03800B ; 800CFD2C
dw 0x860208FE ; 800CFD30
dw 0x8C63BA50 ; 800CFD34
dw 0x38420002 ; 8... | Assembly |
// --------------------------------------------------------
// Dragon
// Copyright(c) 2017 SeetaTech
// Written by Ting Pan
// --------------------------------------------------------
#ifndef DRAGON_OPERATORS_NDARRAY_RESHAPE_OP_H_
#define DRAGON_OPERATORS_NDARRAY_RESHAPE_OP_H_
#include "core/operator.h"
namespace dr... | C |
}
public virtual IndexerPageableRequestChain GetSearchRequests(AlbumSearchCriteria searchCriteria)
{
throw new System.NotImplementedException();
}
public virtual IndexerPageableRequestChain GetSearchRequests(ArtistSearchCriteria searchCriteria)
{
thro... | C# |
21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,
21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21,... | C |
final usage = usagesArrayToUsage(usages);
return MatrixEmoticon(Uri.parse(url), component.client.getMatrixClient(),
packUsage: this.usage, shortcode: shortCode, usage: usage);
}).toList();
}
late Map<String, Emoticon> shortcodeToEmoticon;
late Map<String, dynamic> state;
@override
... | Dart |
StmtKind<'tcx>,
pub opt_destruction_scope: Option<region::Scope>,
}
#[derive(Debug)]
pub enum StmtKind<'tcx> {
Expr {
/// scope for this statement; may be used as lifetime of temporaries
scope: region::Scope,
/// expression being evaluated in this statement
expr: ExprId,
}... | Rust |
import socket
import threading
import hashlib
import json
HOST = '0.0.0.0'
PORT = 5000
block_data = {
"previous_hash": "0000000000000000abc123...",
"target": "00000fffffffffffffffffffffffffffffffffffffff",
"difficulty": 5
}
TOTAL_NONCE = 100_000
SEGMENT_SIZE = 20_000
worker_id = 0
def sha256d(s):
re... | Python |
ATUS_REPORT_IS_REQUESTED = 1
} PollingBit_t; ///< PollingBit_t typedef
/**
* Set last segment flag function
*
* \param lsf last segment flag
*/
void SetLastSegmentFlag (uint8_t lsf);
/**
* Get last segment flag function
*
* \returns last segment flag
*/
uint8_t GetLastSegmentFlag () ... | C |
main(): " << n << endl;
return 0;
}
```
```c
// 指针传递 (C代码)
#include <stdio.h>
void func(int *p)
{
printf("The value of n(*p) in func(): %d\n", *p);
printf("The address of n(p) in func(): 0x%x\n", p);
(*p)++;
printf("Then the value of n(*p) in func(): %d\n", *p);
}
int main()
{
int n = 0;
... | Markdown |
ration: {event['duration']}"
)
for user_id in users:
try:
context.bot.send_message(user_id[0], message)
except:
continue
def check_active_events() -> dict:
"""Check and clean up expired events."""
current_time = datetime.now()
expired = []
for e... | Python |
"bytes"
"fmt"
)
// PrimaryKeyCount return the number of primary keys in table
func PrimaryKeyCount(dbTable DbTableMeta) int {
primaryKeys := 0
for _, col := range dbTable.Columns() {
if col.IsPrimaryKey() {
primaryKeys++
}
}
return primaryKeys
}
// PrimaryKeyNames return the list of primary key names
fun... | Go |
, "jiào,jiāo"),
('挎', "kuà,kū,kōu"),
('挏', "dòng"),
('挐', "ná,rú,nú"),
('挑', "tiāo,tiǎo,táo,diào,tiáo,tiao"),
('挒', "liè"),
('挓', "zhā"),
('挔', "lǚ"),
('挕', "dié,shè"),
('挖', "wā"),
('挗', "jué"),
('挘', "liě"),
('挙', "jǔ"),
('挚', "zhì"),
('挛', "luán"),
('挜', "y... | Rust |
"vTwnG72T1upiJ/QdEERnotJxiHiPbAnA9VpBXz1FTzXglEaZiUZqVQx9hV/puzTS4zsyjuPZZN09\n" +
"jjwiX/eFF9HDLiM5Po6JTukB0ktsaaQHON/oRl7uu0b+KvJIUNHM5JFAXjeSYjUV6eEWiDzyiHfZ\n" +
"G27dl3ixXjYhD6/LUpoHArXzih53gXRiI71fJ/aFF0XYjGdLkIesujz+yK9ax+JfnrVKyq96wS4P\n" +
"3jc6m1578qyNAZ... | Java |
unt\'"; FALSE; FALSE)');
expect(Formula.parseString('= BKPER_BALANCES_TOTAL("xxx"; 1; "acc: \'some account\'")', 'pt_BR').toString()).to.eql('=BKPER_BALANCES_TOTAL("xxx"; 1; "acc: \'some account\'"; FALSE; FALSE)');
})
it('should preserve references', () => {
expect(Formula.parseString('= BKPER_TR... | Typescript |
/*
* Copyright 2001 Red Hat Inc., Durham, North Carolina.
*
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitatio... | C |
.w #24,d1 ; y
move.w #2-1,d7 ; Hur mnga siffror
bsr skrivuthex ; Skriv ut i hex
jsr exittermody
ingenoptionsfilblevladdad1:
move.w #1,mode ; mode = #0 -> Fade In
; = #1 -> Fade Out to Black
; = #2 -> Fade Out to White
moveq #1,d1 ; d1.l = #1 -> Init-registers
; #0 -> Do... | Assembly |
= await this.findById(categoryId);
this.validateCategoryExistence(category, categoryId);
const player = await this.playersService.findById(playerId);
this.playersService.validatePlayerExistence(player, playerId);
const isPlayerInCategory = await this.categoryModel.find({ _id: categoryId }).where('... | Typescript |
class ConfigEmail :
def __init__(self):
self.config = {} # 存储配置的字典
self.load_config() # 加载配置
def load_config(self):
# 加载配置
self.config = {
"emails": [
("WilliamLewisWL1987@outlook.com", "William61899... | Python |
childNode3->SetBounds({ sizeX * 3 / 4, sizeY * 3 / 4, sizeX / 3, sizeY / 3 });
childNode3->SetBackgroundColor(0xff00ffff);
childNode3->SetBackgroundBlurRadius(30);
childNode3->SetBorderStyle(0, 0, 0, 0);
childNode3->SetBorderWidth(5, 5, 5, 5);
childNode3->SetBorderColor(Vec... | C++ |
r.Parse("63395642421589016740518975608504846303065672135176650115036476193363423546538"), ECCurve.Secp256k1),
new(BigInteger.Parse("29236048674093813394523910922582374630829081423043497254162533033164154049666"), ECCurve.Secp256k1),
ECCurve.Secp256k1
), p * n);
}
... | C# |
ers.
*/
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-he... | CSS |
amily:'Gotham A','Gotham B',"Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:400;font-style:normal;margin-bottom:.5em}ul li a{color:#e50914}ol{list-style-type:decimal;margin:2em 0;padding-left:6em}ol li{color:#221f1f;font-size:1.4em;line-height:2;font-family:'Gotham A','Gotham B',"Helvetica Neue",Helvetica,Arial... | CSS |
ItemTotalNum(itemId, storeOptions.PACKET) //现在的收集
// if (dataCount != curCount) {
// bchanged = true
// }
// if (autoUpdate == true) {
// subTaskData[entryId] = curCount
// }
// }
// taskInfo.data[deal_index] = subTaskData || taskInfo.data[deal_index]
// //task.set... | Typescript |
se_tail<'def, 'r>(
name: Span<'def>,
input: Tokens<'def, 'r>,
) -> ParseResult<'def, 'r, Invoke<'def>> {
if let Ok((input, args)) = parse_args(input) {
Ok((
input,
Invoke {
invoker_opt: None,
name,
args,
method_d... | Rust |
el](https://maplibre.org/maplibre-style-spec/#layer-minzoom)
/// and [maximum zoom level](https://maplibre.org/maplibre-style-spec/#layer-maxzoom))
/// at which the layer will be rendered.
///
/// Note: For style layers using vector sources, style layers cannot be rendered at zoom levels lower than the
///... | Dart |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | C# |
teOrder", LON_LAT_ORDER)
.put("forceSpatialFilter", "NO_FILTER")
.put("allowRedirects", false)
.put("disableCnCheck", false)
.put("pollInterval", 1)
.put("disableSorting", false)
.put("supportsStartIndex", false)
.put("forceAllGeometryO... | Java |
hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-c9cf0e3c]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage... | CSS |
{
this.brewingItemStacks.set(i, PotionHelper.doReaction(itemstack, this.brewingItemStacks.get(i)));
}
itemstack.func_190918_g(1);
BlockPos blockpos = this.getPos();
if (itemstack.getItem().hasContainerItem())
{
ItemStack itemstack1 = new ItemStac... | Java |
FE289:
.size rockchip_secure_otp_ofdata_to_platdata, .-rockchip_secure_otp_ofdata_to_platdata
.section .text.rockchip_secure_otp_check_flag.isra.0,"ax",@progbits
.align 2
.type rockchip_secure_otp_check_flag.isra.0, %function
rockchip_secure_otp_check_flag.isra.0:
.LFB290:
.loc 1 149 0
.cfi_startproc
stp x29, x3... | Assembly |
${publication.version}")
}
}
val localBuildRepo: Provider<Directory> = rootProject.layout.buildDirectory.dir("repo")
publishing {
repositories {
// publish to local dir, for artifact tracking and testing
// `./gradlew publishMavenPublicationToLocalBuildRepository`
maven {
... | Kotlin |
3L);
}
@Test // DATAREDIS-438
public void geoAddSingleGeoLocation() {
assertThat(clusterConnection.geoAdd(KEY_1_BYTES, PALERMO_BYTES)).isEqualTo(1L);
}
@Test // DATAREDIS-438
public void geoDist() {
nativeConnection.geoadd(KEY_1, PALERMO.getPoint().getX(), PALERMO.getPoint().getY(), PALERMO.getName());
n... | Java |
childTop, childRight, childBottom, childLeft = getMeasures(child)
local cx
if childLeft and childLeft > p then
cx = childLeft
else
cx = p
end
local cy
if childTop and childTop > p then
cy = child... | Lua |
tx.try_send(i).is_ok());
}
assert_eq!(tx.try_send(n), Err(TrySendError::NoCapacity(n)))
}
const SIZE_RANGE: Range<usize> = 1..5;
#[test]
fn send_until_full() {
for n in SIZE_RANGE {
send_until_full_for(n);
}
}
async fn send_until_full_async_for(n: usize) {
let (mut tx, _rx) = super::chann... | Rust |
/*
ArduinoX86 Copyright 2022-2025 Daniel Balsom
https://github.com/dbalsom/arduinoX86
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the “Software”),
to deal in the Software without restriction, including without lim... | C |
` 的调用,这表明它实际上是 `uh_fault_handler` 函数。
```
▸ include/linux/uh_fault_handler.h
```
```
u64 uh_get_fault_handler(void)
{
uh_handler_list.uh_handler = (u64) & uh_fault_handler;
return (u64) & uh_handler_list;
}
```
我们可以在结构的定义中看到,错误处理程序的参数将是结构的一个实例,它包含一些 EL2 系统寄存器的值以及存储在结构中的通用寄存器。`uh_handler_list``uh_handler_d... | Markdown |
}
.gsi-sakuzuconfirm-container .frame {
width:360px;
margin-left:-180px;
margin-top:-100px;
}
/*
.gsi-sakuzuconfirm {
position:absolute;
z-index:999999;
left:0;
top:0;
bottom:0;
right:0;
background-color:rgba(0,0,0,0.5);
}
.gsi-sakuzuconfirm .frame {
position:absolute;
background:#fff;
padding:16px... | CSS |
ak256(abi.encodePacked(blockhash(block.number-1), msg.sender, block.timestamp));
return uint256(randomBytes);
}
// Mint de um NFT utilizando um número aleatório na cadeia
function mintRandomOnchain() public {
uint256 _tokenId = pickRandomUniqueId(getRandomOnchain()); // Gera um token ID usa... | Markdown |
is governed by a
// BSD-style license that can be found in the LICENSE file.
import '../../publisher/backend.dart';
import '../../publisher/models.dart';
import '../../shared/datastore.dart';
import '../backend.dart';
import '../models.dart';
import 'actions.dart';
final moderatePublisher = AdminAction(
name: 'mo... | Dart |
from django.urls import path
from . import views
urlpatterns = [
path("menu/", views.Menu_list, name="menu_list"),
path("menu_item/<str:slug>", views.item_details, name="menu_item"),
path("order/", views.order, name="order"),
path("orders/<str:slug>", views.past_orders, name="past_orders"),
]
| Python |
/",\
"packageDependencies": [\
["@typescript-eslint/visitor-keys", "npm:5.62.0"],\
["@typescript-eslint/types", "npm:5.62.0"],\
["eslint-visitor-keys", "npm:3.4.3"]\
],\
"linkType": "HARD"\
}],\
["npm:6.18.1", {\
"packageLocation": "./.yarn/cache... | JavaScript |
l || string.IsNullOrEmpty(packet.UniqueId))
{
return this.SendEmptyPacketErrorLog(networkPacket);
}
if (Server.Instance.Logices.StoryTrigger.IsCompleteableCinematic(packet.CinematicType.ToString()))
{
if (Server.Instance.Storages.Story.Com... | C# |
{},
weapon_id = {
21023
}
},
[21040] = {
name = "102mm 단장 부포",
speciality = "추적",
type = 1,
tech = 3,
descrip = "0",
value_2 = 12,
icon = "21000",
attribute_2 = "cannon",
rarity = 3,
damage = "3 x 1",
nationality = 2,
ammo = 3,
value_3 = 0,
id = 21040,
torpedo_ammo = 0,
property... | Lua |
u.iu.dsc.tws.rsched.job.Twister2Submitter;
import edu.iu.dsc.tws.task.impl.ComputeConnection;
import edu.iu.dsc.tws.task.impl.ComputeGraphBuilder;
import edu.iu.dsc.tws.task.impl.TaskWorker;
public class DataflowAddNodeExperiment extends TaskWorker {
private static final Logger LOG = Logger.getLogger(DataflowAddNod... | Java |
xpect(result, html);
});
}
String whitespaceColor(String input) => input
.replaceAll(' ', ansi.lightBlue.wrap('·')!)
.replaceAll('\t', ansi.backgroundDarkGray.wrap('\t')!);
void markdownPrintOnFailure(String markdown, String expected, String actual) {
printOnFailure("""
INPUT:
'''r
${whitespaceColor(markd... | Dart |
le = true}) => growable
? GrowableList<E>.of(elements)
: ModifiableFixedLengthList<E>.of(elements);
@patch
@pragma("wasm:prefer-inline")
factory List.generate(
int length,
E generator(int index), {
bool growable = true,
}) => growable
? GrowableList<E>.generate(length, generator)
... | Dart |
.8)
};
fadeOut.Completed += (s, _) => {
Close();
if (System.Windows.Application.Current.MainWindow is MainWindow mainWindow)
{
mainWindow.SaveNotes();
}
};
BeginAnimation(OpacityProperty, ... | C# |
# encoding: [0x00,0x00,0x00,0x00]
# CHECK-EB: break16 8 # encoding: [0x46,0x88]
# CHECK-EB: sdbbp16 14 # encoding: [0x46,0xce]
addu16 $6, $17, $4
subu16 $5, $16, $3
andi16 $16, $2, 31
and16 $16, $2
not16 $17, $3
or16 $16, $4
xor16 $17, ... | Assembly |
# Copyright (c) 2021 PaddlePaddle Authors. 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 by app... | Python |
on environnante. Ce matériau était autrefois fréquemment échangé entre des caravanes.',
hu: 'Ez a hasznos alapanyag egy tűzhányóból származik, és az azt környező földekről. Egy időben sűrűn adták-vették a karavánok.',
ru: 'Этот полезный материал происходит из большого вулкана и окружающего региона. Turim ко... | JavaScript |
($(
$(#[$meta:meta])*
$vis:vis struct $vt:ident as $rate:ident {
$( $van:ident: $vat:ty $(as $semantics:literal)? ),*
$(,)?
}
)*) => {$(
$(#[$meta])*
#[repr(C)]
#[derive(Clone, Copy, Debug, Default, PartialEq)]
$vis struct $vt {
... | Rust |
. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native cloudngfw [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
/// </summary>
public static Output<ListGlobalRulestackPred... | C# |
length
while (bits != 0) {
n = s.bl_count.get(bits)
while (n != 0) {
m = s.heap.get(--h)
if (m > max_code) continue
if (tree[m * 2 + 1] != bits) {
s.opt_len += (bits.toLong() - tree[m * 2 + 1].toLong()) * tree[m * 2].toLong()
tree[m * 2 + 1] = bits.toShort()
}
n--
}
bits--
... | Kotlin |
; else return true; }
inline hConstraint hEquation::constraint() const
{ hConstraint r; r.v = (v >> 16); return r; }
// The format for entities stored on the clipboard.
class ClipboardRequest {
public:
Request::Type type;
int extraPoints;
hStyle style;
std::string str;
std::string ... | C |
=> l.slug === slug);
if (espresso) espresso.server.emitToSocket(slug, data);
listeners.forEach((l) => {
l.callback(data);
});
}
public dispatchTrigger<T = any>(slug: string, data?: T) {
const listeners = this.listeners.filter((l) => l.slug === slug && l.triggers =... | Typescript |
())
}
if s.VnetSubnetID != "" {
agentPool.Spec.VnetSubnetReference = &genruntime.ResourceReference{
ARMID: s.VnetSubnetID,
}
}
if s.NodePublicIPPrefixID != "" {
agentPool.Spec.NodePublicIPPrefixReference = &genruntime.ResourceReference{
ARMID: s.NodePublicIPPrefixID,
}
}
if s.LinuxOSConfig != nil... | Go |
mber} = {x: 0, y: 0}) {
super();
this._x = options.x;
this._y = options.y;
}
preDraw(context: CanvasRenderingContext2D): void {
context.scale(this._x, this._y);
}
postDraw(context: CanvasRenderingContext2D): void {
context.scale(1 / this._x, 1 / this._y);
}
... | Typescript |
c! {
r#"
model A {
id String @id @default(dbgenerated()) @map("_id") @test.ObjectId
list_field String[] @test.Array(ObjectId)
}
"#
};
schema.to_owned()
}
#[connector_test(schema(oid_list))]
async fn objectid_... | Rust |
68.459818000, 3, 9,
"US-ME B12.XXX", 45.450122, -67.803610000, 3, 11,
"US-ME C12.XXX", 45.450122, -67.505184000, 4, 12,
"US-ME D12.XXX", 44.959082, -71.048522500, 3, 9,
"US-ME F12.XXX", 44.959082, -70.428728500, 3, 6,
"US-ME G12.XXX", 44.959082, -69.777728500, 3, 6,
"US-ME H12.XXX", 44.959082, -69.126728500, 3, 6,
"US-... | Dart |
0,.75);
padding: 1px 3px;
}
pre {
background-color: #f5f5f5;
display: block;
padding: (@baseline - 1) / 2;
margin: 0 0 @baseline;
line-height: @baseline;
font-size: 12px;
border: 1px solid #ccc;
border: 1px solid rgba(0,0,0,.15);
.border-radius(3px);
white-space: pre;
white-space: pre-wrap;
wo... | CSS |
/*
* id-aa-encrypKeyPref OBJECT IDENTIFIER ::= {id-aa 11}
*
*/
public static readonly DerObjectIdentifier IdAAEncrypKeyPref = new DerObjectIdentifier(IdAA + ".11");
public static readonly DerObjectIdentifier IdAASigningCertificate = new DerObjectIdentifier(IdAA + ".12");
... | C# |
ld be half of the BE0 drops.
// 13) Oversubscription AF1 and BE0 traffic 3.
// - There should be 20% of AF1 and 80% of BE0 drops.
// 14) Oversubscription BE0 and BE1 traffic 1.
// - There should be half of the BE0 drops.
// 15) Oversubscription BE0 and BE1 traffic 2.
// - There should be half of the B... | Go |
_{1}_OR_GREATER", dotnetSdk.Version.Major, 0); // "NET7_0_OR_GREATER"
options.ScriptingAPI.Defines.Add("NETCOREAPP");
AddFrameworkDefines("NETCOREAPP{0}_{1}_OR_GREATER", 3, 1); // "NETCOREAPP3_1_OR_GREATER"
AddFrameworkDefines("NETCOREAPP{0}_{1}_OR_GREATER", 2, 2);
... | C# |
�ー情報フォームのデータ
*/
export type FormData = {
readonly name: Validated<string>
readonly mailAddress: Validated<string>
readonly zipCode: Validated<string>
readonly address: Validated<string>
}
export const initialFormData: FormData = {
name: valid(''),
mailAddress: valid(''),
zipCode: valid(''),
address: v... | Typescript |
_OUT1" ,
"UART2_SIR_OUT " ,
"UART2_BAUD" ,
"UART2_RE " ,
"UART2_DE " ,
"UART2_RS485_EN" ,
"UART3_CTS" ,
"UART3_DSR" ,
"UART3_DCD" ,
"UART3_RI " ,
"UART3_SIR_IN " ,
"UART3_DTR " ,
"U... | C |
t("src_port")
if rule.get("dest_port"):
match_kwargs["tcp_dst"] = rule.get("dest_port")
elif proto == 0x11:
if rule.get("src_port"):
match_kwargs["udp_src"] = rule.get("src_port")
if rule.get("dest_port"):
... | Python |
-- netutils.lua
local ffi = require("ffi");
local netutils = require("netutils_ffi");
local core_string = require("core_string_l1_1_0");
local L = core_string.toUnicode;
local NetApiBufferAllocate = function(ByteCount)
local pBuffer = ffi.new("PVOID[1]");
local status = netutils.NetApiBufferAllocate(ByteCount, p... | Lua |
rvice(),
&p_internal,
unblocker,
&blobfs_verifier,
&finspect::Node::default(),
&Config::builder().blobfs(Mode::RebootOnFailure).build(),
)
.await;
assert_matches!(
res,
Err(MetadataError::Verify(VerifyError::Blo... | Rust |
TokenSimplePushBuilder {
fn as_ref(&self) -> &DeviceTokenSimplePush { &self.inner }
}
/// A token for Tizen Push Service
#[derive(Debug, Clone, Default, Serialize, Deserialize)]
pub struct DeviceTokenTizenPush {
#[doc(hidden)]
#[serde(rename(serialize = "@type", deserialize = "@type"))]
td_name: String,
... | Rust |
= {
cannon = {
{
1.52,
1.06,
0
}
},
vicegun = {
{
1.52,
1.06,
0
}
},
antiaircraft = {
{
1.52,
1.06,
0
}
}
},
smoke = {
{
50,
{
{
"smoke",
{
-0.3,
2.33,
0
}
}
}
}... | Lua |
PLIER number
---@field PLAYER_FRIEND_VALUE number
---@field PLAYER_GUILD_VALUE number
---@field THROTTLE_INITIAL_THRESHOLD number
---@field THROTTLE_DECAY_TIME number
---@field THROTTLE_PRIORITY_SPIKE number
---@field THROTTLE_MIN_THRESHOLD number
---@field THROTTLE_PVP_PRIORITY_NORMAL number
---@field THROTTLE... | Lua |
nregWatcher(self.onContainerDataChange_)
self.onContainerDataChange_ = nil
Z.EventMgr:Remove(Z.ConstValue.Backpack.AddItem, self.onItemChange, self)
Z.EventMgr:Remove(Z.ConstValue.Backpack.DelItem, self.onItemChange, self)
Z.EventMgr:Remove(Z.ConstValue.Backpack.ItemCountChange, self.onItemChange, self)
end
fu... | Lua |
default:
break;
}
}
private configureRouter(router: Router): void {
this.methods.forEach(method => {
this.addMethodToRouter(router, method);
});
}
}
/*!
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file ex... | Typescript |
local FaceRandomData = {
[1] = {
s = 0.41,
h = 0.05,
v = 0.9
},
[20101] = 0.5,
[20102] = 0.475,
[20103] = 0.15,
[20104] = 0.5,
[40201] = 0,
[20106] = {
s = 0.639,
h = 0,
v = 1
},
[11] = -1,
[12] = 0.1,
[13] = 0,
[14] = -0.1,
[15] = -0.1,
[16] = -0.5,
[401] = 40122... | Lua |
ENEMY_Rustling Bush|r
>>Kill the |cRXP_ENEMY_Fallenroot Poacher|r that spawns. Loot him for |T134419:0|t[|cRXP_FRIENDLY_Rune of Marksmanship|r]
.collect 206155,1 --Rune of Marksmanship (1)
.mob Rustling Bush
.mob Fallenroot Poacher
.train 410113,1
step
#season 2
.cast 402265 >>Use the |T1344... | Lua |
arstwowym:
1. Łańcuch bloków — Ethereum zawiera historię transakcji i stany kont.
2. Aktywa — [ETH](/eth/) i inne tokeny (waluty).
3. Protokoły — [inteligentne kontrakty](/glossary/#smart-contract), które zapewniają funkcjonalność, na przykład usługę pozwalającą na zdecentralizowane pożyczanie aktywów.
4. [Aplikacje](... | Markdown |
x22F96: "", // 𢾖
// 0x22F97: "", // 𢾗
// 0x22F98: "", // 𢾘
// 0x22F99: "", // 𢾙
// 0x22F9A: "", // 𢾚
// 0x22F9B: "", // 𢾛
// 0x22F9C: "", // 𢾜
0x22F9D: "wéi", // 𢾝
// 0x22F9E: "", // 𢾞
// 0x22F9F: "", // 𢾟
// 0x22FA0: "", // 𢾠
// 0x22FA1: "", // 𢾡
// 0x22FA2: "", // 𢾢
// 0x22FA3: "... | Go |
to firestore after succesful login
private updateUserData(user: User) {
console.log('Actualizando usuario...');
console.log('user :', user);
console.log('this.user :', this.user);
const userRef: AngularFirestoreDocument<User> = this.afs.doc(
`users/${user.uid}`
);
const data: User = {
... | Typescript |
file")
Eventually(startGinkgo("./_fixtures/coverage_fixture", "-cover", "-nodes=4")).Should(gexec.Exit(0))
parallelCoverProfileOutput, err := exec.Command("go", "tool", "cover", "-func=./_fixtures/coverage_fixture/coverage_fixture.coverprofile").CombinedOutput()
Ω(err).ShouldNot(HaveOccurred())
Ω(parallelCov... | Go |
z1.s, z7.s[3]
mls z0.b, p7/m, z1.b, z31.b
mls z0.d, p7/m, z1.d, z31.d
mls z0.d, z1.d, z7.d[1]
mls z0.h, p7/m, z1.h, z31.h
mls z0.h, z1.h, z7.h[7]
mls z0.s, p7/m, z1.s, z31.s
mls z0.s, z1.s, z7.s[3]
mov p0.b, p0.b
mov p0.b, p0/m, p0.b
mov p0.b, p0/z, p0.b
mov p15.b, p15.b
mov p15.b, p15/m, p15.b
mov p15.b, p15/z, p15.b
... | Assembly |
e void OnNavigatedFrom(object? sender, NavigationEventArgs e)
{
DestoryDataContext();
}
private void DestoryDataContext()
{
if (DataContext is SearchPageViewModel disposable)
{
disposable.Dispose();
}
DataContext = null;
}
private DataContex... | C# |
alViewport!.height! * dpr,
);
final ui.Size computed = provider.computePhysicalSize();
expect(computed, expected);
});
});
group('computeKeyboardInsets', () {
late FullPageDimensionsProvider provider;
setUp(() {
provider = FullPageDimensionsProvider();
});
test('from... | Dart |
ffd8d70e50a540077795e5c2c/README.md#L83-L110 */
/****************************** REMARK HIGHLIGHT ******************************/
.remark-highlight {
border: 1px solid #dddddd;
border-radius: 0.3em;
margin: 0.5em 0;
overflow: auto;
}
.remark-highlight pre[class*='language-'] {
background-color: transparent;
... | CSS |
: TeamMember
): TeamTimeLineEntry => ({
type: TimeLineEntryKind.NewTeamMemberNotice,
shortTitle:
user.status === "creator"
? `The adventure begins - ${moment(user.joinDate).format("DD/MM/YYYY")}`
: `New member - ${moment(user.joinDate).format("DD/MM/YYYY")}`,
date: user.joinDate,
entry: user,
})... | Typescript |
1, 0, 0, 0, 0])
x = x_pad.permute(0, 2, 3, 1).contiguous()[grid_batch, grid_x, grid_y].permute(0, 3, 1, 2)
return x
def rand_cutout(x, param):
ratio = param.ratio_cutout
cutout_size = int(x.size(2) * ratio + 0.5), int(x.size(3) * ratio + 0.5)
set_seed_DiffAug(param)
offset_x = torch.randint(0,... | Python |
C1 extends C {}
class C2<U1> extends C {}
class D1<V2, U2> extends D<V2, U2> {}
class D2<V3> extends D<int, V3> {}
class D3<U3> extends D<U3, int> {}
class D4 extends D<bool, bool> {}
exhaustiveLevel0<T1>(A<T1> a) {
/*
checkingOrder={A<T1>,B<T1>,C,D<dynamic, dynamic>,B1<T1>,B2,C1,C2<dynamic>,D1<dynamic, dyn... | Dart |
// Loop through byValue and make sure the buckets are sorted by counter
// Since we don't do insertion sort, we have to do it afterwards
for (const bucket of filterCache.byValue) {
bucket[1].sort(sortByIds)
}
if (op === `$ne` || op === `$nin`) {
postIndexingMetaSetupNeNin(filterCache)
} else if ([`... | Typescript |
this.comments = 0,
this.createdAt = 0,
this.updatedAt = 0,
this.abonnes = 0,
this.compteTarif = 0,
this.popularite = 0.0,
this.votre_solde = 0.0,
this.latitude = 0.0,
this.longitude = 0.0,
this.isBlocked = false,
this.isVerify = false,
this.isConn... | Dart |
(KeyL) -> linux:38 (KEY_L) -> atset1:38 */
"KeyM": 0x32, /* html:KeyM (KeyM) -> linux:50 (KEY_M) -> atset1:50 */
"KeyN": 0x31, /* html:KeyN (KeyN) -> linux:49 (KEY_N) -> atset1:49 */
"KeyO": 0x18, /* html:KeyO (KeyO) -> linux:24 (KEY_O) -> atset1:24 */
"KeyP": 0x19, /* html:KeyP (KeyP) -> linux:25 (KEY_P) -> a... | JavaScript |
OLD_CASE_DEFAULT)) {
latinToLower = LatinCase::TO_LOWER_NORMAL;
} else {
latinToLower = LatinCase::TO_LOWER_TR_LT;
}
const UTrie2 *trie = ucase_getTrie();
int32_t prev = srcStart;
int32_t srcIndex = srcStart;
for (;;) {
// fast path for simple cases
int32_t cpStar... | C++ |
-0x7ffff4a8
lui ra,0x80000
srli a4,ra,0x7
lui t2,0x1000
beq a4,t2,test_2905
j fail
test_2905:
lui gp,0x1
addi gp,gp,-1191 # _start-0x7ffff4a7
lui ra,0x80000
srli a4,ra,0xe
lui t2,0x20
beq a4,t2,test_2906
j fail
test_2906:
lui gp,0x1
addi gp,gp,-1190 # _start-0x7ffff4a6
lui ra,0x80000
addi ra,ra,1 # _end+0xffff5f31
sr... | Assembly |
tion-top #mnl:after,
.nav-function-minify #mnl:after,
.mod-hide-nav-icons #mnl:after, .mod-skin-dark #mhc:after,
.mod-skin-dark #mcbg:after,
.mod-skin-dark #mdn:after, .nav-function-top #nfh:after, .nav-function-top #mhni:after,
.nav-function-minify #mhni:after {
display: block;
position: absolute;
background: #f... | CSS |
}
}
None
}
fn run(&mut self) -> Result<PackageOutPaths, File> {
self.calculator.find()
}
}
type PackageOutPaths = HashMap<PackageArch, OutPath>;
#[derive(Debug, PartialEq, Hash, Eq, Clone)]
pub struct PackageArch {
pub package: Package,
pub architecture: Architectur... | Rust |
(evt.button), 0, 0);
break;
case DIET_KEYPRESS:
posted +=
SDL_PrivateKeyboard(SDL_PRESSED,
DirectFB_TranslateKey
(evt.key_id, evt.key_symbol,
... | C |
and(type4);
let param15 = operandIndex++;
model.addOperand(type4);
let op41 = operandIndex++;
model.addOperand(type8);
model.setOperandValue(op21, new Int8Array(op21_value));
model.setOperandValue(op31, new Int32Array(op31_value));
model.setOperandValue(param8, new Int32Array([0]));
mo... | JavaScript |
mêmes qualités.$B$BPendant la bataille, vous apprendrez à former une équipe de combat avec votre familier. Au terme de votre entraînement, vous aurez appris à ne faire qu\'un avec lui ; un seul corps, utilisant les mêmes muscles, les mêmes idées.$B$BVoici un Bâtonnet de domptage, $N. Domptez un Traqueur des prairies et... | Lua |
public m21: number,
public m22: number,
public m31: number,
public m32: number) {
}
get() {
return [
this.m11, this.m12,
this.m21, this.m22,
this.m31, this.m32
];
}
clone() {
return new float3x2(
... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.