content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
: right;
width: 66px;
display: inline-block;
margin-bottom: 10px;
height: 37px;
font-size: 14px;
color: #FFFFFF;
margin:0px 2px;
background-color: #3498db;
border-radius: 3px;
text-decoration: none;
cursor: pointer;
box-shadow: 0px 0px 5px #B0B0B0;
border: 0px #fff solid;}
/*选择文件上传*/
.new-cont... | CSS |
/** delta is ether an array of 2 numbers or a number */
delta : any;
position : any;
velocity : any;
clientX : number;
clientY : number;
offsetX : number;
offsetY : number;
}
interface IMouseSyncOption extends fms.IScalable{
/** read ... | Typescript |
e),
}
impl FragmentArgument {
fn into_value_string(self) -> TemplatingResult<String> {
match self {
FragmentArgument::Value(s) => Ok(s),
FragmentArgument::Directive(_) => Err(TemplatingError::argument_error(
"unknown",
format!("Expected Value argument... | Rust |
} finally {
_removeTemporaryTextArea(tempTextArea);
}
return result;
}
DomHTMLTextAreaElement _appendTemporaryTextArea() {
final DomHTMLTextAreaElement tempElement = createDomHTMLTextAreaElement();
final DomCSSStyleDeclaration elementStyle = tempElement.style;
elementStyle
..positio... | Dart |
utValueDefRef := range v.definition.FieldDefinitions[fieldDefRef].ArgumentsDefinition.Refs {
operationArgRef, exists := v.operation.FieldArgument(ref, v.definition.InputValueDefinitionNameBytes(definitionInputValueDefRef))
if exists {
operationArgValue := v.operation.ArgumentValue(operationArgRef)
if v.operat... | Go |
tRaw(false, yasu)
Sleep(Delay)
end
function Plant()
for _, tile in pairs(GetTiles()) do
if 0 == tile.fg and 0 ~= GetTiles(tile.x, tile.y + 1).fg then
SeedOrNo = GetTiles(tile.x, tile.y + 1).fg / 2
if not tostring(SeedOrNo):find(".5") and 0 ~= checkamount(SeedID) then
FindPath(tile.x, tile.y)... | Lua |
-> ColorResourceHelper.getColor(context, android.R.color.system_neutral1_800)
30 -> ColorResourceHelper.getColor(context, android.R.color.system_neutral1_700)
40 -> ColorResourceHelper.getColor(context, android.R.color.system_neutral1_600)
50 -> ColorResourceHelper.getColor(context, android.R.co... | Kotlin |
ScalarValue::Number(BigDecimal::from(123)))
);
assert_eq!(
ScalarValue::Number(
BigDecimal::from_str(
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"
)
.unwrap()... | Rust |
FORM_CODE then
pg.SdkMgr.GetInstance():SwitchAccount()
end
end, SFX_MAIN)
onButton(slot0, slot0.repairBtn, function ()
showRepairMsgbox()
end)
function slot1()
if pg.SdkMgr.GetInstance():GetLoginType() == LoginType.PLATFORM then
pg.SdkMgr.GetInstance():LoginSdk()
elseif slot0 == LoginType.PLATFORM_TE... | Lua |
System.Drawing.Point(333, 15);
this.editorPanel.Name = "editorPanel";
this.editorPanel.Padding = new System.Windows.Forms.Padding(2);
this.editorPanel.Size = new System.Drawing.Size(806, 657);
this.editorPanel.TabIndex = 1;
//
// contentPanel
//
this.contentPanel.Dock = System.Windows.Forms.Do... | C# |
ns all the discriminators to pull data from, when doing an `UPDATE` operation.
* @property **where**: Discriminator to be used to select the data when performing the operation.
*
* ---
*
* ### Description
*
* It's a bit confusing, so maybe it should be _more_ aliased so it's more obvious and expressive what it i... | Typescript |
t
addon *v1alpha3.Addon
}
tests := []struct {
name string
fields fields
args args
wantErr assert.ErrorAssertionFunc
verify func(t *testing.T, Client client.Client)
}{{
name: "normal case",
fields: fields{
Client: fake.NewClientBuilder().WithScheme(schema).WithObjects(strategy.DeepCopy(), a... | Go |
{
_spec.SetField(perspective.FieldDescription, field.TypeString, value)
}
if pu.mutation.DescriptionCleared() {
_spec.ClearField(perspective.FieldDescription, field.TypeString)
}
if value, ok := pu.mutation.Labels(); ok {
_spec.SetField(perspective.FieldLabels, field.TypeJSON, value)
}
if pu.mutation.Label... | Go |
##########################################################
# pytorch-kaldi v.0.1
# Mirco Ravanelli, Titouan Parcollet
# Mila, University of Montreal
# October 2018
##########################################################
import sys
import configparser
import os
from utils import create_curves
# Checking arguments
i... | Python |
Output' : 691},
{'input' : 690, 'expectedOutput' : 691},
{'input' : 691, 'expectedOutput' : 701},
{'input' : 692, 'expectedOutput' : 701},
];
for (var elem in _inputsToExpected) {
test('input: ${elem['input']}', () {
var _actual = getNextPrime(elem['input'] as int);
expe... | Dart |
(
Arg::with_name("URL")
.help("List of URLs to get video link")
.multiple(true) // This flag should allow multiple
.required(true), // By default this argument MUST be present
)
.get_matches()
}
fn run() {
let matches = arg_parse();
l... | Rust |
"XN--VERMGENSBERATUNG-PWB": true,
"XN--VHQUV": true,
"XN--VUQ861B": true,
"XN--W4R85EL8FHU5DNRA": true,
"XN--W4RS40L": true,
"XN--WGBH1C": true,
"XN--WGBL6A": true,
"XN--XHQ521B": true,
"XN--XKC2AL3HYE2A": true,
"XN-... | Go |
name: mongo-data2
```
### Menggunakan Volume
- Untuk menggunakan Volume, kita gunakan seperti menggunakan bind mount, dengan ketentuan :
- Pada short sytax, kita bisa ganti `SOURCE` dengan nama volume
- Pada long syntax, kita bisa ganti type menjadi volume, dan source menjadi nama volume
### Kode : Menggunaka... | Markdown |
lNdcCk8xlNDPXMuSyNiwl+theIb9C7RLIpKvviYy+M6H8qGwSAp6Is19+GP6KxwnggJ/kq6Jht5rnRQA4z9zyRRaXssvyqp5I6Vutv0vkpJaJtnjpz/8B19ytIayazLoAAAAASUVORK5CYII=");
background-repeat: no-repeat;
background-position: 0 -30px;
}
.starability-basic > label::before {
content: '';
position: absolute;
display: block;
height: 30... | CSS |
media_kit/just_audio_media_kit.dart';
import 'package:path_provider/path_provider.dart';
import 'package:share_handler/share_handler.dart';
import 'package:responsive_framework/responsive_framework.dart';
import 'blocs/mediaPlayer/bloomee_player_cubit.dart';
import 'package:flutter_displaymode/flutter_displaymode.dart'... | Dart |
assert_eq!(buf,
&[42, 43, // leaf values
// inner
0, // flags
42,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, // digest
1,0,0,0,0,0,0,0, // tip ptr, left leaf
0, // flags
43,0,0,0,0,0,0,0, 0,0,0,0,0,0,0... | Rust |
body.full-width-dvtable .markdown-source-view.mod-cm6.is-readable-line-width .cm-contentContainer > div > div.cm-preview-code-block>div[class^="block-language"]:not([class^="block-language-dataview"])
{
max-width: var(--file-line-width);
margin-inline: auto;
}
/* Reading View -- similar to Editing View, set all d... | CSS |
rkOutput {
/**
* @public
* <p>The unique name of the framework. The name must be between 1 and 256 characters,
* starting with a letter, and consisting of letters (a-z, A-Z), numbers (0-9), and
* underscores (_).</p>
*/
FrameworkName?: string;
/**
* @public
* <p>An Amazon R... | Typescript |
:3>>»?\nВведите <<5>> для подтверждения.", 1)
SAS(SI_ARMORY_CURSE_TYPE_LABEL, "Проклятие: <<c:1>>", 0)
SAS(SI_ARMORY_EQUIPMENT_LABEL, "Снаряжение", 0)
SAS(SI_ARMORY_MUNDUS_STONE_LABEL, "Камень Мундуса: <<1>>", 0)
SAS(SI_ARMORY_OPEN_BUILD_DIALOG_ACTION, "Настройки сборки", 0)
SAS(SI_ARMORY_OUTFIT_LABEL, "Наряд: <<X:1>>"... | Lua |
filter = EVFILT_READ;
fflags = 0;
op = EV_ADD;
if (w->cb == uv__fs_event) {
filter = EVFILT_VNODE;
fflags = NOTE_ATTRIB | NOTE_WRITE | NOTE_RENAME
| NOTE_DELETE | NOTE_EXTEND | NOTE_REVOKE;
op = EV_ADD | EV_ONESHOT; /* Stop the event from firing repeatedl... | C++ |
val sourceNode2 = VirtualNode(arrayOf(Label {"Person"}), mapOf("id" to 5678L))
val virtualGraph = AWSVirtualKeyPhrasesGraph(res, listOf(sourceNode1, sourceNode2), RelationshipType { "KEY_PHRASE" }, "score", 0.0).create()
val nodes = virtualGraph.graph["nodes"] as Set<*>
assertEquals(6, nodes.s... | Kotlin |
using System.Buffers.Binary;
using System.Text;
using Lagrange.Core.Common;
using Lagrange.Core.Common.Entity;
using Lagrange.Core.Exceptions;
using Lagrange.Core.Internal.Events;
using Lagrange.Core.Internal.Events.System;
using Lagrange.Core.Internal.Packets.Service;
using Lagrange.Core.Utility;
namespace Lagrange.C... | C# |
v_draw_mask_add`"]
#[doc = " Return: the parameter of the removed mask."]
#[doc = " If more masks have `custom_id` ID then the last mask's parameter will be returned"]
pub fn lv_draw_mask_remove_id(id: i16) -> *mut ::cty::c_void;
}
#[lvgl_macros::safe_wrap(attr)] extern "C" {
#[doc = " Remove all mask w... | Rust |
name(desc_file)
file_dict['file_size'] = os.path.getsize(desc_file)
self.send_msg(client_socket, json.dumps(file_dict).encode())
dummy = self.recv_msg(client_socket)
with open(desc_file, 'rb') as f:
client_socket.sendall(f.read())
# get infer resu... | Python |
ring_alerts': [
'Fallback portfolio active - sector analysis unavailable',
'Consider upgrading news data sources for better analysis'
]
}
# Test and demonstration
if __name__ == "__main__":
engine = HybridRecommendationEngine()
print("🚀 Hybrid Investmen... | Python |
gSongInt then
playingSongInt = 0
end
if not musicplayer_play_next_song() then
autoPlayMusicNext = false
end
elseif musicPlayMode == 3 then
if not playingSongInt then
playingSongInt = 0
end
if not musicplayer_play_next_song() then
playingSongInt = 0
if not musicplayer_... | Lua |
ic const _noise =
[
0xd76aa478, 0xe8c7b756, 0x242070db, 0xc1bdceee, 0xf57c0faf, 0x4787c62a, //
0xa8304613, 0xfd469501, 0x698098d8, 0x8b44f7af, 0xffff5bb1, 0x895cd7be,
0x6b901122, 0xfd987193, 0xa679438e, 0x49b40821, 0xf61e2562, 0xc040b340,
0x265e5a51, 0xe9b6c7aa, 0xd62f105d, 0x024414... | Dart |
h
req.include-header:
req.target-type: Windows
req.target-min-winverclnt: Windows 10 [desktop apps only]
req.target-min-winversvr: Windows Server 2016 [desktop apps only]
req.kmdf-ver:
req.umdf-ver:
req.ddi-compliance:
req.unicode-ansi:
req.idl:
req.max-support:
req.namespace:
req.assembly:
req.type-library:
... | Markdown |
KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISIN... | Kotlin |
macro_rules! test_day {
($name: ident, $day: literal, $sol_a: literal, $sol_b: literal) => {
#[test]
fn $name() -> Result<(), std::io::Error> {
test_day($day, $sol_a, $sol_b)
}
};
}
test_day!(day01, 1, "3262356", "4890664");
test_day!(day02, 2, "3101844", "8478");
test_day!... | Rust |
)
assert.NoError(t, err)
assert.NotNil(t, link)
assert.NoError(t, netlink.LinkDel(link))
assert.NoError(t, removeOldRouterState(hivetest.Logger(t), false, nil))
return nil
})
})
}
// createDevices creates the necessary devices for this test suite. Assumes it
// is executing within the new network na... | Go |
成订单,拿到订单ID
MtOrder orderInfo;
try {
orderInfo = saveOrder(orderDto);
} catch (BusinessCheckException e) {
throw new BusinessCheckException(e.getMessage() == null ? "生成订单失败" : e.getMessage());
}
// 继续点单,合并订单金额等信息
if (myOrder != null && !payFirst) ... | Java |
_texture = rb->get_texture(RB_SCOPE_BUFFERS, RB_TEX_BLUR_1);
if (environment_get_glow_map(p_render_data->environment).is_valid()) {
tonemap.glow_map_strength = environment_get_glow_map_strength(p_render_data->environment);
tonemap.glow_map = texture_storage->texture_get_rd_texture(environment_get_glow_map(p_... | C++ |
AGE_PREFIX.concat(factoryName),
classData.getArray(), classData.getOffset(), classData.getLength());
resolveClass(factoryClass);
*/
Class factoryClass = null;
return new ReflectGeneratedClass(cf, jvmClass, factoryClass);
}
}
/*
* This file is part of Splice Machine.
* Splice Machine is free software... | Java |
using CollimationCircles.Helper;
using CommunityToolkit.Mvvm.ComponentModel;
namespace CollimationCircles.ViewModels
{
public partial class SettingsViewModel
{
[ObservableProperty]
private int thicknessMin = Constraints.ThicknessMin;
[ObservableProperty]
private int thicknessM... | C# |
"""The command for generating new tasks in the context of a time plan."""
from jupiter.core.domain.application.gen.service.gen_service import GenService
from jupiter.core.domain.core.adate import ADate
from jupiter.core.domain.core.recurring_task_period import RecurringTaskPeriod
from jupiter.core.domain.features impo... | Python |
न स्थान के लिए मौसम डेटा प्राप्त करने के',
'theme': 'थीम',
'low': 'निम्न',
'high': 'उच्च',
'normal': 'सामान्य',
'lat': 'अक्षांश',
'lon': 'देशांतर',
'create': 'बनाएँ',
'city': 'शहर',
'district': 'जिला',
'noWeatherCard': 'शहर जोड़ें',
... | Dart |
l.apply(0, c) || n || (r(!0), p()) : n ? e.x = e.y = 0 : (r(!0), p())
};
(b.inverted || 1 < this.len) && r();
p();
return e
},
defaultFormatter: function(a) {
var b = this.points || l(this),
f;
f = [a.tooltipFooterHeaderFormatter(b[0])];
f = f.concat(a.bodyFormatter(b));
f.p... | JavaScript |
: "_ohf rfloat" },
React.createElement(
"div",
null,
React.createElement(AdsLabeledField491, null),
React.createElement(
"div",
{ className: "_5irp" },
React.createElement(AdsStatusSwitch494, null)
)
... | JavaScript |
lint-enable no-duplicate-selectors */
/* ...except on those that have label with GitHub, github, YouTube or similar */
.layout-single-column
.account__header__bio
.account__header__fields
dl:has(
dt[title*="github" i],
dt[title*="youtube" i],
dt[title*="website" i],
dt[title*="twitch" i],
dt[... | CSS |
"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return ... | JavaScript |
87.4-25.27-24.1-58.24-36.49-92.84-34.88-67.7 3.16-120.74 58.77-120.74 126.63l.46 174.43c-20.98 7.36-35.58 27.43-35.58 50.14 0 29.27 23.81 53.08 53.08 53.08s53.09-23.81 53.09-53.08c0-22.71-14.6-42.79-35.59-50.14l.46-174.45c0-48.61 37.99-88.46 86.49-90.73 24.71-1.15 48.28 7.73 66.36 24.99 16.9 16.13 27.14 38.27 28.61 61.... | JavaScript |
ygon_mode:
current_shape.append((end_x, end_y))
else:
shapes.append((start_x, start_y, end_x, end_y))
current_shape = None
def on_mouse_move(event):
global start_x, start_y, current_shape, polygon_mode
if not polygon_mode and current_shape is not None... | Python |
n;
if (_existingRgroupLists!=null) {
redoRgroupLists = new HashMap<Integer,RGroupList>();
for (Iterator<Integer> itr=rgrpHandler.getrGroupQuery().getRGroupDefinitions().keySet().iterator(); itr.hasNext();) {
int rNum=itr.next();
redoRgroupLists.put(rNum, (RGroupList) rgrpHandler.getrGroupQuery().getRGro... | Java |
a9dc,0x76f988da
.word 0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7
.word 0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967
.word 0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13
.word 0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85
.word 0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3
.word 0xd192e819,0xd6990624,0xf40e3585,0x1... | Assembly |
imm
do_vec_helper \rm, \_imm
.endr
.irp size, SIZE_LIST,64,128
do_vec_helper read, \_imm, \size
do_vec_helper write, \_imm, \size
.endr
.endr
.gadget fstsw_ax
movw CPU_fsw(%_cpu), %ax
gret | Assembly |
/* mpfr_dump -- Dump a float to stdout.
Copyright 1999, 2001, 2004, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc.
Contributed by the AriC and Caramel projects, INRIA.
This file is part of the GNU MPFR Library.
The GNU MPFR Library is free software; you can redistribute it and/or modif... | C |
ssColor(CB_CLASS_WARRIOR))
and i < 6 do
color = "|cff" .. string.lower(string.format("%02X%02X%02X", rgb[1], rgb[2], rgb[3] ));
i = i + 1;
end
usedColors[color] = true;
--now color their name.
usedNames[arg2] = color
... | Lua |
using DCL.Helpers;
using DCL.Models;
using UnityEngine;
using Decentraland.Sdk.Ecs6;
namespace DCL.Components
{
public class ConeShape : ParametrizedShape<ConeShape.Model>
{
[System.Serializable]
public new class Model : BaseShape.Model
{
public float radiusTop;
... | C# |
(计算肾脏病脲指数的公式)",
"Ambard's constant":"[医] 昂巴尔氏常数(计算肾脏病脲指数的公式)",
"Ambard's equation":"[医] 昂巴尔氏方程式",
"Ambard's formula":"[医] 昂巴尔氏公式(计算肾脏病脲指数的公式)",
"Ambard's laws":"[医] 昂巴尔氏定律(尿素廓清)",
"ambargris":"[化] 龙涎香",
"ambary":"n. 洋麻",
"ambas":"n. = anba",
"ambassa":"n. (Ambassa)人名;(法)安巴萨",
"ambassade":"n. 大使馆",
"ambassador":"n. 大使\\... | Typescript |
;
let guard = block_on(store_handle.lock());
let (waker, wake_count) = new_count_waker();
let mut ctx = Context::from_waker(&waker);
let next_fut = stream_map.next();
fasync::pin_mut!(next_fut);
assert_eq!(next_fut.poll(&mut ctx), Poll::Pending);
assert_eq!(wake_count.get(), 0);
drop(... | Rust |
from django.urls import path
from .views import login_view, activate, logout_view, profile_view, update_user
app_name = 'user'
urlpatterns = [
path('login/', login_view, name='login'),
path('activate/', activate, name='activate'),
path('logout/', logout_view, name='logout'),
path('profile/', profile_v... | Python |
ntation.split('_')[1]
landscape_path = os.path.join(main.OUTPUT_DIR, f"{base_name}_landscape_{landscape_orientation}.png")
print(f"DEBUG: Ищем файл: {landscape_path}")
print(f"DEBUG: Файл существует: {os.path.exists(landscape_path)}")
if os.path.exists(lan... | Python |
/*************************************************************************
* Copyright (c) 2011 AT&T Intellectual Property
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is availab... | C |
Self {
let mut ctrl_desc_cnt = 0usize;
match self.send_buff.as_mut() {
Some(buff) => {
buff.reset_write();
let mut init_buff_len = 0usize;
match buff.get_ctrl_desc_mut() {
Some(ctrl_desc) => {
let ind_desc_lst = unsafe {
let size = core::mem::size_of::<Descriptor>();
core:... | Rust |
items (which may be a tree...).
int tagName = CmPossibilityTags.kflidName;
// make sure they are sorted
popupTree.Sorted = true;
AddNodes(popupTree.Nodes, List.Hvo,
CmPossibilityListTags.kflidPossibilities, 0, tagName);
// reset the sorted flag - we only want the parts of speech to be sorted.
... | C# |
5b1b6b79299a1a49ae226cd7861083ac")
.setFeeRatio("0x63")
.setValue("0x1")
.setChainId("0x7e3")
.setGasPrice("0x5d21dba00")
.setNonce("0x0")
.setGas("0x2faf080")
.setInput("0x60806040526000805534801561001457600... | Java |
Type: Person.SortType) {
if (_sort.value != sortType) _sort.value = sortType
}
fun reload() {
_sort.value?.let { _sort.value = it }
}
fun getSectionHeader(designer: Person?): String {
return when(sort.value) {
Person.SortType.NAME -> if (designer?.name == "(Uncredit... | Kotlin |
="_blank">
<img align="left" title="Tailwind Css" alt="Tailwind Css" width="40px" src="./assets/tailwind-logo.svg" />
</a>
<a href="[https://nextjs.org](https://nextjs.org)" target="_blank">
<img align="left" title="Next Js" alt="Next Js" width="40px" src="./assets/next-logo.svg" />
</a>
<a href="[https://nestjs.c... | Markdown |
phx)!
- [#5660](https://github.com/gradio-app/gradio/pull/5660) [`d76555a12`](https://github.com/gradio-app/gradio/commit/d76555a122b545f0df7c9e7c1ca7bd2a6e262c86) - Fix secondary hue bug in gr.themes.builder(). Thanks [@hellofreckles](https://github.com/hellofreckles)!
- [#5697](https://github.com/gradio-app/gradio/p... | Markdown |
{
tx_info
.tx_log
.update_confirmation_ts(hdr_info.confirmed_time);
}
tx_info.updated = true;
if let Some(ref s) = status_send_channel {
let _ = s.send(StatusMessage::Info(format!(
"Changing transaction {} state to confirmed",
tx_info.tx_uuid.split('/').next().unw... | Rust |
#!/usr/bin/env python
# flake8: noqa: E402
"""
A simple load tester for IRRd.
Sends random !g queries.
"""
import argparse
import random
import socket
import time
def main(host, port, count):
queries = [b"!!\n"]
for i in range(count):
asn = random.randrange(1, 50000)
query = f"!gAS{asn}\n".en... | Python |
nverter/energy) ✅ Complete
## 4.1 Get Total Generated Energy ✅ Complete
- Legacy Command: ET
- HTTP Method: GET
- Endpoint: /api/v1/inverter/energy/total
- Raw Command: ^P005ET<CRC><cr>
- Response:
{
"total_energy_kwh": 12345678,
"unit": "kWh"
}
## 4.2 Get Yearly Energy ✅ Complete
- Legacy Command: EY
- H... | Markdown |
-cluster.en.md)):
```
--object_size 128k Set blockstore block size
--bitmap_granularity 4k Set bitmap granularity
--journal_size 32M Set journal size
--data_csum_type none Set data checksum type (crc32c or none)
--csum_block_size 4k Set data checksum block size
--device_block_size 4k Set device b... | Markdown |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the PsychoPy library
# Copyright (C) 2002-2018 Jonathan Peirce (C) 2019-2024 Open Science Tools Ltd.
# Distributed under the terms of the GNU General Public License (GPL).
"""Interfaces for ioLab Systems button boxes.
These are optional components that can be o... | Python |
java110.po.room.RoomPo;
import com.java110.utils.exception.CmdException;
import com.java110.utils.util.Assert;
import com.java110.utils.util.BeanConvertUtil;
import com.java110.utils.util.StringUtil;
import com.java110.vo.ResultVo;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
... | Java |
i<ntria;++i) {
int corner[3];
for(int j=0;j<3;++j) {
corner[j] = tria[i*2].nodes[j] ;
FATAL(tria[i*2].nodes[j] != tria[i*2+1].nodes[j]) ;
}
int c1 = tria[i*2].cell ;
int c2 = tria[i*2+1].cell ;
if(c1 < 0 && c2 < 0) {
cerr << "two boundary faces glued together, probably a transp... | C++ |
public int boneTag { get; set; } //64 64: SignedInt: 0: boneTag
public int explosionTag { get; set; } //68 68: SignedInt: 0: explosionTag//2653034051
public int explosionType { get; set; } //72 72: SignedInt: 0: explosionType//3379115010
public uint flags { get; set; } //76 76: ... | C# |
->
transaction.signatures.add(
SignaturePubkeyPair(
signature = if (signature == Base58.encode(DEFAULT_SIGNATURE)) {
null
} else {
Base58.decode(signature)
... | Kotlin |
t();
while (true)
{
if (fFirst & fSecond)
{
if (comparer.Compare(eFirst.Current, eSecond.Current) <= 0)
{
yield return eFirst.Current;
fFirst = eFirst.MoveNext();
... | C# |
*SearchTestHelper) {
post1, err := th.createPost(th.User.Id, th.ChannelDeleted.Id, "testmessage", "", model.PostTypeDefault, 0, false)
require.NoError(t, err)
defer th.deleteUserPosts(th.User.Id)
post2, err := th.createPost(th.User.Id, th.ChannelBasic.Id, "testmessage", "", model.PostTypeDefault, 0, false)
require... | Go |
} else if (!left_valid && !right_valid) {
comp_res = 0;
} else if (left_valid) {
comp_res = -1;
} else {
comp_res = 1;
}
if (comp_res != 0) {
break;
}
}
}
// All values that we looped over were equal
if (comp_res == 0 && left_len != right_len) {
// Smaller lists first
if (left_l... | C++ |
{
var c = new Completer();
_stompClient.subscribeJson(_id, destination, (var headers, var message) {
convert == null ? c.complete(message) : c.complete(convert(message));
});
return c.future;
}
String jsonSubscribe(String destination, void onMessage(var message)) {
String id = _id;
_s... | Dart |
["prequests"] = {
[1] = 4141;
};
["level"] = 52;
["source"] = {
[1] = {
["id"] = 9119;
["type"] = "npc";
};
};
["req"] = 47;
};
[1111] = {
["objective"] = "Bring Kravel's Parts Order to Wharfmaster Dizzywig in Ratchet.";
["zone"] = "Thousand Needles... | Lua |
Vals)
{
#ifdef DEBUG_MEMORY
MemoryTracker::Instance()->Remove
(aVals, "aVals", "AxisSystem::InitializeFK5()", "deleting aVals");
#endif
delete [] aVals;
}
aVals = new Integer[numNut * 5];
#ifdef DEBUG_MEMORY
MemoryTracker::Instance()->Add
(aVals, "aVals", "AxisSyst... | C++ |
m running
select {}
}
package main
import (
"encoding/json"
"time"
"github.com/go-kit/kit/log/level"
"github.com/prometheus/client_golang/prometheus"
)
func (h *HarborExporter) collectSystemVolumesMetric(ch chan<- prometheus.Metric) bool {
start := time.Now()
type systemVolumesMetric struct {
Storage []s... | Go |
active,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu a:focus,[data-sibebarbg=color_13][data-sibebarbg=color_8] .deznav .metismenu a:hover,[data-sibebarbg=color_13][data-theme-version=dark][data-sibebarbg=color_8] .deznav .metismenu a.mm-active,[data-sibebarbg=color_13][data-theme-version=dark][da... | CSS |
).str()));
return failed();
}
const auto nlen = sizeof(attempt->data.new_nonce);
const auto slen = sizeof(attempt->data.server_nonce);
auto tmp_aes_buffer = bytes::array<1024>();
const auto tmp_aes = bytes::make_span(tmp_aes_buffer);
bytes::copy(tmp_aes, bytes::object_as_span(&attempt->data.new_nonce));... | C++ |
}
else // in retirement-promotion phase.
{
rra = ra[ir]; // clear a space at the end of the array
iind = ind[ir]; //
ra[ir] = ra[1]; // retire the top of the heap into it
ind[ir] = ind[1]; //
ir = ir - 1... | C++ |
_ => (),
}
}
}
}
}
impl Widget<LapceTabData> for FilePickerPwd {
fn event(
&mut self,
ctx: &mut EventCtx,
event: &Event,
data: &mut LapceTabData,
env: &Env,
) {
self.input.event(ctx, event, data, env)... | Rust |
(state as StatusGridViewState).currentStatus,
),
),
);
},
);
}
int currentStatusCrossCount(GridStatus currentStatus) =>
currentStatus == GridStatus.multiView ? 2 : 1;
SliverMasonryGrid _buildMasonryGrid(int crossAxisCount) {
return SliverMasonryGrid.count(
... | Dart |
("all")
fig.set_size_inches(6, 6)
# %%
# We see that again, the regression weights have been correctly estimated.
#
# Visualize the effect on raw data
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Once we have obtained robust regression weights, we can use them to apply the
# regression directly to raw, epoched, and evoked dat... | Python |
context.setFont(attributes, locale, false, fontRecipient);
Font font = fontRecipient.getFont();
return font;
}
@Override
public PdfTextChunk createChunk(String text, Map<Attribute,Object> attributes, Locale locale)
{
Font font = getFont(attributes, locale);
Chunk chunk = new Chunk(text, font);
if (s... | Java |
auto path = QStandardPaths::findExecutable(name, search_paths);
if (!path.isEmpty()) {
LOG_D() << "find pinentry path by search path: " << path;
return path;
}
}
return {};
}
auto GF_CORE_EXPORT GnuPGVersion() -> QString {
auto gnupg_version = Module::RetrieveRTValueTypedOrDefault<>(
... | C++ |
rows": 3
}
],
// 省略 ...
```
追加でメタデータカラムの値についても確認してみましょう。以下の出力が得られます。
```sql
SELECT _row_id, _last_updated_sequence_number, * FROM my_catalog.db.sales_iceberg
/*
+-------+-----------------------------+------------+-----+-----------+--------------------+-------------------+--------+
|_row_id|_last_updated_seque... | Markdown |
s3c_i2c0_set_platdata(NULL);
platform_add_devices(vr1000_devices, ARRAY_SIZE(vr1000_devices));
i2c_register_board_info(0, vr1000_i2c_devs,
ARRAY_SIZE(vr1000_i2c_devs));
nor_simtec_init();
simtec_audio_add(NULL, true, NULL);
WARN_ON(gpio_request(S3C2410_GPB(9), "power off"));
}
MACHINE_START(VR1000, "Thor... | C |
curve => curve.curveId)), undoText);
}
public void StartLiveEdit() {
MakeCurveBackups();
}
public void EndLiveEdit() {
m_CurveBackups = null;
}
public bool InLiveEdit() {
return m_CurveBackups != null;
}
void Init() {
}
public void OnGUI() {
BeginViewGUI();
GridGUI();
DrawWrap... | C# |
ssage
if msg_type == "q" then
return tmx_quantumfeed_tsxtsxvlevel2_xmt_v3_6.trade_cancelled_terms_message.size
end
-- Size of Trade Correction Message
if msg_type == "U" then
return tmx_quantumfeed_tsxtsxvlevel2_xmt_v3_6.trade_correction_message.size
end
-- Size of Trade Correction Terms Message
i... | Lua |
}`,
searchText: query,
}
}));
export const searchImages = (images: Linode.Image[], query: string) =>
images.filter(
(image: Linode.Image) => (
/* TODO: this should be a pre-filter at the API level */
image.is_public === false
&& image.label.toLowerCase().includes(query.toLow... | Typescript |
},
));
::protobuf::reflect::MessageDescriptor::new_pb_name::<CMsgSteamDatagramSessionCryptInfo>(
"CMsgSteamDatagramSessionCryptInfo",
fields,
file_descriptor_proto()
)
})
}
fn default_instance() -> &'static CMsgSteamDat... | Rust |
votes: 38)
- **Joshua 1:8** → **Joshua 1:7** [[Joshua ch: 1.md]] (votes: 63)
- **Joshua 1:8** → **Psalms 119:99** [[Psalms ch: 119.md]] (votes: 49)
- **Joshua 1:9** → **Deuteronomy 31:28** [[Deuteronomy ch: 31.md]] (votes: 10)
- **Joshua 1:9** → **2 Samuel 13:28** [[2 Samuel ch: 13.md]] (votes: 34)
- **Joshua 1:9** → *... | Markdown |
cursor: pointer;
border: solid 1px #217346;
}
.gc-table-sheet-group-list .gc-table-sheet-group-item-reorder-top, .gc-table-sheet-group-list .gc-table-sheet-cross-column-item-reorder-top, .gc-table-sheet-cross-column-list .gc-table-sheet-group-item-reorder-top, .gc-table-sheet-cross-column-list .gc-table-sheet-cross... | CSS |
Sort');
win.g28.cb3 = win.g28.add('checkbox',undefined,'Reverse Order');
if(Prefs.sort != undefined) win.g28.cb1.value = Prefs.sort;
if(Prefs.sortAlpha != undefined) win.g28.cb2.value = Prefs.sortAlpha;
if(Prefs.reverse != undefined) win.g28.cb3.value = Prefs.reverse;
win.g29 =win.p1.add('group');
win.g29.spacing=0... | JavaScript |
/*
* Miscellaneous PowerPC emulation helpers for QEMU.
*
* Copyright (c) 2003-2007 Jocelyn Mayer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the Licen... | C |
delta_music2:
andi.b #3,d0
tst.b d0
beq.w dm2_play_music ;0 = play song
cmpi.b #1,d0
beq.w dm2_init ;1 = init song
cmpi.b #2,d0
beq.s dm2_song_volume ;2 = set song volume
cmpi.b #3,d0
beq.s dm2_soundfx ;3... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.