content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
letContext.Select(response, this);
output = new CmdletOutput
{
PipelineOutput = pipelineOutput,
ServiceResponse = response
};
}
catch (Exception e)
{
output = new CmdletOutput { Er... | C# |
con retorno
fun shoppingList(products: List<String>): String {
return products.joinToString { it }
}
// Función con otra función en su interior
fun calculator(numberOne: Int, numberTwo: Int) {
fun sum(numberOne: Int, numberTwo: Int): Int = numberOne + numberTwo
println(sum(numberOne, numberTwo))
}
// Var... | Kotlin |
^ output dir ^^ libraries
# or for 64-bit:
cl /Zi /MD /I.. /I..\.. /I%SDL2_DIR%\include main.cpp ..\..\backends\imgui_impl_sdl.cpp ..\..\backends\imgui_impl_opengl3.cpp ..\..\imgui*.cpp /FeDebug/example_sdl_opengl3.exe /FoDebug/ /link /libpath:%SDL2_DIR%\lib\x64 SDL2.lib SDL2main.lib opengl32.lib /subsystem:console
`... | Markdown |
umper::copy_from_process(
config.blamed_thread,
app_memory.ptr as *mut libc::c_void,
app_memory.length,
)?;
let section = MemoryArrayWriter::write_bytes(buffer, &data_copy);
let desc = MDMemoryDescriptor {
start_of_memory_range: app_memory.ptr as ... | Rust |
orScroller{
Name="ScrollerMain",
NumItemsToDraw=1,
SecondsPerItem=0.1,
OnCommand=function(s)
s:SetDestinationItem(0):SetFastCatchup(true)
:SetMask(320,20):fov(60):zwrite(true):ztest(true)
:draworder(8):z(8)
end,
TransformFunction=functi... | Lua |
command"),
|_, input| {
let expression = &input[1..];
vec![ResultElement {
text: expression.to_owned(),
action: Box::new(NoAction {}),
}]
},
);
let commands = vec)
* **db:** ensure strict mode (#448) r=rfk,seanmonstar ([8d309c5](https://github.com/mozilla/fxa-auth-server/commit/8d309c5)), closes [#448](https://github.com/mozilla/fxa-auth-server/issues/448) [#446](https://git... | Markdown |
Off;On", "0;1", CVARHELP_GAME );
static idCVarHelp help_g_frametime ( "g_frametime", "Show Game Frame Times", "Off;On", "0;1", CVARHELP_GAME );
static idCVarHelp help_g_showCollisionWorld ( "g_showCollisionWorld", "Show Collision World", "Off;On", "0;1", CVARHELP_PHYSICS );
static idCVarHelp help_g_showCollisionModels... | C++ |
www.cielo.com.br.
- No canto superior direito, clique em “Acessar minha conta”;
- Clique em “Cadastre-se”;
- Clique em “Criar cadastro” Informe os dados requisitados.
### Tenho algum custo para colocar meu aplicativo na Cielo Store?
Não! A integração com a Cielo LIO é gratuita.
### O que é a Cielo Store (Loja Publi... | Markdown |
one for the part accepting the data
assertTrue("for the test, memtable should not keep more entries than allowed",
ENTRIES_IN_MEMTABLE * 2 <= MAX_PENDING);
confByIndex(0).setSkipListSizeLimit(data.length * ENTRIES_IN_MEMTABLE - 1);
confByIndex(0).setProperty(SlowInterleavedLedge... | Java |
from parametros import PROBABILIDAD_EVENTO, PUBLICO_EXITO, PUBLICO_INICIAL, \
PUBLICO_TERREMOTO, AFINIDAD_OLA_CALOR, \
AFINIDAD_LLUVIA, PUBLICO_OLA_CALOR
from random import random, choice
class DCCPalooza:
def __init__(self):
self.artista_actual = None
... | Python |
else path += `/${element.categories[0].toLowerCase()}`;
}
path += `/${element.name}.md`;
return path;
}
// code from https://gist.github.com/drodsou/de2ba6291aea67ffc5bc4b52d8c32abd
export function writeFileSyncRecursive(
filename: string,
content: string | NodeJS.ArrayBufferView,
options?: WriteFileOp... | Typescript |
text = input("Type your message")
my_text = text.split()
cypher_text = []
cypher_word = []
for word in my_text:
for letter in word:
cypher_word += chr(ord(letter) + 3)
cypher_text.append(''.join(cypher_word))
cypher_word = []
enchr = " ".join(cypher_text)
print(f"Encrypted text is {enchr}")
| Python |
: "" },
che: { kana: "ちぇ", next: "" },
cho: { kana: "ちょ", next: "" },
la: { kana: "ぁ", next: "" },
li: { kana: "ぃ", next: "" },
lu: { kana: "ぅ", next: "" },
le: { kana: "ぇ", next: "" },
lo: { kana: "ぉ", next: "" },
xa: { kana: "ぁ", next: "" },
xi: { kana: "ぃ", next: "" },
xu: ... | Typescript |
']]],
['jpsplanner',['JPSPlanner',['../classJPSPlanner.html',1,'JPSPlanner< Dim >'],['../classJPSPlanner.html#a40f90dbc893afe917e21cf8e452b9bf6',1,'JPSPlanner::JPSPlanner()']]],
['jpsplanner2d',['JPSPlanner2D',['../jps__planner_8h.html#a8aebc2d5a50208e11e1f5d71596bc587',1,'jps_planner.h']]],
['jpsplanner3d'... | JavaScript |
0) {
tokens.push(`"${str.slice(index)}"`);
}
try {
return this.interpolationMap[str] = new Function(`try{with(this) {return ${tokens.join('+')}}}catch(e){ }`);
} catch (e) {
Utility.error(`Error parsing expression "${expression}" to an interpolation getter, ... | Typescript |
to arrayOf(
":D", ":)", ";)", ":-)",
"^_^", "(^^)", "(^^♪", "ʕ•ٹ•ʔ",
"(^o^)", "(^^)/", "(^^)v", "(^_^)",
"(・∀・)", "(^_-)", "(≧▽≦)", "(^。^)",
"(^・^)", "(^ム^)", "(•ө•)♡", "(ㆁωㆁ*)",
"(^_^)v", "(*^^*)", "(*´∀`)", "( ´∀`)",
"(≧∇≦)b", "(*^^)... | Kotlin |
ain_layout = QtWidgets.QVBoxLayout()
main_layout.addWidget(combo)
main_layout.addWidget(main_splitter)
# And finally our main widget to show
main_widget = QtWidgets.QWidget()
main_widget.setLayout(main_layout)
main_widget.setWindowTitle(
f"Synapse Data Recording - {data_file}"
) #... | Python |
类型的变量没有什么用,因为你只能将它赋值为 undefined 和 null
{
let unusable: void = undefined;
}
}
/**
* Null 和 Undefined
* (1)在 TypeScript 中,可以使用 null 和 undefined 来定义这两个原始数据类型
* (2)与 void 的区别是,undefined 和 null 是所有类型的子类型。也就是说 undefined 类
* 型的变量,可以赋值给 number 类型的变量
* (3)而 void 类型的变量不能赋值给 number 类型的变量
*/
{
// 在 TypeScript 中,可... | Typescript |
#if NET5_0_OR_GREATER
using System.Collections.Generic;
using System;
using System.ComponentModel;
using System.Linq;
using Microsoft.VisualBasic;
namespace Masuit.Tools.Models;
/// <summary>
/// 贷款模型
/// </summary>
/// <param name="Loan">贷款本金</param>
/// <param name="Rate">贷款初始利率</param>
/// <param name="Start">开始还... | C# |
(id);
return await instance.remove();
}
/**
* list soup or search
*/
async list(queryParam: PaginationParam) {
// TODO: add starCount
const query = createQueryBuilder(Soup)
.addSelect(qb => {
return qb
.select('count(*)')
.from('user_soup_star', 'UserSoupStar')... | Typescript |
e %esp, %ebp
popf # restore flags
popa # restore registers
popl caller_return # switch return addresses
pushl $.Lwrapper_return
jmp *wrapper_target # wrapper_target should return at .Lwrapper_return
.balign 16, 0x90
.Lwrapper_return:
pushl caller_return # restore the original return address
pusha #... | Assembly |
sant
cmp.l (a4,pente),d3
bmi liste_bonne_place
* ici il faut inserer avant
suba.l #aretes_inter,a4
liste_bonne_place * insertion (cf avant)
movea.l a3,a5
suba.l #aretes_inter,a4
liste_decalage
move.l (a5),(a5,aretes_inter)
move.l (a5,4),(a5,aretes_inter+4)
move.l (a5,hauteur),(a5,aretes_inter+hauteur)
move... | Assembly |
a 40
1680 0 2 80 37 40
1680 0 2 90 30 40
1680 0 1 90 48 40
1920 240 1 80 48 40
1920 0 2 80 30 40
1920 0 1 ff 2f 0
1920 0 2 ff 2f 0
</pre>
MIDI file writing example
--------------------------
Below is an example program to create a MIDI file. This program will
generate a random sequence of notes and append them to ... | Markdown |
uble((Double.doubleToLongBits(ref) ^ 1)));
double errulp = field.newDfp(tst).subtract(DfpMath.log(field.newDfp(x))).divide(field.newDfp(ulp)).toDouble();
// System.out.println(x + "\t" + tst + "\t" + ref + "\t" + err + "\t" + errulp);
maxerrulp = Math.max(maxerrulp, Math.... | Java |
if (Utils.isNode())
{
if (!Utils.isLittleEndian())
{
throw new Error("Node.js only supports UTF-16 strings on little-endian operating systems")
}
bytes = new Uint8Array(Buffer.from(s, "utf16le"));
}
else
{
let buffer: Uint16Array = new Uint16... | Typescript |
b, 'a': int a} when _guard(a, 'map'):
case (a: int a, b: bool b) when _guard(a, 'record'):
case (a: int a, b: [bool b]) when _guard(a, 'nested'):
// Use pattern variables in body:
return '$a: ${_matchedCase()}';
default:
Expect.fail('Should not reach this.');
}
}
String _lastMatch = 'n... | Dart |
// ----------------------------------------------------
// AIMP DotNet SDK
//
// Copyright (c) 2014 - 2023 Evgeniy Bogdan
// https://github.com/martin211/aimp_dotnet
//
// Mail: mail4evgeniy@gmail.com
// ----------------------------------------------------
using System;
using System.Collections;
using System.... | C# |
.isAggiungiDetailErroreApplicativoSoapFaultApplicativoRead==null){
try{
String value = this.reader.getValueConvertEnvProperties("org.openspcoop2.protocol.modipa.erroreApplicativo.faultApplicativo.enrichDetails");
if (value != null){
value = value.trim();
Boolean b = Boolean.parseBoolean(... | Java |
ever
* be called.
*/
void SetDecoratorShowHideTimeout(int show_timeout, int hide_timeout);
/**
* Connects a handler to OnPopIn signal.
* This signal will be emitted when popin or close button is clicked by user.
* Host shall connect to this signal and perform the real popin action.
*/
Connectio... | C |
entColor" rx="1.485" ry="1.494"/><path fill="currentColor" d="M5.136 27.635c-.145.211-.251.721-.052.87.201.152.635-.113.779-.322a.479.479 0 00-.101-.653.436.436 0 00-.626.105m5.325-.17a7.48 7.48 0 01-.708 1.615c-.589 1.015-1.463 1.801-2.474 2.471a4.664 4.664 0 001.64-.794 4.997 4.997 0 001.253-1.408c.644-1.102.905-2.44... | Dart |
Outputs(Materials.Ammonia.getGas(1_000))
.duration(5 * SECONDS)
.eut(TierEU.RECIPE_HV)
.addTo(chemicalReactorRecipes);
GTValues.RA.stdBuilder()
.itemInputs(AmmoniumNitrate.get(dust, 9), Materials.SodiumHydroxide.getDust(3), C2)
.itemOutputs(WerkstoffL... | Java |
2), Some((2, 2)));
/// assert_eq!(queue.pop(), Some((4,4)));
/// assert_eq!(queue.pop(), Some((3,3)));
/// // There is no 2
/// assert_eq!(queue.pop(), Some((1,1)));
/// assert_eq!(queue.pop(), Some((0,0)));
/// assert_eq!(queue.remove_entry(&10), None);
/// ```
///
/// ### Time comp... | Rust |
MENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBIL... | C++ |
will be made to `reset` and `shuffle`.3324\. Find the Sequence of Strings Appeared on the Screen
Medium
You are given a string `target`.
Alice is going to type `target` on her computer using a special keyboard that has **only two** keys:
* Key 1 appends the character `"a"` to the string on the screen.
* Key 2 ... | Markdown |
if (data.getIceTick() > 0) walkSpeed += (0.4 * (1 + 0.2 * (player.getEffect(Effect.SPEED).amplifier + 1))) / 0.6 * (data.getIceTick() * 0.98)
} else if (data.getIceTick() > 0) walkSpeed += (0.4 / 0.6 * (data.getIceTick() * 0.98))
//水平运动时若突然改变y轴因夹角导致获得斜方向额外加速度的问题单独分析
i... | Kotlin |
// ʴ
"ruhiragana": '\u308b', // る
"rukatakana": '\u30eb', // ル
"rukatakanahalfwidth": '\uff99', // ル
"rupeemarkbengali": '\u09f2', // ৲
"rupeesignbengali": '\u09f3', // ৳
"rupiah": '\uf6dd', //
"ruthai... | Go |
r9,[reg_cpu_var,#iphone_r9_ofs]
.endm
.macro restore_c_call_r0
ldmfd r13!,{r0,r12,r14}
ldr r9,[reg_cpu_var,#iphone_r9_ofs]
.endm
.macro restore_c_call_r1
ldmfd r13!,{r1,r12,r14}
ldr r9,[reg_cpu_var,#iphone_r9_ofs]
.endm
.macro restore_c_call_light
ldmfd r13!,{r14}
ldr r9,[reg_cpu_var,#iphone_r9_ofs]
.endm
.mac... | Assembly |
'" << input_spv_path << "' for reading" << std::endl;
return EXIT_FAILURE;
}
spv_ifstream.seekg(0, std::ios::end);
size_t size = static_cast<size_t>(spv_ifstream.tellg());
spv_ifstream.seekg(0, std::ios::beg);
{
std::vector<char> spv_data(size);
spv_ifstream.read(spv_data.data(), size);
sp... | C++ |
m.y, 0.001);
Expect.approxEquals(0.1111111, m.z, 0.001);
Expect.approxEquals(0.0625, m.w, 0.001);
m = Float32x4(0.0, -0.0, inf, nan);
m = m.reciprocal();
checkEquals(inf, m.x);
checkEquals(-inf, m.y);
checkEquals(0, m.z);
checkEquals(nan, m.w);
}
void testReciprocalSqrt() {
var m = Float32x4(1.0, 0... | Dart |
-filter=A`
local contextSize = require("tinygit.config").config.stage.contextSize
-- stylua: ignore start
local diffArgs = {
"git",
"-c", "diff.mnemonicPrefix=false", -- `mnemonicPrefix` creates irregular diff header (#34)
"-c", "diff.srcPrefix=a/", -- in case use overwrites any of these
"-c", "diff.dstPrefi... | Lua |
.75 11.25 10.4142 11.25 10V8C11.25 7.58579 11.5858 7.25 12 7.25ZM12.5675 14.5008C12.8446 14.1929 12.8196 13.7187 12.5117 13.4416C12.2038 13.1645 11.7296 13.1894 11.4525 13.4973L11.4425 13.5084C11.1654 13.8163 11.1904 14.2905 11.4983 14.5676C11.8062 14.8447 12.2804 14.8197 12.5575 14.5119L12.5675 14.5008Z" fill="current... | CSS |
##
## MOD HAvsFunc (e1fcce2b4645ed4acde9192606d00bcac1b5c9e5)
## 变更源帧率
##################################################
def FPS_CHANGE(
input : vs.VideoNode,
fps_in : float = 24.0,
fps_out : float = 60.0,
vs_t : int = vs_thd_dft,
) -> vs.VideoNode :
func_name = "FPS_CHANGE"
if not isinstance(input, vs.VideoNo... | Python |
// 1) ı伸зʽܻıߣеӱϱƵ˽ϣ
static void ResetStartCutPtOnPatternLoop(LoopStartCutDataPtr pLoopStartCutData, const LoopTopologyItemList* pLoopTopologyItems, const LeadConfigItem* pLeadConfigItem,
const PierceConfigItem* pPierceConfigItem, const Matrix2D& transformMatInSheet);
/***********************************************... | C |
0%, 100% {
transform: translateY(0) translateX(0) rotate(0deg);
}
33% {
transform: translateY(-20px) translateX(15px) rotate(5deg);
}
66% {
transform: translateY(10px) translateX(-15px) rotate(-5deg);
}
}
/* Responsive design */
@media (max-width: 768px) {
.login-futuristic-card {
paddin... | CSS |
) ^ *data++];
return ~crc;
}
// Zero-terminated string hash, with support for ### to reset back to seed value
// We support a syntax of "label###id" where only "###id" is included in the hash, and only "label" gets displayed.
// Because this syntax is rarely used we are optimizing for the common case.
// - If we r... | C++ |
return peeCopy;}
ESecretFound::ESecretFound() : CEntityEvent(EVENTCODE_ESecretFound) {;
};
CEntityEvent *ESound::MakeCopy(void) { CEntityEvent *peeCopy = new ESound(*this); return peeCopy;}
ESound::ESound() : CEntityEvent(EVENTCODE_ESound) {;
ClearToDefault(EsndtSound);
ClearToDefault(penTarget);
};
CEntityEvent *EC... | C++ |
remove_site(&self, station_num: StationNumber) -> Result<(), BufkitDataErr> {
let station_num: u32 = station_num.into();
self.db_conn.execute(
"DELETE FROM download WHERE station_num = ?1",
&[&station_num],
)?;
Ok(())
}
pub fn is_auto_downloaded(&self,... | Rust |
id),
ipc_hw_read_int_status_reg_all(chub->iomem.mailbox, chub_ipc->opp_mb_id));
return 0;
}
#if IS_ENABLED(CONFIG_SHUB)
static int contexthub_prepare(struct device *dev)
{
struct contexthub_ipc_info *chub = dev_get_drvdata(dev);
if (atomic_read(&chub->atomic.chub_status) != CHUB_ST_RUN)
return 0;
nanohub_dev... | C |
te, supports up to 2G files, enough
var feed: RssFeed? = RssFeed(),
var enclosure: List<RssEnclosure>? = null,
var isUnread: Boolean = false,
var isStar: Boolean? = null,
var since: String? = null
) : Entity() {
open fun addTag(tag: String?) {
if (tag.isNullOrBlank()) return
if ... | Kotlin |
#pragma once
#include "../utils/vulkan.h"
#include "../app-context/VulkanApplicationContext.h"
#include <iostream>
#include <memory>
#include <string>
#include "vk_mem_alloc.h"
namespace mcvkp
{
class Image
{
public:
VkImage image;
VmaAllocation allocation;
VkImageView imageView;
... | C |
[self.1..new].copy_from_slice(buf);
self.1 = new;
Ok(l)
}
#[inline]
fn flush(&mut self) -> io::Result<()> {
Ok(())
}
}
impl<'a> fmt::Write for StackWriter<'a> {
#[inline]
fn write_str(&mut self, s: &str) -> Result<(), fmt::Error> {
if !s.is_empty() {
... | Rust |
}
/*
This file is part of Ext JS 3.4
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
This file may be used under the terms of the GNU General Public License version 3.0 as
published by the Free Software Foundation and appearing in the file LICENSE included... | CSS |
Error)
assertThat(state.cause).isInstanceOf(TaggedTimeoutException::class.java)
assertThat(state.cause).hasMessageThat().isEqualTo(
"Timed out after 100 ms: waiting for all particles to be ready"
)
}
}
/*
* Copyright 2020 Google LLC.
*
* This code may only be used under the BSD style license foun... | Kotlin |
n the last one*/
border-bottom: 1px solid #D8DDE6;
}
td > dl.simple[class]:not(.field-list) {
border-bottom: none;
}
/* parameter list positioning */
html.writer-html5 .rst-content dl.field-list > dt.field-odd {
padding-left: 0;
}
/* "Parameters" */
dl > dt.field-odd {
color: #16325C;
font-size: ... | CSS |
tent" id="S4.T4.5.5.5.m1.1b"><apply id="S4.T4.5.5.5.m1.1.1.cmml" xref="S4.T4.5.5.5.m1.1.1"><csymbol cd="ambiguous" id="S4.T4.5.5.5.m1.1.1.1.cmml" xref="S4.T4.5.5.5.m1.1.1">subscript</csymbol><apply id="S4.T4.5.5.5.m1.1.1.2.cmml" xref="S4.T4.5.5.5.m1.1.1.2"><ci id="S4.T4.5.5.5.m1.1.1.2.1.cmml" xref="S4.T4.5.5.5.m1.1.1.2... | Markdown |
l_bytes > 0:
# Always show current percentage
self.progress_bar.setFormat(f"{percent}%")
def _on_log_updated(self, message):
"""Handle log updates from worker thread"""
self.log_text.append(message)
def _on_installation_finished(self, result):
"""Handle ... | Python |
captures_in_function() {
// Functions may be captured as well.
let program = r#"
add = |x, y| x + y;
foo = |a| add(a, 5);
add = 0;
foo(-3)
"#;
let return_value = evaluate(&mut Environment::new(), program);
assert_eq!(return_value, Value::Prim(2.0));
}
#[test]
fn capt... | Rust |
this.calcWeight(p, visited);
possibleMoves.push(p);
}
if(x+2 < this.size && y+1 < this.size && visited[x+2][y+1] != 1){
p = {
x: x+2,
y: y+1,
};
p.weight = this.calcWeight(p, visited);
possibleMoves.push(p);
}
... | Typescript |
.add(newTextField("number", "0 1 2 3 4 5 6 7 8 9", Field.Store.NO));
writer.addDocument(doc);
writer.addDocument(doc);
writer.commit();
DirectoryReader r = DirectoryReader.open(dir);
AtomicReader r1 = getOnlySegmentReader(r);
assertEquals(36, r1.fields().getUniqueTermCount());
writer.addD... | Java |
int n = a.getIndexCount();
for (int i = 0; i < n; i++) {
int attr = a.getIndex(i);
switch (attr) {
case R.styleable.ChangeColorIconView_icon:
BitmapDrawable drawable = (BitmapDrawable) a.getDrawable(attr);
mIconBitmap = drawable.getBitmap();
break;
case R.styleable.ChangeColorIconView_color:... | Java |
,
account_path: audit_path_after,
balance_value: Some(balance_after),
balance_subtree_path: audit_balance_path_after,
},
},
args: OperationArguments {
atp_address: Some(Fr::zero()),
amount... | Rust |
err_level(%d) over ref_thr(%d)\n" )
.zero 1
.LC279:
ASCII(.string "ERROR: err_level(%d) over out_thr(%d)\n" )
.zero 1
.LC281:
ASCII(.string "SlcNum %d > %d Write slice msg failed\n" )
.zero 1
.LC283:
ASCII(.string "This slice's start mbn %d <= LastSliceFirstMb %d, Write slice msg failed\n" )
.zero 6
.LC291:
AS... | Assembly |
mport static com.baomidou.mybatisplus.generator.config.converts.TypeConverts.contains;
import static com.baomidou.mybatisplus.generator.config.converts.TypeConverts.containsAny;
import static com.baomidou.mybatisplus.generator.config.rules.DbColumnType.BIG_DECIMAL;
import static com.baomidou.mybatisplus.generator.confi... | Java |
5);font-weight:500;font-size:16px;line-height:22px}.ant-drawer-content{position:relative;z-index:1;overflow:auto;background-color:#fff;background-clip:padding-box;border:0}.ant-drawer-close{position:absolute;top:0;right:0;z-index:10;display:block;width:56px;height:56px;padding:0;color:rgba(0,0,0,.45);font-weight:700;fo... | CSS |
wLjk5NCAwLjAwMCAwLjAwMCAwLjAwMCAxLjAwMCAwLjAwMCIgLz48L2ZpbHRlcj48L2RlZnM+PGltYWdlIHdpZHRoPSIxNTAiIGhlaWdodD0iMTUwIiBmaWx0ZXI9InVybCgjZGFya3JlYWRlci1pbWFnZS1maWx0ZXIpIiB4bGluazpocmVmPSJkYXRhOmltYWdlL3N2Zyt4bWw7Y2hhcnNldD11dGYtOCwmbHQ7c3ZnIHhtbG5zPSZxdW90O2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJnF1b3Q7IHZpZXdCb3g9JnF1b3Q7MCA... | CSS |
else -> LONG
}
val query = file.namedQueries.first()
assertThat(query.resultColumns.map { it.javaType }).containsExactly(
ByteArray::class.asClassName().copy(nullable = true),
ByteArray::class.asClassName().copy(nullable = true),
String::class.asClassName().copy(nullable = true),
D... | Kotlin |
&& (goOut === getIn_return)){
if (goOutTime.getDate() === getIn_returnTime.getDate()){
// @ts-ignore
outTime += ((getIn_returnTime.getTime() - goOutTime.getTime())/1000);
console.log("Outtime calculated: ", outTime);
}
}
}
catch(e) {
c... | Typescript |
}plugins {
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.spring)
alias(libs.plugins.spring.boot)
alias(libs.plugins.spring.dependency.management)
alias(libs.plugins.kotlinx.serialization)
}
group = "org.simpmusic"
version = libs.versions.appversion.get()
java {
toolchain {
l... | Kotlin |
config.center end
if v.seal then seal = v.seal end
if v.edition then edition = v.edition end
end
for _, other_card in pairs(G.hand.cards) do
G.E_MANAGER:add_event(Event({trigger = 'after',delay = 0.15,func = function() other_card:flip();play_sound('card1', 1);other_card:ju... | Lua |
etComponent<Image>();
image.material = material;
image.sprite = sprite;
image.color = Color.white;
// Label
var text = label.GetComponent<Text>();
text.text = "Knob";
text.alignment = TextAnchor.UpperLeft;
text.font = font;... | C# |
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the Sonar Source-Available License for more details.
*
* You should have received a copy of the Sonar Source-Available Li... | Kotlin |
key = validate_block_key(block)?;
let address = validate_account_address(address)?;
match client.get_account(address, key) {
Ok(Some(account)) => Ok(f(account)),
Ok(None) => Ok(Value::Null),
Err(error) => {
error!("{}", error);
Err(Error::internal_error())
... | Rust |
import time
from tools import constants, paths, utils
from launchers.sandbox import Sandbox
BAKE_ARGS = ['--minimal-timestamp']
def scenario_basic_call():
""" a private tezos network, initialized with network parameters
and some accounts. """
with Sandbox(paths.TEZOS_HOME, constants.IDENTITIES) as san... | Python |
2aWRlcg== Inw= ZW5kcGhw Il1dCg== IGF2YQ== 77yBIiw= 7Ke4 IGNvbGE= X1NQRUxM IGFsw6lt KExhbmd1YWdl KGR1bW15 IGJ1bmtlcg== IEVtcHJlc2E= IGNyZWF0ZUNvbnRleHQ= Om1pbg== IEJPT1Q= IE1lcmVkaXRo Wmg= IERvd25pbmc= d2pnbA== LmRj c2RhbGU= IGluY29udmVuaWVudA== IHJlYWRtZQ== TmF2aWdhdGlvblZpZXc= Q09ORElUSU9O LmRlcA== IHLDqXVzcw== IG9wY2... | JavaScript |
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in 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 agree... | C |
bcd4}.mdui-theme-primary-deep-orange .mdui-bottom-nav a.mdui-bottom-nav-active{color:#ff5722}.mdui-theme-primary-deep-purple .mdui-bottom-nav a.mdui-bottom-nav-active{color:#673ab7}.mdui-theme-primary-green .mdui-bottom-nav a.mdui-bottom-nav-active{color:#4caf50}.mdui-theme-primary-grey .mdui-bottom-nav a.mdui-bottom-n... | CSS |
etD3D **outRT) override;
angle::Result getBaseTexture(const gl::Context *context,
IDirect3DBaseTexture9 **outTexture) override;
angle::Result generateMipmap(const gl::Context *context,
const gl::ImageIndex &sourceIndex,
... | C |
de = LineBreakMode.TailTruncation
}, Microsoft.Maui.Controls.Compatibility.Constraint.Constant (10), Microsoft.Maui.Controls.Compatibility.Constraint.Constant (80)},
}
}
};
stackLayout.Children.Add(contentView);
contentView = new ContentView
{
Padding = 16,
BackgroundColor = Colors.... | C# |
d.push("</tbody></table></div>");
e={type:"html",id:"smileySelector",html:d.join(""),onLoad:function(a){i=a.sender},focus:function(){var a=this;setTimeout(function(){a.getElement().getElementsByTag("a").getItem(0).focus()},0)},onClick:k,style:"width: 100%; border-collapse: separate;"};return{title:f.lang.smiley.title,m... | JavaScript |
| 10.0% | Nc3 <p> Nb3 | 10.0% <p> 0.0% | 10.3% <p> 11.8% | 84.2% <p> 82.4% | 5.5% <p> 5.9% | 0.524 <p> 0.529 |
## Openings for threshold = 5.0%
| Opening | Likeliness | Next moves | Likeliness | White wins | Draw | Black wins | Average points for White |
|-----------|------------|------------|... | Markdown |
开金钱的推动。如果指挥官愿意投入大量的研发资金,相信一定能够取得丰硕的成果。",
condition = 0,
bg = "1",
blueprint_version = 3,
sub_name = "小型项目",
label = "tag_red",
bg_icon = "gold_1",
label_color = "tag_g",
consume = {
{
1,
1,
3000
}
},
drop_client = {
{
2,
52021,
1
},
{
2,
52022,
1
... | Lua |
ad 0",numpad1:"Numpad 1",numpad2:"Numpad 2",numpad3:"Numpad 3",numpad4:"Numpad 4",numpad5:"Numpad 5",numpad6:"Numpad 6",numpad7:"Numpad 7",numpad8:"Numpad 8",
numpad9:"Numpad 9",multiply:"Multiply",add:"Add",subtract:"Subtract",decimalPoint:"Decimal Point",divide:"Divide",f1:"F1",f2:"F2",f3:"F3",f4:"F4",f5:"F5",f6:"F6"... | JavaScript |
rol,
decoration: InputDecoration(
border: const UnderlineInputBorder(),
labelText: context.i18n("profile.editText.profileImageUrl"),
),
),
Center(
child: ElevatedButton(
child: Text(context.i18n("profile.btn.editProf... | Dart |
(String(x.notBetweenSymmetric(5, 1))).toEqual('x NOT BETWEEN SYMMETRIC 5 AND 1');
});
it('works with and', () => {
expect(String(x.and(y))).toEqual('x AND y');
});
});
describe('#decomposeViaAnd', () => {
it('works for TRUE', () => {
expect(mapString(SqlLiteral.TRUE.decomposeViaAnd()))... | Typescript |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* Copyright 2009-2011 Jörg Hermann Müller
*
* This file is part of AudaSpace.
*
* Audaspace is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 ... | C |
pp {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* final var all = Route53Functions.getZones(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
... | Java |
t? isAccountSubscribed = null,
Object? loading = null,
Object? isLoggedIn = null,
}) {
return _then(_SubscribeButtonState(
channelId: null == channelId
? _self.channelId
: channelId // ignore: cast_nullable_to_non_nullable
as String,
isOfflineSubscribed: null ... | Dart |
nimation* m_pAnimation;
INT* m_pAnimationTrackToSkeletonBone;
DWORD* m_pPositionTrackLastKey;
DWORD* m_pOrientationTrackLastKey;
FLOAT m_fPlaybackTime;
FLOAT m_fPlaybackSpeed;
DWORD m_dwTrackCount;
AnimationBinding()
{
m_pAnimationTrackToSkeletonBone = NU... | C |
i, test := range table {
resetTestState(t)
done := make(chan struct{}, 1)
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
if v := r.FormValue("code"); v != code {
t.Errorf("code = %q; want %q", v, code)
}
if v := r.FormValue("client_id"); v != testClientID {... | Go |
lea keytable+$39,a0
le_wait tst.b (a0)
beq.s le_wait
clr.b (a0)
le_sofort_out
movea.l screen_1,a0
jsr clear_black_240
moveq #0,d0
jsr make_blenden
movea.l screen_1,a0
jsr clear_black_240
jsr init_sam_delete_all
le_out_now
rts
;---------------
load_next_level
lea level_files,a4
lea lf_e... | Assembly |
端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get 符合查询条件的资源实例总数量。
* @return Total 符合查询条件的资源实例总数量。
*/
public Long getTotal() {
return this.Total;
}
/**
* Se... | Java |
},7w:h(4u){6V(4u){2J"U":q U;2J"O":q O}q 4u},4y:h(3e,6M,4D,4C,2I){p x=(6N.1N-4D)/2,y=(6N.2u-4C)/2;2I+=", E="+x+", 4z="+y+", 1N="+4D+", 2u="+4C;2I=2I.D(/^,/,"");p 4Q=1o.9Q(3e,6M,2I);4Q.4A();q 4Q},78:h(1A,29,23){f(1A.6D){1A["e"+29+23]=23;1A[29+23]=h(){1A["e"+29+23](1o.6g)};1A.6D("a6"+29,1A[29+23])}F{1A.a7(29,23,O)}},1u:h(... | JavaScript |
pub(crate) vertical: TextOverflow,
}
/// In the case that we do overflow the rectangle (in any direction),
/// we need to now re-calculate the positions for the words (because of the reduced available
/// space that is now taken up by the scrollbars).
#[derive(Debug, Copy, Clone)]
pub(crate) struct TextOverflowPass2 {... | Rust |
to provide the value of the objective funciton, gradientAt, and hessian.
* @param initialValue initial value for the prameters. It should be an array of teh same size as the number of parameters.
*/
public void minimize(Uncmin_methods minclass, double[] initialValue)throws UncminException{
this.m... | Java |
an target "
"value, neighbors truncated; and if shorter than target "
"value, neighbors are padded with -1's.")
# Enforce argument naming convention.
for action in group._group_actions:
prefix = action.dest.split("_")[0]
assert prefix == "retro", \
... | Python |
zz'ril|r
.turnin 25134 >>Turn in Lazy Peons
.accept 25135 >>Accept Thazz'ril's Pick
.target Foreman Thazz'ril
step
.goto 1411,43.45,67.47
>>|Tinterface/worldmap/chatbubble_64grey.blp:20|tTalk to |cRXP_FRIENDLY_Zureetha|r
.accept 25132 >>Accept Burning Blade Medallion
.target Zureetha Fargaze... | Lua |
, 0);
S32 err = AIL_digital_handle_release(dig);
Assert(err);
#endif // USE_SDL
}
void SoundManager::ReacquireSoundDriver()
{
if (m_usePlaySound) return;
if (m_noSound) return;
#if !defined(USE_SDL)
HDIGDRIVER dig;
HMDIDRIVER mdi;
HDLSDEVICE dls;
AIL_quick_handles(&dig, &mdi, &dls);
S32 err = AIL_digita... | C++ |
tripleConstraint(n);
break;
}
case LPAREN:{
bracketedTripleExpr(n);
break;
}
default:
jj_la1[51] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
case AMP:{
include();
break;
}
d... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.