content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
S9XoembRgwRaFVkpQmKoKpOoZcdqV47FLDq5BYH/5POeJ9wLuAHjxQ\n" +
"5CMKo4p/lW7BCd4kuGWFT+OFFXfG2v6EtlqFbXBiFWLxyMsOtkUqWARCqEHhyucl\n" +
"TSYlj60EIgIgLfA75+8KcKxdN8mr6gzGjQe7jPFGG42Ejhd7Q2F4wuw="),
EE_DSA_1024(
"DSA",
// dsaWithSHA1, 1024 bits
... | Java |
nt, res.data.encoding).toString();
return {
key: res.data.license?.key,
content,
};
} catch (e) {
console.warn(`Failed to get license for ${owner}/${repo}`, e);
return {
key: undefined,
content: "",
};
}
}
export async function getDefaultBranch(
owner: string,
repo:... | Typescript |
import numpy as np
from scipy.fft import fft, ifft
def bp_filter_1D(d, dt, f1, f2, f3, f4):
"""
BP_Filter: Apply a band-pass filter to a group of traces.
input:
----------
d : numpy.ndarray
Input data array where each column represents a trace.
dt : float
Sampling interval in s... | Python |
sGXNhqbYTicnicBabmLkYCjV3QVwetam1en24D7bwpQ/640?wx_fmt=png" alt=""><img src="https://api.allorigins.win/raw?url=https://mmbiz.qpic.cn/sz_mmbiz_png/UicQ7HgWiaUb2J4xkDoPy28XIWOHnTo6fkBAjedwGJX2sd0jp29zFYS8MHJbxNM5D36eGgd7cOLuxicMRb50USOrQ/640?wx_fmt=png" alt=""></p>
<p>两个模型都完成了——4:2</p>
<p><strong>第五题</strong></p>
<p>使用P... | HTML |
li>
<li>data_context : <a class="el" href="structInfraredTimTx.html#ad2b4c1026efcb054a2de923fcf198854">InfraredTimTx</a></li>
<li>data_eprx : <a class="el" href="structCdcIadDescriptor.html#a2615f4f50b71e291c903ea0151ec5ddd">CdcIadDescriptor</a></li>
<li>data_eptx : <a class="el" href="str... | HTML |
//
// TransformDelegate_JNI.h
// ViroRenderer
//
// Copyright © 2016 Viro Media. All rights reserved.
//
// 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, includin... | C |
k})-\dots)r_{k-1,k} \bmod p_k
$$
??? note "实现"
=== "C++"
```cpp
for (int i = 0; i < k; ++i) {
x[i] = a[i];
for (int j = 0; j < i; ++j) {
x[i] = r[j][i] * (x[i] - x[j]);
x[i] = x[i] % p[i];
if (x[i] < 0) x[i] += p[i];
}
}
... | Markdown |
are chosen carefully not to be symlinks on a Mac
// (unlike, say, /var, /etc), except /tmp, which we handle below.
dirs := []string{"/", "/usr/bin", "/tmp"}
// /usr/bin does not usually exist on Plan 9 or Android.
switch runtime.GOOS {
case "android":
dirs = []string{"/system/bin"}
case "plan9":
dirs = []str... | Go |
</ol>
<ol class="toc-appendix">
<li>
<a href="../license/">
License
</a>
</li>
<li>
<a href="../conduct/">
Code of Conduct
</a>
</li>
<li>
<a href="../contributing/">
Contributing
</a>
</li>
<li>
<a href="../bibliography/">
<strong>Bibliogra... | HTML |
/****************
* Handle a compressed packet
*/
int
handle_compressed (ctrl_t ctrl, void *procctx, PKT_compressed *cd,
int (*callback)(IOBUF, void *), void *passthru )
{
int rc;
if(check_compress_algo(cd->algorithm))
return GPG_ERR_COMPR_ALGO;
if(cd->algorithm) {
compress_filter_cont... | C |
jmp .-2
lac .dske
sma
jmp 12 i
isz 9f+t
jmp 1b
jms halt " 10 disk errors
t = t+1
halt: 0
isz 9f+t
jmp .-1
iof
hlt
jms copy; law; 4096; 4096
hlt; jmp .-1
t = t+1 | Assembly |
ces via ssh", true)
// defer closing the SSH connection we just opened
defer func() {
results, err = gr.RunSync(
context.Background(),
&connection.SSHClose{},
)
if err != nil {
log.Fatal(err)
}
output.RenderResults(os.Stdout, results, "Close ssh connection", true)
}()
// Following call is going... | Go |
));
Convert(entity, result);
entity.AcceptChanges();
return true;
}
catch(SoapException soex)
{
System.Diagnostics.Debug.WriteLine(soex);
throw soex;
}
catc | C# |
rent - entry_price) * quantity
else: # SELL
estimated_current = entry_price * 0.999 # -0.1%
unrealized_pnl = (entry_price - estimated_current) * quantity
pnl_pct = (unrealized_pnl / (entry_price * quantity)) * 100 if (entry_price * quantity) > 0 els... | Python |
, 0x08888888 )
TEST_AMO_SRC01_BYP( 0, 1, amo.min, tdata_4, 0x0aaaaaaa, 0x08888888, 0x08888888 )
TEST_AMO_SRC01_BYP( 0, 2, amo.min, tdata_4, 0x08888888, 0x08888888, 0x08888888 )
TEST_AMO_SRC01_BYP( 0, 3, amo.min, tdata_5, 0xfffffffe, 0xffffffff, 0xfffffffe )
TEST_AMO_SRC01_BYP( 0, 4, amo.min, tdata_5, 0x... | Assembly |
ALIGN_EQ=61, SIGN_POSTFIX=62,
MEM_SIZE=63, I32=64, I64=65, F32=66, F64=67, IXX=68, FXX=69, OP_EQZ=70,
OP_EQ=71, OP_NE=72, OP_LT=73, OP_LTS=74, OP_LTU=75, OP_LE=76, OP_LES=77,
OP_LEU=78, OP_GT=79, OP_GTS=80, OP_GTU=81, OP_GE=82, OP_GES=83, OP_GEU=84,
OP_CLZ=85, OP_CTZ=86, OP_POPCNT=87, OP_NEG=88, OP_ABS=89,... | Java |
++;
mpz_mul_ui (want, want, n);
mpz_fdiv_q_ui (want, want, k);
}
for (i = r >> 3; i > 0; i--)
{
n++;
mpz_mul_ui (want, want, n);
mpz_fdiv_q_ui (want, want, n - k);
}
mpz_set_ui (n_z, n);
try_mpz_bin_ui (want, n_z, k);
try_mpz_bin_uiui (want, n, k);
}
mpz_clear (n_z);
... | C |
its(sdk.version)
val commandLine = GeneralCommandLine().withWorkDirectory(sdk.homePath)
commandLine.exePath = FileUtil.toSystemDependentName(DartSdkUtil.getDartExePath(sdk))
commandLine.charset = StandardCharsets.UTF_8
commandLine.addParameter("tooling-daemon")
commandLine.addParameter("--machine")... | Kotlin |
net/thank-you/runtime-desktop-8.0.16-windows-x64-installer) (没有的话,启动程序,系统会提示下载安装)
## 下载
当前有两个下载渠道,根据自己的网络自行选择:
* [📥Github 下载](https://github.com/babalae/better-genshin-impact/releases)
* [其他下载渠道见下载页](/download.html)
BetterGI 在 Github 页面提供了多个版本,主要是**安装版**和**便携版**,不同版本除了打包与安装方式之外,无任何区别。

raise
except Exception as e:
logging.error(f"Transcription error: {e}")
raise
finally:
cleanup_gpu()
if __name__ == "__main__":
audio_file_path = Path(paths["audio_dir"]) / paths["audio_file"]
subs... | Python |
close() {
_protocol.close();
}
/// Associate a virtual private cloud (VPC) subnet endpoint with your custom
/// routing accelerator.
///
/// The listener port range must be large enough to support the number of IP
/// addresses that can be specified in your subnet. The number of ports
/// required i... | Dart |
-for-valdef-attr-string\u2460"}],"title":"10. \nAttribute References: the attr() function"}],"url":"#valdef-attr-string"},
"valdef-attr-time": {"dfnID":"valdef-attr-time","dfnText":"time","external":false,"refSections":[],"url":"#valdef-attr-time"},
"valdef-attr-url": {"dfnID":"valdef-attr-url","dfnText":"url","externa... | HTML |
e away team BEAM UP to the<br>
Enterprise.</p>
<p> FADE OUT.</p>
<p> END OF ACT ONE </p>
<p> STAR TREK: "Loud as a Whisper" - 11/10/88 - ACT TWO 16.</p>
<p> ACT TWO </p>
<p> FADE IN:</p>
<p>26 EXT. SPACE - THE ENTERPRISE (OPTICAL)</p>
<p> in orbit around Ramatis.</p>
<p>27 INT. MAIN BRIDGE... | HTML |
vourite_categories SET sort_key = :sortKey WHERE category_id = :id")
abstract suspend fun updateSortKey(id: Long, sortKey: Int)
@Query("DELETE FROM favourite_categories WHERE deleted_at != 0 AND deleted_at < :maxDeletionTime")
abstract suspend fun gc(maxDeletionTime: Long)
@Query("SELECT MAX(sort_key) FROM favour... | Kotlin |
.set noreorder
.set nomacro
.set noat
.globl SMAP_CopyFromFIFO
.globl SMAP_CopyToFIFO
.text
SMAP_CopyFromFIFO:
lhu $v1, 8($a1)
lhu $a2, 38($a0)
li $v0, -4
lui $a3, 0xB000
addiu $v1, $v1, 3
and $v1, $v1, $v0
srl $at, $v1, 5
lw $a0, 4($a1)
sh $a2... | Assembly |
event("unmarked", self._unit)
end
end
end
function ContourExt:update(unit, t, dt)
local index = 1
while self._contour_list and index <= #self._contour_list do
local setup = self._contour_list[index]
local data = self._types[setup.type]
local is_current = index == 1
if data.ray_check and unit:movement() ... | Lua |
ate<MavenPublication>("mavenLocal") {
// from(components["kotlin"])
// }
// }
//}
mavenPublishing {
coordinates(
groupId = "com.stevdza-san",
artifactId = "app-rating",
version = "1.0.1"
)
// Configure POM metadata for the published artifact
pom {
n... | Kotlin |
.Config == nil {
return fmt.Errorf("wechat receiver: config is nil")
}
}
return nil
}
func (r *Receiver) Clone() internal.Receiver {
out := &Receiver{
Common: r.Common.Clone(),
Config: r.Config,
ChatBot: r.ChatBot,
}
out.ToParty = append(out.ToParty, r.ToParty...)
out.ToTag = append(out.ToTag, r.... | Go |
import java.util.*;
/**
* @author Benoit Jeanson {@literal <benoit.jeanson at rte-france.com>}
* @author Nicolas Duchene
* @author Geoffroy Jamgotchian {@literal <geoffroy.jamgotchian at rte-france.com>}
* @author Franck Lecuyer {@literal <franck.lecuyer at rte-france.com>}
*/
public interface Cell {
enum Cel... | Java |
rack Website Copier/3.x [XR&CO'2014], Sat, 23 Jul 2022 05:28:02 GMT -->
<head>
<meta charset="utf-8" />
<title>Range slider | Flacto - Responsive Bootstrap 4 Admin Dashboard</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="Responsive bootstrap... | HTML |
from-workers">轻松将 Postgres 与 Workers 和 Neon.tech 进行集成</a></td>
<td>Neon.tech 解决了从 Workers 连接到 Postgres 的难题</td>
</tr>
<tr>
<td><a href="https://blog.cloudflare.com/xata-customer-story">Xata Workers:无需客户端密码即可进行客户端数据库访问</a></td>
<td>Xata 使用 Workers for Platform 降低运行不可信代码的安全风险。</td>
</tr>
<tr>
... | HTML |
-- chunkname: @scripts/ui/views/store_view/store_view.lua
local Archetypes = require("scripts/settings/archetype/archetypes")
local ButtonPassTemplates = require("scripts/ui/pass_templates/button_pass_templates")
local Items = require("scripts/utilities/items")
local LoadingStateData = require("scripts/ui/loading_sta... | Lua |
prototype
```cpp
//Declaration
PFND3D12DDI_CALC_PRIVATE_ADD_TO_STATE_OBJECT_SIZE_0072 Pfnd3d12ddiCalcPrivateAddToStateObjectSize0072;
// Definition
SIZE_T Pfnd3d12ddiCalcPrivateAddToStateObjectSize0072
(
D3D12DDI_HDEVICE,
CONST D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072*
)
{...}
PFND3D12DDI_CALC_PRIVATE_ADD_T... | Markdown |
},addOne:function(e){var t=new f({model:e});this.$("#message-list").append(t.render().el)},addAll:function(){console.log("addAll: "+this.collection.length),this.$("#message-list").empty(),this.collection.each(this.addOne)}}),c=n.View.extend({tagName:"li",template:t.template(o),initialize:function(){t.bindAll(this)},ren... | JavaScript |
ion-font-size: rem-calc(16);
// $tabs-navigation-font-family: $body-font-family;
// $tabs-content-margin-bottom: rem-calc(24);
// $tabs-content-padding: $column-gutter/2;
// $tabs-vertical-navigation-margin-bottom: 1.25rem;
//
// THUMBNAILS
//
// $include-html-media-classes: $include-html-classes;
// We use these ... | CSS |
.append(body_pret)
.nest(1)
.group()
.parens()
}
Expr::If(c, ift, iff) => {
let c_pret = c.pretty(allocator);
let ift_pret = ift.pretty(allocator);
let iff_pret = iff.pretty(... | Rust |
) in names {
let md5sum = hashes
.get(&MessagePath::new(&package, &name).chain_err(|| "Invalid message path")?)
.expect("Internal implementation contains mismatch in map keys")
.clone();
let msg_type = format!("{}/{}", package, name);
p... | Rust |
{
p.error("expected , between map items")
}
key := p.expression()
p.expect(COLON)
value := p.expression()
items = append(items, MapItem{key, value})
if p.tok == COMMA {
gotComma = true
p.next()
} else {
gotComma = false
}
}
p.expect(RBRACE)
return &Map{pos, items}
}
// ParseExpression p... | Go |
o save the last side your view was on when closing, then {@link openView} on the same side it was last.
* @param {App} app
* @param {YourPlugin} plugin
* @param {string} viewType
* @param {string} settingName
* @returns {"left" | "right"} `side`
*/
export async function saveViewSide<YourPlugin extends Plugin>... | Typescript |
get-pgnviewer.js" class="extiw" title="he:Mediawiki:Gadget-pgnviewer.js">he:Mediawiki:Gadget-pgnviewer.js</a> and its CSS, <a href="https://he.wikipedia.org/wiki/Mediawiki:Gadget-pgnviewer.css" class="extiw" title="he:Mediawiki:Gadget-pgnviewer.css">he:Mediawiki:Gadget-pgnviewer.css</a>. this is important: <a href="//e... | HTML |
etDisplay();
Thread progressBarThread = new Thread("Progress Bar thread") {
@Override
public void run() {
int i = 0;
while (true) {
try {
i += 5;
if (i >= 100) i = 0;
final int j = i;
display.asyncExec(new Runnable() {
public void run() {
if (!progressBar.isDi... | Java |
115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80... | HTML |
ted_by';
id?: Maybe<Scalars['Int']>;
firstname?: Maybe<Scalars['String']>;
lastname?: Maybe<Scalars['String']>;
};
export type StrapiTruckUpdated_ByFilterInput = {
id?: Maybe<IntQueryOperatorInput>;
firstname?: Maybe<StringQueryOperatorInput>;
lastname?: Maybe<StringQueryOperatorInput>;
};
export type Str... | Typescript |
SAI_SYNCHRONOUS_EXT_SAI1
#define SAI_SYNCEXT_IN_ENABLE SAI_SYNCEXT_OUTBLOCKA_ENABLE
/**
* @}
*/
/** @defgroup HAL_SPDIFRX_Aliased_Macros HAL SPDIFRX Aliased Macros maintained for legacy purpose
* @{
*/
#if defined(STM32H7)
#define HAL_SPDIFRX_ReceiveControlFlow HAL_SPDIFRX_ReceiveCtrlFlow
#de... | C |
using QuestViva.Engine;
namespace QuestViva.EngineTests
{
[TestClass()]
public class QuestListTest
{
private WorldModel m_worldModel;
Element a, b, c;
[TestInitialize]
public void Setup()
{
m_worldModel = Helpers.CreateWorldModel();
a = m_w... | C# |
this.repeatCount = repeatCount;
}
public void setRepeatOpen(boolean repeatOpen) {
this.repeatOpen = repeatOpen;
}
}
private static final String INDENT = new String(" ");
private static final String[] LILYPOND_FLAT_NOTES = new String[] { "c",
"des", "d", "ees", "e", "f", "ges", "... | Java |
import hashlib
from typing import List
import numpy as np
from langchain_core.embeddings import Embeddings
from pydantic import BaseModel
class FakeEmbeddings(Embeddings, BaseModel):
"""Fake embedding model."""
size: int
"""The size of the embedding vector."""
def _get_embedding(self) -> List[float... | Python |
-- ========== THIS IS AN AUTOMATICALLY GENERATED FILE! ==========
PlaceObj('Scenario', {
'name', "Mystery 5",
'file_name', "Mystery_5",
}, {
PlaceObj('ScenarioSequence', {
'name', "Start",
'autostart', true,
}, {
PlaceObj('SA_WaitExpression', {
'expression', "UICity.labels.Colonist and #UICity.labels.Colo... | Lua |
ESS,
);
}
#[test]
fn sim_fpaxos_5_2_test() {
let leader = 1;
sim_test::<FPaxos>(
config!(5, 2, leader),
READ_ONLY_PERCENTAGE,
KEYS_PER_COMMAND,
COMMANDS_PER_CLIENT,
CLIENTS_PER_PROCESS,
);
}
#[test]
fn ... | Rust |
=_SCOPE)
def changeTargetVehicle(vehicleID):
g_eventBus.handleEvent(GameEvent(GameEvent.ON_TARGET_VEHICLE_CHANGED, {'vehicleID': vehicleID}), scope=_SCOPE)
def chargeReleased(keyDown=False):
g_eventBus.handleEvent(GameEvent(GameEvent.CHARGE_RELEASED, {'keyDown': keyDown}), scope=_SCOPE)
def destroyTimersP... | Python |
。</p>
<p class="calibre6">猛聽得房簷上鐵馬兒一片聲響,只道西門慶敲的門環兒響,連忙使春梅去瞧。春梅囘道:「娘,錯了,是外邊風起落雪了。」<span class="pz"><span class="ord">眉<span class="ords">批</span></span>人只知鬲越相思之苦,孰知眼前相思之苦如此。人只知野合想思之苦,孰知閨閫夫妻相思之苦尤甚。可勝嘆息。</span>婦人又彈唱道:</p>
<p class="poetry">聽風聲嘹亮,雪灑窓寮,任氷花片片飄。</p>
<p class="calibre6">一囘兒燈昏香盡,心裡欲待去剔,見西門慶不來,又意兒... | HTML |
/*
* Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <asm_macros.S>
#include <assert_macros.S>
#include <setjmp.h>
.globl setjmp
.globl longjmp
/*
* int setjmp(jmp_buf env);
*/
func setjmp
mov x7, sp
stp x19, x20, [x0, #JMP_... | Assembly |
کنند، برای مثال با سادهتر کردن ناشناسسازی
دادهها.
</p>
<p> </p>
<h6>وسایل تکثیر شونده غیر قابل کنترل!</h6>
<p>
وقتی مواردی مانند اینترنت اشیا (IOT)، سیاستهای فناوری اطلاعات
دستگاه خود را بیاور... | HTML |
{ b: { c: string } }[]
}
@Field.Schema(SubSchema, { required: true })
sub: SubSchema & mongoose.Types.Subdocument
@Field.Schema([SubSchema], { default: [{ names: ['arthur'] }] })
subs: (SubSchema & mongoose.Types.Subdocument)[]
@Field(mongoose.Schema.Types.Buffer)
buf: mongoose.Types.Buffer
@Field(m... | Typescript |
Can_only_create_a_buffer_that_is __pyx_string_tab[5]
#define __pyx_kp_u_Cannot_assign_to_read_only_memor __pyx_string_tab[6]
#define __pyx_kp_u_Cannot_create_writable_memory_vi __pyx_string_tab[7]
#define __pyx_kp_u_Cannot_index_with_type __pyx_string_tab[8]
#define __pyx_kp_u_Cannot_transpose_memoryview_with __pyx_str... | C++ |
+CLTqxsZZnTGFurR1uwN2gnRGziSbZ/JJmLY2eTOjreiyJ25vOiN3Gd2buBsgwLRm2HtZu3sMdlpn9U6pZC3kJ6J/DknegZNlG/ndTGrwvxMY/w59Fn8C3v//Z");
--accent-h: 198;
--accent-l: 64%;
--accent-s: 78%;
--active-title: 198, 78%, 64%;
--active-title-accent: hsl(198, 78%, 64%);
--activetab-accent: hsl(198, 78%, 64%);
--activetab-bg:... | CSS |
spinlock & sp_;
scoped_lock( scoped_lock const & );
scoped_lock & operator=( scoped_lock const & );
public:
explicit scoped_lock( void const * pv ): sp_( spinlock_for( pv ) )
{
sp_.lock();
}
~scoped_lock()
{
sp_.unlock();
}
... | C++ |
/*
* arch/s390/kernel/base.S
*
* Copyright IBM Corp. 2006, 2007
* Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
* Michael Holzheu <holzheu@de.ibm.com>
*/
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/ptrace.h>
#include <asm/sigp.h>
#ifdef CONFIG_64BIT
ENTRY(s390_base_mc... | Assembly |
.isMutableMapEntry(): Boolean = this.javaType.isMutableMapEntry()
fun Type.isMutableCollection(): Boolean {
val erased = this.erasedType()
return java.util.Collection::class.isAssignableFrom(erased) &&
(erased.isNotMarkMapped() || KMutableCollection::class.isAssignableFrom(erased))
}
fun KType.is... | Kotlin |
enge of the vit. In: European Conference on Computer Vision. pp. 516-533. Springer (2022)\n' +
'* [48] Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., Polosukhin, I.: Attention is all you need. Advances in neural information processing systems **30** (2017)\n' +
'* [... | HTML |
using HarmonyLib;
using QSB.Patches;
using QSB.Player;
using QSB.ShipSync.TransformSync;
using UnityEngine;
namespace QSB.ShipSync.Patches;
public class ShipAudioPatches : QSBPatch
{
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
[HarmonyPrefix]
[HarmonyPatch(typeof(ShipThrusterAudio), name... | C# |
방화벽을 위한 DDoS 방어 기능이 있는지 확인하십시오.</li>
<li>웹 서버와 운영 시스템 패치가 모든 인터넷 연결 웹 서버 전반에 배포될 수 있도록 하십시오. 또한 Terraform 빌드 및 이미지와 같은 자동화 작업에 패치를 모두 적용하여 이전 버전의 웹 서버가 실수로라도 보안 이미지를 통해 프로덕션에 배포되지 않도록 하십시오.</li>
<li>마지막 수단으로, 위협을 완화하기 위해 HTTP/2와 HTTP/3(역시 취약할 수 있음)를 해제하는 방법도 고려하십시오. HTTP/1.1로 다운그레이드할 경우 상당한 성능 문제가 발생할 것이므로 이... | HTML |
@ max size in lane = 8 - offset
cmp r4, r5
ble KeccakF1600_StateXORBytes_BytesAlign
movs r4, r5
KeccakF1600_StateXORBytes_BytesAlign:
sub r8, r3, r4 @ size left
movs r3, r4
bl __KeccakF1600_StateXORBytesInLane
mov r3, r8
KeccakF1600_StateXORBytes_CheckLanes:
lsrs r2, r3, #3 @ .if length >= 8
... | Assembly |
class FilterIntegerRule(FilterNumericValueRule,IDisposable):
"""
A filter rule that operates on integer values in a Revit project.
FilterIntegerRule(valueProvider: FilterableValueProvider,evaluator: FilterNumericRuleEvaluator,ruleValue: int)
"""
def Dispose(self):
""" Dispose(self: FilterRule,A_0: bool) """
... | Python |
}
})
ginkgo.It("should only target nodes with endpoints", func() {
namespace := f.Namespace.Name
serviceName := "external-local"
jig := framework.NewServiceTestJig(cs, serviceName)
nodes := jig.GetNodes(framework.MaxNodesForEndpointsTests)
svc := jig.CreateOnlyLocalLoadBalancerService(namespace, serviceNa... | Go |
content.com/34448969/200128217-bfac8b60-6673-447b-90fd-dc6326f1618c.png)
## 安装
### 作为一种扩展(推荐)
要么把它克隆到你的扩展文件夹里
```bash
git clone "https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git" extensions/tag-autocomplete
```
(第二个参数指定文件夹的名称,你可以选择任何你喜欢的东西)。
或者手动创建一个文件夹,将 `javascript`、`scripts`和`tags`文件夹放在其中。
### 在根目录下(... | Markdown |
ormBuilder } from '@angular/forms';
import { Observable } from 'rxjs/Rx';
@Component({
moduleId: module.id,
selector: 'data-driven',
templateUrl: 'data-driven.component.html'
})
export class DataDrivenComponent {
myForm: FormGroup; // creating the form using FormGroup unlike default angular template dr... | Typescript |
*
*/
set: function(name, ver){
this.name = name;
this.version = ver;
this[name] = ver;
}
};
// 探测浏览器并存入 browser 对象
(s = ua.match(/msie ([\d.]+)/)) ? browser.set("ie",toFixedVersion(s[1])):
(s = ua.match(/firefox\/([\d.]+)/)) ? b... | JavaScript |
-2-1-blur)
var(--pgn-elevation-box-shadow-centered-2-1-color),
var(--pgn-elevation-box-shadow-centered-2-2-offset-x)
var(--pgn-elevation-box-shadow-centered-2-2-offset-y)
var(--pgn-elevation-box-shadow-centered-2-2-blur)
var(--pgn-elevation-box-shadow-centered-2-2-color);
--pgn-elevation-box-shad... | CSS |
�
* @param isDisplayPassword 是否显示密码
* @param isSelectBottom 是否设置光标到最后
* @return Helper
*/
T setTransformationMethod(
boolean isDisplayPassword,
boolean isSelectBottom
);
/**
* 添加输入监听事件
* @param watcher 输入监听
* @return Helper
*/
T addText... | Java |
CA44 0880033C */ lui $v1, %hi(g_TitlescreenState + 0x4C)
/* 5D810 8007CA48 C48D638C */ lw $v1, %lo(g_TitlescreenState + 0x4C)($v1)
/* 5D814 8007CA4C 05000224 */ addiu $v0, $zero, 0x5
/* 5D818 8007CA50 000022AE */ sw $v0, 0x0($s1)
/* 5D81C 8007CA54 0880023C */ lui $v0, %hi(g_Title... | Assembly |
}
/// Ensures a value is in the entry by inserting the default value if empty,
/// and returns a mutable reference to the value in the entry.
///
/// # Examples
///
/// ```
/// use scapegoat::SgMap;
///
/// let mut map = SgMap::<&str, Option<usize>, 10>::new();
/// map.entry... | Rust |
; fully-qualified # ✋🏼 E2.0 raised hand: medium-light skin tone",
"\u270B\uD83C\uDFFC",
"270B 1F3FD ; fully-qualified # ✋🏽 E2.0 raised hand: medium skin tone",
"\u270B\uD83C\uDFFD",
"270B 1F3FE ... | Java |
; Simple Network Time Protocol implementation - per RFC 2030
MAX_SNTP_MESSAGES_SENT = 8
.include "../inc/common.inc"
.include "../inc/error.inc"
.export sntp_ip
.export sntp_utc_timestamp
.export sntp_get_time
.import ip65_process
.import ip65_error
.import udp_add_listener
.import udp_remove_listener
.import udp... | Assembly |
)
{
StringBuilder arguments = new StringBuilder();
Regex invalidChar = new Regex("[\x00\x0a\x0d]");// these can not be escaped
Regex needsQuotes = new Regex(@"\s|""");// contains whitespace or two quote characters
Regex escapeQuote = new Regex(@"(\\*)(""... | C# |
end
--> isso aqui � tudo da sele��o e descele��o das barras
if (not info.mostrando_mouse_over) then
if (tabela[1] == self.detalhes) then --> tabela [1] = spellid = spellid que esta na caixa da direita
if (not barra.on_focus) then --> se a barra n�o tiver no foco
barra.textura:SetStatusBarColor (129/25... | Lua |
<tr>
<td style="vertical-align: top;">较高优先级</td>
<td style="vertical-align: top;">
<code class="parameter">increment</code> <em>< -4</em>
</td>
</tr>
<tr>
<td style="vertical-align: top;">正常优先级</td>
<td style="vertical-align: top;">
... | HTML |
for moving a bishop
*/
fn mv_bishop(pos: Point<u8>, state: &BoardState) -> Vec<(u8, u8)> {
let mut moves = Vec::<(u8, u8)>::with_capacity(13);
moves.append(&mut Self::get_line_moves(&pos, Point::new(1, 1), state));
moves.append(&mut Self::get_line_moves(&pos, Point::new(1, -1), state))... | Rust |
,
expectError: false,
},
{
name: "missing addr",
config: RedisConfig{
Username: "user",
},
expectError: true,
errorMsg: "redis addr is required",
},
{
name: "with credentials",
config: RedisConfig{
Addr: "localhost:6379",
Username: "default",
Password: "",
},
... | Go |
utton {
margin: 0;
}
}
// Specificity bump needed to prevent override by buttons
// scss-lint:disable QualifyingSelector
.input-group .input-group-button {
display: table-cell;
}
}
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group forms
//... | CSS |
-ui-show-guides-visible * {\n\
outline: 1px dashed rgba(0, 0, 0, 0.5); }\n\
\n\
/**\n\
* History plugin\n\
*\n\
* @author David Neilsen <david@panmedia.co.nz>\n\
*/\n\
.ui-editor-undo-button .ui-icon-undo {\n\
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);\n\
opacity: 0.85;\n\
background: url(... | JavaScript |
// Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
namespace Microsoft.DevTunnels.Ssh.Tcp.Events;
/// <summary>
/// Tracks the list of ports that are currently being forwarded betwe... | C# |
"净化烈焰罩帽",
[71534] = "净化烈焰护腿",
[71535] = "净化烈焰外衣",
[71536] = "净化烈焰衬肩",
[71537] = "黑暗凤凰短袍",
[71538] = "黑暗凤凰手套",
[71539] = "黑暗凤凰头盔",
[71540] = "黑暗凤凰护腿",
[71541] = "黑暗凤凰肩饰",
[71542] = "喷涌火山外套",
[71543] = "喷涌火山裹手",
[71544] = "喷涌火山头盔",
[71545] = "喷涌火山裹腿",
[71546] = "喷涌火山衬肩",
[71547] = "喷涌火山胸甲",
[71548] = "喷涌火山手甲",
[71549] =... | Lua |
len(m.envT) > 0 {
for k := range m.envT {
delete(m.envT, k)
}
}
}
// match reports whether pattern x matches y.
func (m *matcher) match(x, y ast.Node) bool {
if x == nil && y == nil {
return true
}
if x == nil || y == nil {
return false
}
if x, ok := x.(ast.Stmt); ok {
if y, ok := y.(ast.Stmt); ok ... | Go |
like Gecko) Mobile [FBAN/FBForIPhone;FBAV/4.1.1;FBBV/4110.0;FBDV/iPad2,1;FBMD/iPad;FBSN/iPhone OS;FBSV/5.1.1;FBSS/1; FBCR/;FBID/tablet;FBLC/en_US;FBSF/1.0]";
same(mixpanel._.info.device(a), 'iPad');
// iPhone
var a = "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKi... | JavaScript |
modules", "target", // Build systems
) + when {
!scriptsConfig.enabled -> listOf("*.kts")
!scriptsConfig.buildScriptsEnabled -> listOf("*.gradle.kts")
else -> emptyList()
})
private val exclusionMatchers = excludedPatterns
.map { FileSystems.getDefault... | Kotlin |
{ color: #9f0d0f; }
.type { color: #444fcf; }
.builtin { color: #557400; font-weight: bold; }
.function-name { color: #a7601f; }
.variable-name { color: #007a9f; }
.constant { color: #00824f; }
.string { color: #ca3400; }
.string-starter { color: #ca3400; }
.string-stopper { color: #ca3400; }
.regexp { color: #ca3400;... | CSS |
lags: []cli.Flag{
cli.BoolFlag{
Name: "b, binary",
Usage: "Output binary message (default is armored).",
},
cli.BoolFlag{
Name: "d, detached",
Usage: "Detached signature (default is attached).",
},
cli.StringFlag{
Name: "i, infile",
Usage: "Specify an input file.",
},
cli... | Go |
//
// Copyright 2017 Pixar
//
// Licensed under the terms set forth in the LICENSE.txt file available at
// https://openusd.org/license.
//
#ifndef PXR_IMAGING_HD_ST_EXT_COMP_COMPUTE_SHADER_H
#define PXR_IMAGING_HD_ST_EXT_COMP_COMPUTE_SHADER_H
#include "pxr/pxr.h"
#include "pxr/imaging/hdSt/api.h"
#include "pxr/imagin... | C |
3893] = "ch3_03_sea_uw_decals07",
[3864223911] = "po1_sh2_po1_sh1_details_03",
[3283663598] = "cs1_rdprops_pb_wire_em26",
[322789545] = "prop_crane_01_truck1",
[583884972] = "cs5_3_pwrst1_dtls01",
[2578276529] = "id2_04_overlaya",
[993353915] = "prop_bar_lemons",
[992703513] = "ch1_04_refprox033_ch",
[196952965... | Lua |
services.ServiceKind {
return copier.CopySlice(c.services)
}
// ServicesFactories returns the service factories providers.
func (c *CommunityServerInitializer) ServicesFactories() (map[services.ServiceKind]services.ServiceFactoryProvider, error) {
factories := map[services.ServiceKind]services.ServiceFactoryProvider... | Go |
5v14c0,1.1,0.9,2,2,2h14c1.1,0,2-0.9,2-2V5C21,3.9,20.1,3,19,3z M7.75,5.5H9c0.55,0,1,0.45,1,1 v4.25c0,0.41-0.34,0.75-0.75,0.75S8.5,11.16,8.5,10.75V7H7.75C7.34,7,7,6.66,7,6.25S7.34,5.5,7.75,5.5z M12.5,17.75 c0,0.41-0.34,0.75-0.75,0.75S11,18.16,11,17.75V14h-1v2.25C10,16.66,9.66,17,9.25,17S8.5,16.66,8.5,16.25V14h-1v3.75 c0,... | JavaScript |
Concurrency;
export const maxAutoThreads = Math.max(~~(threadsAvailable / 2), 1);
const activeWorkers: ProcessWorker[] = [];
class Renderer {
private inputCanvasRef: HTMLCanvasElement;
private outputCanvasRef: HTMLCanvasElement;
public get inputCanvas(): HTMLCanvasElement { return this.inputCanvasRef;... | Typescript |
yes
- name = Menara Thamrin
- building:levels = 15
如果在JOSM中选择一个对象,可以在右侧的属性面板中看到所有附加在它之上的标签。
![Properties panel][]
### 编辑标签
您可以从属性面板中添加、编辑和删除标签。然而,传统的标签都是英文的,有时可能会让人感到困惑,因此使用预设菜单通常更容易。当您添加或更改标签时,对象的属性也会改变。
- 要编辑对象的标签,先选中它。
- 然后用两种方法之一编辑标签。(1)使用预设菜单,或(2)在右侧的属性窗口中直接编辑标签。
### 常见错误:误将本想用于线或面的标签打在节点上
当您编辑一个点的属性时,... | Markdown |
""";
final String configText = String.format(configJson, sql1);
new PubsubTableProvider();
final Config config = Config.load(configText);
final Map<String, MCollection> outputs = MPipeline.apply(pipeline, config);
final MCollection output1 = outputs.get("beamsql1");
PA... | Java |
ganz vollständig ist). Diese Mühe haben wir uns gemacht, um <b>Ihnen</b> zu helfen.</p>
<h4>Lernen Sie MrScribe kennen</h4>
<p>MrScribe ist unser netter »Bot«. Bots sind nützliche Programme im IRC, mit deren Hilfe sich manche Aufgabe erleichtern läßt. Er steckt auch voller nü... | HTML |
nction(t,r){var n,i,a,o=r.scattermode;function s(h){return Ivt.coerce(i._input,i,Dvt,h)}if(r.scattermode==="group")for(a=0;a<t.length;a++)i=t[a],i.type==="scatter"&&(n=i._input,Rvt(n,i,r,s,o));for(a=0;a<t.length;a++){var l=t[a];if(l.type==="scatter"){var u=l.fill;if(!(u==="none"||u==="toself")&&(l.opacity=void 0,u==="t... | HTML |
lic void OnEntryChanged(TodoListEntry entry)
{
FillInBuildings(entry);
EntryChanged?.Invoke(entry);
}
void LoadSavedData()
{
if (!loader.TryGetSingleton(SaveKey, out var s)) { return; }
if (s.Has(EntryListKey))
{
entries.Clear();
entries.... | C# |
ype>) \
.SetIsMatchedPred([](const KernelConf& kernel_conf) { \
return (kernel_conf.op_attribute().op_conf().device_tag() == "cpu" \
&& GetDataType<stype>::value \
... | C++ |
from omnetpp.scave import results, chart, utils
# get chart properties
props = chart.get_properties()
utils.preconfigure_plot(props)
# collect parameters for query
filter_expression = props["filter"]
include_fields = props["include_fields"] == "true"
# query scalar data into dataframe
try:
df = results.get_scala... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.