content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Convert Key and Certificate for signing. Password is removed with -nodes flag for convenience in this sample.
openssl pkcs12 -export -out TestCert.pfx -inkey TestCert.key -in TestCert.crt
openssl pkcs12 -in TestCert.pfx -nodes -out TestCert.pem
* Verify Data Signing & Verification with new X.509 Certificate C... | Markdown |
ble = false,}) {
final map = <String, List<MixedPropertiesAndAdditionalPropertiesClass>>{};
if (json is Map && json.isNotEmpty) {
// ignore: parameter_assignments
json = json.cast<String, dynamic>();
for (final entry in json.entries) {
map[entry.key] = MixedPropertiesAndAdditionalPrope... | Dart |
export type Policy<F = any> = (
globalState: State,
agentState: Player<F>,
actions: Card[],
) => ActionSummary<F>[]
export type History<F = any> =
| {
reward: number
state: State
actor: Player<F>
action: Card
quality: number
trace: F
terminal?: false
}
| {
... | Typescript |
vbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTUgKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NzY3MkJEN0U2N0M1MTFFNkIyQkNFMjQwODEwMDIxNzEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NzY3MkJEN0Y2N0M1MTFFNkIyQkNFMjQ... | CSS |
rm(lb, ub, (10 * batch_size, n))
while tag not in [STOP_TAG, PERSIS_STOP]:
if x_new.shape[0] == 0:
x_new = rng.uniform(lb, ub, (batch_size, n))
else:
if not U.get("use_grid"):
x_for_var = rng.uniform(lb, ub, (10 * batch_size, n))
x_new = x_for... | Python |
grid-columns, md, width);
.make-grid(@grid-columns, md, pull);
.make-grid(@grid-columns, md, push);
.make-grid(@grid-columns, md, offset);
}
// Large grid
//
// Columns, offsets, pushes, and pulls for the large desktop device range.
//
// Note that `.col-lg-12` doesn't get floated on purpose--there's no need si... | CSS |
) {
return mapHashCodeUnordered(map);
}
int mapHashCodeOrdered(Map map, [int hash = 2]) {
for (final Object x in map.keys) {
hash = _Hash.combine(x.hashCode, hash);
}
for (final Object x in map.values) {
hash = _Hash.combine(x.hashCode, hash);
}
return _Hash.finish(hash);
}
int mapHashCodeUnordere... | Dart |
using System.IO;
#if NET35
using WinFormsApplication = System.Windows.Forms.Application;
#endif
// ReSharper disable once CheckNamespace
namespace System.Application
{
/// <summary>
/// 提供了访问设备文件夹位置的简便方法。
/// </summary>
public sealed partial class FileSystem2 : IOPath.FileSystemBase
{
priva... | C# |
) -> &'a mut W {
self.variant(WKPEN_A::CONST_0)
}
#[doc = "Wake-up event enabled"]
#[inline(always)]
pub fn const_1(self) -> &'a mut W {
self.variant(WKPEN_A::CONST_1)
}
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(... | Rust |
E6C 001DBACC 48 00 00 14 */ b lbl_801DFE80
lbl_801DFE70:
/* 801DFE70 001DBAD0 C0 22 96 50 */ lfs f1, lbl_80641C50-_SDA2_BASE_(r2)
/* 801DFE74 001DBAD4 48 00 00 0C */ b lbl_801DFE80
lbl_801DFE78:
/* 801DFE78 001DBAD8 A3 A3 00 F0 */ lhz r29, 0xf0(r3)
/* 801DFE7C 001DBADC 48 01 5C C9 */ bl func_801F5B44
lbl_801DFE80:... | Assembly |
//TODO: If powersave is not off and FIXME is not set and we are not in adhoc
// and thus is not an AP and we are associated, set bit 25
}
if (bit26 == -1) {
//TODO: If the device is awake or this is an AP, or we are scanning, or FIXME,
// or we are associated, or FIXME, or the latest PS-Poll packet sent was
... | C |
), 400);
});
AnchorTransactionsRequest request = AnchorTransactionsRequest(
assetCode: "XLM",
account: "GCTTGO5ABSTHABXWL2FMHPZ2XFOZDXJYJN5CKFRKXMPAAWZW3Y3JZ3JK",
jwt: jwtToken,
);
AnchorTransactionsResponse response =
await transferService.transactions(request);
assert(... | Dart |
Step_5();
//: Step 6 -
// Add the value found in Step 4 to every element of each covered row,
// and subtract it from every element of each uncovered column.
// Return to Step 4 without altering any stars, primes, or covered lines.
// \returns the next step to go to
STEP_TYPE
Step_6();
//: Step... | C |
#!/usr/bin/env python
# tokenize latex formulas
import sys, os, argparse, logging, subprocess, shutil
def is_ascii(str):
try:
str.decode('ascii')
return True
except UnicodeError:
return False
def process_args(args):
parser = argparse.ArgumentParser(description='Preprocess (tokenize... | Python |
卡中的缓存区域,大幅度提升磁盘写的性能(和操作系统中的 os cache 类似)

这块缓存区域就相当于是内存,那么就带来了一个问题:如果机器突然断电,在 RAID 卡里缓存区域中的数据就会丢失,因此 RAID 卡一般都会有自己独立的 **锂电池** 或者 **电容**,如果机器突然断电,RAID 卡是基于锂电池运行的,因此不会导致数据丢失的问题
那么锂电池是会出现性能损耗的,一般来讲每隔 30-90 天都会自动对锂电池进行充放电一次,来延迟锂电池的寿命... | Markdown |
arger than second");
goto POS;
}
}else{
printf("first number is <= 5");
}
}else{
POS: num0 += num2;
}
printf("The numbers are: %d, %d, %d", num0, num1, num2);
return 0;
}
int test16()
{
int num0, num1, num2;
printf("Enter two ... | C |
eptune/tree/drop-below.gif'); }
/* line 313, ../themes/stylesheets/neptune/default/widgets/_tree.scss */
.x-tree-drop-ok-between .x-dd-drop-icon {
background-image: url('../../resources/themes/images/neptune/tree/drop-between.gif'); }
/* line 317, ../themes/stylesheets/neptune/default/widgets/_tree.scss */
.x-grid-... | CSS |
应当制定本辖区重污染天气应急预案,向社会公布并向上一级人民政府生态环境主管部门备案。
市、县(市、区)人民政府应当根据市人民政府发布的重污染天气预警等级,及时启动应急预案,根据应急需要可以采取责令工业企业停产或者限产、限制部分机动车行驶、停止工地土石方作业和建筑物拆除施工以及渣土运输、停止幼儿园和学校组织的户外活动、组织开展人工影响天气作业等应急措施。
应急响应结束后,市、县(市、区)人民政府应当及时开展应急预案实施情况的评估,适时修改完善应急预案。
第四十一条 纳入重污染天气应急预案的企业应当根据市、县(市、区)人民政府制定的重污染天气应急预案,制定重污染天气应急响应操作方案,并按规定备案和及时启动。
第四十二条 排放大气... | Markdown |
s deluxe mushroom + mushroom
new MushroomPlan(41, 50, 20, 2, 1, 0), // 41-50 HP 20 coins deluxe mushroom + 2 mushroom
new MushroomPlan(
41, 60, 20, 0, 2, 0), // 41-60 HP 20 coins deluxe mushroom + deluxe mushroom
new MushroomPlan(41, 99, 20, 0, 0, 1), // 41+ HP 20 coins supe... | Java |
am,
outputFile: File,
clock: Clock,
progress: ((current: Int, total: Int) -> Unit)
): EncryptedFileInfo {
val t0 = clock.epochMillis()
val secureRandom = SecureRandom()
val initVectorBytes = ByteArray(16) { 0.toByte() }
val ivRandomPart = ByteArra... | Kotlin |
.g. "AbusiveStatus") to include in API
// requests with the JSON null value. By default, fields with empty values are
// omitted from API requests. See
// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
NullFields []string `json:"-"`
}
func (s SiteSummaryResponse) MarshalJSON() ([]byte, e... | Go |
+= 1;
unittest.expect(
path.substring(pathOffset, pathOffset + 29),
unittest.equals('admin/reports/v1/usage/users/'),
);
pathOffset += 29;
index = path.indexOf('/dates/', pathOffset);
unittest.expect(index >= 0, unittest.isTrue);
subPa... | Dart |
(--tw-bg-opacity,1))!important}.hover\:bg-\[\#148569\]:hover{--tw-bg-opacity:1;background-color:rgb(20 133 105/var(--tw-bg-opacity,1))}.hover\:bg-\[\#774cd3\]:hover{--tw-bg-opacity:1;background-color:rgb(119 76 211/var(--tw-bg-opacity,1))}.hover\:bg-\[\#813dc5\]:hover{--tw-bg-opacity:1;background-color:rgb(129 61 197/v... | CSS |
yerview.useController = false
mPlayer.playWhenReady = true
mPlayer.repeatMode = Player.REPEAT_MODE_ALL
}
/**
* 使用本地缓存播放
*/
fun playVideo(mediaSource: BaseMediaSource) {
mPlayer.setMediaSource(mediaSource)
mPlayer.prepare()
mPlayer.play()
}
/**
... | Kotlin |
#!/usr/bin/env python3
"""
Demo script for safetensors-based layer sharding.
This approach processes safetensors files directly without loading the entire model into memory.
"""
import sys
import os
sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
from src.utils.sharding_utils import (
shard_model_... | Python |
import rispy
EXAMPLE_RECORD = """
42.
TY - JOUR
ID - 12345
T1 - The title of the reference
A1 - Marxus, Karlus
A1 - Lindgren, Astrid
A2 - Glattauer, Daniel
Y1 - 2006//
N2 - BACKGROUND: Lorem dammed ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis na... | Python |
ilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* <code>.IEPHBPLIFIN FDMDGMLNDNB = 5;</code>
*/
public Builder mergeFDMDGMLNDNB(emu.grasscutter.net.proto.IEPHBPLIFINOuterClass.IEPHBPLIFIN value) {
if (fDMDGMLNDNBBuilder_ == null) {
if (... | Java |
ChargeInputLimit", true).doCmdSync("$fastChargeScript$current 1") == "error") {
break
}
current += 300
}
}
KeepShellPublic.getInstance("setChargeInputLimit", true).doCm... | Kotlin |
evice_id: u32,
protocol_id: u32,
flags: u32,
baudrate: u32,
channel_id: *mut u32,
) -> i32;
pub type PassThruDisconnectFn = unsafe extern "stdcall" fn(channel_id: u32) -> i32;
pub type PassThruReadMsgsFn = unsafe extern "stdcall" fn(
channel_id: u32,
msgs: *mut PassThruMsg,
num_msgs: *mut u3... | Rust |
fill-rule='evenodd' clip-rule='evenodd' d='M8.89307 1.50072C8.70961 1.19027 8.37325 1 8.00632 1C7.63938 1 7.30302 1.19027 7.11956 1.50072L0.137601 13.4979C-0.0458669 13.8083 -0.0458669 14.1888 0.137601 14.4993C0.331261 14.8097 0.667618 15 1.02436 15H14.9883C15.3552 15 15.6916 14.8097 15.8648 14.4993C16.0381 14.1888 16... | CSS |
lass, "error");
expect(grammar.getRules()).andReturn(rules).times(2);
expect(rule1.getName()).andReturn("rule1");
expect(rule1.getArgs()).andReturn(null);
expect(rule1.getReturn()).andReturn(returns);
expect(rule1.getLocals()).andReturn(locals);
expect(rule1.getBody()).andReturn(ruleBody).time... | Java |
using System.Text.RegularExpressions;
namespace CaseInsensitiveSubstringSearch
{
public class SubstringSearch
{
// String Contains Method Search
public static bool StringContains(string sourceString, string substringToSearch)
{
return sourceString
.Contains(... | C# |
.Breakable;
import msi.gaml.statements.LoopStatement.LoopSerializer;
import msi.gaml.statements.LoopStatement.LoopValidator;
import msi.gaml.types.IType;
import msi.gaml.types.Types;
// A group of commands that can be executed repeatedly.
/**
* The Class LoopStatement.
*/
/**
* The Class LoopStatement.
*/
/**
... | Java |
+= "<label>" + confirm_new_password + "</label>";
html += "<input id='confirm-new-password' type='password' maxlength='20' >";
html += "<input type='button' value='" + change_button + "' onclick='" + createCommandStr() + "' >";
html += "<span id='password-msg' class='formError'></span>";
ht... | JavaScript |
#ifndef _PS2_H
#define _PS2_H
#include "hw_config.h"
#if CONSOLE_VGA
#include "pico/stdlib.h"
#define PS2_TAB 9
#define PS2_SHIFT_TAB 12
#define PS2_ENTER 13
#define PS2_BACKSPACE 127
#define PS2_ESC 27
#define PS2_INSERT 0
#define PS2_DELETE 127
#define PS2_HOME 0
#define PS2_END 0
#define PS2_PAGEUP 25
#define PS2... | C |
STR R1, [R0] /* write-back */
LDR R0, =NVIC_INT_CTRL /* trigger the PendSV exception (causes context switch) */
LDR R1, =NVIC_PENDSVSET
STR R1, [R0]
NOP
/* restore MSP */
LDR R0, =SCB_VTOR
LDR R0, [R0]
LDR R0, [R0]
NOP
MSR ... | Assembly |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Microsoft.AspNetCore.Authentication.Certificate;
using Microsoft.AspNetCore.Authorization;
using Micros... | C# |
api/order-items?sort=id,desc"))
.andExpect(status().isOk())
.andExpect(content().contentType(MediaType.APPLICATION_JSON_UTF8_VALUE))
.andExpect(jsonPath("$.[*].id").value(hasItem(orderItem.getId().intValue())))
.andExpect(jsonPath("$.[*].quantity").value(hasItem(DEFAULT_Q... | Java |
b3N0ZXI= IHNhbmRib3g= IEZhcmU= IE1hbHRh IGF0dFJvdA== IE1PUg== bGRl IG5hdmlnYXRpbmc= VG91Y2g= IHVudHJ1ZQ== IERpc2FzdGVy IGx1ZGljcm91cw== UGFzc3dvcmQ= IEpGSw== YmxvZ3Nwb3Q= NDE2 IFVOREVS ZXJuYWw= IGRlbGF5aW5n VE9Q IGltcGxhbnRz IEFWRw== IEh1Z2U= YXR0cg== IGpvdXJuYWxpc3RpYw== IFBleXRvbg== IElB UmFw Z29hbA== IFByb2dyYW1tZQ=... | JavaScript |
pkcs11Error = 0x000000c0
errSignatureLenRange pkcs11Error = 0x000000c1
errTemplateIncomplete pkcs11Error = 0x000000d0
errTemplateInconsistent pkcs11Error = 0x000000d1
errTokenNotPresent pkcs11Error = 0x000000e0
errTokenNotRecognized pkcs11Error = 0... | Go |
log::debug!("Enter {} service inner loop", sp.name());
let tm = time::Instant::now();
if let Err(err) = callback(sp.clone()) {
log::error!("Error of {} service: {}", sp.name(), err);
if tm.elapsed() > time::Duration::from_millis(... | Rust |
1736149048776.pdf
* Ongoing issue: https://unicode-org.atlassian.net/jira/software/c/projects/CLDR/issues/CLDR-10604
*/
if (it.language.equals("zh", ignoreCase = true) &&
arrayOf("TW", "HK", "MO").any { c -> it.country.equals(c, ignoreCase = true) } &&
... | Kotlin |
, "[?]" /*06ef*/, "0" /*06f0*/, "1" /*06f1*/, "2" /*06f2*/, "3" /*06f3*/, "4" /*06f4*/, "5" /*06f5*/, "6" /*06f6*/, "7" /*06f7*/, "8" /*06f8*/, "9" /*06f9*/, "Sh" /*06fa*/, "D" /*06fb*/, "Gh" /*06fc*/, "&" /*06fd*/, "+m" /*06fe*/ }},
{7 /*1792 007*/, new[]{ "//" /*0700*/, "/" /*0701*/, "," /*0702*/, "!"... | C# |
= new ExpressionE(),
E1 = new ExpressionE1(),
T = new ExpressionT(),
T1 = new ExpressionT1(),
F = new ExpressionF();
//文法0:
NonterminalExpression grammar0 = new ExpressionE();
ArrayList<AbstractExpression> g0 = new ArrayList<>();
... | Java |
/* $OpenBSD: ofwreal.S,v 1.1 2001/09/01 15:57:06 drahn Exp $ */
/* $NetBSD: ofwreal.S,v 1.1 1996/09/30 16:34:51 ws Exp $ */
/*
* Copyright (C) 1996 Wolfgang Solfrank.
* Copyright (C) 1996 TooLs GmbH.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are... | Assembly |
#include <openssl/objects.h>
#include <openssl/ecdsa.h>
#include <openssl/sha.h>
#include <string.h>
#include "sizes.h"
int verification(
const unsigned char m[SHORTHASH_BYTES],const unsigned long long mlen,
const unsigned char sm[SIGNATURE_BYTES],const unsigned long long smlen,
const unsigned char pk[PUBL... | C |
/*
For more information, please see: http://software.sci.utah.edu
The MIT License
Copyright (c) 2020 Scientific Computing and Imaging Institute,
University of Utah.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the ... | C |
xmm0
movaps nb300_fiy(%esp),%xmm1
movaps nb300_fiz(%esp),%xmm2
movhlps %xmm0,%xmm3
movhlps %xmm1,%xmm4
movhlps %xmm2,%xmm5
addps %xmm3,%xmm0
addps %xmm4,%xmm1
addps %xmm5,%xmm2 ## sum is in 1/2 in xmm0-xmm2
movaps %xmm0,%xmm3
movaps %... | Assembly |
_frb_get_rust_content_hash();
}
late final _frb_get_rust_content_hashPtr =
_lookup<ffi.NativeFunction<ffi.Int32 Function()>>(
'frb_get_rust_content_hash');
late final _frb_get_rust_content_hash =
_frb_get_rust_content_hashPtr.asFunction<int Function()>();
/// # Safety
///
/// This sh... | Dart |
.getClass("V");
OClass song = schema.createClass("City");
song.addSuperClass(v);
song.createProperty("name", OType.STRING);
db.command("create index City.name on City (name) FULLTEXT ENGINE LUCENE").close();
}
@Test
public void loadCloseDelete() {
int size = 1000;
for (int i = 0; i < si... | Java |
GPUSurfaceCapabilities.
*
* @{
*/
WGPU_EXPORT void wgpuSurfaceCapabilitiesFreeMembers(WGPUSurfaceCapabilities surfaceCapabilities) WGPU_FUNCTION_ATTRIBUTE;
/** @} */
/**
* \defgroup WGPUTextureMethods WGPUTexture methods
* \brief Functions whose first argument has type WGPUTexture.
*
* @{
*/
WGPU_EXPORT WG... | C |
1.AddressBytes);
Assert.Equal(6, len1);
Assert.Equal(AddressKind.Rel32, matchingPattern1.AddressMeaning.Kind);
Assert.Equal(5, matchingPattern1.AddressMeaning.RelativeToOffset);
result = collection.TryFindMatch(new byte[] { 0xb8, 0x01, 0xe9, 0x11, 0x22, 0x90, 0xe8, 0x5f,... | C# |
);
const excepted = exceptionsMap.get(hn);
if ( excepted ) { tonotdoIndices.push(...excepted); }
}
exceptionsMap.clear();
}
// Hostname-based
if ( hostnamesMap.size !== 0 ) {
const collectArgIndices = hn => {
let argsIndices = hostnamesMap.get(hn);
if ( argsIndices === undef... | JavaScript |
nalytics.trackEvent(AnalyticEvents.NewUserConfirmEvent)
preferencesHelper.setTutorialPassed(true)
exitAnimation()
}
adapter.listener?.canBegin(adapter.isAllCheckedToStart())
}
... | Kotlin |
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */
#ifndef FDT_H
#define FDT_H
/*
* libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation.
* Copyright 2012 Kim Phillips, Freescale Semiconductor.
*/
#ifndef __ASSEMBLY__
struct fdt_header {
fdt32_t magic; /* ma... | C |
Reminder || habit.reminderHour == null || habit.reminderMinute == null) {
return;
}
await cancelHabitReminder(habit.id);
final now = DateTime.now();
var scheduledDate = DateTime(
now.year,
now.month,
now.day,
habit.reminderHour!,
habi... | Dart |
= 1
private val selectSourceCode = 2
override fun onPreferenceClick(preference: Preference?): Boolean {
return when (preference?.key) {
KEY_DEFAULT_SEARCH_SOURCE -> {
startActivityForResult<SelectSourceActivity>(selectSourceCode)
true
}
... | Kotlin |
unika der Erlösung",
[22426] = "Handschützer der Erlösung",
[22427] = "Beinschützer der Erlösung",
[22428] = "Kopfstück der Erlösung",
[22429] = "Schiftung der Erlösung",
[22430] = "Stiefel der Erlösung",
[22431] = "Gurt der Erlösung",
[22432] = "Teufelssaurierhaken",
[22433] = "Don Mauricio\'s Band der... | Lua |
cavo le entries
if (limit == 0) // con limit
limit = ISQLQueryObject.LIMIT_DEFAULT_VALUE;
if (!search.equals("")) { // con search
ISQLQueryObject sqlQueryObject = SQLObjectFactory.createSQLQueryObject(this.driver.tipoDB);
sqlQueryObject.addFromTable(CostantiDB.ROUTING);
sqlQueryObject.addSelectFi... | Java |
{
name = rs.getString("name");
siegeDate = Calendar.getInstance();
siegeDate.setTimeInMillis(rs.getLong("siegeDate"));
siegeDayOfWeek = rs.getInt("siegeDayOfWeek");
if (siegeDayOfWeek < 1 || siegeDayOfWeek > 7)
{
siegeDayOfWeek = 7;
}
siegeHourO... | Java |
encodeXmlStringValue('Mode', mode.value),
if (retainUntilDate != null)
_s.encodeXmlDateTimeValue('RetainUntilDate', retainUntilDate,
formatter: _s.iso8601ToJson),
];
final $attributes = <_s.XmlAttribute>[
...?attributes,
];
return _s.XmlElement(
_s.XmlName(elemName)... | Dart |
"pancreatitis",
]:
avg, n = calculate_average(all_evals[patho], field, patho)
avg_scores[field][patho] = avg
avg_samples[field][patho] = n
model_scores[model] = avg_scores
if difficulty == "first_diag" or difficulty == "dr_eval":
... | Python |
when (sideEffect) {
is FriendsSideEffect.NetworkError -> {}
is FriendsSideEffect.RefreshList -> friendsViewModel.getFriendsList()
is FriendsSideEffect.CopyInviteLink -> {
friendsState.myInviteLink?.let { link ->
clipboardManager.setText(Annotat... | Kotlin |
import aiohttp
url = "https://owobot.com/api/status"
def get_max_shards(json_data):
max_shard = 0
for item in json_data:
if "shards" in item:
shard_data = item["shards"]
max_shard_in_item = max(shard["shard"] for shard in shard_data)
if max_shard_in_item > max_shar... | Python |
vertListToPrimitiveArray(List<Float> list) {
float[] result = new float[list.size()];
for (int i = 0, len = list.size(); i < len; i++) {
result[i] = list.get(i);
}
return result;
}
/**
* A helper method which converts List<List<List<Float>>> to a primitive array float[][][].
* @param li... | Java |
| 5.33 | 飞机劫持动作 | |
| 870 | MISC | Plunger_01 | 200 | 3.33 | 起爆器引爆动作 | |
| 871 | MISC | Plyrlean_loop | 160 | 2.67 | 玩家倚靠循环 | |
| 87... | Markdown |
items.add(new MainMenuAdapter.ListItem(30007, "Food", -1, true, MenuType.SUB_HEADER));
items.add(new MainMenuAdapter.ListItem(30008, "Food Review", -1, true, MenuType.SUB_HEADER));
items.add(new MainMenuAdapter.ListItem(31000, "About", R.drawable.ic_perm_device_info, true, MenuType.HEADER));
... | Java |
, "${RelocationConfig.RELOCATION_ROOT_PACKAGE}.$aPackage")
}
}
}
}
}
/**
* 添加 `implementation` 和 `shadow`
*/
fun DependencyHandlerScope.shadowImplementation(dependencyNotation: Any) {
"implementation"(dependencyNotation)
"shadow"(dependencyNotation)
}
fun Project.regi... | Kotlin |
tbtn--enabled:hover{background:#c8cbcf;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn... | CSS |
Helper.DL_DELETE, MethodRankHelper.damerauLevenshteinDistance(box(new int[] {0,1,2,3}), box(new int[]{4,0,1,2,3})));
assertEquals("Ins Mid", MethodRankHelper.DL_DELETE, MethodRankHelper.damerauLevenshteinDistance(box(new int[] {0,1,2,3}), box(new int[]{0,1,4,2,3})));
assertEquals("Ins End", MethodRankHe... | Java |
describe("GET /toggl/current", () => {
it("should return current Toggl API state", async () => {
const mockResponseData = { entry: "Test Entry", entryId: 10, project: "Test Project", projectId: 1 }
;(TogglAPI.getCurrentState as any).mockResolvedValue(mockResponseData)
const response = await requ... | Typescript |
sn);
insnStmtMap.put(nextInst, nextStmt);
}
}
}
}
}
private boolean isReducableMoveInstruction(Opcode opcode) {
switch (opcode) {
case MOVE:
case MOVE_16:
case MOVE_FROM16:
case MOVE_OBJECT:
case MOVE_OBJECT_16:
case MOVE_OBJECT_FROM16... | Java |
_[0-9a-z]+}}__Z23without_schedule_clausePfS_S_S__l70.omp_outlined
// CHECK23-SAME: (ptr noalias noundef [[DOTGLOBAL_TID_:%.*]], ptr noalias noundef [[DOTBOUND_TID_:%.*]], ptr noundef nonnull align 4 dereferenceable(4) [[A:%.*]], ptr noundef nonnull align 4 dereferenceable(4) [[B:%.*]], ptr noundef nonnull align 4 deref... | C++ |
);
i++;
}
i = bodyLongTrailingIdx;
while (i < startIdx)
{
bodyLongPeriodTotal += CandleHelpers.CandleRange(inOpen, inHigh, inLow, inClose, Core.CandleSettingType.BodyLong, i - 1);
i++;
}
i = startIdx;
var outIdx = 0;
... | C# |
nse, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PR... | Typescript |
*******************************************************************
* Music by Epic from The Misfits Software (TMS) *
*******************************************************************
* Format pattern : 1 note = 2 octets *
* ... | Assembly |
heckStrategy = NullValueCheckStrategy.ALWAYS,
uses = [
OpendriveCommonMapper::class, Opendrive16CoreMapper::class, Opendrive16LaneMapper::class, Opendrive16ObjectMapper::class,
Opendrive16JunctionMapper::class, Opendrive16SignalMapper::class,
],
imports = [Option::class],
injectionStrate... | Kotlin |
fo)(unsafe.Pointer(ref))
return obj
}
// PassRef returns the underlying C object, otherwise it will allocate one and set its values
// from this wrapping struct, counting allocations into an allocation map.
func (x *ImageViewCreateInfo) PassRef() (*C.VkImageViewCreateInfo, *cgoAllocMap) {
if x == nil {
return nil,... | Go |
sts.append(inc_tot)
else:
lddt,inc_tot=getAtomlDDT(pdbdf1,pdbdf2,atomnum,atomnum2)
lddt_scores.append(lddt)
tot_dists.append(inc_tot)
return np.array(lddt_scores).mean(),np.array(tot_dists).sum()*4
def getAtomlDDT(pdbdf1,pdbdf2,atomnum1,atomnum2,tolerances=[0.5,1.0,2.0,4... | Python |
0
.u-margin-#{$i}, .u-m-#{$i} {
margin: $i + rpx!important;
}
// 得出:u-padding-30或者u-p-30
.u-padding-#{$i}, .u-p-#{$i} {
padding: $i + rpx!important;
}
@each $short, $long in l left, t top, r right, b bottom {
// 缩写版,结果如: u-m-l-30
// 定义外边距
.u-m-#{$short}-#{$i} {
margin-#{$long}: $i +... | CSS |
helper.exampleQueries()
})
it('Understanding the API Results page should display', () => {
helper.understandingResults()
})
it('Interactive charts should display', () => {
helper.infographics()
})
})
// / <reference types="cypress" />
import EndpointPagesTestHelper from "../../../../support... | JavaScript |
0DA65C 80179C1C 27BD0018 */ addiu $sp, $sp, 0x18
/* 0DA660 80179C20 03E00008 */ jr $ra
/* 0DA664 80179C24 00000000 */ nop
.type func_8017982C_ovl3, @function
.size func_8017982C_ovl3, . - func_8017982C_ovl3 | Assembly |
ource://view/do_ExpandableListView/1.png"
}, {
"groupid" : "001002",
"childid" : 9,
"cname" : "MacBook Pro 13英寸 MD101CH/A",
"productTypeName" : "MacBook Pro",
"img":"source://view/do_ExpandableListView/1.png"
} ], [ {
"groupid" : "0... | Typescript |
)
require.NoError(t, err)
t.Cleanup(kubeServersWatcher.Close)
// TLS config for kube proxy and Kube service.
proxyServerIdentity, err := authtest.NewServerIdentity(authServer.AuthServer, testCtx.HostID, types.RoleProxy)
require.NoError(t, err)
proxyTLSConfig, err := proxyServerIdentity.TLSConfig(nil)
require.... | Go |
, 151, 215, 106, 128, 196, 179, 103, 46, 31, 5, 120, 61, 37, 114, 89, 215, 207, 21, 253, 145, 64, 58, 37, 82, 250, 111, 151, 231, 42, 250, 61, 223, 148, 232, 192, 83, 162, 88, 239, 61, 137, 116, 5, 48, 57, 205, 227, 2, 220, 82, 176, 71, 34, 150, 186, 119, 241, 233, 75, 236, 62, 114, 132, 140, 98, 127, 66, 157, 251, 244... | C# |
ー完了率 | 100% | レビュー完了文書数/全文書数 |
| 承認完了率 | 100% | 承認完了文書数/全文書数 |
## トレーサビリティ管理
### コンポーネント内トレーサビリティ
各コンポーネント内でのトレーサビリティマトリックス管理:
```markdown
## トレーサビリティマトリックス
| 要件ID | 基本設計ID | 詳細設計ID | 実装ID | 単体テストID | 統合テストID |
|--------|-----------|-----------|--------|-------------|-------------|
| REQ-AUTH-001 | ARCH-AUTH-001 | D... | Markdown |
local InputActionComp = class("InputActionComp")
local InputActionItem = require("input/input_action_item")
function InputActionComp:ctor()
end
function InputActionComp:Init()
self.actionItems_ = {}
self:InitActionItems()
end
function InputActionComp:UnInit()
for k, v in pairs(self.actionItems_) do
v:UnIni... | Lua |
, int xC, int ch) {\n if (xC < 0 || xC >= "+t.inWidth+") {\n return initializationValue;\n }\n count += 1.0;\n return getX(batch, xD, xR, xC, ch);\n }\n\n void main() {\n ivec5 coords = getOutputCoords();\n int batch = coords.x;\n int ch = coords.u;\n\... | JavaScript |
L\n"
+ "\010property\030\001 \001(\0132:.google.cl"
+ "oud.vision.v1p4beta1.TextAnnotation.TextProperty\022A\n"
+ "\014bounding_box\030\002 \001(\0132+.google.cloud.vision.v1p4beta1.BoundingPoly\0222\n"
+ "\005words\030\003 \003(\0132#.google.cloud.vision.v1p4beta1.Word\022\022\n... | Java |
== 0)
{
ExtendedInfo e;
e.totalBounds = Rectangle<int> (DisplayWidth (dpy, DefaultScreen (dpy)),
DisplayHeight (dpy, DefaultScreen (dpy)));
e.usableBounds = e.totalBounds; // Support for usable area is not impl... | C++ |
のみで構成されているかの判定
pub fn is_sets(tr: &TileRow, ti: Type) -> bool {
let (mut n0, mut n1, mut n2);
n0 = tr[1];
n1 = tr[2];
for i in 1..8 {
n2 = tr[i + 2];
let n = n0 % 3;
if ti == TZ && n != 0 {
return false;
} else if n1 < n || n2 < n {
return false;
... | Rust |
ice";
import { ThemeContract } from "./contracts/themeContract";
import { Bag } from "@paperbits/common/bag";
import { HttpClient } from "@paperbits/common/http/httpClient";
export class StyleSnippetService implements IStyleSnippetService {
private selectedThemeName: string;
private styles: ThemeContrac... | Typescript |
if key then line[#line + 1] = key end
end
end
lines[#lines + 1] = line
end
end
-- Return (line, index) of given key within lines table
function findKey(which)
for i, line in ipairs(lines) do
for j, key in ipairs(line) do
if key == which then return li... | Lua |
'../utils';
export abstract class RedditDiscordCommands {
@On("message")
@Description("A philosophical tea hangout")
private async onMessage (
[message]: ArgsOf<"message">,
client: Client
) {
//Don't answer a message sent by the bot
if (message.author.bot) return;
... | Typescript |
ents, component);
// clearBounds() so that it gets recalculated on the next call
// to this.getBounds();
this.clearBounds();
},
/**
* APIMethod: getLength
* Calculate the length of this geometry
*
* Returns:
* {Float} The length of the geometry
*/
... | JavaScript |
0x00c8 (n0x1090-n0x1091) o
0x04249091, // c0x00c9 (n0x1091-n0x1092) +
0x042f5092, // c0x00ca (n0x1092-n0x10bd) +
0x242fd0bd, // c0x00cb (n0x10bd-n0x10bf) o
0x243050bf, // c0x00cc (n0x10bf-n0x10c1) o
0x243110c1, // c0x00cd (n0x10c1-n0x10c4) o
0x043390c4, // c0x00ce (n0x10c4-n0x10ce) +
0x0435d0ce, // c0x00c... | Go |
Buds', 'SmartX MiniPhone', 'SmartX ProPhone', 'MobiTech PowerCase'}
标准的产品集合: {'MobiTech Wireless Charger', 'SmartX EarBuds', 'MobiTech PowerCase'}
回答是标准答案的一个超集
1: 0.0
示例 2
2: 1.0
示例 3
3: 1.0
示例 4
错误
产品集合: {'SoundMax Home Theater', 'CineView 8K TV', 'CineView 4K TV', 'CineView OLE... | Markdown |
-arrow-right=""]{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 32 32' display='block' width='1.2em' height='1.2em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m18 6l-1.43 1.393L24.15 15H4v2h20.15l-7.58 7.573L18 26l10-10z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:v... | CSS |
04b1,U+2116}@font-face{font-family:"IBM Plex Sans";font-style:italic;font-weight:600;font-display:auto;src:local("IBM Plex Sans SemiBold Italic"),local("IBMPlexSans-SemiBoldItalic"),url(https://fonts.gstatic.com/s/ibmplexsans/v6/zYX7KVElMYYaJe8bpLHnCwDKhdTmyIJcdffuJGl18QRY.woff2) format("woff2");unicode-range:U+0370-03... | CSS |
公正镣铐",
[60674] = "维勒格里普的头颅",
[60675] = "铁怒披风",
[60676] = "破碎的魔像符文",
[60677] = "完好的魔像符文",
[60678] = "西部荒野锁子甲",
[60679] = "西部荒野牧场靴子",
[60680] = "收割机器人蓝图",
[60681] = "旧工程工具",
[60682] = "詹戈洛德矿洞装运货物",
[60683] = "金海岸装运货物",
[60684] = "工匠腰带",
[60685] = "安全绷带护腕",
[60686] = "收割魔像之臂",
[60687] = "加密笔记",... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.