content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
c3c3c3c3c3c3c3c3c3c3c3c3c4c38393839303243333655544f3734303831323246313230343135395a45313834323236423c3c3c3c3c3130"
.parseHex();
dg1 = EfDG1.fromBytes(tvDG1TD3);
expect(dg1.toBytes(), tvDG1TD3);
expect(dg1.mrz.version, MRZVersion.td3);
expect(dg1.mrz.documentCode, 'P');
expect(dg1.mrz.doc... | Dart |
| | | ",
" | | | ",
" |___|___| YEEEHAH COWBOY! ",
" `|---|---|' ",
" *| | |* ",
" |_._|_._| ",
" /' /|\\ '\\ SOMEONE POISONED... | Lua |
eyou:volist}
</div>
{eyou:if condition="!in_array($eyou.field.status, $eyou.StatusArr)"}
<div class="el-row tr mt10 mb20 p10 bor-5">
<a href="JavaScript:void(0);" data-url="{$eyou.field.CancelUrl}" data-id="{$eyou.field.service_id}" onclick="cancelSer... | HTML |
h the entity recognizer. A tag is a key-value pair
/// that adds as a metadata to a resource used by Amazon Comprehend. For
/// example, a tag with "Sales" as the key might be added to a resource to
/// indicate its use by the sales department.
///
/// Parameter [versionName] :
/// The version name given to... | Dart |
/// Copied from Dart SDK
class _SystemHash {
_SystemHash._();
static int combine(int hash, int value) {
// ignore: parameter_assignments
hash = 0x1fffffff & (hash + value);
// ignore: parameter_assignments
hash = 0x1fffffff & (hash + ((0x0007ffff & hash) << 10));
return hash ^ (hash >> 6);
}
... | Dart |
as core.Map<core.String, core.dynamic>,
)
: null,
savingsLifetime:
json_.containsKey('savingsLifetime')
? Money.fromJson(
json_['savingsLifetime']
as core.Map<core.String, core.dynamic>,
)
... | Dart |
。
## 第七章 长三角区域数据合作
第七十二条 本市按照国家部署,协同长三角区域其他省建设全国一体化大数据中心体系长三角国家枢纽节点,优化数据中心和存算资源布局,引导数据中心集约化、规模化、绿色化发展,推动算力、数据、应用资源集约化和服务化创新,全面支撑长三角区域各行业数字化升级和产业数字化转型。
第七十三条 本市与长三角区域其他省共同开展长三角区域数据标准化体系建设,按照区域数据共享需要,共同建立数据资源目录、基础库、专题库、主题库、数据共享、数据质量和安全管理等基础性标准和规范,促进数据资源共享和利用。
第七十四条 本市依托全国一体化政务服务平台建设长三角数据共享交换平台,支撑长三角区域数据共享共用、业务协同和场景应... | Markdown |
}/function/${dp.configuration.generatedFunctionsFolder}/${tickDirectory}/${tickFunction.name}.mcfunction")
generateZip()
}
package io.github.ayfri.kore.features
import io.github.ayfri.kore.DataPack
import io.github.ayfri.kore.arguments.chatcomponents.textComponent
import io.github.ayfri.kore.assertions.assertsIs
impo... | Kotlin |
77ff;--color-main-disabled: #af6963;--color-primary: #2a94ff;--color-primary-dark: #1f8ee5;--color-primary-light: #e6f7ff;--color-warning: #faad14;--color-warning-dark: #d0a50f;--color-warning-light: #fffbe6;--color-success: #5eb95e;--color-success-dark: #4c9b4c;--color-success-light: #f6ffed;--color-error: #e22c08;--c... | CSS |
federation'
honor_labels: true
metrics_path: '/federate'
params:
'match[]':
- '{job="node-exporter"}' # Выбираем метрики только от node-exporter
- '{__name__=~"up|process_cpu_usage"}' # Дополнительные метрики
static_configs:
- targets:
- 'ip_address:9090' # Ад... | Markdown |
mTargetX = targetX;
mTargetY = targetY;
mValueAnimator = ValueAnimator.ofFloat(0f, 1f);
mValueAnimator.addUpdateListener(
new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueA... | Java |
eted({})", key)
},
TryBusEvent::NoData => {
write!(f, "no-data")
}
}
}
}
impl<D> PartialEq<TryBusEvent<D>>
for TryBusEvent<D>
where D: PartialEq<D>,
Dao<D>: PartialEq<Dao<D>>
{
fn eq(&self, other: &TryBusEvent<D>) -> bool {
match self {... | Rust |
cent.com/document/product/460/84734
func CreateSmartCoverTemplate() {
c := getClient()
rand.Seed(time.Now().UnixNano())
createTplOpt := &cos.CreateMediaSmartCoverTemplateOptions{
Tag: "SmartCover",
Name: "SmartCover-" + strconv.Itoa(rand.Intn(100)),
SmartCover: &cos.NodeSmartCover{
Format: "jpg",... | Go |
import matplotlib.pyplot as plt
import numpy as np
x = np.arange(1.920, 2.08, 0.001);
p1 = x**9 -18*x**8 + 144*x**7 -672*x**6 + 2016*x**5 -4032*x**4 + 5376*x**3 -4608*x**2 + 2304*x - 512
p2 = (x-2)**9
plt.plot(x, p1, label = "p1(x)")
plt.plot(x, p2, label = "p2(x)")
plt.legend()
plt.show()
| Python |
sjm5_dat = sjm1_data_m_io[sjm_wr1_m_io][i];
!!# !if (i%4 == 0) IJ_printf (sjm_5, " ");
!!# IJ_printf ("diag.j", 1035, sjm_5, "0x%08x ",sjm5_dat);
!!# if ((i+1)%4 == 0) {
!!# IJ_printf ("dia... | Assembly |
размеры","title":"Свойства изображения","titleButton":"Свойства изображения-кнопки","upload":"Загрузить","urlMissing":"Не указана ссылка на изображение.","vSpace":"Вертик. отступ","validateBorder":"Размер границ должен быть задан числом.","validateHSpace":"Горизонтальный отступ должен быть задан числом.","validateVSpa... | JavaScript |
,
_table_name: &str,
_expected_rows_per_query: u32,
) -> u32 {
let rows_read = self.run_counting_query(r"SELECT variable_name, variable_value from PERFORMANCE_SCHEMA.SESSION_STATUS where Variable_name = 'Innodb_rows_read'");
// Note: we explicitly do not call `get_count_of_rows_... | Rust |
reset_button = gr.Button(value="Reset")
run_button = gr.Button(value="Run")
delete_last_drag_button = gr.Button(value="Delete last drag")
delete_last_step_button = gr.Button(value="Delete last step")
with gr.Column(scale=7):
with gr.Row():
with ... | Python |
ModeTransparent":"ڕۆشن","windowModeWindow":"پەنجەره"},"font":{"fontSize":{"label":"گەورەیی","voiceLabel":"گەورەیی فۆنت","panelTitle":"گەورەیی فۆنت"},"label":"فۆنت","panelTitle":"ناوی فۆنت","voiceLabel":"فۆنت"},"forms":{"button":{"title":"خاسیەتی دوگمە","text":"(نرخی) دەق","type":"جۆر","typeBtn":"دوگمە","typeSbm":"بنێرە... | JavaScript |
a>
</li>
<li>OmSetMetadata()
: <a class="el" href="group__settings.html#gac706936179db9a75f27d2ee71361a522">omapi.h</a>
</li>
<li>OmSetSessionId()
: <a class="el" href="group__settings.html#ga17e5d4d0d4c5a4f78d2b61bcf633fcd5">omapi.h</a>
</li>
<li>OmSetTime()
: <a class="el" href="group__device__status.html#ga86748ef90... | HTML |
uper.o_NameForDebugger(self) + " = " + baseName
}
override fun o_ObjectTypeVariant(self: AvailObject) = variant
override fun o_ShowValueInNameForDebugger(self: AvailObject) = false
override fun o_TypeIntersection(
self: AvailObject,
another: A_Type
): A_Type = when {
self.isSubtypeOf(another) -> self
an... | Kotlin |
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include <migraphx/register_target.hpp>
#include <migraphx/verify.hpp>
#include <onnx_test.hpp>
... | C++ |
enderStyle;
void Serialize (FArchive &);
};
// [RH] MapThing flags.
enum EMapThingFlags
{
/*
MTF_EASY = 0x0001, // The skill flags are no longer used directly.
MTF_MEDIUM = 0x0002,
MTF_HARD = 0x0004,
*/
MTF_SKILLMASK = 0x0007,
MTF_SKILLSHIFT = 1, // Skill bits will be shifted 1 bit to the left to ... | C |
local Token = {}
local tokens = {}
local counter = 200
local alternative_counter = 20000
local custom_prefix = 'comfy_'
--- Assigns a unique id for the given var.
-- This function cannot be called after on_init() or on_load() has run as that is a desync risk.
-- Typically this is used to register functions, so the i... | Lua |
,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,r.u_ratio),u_device_pixel_ratio:new t.Uniform1f(e,r.u_device_pixel_ratio),u_units_to_pixels:new t.Uniform2f(e,r.u_units_to_pixels)}},lineGradient:function(e,r){return{u_matrix:new t.UniformMatrix4f(e,r.u_matrix),u_ratio:new t.Uniform1f(e,... | JavaScript |
class="timestamp">2025-06-02 19:34:10</span><h2>🎯 BotDecisionTactica</h2><p>Decisión táctica (Usuario: knuckles_only).</p><pre>{
"event_id": "EVT-SEL-20250602193356-0004",
"user_decision": "knuckles_only",
"target_destinations": [
"LogDB",
"Knuckles"
],
"alert_payload_to_send": {
"event_id": "EV... | HTML |
#1,ticktack(a5)
cmp ticktack(a5),d0
bhi.b .nope
clr ticktack(a5)
move.b uiRefreshSignal(a5),d1
bsr signalit
.nope
* YET ANOTHER TEST!
tst.b playing(a5)
beq .notPlaying4
tst.b vbtimeruse(a5)
bne.b .eir
* Yes we are still playing and actually using CIA-timers
* Check if user wants to fast forward.
move... | Assembly |
else {
i = r.count() - 1;
d = -1;
}
PsiAccount *acc = nullptr;
if ((psi->edb()->features() & EDB::SeparateAccounts) == 0) {
acc = psi->contactList()->getAccount(acc_);
Q_ASSERT(acc);
}
bool fAllContacts = jid_.isEmpty();
while (i >= 0 && i < r.count()) {
... | C++ |
located at the position of the containing {@link Entity}.
* <p>
* <div align='center'>
* <img src='Images/Label.png' width='400' height='300' /><br />
* Example labels
* </div>
* </p>
* @alias LabelGraphics
* @constructor
* @param {Object} [options] Object with the following properties:
* @param {Pr... | Typescript |
tory,
mocksRepository: MocksRepository,
modelSettings: ModelSettings,
@Lazy modelService: ModelService,
temporalService: AtomTemporalWorkflowService,
mcpoAuthService: MCPOAuthService,
) = UseCasesMcpClientFactory(mcpMockServerRepository, mockFunctionRepository, mocksRepositor... | Kotlin |
mbal(num)
if num > 4 then
return numSymbals[4]
else
return numSymbals[num]
end
end
--获取timeLogo
local function timeLogo(t)
t = t or os.time()
local timeNow = os.time()
if type(t) == type(timeNow) then
timeNow = t
end
local hourValue = os.date("%H",timeNow)
local minValue=tonumber(os.date("%M",timeNow))... | Lua |
1c,0xf0,0x1c]
fcoml 485498096
// CHECK: fcoml 64(%edx,%eax)
// CHECK: encoding: [0xdc,0x54,0x02,0x40]
fcoml 64(%edx,%eax)
// CHECK: fcoml (%edx)
// CHECK: encoding: [0xdc,0x12]
fcoml (%edx)
// CHECK: fcompl -485498096(%edx,%eax,4)
// CHECK: encoding: [0xdc,0x9c,0x82,0x10,0xe3,0x0f,0xe3]... | Assembly |
xAudioProxies + 1)) then
self.nNumThunder = 1;
end
local oAudioThunder = self.aAudioThunders[self.nNumThunder];
oAudioThunder.fDistance = toCameraDistance;
oAudioThunder.vStrikeOffset.x = self.vStrikeOffset.x;
oAudioThunder.vStrikeOffset.y = self.vStrikeOffset.y;
oAudioThunder.vStrikeOffse... | Lua |
ry-with-vegetables-and-chicken-357090.json)
* [Scallop And Vegetable Stir Fry 2564](../../index/s/scallop-and-vegetable-stir-fry-2564.json)
* [Sea Bass With Gingered Vegetable Stir Fry 1985](../../index/s/sea-bass-with-gingered-vegetable-stir-fry-1985.json)
* [Sesame Beef And Asparagus Stir Fry 106423](../../index/s... | Markdown |
// <copyright file="BenchmarkBase.cs" company="Endjin Limited">
// Copyright (c) Endjin Limited. All rights reserved.
// </copyright>
using System.Text.Json;
using Corvus.Json;
namespace Benchmarks;
/// <summary>
/// Base class for benchmarks.
/// </summary>
public class BenchmarkBase
{
private System.Text.Json... | C# |
98 1C 00 09 */ stb r0, 9(r28)
/* 800722C8 0006DF28 48 1E 1B ED */ bl func_80253EB4
/* 800722CC 0006DF2C 48 00 00 84 */ b lbl_80072350
/* 800722D0 0006DF30 7F A3 EB 78 */ mr r3, r29
/* 800722D4 0006DF34 7F C4 F3 78 */ mr r4, r30
/* 800722D8 0006DF38 38 C1 00 08 */ addi r6, r1, 8
/* 800722DC 0006DF3C 38 A0 00 05 *... | Assembly |
commandParams.Runtime,
"target": commandParams.TargetRef,
"debug-image": commandParams.DebugContainerImage,
"entrypoint": commandParams.Entrypoint,
"cmd": commandParams.Cmd,
"terminal": commandParams.DoTerminal,
}
if commandParams.Runtime == KubernetesRuntime {
paramVars["namespace"] =... | Go |
}
return;
case 4:
F::sqr(z, x);
F::sqr(z, z);
return;
}
}
const size_t w = argminWforPow(mcl::fp::getBitSize(y, yn));
size_t bn = sizeof(Unit) * 8 * yn + 1;
uint8_t *bin = (uint8_t*)CYBOZU_ALLOCA(bn);
bn = getBinWidth(bin, bn, y, yn, w);
assert(bn > 0);
const size_t tblSize = size_t(1) << (w - 1... | C++ |
TD></TR>
<TR style="font-weight:bold;color:maroon;"><TD>22 Sun</TD><TD>5
<BR>2</TD><TD>Dominica XXIV et ultima Post Pentecosten V. Novembris<BR>S. Ceciliae Virginis et Martyrum</TD><TD> Semiduplex Dominica minor</TD><TD ALIGN=CENTER>--</TD><TD>Ant. Bened.<BR>Preces D.<BR>Suffr.</TD><TD>S. Ceciliae Virginis et Martyrum<... | HTML |
{draw,drawing,draws},{wind,winding,winds}},{{recover,recovering,recovers},{redraw,redrawing,redraws},{rewind,rewinding,rewinds}},{{uncover,uncovering,uncovers},{undraw,undrawing,undraws},{unwind,unwinding,unwinds}}}");
}
@Test
public void testOuterSparseArray() {
check("(s1=SparseArray(Table(2^i -> i, {i, 3}... | Java |
core::fmt::Result {
write!(f, "{}", self.0)
}
}
impl PartialEq for Object {
fn eq(&self, other: &Self) -> bool {
self.id == other.id
}
}
impl Eq for Object {}
impl PartialOrd for Object {
fn partial_cmp(&self, other: &Self) -> Option<core::cmp::Ordering> {
self.id.partial_cmp... | Rust |
#!/usr/bin/env python3
#
# Functional test that boots known good tuxboot images the same way
# that tuxrun (www.tuxrun.org) does. This tool is used by things like
# the LKFT project to run regression tests on kernels.
#
# Copyright (c) 2023 Linaro Ltd.
#
# Author:
# Alex Bennée <alex.bennee@linaro.org>
#
# SPDX-Licens... | Python |
nst int count = static_cast<int>(forwardMotions.size());
relForwardMotions.resize(count);
relForwardMotions[baseIdx].create(size, CV_32FC2);
relForwardMotions[baseIdx].setTo(Scalar::all(0));
relBackwardMotions.resize(count);
relBackwardMotions[baseIdx].create(size, CV_32FC2);
... | C++ |
service directly:</p>
<pre class="language-bash"><code class="language-bash">$ dig -t type65 +dnssec @ns1.cloudflare.com odoh.cloudflare-dns.com
; <<>> DiG 9.10.6 <<>> -t type65 +dnssec @ns1.cloudflare.com odoh.cloudflare-dns.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; -... | HTML |
javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href... | HTML |
Type(MODIFIER_LIST).run {
isAccessibleOutside() && this?.hasChildOfType(KtTokens.ACTUAL_KEYWORD) != true
}
if (isModifierAccessibleOutsideOrActual && kdoc == null && !isTopLevelFunctionStandard(node)) {
warning.warn(configRules, emitWarn, name!!.text, node.startOffset, node)
... | Kotlin |
: true
};
if (!Cookies[numLoadString])
Cookies.create(numLoadString, numLoad);
if (!Cookies[cumulativeTimeString])
Cookies.create(cumulativeTimeString, "0");
var div = dom.byId("map");
map = new Map(div, options);
var la = map.getLayer("name", "TheLayer");
arr.forEach(la, function(l){
var ol = l... | HTML |
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Table</title>
<style>
table,th,tr,td
{
border: 1px solid black;
border-collapse: collapse;
}
</style>
</head>
<body>
<... | HTML |
setup, data)` 处理。
- 用于少量时间敏感数据的中断传输使用与通过 `transferIn(endpointNumber, length)` 和 `transferOut(endpointNumber, data)` 进行的批量传输相同的方法处理。
- 用于视频和声音等数据流的常时等量传输使用 `isochronousTransferIn(endpointNumber, packetLengths)` 和 `isochronousTransferOut(endpointNumber, data, packetLengths)` 处理。
- 用于以可靠的方式传输大量非时间敏感数据的批量传输使用 `transferIn(e... | Markdown |
ses[ref]
use.CountEstimate++
p.symbolUses[ref] = use
}
// The correctness of TypeScript-to-JavaScript conversion relies on accurate
// symbol use counts for the whole file, including dead code regions. This is
// tracked separately in a parser-only data structure.
if p.options.ts.Parse {
p.tsUseCounts[ref.I... | Go |
data
/// is stored into [rawData] and its format is the one used when initializing
/// the recorder.
/// This class also provide methods to convert the data to other formats based
/// on the original recorder format. For example to convert to `Int8List` the
/// data when the recorder is initialized with `PCMFormat.f32... | Dart |
Board.setPawnOnSpace(this.pawn, currSpace);
return { 'board': newBoard, 'bonus': bonus };
}
}
import { createStore, map } from "../src/remmi";
import { shallowDiff, filter } from "../src/internal";
test("shallow diff", () => {
expect(shallowDiff([], ["a", "b"])).toEqual({
added: [["0", "a"], ["1", "b"]... | Typescript |
/*
* Copyright (C) 2011 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions ... | C |
: arg);
Map<String, MySize> funcHashMapStringStructTwinSync(
{required Map<String, MySize> arg}) =>
RustLib.instance.api
.crateApiPseudoManualMapAndSetTwinSyncFuncHashMapStringStructTwinSync(
arg: arg);
Map<String, EnumSimpleTwinSync> funcHashMapStringSimpleEnumTwinSync(
{requi... | Dart |
7642:d=7 hl=2 l= 10 prim: OBJECT :1.3.6.1.4.1.311.2.4.1
```
用下面的代码读取出来为 `2b 06 01 04 01 82 37 02 04 01`:
```
$offset = 7644
$size = 10
$fileStream = [System.IO.File]::OpenRead(".\pkcs7.cer")
$buffer = New-Object byte[] $size
$fileStream.Seek($offset, [System.IO.SeekOrigin]::Begin)
$fileStream.Read... | Markdown |
-- In this file, we're keep track of judgment counts for calculating the EX score to display during
-- ScreenGameplay and ScreeEvaluation.
--
-- Similar to PerColumnJudgmentTracking.lua, this file doesn't override or recreate the engine's
-- judgment system in any way. It just allows transient judgment data to persist ... | Lua |
sideEffectCallCounter = 0
private fun getDoubleWithSideEffect(d: Double): Double {
sideEffectCallCounter++
return d
}
private fun testSideEffects() {
var d = 3.0
sideEffectCallCounter = 0
d -= getDoubleWithSideEffect(2.0)
assertTrue(d == 1.0)
assertTrue(sideEffectCallCounter == 1)
}
/*
* Copyright 202... | Kotlin |
email.set("mybztg+mavencentral@icloud.com")
}
}
scm {
connection.set("scm:git://github.com/hfhbd/kotlinx-uuid.git")
developerConnection.set("scm:git://github.com/hfhbd/kotlinx-uuid.git")
url.set("https://github.com/hfhbd/kotlinx-uuid")
}
}
}
s... | Kotlin |
供される再利用可能コードを積極的に活用する
- コードはバージョン管理し、ファイル名を `元の名前_vX.Y.Z.c` のように変更して保存する
#### 2. 記録
コードを1回生成・修正するごとに、即座に自身の `ChangeLog.md` に規定のフォーマットで追記する。
**追記フォーマット:**
`ChangeLog_format.md`および`ChangeLog_format_PM_override.md`に従う。
新しいバージョンが上に来るように追記し、`<details>`タグで詳細を折り畳む。
**重要**: 生成時刻(UTC)を必ず記録すること。以下の方法のいずれかを使用:
```bash
# 方法1: ヘ... | Markdown |
ots content="noindex,follow">
</head>
<body>
<p><div class=navigation>[Go to <span><a href="book.html">first</a>, <a href="book-Z-H-20.html">previous</a></span><span>, <a href="book-Z-H-22.html">next</a></span> page<span>; </span><span><a href="book-Z-H-4.html#%_toc_start">contents</a></span><span><span>; ... | HTML |
configurations:Debug", "architecture:ARM" }
targetdir "bin/armv7/debug"
filter { "configurations:Release*" , "action:not vs*" }
symbols "On"
filter "configurations:Release"
optimize "Size"
targetdir "bin/release"
defines "NDEBUG"
filter { "configurations:Release", "action:vs* or system:not windows" }
... | Lua |
odeCancelarVinculacaoPapel(br.gov.jfrj.siga.dp.DpPessoa, br.gov.jfrj.siga.dp.DpLotacao, br.gov.jfrj.siga.ex.ExMobil, br.gov.jfrj.siga.ex.ExMovimentacao)" alt=""><area shape="rect" coords="10,818,369,835" href="#podeCriarDocFilho(br.gov.jfrj.siga.dp.DpPessoa, br.gov.jfrj.siga.dp.DpLotacao, br.gov.jfrj.siga.ex.ExMobil)" ... | HTML |
// setX(value){
// // if(value < 0) throw new Error('value cannot be less than 0');
// // this._x = value;
// // }
// //With properties:
// //Use camel notation to name fields.
// //prefix fields with underline.
// get x(){
// return this._x;
// }
// set x(){
// ... | Typescript |
c->vmula_bc(DEST::xyzw, BC::w, vf9, vf0); // vmulaw.xyzw acc, vf9, vf0
c->vmadda_bc(DEST::xyzw, BC::x, vf7, vf13); // vmaddax.xyzw acc, vf7, vf13
c->vmadd_bc(DEST::xyzw, BC::w, vf9, vf8, vf13); // vmaddw.xyzw vf9, vf8, vf13
c->sqc2(vf3, 0, a0); ... | C++ |
()
if (post) {
if (snackbar)
snackString(e.localizedMessage, null, stackTrace)
else
toast(e.localizedMessage)
}
e.printStackTrace()
}
fun <T> tryWith(post: Boolean = false, snackbar: Boolean = true, call: () -> T): T? {
return try {
call.invoke()
} ca... | Kotlin |
,092,087,082,078,073,069,065,061,058
dc.w 055,052,049,046,043,041
; Tuning -3
dc.w 875,826,779,736,694,655,619,584,551,520,491,463
dc.w 437,413,390,368,347,328,309,292,276,260,245,232
dc.w 219,206,195,184,174,164,155,146,138,130,123,116
dc.w 109,103,097,092,087,082,077,073,069,065,061,058
dc.w 055,051,049,046,043... | Assembly |
n }\n\n if(alpha > 1.0){\n\n // Uses R.C.H. Cheng, \"The generation of Gamma\n // variables with non-integral shape parameters\",\n // Applied Statistics, (1977), 26, No. 1, p71-74\n\n var ainv = Math.sqrt(2.0 * alpha - 1.0),\n bbb = alpha - LOG4,\n ccc = alpha + ... | JavaScript |
rcs.core.data.proto
import arcs.core.data.InformationFlowLabel
import arcs.core.data.InformationFlowLabel.Predicate
/** Decodes an [InformationFlowLabelProto] into [InformationFlowLabel]. */
fun InformationFlowLabelProto.decode() = when (labelCase) {
InformationFlowLabelProto.LabelCase.SEMANTIC_TAG ->
Informati... | Kotlin |
bet.Length;
cyclePosition = (cyclePosition - index)/Alphabet.Length;
result = Alphabet[index] + result;
}
return (Uppercase ? result.ToUpper() : result);
}
private static readonly char[] Alphabet = "aabcdefghijklmnopqrstuvwxyz".ToCharArray();
private int _alphabetIndex;
public char StartLetter
... | C# |
at position
// 2 in x.
check("Drop({1,2,3}, {3, x})", //
"Drop({1,2,3},{3,x})");
check("Drop(SparseArray(Range(1000)), {3, -4})", //
"{1,2,998,999,1000}");
check("Drop({a,b,c,d},1317624576693539401)", //
"Drop({a,b,c,d},1317624576693539401)");
check("Drop(<|1 -> a, 2 -> b, ... | Java |
ness?: number, // Conditional Brightness in the range of 0.0 to 1.0.
kelvin?: number, // Color temperature (°) in the range of 1500 to 9000.
}
export interface LifxLanColorCSS {
[key: string]: number | string,
css: string, // Conditional CSS color ("red", "#ff0000", or "rgb(255, 0... | Typescript |
name:"d",data:r}]};return new c(l)}(r);if("public"===t)return function(e){e.readSequence();var t=e.readOID();n.strictEqual(t,"1.2.840.10045.2.1","must be ecPublicKey");for(var r,c=e.readOID(),l=Object.keys(o.curves),f=0;f<l.length;++f){var d=l[f];if(o.curves[d].pkcs8oid===c){r=d;break}}n.string(r,"a known ECDSA named c... | JavaScript |
word 0x174c @ 0x2260bf0
.word 0x1768 @ 0x2260bf4
.word 0x2fb8 @ 0x2260bf8
.word 0x1559 @ 0x2260bfc
.word 0x2fbc @ 0x2260c00
.word 0x2fc4 @ 0x2260c04
.word 0x516 @ 0x2260c08
.word 0x384c @ 0x2260c0c
.thumb
Function_2260c10: @ 2260c10 :thumb
push {r3-r7,lr}
mov r7, r0
bl LoadOverlayData1c
mov r4, r0
... | Assembly |
:20px;padding:0 5px;line-height:19px}.el-tag--mini .el-icon-close{margin-left:-3px;-webkit-transform:scale(.7);transform:scale(.7)}.el-cascader{display:inline-block;position:relative;font-size:14px;line-height:40px}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;border-color:#C0C4CC}.el-cascader .e... | CSS |
ng</code>.</DL>
</DD>
</DL>
<HR>
<A NAME="setValue(java.lang.String)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(java.lang.String value)</PRE>
<DL>
<DD>Set the string value to use as token replacement;
optional, default is the empty string "".
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>va... | HTML |
)]
pub enum Event {}
mod issue_date;
use crate::code::Code;
use chrono::NaiveDate;
use issue_date::parse_issue_date;
use scraper::{
ElementRef,
Selector,
};
pub const PC_CODE_INDEX: usize = 0;
pub const PLAYSTATION_CODE_INDEX: usize = 1;
pub const XBOX_CODE_INDEX: usize = 2;
/// A shift code table entry wrap... | Rust |
56.0), Map.entry(HorizonsModifier.POWER_DRAW, 0.28), Map.entry(HorizonsModifier.BOOT_TIME, 4.0), Map.entry(HorizonsModifier.MAX_ACTIVE_LIMPETS, 1.0), Map.entry(HorizonsModifier.DRONE_ACTIVE_RANGE, 7000.0), Map.entry(HorizonsModifier.DRONE_LIFE_TIME, Double.POSITIVE_INFINITY), Map.entry(HorizonsModifier.DRONE_SPEED,... | Java |
training_results.sample_id, -1))
selected_tokens = to_int32(
sequence_mask * (sample_mask * to_float(decoder_target)
+ (1. - sample_mask) * to_float(training_results.sample_id)))
# Argmax tokens are the most likely... | Python |
let v = y as f32 / height as f32;
let pix = &mut pixels[(y * width + x) as usize];
Imath_half_from_float(&mut pix.r, u);
Imath_half_from_float(&mut pix.g, v);
Imath_half_from_float(&mut pix.b, 0.0f32);
Imath_half_from_float... | Rust |
/**
* Represents the available UI themes for the application
*/
enum class Theme(val storageKey: String) {
LIGHT("light"),
DARK("dark"),
SYSTEM("system"),
BATTERY_SAVER("battery_saver")
}
/**
* Returns the matching [Theme] for the given [storageKey] value.
*/
fun themeFromStorageKey(storageKey: S... | Kotlin |
)
Unit:SendChatMessage(11, 0, "Some passion...")
end
function Julianne_Devotion(Unit, event, miscunit, misc)
print "Julianne Devotion"
Unit:FullCastSpell(30887)
Unit:SendChatMessage(11, 0, "I will kill you...")
end
function Julianne(unit, event, miscunit, misc)
print "Julianne"
unit:RegisterEvent("Julianne_Eter... | Lua |
n_rules[path] then return true end
local parts = vim.split(path, '.', { plain = true })
if #parts >= 2 then
local parent = parts[1]
if dict_paths[parent] then return true end
local wildcard_path = table.concat(
utils.tbl_flatten {
{ parts[1] },
{ '*' },
{ unpack(parts, 3)... | Lua |
namespace LibCommon.Structs.GB28181.XML
{
/// <summary>
/// 命令类型
/// </summary>
public enum CommandType
{
/// <summary>
/// 未知
/// </summary>
Unknown = 0,
/// <summary>
/// 心跳
/// </summary>
Keepalive = 1,
/// <summary>
... | C# |
Limited
*
* 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, software
* ... | Rust |
�') INT(11)"`
WarehouseId int `json:"warehouse_id" xorm:"not null default 0 comment('仓库ID') INT(10)"`
Sid int `json:"sid" xorm:"not null default 1 comment('商家ID') INT(10)"`
SalesFee int64 `json:"sales_fee" xorm:"not null default 0 comment('消费税费') BIGINT(20)"`
VatFee int64 `json:"vat_fee" xor... | Go |
= { "foot", },
symbol_overrides_by_character = { default = { foot = "foot_wilson", },walter = { foot = "foot_walter", },wanda = { foot = "foot_wanda", },warly = { foot = "foot_warly", },waxwell = { foot = "foot_waxwell", },webber = { foot = "foot_webber", },wolfgang = { foot = "foot", },wormwood = { foot = "foot_worm... | Lua |
44 1.16c-1.136 1.48-2.52 2.352-3.96 2.352'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
.i-ri-checkbox-circle-line{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewB... | JavaScript |
ableManager<GROUP, MODEL>,
PRESENTER : SyncExpandablePresenter<GROUP, MODEL, VIEW>,
HOLDER : RecyclerView.ViewHolder,
ADAPTER : SyncExpandableRecyclerAdapter<GROUP, MODEL, HOLDER, VIEW>>
: SyncExpandableFragment<GROUP, MODEL, VIEW, PRESENTER, HOLDER, ADAPTER>(), NavigationCallbacks {
pro... | Kotlin |
/spacerh.gif"></td><td colspan="2"></td><td><img alt="" src="/images/spacerh.gif"></td><td colspan="2"></td><td><img alt="" src="/images/spacerh.gif"></td><td colspan="2"></td><td><img alt="" src="/images/spacerh.gif"></td></tr><tr><td class="horizontal"><img alt="" src="/images/spacerh.gif"></td><td colspan="2"></td><... | HTML |
', '2', '1', '1'},
{'40350139', 'Meteor_38', 'cv/Meteor.acb', 'Meteor_38', '4035001', '4035001', '15', '', '设施工作', '', '枯燥的工作……姑且就当做是一种磨炼吧。', '', '枯燥的工作……姑且就当做是一种磨炼吧。', '1', '2', '1', '1'},
{'40350140', 'Meteor_39', 'cv/Meteor.acb', 'Meteor_39', '4035001', '4035001', '16', '', '生日祝福', '', '你的生日?没问题,稍后我就会去飞上一圈,趁这个机会你可以多... | Lua |
// to clone inside iter(). We can benchmark this
// separately and subtract it out.
black_box(input);
} else {
let mut sink = Sink;
let mut tok = Tokenizer::new(&mut sink, self.opts.clone());
tok.feed(input);
... | Rust |
mut self, k: &IKey) -> Option<Arc<Block>> {
self.lru.pop(k)
}
/// 从缓存获取值并复制返回
/// 复制对应的值返回
pub fn get(&mut self, k: &IKey) -> Result<Arc<Block>, Error> {
self.lru
.get(k)
.map(|v| v.clone())
.ok_or(Error::error("not found"))
}
}
#[test]
fn test_lr... | Rust |
/// The <see cref="ISilverbackBuilder" /> so that additional calls can be chained.
/// </returns>
public static ISilverbackBuilder WithCustomHeaderName(
this ISilverbackBuilder silverbackBuilder,
string defaultHeaderName,
string customHeaderName)
{
... | C# |
DLE" bgcolor="#C6E7C6"><FONT color=blue><CENTER>
<!-- CHOOSE A RATING (may be changed) -->
(x)<B>Beginner</B> ( )<B>Intermediate</B> ( )<B>Advanced</B> ( )<B>Expert</B></FONT>
</CENTER></TD><TD></TD></TR></TABLE>
<!-- END HEAD --><BR>
<!-- CORPUS -->
<!-- CHOOSE A COMMENT (may be changed) -->
Perl is for Internet li... | HTML |
em;top:.14286em;text-align:center}.icon-li.icon-lg{left:-1.85714em}.icon-border{padding:.2em .25em .15em;border:solid 0.08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.icon.pull-left,.page-sidebar-closed:not(.nav-topbar):not(.mobile-nav) .pull-left.searchtab:before,.pull-left[class^="icon-"]... | CSS |
ppressed = suppressed
)
}
}
blockStatementVisitor.visit(ctx)
dependenciesBlocks.add(dependenciesBlock)
}
}
}
parser.accept(visitor)
return dependenciesBlocks
}
companion object {
val BLOCK_BODY_REGEX: Regex = """dependencies\... | Kotlin |
addClass(tabElem,"backstageSelTab");
var task = config.tasks[tabName];
wikify(task.content,backstage.panelBody,null,null);
backstage.showPanel();
} else if(backstage.currTabElem) {
backstage.hidePanel();
}
backstage.currTabName = tabName;
backstage.currTabElem = tabElem;
},
isPanelVisible: func... | HTML |
local ex_help = {
first = [[
やあ、君が新しくやって来た冒険者だね。イルヴァの世界、シエラ・テールの時代にようこそ!
ボクは案内人、<emp1>ガイドのノルン。<def>
君の旅の手助けをするのがボクの役目だ。必要な時には助言をするよ。よろしくね。
まずは簡単なチップ。
アイテムには<emp1>重さ<def>があり、持ちすぎると行動速度が遅くなってしまう。家に置いたアイテムは安全に保管されるので、時々荷下ろしをした方がいいよ。
また、難しい魔法書を読むと、予期しないアクシデントが起こることもあるから、魔法書はできるだけ安全な家の中で読もう。
他にも、野菜やハーブを栽培したり、詠唱の練習をしたり、... | Lua |
ileListSize property","IFsrmActionEmail2.AttachmentFileListSize","IFsrmActionEmail2.get_AttachmentFileListSize","IFsrmActionEmail2::AttachmentFileListSize","IFsrmActionEmail2::get_AttachmentFileListSize","IFsrmActionEmail2::put_AttachmentFileListSize","fs.ifsrmactionemail2_attachmentfilelistsize","fsrm.ifsrmactionemail... | Markdown |
abItem value="java">
```java
@Override
public void onActivityResult(
final Activity activity,
final int requestCode,
final int resultCode,
final Intent intent) {
// Your logic here
}
```
</TabItem>
<TabItem value="kotlin">
```kotlin
override fun onActivityResult(
activity: Activity?,
requestCode: Int,
... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.