content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Method methodA = ReflectAccess.class.getDeclaredMethod("a", null);
Method methodB = ReflectAccess.class.getDeclaredMethod("b", null);
Method methodC = ReflectAccess.class.getDeclaredMethod("c", null);
Field fieldD = ReflectAccess.class.getDeclaredField("d");
Field fieldE = ReflectAccess.class.getD... | Java |
)
{
CommandLine.AppendFormat(" -v net.tcpsize={0}", Options.TcpBufferSize);
}
CommandLine.Append(" sync");
if(bForce)
{
CommandLine.AppendFormat(" -f");
}
if(Options != null && Options.NumThreads > 1)
{
CommandLine.AppendFormat(" --parallel=threads={0}", Options... | C# |
ile_paths["chapter_summary"])
return data.get("summaries", {})
def write_chapter_summaries(self, summaries):
"""写入章节概要"""
data = {"summaries": summaries}
return self.write_json_file(self.file_paths["chapter_summary"], data)
def get_chapter_summary(self, chapter_num):
... | Python |
require 'nn'
require 'Dropout'
print '==> testing backprop with Jacobian (finite element)'
-- to test the module, we need to freeze the randomness,
-- as the Jacobian tester expects the output of a module
-- to be deterministic...
-- so the code is the same, except that we only generate
-- the random noise once, for ... | Lua |
, target_instances: list) -> float:
pattern = r"<box>(.*?)</box>"
matches = re.findall(pattern, predict_str, re.DOTALL)
all_boxes = []
for match in matches:
box = match.strip()
coord_pattern = r'\[(\d+),(\d+),(\d+),(\d+)\]'
coord_match = re.match(co... | Python |
以修复此漏洞。
**项目地址:** [W01fh4cker/ScreenConnect-AuthBypass-RCE](https://github.com/W01fh4cker/ScreenConnect-AuthBypass-RCE)
**漏洞详情:** [CVE-2024-1709](https://nvd.nist.gov/vuln/detail/CVE-2024-1709)## CVE-2018-16763-FUEL CMS-远程代码执行
**漏洞编号:** CVE-2018-16763
**漏洞类型:** 远程代码执行
**影响应用:** FUEL CMS
**危害等级:** 高危,可能导致服务器完全控制
... | Markdown |
nger)(de).png",
"Named_Snaps/Lone Raider, The (1983)(Atari)(GB).png",
"Named_Snaps/Lone Raider, The (1985)(Atari)(GB)[a].png",
"Named_Snaps/Lone Raider, The (1985)(Atari)(GB)[k-file].png",
"Named_Snaps/Lone Raider, The (1985)(Atari)(GB).png",
"Named_Snaps/Lord of Darkness (19xx)(The Elb)(de).png",
"Named_Sn... | Lua |
n this.words[0] = 0;\n this.length = 1;\n }\n\n var carry = 0;\n for (i = this.length - 1; i >= 0 && (carry !== 0 || i >= h); i--) {\n var word = this.words[i] | 0;\n this.words[i] = (carry << (26 - r)) | (word >>> r);\n carry = word & mask;\n }\n\n // Push carried bits as a mask... | JavaScript |
ndmarker results, only on the initial face detection, hence
* the <code>fd</code> (face detection) prefix.
* </pre>
*
* <code>.google.cloud.vision.v1p4beta1.BoundingPoly fd_bounding_poly = 2;</code>
*/
com.google.cloud.vision.v1p4beta1.BoundingPolyOrBuilder getFdBoundingPolyOrBuilder();
... | Java |
578 00007378 90 01 00 14 */ stw r0, 0x14(r1)
/* 8000A57C 0000737C 4B FF B7 41 */ bl func_80005CBC
/* 8000A580 00007380 80 01 00 14 */ lwz r0, 0x14(r1)
/* 8000A584 00007384 80 63 00 44 */ lwz r3, 0x44(r3)
/* 8000A588 00007388 7C 08 03 A6 */ mtlr r0
/* 8000A58C 0000738C 38 21 00 10 */ addi r1, r1, 0x10
/* 8000A590 ... | Assembly |
D+V0fOO6s8s9Smqw48Qyfbch3F+Tsln0yD+gKeZFFgUkHothvW3HM5la8xRSOOvBG3LI81FYyZUiqRJqkiXJUWDPdjLVVBrxMtr9Pp3IWyebxlqRfDbU7hQReW5SZaJlmFT7iv/BWfjzRPJowodiQDBRljConsQsciG2eZBm/H4cr2OpH2WSIJOJWxuHk3pDacqD0/SMz7CPkyEk8dzIuUsdrR9mVWKqgugnxVtxhIxQiMad3BVqcyOrBRy9LhFRk6k/JF/KbnNaGz5QXr7yuz0bObqLTFDzxC5FAgIkTZZ/VbgiIDxR8AMKszKS/ZEs... | HTML |
context object, but it's already destroyed
if (!receiver)
return;
// a long-living version of this
auto result = new QHostInfoResult(this);
Q_CHECK_PTR(result);
QMetaObject::invokeMethod(result,
&QHostInfoResult::finalizePostResultsReady,
... | C++ |
import bpy
from ...base_types.base_node import CustomNode
# from ...redrawViewport import Draw
float_category = ['SdfNodeSocketFloat', 'SdfNodeSocketPositiveFloat']
class FloatInputNode(bpy.types.Node, CustomNode):
'''A simple input node'''
bl_idname = 'FloatInput'
bl_label = 'Float'
bl_icon = 'FIL... | Python |
5384);
ctx.f13.f64 = double(temp.f32);
// lfs f0,756(r4)
temp.u32 = PPC_LOAD_U32(ctx.r4.u32 + 756);
f0.f64 = double(temp.f32);
// lfs f5,2680(r3)
temp.u32 = PPC_LOAD_U32(ctx.r3.u32 + 2680);
ctx.f5.f64 = double(temp.f32);
loc_82D219FC:
// lfs f9,-8(r30)
ctx.fpscr.disableFlushMode();
temp.u32 = PPC_LOAD_U32(r30... | C++ |
d10a2a02 tstle sl, r2, lsl #20
1c4: 43457960 cmpmi r5, #1572864
1c8: 79a00a2d stmvcib r0!, {r0, r2, r3, r5, r9, fp}
1cc: d80d4285 stmleda sp, {r0, r2, r7, r9, lr}
1d0: d0ec1c05 rscle r1, ip, r5, lsl #24
1d4: 70263e01 eorvc r3, r6, r1, lsl #28
1d8: 2a03e008 bcs f8200 <MUSICPLAYER_STA... | Assembly |
FmtCmd(),
schemaInspectCmd(),
unsupportedCommand("schema", "test"),
unsupportedCommand("schema", "plan"),
unsupportedCommand("schema", "push"),
)
Root.AddCommand(schemaCmd)
migrateCmd := migrateCmd()
migrateCmd.AddCommand(
migrateApplyCmd(),
migrateDiffCmd(),
migrateHashCmd(),
migrateImportCmd(),
... | Go |
{
final vertex = vertexData[i];
pipeline.vertex.setVertex(
index + i,
position: vertex.$1,
normal: vertex.$2,
lineLength: vertex.$3,
widthStartValue: width_start_value,
widthEndValue: width_end_value,
);
}
return index + vertexData.length;
}
... | Dart |
e();
}
else {
this.mute();
} // El metodo pausa al HTMLMediaElement(al video)
}
} //Clase (recordar que en JS no hay clases)
export default MediaPlayer;import { addMonths, subHours } from 'date-fns';
import { calculateNextPayAt } from '../../utils/scheduled-payments';
describe... | Typescript |
OdsError::Chrono(err)
}
}
impl From<std::time::SystemTimeError> for OdsError {
fn from(err: std::time::SystemTimeError) -> OdsError {
OdsError::SystemTime(err)
}
}
impl From<std::str::Utf8Error> for OdsError {
fn from(err: std::str::Utf8Error) -> OdsError {
OdsError::Utf8(err)
... | Rust |
_input_accessor[0].domain.lo()[i] ==
my_output_accessor[0].domain.lo()[i]);
}
assert(my_weight_accessor[0].domain.hi()[0] -
my_weight_accessor[0].domain.lo()[0] ==
my_output_accessor[0].domain.hi()[0] -
my_output_accessor[... | C++ |
rifle_ammo_icon_2", Color(200, 200, 155))
killicon.Add("ammo_scrap", "zombiesurvival/killicons/scrap_ammo_icon", Color(150, 150, 150))
killicon.Add("ammo_smg", "zombiesurvival/killicons/smg_ammo_icon_2", Color(180, 180, 255))
killicon.Add("ammo_explosive", "zombiesurvival/killicons/explosive_ammo_icon_2", Color(250, 15... | Lua |
return WorkspaceEdit((b) => b
..changes = {
uri: [
TextEdit((b) => b
..newText = 'bar\nbar\n'
..range = Range((b) => b
..start = Position((b) => b
..line = 0
..character = 0)
..end = Positio... | Dart |
(
prefix = "tsc",
namespace = "tsc: http://www.onvif.org/ver10/schedule/wsdl"
)]
pub struct GetSchedulesResponse {
// List of schedule items.
#[yaserde(prefix = "tsc", rename = "Schedule")]
pub schedule: Vec<Schedule>,
}
impl Validate for GetSchedulesResponse {}
#[derive(Default, PartialEq, Debug,... | Rust |
nlyLeaf.scss",
"type": "File",
"attributes": {
"rloc": 400.0,
"functions": 10.0,
"mcc": 100.0,
"pairingRate": 32.0,
"avgCommits": 17.0
},
"link": "",
"children": []
},
{
... | Markdown |
ame, const char *pw, int64_t salt, char *pwh) {
iwrc rc = 0;
JQL q = 0;
int64_t llv;
RCC(rc, finish, jql_create(&q, "users", "/[name = :?] | count"));
RCC(rc, finish, jql_set_str(q, 0, 0, name));
RCC(rc, finish, ejdb_count(g_env.db, q, &llv, 1));
if (llv == 0) {
rc = _system_user_add(name, pw, salt, p... | C |
LOAD_LIGHT) to avoid unnecessary dependencies
client_helper.get_rt(sid, 4, -1, NULL);
}
void tair_client::do_rt(VSTRING ¶ms) {
if (params.empty() || params.size() > 2) {
fprintf(stderr, "rt <IP:Port> <opcode>\n");
return;
}
int opcode = -1;
if (params.size() == 2) {
opco... | C++ |
ached(NPC, NPCInfo->goalEntity, 16, !!FlyingCreature(NPC)) ||
( NPCInfo->squadState == SQUAD_SCOUT && enemyLOS && enemyDist <= 10000 ) )
{
//int newSquadState = SQUAD_STAND_AND_SHOOT;
//we got where we wanted to go, set timers based on why we were running
switch ( NPCInfo->squadState )
{
case SQUAD_... | C++ |
using FrooxEngine;
using HarmonyLib;
using Restrainite.RestrictionTypes.Base;
namespace Restrainite.Patches;
[HarmonyPatch]
internal static class PreventOpeningDash
{
internal static void Initialize()
{
Restrictions.PreventOpeningDash.OnChanged += OnChanged;
}
private static void OnChanged(IR... | C# |
$B啊,还有一件事。我们在泥链镇的地精盟友给我传来消息,他们认为黑龙军团可能与烧毁旅店有关。有道理,为了公平起见,这件事我们一会儿再查。",
["O"] = "在尘泥沼泽的树荫旅店和蕨墙村之间的路上与卡古隆会面。",
["T"] = "乏味的外交",
},
[40583] = {
["D"] = "你在地面上发现了一片看起来很茂盛、生机勃勃的叶子。触摸叶子会给你一种奇怪的感觉,叶片也没有枯萎的迹象。或许血蹄村的德鲁伊训练师会知道更多?",
["O"] = "将神秘树叶交给莫高雷血蹄村的根妮亚·符文图腾。",
["T"] = "好奇的叶子",
},
[40584] = {
... | Lua |
sMarkdown h6,
p.DocsMarkdown--small-header {
font-size: 0.875em;
}
.DocsMarkdown ul {
list-style: disc;
}
.DocsMarkdown ol,
.DocsMarkdown ul {
padding-left: 1.25em;
}
.DocsMarkdown li {
margin-bottom: 0.5em;
}
.DocsMarkdown ol ol,
.DocsMarkdown ol ul,
.DocsMarkdown ul ol,
.DocsMarkdown ul ul {
m... | CSS |
assignedTargetingOption': assignedTargetingOption!,
if (lineItemId != null) 'lineItemId': lineItemId!,
};
}
/// Settings that control how budget is allocated.
typedef LineItemBudget = $LineItemBudget;
/// Settings that control the active duration of a line item.
class LineItemFlight {
/// The flight start and... | Dart |
);
float b = 0.03f+0.57f*Math.max(0f, (float)Math.sin( time + 4/Math.PI/2 ));
if (hp.scale.x > 0.75f) {
hpText.hardlight( TITLE_COLOR );
} else if (hp.scale.x > 0.35f){
hpText.hardlight( CYELLOW );
} else {
hpText.hardlight( r,g,b );
hpText.text(health + "+" + shield + "/" + max);
... | Java |
06 09:31:29',
'recommend': true,
'recom_type': '热门',
'rewardable': true,
'reward_list_prefix': [],
'rewards': '0',
'rqt_id': '7f35fa915780a55900b9d37f03996a40',
'shares': 29,
'site': {
'description': '资深人像摄影师',
'domain': '',
'followers': 2548,
... | Dart |
-react {
--fa: "\f41b";
}
.fa-autoprefixer {
--fa: "\f41c";
}
.fa-less {
--fa: "\f41d";
}
.fa-sass {
--fa: "\f41e";
}
.fa-vuejs {
--fa: "\f41f";
}
.fa-angular {
--fa: "\f420";
}
.fa-aviato {
--fa: "\f421";
}
.fa-ember {
--fa: "\f423";
}
.fa-gitter {
--fa: "\f426";
}
.fa-hooli {
--fa: "\f427... | CSS |
FunctionParam: ParseFunc = (src) => {
// TODO: Merge token
const node = new ParseNode(ParseNodeType.SEG_FUNCTION_PARAM_LIST, src.get());
const emptyRParen = src.get();
if (emptyRParen === null || emptyRParen.type === TokenType.DIM_R_PAREN) {
// empty list (maybe incomplete)
return node;
}
while (t... | Typescript |
tName, setFirstName] = useState(initName);
const [lastName, setLastName] = useState("Yardley");
return (
<Button onClick={() => setFirstName("Fred")}>Fred</Button>
);
}
```
我们在条件语句中调用了 useState 函数,让我们看看它对整个系统造成的破坏。
### 糟糕组件的首次渲染

到此为止,我们的变量 firstName 与 ... | Markdown |
IM^{\\dagger}\\) & \\(LPIPS^{\\ddagger}\\) & **Size (MB)\\({}^{\\ddagger}\\)** \\\\ \\hline Gaussians & 27.21 & 0.815 & 0.214 & 734 \\\\ \\hline GES w/o approx. \\(\\phi_{\\rho}\\) & 11.60 & 0.345 & 0.684 & 364 \\\\ GES w/o shape reset & 26.57 & 0.788 & 0.257 & 374 \\\\ GES w/o \\(\\mathcal{L}_{\\omega}\\) loss & 27.07... | HTML |
6CC400 8007D638 07006214 */ bne $v1, $v0, .Llevel_62_8007D658
/* 56CC404 8007D63C 0C00A426 */ addiu $a0, $s5, 0xC
.Llevel_62_8007D640:
/* 56CC408 8007D640 0880023C */ lui $v0, %hi(g_Spyro + 0x80)
/* 56CC40C 8007D644 D88A428C */ lw $v0, %lo(g_Spyro + 0x80)($v0)
/* 56CC410 8007D648 00000000... | Assembly |
Bflflme0l7qJCIDMgzwCvtQmcSZpECi82rTiECBTVsWbHi/pl9kdtzgT20bGW/xA5gNcc/K4bOAh8D8DdD3/kPygplhVLoL9Q+TPnESlUFdTV9rPOIgLw0f1HQRv9rjpE8I63EYDpAF5D8LuAP2j5o7GpSkMn/UNXvlfaZtxCa3Oh8lcAWWk7C9yzjpEFmAes2X3ZY2dIKNNm+feWA3hC8FeASNuS9QxZNbeOTfur38i6edkxI2BnVFc7kyPWPnO8yvhntI0m9WOSwBGQRy7g6P4skWwEMDiASfDjzTFdxX5m3f4CYCNyyCzwicZIkQU... | JavaScript |
# relative humidity (%) which is what ROMS expects
#
# INPUT:
# P in hectaPascal or millibar
# T in Celcius
# Q in kg kg-1
#
# OUTPUT:
# RH in percent
#
# all equations come from Chapter 4 of
# http://www.wmo.int/pages/prog/www/IMOP/publications/CIMO-Guide/
... | Python |
professorData[`Coordination ${counter}`] = '';
professorData[`Email ${counter}`] = '';
counter++;
}
}
for (const event of moduleGroup.events) {
const eventData = {
Dia: this._weekDayToString(event.weekDay),
... | Typescript |
le)
new NPCLock(226, 18, 1, 127), // Mantine (F) (Bashful)
]);
public static readonly TeamLock XSableye = new(
302, // Sableye
[
new NPCLock(342, 24, 0, 127), // Crawdaunt (M) (Quirky)
new NPCLock(279, 06, 1, 127), // Pelipper (F) (Docile)
new... | C# |
import logging
import logging.config
import traceback
import os
logger=None
level= logging.DEBUG
os.makedirs("logs", exist_ok=True)
logging.config.dictConfig(
{
"version": 1,
"disable_existing_loggers": True,
"formatters": {
"default": {
"class": "logging.Formatt... | Python |
tocol = "geneve";
ND_PRINT("Geneve");
if (len < 8) {
ND_PRINT(" [length %u < 8]", len);
nd_print_invalid(ndo);
return;
}
ND_TCHECK_8(bp);
ver_opt = GET_U_1(bp);
bp += 1;
len -= 1;
version = ver_opt >> VER_SHIFT;
if (version != 0) {
ND_PRINT(" ERROR... | C |
bitstring<8>>().unpack(bref));
break;
case types::subbands9:
HANDLE_CODE(c.get<fixed_bitstring<9>>().unpack(bref));
break;
case types::subbands10:
HANDLE_CODE(c.get<fixed_bitstring<10>>().unpack(bref));
break;
case types::subbands11:
HANDLE_CODE(c.get<fixed_bitstring<11>>... | C++ |
NAME == 'Log' || METHOD_NAME == 'Log_php'}active open{/if}">
<a href="#">
<span class="menu-content block">
<span class="menu-icon">
<i class="block fa fa-cube fa-lg"></i>
</span>
<span class="text m-left-sm">日志</span>
<span class="submenu-icon"></span>
</span... | HTML |
Female"],lmF$fitted,col="red",lwd=3)
</code></pre>
<div class="rimage center"><img src="fig/unnamed-chunk-4.png" class="plot" /></div>
</article>
<!-- Presenter Notes -->
</slide>
<slide class="" id="slide-10" style="background:;">
<hgroup>
<h2>Two lines, same slope</h2>
</hgroup>
... | HTML |
ing: {}, health: {})",
getNodeStateString(state_.load()),
logdevice::toString(status_),
blacklisted_.load(),
gossip_,
RecordTimestamp(gossip_ts_).toString(),
RecordTimestamp(failover_).toString(),
is_node_starting_,
static_cast<int>(status_));
}
void FailureDetector::shu... | C++ |
def is_interactive_env() -> bool:
"""Determine if running within IPython or Jupyter."""
import sys
return hasattr(sys, "ps2")
| Python |
value Value.
*/
void UpdateTestValue(int64_t key, const std::string& value)
{
UpdateTestValue(stmt, key, value);
}
/**
* Update test string value in cache and make all the neccessary checks.
*
* @param stmt Statement.
* @param key Key.
* @param value Value.
*... | C++ |
PATH_OMITS_ASSEMBLY_ROOT 2
#define DLL_REDIRECT_PATH_EXPAND 4
#define DLL_REDIRECT_PATH_SYSTEM_DEFAULT_REDIRECTED_SYSTEM32_DLL 8
#ifdef _WIN64
static inline TEB64 *NtCurrentTeb64(void) { return NULL; }
#else
static inline TEB64 *NtCurrentTeb64(void) { return (TEB64... | C |
1 2
1 3
2 0
2 1
2 0
```
样例输出
```
3
NULL
```
```python
from collections import deque
for _ in range(int(input())):
n=int(input())
q=deque([])
for i in range(n):
a,b=map(int,input().split())
if a==1:
q.append(b)
else:
if b==0:
q.popleft()
... | Markdown |
}
break;
case 'skewY':
if (array.length == 1) {
currentTransform.set(
1, 0, 0, Math.tan(array[0] * Math.PI / 180), 1, 0, 0, 0, 1);
}
break;
case 'matrix':
if (array.length... | Dart |
is.newWave);
this.timer.resume();
}
newWave = () => {
this.activeDoor = this.getRandomDoor();
l("door open!");
this.activeDoor.state = 1;
this.counter++;
this.zombieCounter = Math.floor(Math.exp(this.counter) * 0.5);
l("spawncount: " + this.zombieCounter)... | Typescript |
# encoding: utf-8
"""
Functions for identifying isolate (degree zero) nodes.
"""
# Copyright (C) 2004-2011 by
# Aric Hagberg <hagberg@lanl.gov>
# Dan Schult <dschult@colgate.edu>
# Pieter Swart <swart@lanl.gov>
# All rights reserved.
# BSD license.
import networkx as nx
__author__ = """\n""".join(['D... | Python |
numRepeated))
.rep_string(list("124", numRepeated))
.rep_bytes(list(bytes, numRepeated))
.rep_nested_enum(list(AllTypes.NestedEnum.A, numRepeated))
.rep_nested_message(list(nestedMessage, numRepeated))
.pack_int32(list(111, numRepeated))
.pack_uint32(list(112, numRepeated))
.p... | Kotlin |
#coding = utf-8
"""
泡沫紅茶店 0.1
1. 茶種 紅 綠 清 抹 烏龍
2. 配料 珍珠 粉圓 百香 檸檬 梅子
3. 糖量 少糖 3/4, 半糖 1/2 微糖 1/4
4. 冰量 去冰 少冰
"""
p_8336_7a2e_v = {"紅茶":15,"綠茶":15, "清茶":15, "抹茶":15, \
"烏龍":15, "奶茶":20, "奶綠":20} #字典
p_914d_6599_v = {"珍珠":5, "粉圓":5, "百香":5, "檸檬":5, "梅子":5}
p_7cd6_91cf_v = ["少糖","半糖","微糖"] #列表
p_51b0_91cf_v = [... | Python |
.cke_dialog_forms_select_order div.cke_dialog_ui_input_select {
width: 100%
}
.cke_dialog_forms_select_order_txtsize .cke_dialog_ui_hbox_last {
padding-top: 4px
}
.cke_dialog_image_url .cke_dialog_ui_hbox_last,
.cke_dialog_flash_url .cke_dialog_ui_hbox_last {
vertical-align: bottom
}
a.cke_dialog_ui_button.ck... | CSS |
123Z
var start = new Date(Date.UTC(2010, 10, 27, 18, 19, 15, 123));
// ISO 8601: 2011-12-27T18:19:15.123Z
var end = new Date(Date.UTC(2011, 11, 27, 18, 19, 15, 123));
var filter = new OpenLayers.Filter.Comparison({
type: OpenLayers.Filter.Comparison.BETWEEN,
pro... | HTML |
option, sort, or, source, as...) */
boolean printDeprecated = true;
/** logger from log4j */
//private static Logger logger = LogManager.getLogger(SparqlCorese.class);
private static Logger logger = LoggerFactory.getLogger(SparqlCorese.class);
/** To show some printings */
boolean ... | Java |
new Journal("First working group held", 1974),
new Journal("Congress approved funding and project began", 1977),
new Journal("Grinding of primary mirror began", 1978),
new Journal("Astronauts began training for servicing missions", 1979),
new Journa... | C# |
public static FluidType CHLOROCALCITE_CLEANED;
public static FluidType POTASSIUM_CHLORIDE;
public static FluidType CALCIUM_CHLORIDE;
public static FluidType CALCIUM_SOLUTION;
public static FluidType SMOKE;
public static FluidType SMOKE_LEADED;
public static FluidType SMOKE_POISON;
public static FluidType HELIUM4... | Java |
shift_cor, smps_overlap_lowbound, aps_fit_highbound)
merge_data_cor_dn, density_cor_dn, _ = _merge_data(*merge_arg, 'mobility', _alg_type=alg_type)
density_cor_dn.columns = ['density']
fitness_typ[alg_type].append(_fitness_func(merge_data_cor_dn, density_cor_dn, df_pm2... | Python |
.route, inclusive = true)
.build()
activity.navigate(KiwixDestination.Library.route, navOptions)
})
}
activity.enableLeftDrawer()
openPageInBookFromNavigationArguments()
}
@Suppress("MagicNumber")
private fun openPageInBookFromNavigationArguments() {
showProgressBarWithPro... | Kotlin |
attention}#1#{} и {C:attention}#2#{}",
}
}
}
},
misc = {
dictionary = {
k_sleeve = "Рукав",
k_sleeves = "Рукава",
gald_sleeves = "Выберите Рукав",
gald_random_sleeve = "Случайный Рукав",
sleeve_unique_effect_... | Lua |
assert.Equal(t, "string", nouncOption.Type())
assert.Equal(t, "bool", copyLinksOption.Type())
assert.Equal(t, "bool", caseInsensitiveOption.Type())
}
func TestOptionFlagName(t *testing.T) {
assert.Equal(t, "local-nounc", nouncOption.FlagName("local"))
assert.Equal(t, "copy-links", copyLinksOption.FlagName("local"... | Go |
# gcc ejercicio1.s -no-pie
.data
fmt: .asciz "%ld\n"
fmh: .asciz "%#x\n"
i: .quad 0xdeadbeef
.text
.global main
main:
movq $fmt, %rdi # el primer argumento es el formato
movq $1234, %rsi # el valor a imprimir
xorq %rax, %rax # cantidad de valores de punto flotante
call printf
# "El valor de rsp"
movq $fmt,... | Assembly |
cr\u00E9er une URL \u00E0 partir de : {0}"},
{ WG_CANNOT_LOAD_REQUESTED_DOC,
"Impossible de charger le document demand\u00E9 : {0}"},
{ WG_CANNOT_FIND_COLLATOR,
"Collator introuvable pour <sort xml:lang={0}"},
{ WG_FUNCTIONS_SHOULD_USE_URL,
"Ancienne syntaxe : l''instruction de la fonc... | Java |
展,我们采取了会内会外相结合、领导与群众相结合的方法,靠思想发动、靠群众、靠算账,造成两个声势:一个是非算不可、彻底算清的声势;一个是自动交代、彻底交代,争取和党一条心的声势。一方面紧紧依靠生产小队的骨干,发动他们提线索、谈疑点,搞清问题。同时发动在村群众派代表到会上来提要求、摆账目,向大会送信。五云核算单位(公社的基点)已结清账目,向大会报喜。有的社员把分得的现款拿出来,在会上现身说法,湖塘核算单位派来了八个代表,向大会提出要算十七笔账。另一方面,公社抓住时机,对核算单位干部加强思想教育,进行个别交谈、小组商量,反复交代党的政策,表明领导态度。对自动交代问题的,进行表扬鼓励,抓住典型,有一个鼓励一个,有一点鼓励一点,消除他们的顾虑... | HTML |
end
if self.isScriptLoaded then
self.parent.physics:disable()
end
if self.processData.callbacks ~= nil and self.processData.callbacks.onBeforeModelCopy ~= nil then
self.processData.callbacks.onBeforeModelCopy(self.parent.characterData, self.isScriptLoaded)
... | Lua |
pty_moov+delay_moov -flags cgop -sc_threshold 0 -c:v copy -c:a copy -f mp4 pipe:1");
}
[Test]
public void Resize_Image_Test()
{
var height = 200;
var videoInputFile = new VideoInputFile(
"/test/input/file.png",
new List<VideoStream>
{
... | C# |
_player_position(&mut self, new_position: Option<Position>) {
self.player_position = new_position;
}
pub fn construct_level(&mut self, level: usize) -> (Vec<Tile>, Vec<RefCell<Box<dyn Object>>>) {
let mut tiles = vec![];
let (terrains, objects, player_position) = LEVELS[level];
... | Rust |
)
{
var location = questionToken.GetLocation();
var rawInfos = ArrayBuilder<DiagnosticInfo>.GetInstance();
GetRawDiagnosticInfos(binder, questionToken, rawInfos);
foreach (var rawInfo in rawInfos)
{
var info = (type.HasValue) ? new Laz... | C# |
ize_t grainSize = cfg::divideGrainSize;
#if !USECONCVEC
static mutex_t insertMutex;
#endif // USECONCVEC
SplitByCP_buf(point_t _p1, point_t _p2, const pointVec_t &_initialSet, pointVec_t &_reducedSet)
: p1(_p1),
p2(_p2),
initialSet(_initialSet),
reducedSet(... | C++ |
->getPositiveDefiniteNormalEqMatrix();
long long int* ipiv = NULL;
if( !positiveDefinite ){
ipiv = new long long int[numDataTotal_64];
}
long long int ierr(0);
if( positiveDefinite ){
ierr = LAPACKE_dpptrf( LAPACK_COL_MAJOR, 'L', numDataTotal_64, matrixToBeInverted );
}
else{
ierr = LAPACKE_dspt... | C++ |
�市, 冯基平 - 1956-7-14 - CCRD 中国当代政治运动史数据库
</title>
<link href="../../../../Emblem_of_the_PCP-Shining_Path.svg.ico" rel="icon" type="image/x-icon"/>
</head>
<body>
<meta content="冯基平关于在全市进一步处理反革命分子问题的报告" property="title"/>
<meta content="1956-7-14" property="date"/>
<meta content="北京市, 冯基平" property="authors"/... | HTML |
variants = null;
if (!variantsByPass.TryGetValue(sv.passType, out variants)){
variants = new List<ShaderVariantCollection.ShaderVariant>();
variantsByPass.Add(sv.passType, variants);
... | C# |
lement that haven\'t children like hr', () => {
const element: HTMLElement = document.createElement('hr');
expect(domTreeStringify.serializeNode(element)).toEqual(
`<hr />`
);
});
it('serialize special element that haven\'t children like input', () => {
const element: HTMLElement = document.c... | Typescript |
abled = newIsEnabled;
if (isEnabled) {
origin = getMousePos(display);
setGeometry({origin, {}});
// We raise the window as a workaround for qtile, which as of
// version 0.21.0 honors neither override_redirect nor
// _NET_WM_STATE_ABOVE.
XMapRaised(display, window);
... | C++ |
// Projeto: Motor Tributario
// Biblioteca C# para Cálculos Tributários Do Brasil
// NF-e, NFC-e, CT-e, SAT-Fiscal
// ... | C# |
const UCHAR *value, UINT value_len);
```
**Description**
<p>Appends the UTF-8 text value (as a JSON string) into the buffer.</p>
**Parameters**
| Name | Description |
| - |:-|
| json_writer_ptr [in] | A pointer to an #NX_AZURE_IOT_JSON_WRITER. |
| value [in] | Pointer of UCHAR buffer that cont... | Markdown |
******************************/
/* Data TLB miss */
START_EXCEPTION(data_tlb_miss_htw)
TLB_MISS_PROLOG
/* Now we handle the fault proper. We only save DEAR in normal
* fault case since that's the only interesting values here.
* We could probably also optimize by not saving SRR0/1 in the
* linear mapping cas... | Assembly |
ture::test]
#[allow(unused)]
async fn perf_test() {
const TEST_PATH: &str =
"/tmp/fluvio-large-data/spu-logs-5002/longevity-0/00000000000000000000.log";
println!("starting test");
let write_time = Instant::now();
let last_offset = validate(&TEST_PATH).await.expect("v... | Rust |
string ext = Path.GetExtension(datItemName);
datItemName = datItemName.Substring(0, usableLength - ext.Length) + ext;
}
}
// Set the fields back, if necessary
machine.SetName(machineName);
machine.SetFieldValue<string?>(Data.... | C# |
fana_admin = true
# The Grafana organization database id, optional, if left out the default org (id 1) will be used
# org_id = 1
[[servers.group_mappings]]
group_dn = "cn=users,dc=grafana,dc=org"
org_role = "Editor"
[[servers.group_mappings]]
# If you want to match all (or no ldap groups) then you can use wildcard
gr... | Markdown |
break something in the kernel. JHH
*/
#define NET_ETHER_MIN_BYTES 64
#define NET_ETHER_MAX_BYTES 1514
/*
* Definitions of known ethernet packet types (from rfc990, except for SPRITE
* and TRAIL).
*/
#define NET_ETHER_PUP 0x0200
#define NET_ETHER_PUP_ADDR_TRANS 0x0201
#define NET_ETHER_XNS_IDP 0x0600
#define N... | C |
Fsd::create(off_reg, reg, RVImmediate::create(0)));
// logger::INFO("fsd case 2: ", call->to_string());
}
}
float_cur++;
} else { // 整数/指针参数
if (int_cur < 8) {
auto *tmp_reg = allocate_register();
auto *reg ... | C++ |
raise:-3.0pt'><!--[if gte vml 1]><v:shape id="_x0000_i1108" type="#_x0000_t75"
style='width:32.25pt;height:12pt' o:ole="" fillcolor="window">
<v:imagedata src="equation-1.docx_files/image156.wmz" o:title=""/>
</v:shape><![endif]--><![if !vml]><img width=43 height=16
src="equation-1.docx_files/image157.gif" v:... | HTML |
MoveAlongMenuItemList(MENU_UP * m_iNumVisibleLines - 1, 0);
}
}
else
{
MoveAlongMenuItemList(MENU_UP, 0);
}
if ( m_MenuItems.IsValidIndex( m_iCurrentlySelectedItemID ) )
{
m_MenuItems[m_iCurrentlySelectedItemID]->ArmItem();
}
break;
}
case KEY_PAGEDOWN:
{
if ( m_iNu... | C++ |
⣺</span></strong><span lang=EN-US
style='font-size:11.0pt;font-family:'></span></p>
</td>
<td width=991 style='width:743.0pt;padding:0cm 0cm 0cm 0cm;height:11.35pt'>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:'>ǿ<span
lang=EN-US>-1</span><span lang=EN-US>+2</span>־<span lang=EN-US>+2</span><... | HTML |
;
E1M3 = 2;
MAP01 = 1;
MAP02 = 1;
MAP03 = 1;
}
</pre>
<br />
<b class="fat">maplumpnames</b> (structure)<br />
This structure describes the lumps that make up the complete map, including scripts and nodes. It must also indicate what Doom Builder is supposed to do with these lumps and/or where the lumps come f... | HTML |
main_mode_breadcrumb_wrap,
#mmbw_loptions { border-bottom: 1px solid #323438; padding: 15px; background: #202224; }
.main_mode_submode { color: #777c80; font-size: 14px; font-weight: 900; line-height: 26px; text-align: center; text-transform: uppercase}
.main_mode_submode.left { float: left; }
.main_mode_submode.r... | CSS |
xt.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
Get(ctx context.Context, name string, opts metav1.GetOptions) (*multiclusterv1.GameServerAllocationPolicy, error)
List(ctx context.Context, opts metav1.ListOptions) (*multiclusterv1.GameServerAllocationPolicyList, error)
Watch(ctx context.Cont... | Go |
receivedHeure= new EventEmitter<string>();
this.receivedTemp= new EventEmitter<string>();
this.receivedIcon= new EventEmitter<string>();
this.receivedDesc= new EventEmitter<string>();
this.receivedLocation= new EventEmitter<string>();
this.receivedPluv= new EventEmitter<string>()... | Typescript |
if cfg.row_shader then
row.bgshid = pipeworld_shader_setup(bg, "ui", cfg.row_shader, "active")
end
if not popup then
spawn_anchor(ctx, row)
row_mouse(ctx, row)
end
row:set_label()
show_image(row.bg)
-- spawn the new reference cell, guard against it being destroyed on creation or
-- not possible to create ... | Lua |
unc() {
cArgs := defaultApproveArgs.WithArgs(
contractAddr, []string{staking.DelegateMsg}, big.NewInt(1e18),
)
s.SetupApprovalWithContractCalls(cArgs)
})
It("should delegate when not exceeding the allowance", func() {
cArgs := defaultDelegateArgs.WithArgs(
s.address, valAddr.String(), b... | Go |
on independent part
let magic = buf.read_u32::<LittleEndian>()?;
if magic != SK_MAGIC {
bail!(
"bad control file magic: {:X}, expected {:X}",
magic,
SK_MAGIC
);
}
let version = buf.read_u32::<LittleEndian>()?;
... | Rust |
vbxrN8y8NmBGuScvfaAFPDRLLmF9dijscilIeUcE5fuDr3fKanvNFNb0+RqE4QG
tjICxFKuItLcsiFCGtpA8CnJ7AoMXOLQusxI0zcKzBIKinmwPQN/aUv0NCB9szTq
jktk9T79syNnFQ0EuPAtwQlRPLJsFfClI9eDdOTlLsn+mCdCxqvGnrDQWzilm1De
fhiYtUU79nm06PcaewaD+9CL2rvHvRirCG88gGtAPxkZumWK5r7VXNM21+9AUiRg
OGcEMeyP84LG3rlV8zsxkVrctQgVrXYlCg17LofiDKYGvCYQbTed7N14jHyAx... | Go |
" \"id\": 119,\n" +
" \"beginOffset\": 1792,\n" +
" \"endOffset\": 1796,\n" +
" \"score\": 0.99676347,\n" +
" \"text\": \"SKIN\",\n" +
" \"category\": \"ANATOMY\",\n" +
" \"type\": \"SYSTEM_ORGAN_SITE\",\n" +
" \"traits\": []\n" +
" },\n... | Java |
es a
single standard DWARF3 expression. Conventions w.r.t regs and fbGX
are as for ML_(evaluate_GX). If push_initial_zero is True, then an
initial zero word is pushed on the evaluation stack at the start.
This is needed for computing structure field offsets. Note that
ML_(evaluate_GX) and ML_(evaluate... | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.