content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
s_20;
CompareInfo_tB9A071DBC11AC00AF2EA2066D0C2AE1DCB1865D1 * ___compareInfo_21;
void* ___textinfo_data_22;
int32_t ___m_dataItem_23;
Calendar_tF55A785ACD277504CF0D2F2C6AD56F76C6E91BD5 * ___calendar_24;
CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F_marshaled_pinvoke* ___parent_culture_25;
int32_t ___const... | C++ |
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
全面 await/sync 調用檢查
檢查所有可能的 await 使用錯誤和方法調用問題
"""
import ast
import re
import sys
from pathlib import Path
def check_await_usage():
"""檢查 await 使用是否正確"""
print("🔍 全面 await/sync 調用檢查")
print("=" * 60)
file_path = Path("cogs/reservoir_commands... | Python |
},
NOTESKIN:LoadActor(Var "Button", "Ready Receptor") ..
{
Name = "Tap",
InitCommand = function(self)
self:animate(0):setstate(2):zoom(1):diffusealpha(0):blend("BlendMode_Add")
end,
PressCommand = function(self)
self:diffuse(color("#FFFFAA")):stoptweening():zoom(1.1):linear(0.1):diffusealpha(0.... | Lua |
using System;
using UnityEngine;
namespace StansAssets.Foundation.OperatingSystem
{
/// <summary>
/// System File browser access point.
/// </summary>
public static class FilesBrowser
{
/// <summary>
/// Open new file browser window at given path.
/// </summary>
/// ... | C# |
R3
GETUPVAL R8 4
MOVE R9 R0
GETTABLEKS R10 R7 K8 ["keyCode"]
GETTABLEKS R11 R7 K9 ["direction"]
CALL R8 3 1
JUMPIFNOT R8 [+5]
MOVE R9 R8
JUMPIF R9 [+2]
NEWTABLE R9 0 0
SETTABLE R9 R2 R6
FORGLOOP R3 2 [-14]
GETUPVAL R3 2
DUPTABLE R4 K4 [{"type", "payload"}]
LOADK R5 K10 ["UpdateMappingsForGam... | Assembly |
.
@file attribute.rs
@brief Markup attribute types
*/
//a Imports
use super::{Name, NamespaceStack};
//a Attribute
//tp Attribute
/// An [Attribute] has a [Name] and a [String] value.
///
/// They correspond to attributes in markup tags
#[derive(Clone, Eq, PartialEq, Hash, Debug)]
pub struct Attribute {
//... | Rust |
;
--contact-container-right: #0000001c;
--text-color: #161616;
--bg-shadow: #8f8f8f;
--input-text: #202020;
}
.dark {
--contact-background-color: #070600;
--contact-container: #c5c2c21a;
--contact-container-right: #6e6e6e1c;
--text-color: #d9d9d9;
--bg-shadow: #000;
--input-text: #afafaf;
}
.conta... | CSS |
ing vec2 vAoMapUv;\n#endif\n#ifdef USE_BUMPMAP\n\tvarying vec2 vBumpMapUv;\n#endif\n#ifdef USE_NORMALMAP\n\tvarying vec2 vNormalMapUv;\n#endif\n#ifdef USE_EMISSIVEMAP\n\tvarying vec2 vEmissiveMapUv;\n#endif\n#ifdef USE_METALNESSMAP\n\tvarying vec2 vMetalnessMapUv;\n#endif\n#ifdef USE_ROUGHNESSMAP\n\tvarying vec2 vRough... | JavaScript |
ameter to start is quoted, it uses that as the title
// so we pass a blank title so we can quote the file we are opening
if (appName) {
command = `start "" "${escape(appName)}"`;
}
else {
command = `start ""`;
}
brea... | Typescript |
assets();
parent = isProjectAssetRoot ? ee.rpc_convert.projectParentFromPath(parent) : ee.rpc_convert.assetIdToAssetName(parent);
return call.handle(methodRoot.listAssets(parent, params));
};
ee.data.listImages = function(parent, params, opt_callback) {
params = void 0 === params ? {} : params;
var call = new m... | JavaScript |
splay: table;
font: 20px/1em Ahem;
height: 5em;
table-layout: fixed;
width: 5em;
}
#row
{
display: table-row;
}
#cell
{
display: table-cell;
... | HTML |
.14-6.235 2.778-6.709l14.366-2.337 1.73-3.226-6.04-13.252c-1.225-2.698 1.092-6.122 4.033-6.037l14.581.508 2.298-2.794-3.345-14.203c-.677-2.884 2.253-5.809 5.137-5.137l14.2 3.348 2.8-2.303-.508-14.581c-.113-2.953 3.342-5.264 6.034-4.034l13.249 6.04 3.226-1.73 2.343-14.369c.474-2.913 4.31-4.51 6.709-2.777l11.81 8.498 3.5... | Dart |
.equals("no")) {
error("invalid vaule, needs 'yes' or 'no'");//
}
} else {
error("not found encoding decl");
}
break;
}
default: {
error("not found more pseudo attrbuites");
ok = false;
}
}
sawSpace = entityScanner.skipDeclSpaces();
}
// restore original literal v... | Java |
0x77, 0x07, 0x6d, 0x0a, 0x73, 0x18, 0xa5, 0x7d, 0x3c, 0x16, 0xc1, 0x72, 0x51, 0xb2, 0x66,
0x45, 0xdf, 0x4c, 0x2f, 0x87, 0xeb, 0xc0, 0x99, 0x2a, 0xb1, 0x77, 0xfb, 0xa5, 0x1d, 0xb9,
0x2c, 0x2a,
]);
let bobpk = PublicKey::from([
0xde, 0x9e, 0xdb, 0x7d, 0x7b, 0x7d, 0xc1, 0xb4, 0xd3,... | Rust |
.go(getUrl());
addBGChild((FrameLayout) mAgentWeb.getWebCreator().getGroup()); // 得到 AgentWeb 最底层的控件
}
}
package site.gemus.openingstartanimation;
import android.graphics.Bitmap;
import android.graphics.Camera;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graph... | Java |
// This line grabs the paragraph just created, but it would
// also grab any other elements with class 'text' in the HTML
// page.
const texts = selectAll('.text');
for (let i = 0; i < texts.length; i++) {
const paragraph = texts[i].html();
const words = paragraph.split(' ');
for (let j = 0; j ... | JavaScript |
avatarView.background = clone()
false
} ?: true
if (failed) avatarView.apply {
setPadding(0, 0, 0, 0)
background = null
}
}
}
@file:Suppress("unused")
package org.javamaster.invocationlab.admin.handler
import com.fasterxml.jackson.databind.Js... | Kotlin |
a1)+
.litA_mat3: move.l (a0)+, (a1)+
.lit8_mat3: move.l (a0)+, (a1)+
.lit6_mat3: move.l (a0)+, (a1)+
.lit4_mat3: move.l (a0)+, (a1)+
.lit2_mat3: move.l (a0)+, (a1)+
.lit0_mat3:
COPY_MATCH 3
.litF_mat3: move.l (a0)+, (a1)+
.litD_mat3: move.l (a0)+, (a1)+
.litB_mat3: move.l (a0)+, (a1)+
.lit9_mat3: ... | Assembly |
alue != 0
&& (lastAD == null
|| lastAD.AttackResult != GameLiving.eAttackResult.HitStyle
|| lastAD.Style == null
|| lastAD.Style.ID != style.OpeningRequirementValue
|| lastAD.Target != target)) // style chains are possible only on the same target
{
//DOLConsole.WriteLine(... | C# |
ransitionStyle", True)
m_oBackColorEnd = PropBag.ReadProperty("BackColorEnd", vbWindowBackground)
m_oBackColorStart = PropBag.ReadProperty("BackColorStart",
vbWindowBackground)
m_bShowFocusRect = PropBag.ReadProperty("ShowFocusRect", True)
m_bRedraw = PropBag.ReadProperty("Redraw", True)
pInitial... | HTML |
rride
int get hashCode => Object.hashAll(plan);
}
class GoalPlannerHelper {
static Avg _addToAvg(Avg base, int grade, int n) =>
Avg((base.avg * base.n + grade * n) / (base.n + n), base.n + n);
static List<T> _addToList<T>(List<T> l, T e, int n) {
if (n == 0) return l;
List<T> tmp = l;
for (int... | Dart |
1@istio.io/simple": "valueC"
//}
// Generated by: python3 security/tools/jwt/samples/gen-jwt.py tests/common/jwt/key.pem -jwks=tests/common/jwt/jwks.json
// --expire=3153600000 --iss=test-issuer-1@istio.io --sub=sub-1
// --claims=test-issuer-1@istio.io/simple:valueC
// --nestedkey=test-issuer-1@istio.io/nested --n... | Go |
index:12;width:100%;}.navbar .navbar-brand{white-space:nowrap;-ms-text-overflow:ellipsis;-o-text-overflow:ellipsis;text-overflow:ellipsis;overflow:hidden;}.navbar .navbar-custom-right-menu{float:right;}.navbar .navbar-toggle{text-decoration:none;color:#fff;width:20px;height:20px;margin-top:-4px;margin-right:17px;}.navb... | CSS |
.2.2.1.1.1.1">subscript</csymbol><ci id="A3.SS3.p1.5.m1.2.2.1.1.1.1.2.cmml" xref="A3.SS3.p1.5.m1.2.2.1.1.1.1.2">𝑏</ci><apply id="A3.SS3.p1.5.m1.2.2.1.1.1.1.3.cmml" xref="A3.SS3.p1.5.m1.2.2.1.1.1.1.3"><times id="A3.SS3.p1.5.m1.2.2.1.1.1.1.3.1.cmml" xref="A3.SS3.p1.5.m1.2.2.1.1.1.1.3.1"></times><ci id="A3.SS3.p1.5.m1.2.... | HTML |
}).then(function() {
var promise = terrainProvider.requestTileGeometry(0, 0, 0);
expect(promise).toBeDefined();
var i;
for (i = 0; i < 10; ++i) {
promise = terrainProvider.requestTileGeometry(0, 0, 0);
}
... | JavaScript |
。考虑D-brane世界模型,中微子可能受到额外维度的影响,修正项估计为:
$$\eta_{QG}^{string} \approx \frac{l_s^2}{l_P^2}\cdot\frac{E^2}{M_s^2}$$
其中$M_s$是弦能标,$l_P$是普朗克长度。
#### 4.2.2 环量子引力
在环量子引力中,空时由自旋网络描述,具有离散几何特性。中微子传播可能受到空间体积量子化的影响,导致:
$$\eta_{QG}^{LQG} \approx \alpha_{LQG} \left(\frac{E}{E_{Pl}}\right)^n \left(\frac{L}{L_{min}}\right)$$
其中$\al... | Markdown |
// The MIT License(MIT)
//
// Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors
//
// 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 withou... | C# |
{
context.Database.EnsureDeleted();
context.Database.EnsureCreated();
context.People.Add(new Person { FirstName = "John", LastName = "Doe" });
context.SaveChanges();
}
using (var context = new PersonContext())
{
... | Markdown |
')
fileMenu.Append(wx.ID_OPEN, '&Open')
fileMenu.Append(wx.ID_SAVE, '&Save')
```
在这里,我们有三个常见的菜单项:新建,打开和保存。
```py
fileMenu.AppendSeparator()
```
菜单分隔符随`AppendSeparator()`方法附加。
```py
imp = wx.Menu()
imp.Append(wx.ID_ANY, 'Import newsfeed list...')
imp.Append(wx.ID_ANY, 'Import bookmarks...')
imp.Append(wx.ID_ANY, '... | Markdown |
o = Version::At(pkg.version.clone());
if changes.from != to {
changes.to = to;
} else {
diff.remove(pkg.name.as_str());
}
} else {
insert_changes(&mut diff, Changes::from_new(pkg))
}
}
diff
}
fn insert_changes(dif... | Rust |
4 v5, v1, exec_lo
// CHECK: [0x05,0x00,0x26,0xd1,0x01,0xfd,0x00,0x00]
v_add_u16_e64 v5, v1, exec_hi
// CHECK: [0x05,0x00,0x26,0xd1,0x01,0xff,0x00,0x00]
v_add_u16_e64 v5, v1, 0
// CHECK: [0x05,0x00,0x26,0xd1,0x01,0x01,0x01,0x00]
v_add_u16_e64 v5, v1, -1
// CHECK: [0x05,0x00,0x26,0xd1,0x01,0x83,0x01,0x00]
v_add_u16_e... | Assembly |
t,get composed(){throw new Error("Not implemented")},story(r){return pu(r,this)}}}ye(du,"defineMeta");function pu(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}ye(pu,"defineStory");function Bt(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}ye(Bt,"isSto... | JavaScript |
from .chess_detection import detect_abnormal_moves, detect_cheating_pattern
from .shooting_detection import detect_aimbot, detect_wallhack, detect_script
from .game_integration import integrate_with_game
| Python |
/* 800CC008 000C7C68 38 60 00 00 */ li r3, 0
/* 800CC00C 000C7C6C 4B FE E7 E1 */ bl func_800BA7EC
/* 800CC010 000C7C70 38 03 FF FF */ addi r0, r3, -1
/* 800CC014 000C7C74 3E C0 80 48 */ lis r22, lbl_8047CE18@ha
/* 800CC018 000C7C78 54 00 10 3A */ slwi r0, r0, 2
/* 800CC01C 000C7C7C 7C 15 07 74 */ extsb r21, r0
/*... | Assembly |
em: ElementFinder) {
await allureStep(`Click on the button '${await button.locator()} and wait '${await waitElem.locator()}' `, async () => {
await w.waitUntilElementIsDisplayed(button);
await w.waitUntilElementIsClickable(button);
await button.click();
await w.wa... | Typescript |
pEndpointHandler(IOptionsMonitor<HeapDumpEndpointOptions> optionsMonitor, IHeapDumper heapDumper, ILoggerFactory loggerFactory)
{
ArgumentNullException.ThrowIfNull(optionsMonitor);
ArgumentNullException.ThrowIfNull(heapDumper);
ArgumentNullException.ThrowIfNull(loggerFactory);
_opti... | C# |
rea = event.area})
if #entities > 1 then
table.shuffle_table(entities)
end
for k, e in pairs(entities) do
add_light(e)
if k > 7 then
break
end
end
rendering.draw_sprite(
{
sprite = 'tile/lab-white',
x_scale = 32,
... | Lua |
box;
width: 100%;
height: 275px;
padding: 20px 15px 15px;
margin: 15px auto 30px;
background: transparent; }
.flot-pie-container {
height: 275px; }
.flotBar-container {
height: 275px; }
.flot-line {
width: 100%;
height: 100%;
font-size: 14px;
line-height: 1.2em; }
.legend table {
border-spac... | CSS |
"""
runs model.pt and saves patient-level preds on external test set
"""
import hydra
import wandb
import torch
from torch.utils.data import DataLoader
import pandas as pd
from utils.dataset import SinglePatientDataset
from train import get_outputs
from pathlib import Path
import os
device ='cuda' if torch.cuda.is_av... | Python |
for (x = 0; x < exsize; x++)
{
out[index][0] = img->imagedata16[z][y][4 * x];
out[index][1] = img->imagedata16[z][y][4 * x + 1];
out[index][2] = img->imagedata16[z][y][4 * x + 2];
out[index][3] = img->imagedata16[z]... | C++ |
/*
___________________________________________________________
/ __ _ \
| / _| (_) |
| | |_ _ _ ___ _ ___ _ __ |
| | _| | | / __| |/ _ \| '_ \ |
| ... | C |
(GameCube).png",
"Named_Logos/Legend of Zelda, The - Ocarina of Time (USA) (Rev 1).png",
"Named_Logos/Legend of Zelda, The - Ocarina of Time (USA) (Rev 2).png",
"Named_Logos/Legend of Zelda, The - Ocarina of Time (USA).png",
"Named_Logos/Legend of Zelda, The - Ocarina of Time - Master Quest (Europe) (GameCube)... | Lua |
1.1" xref="p3.3.m3.1.1.cmml"><mi id="p3.3.m3.1.1.2" xref="p3.3.m3.1.1.2.cmml">M</mi><mo id="p3.3.m3.1.1.1" xref="p3.3.m3.1.1.1.cmml"><</mo><mn id="p3.3.m3.1.1.3" xref="p3.3.m3.1.1.3.cmml">2</mn></mrow><annotation-xml encoding="MathML-Content" id="p3.3.m3.1b"><apply id="p3.3.m3.1.1.cmml" xref="p3.3.m3.1.1"><lt id="p3... | HTML |
icerequest-definitions.html#ServiceRequest.patientInstruction" title="ServiceRequest.patientInstruction : Instructions in terms that are understood by the patient or consumer.">patientInstruction</a><a name="ServiceRequest.patientInstruction"> </a></td><td style="vertical-align: top; text-align : left; background-color... | HTML |
0, // No immutable data
NULL, // No immutable data copy routine
NULL, // No immutable data cleanup routine
sizeof(CFileProcessLocalData),
CFileProcessLocalDataCleanupRoutine,
0, // No shared data
GENERIC_READ|G... | C++ |
with open('txt/26_3586.txt') as file:
n = int(file.readline())
trees = [list(map(int, i.split())) for i in file]
trees = sorted(trees, key=lambda x: (-x[0], x[1]))
rows = []
for tree1, tree2 in zip(trees, trees[1:]):
if tree1[0] == tree2[0]:
rows.append([tree2[1] - tree1[1] - 1, tree1[0]])
print(ma... | Python |
ty)">setProperty</A>, <A HREF="../../../../org/apache/jmeter/testelement/TestElement.html#setProperty(java.lang.String, boolean)">setProperty</A>, <A HREF="../../../../org/apache/jmeter/testelement/TestElement.html#setProperty(java.lang.String, boolean, boolean)">setProperty</A>, <A HREF="../../../../org/apache/jmeter/... | HTML |
2', '', ''},
{'200200301', '', '奏响战歌', '增加我方全体20%暴击和<color=#FFC432>10%</color>暴伤,持续2回合', '增加我方全体20%暴击和<color=#FFC432>10%</color>暴伤,持续2回合,且延长我方存在的<skillEff=强化效果>1回合', '增加我方全体20%暴击和<color=#FFC432>10%(+5%)</color>暴伤,持续2回合', '增加我方全体20%暴击和<color=#FFC432>10%(+5%)</color>暴伤,持续2回合,且延长我方存在的<skillEff=强化效果>1回合', '5', '2002003', '... | Lua |
fut.poll() {
Ok(Async::NotReady) => Ok(Async::NotReady),
Ok(Async::Ready(res)) => Ok(Async::Ready(res.into())),
Err(e) => {
let e: Error = e.into();
error!("Error in handler: {:?}", e);
Ok(Async::Ready(()))
}
}
}... | Rust |
)
.map_err(|err| Error::generic_execution_error_caused("", err))?;
match proto_id {
Some(proto_id) => Ok(Value::Object(proto_id)),
None => Ok(interpreter.intern_nil_symbol_value()),
}
}
#[cfg(test)]
mod tests {
use super::*;
#[allow(unused_imports)]
use nia_basic_assertion... | Rust |
[config.best_model_eval_metric]
old_eval_metric_value = best_state.best_eval_metric_value
if eval_metric_is_better_op(current_eval_metric_value,
old_eval_metric_value):
logging.info("%s: %s %s %s, saving new best checkpoint.",
config.best_model_... | Python |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DigitalPlatform.Drawing;
namespace dp2Circulation
{
public partial class RotateControl : UserControl
{
public ev... | C# |
.m1.2.2.3.3"><csymbol cd="ambiguous" id="A1.E26.m1.2.2.3.3.1.cmml" xref="A1.E26.m1.2.2.3.3">superscript</csymbol><apply id="A1.E26.m1.2.2.3.3.2.cmml" xref="A1.E26.m1.2.2.3.3"><csymbol cd="ambiguous" id="A1.E26.m1.2.2.3.3.2.1.cmml" xref="A1.E26.m1.2.2.3.3">subscript</csymbol><ci id="A1.E26.m1.2.2.3.3.2.2.cmml" xref="A1.... | HTML |
l IntoIterator<Item = T>,
result: T,
f: impl Fn(T) -> U,
) {
assert!(lower_upper_minus_one.into_iter().all(|i| {
if i < result {
f(i) > f(i + T::one())
} else {
f(i) <= f(i + T::one())
}
}));
}
/////////////... | Rust |
ables.TrackTable.COL_TOTAL_CHAPTERS
import eu.kanade.tachiyomi.data.database.tables.TrackTable.COL_TRACKING_URL
import eu.kanade.tachiyomi.data.database.tables.TrackTable.TABLE
class TrackTypeMapping : SQLiteTypeMapping<Track>(
TrackPutResolver(),
TrackGetResolver(),
TrackDeleteResolver()
)
cl... | Kotlin |
using System;
using System.Linq;
using Orchard.AuditTrail.Models;
using Orchard.ContentManagement;
using Orchard.Environment.Extensions;
using Orchard.Logging;
using Orchard.Services;
using Orchard.Settings;
using Orchard.Tasks;
using Orchard.Tasks.Locking.Services;
namespace Orchard.AuditTrail.Services {
[Orchar... | C# |
ck>(atomicrmwSubStatement)
checkAtomicRmwBinaryOpReplacement(atomicrmwSubStatement, "-", "old2")
val atomicrmwAndStatement = fooBody[2]
assertIs<Block>(atomicrmwAndStatement)
checkAtomicRmwBinaryOpReplacement(atomicrmwAndStatement, "&", "old3")
val atomicrmwOrStatement = fooBod... | Kotlin |
du Fléau, et serait en train de placer sa tribu, qui ne se doute de rien, parmi les rangs des morts-vivants pour une raison inconnue.",
},
[17] = {
["ZoneName"] = "Monast\195\168re \195\169carlate",
["Location"] = "Clairi\195\168re de Tirisfal",
["LevelRange"] = "34-45",
["PlayerLimit"] = "10",
["texture"] = "ScarletM... | Lua |
_header(&mut file)?;
let start_pos = file.stream_position()?;
let index = LogFile::make_index(&mut file)?;
Ok(LogFile {
file,
index,
start_pos,
})
}
fn check_header(file: &mut BufReader<File>) -> anyhow::Result<()> {
let mut header = [... | Rust |
{class="flex gap-2"}, {
luax('button', {class="formbtn", value="cancel"}, 'Cancel'),
luax('button', {class="formbtn", autoFocus=true, value="default"}, 'Confirm')
})
})
}),
luax('dialog', {class="popup generic"}, {
luax('div... | Lua |
s\]]/i},
cwa: {field:'cwa',def:'0',re:/[\[,\s]cwa:([-+]?\d+?)[,\s\]]/i},
rla: {field:'rla',def:'0',re:/[\[,\s]rla:([-+]?\d+?)[,\s\]]/i},
iba: {field:'iba',def:'0',re:/[\[,\s]iba:([-+]?\d+?)[,\s\]]/i},
numpowers: {field:'numpowers',def:0,re:/[\[,\s]ns:(=?[\d\w]+?)[,\s\]]/i},
changeTo: {field:'changeTo',def:... | JavaScript |
for _, ff in ipairs(format) do
local text = self._opts.multiline and ff.text or ff.text:gsub("[\n\r]+", " ")
local offset ---@type number? start column of the first line
local first ---@type string? first line
if ff.hl == "ts" then
local lang = item:get_lang()
if lang then
... | Lua |
pantser ooit nodig om te overleven.',
cs: 'Tato zbroj byla testována během třetí světové války. Přestože jsou tyto rukavice staré, brnění této kvality bylo kdysi nezbytné pro přežití.',
pt: 'Essa armadura foi testada em batalha durante a Terceira Grande Guerra. Embora essas luvas sejam antigas, uma armadura... | JavaScript |
inematic.journey.domain.entity.UniverseId
import com.wizbii.cinematic.journey.presentation.component.top.bar.PreviewTopBarComponent
import kotlinx.coroutines.flow.Flow
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.flowOf
import kotlinx.datetime.LocalDate
import kotlin.random.Random
cla... | Kotlin |
}
}
}
import 'package:api_explorer/services/api_request_handler.dart';
import 'package:api_explorer/services/api_service_registry.dart';
import 'package:flutter/material.dart';
import 'package:get_it/get_it.dart';
import 'package:apis/network/remote/woocommerce/store_api/product_tags_api/abstract/store_product_ta... | Dart |
heightMeasureSpec))
}
else -> {
}
}
return height
}
/**
* 测量ScaleView的宽度
*
* @param widthMeasureSpec
* @return
*/
private fun getWidthSize(widthMeasureSpec: Int): Int {
return MeasureSpec.getSize(widthMeasureSpec)
}
... | Kotlin |
头。)
</p>
<p>
(同学谈到北京有联动,武汉有几动:特动、军动……)
</p>
<p>
戚:(轻微地)哼!
</p>
<p>
(同志谈到一张保字号的反动大字报,共48张时,念:“周总理是在毛主席身边的定时炸弹……。”)
</p>
<p>
戚:(打断话)不要念了,这我看了。(这时王力接过看)
</p>
<p>
同:三字兵还说王任重“秋后算账”提的过早了,王任重是内部问题。
</p>
<p>
(王力轻微地笑。)
</p>
<p>
同:前几天在北京抓了武汉的特动,他们偷东西,搞到北京来了,
</p>
<p>
(王力笑……... | HTML |
Info == null &&
await _wifiService.requestGroupInfo() != null &&
await _wifiService.requestConnectionInfo() != null) {
// Connection is established and we have an IP.
_groupInfo = _wifiService.groupInfo;
_connectionInfo = _wifiService.connectionInfo;
// Connect to th... | Dart |
REF PALS TIL TIMO 1:1").osis()).toEqual("2Tim.1.1");
expect(p.parse("SÍÐARA BREF PALS TIL TIMÓ 1:1").osis()).toEqual("2Tim.1.1");
expect(p.parse("SÍÐARA BREF PALS TIL TÍMO 1:1").osis()).toEqual("2Tim.1.1");
expect(p.parse("SÍÐARA BREF PALS TIL TÍMÓ 1:1").osis()).toEqual("2Tim.1.1");
expect(p.parse("SÍÐARA BREF ... | Typescript |
using System;
using System.Collections.Generic;
namespace ActuarialIntelligence.Domain.Differential
{
public class nThDifferential
{
/// <summary>
/// We are employing a convention whereby the enumeration of the variable list object
/// is from right to left, where the iTh element is ... | C# |
end
----------------------------------------------------------------------------------
-- Test-code for debugging purposes below
----------------------------------------------------------------------------------
local TESTS = {
'{"a":1}',
'{"a":true}',
'{"a": false}',
'{"a": null \r\n, \t "b" \f:"ehlo"}... | Lua |
---
## #1572: KAKAさん提案:年金連動型少子化対策の追加
- 信頼度: 0.90
- 分類理由: このPRは、少子化対策として年金制度を子育てに応じて上乗せする提案であり、主に子育て支援とその環境整備に関連しています。提案の焦点は子育てによる経済的不安を軽減し、子供を育てやすくすることで少子化に対抗することにあります。このため、子育てカテゴリが最適です。
### PR内容
KAKAさんより、現行のマニフェスト「チームみらい マニフェスト ver.0.1 (超初期版)」に対し、少子化対策に関する具体的な改善提案をいただきましたので、その内容を「README.md」に追加しました。以下に提案の詳細と、その背景にあ... | Markdown |
e GNU Lesser General Public License (LGPL) Version 2.1 that
* accompanies this distribution (lgpl-v21.txt). The LGPL is also
* available at http://www.gnu.org/licenses/lgpl.html. If the version
* of the LGPL at http://www.gnu.org is different to the version of
* the LGPL accompanying this distribution and there i... | Java |
do not gain approval for your proposed projects, you’ll be expected to complete the 2D Game: **The Maze** - concept page available on top of this project.
## Tasks
### 0. Share your project proposal!
Share a link here to a Google Document where each of the following tasks are addressed.
### 1. Project name and tag... | Markdown |
NT(css_unit_len2device_px(
style, unit_len_ctx,
value, unit));
}
} else {
margin[i] = AUTO;
}
}
if (padding) {
css_fixed value = 0;
css_unit unit = CSS_UNIT_PX;
padding_funcs[i](style, &value, &unit);
if (unit == CSS_UNIT_PCT) {
padding[i] = FPCT_OF_INT_TOINT(value,
... | C |
utput id="field3" name="result">60</output>
<input type="submit" value="Calculer">
</form>
</div>
<!-- END [testcase] -->
<!-- START [test-explanation] -->
<div class="test-explanation">
NMI : The page contains at least one form with label tags
</div>
<!-- END [test-... | HTML |
ьных Волн"
L.irontide_stormcaller = "Призыватель шторма из братства Стальных Волн"
end
L = BigWigs:NewBossLocale("Council o' Captains", "ruRU")
if L then
L.crit_brew = "Критовое пиво"
L.haste_brew = "Ускоряющее пиво"
L.bad_brew = "Плохое пиво"
end
L = BigWigs:NewBossLocale("Ring of Booty", "ruRU")
if L then
-- Д... | Lua |
get its 1T ESID */
clrrdi r9,r1,40 /* get current sp 1T ESID */
ALT_MMU_FTR_SECTION_END_IFCLR(MMU_FTR_1T_SEGMENT)
clrldi. r0,r6,2 /* is new ESID c00000000? */
cmpd cr1,r6,r9 /* or is new ESID the same as current ESID? */
cror eq,4*cr1+eq,eq
beq 2f /* if yes, don't slbie it */
/* Bolt in the new stack SLB entry... | Assembly |
contains(JSONArray jsonArray, long value) {
for (int i = 0; i < jsonArray.size(); ++i) {
if (jsonArray.getLong(i) == value) {
return true;
}
}
return false;
}
/**
* 通过讨论帖子的唯一标识符获取讨论帖子对象.
*
* @param discussionThreadId - 讨论帖子的唯一标识符
* @return 对应的讨论帖子对象或空引用
*/
public D... | Java |
element.setAttribute('readonly', '')
// @ts-ignore
element.style.contain = 'strict'
element.style.position = 'absolute'
element.style.left = '-9999px'
element.style.fontSize = '12pt' // Prevent zooming on iOS
const selection = document.getSelection()
const originalRange = selection
?... | Typescript |
ag-square.png',
),
repeat: ImageRepeat.repeat,
),
),
),
],
),
);
},
),
const BottomControlPanel()
],
);
}
}
class ApiCollection {
... | Dart |
0)` 而非 `a.operator++()`。(如果是非成员重载的话,就调用 `operator++(a, 0)` 而非 `operator++(a)`。)注意到,后缀自增减表达式的重载调用会“多带一个参数”,所以为此我们需要这样做:
```cpp codemo(show)
class A {
int data;
public:
// 下面这个函数重载的是前缀自增
void operator++() {
data++;
}
// 下面这个函数重载的是后缀自增
void operator++(int) { // 这里的参数永远是 0,而且用不到;所以不用写参数名
... | Markdown |
sup id="A4.I1.ix1.p1.1.m1.4.4.1.1.1.1" xref="A4.I1.ix1.p1.1.m1.4.4.1.1.1.1.cmml"><mi id="A4.I1.ix1.p1.1.m1.4.4.1.1.1.1.2.2" xref="A4.I1.ix1.p1.1.m1.4.4.1.1.1.1.2.2.cmml">π</mi><mn id="A4.I1.ix1.p1.1.m1.4.4.1.1.1.1.2.3" xref="A4.I1.ix1.p1.1.m1.4.4.1.1.1.1.2.3.cmml">1</mn><mrow id="A4.I1.ix1.p1.1.m1.1.1.1.3" xref="A4.I1.... | HTML |
_RADIUS = 10;
const getDocumentDimensions = (): C.CanvasDimensions => ({
width: document.body.clientWidth,
height: document.body.clientHeight,
});
const getDevicePixelRatio = (): number => window.devicePixelRatio || 1;
const getCanvas: C.Render<HTMLCanvasElement> = (ctx) => () => ctx.canvas;
const setStyleDimensi... | Typescript |
-0.490289,2.4 0.08023,1.298 1.132122,1.631 3.640621,4.452 1.117859,3.109 -20.233791,-5.539 -0.570518,-0.833 -0.948487,-1.752 0.03209,-0.852 0.02318,-0.411 0.04101,-0.747 -0.105189,-0.659 -0.01605,-0.1 -2.128747,-4.563 -0.474243,-0.836 -0.914612,-1.031 -0.258517,-0.231 -0.0071,0 -0.178287,-0.02 -0.112321,-0.06 -0.17650... | JavaScript |
span class="id" title="inductive">nat</span></a> ⇒ <a class="idref" href="mathcomp.ssreflect.bigop.html#BigBody"><span class="id" title="constructor">BigBody</span></a> <span class="id" title="var">i</span> <span class="id" title="var">op</span> <span class="id" title="var">P</span>%<span class="id" title="var">B</span... | HTML |
, list: ReadonlyArray<{ [k: number]: T }>): T[];
export function pluck<P extends string>(p: P): <T>(list: ReadonlyArray<Record<P, T>>) => T[];
export function pluck(p: number): <T>(list: ReadonlyArray<{ [k: number]: T }>) => T[];
/**
* Returns a new list with the given element at the front,
* followed by the content... | Typescript |
h2V10a5.95 5.95 0 0 1 1.821-4.306 5.977 5.977 0 0 1 4.363-1.691C15.392 4.099 18 6.921 18 10.293V20h2c1.103 0 2-.897 2-2v-4c0-1.103-.897-2-2-2z"/><path d="M7 12h2v8H7zm8 0h2v8h-2z"/></svg>');
}
/*边栏工作区文档图标自定义*/
.workspace-tab-header[aria-label="侧边栏天气预报"]
.workspace-tab-header-inner-icon
> svg{
display: none;
}
.wo... | CSS |
/ AssignProperties_From_BatchAccountIdentity_UserAssignedIdentities_STATUS populates our BatchAccountIdentity_UserAssignedIdentities_STATUS from the provided source BatchAccountIdentity_UserAssignedIdentities_STATUS
func (identities *BatchAccountIdentity_UserAssignedIdentities_STATUS) AssignProperties_From_BatchAccount... | Go |
/*
* Copyright (C) 2010-2015 Marvell International Ltd.
* Copyright (C) 2002-2010 Kinoma, Inc.
*
* 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.... | C |
rs = listOf(
KeyMatcher(key = Key.DirectionUp),
).toImmutableList()
/**
* @see com.github.panpf.zoomimage.compose.common.test.zoom.KeyZoomTest.testDefaultMoveDownKeyMatchers
*/
val DefaultMoveDownKeyMatchers = listOf(
KeyMatcher(key = Key.DirectionDown)
).toImmutableList()
/**
* @see com.github.panpf.zoomi... | Kotlin |
// Copyright (C)2023 Nick Kastellanos
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Platform.Graphics.Utilities;
using nkast.Wasm.Canvas.WebGL;
namespace Microsoft.Xna.Platform.Graphics
{
internal class ConcreteRenderTa... | C# |
:true,
unique:true,
validate:{
validator(value:string):boolean{
return /[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/g.test(value)
},
message:"Invalid email addre... | Typescript |
d.disconnect(this)
child.onMinimumSizeChanged.disconnect(this)
childrenVerticalSizing?.let { child.verticalSizing = SizeFlag.FILL }
childrenHorizontalSizing?.let { child.horizontalSizing = SizeFlag.FILL }
onMinimumSizeChanged()
queueSort()
}
override fun onHierarchyCha... | Kotlin |
leForkJoinWorkerThreadFactory(this)
/**
* unwrap `DisableInheritableForkJoinWorkerThreadFactory` to the original/underneath one.
*
* @see TtlExecutors.unwrapDisableInheritableForkJoinWorkerThreadFactory
*/
@Suppress("NOTHING_TO_INLINE")
inline fun ForkJoinWorkerThreadFactory.ttlUnwrapDisableInheritableForkJoinWork... | Kotlin |
}
});
statsGraphState.hoverIndex = closest;
drawStatsGraph(statsGraphState.currentPoints.length ? statsGraphState.currentPoints : statsGraphState.renderedPoints);
if (statsTooltip && statsGraphState.data[closest]) {
const dataPoint = statsGraphState.data[closest];
const p... | HTML |
method("android/media/audiofx/Visualizer\0", "setDataCaptureListener\0", "(Landroid/media/audiofx/Visualizer$OnDataCaptureListener;IZZ)I\0");
__jni_env.call_int_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// public static final [ALREADY_EXISTS](https://de... | Rust |
# Copyright (c) OpenMMLab. All rights reserved.
import mmcv
import torch
from mmdet.models.dense_heads import YOLOFHead
def test_yolof_head_loss():
"""Tests yolof head loss when truth is empty and non-empty."""
s = 256
img_metas = [{
'img_shape': (s, s, 3),
'scale_factor': 1,
'pad... | Python |
ows
// the development team at Google to determine the popularity of the library.
// How it works: Applications that are uploaded to the Google Play Store are
// scanned for this version string. We track which applications are using it
// to measure popularity. You are free to remove it (of course) but we would
// ap... | C |
console.log("store email verified result: ", storeResult);
res.redirect(`${path.join(getBasename(), page !== undefined ? page : loginUrl)}?message=${AUTH_MESSAGE.MAILVERIFIED}`);
} else {
//console.log ("could not verify access token, ", email_confirmation,email_param);
... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.