content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/*********************************************************************/
/* */
/* Optimized BLAS libraries */
/* By Kazushige Goto <kgoto@tacc.utexas.edu> */
/* ... | Assembly |
/>Slash with horizontal ends</td></tr>
<tr><td style="text-align: center"><span class="bravura_large"></span></td><td><strong>U+E102</strong><br/><em>noteheadSlashWhiteWhole</em><br/>White slash whole</td><td style="text-align: center"><span class="bravura_large"></span></td><td><strong>U+E103</strong><br/><em>notehe... | HTML |
:');
console.log('Relative path:', testPath);
console.log('Absolute path:', absoluteTestPath);
// Test path.join with different segments
const joinedPath = path.join('test', 'project', 'src', 'file.md');
console.log('Joined path:', joinedPath);
// Test path.normalize
console.log('Normalized relative pat... | JavaScript |
bind(opcode, LoadImmediate);
}
#undef arguments
#define arguments \
bits(opcode, 0, 3), /* m */ \
bit1(opcode, 5), /* half */ \
bits(opcode,12,15), /* d */ \
bits(opcode,16,19), /* n */ \
bit1(opcode,21), /* writeback */ \
bit1(opcode,23), /* up */ \
bit1(opcode,24... | C++ |
han c++11</dd>
</dl>
<dl>
<dt>1.1.3 - master branch (13 July 2017)</dt>
<dd>bug 146;</dd>
<dd>bug 147 - Being prepared for Removing Deprecated Exception Specifications from C++17</dd>
</dl>
<dl>
<dt>1.1.2 - master branch (18 April 2017)</dt>
<dd>Fixed memory leak after Category::shutdown() called: method Category::sh... | HTML |
fun makeDerivative(input: List<DScalar>, output: List<DScalar>, extractDerivative: (DTensor, DTensor) -> DTensor): List<DScalar> {
return listOf(
extractDerivative(input[0], output[0]) as DScalar,
extractDerivative(input[1], output[0]) as DScalar,
extractDeriv... | Kotlin |
assert_eq!(
vec![6, 16, 26],
(froms)(&tx, address).await.iter().collect::<Vec<_>>()
);
assert_eq!(
vec![1, 11, 21],
(tos)(&tx, address).await.iter().collect::<Vec<_>>()
);
}
}
use ansi_term::Style;
use glob;
use crate::fs::File;
use crate::op... | Rust |
-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #ccc;border-radius:3px;display:flex;flex:1;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.t... | CSS |
(
$"RemoveBound: NodeId={nodeId}, TargetBound={bound}");
}
if (includeRemains)
{
using var selectCommand = await this.connectionCache.GetPreparedCommandAsync(
this.parent.configuration.selectPointCountQuery, ct);
... | C# |
self) -> _AnonymousValueParser {
let func: fn(&str) -> Result<FromStr, <FromStr as std::str::FromStr>::Err> =
FromStr::from_str;
_AnonymousValueParser(ValueParser::new(func))
}
}
}
/// Select a [`ValueParser`] implementation from the intended type
///
/// To register... | Rust |
['goog-tab-bar', 'goog-tab-bar-horizontal', 'goog-tab-bar-top'],
renderer.getClassNames(tabBar));
tabBar.setLocation(goog.ui.TabBar.Location.START);
assertSameElements(
'Class names for START location must be as expected',
['goog-tab-bar', 'goog-tab-bar-vertical', 'goog-tab-bar-start'],
r... | JavaScript |
第一范式:数据表的每个列的值域都是由原子值组成的,不能够再分割。
2. 第二范式:数据表里的所有数据都要和该数据表的键(主键与候选键)有完全依赖关系。
3. 第三范式:所有非键属性都只和候选键有相关性,也就是说非键属性之间应该是独立无关的。
> **说明**:实际工作中,出于效率的考虑,我们在设计表时很有可能做出反范式设计,即故意降低方式级别,增加冗余数据来获得更好的操作性能。
#### 数据完整性
1. 实体完整性 - 每个实体都是独一无二的
- 主键(`primary key`) / 唯一约束(`unique`)
2. 引用完整性(参照完整性)- 关系中不允许引用不存在的实体
- 外键(`foreign ... | Markdown |
2264
Q 1234 2150 1697 2047
L 1894 2003
Q 2506 1872 2764 1633
Q 3022 1394 3022 966
Q 3022 478 2636 193
Q 2250 -91 1575 -91
Q 1294 -91 989 -36
Q 684 19 347 128
L 347 722
Q 666 556 975 473
Q 1284 391 1588 391
Q 1994 391 2212 530
Q 2431 669 2431 922
Q 2431 1156 2273 1281
Q 2116 1406 1581 1522
L 1381 1569
... | HTML |
e, categories: ['hoge'], id, draft},
{title, customUrl, text, date, editedDate, categories, id, draft}
).same() ).toBe(false)
expect( new Compare(
{title, customUrl, text, date, editedDate, categories, id: 'hoge', draft},
{title, customUrl, text, date, editedDate, categories, id, draft}
).same() ).to... | Typescript |
}
if (use_rle) {
ZRLE_PIXEL *ptr = data;
ZRLE_PIXEL *end = ptr + w * h;
ZRLE_PIXEL *run_start;
ZRLE_PIXEL pix;
while (ptr < end) {
int len;
int index = 0;
run_start = ptr;
pix = *ptr++;
while (*ptr == pix && ptr ... | C |
renpy-build/tmp/install.linux-x86_64/lib/python2.7/encodings/zlib_codec.pyR X s c C s: t j d d d t d t d t d t d t d t d t S(
Nt nameR R R
t incrementalencodert incrementaldecodert streamreadert streamwritert _is_text_encoding( t codecst ... | Python |
ardStr , " 10 " ); break;
case jack: strcpy( pCardStr , " Jack " ); break;
case queen: strcpy( pCardStr , "Queen " ); break;
case king: strcpy( pCardStr , " King " ); break;
case ace: strcpy( pCardStr , " Ace " ); break;
default: strcpy( pCardStr , " ??? " ); break;
}
switch( pCard->s... | C |
}
private static FAILURE_STRING(expectedCasing: Casing): string {
return `File name must be ${Rule.stylizedNameForCasing(expectedCasing)}`;
}
private static stylizedNameForCasing(casing: Casing): string {
switch (casing) {
case Casing.CamelCase:
return "cam... | Typescript |
ode> for a <code>MJUI_Flex</code> layout. <code>r</code> is <code>RESIZE_XY</code>, <code>RESIZE_XONLY</code>, or <code>RESIZE_YONLY</code>.</p>
<p>Defined in: <span class="file-link" title="Source file (not a link)">mjui/fltk_bindings/libc/Layout/MJUILayouts.cc</span></p>
<pre><code class="language-python"... | HTML |
ken);
expect(result.is_ok()).toBeTruthy();
MockDate.reset();
});
test('test verify fail - cannot decode jwt', () => {
const json = '{"keys":[{"alg":"RS256","e":"AQAB","kid":"jkQynUQIVBCd+JGf6zw6KjTePDkrQ6MYlVVRxZVzSe0=","kty":"RSA","n":"iAyY4vghvPGWEsJJ0L0vBSAJ4SWK6PUUBbNnDEHrqJC5FSZe... | Typescript |
erences a CAB file that is not embedded inside of the msi file itself. The CAB file is named {0} and was expected to be in the following folder: {1}", cabFileName, expectedLocation);
return new ExternalCabNotFoundException(msg);
}
public ExternalCabNotFoundException()
{
}
... | C# |
// used for generating error messages
self.item.ne(&other.item)
}
}
impl<'input> Eq for Item<'input> {}
impl<'input> Item<'input> {
///
/// A custom eq implementation that performs a full equality check, including comparing the
/// `position` field which is ignored in the `PartialEq` i... | Rust |
sider this an unhandled rejection so\n // we attach a noop catch handler here to suppress this warning. If you actually await somewhere or construct\n // your own promise out of it you'll need to ensure you handle the error when it rejects.\n hangingPromise.catch(ignoreReject);\n return hangingPromise;\n}\n... | JavaScript |
'0', '1.68', '2', '2', '8', '1', '', '12001', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'302500201', '', '302500202', '3025002', '技能2', '1', '2', '2', '', 'cast1', '1', '全体1段攻击,造成攻击128%物理伤害', '6', '3004003', '', '0', 'all', '', '2500', '0', '20', ... | Lua |
Stormgrip atop Aldrassil.",
["T"] = "Crown of the Earth",
},
[922] = {
["D"] = "$N, can you take one of the seeds you brought me to my friend, Rellian Greenspyre? He is a druid in Darnassus, and when last we spoke he revealed his interest in my work with the Timberlings. He had some ideas himself, and he ... | Lua |
nbsp;
<DT><A HREF="./com/fasterxml/aalto/util/DataUtil.html#growAnyArrayBy(java.lang.Object, int)"><B>growAnyArrayBy(Object, int)</B></A> -
Static method in class com.fasterxml.aalto.util.<A HREF="./com/fasterxml/aalto/util/DataUtil.html" title="class in com.fasterxml.aalto.util">DataUtil</A>
<DD>
<DT><A HREF=".... | HTML |
';
}
}
stack.pop();
indent = stepback;
return final
}
function serializeKey (key) {
if (key.length === 0) {
return quoteString(key, true)
}
var firstChar = String.fromCodePoint(key.codePointAt(0));
if (!util.i... | JavaScript |
t>
<dd class="tag-source"><ul class="dummy"><li>
<a href="https://github.com/openpgpjs/openpgpjs/blob/v6.2.2/src/crypto/public_key/elliptic/index.js">crypto/public_key/elliptic/index.js</a>, <a href="https://github.com/openpgpjs/openpgpjs/blob/v6.2.2/src/crypto/public_key/elliptic/index.js#L18">line 18</a>
... | HTML |
mkit-form[data-uid="326e092240"][min-width~="600"] .formkit-fields[data-stacked=false] .formkit-submit{margin:0 5px 15px}.formkit-form[data-uid="326e092240"][min-width~="600"] .formkit-fields[data-stacked=false] .formkit-field{-webkit-flex:100 1 auto;-ms-flex:100 1 auto;flex:100 1 auto}.formkit-form[data-uid="326e09224... | HTML |
shadow-root-ai-assist .scribeBox .tag-wrapper-item .tag-wrapper-item-icon[data-v-21cdecfa]{width:16px;height:16px}#shadow-root-ai-assist .scribeBox .tag-wrapper-item.active[data-v-21cdecfa],#shadow-root-ai-assist .scribeBox .tag-wrapper-item[data-v-21cdecfa]:hover{background:rgba(0,82,217,.1);font-weight:700}#shadow-ro... | HTML |
ScrollHeight + 40F + mod.animHeight < y + startYY)
40F + mod.animHeight
else
mod.drawElement(mouseX, mouseY, x, startY + animScrollHeight, w, 40F, accentColor)
}
}
}
GL11.glDisable(GL11.GL_SCISSOR_TEST)
... | Kotlin |
3a3b, U+3a46, U+3a90, U+3c35, U+3d18-3d19, U+3dee, U+3e10, U+3e30, U+3f13, U+3f4e, U+3f80, U+3f8a, U+3ff8, U+4010, U+402f, U+4034, U+40d7, U+4180, U+41f6, U+4204, U+4242, U+4308, U+4599, U+45c1, U+45c6, U+45d0, U+4625, U+463c, U+479a, U+47d3, U+47d8, U+47e9, U+4821, U+488d, U+48a2, U+4acc, U+4bcb, U+50aa, U+50eb, U+527... | CSS |
��이 정확히 무엇인지 알아내고 또 이걸 막을 방법을 알아내려면 그녀에게 이 보고서를 가져가 도움을 청하시오.$B$B내가 마지막으로 들은 소식으로는, 다르나서스에 있는 달의 신전에 산다고 합디다.",
["O"] = "다르나서스에 있는 그라시나 스피릿마이트에게 곤충 분석 보고서를 가져가야 합니다.",
["T"] = "실리시드의 출현",
},
[163] = {
["D"] = "까마귀 언덕에서 뭔가 심상치 않은 일이 벌어지고 있습니다. 칼로는 그곳 건물에서 뭔가가 출몰하고 있다고 믿고 있답니다. 며칠 전엔 늦은 밤 창문에서 불빛을 보았다고 하고... | Lua |
BackgroundResource(R.drawable.segment_left_background);
tv_right.setBackgroundResource(R.drawable.segment_right_background);
//默认左侧为选中状态
tv_left.setSelected(true);
//加入TextView
this.removeAllViews();
this.addView(tv_left);
this.addView(tv_right);
this.in... | Java |
ddEdge('A','B') ).toEqual( true );
expect( graph.addEdge('A','C') ).toEqual( true );
expect( graph.addEdge('A','D') ).toEqual( true );
expect( graph.addEdge('C','D') ).toEqual( true );
expect( graph.addEdge('C','G') ).toEqual( true );
expect( graph.addEdge('D','G') ).toEqual( true );
expect( graph.addEdge('... | Typescript |
first called [`Unlinker::forget`].
struct Unlinker {
/// The location of the file to remove, or None if we shouldn't
/// remove it.
p: Option<PathBuf>,
}
impl Unlinker {
/// Make a new Unlinker for a given filename.
fn new<P: AsRef<Path>>(p: P) -> Self {
Unlinker {
p: Some(p.as_... | Rust |
b
ldrb r1, [r0]
movs r0, #0x1c
ands r0, r1
cmp r0, #8
bne _080751F0
strh r6, [r5, #0x1c]
strh r6, [r5, #0x1a]
strh r6, [r5, #0x18]
ldr r0, [r4, #0x10]
str r0, [r5, #0x10]
ldr r0, [r4, #0x14]
str r0, [r5, #0x14]
adds r0, r4, #0
adds r0, #0x27
ldrb r0, [r0]
adds r2, r5, #0
adds r2, #0x27
strb r0, [r2]
... | Assembly |
n()
}
fn write_buf<B>(&mut self, buf: &mut B) -> Poll<usize, io::Error>
where
B: Buf,
{
self.0.write_buf(buf)
}
}
impl TlsStream for SslStream {
fn tls_unique(&self) -> Option<Vec<u8>> {
let f = if self.0.get_ref().ssl().session_reused() {
SslRef::peer_finis... | Rust |
"""
/*
* Escribe un programa que muestre cómo transcurre un juego de tenis y quién lo ha ganado.
* El programa recibirá una secuencia formada por "P1" (Player 1) o "P2" (Player 2), según quien
* gane cada punto del juego.
*
* - Las puntuaciones de un juego son "Love" (cero), 15, 30, 40, "Deuce" (empate), ventaja.... | Python |
lause)
this.ctx.p.l = vname;
this.ctx.p.i = 0;
};
/**
* Instruction 'proceed'
*
* Look Continuation Point in `p`
*
*/
Interpreter.prototype.inst_proceed = function() {
if (this.ctx.cu) {
this._restore_continuation( this.ctx.cse.cp );
this._execute();
return;
}
// A disjunction is ava... | JavaScript |
system::RawOrigin;
use rand::{prelude::SliceRandom, rngs::SmallRng, SeedableRng};
use sp_arithmetic::{per_things::Percent, traits::One};
use sp_npos_elections::IndexAssignment;
use sp_runtime::InnerOf;
use sp_std::convert::{TryFrom, TryInto};
const SEED: u32 = 999;
/// Creates a **valid** solution with exactly the gi... | Rust |
{
if (this.cols.indexOf(key) === -1) {
this.cols.push(key);
}
}
}
// CREATE A TABLE.
const table: HTMLTableElement = <HTMLTableElement> document.createElement("table");
table.setAttribute('id', 'booksTable'); //... | Typescript |
_TEMPLATE, sequence, request.command)
request.params.forEach {
shellCommand += String.format(PARAM_TEMPLATE, it.first, it.second)
}
val broadcastReceiver = StringMatchReceiver(ADB_BROADCAST_SUCCESS_MESSAGE)
request.device.executeShellCommand(shellCommand, broadcastReceiver)
... | Kotlin |
_accountRepository = accountRepository;
_guidGenerator = guidGenerator;
}
public async Task SeedAsync(DataSeedContext context)
{
/* Instead of returning the Task.CompletedTask, you can insert your test data
* at this point!
*/
... | C# |
26.611 0 0 0 4.783-4.784c.336.601.623 1.196.846 1.775zM12 17.417a23.568 23.568 0 0 1-2.934-2.483A23.998 23.998 0 0 1 6.566 12A23.74 23.74 0 0 1 12 6.583a23.568 23.568 0 0 1 2.934 2.483a23.998 23.998 0 0 1 2.5 2.934A23.74 23.74 0 0 1 12 17.417zm6.012-13.383c.657 0 1.152.162 1.473.482c.656.656.638 2.117-.052 3.907c-.223.... | JavaScript |
.h"
#include "vm/cells/MerkleProof.h"
#include "vm/boc.h"
#include "block/block.h"
#include "block/block-parse.h"
#include "block/block-auto.h"
#include "validator/invariants.hpp"
namespace ton {
namespace validator {
using namespace std::literals::string_literals;
AcceptBlockQuery::AcceptBlockQuery(BlockIdExt id, ... | C++ |
**********************************************************************/
/*****************************************************************************
method_self_reset.cpp -- Test of method self reset.
Original Author: Andy Goodrich
*****************************************************************************... | C++ |
c8291?rule=$_35.JPG alt="Product Image" style="width: 100%; height: 200px; object-fit: cover;"> <div style="padding: 16px;"> <div style="font-size: 1.2em; margin-bottom: 8px;">BMW 3er E36 Z3 Wischerrelais Wi-Wa Low2 Steuergerät 6135-8366381</div> <div style="color: #666; margin-bottom: 1... | HTML |
*/
VIDEO_PROFILE_PORTRAIT_720P_3 = 1052,
/** 1054: 720 × 960, frame rate 15 fps, bitrate 910 Kbps. */
VIDEO_PROFILE_PORTRAIT_720P_5 = 1054,
/** 1055: 720 × 960, frame rate 30 fps, bitrate 1380 Kbps. */
VIDEO_PROFILE_PORTRAIT_720P_6 = 1055,
/** 1060: 1080 × 1920, frame rate 15 fps, bitrate... | Typescript |
});
submachine_gun = AddRangedWeapon(Ammunition.Bullet, "submachine gun", I =>
{
I.Description = null;
I.SetAppearance("compact gun", null);
I.Glyph = Glyphs.submachine_gun;
I.Sonic = Sonics.weapon;
I.Series = null;
I.Rarity = 0;
I.Size = Size.Large;
... | C# |
, to the latest layer.
if (total_bitrate > sum) {
bitrates.back() += total_bitrate - sum;
} else if (total_bitrate < sum) {
bitrates.back() -= sum - total_bitrate;
}
return bitrates;
}
// Returns the minimum bitrate needed for `num_active_layers` spatial layers to
// become active using the configurat... | C++ |
Piece.L,
Piece.S,
Piece.Z,
];
export default class PieceQueue {
readonly root: HTMLDivElement;
bag: Array<Piece>
nextPeice: Piece;
swapPiece: Piece | null;
hasSwapped: boolean;
next: Array<GridSquare>
swap: Array<GridSquare>
constructor() {
this.root = document.... | Typescript |
able({})", addr),
}
}
}
pub mod evtree;
pub mod network;
pub mod evenv;
<filename>tests/tests.rs
#![deny(unsafe_code)]
#![deny(warnings)]
#![deny(clippy::all)]
use rocket::{
catchers, get,
http::{Accept, ContentType, Header, Status},
launch,
local::blocking::Client,
routes,
};
use rocke... | Rust |
dexOf('Chrome')>-1&&navigator.userAgent.indexOf('Edge')===-1||navigator.userAgent.indexOf('Firefox')>-1){var protocol=window.location.protocol;// Don't warn in exotic cases like chrome-extension://.
if(/^(https?|file):$/.test(protocol)){console.info('%cDownload the React DevTools '+'for a better development experience:... | JavaScript |
ndow
# (2) Get the autocorrelation logs and LPC params used
# to compute the LLR measure
R_clean, Ref_clean, A_clean = lpcoeff(clean_frame, P)
R_processed, Ref_processed, A_processed = lpcoeff(processed_frame, P)
A_clean = A_clean[None, :]
A_processed = A_processed[None,... | Python |
CHEFLUSH},
{"init in progress", AMR_SINIT_INPROG},
{"firmware spinning drives", AMR_SINIT_SPINUP},
{"init successfully done", AMR_SINIT_DONE},
{NULL, 0},
{"unknown init code", 0}
};
struct amr_code_lookup amr_table_drvstate[] = {
{"offline", AMR_DRV_OFFLINE},
{"degraded", AMR_DRV_DEGRA... | C |
></pre>
</section>
</cxx-section>
<cxx-section id="memory.observer.ptr">
<section>
<header><span class="section-number">5.2</span> <h1 data-bookmark-label="5.2 Non-owning pointers">Non-owning pointers</h1> <span style="float:right"><a href="#memory.observer.ptr">[memory.observer.ptr]</a></sp... | HTML |
let currentTetromino: Tetromino | undefined
let isBassPlaying: boolean
let isHiHatPlaying: boolean
let isDownKeyRepeating: boolean
let interrupted: boolean
let mainSequencerCounter: number
let bassSequencerCounter: number
let quarterTickQueue: Queue<Function>
let lastEighthTickTime: DOMHighResTimeStamp
let lastQuar... | Typescript |
strong> = <member 'quality' of 'ImageExport' objects></dt>
<dd><p>Quality/compression: minimum 1 (poor), maximum 100 (quality). Read/write integer.</p></dd>
<dt><strong>scale</strong> = <member 'scale' of 'ImageExport' objects></dt>
<dd><p>This is the scaling of the image. 100 = 100% etc. Read/write int... | HTML |
.tex_int();
}
pub(crate) unsafe fn geq_word_define(p: usize, w: i32) {
EQTB[p].val = w;
_xeq_level_array[p - (INT_BASE as usize)] = LEVEL_ONE;
}
pub(crate) unsafe fn save_for_after(t: i32) {
if cur_level > LEVEL_ONE {
if SAVE_PTR > MAX_SAVE_STACK {
MAX_SAVE_STACK = SAVE_PTR;
... | Rust |
6.44,17 8.67,17C10.89,17 13.11,19 15.33,19C17.56,19 19.78,17 22,17V19C19.78,19 17.56,21 15.33,21C13.11,21 10.89,19 8.67,19C6.44,19 4.22,20 2,21V19Z'
export const mdiPoolThermometer = 'M19 6C17.9 6 17 6.9 17 8V14.8C16.4 15.4 16 16.2 16 17C16 18.7 17.3 20 19 20S22 18.7 22 17C22 16.1 21.6 15.3 21 14.8V8C21 6.9 20.1 6 19 ... | JavaScript |
ppings[ingredient as Ingredients];
});
};
// This triggers a commit to the workspace from the stored values
// Best used to saving stuff
commitWorkspace = (): void => {
Object.entries(this.workspace).forEach(([ingredient, store]) => {
this.toppings[ingredient as Ingredients] = store.value;
})... | Typescript |
:= IDENTIFIER
{
VarDeclarator RESULT = null;
int aleft = ((java_cup.runtime.Symbol)CUP$Grm$stack.elementAt(CUP$Grm$top-0)).left;
int aright = ((java_cup.runtime.Symbol)CUP$Grm$stack.elementAt(CUP$Grm$top-0)).right;
Identifier a = (Identifier)((java_cup.runtime.Symbol) CUP$Grm$stack.elem... | Java |
detail in details.Take(50))
{
foreach (var column in columns)
{
var value = detail.ContainsKey(column) ? detail[column]?.ToString() ?? "" : "";
table.AddCell(new PdfPCell(new Phrase(value, cellFont)));
}
}
if (details.Count > 5... | C# |
cellent. Obtain the first addon for your rift warrior outfit.", cid)
player:addOutfitAddon(846, 1)
player:addOutfitAddon(845, 1)
if (player:hasOutfit(846, 1) or player:hasOutfit(845, 1)) and (player:hasOutfit(846, 2) or player:hasOutfit(845, 2)) then
player:addAchievement("Rift Warrior")
end
... | Lua |
ine robin_spheroid(Params const& , Parameters & par)
{
detail::robin::setup_robin(par);
}
};
#ifndef DOXYGEN_NO_DETAIL
namespace detail
{
// Static projection
BOOST_GEOMETRY_PROJECTIONS_DETAIL_STATIC_PROJECTION_FI(srs::spar::proj_robin, robin_spheroid)
... | C++ |
"BRYS", "Salomon")
var expected: Adult? = null
var count = 0
launch {
flow.collect {
++count
assertEquals(expected, it)
}
}
assertEquals(0, count)
repeat(10) { yield() }
... | Kotlin |
88074
YWRvcmlhcw== 188075
U2VjcmV0YXJ5 188076
IC9cLig= 188077
IHBvbGljw61hcw== 188078
LW1hbnk= 188079
IEx1Z2Fy 188080
0JrQvtC80L8= 188081
INin2YTYo9iz2KrYp9iw 188082
IGludGVybWVkaWFyeQ== 188083
INCT0LDQtw== 188084
IExTRA== 188085
IGZ1bmdlcmFy 188086
IEJ1Y2hhbmFu 188087
IGF0dGVudWF0aW9u 188088
IGVtaXNzw6Nv 188089
INGB0L... | Kotlin |
};
let a_re = anywhere_re(&needles, true);
let c_re = consecutive_re(&needles, true);
let cur_dir = env::current_dir().unwrap();
let sorted = db.sorted();
let sorted_main: Vec<_> = sorted
.iter()
.filter(|(p, _)| {
let path = PathBuf::from(p);
path.exists() &... | Rust |
ost, nodelay,
conf_get_bool(conf, CONF_tcp_keepalives));
if (error) {
fprintf(stderr, "无法打开连接:\n%s", error);
sfree(error);
return 1;
}
ldisc_create(conf, NULL, backend, plink_seat);
sfree(realhost);
}
main_thread_i... | C |
: user | null) : user is authorized =>
!!user && "refreshToken" in user;
// Updates the authToken if a user already exists with that ID
export const find = async (q: FilterQuery<user> = {}) : Promise<user[]> =>
(await getUserCollection ())
.find (q)
.toArray ()
.then (users => users.map (UserM... | Typescript |
r" then
-- Content-Disposition: form-data; name="encrypted-file"
if string.lower(res[1]) == 'content-disposition' and string.match(string.lower(res[2]),'name="?encrypted%-file"?') then
file = io.open(filename, "w+")
if not file then
ngx.say("fa... | Lua |
ExceptionHandler_fnid
.section .rodata.sceFNID
.align 2
.type sysDbgInitializePPUExceptionHandler_fnid, @object
.size sysDbgInitializePPUExceptionHandler_fnid, 4
sysDbgInitializePPUExceptionHandler_fnid:
.long -1017957062
.globl sysDbgReadPPUThreadContext_stub
.section .data.sceFStub.sys_lv2dbg
.align 2
.type ... | Assembly |
, a0-a5, fs0-fs1 and fa0-fa5.</pre></td></tr>
<tr><td width="15%"><pre class="display">rs2</pre></td><td width="40%"><pre class="display">Second source register number for operand x, can be GPR or FPR.</pre></td></tr>
<tr><td width="15%"><pre class="display">rs2’</pre></td><td width="40%"><pre class="display">Sec... | HTML |
SharedUtil.writeGpxFile(file, gpxFile);
if (exception == null) {
FileInputStream is = null;
try {
is = new FileInputStream(file);
String md5 = new String(Hex.encodeHex(DigestUtils.md5(is)));
String lastMd5 = app.getSettings().ITINERARY_LAST_CALCULATED_MD5.get();
if (!md5.equals(lastMd5)) {
... | Java |
l has-srclink"><h4 class="code-header">fn <a href="#tymethod.fmt" class="fnname">fmt</a>(&self, f: &mut <a class="struct" href="struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a><'_>) -> <a class="type" href="type.Result.html" title="type core::fmt::Result">Result</a></h4><a href=... | HTML |
/****************************************************************************
** Copyright (c) 2013-2014 Debao Zhang <hello@debao.me>
** All right reserved.
**
** Permission is hereby granted, free of charge, to any person obtaining
** a copy of this software and associated documentation files (the
** "Software"), to d... | C |
(Skytils.config.sendMessageOn270Score) Skytils.sendMessageQueue.add("/pc Skytils-SC > ${Skytils.config.message270Score.ifBlank { "270 score" }}")
}
if (!hasSaid300 && score >= 300) {
hasSaid300 = true
if (Skytils.config.createTitleOn300Score) GuiMa... | Kotlin |
/* XMRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
* C... | C |
"Brains")
local cost = Cosmetics.CostOf(itemType)
if brains < cost then
warn("BuyCosmetic: player doesn't have enough brains (you can say that again)")
return
end
local cosmetics, cosmeticsStore = Data.GetPlayerData(player, "Cosmetics")
for _, owned in pairs(cosmetics.Owned) do
if owned == item.Index then... | Lua |
tention({
required String currentVersion,
required int dataRetentionChangeInHours,
required UpdateDataRetentionOperation operation,
String? streamARN,
String? streamName,
}) async {
_s.validateNumRange(
'dataRetentionChangeInHours',
dataRetentionChangeInHours,
1,
115292... | Dart |
)
.invoke_4(
el.into(),
name.as_ptr() as u32,
name.len() as u32,
value.handle,
);
}
}
pub fn set_property<T>(el: impl Into<f64>, id: &str, v: T)
where
T: SetProperty,
{
T::set_property(el, id, v)
}
pub fn is_property_null(el: impl Into<f64>, ... | Rust |
Block command
Call Rhino.DeleteObjects(Rhino.LastCreatedObjects)
' Enable redrawing
Call Rhino.EnableRedraw(True)
End If
' Insert the block
Call Rhino.Command("_-Insert " & Chr(34) & bname & Chr(34) & " _Block", 0 )
End Sub
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ... | Markdown |
, s[s_p_out:s_p_out+3], s[s_out_offset] offen offset:0
s_mov_b64 exec, -1
v_cmpx_le_u32 vcc, 1, v[v_out_flag+4]
buffer_load_short_d16 v[v_gld_a+4], v[v_out_os+4], s[s_p_out:s_p_out+3], s[s_out_offset] offen offset:0
s_mov_b64 exec, -1
v_cmpx_le_u32 vcc, 1, v[v_out_flag+5]
buffer_load_short_d16 v... | Assembly |
�时使用。比如 `CheckClassAdapter` 用于校验字节码文件是否正确、`CheckMethodAdapter` 用于校验方法调用是否正确、`Textifier` 用于输出字节码指令、`TraceClassVisitor` 打印出类的所有的访问。这些类通常不会在运行时使用,这也是把它们和 `asm.jar` 核心 `API` 进行剥离的原因。
### 2. 核心 API
在 `ASM` 的核心 `API` 中,按照对 `class` 文件处理的划分有:类处理(`ClassVisitor`、`ClassReader`)、注解处理(`AnnotationVisitor`)、方法处理(`MethodVisitor`)和字段... | Markdown |
ServletResponse}
*/
@Override
public void setCookie(HttpServletRequest request, HttpServletResponse response, SSOToken ssoToken) {
/*
* 设置加密 Cookie
*/
SSOCookie ssoCookie = this.generateCookie(request, ssoToken);
/*
* 判断 SSOToken 是否缓存处理失效
* <p>
... | Java |
.w3.org/1999/xlink" width="20" height="20" preserveAspectRatio="xMidYMid meet" viewBox="0 0 20 20"><path fill="currentColor" d="M5 1h2v2H5V1zm0 8h2v2H5V9zm0 8h2v2H5v-2zM9 1h2v2H9V1zm0 4h2v2H9V5zm0 4h2v2H9V9zm0 4h2v2H9v-2zm0 4h2v2H9v-2zm4-16h2v2h-2V1zm0 8h2v2h-2V9zm0 8h2v2h-2v-2zM1 1h2v2H1V1zm0 4h2v2H1V5zm0 4h2v2H1V9zm0... | Dart |
Ltd, and the world's leading authority on the world's leading RTOS.
http://www.FreeRTOS.org/plus - A selection of FreeRTOS ecosystem products,
including FreeRTOS+Trace - an indispensable productivity tool, a DOS
compatible FAT file system, and our tiny thread aware UDP/IP stack.
http://www.FreeRTOS.o... | Assembly |
property.tfResourceType"></a>
```java
public java.lang.String getTfResourceType();
```
- *Type:* java.lang.String
---
## Structs <a name="Structs" id="Structs"></a>
### CloudtrailAdvancedEventSelector <a name="CloudtrailAdvancedEventSelector" id="@cdktf/provider-aws.cloudtrail.CloudtrailAdvancedEventSelector"></a>... | Markdown |
['SEROLLOVER_28611_2'].src = '/bin/y/x/it2_medipublic2.gif'; return true;" onmouseout=" document.images['SEROLLOVER_28611_2'].src = '/bin/q/n/IT2_MediaPublic1.gif'; return true;"><img src="/bin/q/n/IT2_MediaPublic1.gif" name="SEROLLOVER_28611_2" align="" alt="" border="0" height="16" hspace="0" rolloverenabled="Yes" ro... | HTML |
_imba_rancor:IsStunDebuff() return false end
-------------------------------------------
function modifier_imba_rancor:OnCreated()
self.dmg_received_pct = self.dmg_received_pct or 0
self.max_stacks = self:GetAbility():GetSpecialValueFor("max_stacks")
end
function modifier_imba_rancor:DeclareFunctions()
return {
... | Lua |
(),d=this.getShadowDom();if(!b.workspace||!c&&!d)return null;if(c)return b=(0,module$exports$Blockly$serialization$blocks.appendInternal)(c,b.workspace,{parentConnection:a?this:void 0,isShadow:!0,recordUndo:!1});if(d){b=(0,$.module$exports$Blockly$Xml.domToBlock)(d,b.workspace);if(a)if(this.type===$.module$exports$Bloc... | JavaScript |
logger.LogError(ex, "An error occurred creating the DB.");
}
}
}
public static async Task Initialize(UserManager<IdentityUser> userManager, LoginContext context)
{
// Look for any students.
if (context.Users.Any())
{
return; // DB has been seeded
... | C# |
OLIVEOIL1),
COMPOST_POTION(Type.POTION, "Compost", "COM", ItemID.SUPERCOMPOST_POTION_4, ItemID.SUPERCOMPOST_POTION_3, ItemID.SUPERCOMPOST_POTION_2, ItemID.SUPERCOMPOST_POTION_1),
AGILITY(Type.POTION, "Agility", "Ag", ItemID._4DOSE1AGILITY, ItemID._3DOSE1AGILITY, ItemID._2DOSE1AGILITY, ItemID._1DOSE1AGILITY),
AGILIT... | Java |
result += input.substring(lastIndex);
}
return result;
}
}import { Editor } from '@ckeditor/ckeditor5-core';
import TableCellPropertyCommand from './tablecellpropertycommand';
/**
* The table cell background color command.
*
* The command is registered by the {@link module:table/tablecellpropert... | Typescript |
net Explorer (it is currently > 512 bytes)
// If you're creating a Project Pages site and NOT using a custom domain,
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in whi... | HTML |
versions.Bson
import org.junit.Test
import org.junit.experimental.categories.Category
import org.litote.kmongo.CoreCategory
import org.litote.kmongo.model.Friend
/**
*
*/
@Category(CoreCategory::class)
class ReactiveStreamsIndexTest {
val collection: MongoCollection<*> = mock()
val coroutine = collection.co... | Kotlin |
from the mollio templates
* available at http://mollio.org/. Mollio is triple-licensed
* under CC-BY, GPL, and CPL.
*/
a:link, a:visited {
text-decoration: none;
color: #892900;
}
a:hover, a:active {
text-decoration: none;
color: #530E00;
}
/* More layout and styles */
h1 {
font-size: 1.6em;
... | CSS |
subl[3] = krl;
subr[3] = krr;
camellia_roldq!(kll, klr, krl, krr, w0, w1, 15);
subl[6] = kll;
subr[6] = klr;
subl[7] = krl;
subr[7] = krr;
camellia_roldq!(kll, klr, krl, krr, w0, w1, 15);
subl[8] = kll;
subr[8] = klr;
subl[9] = krl;
subr[9] = krr;
camellia_roldq!(kll... | Rust |
/* Copyright © 2022 Lee Kelleher.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
using Newtonsoft.Json;
using Umbraco.Cms.Core.Strings;
namespace Umbraco.Commu... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.