content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
]', '', '1', '', '', '', '', '', '', '', '', '1040137', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'1040137', '', '市长诧异地挑了挑眉。', '', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '', '[{"id":9942001,"pos":2,"enter":2}]', '', '1', '', '', '', '', '', '', '', '', '1040138', '', '', '', ''... | Lua |
ust be a hostname, not URL, and must use at most one wildcard."""
if "/" in host:
return False
if host.count("*") > 1:
return False
return True
def nomes_all(where=sys.argv[1:]):
"""Returns generator to extract all files from a list of files/dirs"""
if not where: where=['.']
for... | Python |
/*
Copyright (C) 2010
Daniel Mueller <daniel@danm.de>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of condi... | C# |
before)," ns (",totalSuspendTime," ns total)");
}
}
@NoCheckStore
@Unpreemptible
public static void hardHandshakeResume(BlockAdapter ba,
HardHandshakeVisitor hhv) {
long before = sysCall.sysNanoTime();
handshakeLock.lockWithHandshake();
RVMThread curr... | Java |
r; font-size:12px">availability in the Exchange Payload.
<br>Added </span><span style="font-family: NUVRQN+SFMono-Regular; font-size:13px">AllowAllAppsAccess </span><span style="font-family: FOVSON+SFHelloRegular; font-size:12px">for the SCEP Payload.
<br>Added </span><span style="font-family: NUVRQN+SFMono-Regular; fo... | HTML |
Some(InputKey::DigestIndex(trie_key)) = Decode::decode(&mut &key[..]) {
digest_map.entry(trie_key.key).or_default()
.insert(digest_build_block);
});
}
Ok(digest_map.into_iter()
.map(move |(key, set)| InputPair::DigestIndex(DigestIndex {
block: parent.number + 1,
key
}, set.into_iter().collect()... | Rust |
vbar .btn-navbar .icon-bar + .icon-bar {
margin-top: 3px;
}
.sui-navbar .pull-right > li > .dropdown-menu,
.sui-navbar .sui-nav > li > .dropdown-menu.pull-right {
left: auto;
right: 0;
}
.sui-navbar .pull-right > li > .dropdown-menu:before,
.sui-navbar .sui-nav > li > .dropdown-menu.pull-right:before {
left: au... | CSS |
"""Elephant figure."""
from chess.core.config import UIConfig
from .base import BaseFigure, FigureColor, FigureRole
class ElephantFigure(BaseFigure):
"""Elephant figure."""
def __init__(self, config: UIConfig, color: FigureColor):
super().__init__(config, role=FigureRole.ELEPHANT, color=color)
... | Python |
u';\n },\n meridiem: function (hours, minutes, isLower) {\n if (hours < 12) {\n return isLower === true ? 'de' : 'DE';\n } else {\n return isLower === true ? 'du' : 'DU';\n }\n },\n calendar: {\n sameDay: '[ma] LT[-kor... | JavaScript |
0013
IMPORT_FUNC "IoFileMgrForUser",0x5C2BE2CC,sceIoGetFdList
#endif
#ifdef F_IoFileMgrForUser_0014
IMPORT_FUNC "IoFileMgrForUser",0x63632449,sceIoIoctl
#endif
#ifdef F_IoFileMgrForUser_0015
IMPORT_FUNC "IoFileMgrForUser",0x68963324,sceIoLseek32
#endif
#ifdef F_IoFileMgrForUser_0016
IMPORT_FUNC "IoFileMgrForUser",0... | Assembly |
li><a href="global.html#check_1dy">check_1dy</a></li><li><a href="global.html#check_2dX">check_2dX</a></li><li><a href="global.html#check_2dXy">check_2dXy</a></li><li><a href="global.html#check_array">check_array</a></li><li><a href="global.html#check_is_fitted">check_is_fitted</a></li><li><a href="global.html#Classifi... | HTML |
bottom_points = {
{
127.25213623046875,
-77.88497161865234,
-5.5,
},
{
128.3905487060547,
-80.85063934326172,
-5.5,
},
{
133.55392456054688,
-78.86861419677734,
-5.5,
},
{
132.41552734375,
-75.90294647216797,
-5.5,
},
},
color = {
255,
25... | Lua |
jJhM2VjODljNjUyMjQxYTE4MTVjZjdjODA0YzQzMzZmL3NlYzoyYTNlYzg5YzY1MjI0MWExODE1Y2Y3YzgwNGM0MzM2Zl8xMDMvZnJhZzo2YTNlODQxY2U0MDI0MmJmODFlYzlmNTI4NzVhNTBhYS90YWJsZTo0YmYyMjU5YzkwODE0ZmFlYmMzNmY0NDFlMGE4YzNmMy90YWJsZXJhbmdlOjRiZjIyNTljOTA4MTRmYWViYzM2ZjQ0MWUwYThjM2YzXzE3LTEtMS0xLTYwOTE4_74226015-f0bd-4b7f-b1ae-b8a4343467d1">36... | HTML |
W.jsxs(Ate,{"aria-label":t,className:"icon-button "+(l&&"active"||""),size:n||"small",onClick:c,onMouseEnter:i,style:o,children:[t==="copy"&&W.jsx(Xee,{}),t==="like"&&W.jsx(ete,{}),t==="dislike"&&W.jsx(Zee,{}),t==="cursor"&&W.jsx(ote,{}),t==="replace"&&W.jsx(xte,{}),t==="file"&&W.jsx(Jee,{}),t==="goto"&&W.jsx(Tte,{}),t... | HTML |
.fr-btn:not(:hover):not(:focus).fr-active,.royal-theme.fr-popup .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active,.royal-theme.fr-modal .fr-tabs .fr-command.fr-btn:not(:hover):not(:focus).fr-active-tab{background:#FFF}.r... | CSS |
.415-62.225 62.225-1.415-1.414zM96.167 33.941l1.414 1.414-62.226 62.226-1.414-1.414zM100.41 38.184l1.413 1.414-62.225 62.225-1.414-1.414zM104.652 42.426l1.414 1.415-62.225 62.225-1.415-1.414zM108.894 46.669l1.415 1.414-62.226 62.226-1.414-1.415zM113.137 50.912l1.414 1.414-62.225 62.225-1.414-1.414zM117.38 55.154l1.414 ... | HTML |
/// Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
/// </summary>
[Input("vCenterId")]
public Input<string>? VCenterId { get; set; }
/// <summary>
/// Name of the virtual machine resource.
| C# |
Name: logItem.subjectName,
type: logItem.type,
note: doc,
);
String PDFpath = file?.path;
log.e("FilePath : " + file.path);
if (PDFpath == null) {
await Fluttertoast.showToast(
msg:
'An error has occurred while downloading document from Firebase...Please Verify ... | Dart |
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Threading;
using System.Windows.Forms;
namespace ExtendedControls.ExtendedToolkit.Controls
{
[ToolboxBitmap(typeof(ListView))]
public class GroupableKryptonListView : KryptonListView
{
#region F... | C# |
# Copyright 2009-2011 Ram Rachum.
# This program is distributed under the LGPL2.1 license.
'''Module for testing the abstract methods of `ContextManager`.'''
from __future__ import with_statement
import sys
import nose
from garlicsim.general_misc.context_manager import (ContextManager,
... | Python |
#include "puzzle_common.h"
#include "puzzle_p.h"
#include "puzzle.h"
#include "globals.h"
int puzzle_vector_sub(PuzzleContext * const context,
PuzzleCvec * const cvecr,
const PuzzleCvec * const cvec1,
const PuzzleCvec * const cvec2,
... | C |
c0Y2MzM2U0M2QyODY4My90YWJsZTowYWE2NWNmZmEwNzI0YzQwYTkwMGI0MzdjYjBjMmY3Ny90YWJsZXJhbmdlOjBhYTY1Y2ZmYTA3MjRjNDBhOTAwYjQzN2NiMGMyZjc3XzUtOS0xLTEtNjA5MTg_3a6860c2-e27a-405f-8569-37b45b1232d2": {
"a": {
"c": "us-gaap:DefinedBenefitPlanRecognizedNetGainLossDueToSettlements1",
"e": "e:0000021076",
"u": "iso4217... | HTML |
L #4,A1
CMP.W #$6100,(A1)+
BNE.S .lbC000430
ADD.W (A1),A1
.lbC00044A CMP.W #$4E75,(A1)
BEQ.S .lbC000430
CMP.W #$2F0B,(A1)
BEQ.S .lbC000466
CMP.L #$DFF0C8,(A1)
BEQ.S .lbC000466
ADDQ.L #2,A1
DBRA D1,.lbC00044A
BRA.S .lbC000430
.lbC000466 MOVEQ #0,D2
RTS
***************************************************... | Assembly |
hand.Rotate(113771, Math.PI / 2);
hand.Fade(113771, 1);
hand.Scale(113771, 0.2);
hand.Move(OsbEasing.InOutQuad, 113771, 114453, new Vector2(-200, 240), new Vector2(203.324f, 320));
hand.Move(OsbEasing.InOutExpo, 117521, 118374, new Vector2(203.324f, 320), new Vector2(860... | C# |
("https://test.de/id/123/?type=1369315142&tx_find_find%5Bformat%5D=data&tx_find_find%5Bdata-format%5D=app", "UTF-8")
assertEquals("id/123", actual.id)
}
@Test
fun testLibeorIdentifier() {
doReturn(mockHeadResponse).`when`(slub).httpHead(any(), anyBoolean())
doReturn(mockGetResponse)... | Kotlin |
,
maxLabel: "Now",
value: now,
fromNow: this.dateHelper.fromNow( now )
},
{
min: dayAgo.getTime(),
minLabel: this.dateHelper.formatDate( dayAgo, "yyyy-MM-dd" ),
max: now,
maxLabel: "Now",
value: now,
fromNow: this.dateHelper.fromNow( now )
},
{
min: hourAgo.getTime(),... | Typescript |
ddle;
line-height: 1;
border-radius: 2px;
cursor: default;
/* bottom margin (4px) is needed to inflate enclosing toolbar-group,
* so that the pane divider near controls is obscured and the user is
* not confused by row-resize cursor */
margin: 4px 2px 4px 8px;
padding: 4px;
transition: color .15s ea... | CSS |
.7 1.6-3.1 1.6h-5.3c-1.4 0-2.4-.6-3.1-1.6l-1-1.3c-.5-.7-.8-1.9-.8-2.7v-4.4H5.8v4.5c0 1.2.5 3.1 1.3 4.2l.9 1.3c1.2 1.7 2.9 2.7 5.3 2.7h5.3z"></path></svg></span>On smart speakers</a></li><li><a href="https://www.bbc.co.uk/news/10628323" class="ssrcss-16gfcx-StyledLink env7qt32"><span class="ssrcss-fjeiuk-StyledIconConta... | HTML |
interface LAOBOIBJGOKOrBuilder extends
// @@protoc_insertion_point(interface_extends:LAOBOIBJGOK)
com.google.protobuf.MessageOrBuilder {
/**
* <code>uint32 instanced_ability_id = 5;</code>
* @return The instancedAbilityId.
*/
int getInstancedAbilityId();
/**
* <code>int32 ... | Java |
-phoenix-1";
int regionsCount = Region.Values().Length;
Assert.Throws<ArgumentException>(() => Region.Register(existingRegionId, Realm.OC2));
}
[Theory]
[InlineData("us-phoenix-1", "phx")]
[InlineData("eu-frankfurt-1", "fra")]
[Trait("Category", "Unit")]
... | C# |
is deprecated, use GLM_FORCE_SWIZZLE instead.")
# define GLM_FORCE_SWIZZLE
#endif
#if defined(GLM_FORCE_SWIZZLE) && (GLM_LANG & GLM_LANG_CXXMS_FLAG) && !defined(GLM_FORCE_XYZW_ONLY)
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_OPERATOR
#elif defined(GLM_FORCE_SWIZZLE)
# define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_FUNCTION
#else... | C++ |
0030\u0039\u003b\u000a\u000a\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0063\u006c\u0061\u0073\u0073\u0020\u0041\u006c\u006c\u006f\u004d\u006f\u006e\u0064\u0065\u0020\u007b\u000a\u0020\u0020\u0020\u0020\u0070\u0075\u0062\u006c\u0069\u0063\u0020\u0073\u0074\u0061\u0074\u0069\u0063\u0020\u0076\u006f\u0069\u0064\u0020\u00... | Java |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Openize.Drako
{
abstract class ICornerTable
{
public abstract int NumFaces { get; }
public abstract int NumVertices { get; }
public static int LocalIndex(int corner)
{
r... | C# |
b;b_cs:XyzvNd;rcuQ6b:npT2md"><div jsname="ARU61" class="mWyH1d kno-atc" aria-controls="_54cwXa6pI8L2swX1koVo15" aria-expanded="false" id="_54cwXa6pI8L2swX1koVo16" jsslot="" role="tab" jsaction="CQwlrf;fastbutton:CQwlrf"><span class="vp45yf z1asCe bjaP2b" style="right:16px"><svg focusable="false" xmlns="http://www.w3.or... | HTML |
/*
* MaliciousRep3Share.h
*
*/
#ifndef PROTOCOLS_MALICIOUSREP3SHARE_H_
#define PROTOCOLS_MALICIOUSREP3SHARE_H_
#include "Rep3Share.h"
#include "SemiShare.h"
template<class T> class HashMaliciousRepMC;
template<class T> class Beaver;
template<class T> class MaliciousRepPrepWithBits;
template<class T> class Malicio... | C |
sk, :] = alpha * img[mask, :] + (1 - alpha) * color[:]
obj_pose = obj_pose_dict[obj_label]
obj_center = self.project2d(self.intrinsic, obj_pose[:3, -1])
rgb_colors = [(0, 0, 255), (0, 255, 0), (255, 0, 0)]
for j in range(3):
... | Python |
: Week
init {
require(index in 0..5) { "illegal solar week index: $index" }
require(start in 0..6) { "illegal solar week start: $start" }
val m = SolarMonth(year, month)
require(index < m.getWeekCount(start)) { "illegal solar week index: $index in month: $m" }
this.month = m... | Kotlin |
?
001754 640400 sma
001755 601774 jmp mq2 / no
001756 403137 add ~mt1
001757 420017 sub me2
001760 640400 sma
001761 601774 jmp mq2
001762 203103 lac (mex 400000 / yes, explode
001763 251703 dac i ml1 / replace calc routine with explosion
001764 251734 dac i ml2
001765 212006 lac i mb1 / durati... | Go |
if STRICT then
assert(type(value) == 'string', 'all mouse buttons are strings; asked to check a ' .. type(value))
end
if self._thisFrame[value] then
return false
end
end
return true
end,
-- Method: justReleased
-- Are *any* of the buttons passed released after being held last frame?
--
-... | Lua |
__dfs_8h.html#a4c28afecf06fb8a35784e42877d30218aefc721366b89d693324b88835334b4a6">mcp2518fd_can_dfs.h</a></li>
<li>CAN_ICODE_FIFO_CH9 : <a class="el" href="mcp2518fd__can__dfs_8h.html#a4c28afecf06fb8a35784e42877d30218afa2aedd852e07500a30868c8a0d5d062">mcp2518fd_can_dfs.h</a></li>
<li>CAN_ICODE_IVMIF :... | HTML |
.into_iter()
.collect::<Result<_, _>>()?;
Ok(caps)
}
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Item {
pub guid: String,
pub link: String,
}
use crate::prelude::tz::*;
use chrono::offset::{Offset, TimeZone};
use chrono::{Datelike, FixedOffset, NaiveDate, NaiveDateTime};
use chrono_tz::Chile::*;
use std::s... | Rust |
using FF1Lib.Sanity;
using MapGenerationTask = FF1Lib.Procgen.ProgenFramework.GenerationTaskType<FF1Lib.Procgen.MapResult>;
using Direction = FF1Lib.Direction;
namespace FF1Lib.Procgen
{
public partial class MapState {
public async Task<MapResult> WipeMap(byte tile) {
this.OwnTilemap();
for (int y = 0... | C# |
_left.html"><boost/preprocessor/list/fold_left.hpp></a>
</div>
<h4>Sample Code</h4>
<div><pre>
#include <<a href="../headers/cat.html">boost/preprocessor/cat.hpp</a>>
#include <<a href="../headers/list/fold_left.html">boost/preprocessor/list/fold_left.hpp</a>>
#define L1 (a, (b, (c, <a href="nil.h... | HTML |
efault();
let interner:StringInterner<StringSymbol> = StringInterner::<StringSymbol>::new();
let mut instance = Self{model:model,funcLib:funcLib,interner:interner,topLevel:topLevel};
{
instance.recalculate();
}
instance
}
fn newFromJson(json:&str , funcLib: F... | Rust |
eBuffer = converted.buffer
if (input == null
|| input!!.type.x != image.width
|| input!!.type.y != image.height
|| input!!.type.yuv != converted.type
|| bytes.size != converted.buffer.capacity()
) {
val yuvType: Type.Builder = Type.Builder(rs,... | Kotlin |
NAVBAR ======= -->
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_02) on Mon Nov 24 10:51:55 CET 2014 -->
<meta http-equiv="Content-Type" content="text/html" charset... | HTML |
transactions to run universe-based proptests with. Set with the `UNIVERSE_SIZE`
/// environment variable (this function will return twice that).
///
/// Larger values will provide greater testing but will take longer to run and shrink. Release mode
/// is recommended for values above 100.
#[inline]
pub(crate) fn defau... | Rust |
6a9a6a produces an invalid PNG - Ignoring
Key 1a8a4a5a0a6a9a5a5a2a2a3a1a6a9a6a produces an invalid PNG - Ignoring
Key 1a8a4a5a0a6a9a5a5a2a3a3a1a6a9a6a produces an invalid PNG - Ignoring
Key 1a8a4a5a0a6a9a5a5a2a4a3a1a6a9a6a produces an invalid PNG - Ignoring
Key 1a8a4a5a0a6a9a5a5a2a5a3a1a6a9a6a produces an invalid PNG -... | Markdown |
com.idisfkj.awesome.basic.fragment.BaseFragment
import com.idisfkj.awesome.home.BR
import com.idisfkj.awesome.home.R
import com.idisfkj.awesome.home.databinding.HomeFragmentHomeBinding
import com.idisfkj.awesome.home.fragment.vm.HomeVM
import timber.log.Timber
/**
* Created by idisfkj on 2019-09-02.
* Email : idisfk... | Kotlin |
1 4.2 1 1.88 1 0 2.83 0 5.09c0 .07.01.13.01.19H0c0 .05.01.1.01.14 0 .05.01.1.01.14.07.8.32 1.66.82 2.57 1.07 1.94 2.88 3.47 5.86 5.84l-.68-2.74h.02C6.03 11.16 6 11.08 6 11c0-.28.11-.53.29-.71l1.42-1.42zM16 5.09C16 2.83 14.12 1 11.8 1c-1.2 0-2.27.5-3.04 1.28l-.7 3.51 1.77 2.66-.01.01c.1.15.18.33.18.54 0 .28-.11.53-.29.... | JavaScript |
});
describe('stats.z.test paired', function() {
var g1 = [2, 4, 6, 8, 10],
g2 = [0, 1, 2, 3, 4],
o = {paired: true},
table = [{a:2,b:0}, {a:4,b:1}, {a:6,b:2}, {a:8,b:3}, {a:10,b:4}];
it('should accept an array and accessors', function() {
assert.ok(stats.z.test(table,a,b,o) ... | JavaScript |
for xx in (x - inf_radius)..=(x + inf_radius) {
for yy in (y - inf_radius)..=(y + inf_radius) {
if grid.contains(xx, yy) {
*counter.get_mut(xx as usize, yy as usize) += 1;
... | Rust |
-Leninist-Maoist.
<br/>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the ... | HTML |
lbox 2 transmit finished interrupt flag
\arg CAN_INT_FLAG_MTF1: mailbox 1 transmit finished interrupt flag
\arg CAN_INT_FLAG_MTF0: mailbox 0 transmit finished interrupt flag
\arg CAN_INT_FLAG_RFO0: receive FIFO0 overfull interrupt flag
\arg CAN_INT_FLAG_RFF0: receive ... | C |
土星",
"Saturn salt":"[化] 乙酸铅",
"saturn-shaped":" [医]土星形的",
"Saturnalia":"n. 农神节",
"Saturnalian":"a. 农神节的",
"Saturnalias":"(Saturnalia 的复数) n. 农神节",
"saturnia":" [地名] [意大利] 萨图尔尼亚",
"Saturnian":"a. 农神的, 繁荣昌盛的, 黄金时代的, 土星的",
"saturnic":"a. 铅毒[性]的",
"Saturnigraphy":"土面学",
"saturniid":"n. 天蚕蛾",
"saturniid moth":"[网络] 天蚕蛾",
"... | Typescript |
issue+is%3Aopen+label%3Asig%2Fauth+label%3Akind%2Fbug)
## July 22, 11a - Noon (Pacific Time)
* [Recording](https://www.youtube.com/watch?v=-_J18AQ0opM)
* Announcements
*
* Demos
*
* Pulls of note
*
* Issues of note
* [CSR API: cluster signing duration is not flexible and has unsafe defa... | Markdown |
.bool hasCurrentIndex15s() => $_has(1);
@$pb.TagNumber(2)
void clearCurrentIndex15s() => clearField(2);
@$pb.TagNumber(1001)
$core.List<$core.double> get pingDropRate => $_getList(2);
@$pb.TagNumber(1002)
$core.List<$core.double> get pingLatencyMs => $_getList(3);
@$pb.TagNumber(1003)
$core.List<$cor... | Dart |
Exercise 25: xargs</a></p>
<p>译者:<a href="https://github.com/wizardforcel" target="_blank">飞龙</a></p>
<p>协议:<a href="http://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a></p>
<p>自豪地采用<a href="https://translate.google.cn/" target="_blank">谷歌翻译</a></p>
</blockquote>
<p>我们回到挑战模式的练习,并为你热身,你... | HTML |
~OverlapFileHandlers() {
fclose(fp);
in_path = "";
fp = NULL;
}
bool ReadLine(std::string& line) {
if (fp == NULL) {
return false;
}
const size_t BUFF_SIZE = 4096;
char line_c[BUFF_SIZE + 1];
line = "";
size_t num_read = 0;
... | C++ |
iance between -30 and 20, so that the variance is between (circa) 1e-14 and 1e8.
# (Batch_Size, 4, Height / 8, Width / 8) -> (Batch_Size, 4, Height / 8, Width / 8)
log_variance = torch.clamp(log_variance, -30, 20)
# (Batch_Size, 4, Height / 8, Width / 8) -> (Batch_Size, 4, Height / 8, Width / 8... | Python |
(['below-range', 'above-range']);
});
describe('Testing applyPersistenceCheckToObservation function', () => {
test('Does not fail when no timeseries has been provided', () => {
const obsBefore = {
id: 'obsID123',
timeseriesId: 'aBc',
resultTime: '2020-05-05T12:30:00.0... | Typescript |
wrap();
// let vector = args[2..]
// .into_iter()
// .map(|string| string.parse::<f32>().unwrap())
// .collect();
// let result = multiply(vector, scalar).unwrap();
// dbg!(result);
// }
// This example has been taken from the OCL crate
// emu for writing code
extern crate em;
us... | Rust |
if (shiftCode)
code += SessionNotification.NOTIFY_BASE;
long data = msg.getFieldAsInt64(NXCPCodes.VID_NOTIFICATION_DATA);
switch(code)
{
case SessionNotification.ALARM_STATUS_FLOW_CHANGED:
strictAlarmStatusFlow = ((int)data != 0);
bre... | Java |
double r1 = radius / centerDistance;
double fFocalX = r0 / (r0 - r1);
if ((fFocalX - 1).abs() < SPath.scalarNearlyZero) {
// swap r0, r1
final double temp = r0;
r0 = r1;
r1 = temp;
fFocalX = 0.0; // because r0 is now 0
}
final ShaderBuilder builder = ShaderBuilder.fragmen... | Dart |
.text
.globl main
main:
li a0, 103945
li a1, -2
min a0, a1, a0
call printdec_slow
#mv a0, s0
#call printhex
ebreak
printdecu_slow:
li a4, 1023
bnez a0, .print2
li a0, 0x30
sb a0, 0(a4)
j .end2
.print2:
li a1, 1000000000
... | Assembly |
ransactions)
{
var result = repository.GetBlockIdByTransactionId(transaction.GetHash());
Assert.NotNull(result);
Assert.Equal(this.Network.GenesisHash, result);
}
}
}
private IBlockRepository SetupR... | C# |
2].Position);
// Assert.AreEqual(new Vector3F(1, 1, 0), set1[3].Position);
//}
[Test]
public void UpdateContacts()
{
CollisionObject a = new CollisionObject { GeometricObject = new GeometricObject { Shape = new SphereShape(1) } };
CollisionObject b = new CollisionObject(new GeometricO... | C# |
ainOldData, NoDestructor, HasGetValueTypeHash)
bool CallFunc_LessEqual_IntInt_ReturnValue; // 0x00A8(0x0001)(ZeroConstructor, IsPlainOldData, NoDestructor)
uint8 Pad_A9[0x7]; // 0x00A9(0x... | C++ |
Color(Color(0xFF000000)), stroke = null, strokeLineWidth = 0.0f,
strokeLineCap = Butt, strokeLineJoin = Miter, strokeLineMiter = 4.0f,
pathFillType = NonZero) {
moveTo(308.0f, 352.0f)
horizontalLineToRelative(-45.49f)
curveToRelativ... | Kotlin |
}
func (gq *GroupQuery) loadNotifiers(ctx context.Context, query *NotifierQuery, nodes []*Group, init func(*Group), assign func(*Group, *Notifier)) error {
fks := make([]driver.Value, 0, len(nodes))
nodeids := make(map[uuid.UUID]*Group)
for i := range nodes {
fks = append(fks, nodes[i].ID)
nodeids[nodes[i].ID] =... | Go |
.name);
//-----------------------------------example 9
// class Person {
// protected name: string;
// protected constructor(theName: string) {
// this.name = theName;
// }
// }
// // Employee can extend Person
// // class Employee extends Person {
// // private department: string;
// ... | Typescript |
#include "dasIMGUI.func.aot.decl.inc"
void Module_dasIMGUI::initFunctions_1() {
// from imgui/imgui.h:327:29
makeExtern< ImGuiContext * (*)(ImFontAtlas *) , ImGui::CreateContext , SimNode_ExtFuncCall , imguiTempFn>(lib,"CreateContext","ImGui::CreateContext")
->args({"shared_font_atlas"})
->arg_init(0,make_smart<E... | C++ |
all<Color>(Colors.red),
shadowColor: MaterialStateProperty.all<Color>(
Colors.red.withOpacity(0.5)),
fixedSize: MaterialStateProperty.all<Size>(
const Size(180, 400))),
... | Dart |
, i);
WRITE(p, " _pos[%i] = %s(u_tess_points, ivec2(index_u, index_v), 0).xyz;\n", i * 4 + j, compat.texelFetch);
if (hasTexcoordTess)
WRITE(p, " _tex[%i] = %s(u_tess_points, ivec2(index_u + u_spline_counts, index_v), 0).xy;\n", i * 4 + j, compat.texelFetch);
if (hasColorTess)
WRITE(p, " _... | C++ |
function M.move(src_path, dst_path)
local parent_path = vim.fn.fnamemodify(dst_path, ":h")
M.create_dir_recursive(parent_path)
M.move_path(src_path, dst_path)
vim.schedule(function()
hooks.on_rename(src_path, dst_path)
end)
end
function M.copy(src_path, dst_path)
local src_stat = uv.fs_stat(src_path... | Lua |
/*
Copyright (c) 2019, Apple Inc. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the follow... | C |
Cone;
// TODO: Remove this module after switching to DAG v2.
#[derive(PartialEq, Eq, Clone)]
pub enum Cone {
Point(PointCone),
Interval(IntervalCone),
}
impl Cone {
pub fn from__timeshare_cone(mut cone: KeyCone, accept_point_cone: bool) -> Self {
if accept_point_cone && crate::util::is_point(&con... | Rust |
Default
else this.place = newVal!
} else if (attr == 'avatar') {
if (!newVal) this.avatar = HelloFrom.__avatarDefault
else this.avatar = newVal!
}
}
connectedCallback(): void {
let root = this.shadowRoot
if (!root) root = this.attachShadow({mode: 'open'})
root.innerHTML = this.template()
this.... | Typescript |
DepositVars? fromJson(Map<String, dynamic> json) =>
_i1.serializers.deserializeWith(
GsendUserDirectDepositVars.serializer,
json,
);
}
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint
// ignore_for_file: no_leading_underscores_for_library_prefixes
import 'package:buil... | Dart |
let FalcoLaser = 0;
FalcoDair += CheckMoveKill_Int(gamefile, 17, uname);
FalcoLaser += ItemIDCheck(gamefile, 55, uname);
return { FD: FalcoDair, FL: FalcoLaser };
}
function GannonParse(gamefile, uname) {
let GanSpike = 0;
let GanPunch = 0;
GanSpike += CheckMoveKill_Int(gamefile, 17, uname);
GanPunch +... | Typescript |
dirname == NULL)
/* The default value. */
dirname = _nl_default_dirname__;
else {
if (strcmp(dirname, _nl_default_dirname__) == 0)
dirname = _nl_default_dirname__;
else {
char *result;
result = strdup(dirname);
if (result == NULL)
goto failed_dirname;
dirname = result... | C |
included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY 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 CO... | Kotlin |
only be used for a
* purpose consistent with both fields. If there is no purpose
* consistent with both fields, then the certificate MUST NOT be used
* for any purpose.<p>
*
* @since 1.4
*/
public class ExtendedKeyUsageExtension extends Extension
implements CertAttrSet<String> {
/**
* Identifier... | Java |
0);
if ($36) {
label = 12;
break;
} else {
label = 13;
break;
}
case 12:
HEAP32[$31 >> 2] = $34;
label = 13;
break;
case 13:
var $39 = $i_281 + 1 | 0;
var $40 = $sfb_382 + 1 | 0;
var $exitcond91 = ($39 | 0) == ($30 | 0);
if ($exitcond91) {
lab... | JavaScript |
=BOTTOM WIDTH=13 HEIGHT=13 BORDER=0 VSPACE=0
HSPACE=0><A HREF="daq1.htm" tppabs="http://www.anticrack.de/fravia/daq1.htm">How to Neuter WebWhacker V2.0</A><BR>
(dead listing persistence) by +daQ - 26 May 1997
<BR>
<BR><IMG SRC="bulletr.gif" tppabs="http://www.anticrack.de/fravia/bulletr.gif" ALIGN=BOTTOM WIDTH=13... | HTML |
en fields: _a0
func (_m *S3API) PutPublicAccessBlock(_a0 *s3.PutPublicAccessBlockInput) (*s3.PutPublicAccessBlockOutput, error) {
ret := _m.Called(_a0)
var r0 *s3.PutPublicAccessBlockOutput
if rf, ok := ret.Get(0).(func(*s3.PutPublicAccessBlockInput) *s3.PutPublicAccessBlockOutput); ok {
r0 = rf(_a0)
} else {
... | Go |
* 500BC 8005F8BC 00000586 */ lh $a1, 0x0($s0)
/* 500C0 8005F8C0 02000686 */ lh $a2, 0x2($s0)
/* 500C4 8005F8C4 04000786 */ lh $a3, 0x4($s0)
/* 500C8 8005F8C8 06000286 */ lh $v0, 0x6($s0)
/* 500CC 8005F8CC 0780033C */ lui $v1, %hi(D_80074A60)
/* 500D0 8005F8D0 604A638C */ lw ... | Assembly |
cted */
int cpu_load; /**< average cpu core load over last second (0...10000) */
int cpu_self_now; /**< current LCDHost cpu usage over last second (0...10000) */
int cpu_self_avg; /**< average LCDHost cpu usage since start (0...10000) */
lh_cpudata *cpu_cores; /**< points to an ar... | C |
DayOfWeek.wednesday.value, true, LocalTime.midnight);
TestHelper.TestEqualsClass(value, equalValue, [unequalValue]);
}
// Portions of this work are Copyright 2018 The Time Machine Authors. All rights reserved.
// Portions of this work are Copyright 2018 The Noda Time Authors. All rights reserved.
// Use of this so... | Dart |
s,height:i,"aria-hidden":"true",focusable:"false"},u),Pe.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 ... | JavaScript |
mul v16.4s, v2.4s, v29.s[0]
mul v18.4s, v2.4s, v29.s[2]
mul v20.4s, v2.4s, v30.s[0]
mul v22.4s, v2.4s, v30.s[2]
mul v24.4s, v2.4s, v31.s[0]
mul v13.4s, v3.4s, v28.s[0]
mul v15.4s, v3.4s, v28.s[2]
mul v17.4s, v3.4s, v29.s[0]
mul v19.4s, v3.4s, v29.s[2]
mul v21.... | Assembly |
.tac);
served_plmns_item_s served_plmn;
served_plmn.plmn_id.from_string("00f110");
slice_support_item_s slice_support_item;
slice_support_item.snssai.sst.from_number(1);
served_plmn.ie_exts.tai_slice_support_list_present = true;
served_plmn.ie_exts.tai_slice_support_list.push_back(slice_support_item);
se... | C++ |
lang('SEARCH_GUEST_INTERVAL') ~ lang('COLON') }}</label><br /><span>{{ lang('SEARCH_GUEST_INTERVAL_EXPLAIN') }}</span></dt>
<dd><input id="search_anonymous_interval" type="number" min="0" max="9999" name="config[search_anonymous_interval]" value="{{ SEARCH_GUEST_INTERVAL }}" /> {{ lang('SECONDS') }}</dd>
</dl>
<dl>
... | HTML |
..0x3314,
"YUV_SUBSAMPLE_4_4_4_EXT"..0x3315
)
IntConstant(
"YUV_DEPTH_RANGE_LIMITED_EXT"..0x3318,
"YUV_DEPTH_RANGE_FULL_EXT"..0x3319
)
IntConstant(
"YUV_CSC_STANDARD_601_EXT"..0x330B,
"YUV_CSC_STANDARD_709_EXT"..0x330C,
"YUV_CSC_STANDARD_2020_EXT"..0x330... | Kotlin |
:糖果娃娃机\n可在角色信息处更换头像框', '头像框:糖果娃娃机\n可在角色信息处更换头像框', '', '', '5', '999', '', 'avatar_frame_15', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '2009', '', '', '', '', '', '', '1', '', '', '', '', '', ''},
{'19232', '', '糖果娃娃机', '永久', '', '10', '5', '头像框:糖果娃娃机\n可在角色信息处更换头像框', '头像框:糖果娃娃机\n可在角色信息处更换头像框', '[[10001,1... | Lua |
"""Data representation for fitbit API responses."""
from collections.abc import Mapping
from dataclasses import dataclass
from typing import Any
from .const import CONF_CLOCK_FORMAT, CONF_MONITORED_RESOURCES, FitbitScope
@dataclass
class FitbitProfile:
"""User profile from the Fitbit API response."""
encod... | Python |
* @default 'horizontal'
*/
orientation?: TabsOrientation;
/**
* The direction of the text.
* @default 'ltr'
*/
direction?: TabsDirection;
className?: string;
/**
* Callback invoked when new value is being set.
*/
onChange?: (event: React.SyntheticEvent | null, value: number | string | null... | Typescript |
ame = 'ir-toggle-handle-prompt';
if (name.length > 13) {
toggleHandle.innerText = name.substring(0, 12) + '..';
} else {
toggleHandle.innerText = name;
}
var onText = document.createElement('div');
onText.className = 'ir-toggle-text on-text';
onText.innerText = item.label_on?item.label_on:"true";
... | JavaScript |
lowlist,omitempty"`
// Corresponds to a list of provider consensus addresses of validators that CANNOT validate the consumer chain.
Denylist []string `protobuf:"bytes,8,rep,name=denylist,proto3" json:"denylist,omitempty"`
// signer address
Authority string `protobuf:"bytes,9,opt,name=authority,proto3" json:"authori... | Go |
arrow_back));
await tester.pump();
// Jump 25% into the transition (total length = 300ms)
await tester.pump(quarterTransition);
heroSize = tester.getSize(find.byType(Container));
expect(heroSize.width.roundToDouble(), 199.0);
expect(heroSize.height.roundToDouble(), 190.0);
// Jump to 50% i... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.