content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
: ScanType = ScanType.range(),
common: CommonOptions = CommonOptions.Default,
consistency: KvScanConsistency = KvScanConsistency.notBounded(),
batchItemLimit: Int = DEFAULT_SCAN_BATCH_ITEM_LIMIT,
batchSizeLimit: StorageSize = DEFAULT_SCAN_BATCH_SIZE_LIMIT,
): Flow<GetResult> {
... | Kotlin |
, typename T> friend bool SDRuntimeConfig_setConfig( SDRuntimeConfig &, const T &);
public:
bool setConfig(int key, const void *data, size_t length)
{
if(auto p = m_config.find(key); p == m_config.end()){
m_config.emplace(key, std::string((char *)(data), length));
... | C++ |
{}", num);
}
println!();
for word in ["Hello", "world", "of", "loops"].iter() {
println!("{}", word);
}
}
pub fn variables() {
let x = 10;
println!("x is {}", x);
println!("x + 5 is {}", x + 5);
let x: i32 = 99;
println!("x: i32 is {}", x);
let x: f64 = 999.0;
... | Rust |
: 4 },
{ name: "Product01", available: false, price: 6 },
{ name: "Product01", available: true, price: 10 }
]
let totalPrice = 0
for (let index = 0; index < productsList.length; index++) {
if (productsList[index].available) {
totalPrice + = productsList[index].price
}
}
totalPrice = productsList.filter(e... | Typescript |
a absorig_y+1
sta cmd_y+1
;---------------
move_abs_pup: lda #0
sta cmd_use_pen
jmp move_abs
;---------------
next_color: inc color
lda color
and #COLORS-1
sta color
;---------------
select_pen: lda current_color
cmp color
beq same_color
lda absorig_x
pha
lda absorig_x+1
pha
jsr pen_up
jsr m... | Assembly |
sv_allowjump = 1;
sv_allowexit = 1;
sv_allowredscreen = 1;
players.clear();
players.emplace_back();
players.back().playerstate = PST_REBORN;
consoleplayer_id = displayplayer_id = players.back().id = 1;
G_InitNew(startmap);
}
else if (gamestate != GS_CONNECTING)
{
C_HideConsole();
D_StartTitle();... | C++ |
6);
assert.equal(err.sqlState, '42S02');
assert.equal(err.code, 'ER_NO_SUCH_TABLE');
assert.isTrue(!err.fatal);
assert.isTrue(
err.message.includes(
'sql: INSERT INTO falseTable(t1, t2, t3, t4, t5) values (?, ?, ?, ?, ?) ' +
"- parameters:[1,0x01ff,'hh','01/01/2001... | JavaScript |
e LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
#include <boost/mpl/long.hpp>
#include <boost/mpl/aux_/na.hpp>
#include <boost/mpl/list/aux_/push_front.hpp>
#include <boost/mpl/list/aux_/pop_front.hpp>
#i... | C++ |
間\x18イースター島時間\x1bイースター島標準時\x1bイースター島夏時間\x15エクアド" +
"ル時間\x1b中央ヨーロッパ時間\x1e中央ヨーロッパ標準時\x1e中央ヨーロッパ夏時間\x18東ヨーロッパ時間\x1b東ヨーロッパ標準時" +
"\x1b東ヨーロッパ夏時間\x1b極東ヨーロッパ時間\x18西ヨーロッパ時間\x1b西ヨーロッパ標準時\x1b西ヨーロッパ夏時間!フォークランド" +
"諸島時間$フォークランド諸島標準時$フォークランド諸島夏時間\x12フィジー時間\x15フィジー標準時\x15フィジー夏時間\x15仏領ギア" +
"ナ時間\x18仏領南方南極時間\x15ガラパゴス時間\x18ガンビエ諸島時間... | Go |
skip the %
iter_last = match.capturedEnd();
match = regExp.match(title, iter_last);
}
retval += QStringView(iter_last, title.constEnd());
return retval;
}
// returns true if the name of the file represented by `fi' matches
// one of the file patterns in the `patList' list
bool patternMat... | C++ |
认为 75 分。取值范围:0~100。
*/
ReviewConfidence?: number;
}
/**
* 自适应转码流参数模板
*/
export interface AdaptiveStreamTemplate {
/**
* 视频参数信息。
*/
Video: VideoTemplateInfo;
/**
* 音频参数信息。
*/
Audio: AudioTemplateInfo;
/**
* 是否移除音频流,取值范围:
<li>0:否,</li>
<li>1:是。</li>
*/
... | Typescript |
اکنون کد نه تنها خواناتر است، بلکه عملکرد بسیار بهتری نیز دارد. تصور کنید کد در حال اجرا بر روی یک دانشگاه با ۷۳,۰۰۰ دانشجو در پردیس و از طریق آموزش از راه دور است. در نظر بگیرید که اگر دانشجویی که با ID مطابقت دارد، اولین نفر در لیست باشد، بدون دستور break، کد باید ۷۲,۹۹۹ محاسبه غیرضروری را اجرا کند. میتوانید ببینید... | Markdown |
0x008F => Code::Paste,
0x0090 => Code::Find,
0x0091 => Code::Cut,
0x0092 => Code::Help,
0x0094 => Code::LaunchApp2,
0x0097 => Code::WakeUp,
0x0098 => Code::LaunchApp1,
// key to right of volume controls on T430s produces 0x9C
// but no documentation o... | Rust |
uture<bool> open({required String taskId}) async {
assert(_initialized, 'plugin flutter_downloader is not initialized');
bool? result;
try {
result = await _channel.invokeMethod<bool>(
'open',
{'task_id': taskId},
);
if (result == null) {
throw const FlutterDownlo... | Dart |
androidx.compose.ui.unit.dp
import cup_presentation_template.generated.resources.Res
import cup_presentation_template.generated.resources.cup
import net.kodein.cup.Slide
import net.kodein.cup.ui.styled
import org.jetbrains.compose.resources.ExperimentalResourceApi
import org.jetbrains.compose.resources.painterResource... | Kotlin |
"__base__/graphics/terrain/sand-2.png", "__base__/graphics/terrain/masks/transition-4.png",
{
max_size = 8,
[2] = { probability = 0.39, weights = {0.025, 0.010, 0.013, 0.025, 0.025, 0.100, 0.100, 0.005, 0.010, 0.010, 0.005, 0.005, 0.001, 0.015, 0.020, 0.020} },
[4] = { probability = ... | Lua |
a way to provide input to the prompt without stubbing it?
stub(vim.fn, 'input', 'new_dir')
local buf = driver:buffer(editor.open(root:path()))
-- Perform rename action
actions.mkdir()
-- Should not have changed buffers
assert.are.equal(buf:id(), vim.api.nvim_get_curre... | Lua |
t.scatter(y_true, y_proposed, alpha=0.6, c='r', label='PI-RSR R² = {:.3f}, RMSE = {:.3f}'.format(r2, rmse, metrics.mean_absolute_error(y_true, y_proposed)))
plt.scatter(y_true, y_pirsr_para_cali, alpha=0.6, c='brown', label='PI-RSR(Cali) R² = {:.3f}, RMSE = {:.3f}'.format(metrics.r2_score(y_true, y_pirsr_para_cali), np... | Python |
}
class DemoTile extends StatelessWidget {
final Demo demo;
const DemoTile({required this.demo, super.key});
@override
Widget build(BuildContext context) {
return ListTile(
title: Text(demo.name),
onTap: () {
Navigator.of(context).pushNamed(demo.route);
},
);
}
}
// Copyr... | Dart |
osition: 0px -30px;
}
xul|colorpicker:disabled xul|colorpicker::button,
xul|menulist:disabled xul|menulist::button,
xul|datepicker:disabled xul|datepicker::button {
background-position: 0px -45px;
}
/* datepicker */
xul|datepicker {
width: 90px;
}
xul|datepicker::button {
background-image: url(media/datepicker.gi... | CSS |
{
return this.renderEmailBodies('policyOffice', data);
}
private renderEmailBodies(
recipient: 'applicant' | 'policyOffice',
data: TemplateData
): RenderedEmailBodies {
const templateData = {
...data,
uri: this.commissionsUri,
};
const htmlTemplate = this.templates[recipient... | Typescript |
Id(windowId()).setFullscreen(false);
stateGlobal.setFullscreen(false, procWnd: false);
}
await setNewConnectWindowFrame(
windowId(), id!, prePeerCount, display, screenRect);
Future.delayed(Duration(milliseconds: isWindows ? 100 : 0), () async {
await windowOnTop(w... | Dart |
evento de desconexão e posterior conexão
para detectar a troca de dispositivo.
- Melhoria (OCM do KdL a partir da 3.9.1 também tem): a emulação de mouse
MSX do MC2+ foi portada para todos. É uma forma melhor que conta com time
-out para retornar sozinho ao primeiro estado após algum tempo sem
... | Markdown |
ITERALS
#endif
#if !defined(__cpp_constexpr) || (__cpp_constexpr < 201304)
# define BOOST_NO_CXX14_CONSTEXPR
#endif
#if !defined(__cpp_decltype_auto) || (__cpp_decltype_auto < 201304)
# define BOOST_NO_CXX14_DECLTYPE_AUTO
#endif
#if (__cplusplus < 201304) // There's no SD6 check for this....
# define BOOST_NO_CXX14_... | C++ |
orgia Tech Research Corporation
TACS is licensed under the Apache License, Version 2.0 (the
"License"); you may not use this software except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
*/
#include "TACSFH5Loader.h"
#include "TACSMarchin... | C++ |
import torch
import clip
import sys
sys.path.append('..')
from PIL import Image
from ppad_clip.datasets.chexpert import CheXpert
import numpy as np
import sklearn.metrics as metrics
device = "cuda" if torch.cuda.is_available() else "cpu"
model, preprocess = clip.load("ViT-B/32", device=device)
# pre-trained model pa... | Python |
+7466, U+747b, U+7491, U+7493-7497, U+74a2, U+74ac-74ad, U+74af, U+74b3, U+74b6-74b7, U+74bb-74bc, U+74be, U+74c0-74c4, U+74c7, U+74c9, U+74cb, U+74ce, U+74d1, U+74d5, U+74d7, U+74d9, U+74db, U+74dd, U+74e1, U+74e5, U+74ea-74ed, U+74f3, U+74f5, U+74fa, U+74fc-74fe, U+7506, U+7508-750b, U+750f-7510, U+7512, U+7514, U+75... | CSS |
]);
TestThriftJ.Processor processor = new TestThriftJ.Processor(new QueryImp());
TNonblockingServer.Args arg = new TNonblockingServer.Args(socket);
arg.protocolFactory(new TBinaryProtocol.Factory());
arg.transportFactory(new TFramedTransport.Factory());
arg.processorFactory(new TProcessorF... | Java |
---@type progress_view_node_type
type = node.type,
}, {})
self.progress_view_pane_tree:add_node(section_node, parent_node:get_id())
self.active_progress_view_section_node = section_node
self.active_progress_view_section_node:expand()
-- We initialize a dequeu for the section
self.section_deque_map[sect... | Lua |
e (fifo_isfull(&hw->serial->rxfifo)){
serial_purge_rx(hw->serial);
}
ch = hal_uart_recv_data(UART2_BASE);
fifo_push(&hw->serial->rxfifo, ch);
hw->serial->rx_callback();
}
static inline void serial_uart2_isr_callback(void)
{
if (hal_uart_it_en_status_get(UART2_BASE, USART_IT_RXNE) && \
... | C |
icon_url,
'source_site': self.site_name,
'category': 'ui',
'asset_type': '2d',
'is_free': True,
'license_info': 'CC BY 3.0',
'scraped_at': time.time()
}
assets.append(... | Python |
this._eventBus = eventBus;
this._modeling = modeling;
this._rules = rules;
this._toolManager = toolManager;
this._mouse = mouse;
var self = this;
toolManager.registerTool('space', {
tool: 'spaceTool.selection',
dragging: 'spaceTool'
});
eventBus.on('spaceTool.selection.end', function(event... | JavaScript |
art |
| プログラム | program |
| 創作・ハンドメイド | handmade |
| 歴史・評論・情報 | history |
| 鉄道・旅行・ミリタリー | railroad |
| ショップ | shop |
| その他 | other |
Ranking period
| デイリー | ウィークリー | マンスリー | 全期間 |
| -------- | ------------ | ---------- | ------ |
| dai... | Markdown |
');
src: url('fonts/KaTeX_Script-Regular.eot#iefix') format('embedded-opentype'), url('fonts/KaTeX_Script-Regular.woff2') format('woff2'), url('fonts/KaTeX_Script-Regular.woff') format('woff'), url('fonts/KaTeX_Script-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font... | CSS |
var i=this;if(Array.isArray(t))return r.map(function(r,o){return i.decodeOperands(t[o],e,n,[r])});if(null!=t.decode)return t.decode(e,n,r);switch(t){case"number":case"offset":case"sid":return r[0];case"boolean":return!!r[0];default:return r}},t.prototype.encodeOperands=function(t,e,n,r){var i=this;return Array.isArray(... | JavaScript |
_5x3();
let width = v.width();
let mut slice = v.into_boxed_slice();
let mut v = BidiMutSlice::new(&mut slice, width).unwrap();
v.rotate180();
assert_layout::<T>(
v,
5,
3,
vec![35, 34, 33, 32, 31, 25, 24, 23, 22, 21, 15, 14, 13, 12, 11],
);
}
run_test_on_types!(r... | Rust |
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.SubscriptionServer
{
... | C# |
Dao
import com.tencent.devops.process.engine.service.SubPipelineRefService
import com.tencent.devops.process.engine.service.SubPipelineTaskService
import com.tencent.devops.process.pojo.pipeline.SubPipelineRef
import org.jooq.DSLContext
import org.jooq.impl.DSL
import org.slf4j.LoggerFactory
import org.springframework.... | Kotlin |
, 0.15F, 0.35F, -1.35F, -0.6F, 0.35F, -1.35F, -0.1F, 0F, -0.35F, -0.85F); // Box 785
bodyModel[715].setRotationPoint(-34F, -31.75F, -8.25F);
bodyModel[716].addShapeBox(0F, 0F, 0F, 1, 1, 1, 0F,-0.35F, -0.35F, -0.65F, -0.35F, -0.35F, -0.65F, -0.35F, -1.25F, 0.45F, -0.35F, -1.25F, 0.45F, -0.35F, -0.35F, -0.35F, -0.35... | Java |
unittest.expect(casted4['bool'], unittest.equals(true));
unittest.expect(casted4['string'], unittest.equals('foo'));
}
core.int buildCounterGoogleCloudDialogflowCxV3ConversationTurnUserInput = 0;
api.GoogleCloudDialogflowCxV3ConversationTurnUserInput
buildGoogleCloudDialogflowCxV3ConversationTurnUserInput() {
f... | Dart |
/***************************************************************************
* GumpImageTileButton.cs
* -------------------
* begin : April 26, 2005
* copyright : (C) The RunUO Software Team
* email : info@runuo... | C# |
v[v_gld_a+2], v[v_gld_a+2+1], offset0:128, offset1:192
v_mfma_f32_16x16x1f32 a[a_c+32:a_c+47], v[v_a+1], v[v_b], a[a_c+32:a_c+47] ; repeat:1x0, step:0x0, num_a_c:16
v_mfma_f32_16x16x1f32 a[a_c+48:a_c+63], v[v_a+1], v[v_b+1], a[a_c+48:a_c+63] ; repeat:1x1, step:0x0, num_a_c:16
v_mfma_f32_16x16x1f32 a... | Assembly |
'.join(lst))
super(FunctionPrototype, self).__init__(name)
@property
def key(self):
return self.name
class WrapperAddressProtocol(ABC):
"""Base class for Wrapper Address Protocol.
Objects that inherit from the WrapperAddressProtocol can be passed
as arguments to Numba jit compi... | Python |
nombre-alumno2", etc.
* Recordar que al borrar el usuario se tendrá que eliminar su HOME.
## 2.2 Comprobar
* Estamos en la MV GNU/Linux.
* Abrir un terminal Bash.
* Consultar contenido de /etc/passwd.
* Ejecutar el script de creación.
* Consultar contenido de /etc/passwd.
* Ejecutar el script de borrado.
* Consul... | Markdown |
la_spawn_enemy_at_target = class({})
LinkLuaModifier( "lm_spawn_enemy_at_target", "scripts/vscripts/demo/lm_spawn_enemy_at_target.lua", LUA_MODIFIER_MOTION_NONE )
LinkLuaModifier( "lm_take_no_damage", "scripts/vscripts/demo/lm_take_no_damage.lua", LUA_MODIFIER_MOTION_NONE )
LinkLuaModifier( "lm_free_spells", "scripts/... | Lua |
-- Jump to other::say_hello() and have cursor on say_hello
local ln, col = driver:window():move_cursor_to('say_hello')
assert.are.equal(4, ln)
assert.are.equal(11, col)
-- Perform request in blocking fashion to make sure that we're ready
-- NOTE: This does not perform a jump or ... | Lua |
,d3) ;poke upper bytes
move.b d7,d6
move.b d6,57(a1,d4) ;poke lower byte
movem.w (a3)+,d1/d2/d3/d4
move.w (a0)+,d6
move.b d6,d7
lsr.w #8,d6
move.b d6,64(a1,d1) ;poke upper bytes
move.b d7,d6
move.b d6,65(a1,d2) ;poke lower byte
move.w (a0)+,d6
move.b d6,d7
lsr.w #8,d6
move.b d6,72(a1,d3) ;poke upper byt... | Assembly |
tions.
*/
import java.awt.print.PageFormat;
import java.awt.print.Paper;
/*
* @test
* @summary Check that PageFormat constructor and methods do not throw unexpected
* exceptions in headless mode
* @run main/othervm -Djava.awt.headless=true HeadlessPageFormat
*/
public class HeadlessPageFormat {
pu... | Java |
m to blob, padding with zeros
copy(blob[:len(compressedStream)], compressedStream)
// Sanity-check that the blob is right-padded with zeroes
for i := len(compressedStream); i < len(blob); i++ {
if blob[i] != 0 {
utils.Panic("blob not padded correctly at index blob[%d]", i)
}
}
return blob, nil
}
// Copyri... | Go |
using Confluent.Kafka;
using Streamiz.Kafka.Net.State;
using Streamiz.Kafka.Net.State.Helper;
using Streamiz.Kafka.Net.Stream;
namespace Streamiz.Kafka.Net.SerDes
{
/// <summary>
/// Full time window serdes
/// </summary>
/// <typeparam name="T">Value type</typeparam>
public class TimeWindowedSerD... | C# |
Boolean() ? rand.nextInt(100)/100d : rand.nextInt(2)},
new double[]{rand.nextBoolean() ? rand.nextInt(100)/100d : rand.nextInt(2), rand.nextBoolean() ? rand.nextInt(100)/100d : rand.nextInt(2)},
new double[]{rand.nextBoolean() ? rand.nextInt(100)/100d : rand.nextInt(2), r... | Java |
256 height=256 tileposx=0 tileposy=23040 tilewidth=3840 tileheight=3840 oldwid=0 wid=0 ver=-1"
};
for (auto &tile : tiles)
queue.put(tile);
LOK_ASSERT_EQUAL(4, static_cast<int>(queue.getQueue().size()));
// should result in the 3, 2, 1, 0 order of the tiles thanks to the cursor
// positio... | C++ |
1 were not the same?)
*/
static void __init check_multiple_madt(void)
{
struct acpi_table_header *table = NULL;
acpi_size tbl_size;
acpi_get_table_with_size(ACPI_SIG_MADT, 2, &table, &tbl_size);
if (table) {
printk(KERN_WARNING PREFIX
"BIOS bug: multiple APIC/MADT found,"
" using %d\n", acpi_... | C |
program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0,
* or the Eclipse Distribution License v. 1.0 which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Id... | Java |
t version for method 'StoreEvent'
type MockStoreEventUseCase_StoreEvent_Call struct {
*mock.Call
}
// StoreEvent is a helper method to define mock.On call
// - ctx context.Context
// - projectID domain.ProjectID
// - req map[string]interface{}
func (_e *MockStoreEventUseCase_Expecter) StoreEvent(ctx interface{}... | Go |
87-7e81-8f72-f0ca391ae12a}",
urn: "urn:uuid:28c21084-2287-7e81-8f72-f0ca391ae12a",
fieldsV7: [0x28c210842287n, 0xe81n, 0x0f72f0ca391ae12an],
bytes: [
40, 194, 16, 132, 34, 135, 126, 129, 143, 114, 240, 202, 57, 26, 225, 42,
],
},
{
hyphenated: "36c6849e-d55a-740d-86e0-32eec9e03663",
he... | JavaScript |
.CenterStart
) {
if (state.text.isNotEmpty() || isFocus) {
textInput()
} else {
Text(
text = hint,
style = BakeRoadTheme.typography.bodyXsmallMedium.copy(color ... | Kotlin |
*/ slwi r0, r19, 2
/* 80179FA8 00175C08 7F 23 00 2E */ lwzx r25, r3, r0
lbl_80179FAC:
/* 80179FAC 00175C0C A0 B9 00 06 */ lhz r5, 6(r25)
/* 80179FB0 00175C10 7E 03 83 78 */ mr r3, r16
/* 80179FB4 00175C14 7E E4 BB 78 */ mr r4, r23
/* 80179FB8 00175C18 4B FF DC F9 */ bl func_80177CB0
/* 80179FBC 00175C1C 2C 03 00 ... | Assembly |
H *string `yaml:"FindH,omitempty"`
FindBLX *uint32 `yaml:"FindBLX,omitempty"`
Find []byte `yaml:"Find,omitempty"`
}
// Deprecated: Use FindInstBLX and ReplaceInstBLX on ReplaceBytes instead.
type ReplaceBLX struct {
Offset int32 `yaml:"Offset,omitempty"`
Find uint32 `yaml:"Find"`
Replace uint32 `yaml:"... | Go |
:32px;line-height:32px;padding-left:16px;padding-right:16px}@media screen and (min-width:600px){md-tooltip .md-content{height:22px;line-height:22px;padding-left:8px;padding-right:8px}}md-tooltip .md-content.md-show-add{transition:all .4s cubic-bezier(.25,.8,.25,1);opacity:0}md-tooltip .md-content.md-show,md-tooltip .md... | CSS |
R,TEXT_ALIGN_CENTER)
draw.SimpleText(Format("Ln [%d] %s %s",line,rriL.NameEn or rriL.Name,rriL.Loop and "Loop" or ""),"Metrostroi_Arial13",10,5,Color(200,100,50),TEXT_ALIGN_LEFT,TEXT_ALIGN_CENTER)
if rriL.Loop then
draw.SimpleText(Format("Path: %s",Train:GetNW2Bool("RRI:Path",false) and "II"... | Lua |
5E4BC 800B626C 8C4F0000 */ lw $t7, ($v0)
/* 05E4C0 800B6270 000FC880 */ sll $t9, $t7, 2
/* 05E4C4 800B6274 03282021 */ addu $a0, $t9, $t0
/* 05E4C8 800B6278 C4880000 */ lwc1 $f8, ($a0)
/* 05E4CC 800B627C 460A4400 */ add.s $f16, $f8, $f10
/* 05E4D0 800B6280 E4900000 */ swc1 $f16, ($a0)
/* 05E4D4 800B6284 8... | Assembly |
auto current_time = std::chrono::system_clock::to_time_t(now);
// write to log file
_stream << _logType << " | " << std::ctime(¤t_time)
<< str() << std::endl;
if (_writeToConsole)
std::cout << str() << std::endl;
// clear buffer
str("");
... | C |
}
@Override
public void validatorEntity(Student entity) {
super.validatorEntity(entity);
String idCard = entity.getIdCard();
QueryWrapper<Student> queryWrapper = new QueryWrapper<>();
queryWrapper.eq(MybatisPlusUtil.toColumns(Student::getIdCard), idCard);
if (StrUtil... | Java |
ode secs and nsecs components. *If secs/nsecs is 0 or tz is UTC, it
// is not encoded in the byte array explicitly*.
//
// Descriptor 8 bits are of the form `A B C DDD EE`:
// A: Is secs component encoded? 1 = true
// B: Is nsecs component encoded? 1 = true
// C: Is tz compon... | Go |
\FilterCount\(), 2, \OutputCount\(), 6, "vfmadd231ps zmm21,zmm31,zmm24"
EmitIfCountGE \FilterCount\(), 3, "vmovups zmm24,ZMMWORD PTR [rbx+\VectorOffset\()]"
EmitIfCount2GE \FilterCount\(), 3, \OutputCount\(), 1, "vfmadd231ps zmm2,zmm26,zmm24"
EmitIfCount2GE \FilterCount\(), 3, \OutputCount\(), 2... | Assembly |
useful, but WITHOUT ANY *
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A *
* PARTICULAR PURPOSE. See the GNU General Public License for more details. *
* *
* You should have... | Kotlin |
partId, typeId, pos, dir, normal);
end
----------------------------------------------------------------------------------------------------
function SinglePlayer:ClientViewShake(pos, distance, radiusMin, radiusMax, amount, duration, frequency, source, rnd)
if (g_localActor and g_localActor.actor) then
if (distance)... | Lua |
16I= 13398
IENlbnRyYWw= 13399
aWNpb3M= 13400
IG1lZw== 13401
w6dhcw== 13402
aXJs 13403
0L7RgdGC0Lg= 13404
7ZWp 13405
cG9zZXM= 13406
LiIpOwo= 13407
IGjDoQ== 13408
cmVp 13409
IC4K 13410
aW1pbmFs 13411
IFJh 13412
IE1lbA== 13413
KHRleHQ= 13414
IE1hbmFnZXI= 13415
IOCksuCklw== 13416
IEF6 13417
SGV0 13418
IGdlaw== 13419
aWNrZW... | Kotlin |
ded in Fetchur today, but sba wasn't loaded at the time.
* Clicking Fetchur again (and reading the NPC response) will update the value to be correct.
*
* @return {@code true} iff the player hasn't yet submitted the item in today (EST).
*/
public boolean hasFetchedToday() {
long lastTimeF... | Java |
# RUN: llvm-mc -triple=ve --show-encoding < %s \
# RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
# RUN: llvm-mc -triple=ve -filetype=obj < %s | llvm-objdump -d - \
# RUN: | FileCheck %s --check-prefixes=CHECK-INST
# CHECK-INST: vfcmp.d %v11, %s20, %v22
# CHECK-ENCODING: encoding: [0x00,0x16,0x... | Assembly |
;
if (tlb_flag(TLB_V3_PAGE))
asm("mcr%? p15, 0, %0, c6, c0, 0" : : "r" (kaddr));
if (tlb_flag(TLB_V4_U_PAGE))
asm("mcr%? p15, 0, %0, c8, c7, 1" : : "r" (kaddr));
if (tlb_flag(TLB_V4_D_PAGE))
asm("mcr%? p15, 0, %0, c8, c6, 1" : : "r" (kaddr));
if (tlb_flag(TLB_V4_I_PAGE))
asm("mcr%? p15, 0, %0, c8, c5, 1" :... | C |
auto-complete-certain-category',
encapsulation: ViewEncapsulation.None,
template: `
<div class="example-input">
<nz-input-group nzSize="large" [nzSuffix]="suffixIcon">
<input
placeholder="input here"
nz-input
[(ngModel)]="inputValue"
(ngModelChange)="onChang... | Typescript |
<= pyramidHeight; y++) {
for (var x:number = 0; x < y; x++) {
// We initialise the blocks to be slightly overlapping so that
// all contact points will be created in very first step before the blocks
// begin to fall.
bodyDef.position.Set(
((sw/2) - boxWidth*((y-1)/2 - x)*0.99) * WORLD_SC... | Typescript |
(0.2)
usedWritePool := sAllocation.MovedToChallenge - 699990
if usedWritePool < totalCancellationCharge {
totalCancellationCharge = totalCancellationCharge - usedWritePool
if sAllocation.WritePool < totalCancellationCharge {
totalCancellationCharge = sAllocation.WritePool
}
} else {
totalCancellationCh... | Go |
ct) {
rangeCheck(rc_undershoot_pct, 0, 100);
this.rc_overshoot_pct = rc_overshoot_pct;
}
public int getRc_buf_sz() {
return rc_buf_sz;
}
public void setRc_buf_sz(int rc_buf_sz) {
this.rc_buf_sz = rc_buf_sz;
}
public int getRc_buf_initial_sz() {
return r... | Java |
ECE04:
ldrsb r1, [r2, #-1]!
add r5, r5, #1
cmp r5, r0
strb r1, [r8, #-1]!
blt _020ECE04
b _020ECE24
_020ECE1C:
mov r0, #0x30
strb r0, [r8, #-1]!
_020ECE24:
ldrsb r0, [sp, #4]
cmp r0, #0
movne r0, #0x2d
strneb r0, [r8, #-1]!
bne _020ECE54
cmp r4, #1
moveq r0, #0x2b
streqb r0, [r8, #-1]!
beq _020ECE54
c... | Assembly |
scroll-snap-type: x mandatory,
innerClass: (
"scroll:hidden": (
margin-bottom: "-1px !important",
),
),
),
"scroll:y": (
height: 100%,
overflow: hidden,
overflow-y: "auto !important",
overscroll-behavior-y: contain,
scroll-snap-type: y mandatory,
innerClass: (
"scroll:hi... | CSS |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using WDE.Common.Services;
using WDE.Common.Tasks;
using WDE.DatabaseEditors.Data.Interfaces;
using WDE.Module.Attributes;
namespace WDE.DatabaseEditors.Data
{
[AutoRegister]
... | C# |
l commit = createCommit()
judgmentRepository.save(
createJudgment(
assignment.id, REAL,
listOf(
createJudgmentRecord(
commit,
JudgmentResult(passCount = 9, totalCount = 10, status = SUCCEEDED),
... | Kotlin |
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/grid48x48.png', sizingMethod='scale');
}
.x-ie6 .notepad-shortcut {
background-image: none;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='images/notepadLarge.png', sizingMethod='scale');
}
.video {
background-image: url... | CSS |
function(e,t){for(var r=this,n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return Object(A.a)(t)&&Object(A.a)(e)?(Object.keys(t).forEach((function(o){if(_e.call(e,o)){var i=e[o];if(t[o]!==i){var a=r.reconciler.apply(r,Object(d.f)([e,t,o],n,!1));a!==i&&((e=r.shallowCopyForMerge(e))[o]=a)}}else(e=r.shallowCopyForMe... | JavaScript |
_.b)*x;v<b;){var P=S,k=_,I=1;for(Wr(p,g,y,w-N,1,y,w);I<N;){var F=(I&~A)+L;F>N&&(F=N),(0,Zr[P[k++]>>8&15])(p,g+ +I,y,w+I-N,F-I,y,w+I),I=F}g+=N,w+=N,++v&A||(_+=x)}d!=h.nc&&n(l,c-m,l,c+(d-f-1)*m,m);break;case 1:for(m=p,b=g,N=(p=h.Ea)-(w=p&~(y=(g=1<<h.b)-1)),v=q(p,h.b),L=h.K,h=h.w+(f>>h.b)*v;f<d;){for(A=L,x=h,S=new D,_=b+w... | JavaScript |
(the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://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" B... | Dart |
//
// Created by Monika on 22.11.2022.
//
#ifndef SR_ENGINE_BULLET3RIGIDBODY3D_H
#define SR_ENGINE_BULLET3RIGIDBODY3D_H
#include <Physics/3D/Rigidbody3D.h>
class btRigidBody;
class btMotionState;
namespace SR_PTYPES_NS {
class Bullet3Rigidbody3D : public Rigidbody3D {
using Super = Rigidbody3D;
publ... | C |
self.visit_item_recur(item)
}
}
}
enum PreprocessingError {
/// User error: `[std#x#y]` is not valid
MultipleAnchors,
Disambiguator(Range<usize>, String),
MalformedGenerics(MalformedGenerics, String),
}
impl PreprocessingError {
fn report(&self, cx: &DocContext<'_>, diag_info:... | Rust |
using System.Collections.Generic;
using DigitalOcean.API.Clients;
using DigitalOcean.API.Http;
using DigitalOcean.API.Models.Responses;
using NSubstitute;
using RestSharp;
using Xunit;
namespace DigitalOcean.API.Tests.Clients {
public class FloatingIpsClientTest {
[Fact]
public void CorrectRequestF... | C# |
LI><strong>Modifier</strong>: There are currently two modifiers that
* turn on special collation rules.
* <UL Type=square>
* <LI>'@' : Turns on backwards sorting of accents (secondary
* differences), as in French.
* <LI>'!' : Turns on Thai/Lao vowel-consonan... | Java |
ntent}${content.substring(index)}`;
this.setState({ page }, () => {
selection.moveCursorTo(row, lines[row].length + uploadContent.length);
});
}
}
};
onEditorBlur = () => {
let page = { ...this.state.page };
let content = page.content;
let title = '';
let tag = '... | JavaScript |
fx-button {
-fx-padding: 0 7 0 7;
}
.tiny-button,
.action-button.tiny-button {
-fx-font-size: 0.769em;
-fx-pref-height: 20;
-fx-padding: 3 8 3 8;
-fx-border-radius: 5;
}
.text-button {
-fx-background-color: transparent;
-fx-underline: true;
-fx-padding: 0 10 0 10;
-fx-pref-height: ... | CSS |
lib = require("items");
if(item_lib.check_turn_in(e.trade, {item1 = 18935})) then -- Sealed Note
e.self:Say("That little halfing has escaped our prison. No doubt he will travel back to the safety of Rivervale. He left this cracked emerald. It appears he must have broken off a piece of it. I believe it belongs in Ka... | Lua |
using NHibernate.Param;
using NUnit.Framework;
namespace NHibernate.Test.Parameters
{
[TestFixture]
public class NamedParameterSpecificationTest
{
[Test]
public void WhenHasSameNameThenSameHashCode()
{
var expected = (new NamedParameterSpecification(1, 0, "nhlist")).GetHashCode();
Assert.That((new Named... | C# |
m.ShippingAddress
}
return nil
}
func (m *OrderResult) GetItems() []*OrderItem {
if m != nil {
return m.Items
}
return nil
}
type SendOrderConfirmationRequest struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
Order *OrderResult `proto... | Go |
mut libc::c_void);
return 0 as *mut opj_tgt_tree_t;
}
(*tree).nodes = opj_calloc(
(*tree).numnodes as size_t,
::std::mem::size_of::<opj_tgt_node_t>() as libc::c_ulong,
) as *mut opj_tgt_node_t;
if (*tree).nodes.is_null() {
opj_event_msg(
p_manager,
1 as libc::c_int,
b"Not enoug... | Rust |
::thread;
use std::str::{from_utf8};
use std::sync::{Arc};
#[derive(Clone, Debug)]
pub enum Dir {
Path(PathBuf),
Temp(Arc<TempDir>),
}
impl Dir {
pub fn path(&self) -> &Path {
match self {
&Dir::Path(ref path) => path,
&Dir::Temp(ref tmp_dir) => tmp_dir.path(),
}
}
}
#[derive(Clone, Debug... | Rust |
l,
body {
background-color: #333;
}
body {
display: -ms-flexbox;
display: flex;
color: #fff;
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
}
html,
body,
.cover-container {
min-height: 100%;
}
.cover-container {
max-width: 42em;
}
/*
* Header
*/
.masthead... | CSS |
-->
<!-- https://github.com/PX4/PX4-Autopilot/blob/main/boards/mro/ctrl-zero-f7/nuttx-config/nsh/defconfig#L202-L207 -->
## 추가 정보
- [Introducing the new mRo Control Zero Autopilot](https://mrobotics.io/introducing-the-new-mro-control-zero-autopilot/) (blog)
- [Quick Start Guide](https://mrobotics.io/mrocontrolzero/... | Markdown |
xpr> { "FAIL_cexplangmap"')
feed('o+<esc>')
command('cunmap {')
-- Assert buffer contents.
expect([[
+
+
+
+]])
end)
it('feedkeys', function()
insert([[
a b c d
a b c d
]])
-- Vim's issue #212 (feedkeys insert mapping at current position)
com... | Lua |
8] = "Marcas de Guerra de Serpiente Roja",
[93090] = "Camisa del Año de la Serpiente de Madera",
[93091] = "Máscara Ceremonial Tejida con Llamas",
[93092] = "Regalo del Año de la Serpiente de Madera",
[93093] = "Caja del Tesoro Auspicioso del Año de la Serpiente",
[93094] = "Anillo de Boda de Crisantine",
[... | Lua |
...styles[k],
// @ts-ignore
...overrides[k]
});
}
return combinedStyles;
}
/**
* Returns an rgba format of the provided color if it's in hex or rgb format.
*
* NOTE: The function will return the same color if it's not in one of those
* two form... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.