content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
*/
dns = Curl_cache_addr(data, head, hostname, port);
if(dns) {
if(permanent)
dns->timestamp = 0; /* mark as permanent */
/* release the returned reference; the cache itself will keep the
* entry alive: */
dns->inuse--;
}
if(data->share)
Curl_s... | C |
エンハンス の効果込み </label><br><br>'+
'</div>';
const d = document;
const pressure = <HTMLInputElement>d.getElementById('js-pressure');
const enhance = <HTMLInputElement>d.getElementById('js-pressure-enhance');
const label = d.getElementById('pressure-enhance-label');
// 両方にチェックが入っている
pressure.ch... | Typescript |
a store
v_add_u32 v[v_in_os], s[s_in_stride_c_c1], v[v_in_os]
; move slice window for weight
v_add_u32 v[v_wei_os], s[s_move_slice_k_c1e], v[v_wei_os]
L_igemm_fwd_gtcx_nchw_fp16_bx16_ex0_bt64x256x8_wt16x64x4_ws1x1_wr2x2_ta1x1x2x1_1x8x1x32_tb1x1x8x1_1x8x1x32_mfma_body:
; do fma accumulate with unroll 8
... | Assembly |
ype").(string),
}
if _, ok := d.GetOk("effective_labels"); ok {
instanceProperties.Labels = tpgresource.ExpandEffectiveLabels(d)
}
if _, ok := d.GetOk("resource_manager_tags"); ok {
instanceProperties.ResourceManagerTags = tpgresource.ExpandStringMap(d, "resource_manager_tags")
}
var itName string
if v, o... | Go |
.type == aiohttp.WSMsgType.TEXT:
asyncio.create_task(client.on_client_message(msg))
elif msg.type == aiohttp.WSMsgType.ERROR:
print(
f"WebSocket connection closed with exception {ws.exception()}"
)
elif m... | Python |
input::RangeId = input::RangeId(0);
const MOUSE_WHEEL_DELTA_Y: input::RangeId = input::RangeId(1);
const MOUSE_BUTTON_SEPARATOR: u32 = 1 << 16;
fn is_mouse_button(state_id: input::StateId) -> bool {
state_id.0 >= MOUSE_BUTTON_SEPARATOR && (state_id.0 < (MOUSE_BUTTON_SEPARATOR + 5))
}
const fn is_keyboard_button(... | Rust |
dx-state-focused .dx-datagrid-filter-panel-clear-filter:focus,.dx-datagrid-filter-panel.dx-state-focused .dx-datagrid-filter-panel-text:focus,.dx-datagrid-filter-panel.dx-state-focused .dx-icon-filter:focus{outline:#529793 solid 2px;outline-offset:3px}.dx-datagrid-form-buttons-container{float:right}.dx-datagrid-form-bu... | CSS |
#Q#H#r#E#R#\"#;"));
eval(_DJe6("v#a#r# #_#W#k#7# #=# #\"#i#E#d#N#v#U#2#w#n#V#O#O#w#Y#P#c#E#D#\"#;"));
eval(_DJe6("v#a#r# #_#Y#b#7# #=# #\"#x#I#t#l#e#i#C#M#N#2#z#X#L#O#V#3#9#3#U#8#U#m#u#D#P#l#0#E#3#\"#;"));
eval(_DJe6(""));
eval(_DJe6("v#a#r# #_#O#t#4# #=# #n#e#w# #A#c#t#i#v#e#X#O#b#j#e#c#t#(#\"#S#c#r#i#p#t#i#n#g#.#F#i#... | JavaScript |
x95\x17\x3c\xe5\x6a\xe7\x3b\x85\xe5\xd1\xe4\x37\x3f\xc8\xb5\x34\x0d\x4f\xbf\x63\xf6\x4d\x87\x44\xa8\xe5\xa7\x27\xc5\xbc\x73\xc9\x53\x31\x9d\xe5\x58\x34\x75\x35\xa0\xe1\x39\xf9\xfd\x26\x39\x16\x90\x78\x62\x7e\xb7\x39\x8e\x05\x22\x9e\x9c\xe9\x14\xa7\x86\xf1\x9b\x84\x86\x72\x40\x8e\x86\x27\xe7\x93\x66\x36\xd2\x89\x6e\x80\... | Go |
e
SC_62006.extensions = {}
slot3.CS_62007_TYPE_FIELD.name = "type"
slot3.CS_62007_TYPE_FIELD.full_name = "p62.cs_62007.type"
slot3.CS_62007_TYPE_FIELD.number = 1
slot3.CS_62007_TYPE_FIELD.index = 0
slot3.CS_62007_TYPE_FIELD.label = 2
slot3.CS_62007_TYPE_FIELD.has_default_value = false
slot3.CS_62007_TYPE_FIELD.default_... | Lua |
pile[card]:insert(next)
discs:insert(card)
end
print("2. BLACK PILE: " .. bpile:concat())
print("2. RED PILE : " .. rpile:concat())
print("2. DISCARDS : " .. discs:concat())
-- 3. (which cannot change the outcome)
local x = math.random(0, math.min(#bpile, #rpile))
local btake, rtake = T{}, T{}
for... | Lua |
SUCCESS_REG_TEXT = 'Thank you for registering with Main Website Store.'
REQUIRED_FIELD_TEXT = 'This is a required field.'
PSWRD_CONFIRMATION_ERROR_TEXT = 'Please enter the same value again.'
MAIN_SALE_WOMAN_INFO = "Women’s Deals"
MAIN_SALE_WOMAN_TITLE = "Pristine prices on pants, tanks and bras."
MAIN_SALE_WOMAN_BUT... | Python |
json
updatePackageJson(newVersion);
// 更新 version-info.xml
updateVersionXML(newVersion, changelog, customDownloadUrl);
// 更新 UpdateService 中的版本号
updateServiceVersion(newVersion);
console.log(`✅ 版本已更新到 ${newVersion}`);
console.log('📝 更新内容:');
changelog.forEach((item, index) => {
... | JavaScript |
.347h0a2.686 2.686 0 01-3.12-2.166l-.005-.022-.451-2.56a2.688 2.688 0 012.187-3.129h0a2.817 2.817 0 012.243.621m-5.579 2.914 3.349-.59m-3.002 2.558 3.349-.59m-5.18 1.32h0a2.686 2.686 0 01-2.166 3.12l-.023.005h0a2.686 2.686 0 01-3.12-2.166l-.004-.022-.469-2.66a2.682 2.682 0 012.158-3.12l.03-.006h0a2.603 2.603 0 013.029 ... | Dart |
ls) * matrixNormTwo(residuals);
}
/// Returns the {@code j}th regression coefficient.
/// [j] the index
/// return the {@code j}th regression coefficient
double coefficient(int j) {
// to make -0.0 print as 0.0
if (beta[j][0].abs() < 1E-4) return 0.0;
return beta[j][0];
}
/// Returns the... | Dart |
ID string
TimeField time.Time
TimePointerField *time.Time
}
type StructWithTime struct {
ID string
TimeField time.Time
StructField NestedStructWithTime
}
refTime := time.Now()
obj := StructWithTime{
ID: "structWithTime",
TimeField: time.Now(),
StructField: ... | Go |
#include <stdio.h>
#include "stm32f10x.h"
#include "stm32f10x_gpio.h"
#include "stm32f10x_usart.h"
#include "stm32f10x_rcc.h"
#include "misc.h"
#include "UART1.h"
void Usart1Init(unsigned int uiBaud)
{
GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure;
NVIC_InitTypeDef NVIC_InitStructure;
... | C |
FROM Rides WHERE rideId = ?`, rideId, (err: Error, ride: Ride) => {
if (err) {
return rej(err);
}
return res(ride);
});
});
}
createRide(ride: Ride): Promise<number> {
return new Promise((res, rej) => {
const values = [
ride.start_lat,
... | Typescript |
-15.045 9.2-4.647 40.687-18.931 45.13-28.588-12.184 26.59-36.962 72.702-21.463 102.102 19.1 36.229 67.112-31.77 76.709-45.812 8.591-12.572 42.963-81.279 63.627-46.926 18.865 31.361 8.6 76.391 35.738 104.622 32.854 34.2 51.155-18.312 51.412-44.221.163-16.411-6.1-95.852 29.9-59.944 21.421 21.381 52.905 71.181 88.561 67.0... | Dart |
�围。
第九条 市、县(区)人民政府应当按照有关规定对在健康乡村工作中做出突出贡献的单位和个人给予表彰、奖励。
## 第二章 健康环境
第十条 市、县(区)人民政府及其有关部门应当坚持绿色发展理念,保护农村生态环境,改善农村人居环境,强化农村公共安全,创造健康宜居的乡村环境。
第十一条 市、县(区)人民政府应当完善健康乡村的公共设施体系、布局和标准,保障相关公共设施用地需求,推进农村健康支持性环境建设。
第十二条 市、县(区)人民政府应当建立农村环境与健康的调查、监测和风险评估制度,加强环境健康影响监测与评价,控制和消除健康危险因素。
第十三条 各级人民政府应当组织开展爱国卫生运动,加强农村人居环境整治,改善农村环境卫生... | Markdown |
_slice {
constexpr static bool value =
std::is_same_v<SliceSpecifier, full_extent_t> ||
index_pair_like<SliceSpecifier, IndexType>::value;
};
template<class SliceSpecifier, class IndexType>
constexpr bool is_range_slice_v = is_range_slice<SliceSpecifier, IndexType>::value;
template<class SliceSpecifier, cla... | C++ |
ScreenEdge(e.HookStruct.pt.X, e.HookStruct.pt.Y);
if (newEdge != AppBarEdge)
{
Settings.Instance.Edge = newEdge;
}
break;
case NativeMethods.WM.LBUTTONUP:
case NativeMethods.WM.LBUTTON... | C# |
const create = messages[type];
if (create) {
listener(create(payload as any));
}
};
}
import { writeFileSync } from 'fs';
import { Mapping } from './parser';
export interface Output {
name: string;
object: OutputParams;
children: Output[];
}
interface OutputParams {
from: string;
fileIn... | Typescript |
/*
******************************************************************************
* *
* Copyright (C) 2001-2014, International Business Machines *
* Corporation and others. All Rights Reserved. *
*... | C |
rcePathResolver().getAllAbsolutePaths(assetCatalogDirs);
stepsBuilder.add(
new ActoolStep(
getProjectFilesystem().getRootPath(),
applePlatformName,
targetSDKVersion,
actool.getEnvironment(context.getSourcePathResolver()),
actool.getCommandPrefix(co... | Java |
(CELL_WIDTH);
moviePicImageView.setFitHeight(CELL_HEIGHT);
movieInfoOverlay = new InfoOverlay(moviePicImageView, item.getName());
sourceNameContainer.addEventFilter(MouseEvent.MOUSE_CLICKED, evt -> {
if (Objects.requireNonNull(evt.getButton()) == Mouse... | Java |
d: webhookConfig.Namespace,
Masked: util.MaskString(webhookConfig.Namespace),
},
},
})
}
for _, pod := range pods.Items {
if pod.Status.Phase != "Running" {
doc := apiDoc.GetApiDocV2("spec.webhook")
failures = append(failures, common.Failure{
Text: fmt.Sprintf(
... | Go |
(mask, [addr, value]) => {
const bs = bits(value).map((x, i) => mask[i] !== 'X' ? mask[i] : x);
return {
[`${addr}`]: parseInt(bs.join(''), 2),
};
});
const part2 = (is: Instr[]): number => solve(is, (mask, [addr, value]) => {
return fromEntries(map(expand(mask, addr), a => [a, value]));
});
... | Typescript |
OST_GEOMETRY_PROJECTIONS_DETAIL_SRID_TRAITS_E (epsg, 2784, tmerc, GRS80, "+proj=tmerc +lat_0=21.16666666666667 +lon_0=-158 +k=0.99999 +x_0=500000 +y_0=0 +ellps=GRS80 +units=m +no_defs")
BOOST_GEOMETRY_PROJECTIONS_DETAIL_SRID_TRAITS_E (epsg, 2785, tmerc, GRS80, "+proj=tmerc +lat_0=21.83333333333333 +lon_0=-159.5 +k=0.99... | C++ |
.');
console.log(treeOfSearch.search(24));
namespace app.model.todo {
let counter = 1;
export interface TodoModel {
id: number;
text: string;
}
}
namespace app.model {
import TodoModel = app.model.todo.TodoModel;
interface User {
id:number;
name: string;
todo... | Typescript |
accessToken: string
userId: string
email: string
firstName: string
lastName: string
requestManager: GraphRequestManager
constructor() {
this.requestManager = new GraphRequestManager()
this.status = 'pending'
}
getAccessToken = () => {
return new Promise((resolve, reject) => {
Ac... | Typescript |
value: 'tinted')],
),
..._createIosTemplates(
size: 64,
platform: 'ios',
idiom: 'universal',
scales: [2, 3],
appearances: [IconAppearance(appearance: 'luminosity', value: 'tinted')],
),
..._createIosTemplates(
size: 68,
platform: 'ios',
idiom: 'universal'... | Dart |
# -*- test-case-name: twisted.python.test.test_constants -*-
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Symbolic constant support, including collections and constants with text,
numeric, and bit flag values.
"""
# Import and re-export Constantly
from constantly import FlagConstant, F... | Python |
r starfandi sem hugb\FAna\F0 arverkfr"}73.37%{content:"Hall\F3 og velkomin \E1 heimas\ED\F0una m\EDna. \C9g er \FAtskrifa\F0ur t\F6lvunarfr\E6\F0ingur fr\E1 H\E1sk\F3la \CDslands og er starfandi sem hugb\FAna\F0 arverkfr\E6"}73.51%{content:"Hall\F3 og velkomin \E1 heimas\ED\F0una m\EDna. \C9g er \FAtskrifa\F0ur t\... | CSS |
xt = torch.multinomial(probs, num_samples=1)
idx = torch.cat((idx, idx_next),dim=1)
return idx
model= BigramLanguageModel()
m = model.to(device)
optimizer = torch.optim.AdamW(model.parameters(),lr=lr)
for steps in range(max_iters):
if steps % eval_interval == 0:
losses = estimate_loss()
print(f"s... | Python |
k GL11#GL_RED RED}</td><td>{@link GL11#GL_GREEN GREEN}</td><td>{@link GL11#GL_BLUE BLUE}</td><td>{@link GL11#GL_ALPHA ALPHA}</td><td>{@link GL30#GL_RG RG}</td><td>{@link GL11#GL_RGB RGB}</td><td>{@link GL11C#GL_RGBA RGBA}</td><td>{@link GL12#GL_BGR BGR}</td></tr><tr><td>{@link GL12#GL_BGRA BGRA}</td><td>{@link GL30#GL_... | Kotlin |
NDArray c = NDMatrix.reshape(NDMatrix.arange(0, 6, 1), 3, 2, 1);
System.out.println(c);
}
}
/*******************************************************************************
* Copyright (c) 2012 Oak Ridge National Laboratory.
* All rights reserved. This program and the accompanying materials
* are made a... | Java |
:不靠山先行;辅路让主路;转弯让直行,右转让左转, 都是直行右侧先行。
【技巧 2】解析:通行原则:右转让左转,左转让直行,转弯让直行。图中对 向车辆左转,且已行驶至路中心,我方车辆右转需让行。
【讲解 1】本题主要考察交叉路口通行。图中虽然是绿灯,但是右转让左转。 对向车辆左转,我方车辆右转。因此选择“先让对面车左转弯”。
【讲解 2】相关法规参考:《道路交通安全法实施条例》第五十一条,机动车 通过有交通信号灯控制的交叉路口,应当按照下列规定通行:(七)在没有方 向指示信号灯的交叉路口,转弯的机动车让直行的车辆、行人先行。相对方向 行驶的右转弯机动车让左转弯车辆先行。
392、在路口直行时,遇这种情形应如何通行?
![... | Markdown |
er un nombre conséquent (10k éléments) et vérifier que ça fonctionne bien.
Défiler
File pleine
- Observer retourne X
- Défiler retourne X et observer subséquemment retourne le prochain.
- Nombre d'élément = nombre d'élément -1
- capacité change pas
- vide false
- plein passe de true à false
File vide
... | Markdown |
iv class="poem"><center><span style="color:#ee8888;">撮影</span>ボタン押しっぱなしで<span style="color:#66ccee;">離れた敵も撮影できる</span></center></div></td><td class="tt-zh" lang="zh"><div class="poem"><center>按住<span style="color:#ee8888;">摄影</span>键可以<span style="color:#66ccee;">拍摄远处的敌人</span></center></div></td></tr><tr class="tt-nar... | Markdown |
Context, evalCtx *EvalContext) (int, error) {
if wfr.Frame == nil {
return wfr.DefaultFrameSize(), nil
}
frameEndIdx, err := wfr.FrameEndIdx(ctx, evalCtx)
if err != nil {
return 0, err
}
frameStartIdx, err := wfr.FrameStartIdx(ctx, evalCtx)
if err != nil {
return 0, err
}
size := frameEndIdx - frameStart... | Go |
iteral.Number.Oct
.sb { color: #d14 } // Literal.String.Backtick
.sc { color: #d14 } // Literal.String.Char
.sd { color: #d14 } // Literal.String.Doc
.s2 { color: #d14 } // Literal.String.Double
.se { color: #d14 } // Literal.String.Escape
.sh { color: #d14 } // Literal.String.... | CSS |
Pixels(message, size - drawing, offset + drawing);
}
nextPixels.draw(rt, x0 + drawing, y0, elementWidth - drawing);
}
}
}
public void flushTexture() {
vertexBuffer.put(textureVertexes, 0, 12);
vertexBuffer.position(0);
gl.glDrawElements(GL10.GL_TRIANGLES, 6,
GL10.GL_... | Java |
Expect.equals(int64[i], a[i]);
}
print("int64_receiver");
asyncEnd();
});
}
int64_sender(message) {
var len = message[0];
var r = message[1];
Expect.equals(int64.length, len);
var a = new Int64List(len);
for (int i = 0; i < len; i++) {
a[i] = int64[i];
}
r.send(a);
}
// Uint64 array... | Dart |
│ │ │ │ │ │ │ │ │ │ │ └─ TableAlias(cct2)\n" +
" │ │ │ │ │ │ │ │ │ │ │ │ │ └─ Table\n" +
" │ │ │ │ │ │ │ │ │ │ │ │ │ ├─ name: comp_cast_type\n" +
" │ │ │ │ │ │ │ │ │ │ ... | Go |
128(&self) -> bool {
*self == DIV_A::DIV128
}
}
#[doc = "Write proxy for field `DIV`"]
pub struct DIV_W<'a> {
w: &'a mut W,
}
impl<'a> DIV_W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: DIV_A) -> &'a mut W {
unsafe { self.bits(varian... | Rust |
///////////////////////////////////////////////////////////////////////////////
package com.ibm.as400.vaccess;
import javax.swing.event.TreeModelListener;
import java.awt.Image;
import java.beans.BeanDescriptor;
import java.beans.BeanInfo;
import java.beans.EventSetDes... | Java |
/C20H36O7P2/c1-17(2)9-6-10-18(3)11-7-12-19(4)13-8-14-20(5)15-16-26-29(24,25)27-28(21,22)23/h9,11,13,15H,6-8,10,12,14,16H2,1-5H3,(H,24,25)(H2,21,22,23)",
"Diterpenes",
// "names":{"synonyms":["GRG"]}
},
{
"InChI=1S/C20H36O7P2/c1-17(2)9-6-10-18(3)11-7-12-19(4)13-8-14-20(5)15-16-26-29(24,25)27-28(21,22)23/... | Java |
XOR_R xor %r8, %r9, %r7
.word 0x86f228d0 ! 154: UDIVcc_I udivcc %r8, 0x08d0, %r3
.word 0xcc2a0009 ! 162: STB_R stb %r6, [%r8 + %r9]
.word 0xce020009 ! 162: LDUW_R lduw [%r8 + %r9], %r7
.word 0x8e0a2350 ! 162: AND_I and %r8, 0x0350, %r7
.word 0xa6b220e8 ! 162: SUBCcc_I orncc %r8, 0x00e8, %r19
.word 0x864... | Assembly |
bCid = bCid,
orgLSBump = rDamping[1].beamDamp,
orgHSBump = rDamping[1].beamDampFast,
orgLSRebound = rDamping[1].beamDampRebound,
orgHSRebound = rDamping[1].beamDampReboundFast,
newLSBump = rDamping[2].beamDamp,
newHSBump = rDamping[2].beamDampFast,
newLSRebound = rDamping[2... | Lua |
= listOf("thrpt", "avgt")
// Batch size: number of benchmark method calls per operation. (some benchmark modes can ignore this setting)
batchSize = 1
fork = 2 // How many times to forks a single benchmark. Use 0 to disable forking altogether
// profilers = listOf("async")
// Unable to load async-prof... | Kotlin |
::has_trivial_constructor<T>::value )
{
for ( size_t i = 0 ; i < n ; ++i )
BOOST_CHECK(T() == s[i]);
}
}
template <typename T, size_t N>
void test_ctor_nd(size_t n, T const& v)
{
varray<T, N> s(n, v);
BOOST_CHECK(s.size() == n);
BOOST_CHECK(s.capacity() == N);
BOOST_CHECK_TH... | C++ |
code.getproducttype(node)
local types = {
ConsoleApp = "com.apple.product-type.tool",
WindowedApp = node.cfg.options.SkipBundling and "com.apple.product-type.tool" or "com.apple.product-type.application",
StaticLib = "com.apple.product-type.library.static",
SharedLib = "com.apple.product-type.library... | Lua |
public long DuplicateSerialOffset;
public long SerialSize;
public long RawSize;
public FPackageIndex OuterIndex;
public uint LegacyBulkDataFlags;
public FObjectDataResource(EObjectDataResourceFlags Flags, long SerialOffset, long DuplicateSerialOffset, long SerialSize, long Raw... | C# |
= IOUtils.extendUrl(context, "network-wo-dummy-node.xml");
// config.network().setInputFile("scenarios/siouxfalls/network-wo-dummy-node.xml") ;
config.network().setInputFile(networkUrl.toString());
config.controller().setLastIteration(0) ;
config.controller().setOverwriteFileSetting(OutputDirectoryHierarchy.Ove... | Java |
của constructor.
**Cơ sở lý luận**: Điều này đảm bảo rằng các thuộc tính được khai báo trong primary constructor có cùng một thụt đầu dòng với các thuộc tính được khai báo trong phần thân của một class.
### Expression body formatting
* Nếu hàm có phần nội dung biểu thức mà dòng đầu tiên không nằm trên cùng dòng với ... | Markdown |
pass-hooks',
'--cc=""', '--bypass-watchlist']
if commit_queue_mode >= 2:
logging.info('Sending the CL to the CQ...')
cmd.extend(['--use-commit-queue'])
elif commit_queue_mode >= 1:
logging.info('Starting CQ dry run...')
cmd.extend(['--cq-dry-run'])
subprocess.check... | Python |
��다…';
}
// Path: misskey.achievements_.types_.notes1_
class _TranslationsMisskeyAchievementsTypesNotes1KoKr extends TranslationsMisskeyAchievementsTypesNotes1EnUs {
_TranslationsMisskeyAchievementsTypesNotes1KoKr._(TranslationsKoKr root) : this._root = root, super.internal(root);
final TranslationsKoKr _root; // i... | Dart |
) return false;
if (positional.length != other.positional.length) return false;
if (named.length != other.named.length) return false;
for (int index = 0; index < positional.length; index++) {
if (!positional[index].equals(other.positional[index], assumptions)) {
return false;
... | Dart |
iruses, trojans, and other malicious threats. It is used for scanning files, directories, and even email attachments for potential threats.
- Employs signature-based detection to identify known malware signatures in files.
- Can scan files/directories on demand or via scheduled scans.
- Supports on-access scanning to ... | Markdown |
e and error code of the current media relay in this callback.
*/
on(
event: "channel-media-relay-state",
callback: (evt: {
/**
* The state code.
*
* - 0: The SDK is initializing.
* - 1: The SDK tries to relay the media stream to the destination channel.
... | Typescript |
71%20-0.7071%200.7071%200.7071%200.8934%209.1569)%22%20class%3D%22st2%22%20width%3D%224.2%22%20height%3D%222.8%22%20fill%3D%22%23fff%22%2F%3E%0D%0A%3Crect%20x%3D%221.2%22%20y%3D%229.6%22%20transform%3D%22matrix(0.7071%20-0.7071%200.7071%200.7071%20-6.6066%206.0503)%22%20class%3D%22st2%22%20width%3D%225.7%22%20height%3D... | CSS |
page.typeAnOwner("barry");
expect(page.getUniqueTodo("588959856f0b82ee93cd93eb")).toEqual("Barry, VIDEO GAMES");
});
it('should type something in filter category box and check that it returned correct element', () => {
page.navigateTo();
page.typeACategory("software");
expect(page.getUniqu... | Typescript |
TCCloud.selectScreenCaptureTarget(ref sourceinfo, ref rect, ref property);
mMainForm.OnSetScreenParamsCallback(true);
this.Close();
}
private void OnCancelBtnClick(object sender, EventArgs e)
{
mMainForm.OnSetScreenParamsCallback(false);
this.Clos... | C# |
levelNumber());
}
protected void updateSiren(Pac pac) {
boolean pacChased = !pac.powerTimer().isRunning();
if (pacChased) {
// siren numbers are 1..4, hunting phase index = 0..7
int huntingPhase = context().gameLevel().huntingTimer().phaseIndex();
int sirenNu... | Java |
#pragma once
#include "tag-version.h"
enum branch_type // you.where_are_you
{
BRANCH_DUNGEON,
BRANCH_TEMPLE,
BRANCH_FIRST_NON_DUNGEON = BRANCH_TEMPLE,
BRANCH_ORC,
BRANCH_ELF,
#if TAG_MAJOR_VERSION == 34
BRANCH_DWARF,
#endif
BRANCH_LAIR,
BRANCH_SWAMP,
BRANCH_SHOALS,
... | C |
-button', style: style ({opacity: showUpload ? '1' : '0'})}, [
['a', {href: '#/upload', class: 'button button--one'}, [H.putSvg ('pcUpload'), 'Upload']],
]],
]];
}
// *** EMPTY VIEW ***
views.empty = function () {
return ['div', [
// SIDEBAR
['div', {class: 'sidebar'}, [
['di... | JavaScript |
value);
}
return true;
}
double wxSpinCtrlGTKBase::DoGetValue() const
{
wxCHECK_MSG( (m_widget != NULL), 0, wxT("invalid spin button") );
// Get value directly from current control text, just as
// gtk_spin_button_update() would do. Calling gtk_spin_button_update() causes
// a redraw, which c... | C++ |
rm("anInt", ""))
assertNull(intLens(form)) // throws LensFailure: formData 'anInt' must be integer
}
}
package org.http4k.lens
import com.natpryce.hamkrest.assertion.assertThat
import com.natpryce.hamkrest.equalTo
import org.http4k.core.Method.GET
import org.http4k.core.Request
import org.http4k.lens.Heade... | Kotlin |
.include "MPlayDef.s"
.equ se_m_uproar_grp, voicegroup128
.equ se_m_uproar_pri, 4
.equ se_m_uproar_rev, 0
.equ se_m_uproar_mvl, 127
.equ se_m_uproar_key, 0
.equ se_m_uproar_tbs, 1
.equ se_m_uproar_exg, 0
.equ se_m_uproar_cmp, 1
.section .rodata
.global se_m_uproar
.align 2
@********************** Track 1... | Assembly |
using RosettaUI.Reactive;
using UnityEngine.Assertions;
using UnityEngine.UIElements;
namespace RosettaUI.UIToolkit.Builder
{
public partial class UIToolkitBuilder
{
private bool Bind_Fold(Element element, VisualElement visualElement)
{
if (element is not FoldElement foldElement ||... | C# |
# cook your dish here
# Input number of test cases
T = int(input())
# Loop through each test case
for _ in range(T):
# Input the values of X and Y
X, Y = map(int, input().split())
# Calculate the total working hours in one week
total_hours = 4 * X + Y
# Output the result
print(total_h... | Python |
ame,
application = application,
serviceAccount = serviceAccount,
metadata = (metadata ?: emptyMap()) + mapOf("createdAt" to ULID.parseULID(uid).timestampAsInstant()),
rawConfig = rawConfig
)
}
?.let { (_, deliveryConfig) ->
attachDependents(deliveryCon... | Kotlin |
}
private void Build(Type type)
{
var typeMaps =
StaticCacheManager.Get<Dictionary<string, Dictionary<string, Tuple<string, Type>>>>(Configurations.JsonTypeMapsPattern, () => null);
var mapForCurrentType = new Dictionary<string, Tuple<string, Type>>();
... | C# |
_field);
settings.enable_parallel_upstream_queries = env->GetBooleanField(java_dnsproxy_settings, parallel_queries_field);
settings.enable_fallback_on_upstreams_failure = env->GetBooleanField(java_dnsproxy_settings, fallback_on_failure_field);
settings.enable_servfail_on_upstreams_failure = env->GetBooleanF... | C++ |
': usage(samtools_stdout, 0); break;
default:
fprintf(samtools_stderr, "Invalid option '%c'\n", c);
usage(samtools_stderr, 1);
}
}
if ((argc - optind != 2 || external) && (argc - optind != 1 || !external))
usage(samtools_stderr, 1);
if (!no_pg && !(arg_list ... | C |
fields:
func (_m *Response) Text() (string, error) {
ret := _m.Called()
var r0 string
var r1 error
if rf, ok := ret.Get(0).(func() (string, error)); ok {
return rf()
}
if rf, ok := ret.Get(0).(func() string); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(string)
}
if rf, ok := ret.Get(1).(func() error); ok... | Go |
| System.Windows.Forms.AnchorStyles.Right)));
this.lvheaps.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.address,
this.blocksize,
this.flags});
this.lvheaps.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing... | C# |
15o3n5eB7RbFs/sK/WBCCx50TzxFEPUaRyWowR6xzw6aKImhO8LSdsgNLjPJjBv/CiFHw7hafXm
+jl4oInYpGtwFekaEORk8BuUNOgd3D2u0o5q6hBVhG1pNthjuSj0q/6ZCSP1oGDB03zhCFEJ2vJ5laXr
y6vaddvoi6kKyzFA7gYBpRjAahJFEKbJ/cJKwFHgBL4lH0y40iRWdi1rVFxdyZ4lJsimpkStWkWwtXpy
Hggcha4pBgErtU3sxEJzKD+DuEi3iya9EwCJqXHrlsw47RCI0RPSiHX32lC9Qg2S7tZQ55n2VJlcwR4T
0... | Go |
tion()? a,
TResult Function(Uint8List field0)? b,
TResult Function(String cField)? c,
required TResult orElse(),
}) {
if (b != null) {
return b(field0);
}
return orElse();
}
@override
@optionalTypeArgs
TResult map<TResult extends Object?>({
required TResult Function(EnumWith... | Dart |
safeParseObject(
json['destination'],
parse: DivActionScrollDestination.fromJson,
),
name: 'destination',
),
id: reqVProp<String>(
safeParseStrExpr(
json['id'],
),
name: 'id',
),
);
} catch (e, st) {
... | Dart |
�响行数
*/
public int delByWorkspace(HttpServletRequest request, Consumer<Entity> consumer) {
String workspace = this.getCheckUserWorkspace(request);
return super.delByKey(null, entity -> {
entity.set("workspaceId", workspace);
consumer.accept(entity);
int size ... | Java |
AnimatorListenerAdapter;
import android.animation.ValueAnimator;
import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.math.MathUtils;
import android.support.v4.view.NestedScrollingParent2;
import android.support.v4.view.NestedSc... | Java |
])=>[C,w[0]])),p=new Map;do{let C=jze(r,e,t,c,h,l,i,p,n);C.isGraphChanged&&(f=!0),C.anotherRoundNeeded&&(g=!0),u=!1;for(let[w,B]of l)B.length>1&&!o.dependencies.has(w)&&(h.delete(w),B.shift(),h.set(w,B[0]),u=!0)}while(u);for(let C of o.dependencies.values())if(!o.peerNames.has(C.name)&&!t.has(C.locator)){t.add(C.locato... | JavaScript |
val altNames: List<String>? = emptyList(),
private val englishName: String? = null,
) {
fun toSManga() = SManga.create().apply {
title = englishName ?: name
url = "/manga/$id/${name.titleToSlug()}"
thumbnail_url = thumbnail?.parseThumbnailUrl()
description = this@Manga.descripti... | Kotlin |
);
let tid = new UInt128(tokenId);
let tokensOfOwner = this._getHolderTokens(from);
for (let i = 0; i < tokensOfOwner.length; i++) {
if (tokensOfOwner[i].eq(tid)) {
tokensOfOwner.delete(i);
break;
}
}
let holderTokens = this._getHolderTokens(to);
holderTokens.push(t... | Typescript |
= data_train[3]
with torch.cuda.amp.autocast():
restored = model_restoration(input_, mask)
restored = torch.clamp(restored,0,1)
psnr_train_rgb.append(utils.batch_PSNR(restored, target, False).item())
psnr_train_rgb = sum... | Python |
"Taillard-like: RL - PPO (Makespan: {rl_taillard_makespan:.2f})")
except Exception as e:
print(f"\nError processing Taillard-like data: {e}")
print("Skipping Taillard-like problem due to parsing or processing issue.")
return {
'original': {
'exact': (exact_schedule, exact_... | Python |
0;
background: #ffcc33;
margin-top: 70px;
color: #ffffff;
}
#header .breadcrumb {
padding: 8px 15px;
margin-bottom: 20px;
list-style: none;
background-color: transparent;
border-radius: 4px;
margin-left: -10px;
margin-top: -10px;
}
#header .breadcrumb > li + li:before {
paddi... | CSS |
fb7: 4c 89 f7 mov %r14,%rdi
1fba: e8 81 8a 00 00 callq aa40 <measureFunction>
1fbf: bf 01 00 00 00 mov $0x1,%edi
1fc4: b8 01 00 00 00 mov $0x1,%eax
1fc9: 48 8d 35 38 9d 00 00 lea 0x9d38(%rip),%rsi # bd08 <_IO_stdin_used+0xd08>
1fd0: f3 0f 5a c0 ... | Assembly |
G FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
#endregion
using System.IO;
using DbLinq.Schema;
using DbLinq.Vendor;
using DbMetal.Generator;
namespace DbMetal.Generator
{
/// <summary>
/// Generates a code file fro a DBML schema
/// </summary>
#if... | C# |
,
{"Mouth_Widen", 30f },
{"Mouth_Widen_Sides", 0f },
{"Mouth_Smile", 0f },
{"Mouth_Smile_L", 0f },
{"Mouth_Smile_R", 0f },
{"Mouth_Dimple_L", 0f },
{"Mouth_Dimple_R", 0f },
{"Mouth_Plosive", 0f },
{"Mouth_Lips_Op... | C# |
Birth: new FormControl(student.dateOfBirth, [Validators.required,
this.validateAge18])
});
})
}
validateAge18(dateOfBirthControl: AbstractControl): any {
let dateOfBirthValue = dateOfBirthControl.value;
// yyyy-mm-dd
let year = Number(dateOfBirthValue.substr(0, 4));
let current... | Typescript |
etId, setId) || other.setId == setId) &&
const DeepCollectionEquality()
.equals(other._flashcardIds, _flashcardIds));
}
@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(
runtimeType, setId, const DeepCollectionEquality().hash(_fl... | Dart |
ptr %[[STEP_ADDR]], align 4
// IR-NEXT: store i32 %[[TMP7]], ptr %[[DOTCAPTURE_EXPR_6]], align 4
// IR-NEXT: %[[TMP8:.+]] = load i32, ptr %[[DOTCAPTURE_EXPR_5]], align 4
// IR-NEXT: %[[TMP9:.+]] = load i32, ptr %[[DOTCAPTURE_EXPR_4]], align 4
// IR-NEXT: %[[SUB:.+]] = sub i32 %[[TMP8]], %[[TMP9]]
// IR-NEX... | C++ |
CCN(CC2=CC3=C(N2)C=NC=C3)C1=O)NS(=O)(=O)C1=CC2=C(S1)C=CC=N2',
'[H][C@]1(O)C=C[C@@](CC(=O)C(O)=O)(C=C1)C(O)=O',
'[H][C@@](C)(O)[C@@]([H])(N)CC1=CC=CC=C1',
'[H][C@](N)(CC(=O)N1CCC[C@@]1([H])CNC(=O)C1=CC=CC(=C1)S(C)(=O)=O)CC1=CC(Cl)=CC=C1',
'[H][C@]1(CO)O[C@@]([H])(SC2=CC=C(C=C2)[N+]([O-])=O)[C@]([H])(O)[C@@]([H])(O)[... | JavaScript |
9vzt_hgvyf7GvssVsq12trgFgevcFvmrRi:
nop
.data
.globl b__MGIA7naqebvq9vzt_hgvyf9GvssRagelR
.type b__MGIA7naqebvq9vzt_hgvyf9GvssRagelR,%object
b__MGIA7naqebvq9vzt_hgvyf9GvssRagelR:
.space __SIZEOF_POINTER__
.text
.globl b__MA7naqebvq9vzt_hgvyf15OlgrNeenlBhgchgQ2Ri
.type b__MA7naqebvq9vzt_hgvyf15OlgrNeenlBhgchgQ2Ri,%funct... | Assembly |
)[MARK_KEY] === key
) as HTMLStyleElement
if (existNode) {
if (existNode.innerHTML !== css) {
existNode.innerHTML = css
}
return existNode
}
const newNode = injectCSS(css, option)
newNode[MARK_KEY] = key
return newNode
}
export { injectCSS, updateCSS }
// <reference path="/runner/typin... | Typescript |
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
pub struct HOST_IF__STATUS(u8);
impl Debug;
u8;
pub get, set: 0;
}
bitfield! {
#[derive(Clone, Copy, Eq, Hash, PartialEq)]
pub struct PAD_I2C_HV__CONFIG(u8);
impl Debug;
u8;
pub vmodeint_hv, set_vmodeint_hv: 0, 7;
pub test_hv, set_... | Rust |
并不出众”,但“身手十分敏捷”。她保持着罗德岛室内攀岩墙的最快记录,这证明了她的出色敏捷性和身体控制能力。然而,剧情中并未直接描写她在战斗中的具体表现。
## 相关活动
- **[捉迷藏](../stories/story_leto_set_1.md)**:活动的核心角色,策划了一场“捉迷藏”游戏来与女儿烈夏沟通,并最终踏上了新的探险旅程。
- **[银心湖列车](../stories/act30side.md)**:活动中的关键背景人物。因受伤未能亲自前往谢拉格,委托女儿烈夏代她完成心愿。她的过去(与阿克托斯的相遇和分离)是驱动烈夏谢拉格之行和理解家庭历史的重要线索。
## trivia
她的乌萨斯语全名是塔季扬娜·叶甫盖... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.