content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
completionSource.GetResult(token);
}
protected bool TryGetResult<T>(UniTask<T>.Awaiter awaiter, out T result)
{
try
{
result = awaiter.GetResult();
return true;
}
catch (Exception ex)
{
... | C# |
0x01.toByte(), 0x03.toByte(), 0x00.toByte()
)
//Act
val pmdOfflineTrigger = PmdOfflineTrigger.parseFromResponse(pmdGetTriggerStatusResponse)
//Assert
assertEquals(PmdOfflineRecTriggerMode.TRIGGER_EXERCISE_START, pmdOfflineTrigger.triggerMode)
assertTrue(pmdO... | Kotlin |
import glob
import os
import pandas as pd
from mlxtend.preprocessing import TransactionEncoder
from mlxtend.frequent_patterns import apriori, association_rules
from nltk.stem.snowball import SnowballStemmer
import re
# Sørg for at have hentet punkt-tokenizer, hvis nødvendigt
# import nltk
# nltk.download('punkt')
de... | Python |
2; Windows 95)",
"Mozilla/3.0 (compatible; MSIE 3.0.1; Mac_PowerPC; Mac OS8)",
"Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)",
"Mozilla/4.0 (compatible; MSIE 4.01; Windows 98; compat)",
"Mozilla/4.0 (compatible; MSIE 4.01; SunOS 5.6 ... | HTML |
lbz r0, 0x68(r30)
/* 8050C4D0 00507A10 28 00 00 04 */ cmplwi r0, 4
/* 8050C4D4 00507A14 40 82 00 4C */ bne lbl_8050C520
lbl_8050C4D8:
/* 8050C4D8 00507A18 7F A3 EB 78 */ mr r3, r29
/* 8050C4DC 00507A1C 48 00 06 2D */ bl func_8050CB08
/* 8050C4E0 00507A20 7C 7F 1B 78 */ mr r31, r3
/* 8050C4E4 00507A24 7F A3 EB 78 ... | Assembly |
# Copyright 2024-2025 ModelCloud.ai
# Copyright 2024-2025 qubitium@modelcloud.ai
# Contact: qubitium@modelcloud.ai, x.com/qubitium
#
# 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... | Python |
import uuid
from curses.ascii import isalnum
from xray_url_decoder.XraySetting import TLSSettings, RealitySettings
from xray_url_decoder.vless import UserVless, VnextVless
def is_valid_uuid(value):
try:
uuid.UUID(str(value))
return True
except ValueError:
return False
def isValid_li... | Python |
_IsUnsavedEntity(t *testing.T) {
v := vipertools.MustNew()
v.Set("entity", "/path/to/file")
v.Set("is-unsaved-entity", true)
params, err := paramspkg.LoadHeartbeatParams(t.Context(), v, paramspkg.FlagReadOrderFlagPrecedence)
require.NoError(t, err)
assert.True(t, params.IsUnsavedEntity)
}
func TestLoadHeartbea... | Go |
/Map.html?is-external=true" title="class or interface in java.util">Map</a><K,V>, java.io.<a href="http://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
<ul>
<li type="circle">com.mps.deepviolet.suite.json.<a href="../../../../... | HTML |
.fetchRule(id);
default:
return ApiResult.fail(t.errors.unknownType);
}
} catch (e) {
LogUtils.e('获取信息失败', tag: 'MarkdownFormatter', error: e);
return ApiResult.fail(t.errors.errorWhileFetching);
}
}
/// 格式化Markdown链接
String formatMarkdownLinks(String data) {
// 将文... | Dart |
chen: {e_del_final}")
print("\n--- Testlauf product_db.py beendet ---")
# Änderungshistorie
# ... (vorherige Einträge)
# 2025-06-04, Gemini Ultra: Korrektur im `if __name__ == "__main__":` Block. `product_db` wird nun importiert, bevor `importlib.reload(product_db)` aufgerufen wird, um den `NameEr... | Python |
><img
src="//upload.wikimedia.org/wikipedia/commons/thumb/d/d0/Postscript-viewer-blue.svg/40px-Postscript-viewer-blue.svg.png"
decoding="async"
width="25"
height="25"
class="mw-f... | HTML |
n(snapshot, 0, snapshot.Length), 0, 0);
ParseSyntaxNode(snapshot, parentSyntaxNode, parentCodeBlockNode, token, 0);
return parentCodeBlockNode;
}
protected static string StatementFromSpan(ITextSnapshot snapshot, int start, int end)
{
if (start >= end)
... | C# |
="top_bottom">
兰州大学(Lanzhou
University)是中华人民共和国教育部直属的综合性全国重点大学,
中央直管副部级建制,由国家国防科技工业局与教育部共建,世界一流大学建设高校(A类),
“985工程”和“211工程”重点建设高校。选“珠峰计划”、“强基计划”、“2011计划”、“111计划”、
卓越法律人才教育培养计划、卓越医生教育培养计划等。
<br />
<br />
<br />
<p ... | HTML |
// text: "超时率",
// unit: "%"
// },
[PolicyName.ConsecutiveError]: {
text: "连续错误率",
unit: "个",
},
};
export const PolicyNameOptions = [
{
text: PolicyMap[PolicyName.ErrorRate].text,
value: PolicyName.ErrorRate,
},
{
text: PolicyMap[PolicyName.ConsecutiveError].text,
value: Pol... | Typescript |
atosaccus":"浮囊袋",
"pneumatoscope":"[医] 乳突诊察器, 口腔听诊器",
"pneumatosis":"n. [医]气肿",
"pneumatosis cystoides intestinalis":"[医] 肠壁囊样积气症",
"pneumatosis pulmonum":"[医] 肺气肿",
"pneumatosphere":"电子(控制)气动的",
"pneumatotherapy":"n. 气体疗法\\n[医] 气体疗法",
"pneumatothorax":"[医] 气胸",
"pneumatoysis":"气化",
"pneumaturia":"n. [医]气尿",
"pneumatyp... | Typescript |
er("lele".to_string()));
assert_eq!(2, Solution::max_power("leetcode".to_string()));
assert_eq!(5, Solution::max_power("abbcccddddeeeeedcba".to_string()));
assert_eq!(5, Solution::max_power("triplepillooooow".to_string()));
assert_eq!(11, Solution::max_power("hooraaaaaaaaaaay".to_string()));
assert_... | Rust |
earch-suggestion-title-color: var(--primary-200);
--flexsearch-suggestion-title-border-color: var(--gray-700);
--flexsearch-suggestion-desc-color: var(--gray-300); }
#FlexSearchCollapse {
transition: 0.05s ease;
width: fit-content; }
.flexsearch-container {
background-color: var(--flexsearch-container-bg-co... | CSS |
#!/usr/bin/env python
#
# Copyright (c) 2019, The OpenThread Authors.
# 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
# notic... | Python |
489d52f2abb28532162e2937ec4612f1be52a88f&scene=21#wechat_redirect)
[漏洞赏金猎人系列-如何测试注册功能以及相关Tips](http://mp.weixin.qq.com/s?__biz=MzIzMTIzNTM0MA==&mid=2247486764&idx=1&sn=9f78d4c937675d76fb94de20effdeb78&chksm=e8a6074fdfd18e59126990bc3fcae300cdac492b374ad3962926092aa0074c3ee0945a31aa8a&scene=21#wechat_redirect)
... | Markdown |
("gl-texture2d: Unknown wrap mode "+t);return this.gl.texParameteri(this.gl.TEXTURE_2D,this.gl.TEXTURE_WRAP_T,t),this._wrapT=t}},wrap:{get:function(){return this._wrapVector},set:function(t){if(Array.isArray(t)||(t=[t,t]),2!==t.length)throw new Error("gl-texture2d: Must specify wrap mode for rows and columns");for(var ... | HTML |
FromTexture2D(gl, tex, 0, 0, testCase.width, testCase.height);
comparePixels(buffer1, buffer2);
var subWidth = testCase.width - testCase.xoffset;
var subHeight = testCase.height - testCase.yoffset;
debug("TexSubImage2D : offset = (" + testCase.xoffset + ", " + testCase.yoffset +
"), size = (" + subWidt... | HTML |
Some(true));
assert_eq!(hmob.lookup(&Datum::EmptyNest).map(|_| true), None);
hmob.hashmap.remove(&rator);
assert_eq!(hmob.lookup(&rator).map(|_| true), None);
let compound = Datum::Combination{operator: DatumBox::new(Datum::Extra(())),
... | Rust |
fontSize, color,
x - offset, y, false, false, // Disable alignment for marquee
textDisplayItem.Bold, textDisplayItem.Italic, textDisplayItem.Underline,
textDisplayItem.Strikeout, false, false, 0);
g.DrawString(text, textDisplayItem.Font, textDisplayItem.Fon... | C# |
ecified number of bytes
final tileBytes = Uint8List.sublistView(bytes, 26 + etagLength + 4);
if (tileBytes.lengthInBytes != tileBytesExpectedLength) {
throw CachedMapTileReadFailure(
url: url,
description: 'tile image bytes were not of expected length (found '
'${ti... | Dart |
of worried about you.</p>
<p>FBOB: OK, look, this isn't the first time somebody's said something to me about this,
but, I don't know... I always made excuses about it, like... uhhh... 'I'm just a social
drinker,' or, 'C'mon, it's Flag Day.'</p>
<p>MNCA: So, what are you saying now?</p>
<p>FBOB: I guess I'm saying, ... | HTML |
}
};
//------------------------------------------------------------------------------
template <class T>
class DivideTetrahedronBy8 : public TetrahedronRefiner<T> {
public:
void refine(const Tetrahedron<T>& in,
unsigned int addVertexStart,
Tetrahedron<T>* out,
Eigen::Mat... | C |
MNIST_CPp_
#include "mnist.h"
#include <fstream>
#include "../byte_orderer.h"
#include "../uintn.h"
// ----------------------------------------------------------------------------------------
namespace dlib
{
void load_mnist_dataset (
const std::string& folder_name,
std::vector<matrix<unsigned ch... | C++ |
disabledFeatures: nil,
expectedList: []string{"httpproxies", "tlscertificatedelegations", "extensionservices", "contourconfigurations"},
},
{
description: "disable extensionservices",
resourceList: []string{"httpproxies", "tlscertificatedelegations", "extensionservices", "contourconfiguration... | Go |
地存储**:所有对话数据均存储于本地,杜绝隐私泄露风险
<img src="./resources/localmodel_dark.png" alt="本地模型界面" width="800" />
- **离线能力**:初始化设置后无需持续联网
- **API 自定义**:可连接自有 AI 模型 API 或第三方服务,全程掌控数据流向
<img src="./resources/apimodel_light.png" alt="API 模型设置" width="800" />
### 💬 卓越对话体验
- **多会话管理**:轻松创建和管理多个独立对话
- **历史追溯**:自动保存全部对话记录,支持随时查阅与续... | Markdown |
ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"}};return M.default.locale(m,null,!0),m}(_(104))}}]);
//# sourceMappingURL=chunk.160.js.map(window.webpackJsonp=window.webpackJsonp||[]).push([[90],{1966:function(e,t,a){"use strict";a.r(t);a(98),a(35),a(16),a(59),a(47);v... | JavaScript |
nz, _z8_reset9
_z8_reset10:
#endif
/* Start NuttX */
ldx __intrp,#0
xor r15, r15
xor r14, r14
call _os_start
/* We should never get here */
_z8_reset_halt:
jr _z8_reset_halt
/**************************************************************************
* Data
************* | Assembly |
ga", "audio/ogg");
put("spx", "audio/ogg");
put("aac", "audio/x-aac");
put("mka", "audio/x-matroska");
put("jpgv", "video/jpeg");
put("jpgm", "video/jpm");
put("jpm", "video/jpm");
put("mj2", "video/mj2");
put("mjp2", "video/mj2");
put("mpa", "vid... | Kotlin |
t_drop": "나의 보관함의 오브젝트를\n오브젝트 리스트에 추가합니다.",
"my_storage_block_drop": "블록을\n나의 보관함에\n추가합니다.",
"my_storage_object_drop": "오브젝트를\n나의 보관함에\n추가합니다.",
"my_storage": "나의 보관함",
"my_block": "나의 블록",
"red": "빨강(R)",
"green": "녹색(G)",
"blue": "파랑(B)",
"hue": "색상",
"saturation": "채도",
"brigh... | JavaScript |
ce)
optimizer = SGD(net.parameters(), lr=1e-2)
for i in range(10):
optimizer.zero_grad()
# Get new data
coords, feat, label = data_loader()
input = ME.SparseTensor(feat, coords=coords).to(device)
label = label.to(device)
# Forward
output = net(input)
... | Python |
local myname, ns = ...
-- talk to Tanmar: 85103
-- talk to Didi: 85157
-- A Choir of Citrines 41050:
-- [] = {criteria=70827, quest=85674}, -- Storm Sewer's Citrine
-- [] = {criteria=70825, quest=85673}, -- Old Salt's Bardic Citrine
-- [] = {criteria=70826, quest=85672}, -- Mariner's Hallowed Citrine
-- [] = {criteri... | Lua |
e.resource.SparkRes;
import org.jivesoftware.smack.ConnectionListener;
import org.jivesoftware.smack.XMPPConnection;
import org.jivesoftware.spark.SparkManager;
import org.jivesoftware.spark.util.SwingWorker;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
/**
* Used for silent reconnecting<br>... | Java |
epo_path: &Path) -> Result<Vec<u8>, Error> {
let key_path = repo_path.join(".sala/key");
if !key_path.is_file() {
Err(NoRepo)
} else {
let passphrase = read_password("Enter the master passphrase: ");
gpg::decrypt(&key_path, &passphrase.as_bytes()).map_err(|_| UnlockFailed)
}
}
f... | Rust |
return true
}
override suspend fun getTags(): List<RssTag>? {
return mainApi?.getTags()?.tags?.filter {
TAG_TYPE_TAG == it.type
}?.mapNotNull {
if (it.id.isNullOrEmpty()) {
null
} else {
RssTag(it.id, it.id?.substring(it.... | Kotlin |
detail">Field</a> | </li>
<li>Constr | </li>
<li>Method</li>
</ul>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
</footer>
</body>
</html>
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<title>Au... | HTML |
看任务详情
Input:
```
tccli vm DescribeTaskDetail --cli-unfold-argument \
--TaskId task-video-XwxJtbkKXWgCt8AZ
```
Output:
```
{
"Response": {
"TaskId": "task-video-XwxJtbkKXWgCt8AZ",
"DataId": "data_test_01",
"BizType": "1001",
"Name": "",
"Status": "FINISH",
"T... | Markdown |
s-scope .m\:grid-flow-row {
grid-auto-flow: row;
}
.amis-scope .m\:grid-flow-col {
grid-auto-flow: column;
}
.amis-scope .m\:grid-flow-row-dense {
grid-auto-flow: row dense;
}
.amis-scope .m\:grid-flow-col-dense {
grid-auto-flow: column dense;
}
}
@media (min-width: 769px) {
.amis-sc... | CSS |
Jcvehep30isy8j ._3KMXbPXzteROdlMdQG0avJ,
._1sc-BFvGe6huemAE5yVozQ ._2qg_JbiUIJLmDxFmyDsns6 .WtpDvanEO43IdhGSDMDRL,
._1sc-BFvGe6huemAE5yVozQ ._2qg_JbiUIJLmDxFmyDsns6 ._3KMXbPXzteROdlMdQG0avJ,
._1sc-BFvGe6huemAE5yVozQ ._1e5Io3Rqwe_szDrwOPVAlP .WtpDvanEO43IdhGSDMDRL,
._1sc-BFvGe6huemAE5yVozQ ._1e5Io3Rqwe_szDrwOPVAlP ._3KM... | CSS |
nStream;
use quote::{format_ident, quote};
use syn::{parse_macro_input, DeriveInput};
use crate::common;
pub fn derive(input: TokenStream) -> TokenStream {
let ast = parse_macro_input!(input as DeriveInput);
let enum_ident = &ast.ident;
let kind_ident = format_ident!("{}Kind", enum_ident);
let vis = &ast.vis;
le... | Rust |
ader = null!;
int progressPercent = 0;
List<FluentInputFileEventArgs> Files = new();
protected override void OnInitialized()
{
base.OnInitialized();
_originalValue = Value;
}
private async Task _clearFile()
{
await Uploaded.InvokeAsync(null);
}
private async Task _resetFile()
{
await ResetRequested... | C# |
/***************************************************************************
file : glfeatures.h
created : Wed Jun 1 14:56:31 CET 2005
copyright : (C) 2005 by Bernhard Wymann
version : $Id: glfeatures.h,v 1.2 2005/08/05 09:26:39 berniw Exp $
*******... | C |
dOffs (self);
}
public PhyComAddress GetDstAddress()
{
return ClientGooseControlBlock_getDstAddress (self);
}
public void SetDstAddress(PhyComAddress value)
{
ClientGooseControlBlock_setDstAddress (self, value);
flagDstAddress = true;
}
public void Dispose()
{
if (isDispos... | C# |
on:this.json,stdout:this.context.stdout,includeFooter:!1},async T=>{T.reportWarning(0,"Yarn detected that the current workflow is executed from a public pull request. For safety the hardened mode has been enabled."),T.reportWarning(0,`It will prevent malicious lockfile manipulations, in exchange for a slower install ti... | JavaScript |
Did not get best docs for query {0}\n"
"Scores: {1}\n"
"Source docs: {2}\n"
"Best index: {best_index}, score: {best_score}\n".format(
query_id, scores, source_doc_ids,
best_index=best_index, best_score=best_score))
assert (best_doc_id, 1.0, 1.0... | Python |
#!/usr/bin/env python3
import traceback
import cereal.messaging as messaging
from panda.python.uds import FUNCTIONAL_ADDRS
from selfdrive.car.isotp_parallel_query import IsoTpParallelQuery
from selfdrive.swaglog import cloudlog
VIN_REQUEST = b'\x09\x02'
VIN_RESPONSE = b'\x49\x02\x01'
VIN_UNKNOWN = "0" * 17
def get_... | Python |
", info.Copyright)
}
package gui
import (
"fmt"
"image/color"
"sync"
"time"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/canvas"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/layout"
"fyne.io/fyne/v2/theme"
"fyne.io/fyne/v2/widget"
"fyne.io/systray"
"click-guardian/internal/config"
"click-gu... | Go |
return tfds.core.DatasetInfo(
builder=self,
description=DESCRIPTION,
features=tfds.features.FeaturesDict({
"distortion": tfds.features.Text(),
"index": tf.int32,
"distorted_image": tfds.features.Image(),
"reference_image... | Python |
ModifyColumnStatement(
"FOO", new ValueMetaString("BAR", 15, 0), "", false, "", false));
assertEquals(
"insert into FOO(FOOKEY, FOOVERSION) values (0, 1)",
nativeMeta.getSqlInsertAutoIncUnknownDimensionRow("FOO", "FOOKEY", "FOOVERSION"));
assertEquals("DELETE FROM FOO", nativeMeta.g... | Java |
("parent_object_type=? AND parent_object_id=?", comment.parentObjectID.type(), comment.parentObjectID.id())
.executeNoResult();
}
if(comment.parentObjectID.type()==CommentableObjectType.BOARD_TOPIC){
Timestamp updatedAt;
int lastAuthorID;
try(ResultSet res=new SQLQueryBuilder(conn)
.selec... | Java |
canvas.drawText(displayText, textX, textY, textPaint)
}
} catch (e: Exception) {
Log.e("DrawBoxes", "Error: ${e.message}")
}
return resultBitmap
}
/**
* 使用SIFT特征匹配算法在输入图像中查找目标图像的位置
* @param inputImage 输入图像(搜索区域)
* @param targetImage 目标图像(要查找的模板)
... | Kotlin |
lf.b = 20
t1=Test7()
t2 = Test7()
Test7.a = 888
t1.b = 999
print('t1:',t1.a,t1.b)
print('t2:',t2.a,t2.b)
# t1: 888 999
# t2: 888 20
print("*********Test8**********")
class Test8:
a = 10
def __init__(self):
self.b = 20
def m1(self):
self.a = 888
self.b = 999
t1=Test8()
t2 = Tes... | Python |
] [name of copyright owner]"
*
* $Id: SiteConfiguration.java,v 1.12 2010/01/15 18:10:55 veiming Exp $
*
* Portions Copyrighted 2010-2015 ForgeRock AS.
*/
package com.sun.identity.common.configuration;
import com.iplanet.sso.SSOException;
import com.iplanet.sso.SSOToken;
import com.sun.identity.shared.FQDNUrl;
im... | Java |
STW_I stw %r25, [%r21 + 0x01b4]
.word 0xb551c000 ! 8754: RDPR_TL rdpr %tl, %r26
.word 0xbe3c4000 ! 8756: XNOR_R xnor %r17, %r0, %r31
.word 0xfc25e076 ! 8758: STW_I stw %r30, [%r23 + 0x0076]
mov 1, %r12
.word 0x8f930000 ! 8759: WRPR_TL_R wrpr %r12, %r0, %tl
.word 0xf024c000 ! 8761: STW_R stw %r24, [%r19 + %r... | Assembly |
cream so it has fewer calories than most creamy soups.</li>
<li>Uses simple ingredients you likely have on hand and it’s <strong><em>budget-friendly</em></strong>.</li>
<li>It is full of fiber and protein, so it will really fill you up.</li>
</ul>
<figure class="wp-block-image aligncenter size-full"><im... | HTML |
</li>
<li>Cc: and Bcc: fields</li>
<li>Improved performance of email and contact lists</li>
<li>Use ripple effect on API 21+</li>
<li>Much better support for legacy devices</li>
<li>Help and About screens</li>
<li>UI improvements, bug fixes, translation updates</li>
</ul>
<h2>0.4</h2>
<ul>
<li>New email notifications!... | HTML |
4}).map((_, index) => dv.getUint8(index + 8))
// const a3 = Array.from({length: 4}).map((_, index) => dv.getUint8(index + 12))
// const name = String.fromCharCode.apply(null, a3)
const width = dv.getUint32(16)
const height = dv.getUint32(20)
const bitDepth = dv.getUint8(24)
const colorType = dv.getUint8(25... | Typescript |
columns a and b together form a strict key over the cartesian product.
// If either a or b had duplicate rows to begin with, a key over the cartesian
// product would not be possible. Now, the left join's "a < 3" on condition is
// applied:
//
// a b
// ----
// 1 1
// 1 2
// 2 1
// 2 2
//
... | Go |
/* #include "kdwm1000_bsp.h" */
#ifndef __KDWM1000_BSP_H
#define __KDWM1000_BSP_H
#include "drivers\stm32f4_system.h"
/*====================================================================================================*/
/*=============================================================================================... | C |
eplace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
}
@return $string;
}
// See https://codepen.io/kevinweber/pen/dXWoRw
//
// Requires the use of quotes around data URIs.
@function escape-svg($string) {
@if str-index($string, "data:image/svg+xml") {
@each $char, $enc... | CSS |
d></tr>
{% endfor %}
</tbody>
</table>
</form>
{% endblock %}
{% extends "menu_base.html" %}
{% load i18n %}
{% block title %}{% trans "Import VMs" %}{% endblock %}
{% block head %}
<link rel="stylesheet" type="text/css" href="{{SITE_ROOT}}/object_permissions_media/css/form.css"/... | HTML |
所包含而未按照本CTSO 第3 节进行评估的功能
或性能(即:非CTSO 功能)
。在获得CTSOA 的同时非CTSO 功能
也一同被接受。接受这些非CTSO 功能,申请人必须声明这些功能,
并在CTSO 申请时提供以下信息:
(1)非CTSO 功能的描述,如性能规范、失效状态类别、软
件、
硬件以及环境鉴定类别。
还应包括一份确认非CTSO 功能不会影
响设备对本CTSO 第3 节要求符合性的声明。
(2)安装程序和限制,能够确保非CTSO 功能满足第5.e.(1)
节所声明的功能和性能规范。
(3)第5.e.(1)节所描述非CTSO 功能的持续适航要求。
(4)接口要求和相关安装试验程序,以确保对第5.e.(1)节性
能... | Markdown |
ref size );
if ( result != NetConfigResult.OK )
return 0;
return value;
}
internal unsafe static bool SetConfigFloat( NetConfig type, float value )
{
float* ptr = &value;
return Internal.SetConfigValue( type, NetConfigScope.Global, IntPtr.Zero, NetConfigType.Float, (IntPtr)ptr );
}
internal... | C# |
range slice {
if i != 0 {
fmt.Println()
}
PrintStruct(s)
}
fmt.Println("}")
}
package main
import (
_ "embed"
)
// Note: run `go doc -all` in this package to see all of the types and functions available.
// ./pdk.gen.go contains the domain types from the host where your plugin will run.
package main
impo... | Go |
--bs-btn-close-color:#fff;--bs-btn-close-bg:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .... | CSS |
aligned
Lcase.13:
cmpo g1,g4 # check alignment of dest
ld (g3),MSW # fetch last word of src
subo 4,g3,g3 # retreat src word addr
be.t Lcase.1 # branch if dest word aligned
Lcase.3: # src is word aligned; dest is not
mov MSW,LSW # make copy of first word of src
lda 32,g14 # initialize shift count to z... | Assembly |
m',
// password: '123123',
// driverLicense: '00000',
// };
//
// await usersRepository.create(user);
//
// const authUser = await authUserUseCase.execute({
// email: 'asterix@mailinator.com',
// password: '123123',
// });
//
// expect(authUser).toHaveProperty('user');
// ... | Typescript |
/v1/projects.schemas)
* * How-to Guides
* * [Creating and managing schemas](https://cloud.google.com/pubsub/docs/schemas)
*
* ## Example Usage
* ### Pubsub Schema Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const example = new gcp.pubsub.S... | Typescript |
/*
Copyright (c) 2011 Red Hat Incorporated.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and... | Assembly |
LogUtil.writeErrorLog("gen certificate error", e);
}
return x509Cert;
}
public static X509Certificate getMiddleCert() {
if (null == middleCert) {
String path = SDKConfig.getConfig().getMiddleCertPath();
if (!isEmpty(path)) {
initMiddleCert();
... | Java |
),
),
coordinates,
)
}
fun near_munich_with_waypoints_for_reroute(context: Context): DirectionsRoute {
val jsonResponse = readRawFileText(
context,
R.raw.route_response_near_munich_with_waypoints_for_reroute
)
return DirectionsRes... | Kotlin |
PermissionFactory permissionFactory;
/**
* creates {@link Role} objects
*/
@Autowired
private RoleFactory roleFactory;
/**
* provides access to user services
*/
@Autowired
private UserService userService;
/**
* provides access to authorization services
*/
@... | Java |
d
cmp r9d, 32
jb .LBB4_410
# %bb.819:
lea rdx, [rcx + 4*r10]
cmp rdx, r8
jbe .LBB4_1197
# %bb.820:
lea rdx, [r8 + r10]
cmp rdx, rcx
jbe .LBB4_1197
.LBB4_410:
xor edx, edx
.LBB4_1200:
mov rsi, rdx
not rsi
test r10b, 1
je .LBB4_1202
# %bb.1201:
vmovd xmm0, dword ptr [rcx + 4*rdx] # xmm0 = mem[0],zero,zero... | Assembly |
r0, [r4, #0x10]
mov r0, r5
bl Function_21d77d8
str r0, [r4, #0x14]
mov r0, r5
bl Function_21d77f4
str r0, [r4, #0x18]
mov r0, #0x0
str r0, [r4, #0x34]
mov r0, r6
bl Function_21d5e08
cmp r0, #0x3
bne branch_21de42c
mov r0, #0x1
b branch_21de... | Assembly |
ar ratioS: String? by attr("ratio")
var ratioD: Double? by attr("ratio")
var remincross: Boolean? by attr()
var repulsiveforce: Double? by attr()
var resolution: Double? by attr()
var rootS: String? by attr("root")
var rootB: Boolean? by attr("root")
var rotate: Int? by attr()
va... | Kotlin |
the first failed health check counts toward the number of retries.
final int? startPeriod;
/// The time period (in seconds) to wait for a health check to succeed before a
/// failed health check is counted.
final int? timeout;
ContainerHealthCheck({
required this.command,
this.interval,
this.re... | Dart |
',
3: 'OFPTFFC_BAD_LEN',
4: 'OFPTFFC_BAD_ARGUMENT',
5: 'OFPTFFC_EPERM',
}
# Identifiers from group ofp_table_mod_failed_code
OFPTMFC_BAD_TABLE = 0
OFPTMFC_BAD_CONFIG = 1
OFPTMFC_EPERM = 2
ofp_table_mod_failed_code_map = {
0: 'OFPTMFC_BAD_TABLE',
1: 'OFPTMFC_BAD_CONFIG',
2: 'OFPTMFC_EPERM',
}
... | Python |
eldParseTable);
}
private static readonly IniParseTable<LoadSubsystem> FieldParseTable = new IniParseTable<LoadSubsystem>
{
{ "Loader", (parser, x) => x.Loader = parser.ParseEnum<SubsystemLoader>() },
{ "InitFile", (parser, x) => x.Entries.Add(new InitFile(parser.ParseFileName())) },
... | C# |
: 'POST',
requestUri:
'/accounts/${Uri.encodeComponent(awsAccountId)}/namespaces/${Uri.encodeComponent(namespace)}/iam-policy-assignments/',
exceptionFnMap: _exceptionFns,
);
return CreateIAMPolicyAssignmentResponse.fromJson(response);
}
/// Creates and starts a new SPICE ingestion fo... | Dart |
expect(sudokuSolver.sudoku.setCellValue).toHaveBeenCalledWith(r1c1.position, '1');
});
it(`should not set any cells if the value could be in an adjacent cell`, () => {
expect(r1c1.possibleValues).toEqual(characters);
r1c2.possibleValues = ['2', '3', '4'];
r1c3.possibleValues = ['2', '3', '4'];
r1c4.poss... | Typescript |
5-49q0-23 6.5-43.5T543-453q6-14 11.5-27.5T560-508v-152q0-24 7.5-45.5T589-745q-26-8-53.5-11.5T480-760q-28 0-55.5 3.5T371-745q14 18 21.5 39.5T400-660v152q0 14 5 28t12 27q10 20 17 40.5t7 43.5q0 25-7.5 48.5T412-276q-7 10-10.5 21t-3.5 23q0 10 2 19t7 17l29 58-72 36ZM160-520q17 0 28.5-11.5T200-560q0-17-11.5-28.5T160-600q-17 0... | JavaScript |
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_day19() {
let test_input = "0: 4 1 5
1: 2 3 | 3 2
2: 4 4 | 5 5
3: 4 5 | 5 4
4: \"a\"
5: \"b\"
ababbb
bababa
abbbab
aaabbb
aaaabbb";
assert_eq!(part1(&test_input), 2);
let test_input = "42: 9 14 | 10 1
9: 14 27 | 1 26
10: 23 1... | Rust |
(repository: repository);
BecauseOf();
}
private void BecauseOf() =>
exception = Assert.Throws<CommandServiceException>(() =>
commandService.Execute(new NotConstructingEventSourcedCommand(), null));
[NUnit.Framework.Test] public void should_throw_except... | C# |
or each vertex u in V
/// color[u] := WHITE initialize vertex u
/// end for
/// time := 0
/// call DFS-VISIT(G, source) start vertex s
///
/// DFS-VISIT(G, u)
/// color[u] := GRAY discover vertex u
/// for each v in Adj[u] ... | Rust |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
using System;
using System.Runtime.InteropServices;
using MonoGame.Interop;
using MonoGame.Framework.Utilities;
namespace Microsoft.Xna.Framew... | C# |
FACTOR);
break;
case 40: // down
handled = throwDelta(
0, -ARROW_KEY_DELTA,
FAST_SNAP_DECELERATION_FACTOR);
break;
case 37: // left
handled = throwDelta(
ARROW_KEY_DELTA, 0,
FAST_SNAP_DECE... | Dart |
# Copyright 2022 Google LLC
#
# 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, ... | Python |
u1e70ha",
"Khu",
"Tsh",
"\u1e3car",
"Nye"
],
"WEEKENDRANGE": [
5,
6
],
"fullDate": "y MMMM d, EEEE",
"longDate": "y MMMM d",
"medium": "y MMM d HH:mm:ss",
"mediumDate": "y MMM d",
"mediumTime": "HH:mm:ss",
"short": "y-MM-dd HH:mm",
"shortDate":... | JavaScript |
7.384 50.535 25.105 52.242"/><g><path fill="#fcea2b" stroke="#fcea2b" stroke-linecap="round" stroke-linejoin="round" d="M18.6308,37.9167a6.7812,6.7812,0,0,0-1.258-2.6215,6.7812,6.7812,0,0,0,2.6215,1.258,1.7666,1.7666,0,0,0-1.5618-2.1251c-.0249-.0023-.05-.0017-.0749-.003l.0025-.0022c-.0212,0-.0414,0-.0623,0-.0284-.0005-... | CSS |
source media="(min-width: 800px)" srcset="wide-banner-800w.jpg" />
<img src="large-banner-800w.jpg" alt="Dense forest scene" />
</picture>
```
{{htmlelement("source")}} 要素は、 `media` 属性内にメディアクエリーを含みます。メディアクエリーが true を返した場合、 `<source>` 要素の `srcset` 属性で参照されている画像が読み込まれます。上記の例では、ビューポートの幅が `799px` 以下の場合、 `narrow-banner-48... | Markdown |
els)
#labels_path=plot_dir+"/results/watershed_processed.npy"
#labels_path=plot_dir+"/results/cell_body_cc_combined.npy"
#labels_path=plot_dir+"/results/cell_body_cc_combined_filtered.npy"
def step15_Extract_Radial_Intensity_features(plot_dir, d0, d1, labels_path, in_file_name, out_file_name):
labels=np.load(labels_... | Python |
MatchWindowCreateInfoQCom = 1000518002,
[NativeName("Name", "VK_STRUCTURE_TYPE_SAMPLER_CUBIC_WEIGHTS_CREATE_INFO_QCOM")]
SamplerCubicWeightsCreateInfoQCom = 1000519000,
[NativeName("Name", "VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CUBIC_WEIGHTS_FEATURES_QCOM")]
PhysicalDeviceCubicWeightsFeature... | C# |
((0, -1), (0, 0), (1, 0), (1, 1)),
((0, -1), (0, 0), (0, 1), (0, 2)),
((-1, 0), (0, 0), (1, 0), (0, 1)),
((0, 0), (1, 0), (0, 1), (1, 1)),
((-1, -1), (0, -1), (0, 0), (0, 1)),
((1, -1), (0, -1), (0, 0), (0, 1))
... | Markdown |
echeck');
}
return self.localStorage;
} else {
return self.cookie;
}
} catch (e) {
return self.cookie;
}
})();
/**
* Set pause page unload check function or Get state
*
* @param Boolean state To set state
* @param Boolean keep Keep disabled
* @return Boolean|... | JavaScript |
de29980,
[dir=rtl] .\@f09fa4bef09f8fbbe2808de29980efb88f {
background: url(https://raw.githubusercontent.com/koke228666/VKify/refs/heads/main/emojis/sprite_7.png)right -80px top -112px
}
.\@f09fa4bef09f8fbce2808de29980,
.\@f09fa4bef09f8fbce2808de29980efb88f {
background: url(https://raw.githubusercontent.com/koke228... | CSS |
lot1
end
function slot3.Update(slot0, slot1)
if slot0._duration < slot1 - slot0._startTimeStamp then
slot0._startTimeStamp = nil
end
end
function slot3.DoWhenHit(slot0, slot1)
if slot0._doWhenHit == "intercept" then
slot1:Intercepted()
uv0.Battle.BattleDataProxy.GetInstance():RemoveBulletUnit(slot1:GetUnique... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.