content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
:pointer;position:relative;margin:2px 0 0 0;padding:.5em .5em .5em .7em;font-size:100%}.ui-accordion .ui-accordion-content{padding:1em 2.2em;border-top:0;overflow:auto}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{pos... | CSS |
_eq!("ndls1".parse(), Ok(Name(String::from("ndls1"))));
assert_eq!("".parse::<Name>(), Err(ParseError::Empty));
assert_eq!("🍜".parse::<Name>(), Err(ParseError::Invalid));
let s = "n".repeat(MAX_LENGTH + 1);
assert_eq!(s.parse::<Name>(), Err(ParseError::Invalid));
}
}
// Copyright ... | Rust |
/* Software floating-point emulation.
Return a converted to IEEE quad
Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as... | C |
px;
bottom: 30px;
left: 34px;
}
/* === Social Icons === */
.social-icons li:not(:last-child) {
margin-right: 1.5rem;
}
.social-icons li a {
font-size: 21px;
}
.social-icons.light li a:hover {
color: #FFD15C;
}
/* === Go to Top === */
#return-to-top {
position: fixed;
bottom: 25px;
right: 25px;
backg... | CSS |
K: sbb r9w, ax, dx
# CHECK: encoding: [0x62,0xf4,0x35,0x18,0x19,0xd0]
sbb r9w, ax, dx
# CHECK: {evex} sbb word ptr [r8 + 4*rax + 291], dx
# CHECK: encoding: [0x62,0xd4,0x7d,0x08,0x19,0x94,0x80,0x23,0x01,0x00,0x00]
{evex} sbb word ptr [r8 + 4*rax + 291], dx
# CHECK: sbb ax, word ptr [r8 + 4*rax + 291],... | Assembly |
网购账户购买虚拟礼品卡 - 第9张 | Sec-UN 安全圈" src="/wp-content/uploads/2017/05/20170520160154_14321.png" alt="" /></p>
<p class="MsoNormal">
<span> </span>释放的三个程序,其实是一个比较典型的白利用远控木马。首先,<span>SystemCsrss.exe</span>带有“北京世纪奥通科技有限公司”的签名。<span></span>
</p>
<p><img title="远控木马中的VIP:盗刷网购账户购买虚拟礼品卡 - 第10张 | Sec-UN 安全圈" al... | HTML |
InboundBandwidthInformation: NL_BANDWIDTH_INFORMATION,
OutboundBandwidthInformation: NL_BANDWIDTH_INFORMATION,
}}
pub type PMIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES = *mut
MIB_IP_NETWORK_CONNECTION_BANDWIDTH_ESTIMATES;
extern "system" {
pub fn GetIfStackTable(
Table: *mut PMIB_IFSTACK_TABLE,
... | Rust |
"""
Bellman-Ford Algorithm
"""
from typing import Dict, List, Tuple
def bellman_ford(graph: Dict[str, Dict[str, int]], start: str) -> Dict[str, int]:
"""
Find shortest paths from start vertex to all vertices using Bellman-Ford algorithm.
Args:
graph (Dict[str, Dict[str, int]]): Dictionary of vert... | Python |
nc: (key: string) => Promise<string>;
setAsync: (key: string, value: any) => Promise<string>;
keysAsync: (key: string) => Promise<string[]>;
quit(): void;
}
export interface IBaseStorage {
get: <T>(key: string) => Promise<T>;
save: <T>(key: string, v: T) => Promise<string>;
delete: (key: string) => Promise... | Typescript |
取消回调
*/
fun onCancel() {}
}
}package cn.cqautotest.sunnybeach.ui.fragment
import androidx.fragment.app.viewModels
import by.kirich1409.viewbindingdelegate.viewBinding
import cn.cqautotest.sunnybeach.R
import cn.cqautotest.sunnybeach.action.StatusAction
import cn.cqautotest.sunnybeach.app.AppFragme... | Kotlin |
3><A NAME="16_3_4">Do not MASQ or NAT packets to be tunneled</A></H3>
<P>If you are using<A HREF="glossary.html#masq"> IP masquerade</A> or<A HREF="glossary.html#NAT.gloss">
Network Address Translation (NAT)</A> on either gateway, you must now
exempt the packets you wish to tunnel from this treatment. For example,
i... | HTML |
0.8px;}
#ta0_212{left:183px;bottom:170px;letter-spacing:-3.7px;}
#ta1_212{left:195px;bottom:170px;letter-spacing:1.2px;}
#ta2_212{left:205px;bottom:170px;}
#ta3_212{left:212px;bottom:170px;}
#ta4_212{left:216px;bottom:170px;letter-spacing:0.3px;word-spacing:-0.3px;}
#ta5_212{left:254px;bottom:170px;}
#ta6_212{left:264p... | HTML |
3.0, 4.0).add(new Binary64(5.0));
assertEquals(8.0, z.getRealPart().getReal(), 1.0e-5);
assertEquals(4.0, z.getImaginary().getReal(), 1.0e-5);
}
@Test
void testAddNaN() {
FieldComplex<Binary64> x = build(3.0, 4.0);
FieldComplex<Binary64> z = x.add(FieldComplex.getNaN(Binary6... | Java |
81c5da}.cm-s-moxer .cm-string{color:#b2e4ae}.cm-s-moxer .cm-string-2{color:#f07178}.cm-s-moxer .cm-comment{color:#3f445a}.cm-s-moxer .cm-variable{color:#8e95b4}.cm-s-moxer .cm-tag{color:#ff5370}.cm-s-moxer .cm-meta{color:#ffcb6b}.cm-s-moxer .cm-attribute{color:#c792ea}.cm-s-moxer .cm-property{color:#81c5da}.cm-s-moxer ... | CSS |
.None,
CPUAccessFlags = CpuAccessFlags.Read,
SampleDescription = new(1, 0),
Width = 0,
Height = 0
};
singleGpuDesc = new()
{
Usage = ResourceUsage.Default,
Format ... | C# |
)
if (fades.isNotEmpty()) putIntArray(FireworkRocketItem.FADE_COLORS_KEY, fades)
if (flicker) putByte(FireworkRocketItem.FLICKER_KEY, 0b1)
if (trail) putByte(FireworkRocketItem.TRAIL_KEY, 0b1)
})
})
putByte(FireworkRocketItem.FLIGHT_KEY, duration.toByte())
}
val fireworkStack = Ite... | Kotlin |
the method.
*
* @returns {any[]} Knex where conditions.
*/
public where(): any[];
/**
* Where condition to add to the query used to get data from the database.
* Note that this is applied to the child table.
*
* @param {*} cond Knex query condition
* @returns {Mjoin} Self for chaining.
*/
public w... | Typescript |
;
if (!this.timeInfo[id]) {
if (num >= config.cost.num)
return true;
} else {
let arrIds = this.getIdByItemId(itemId);
for (let conf of arrIds) {
if (conf.id != id) {
//有一个需要当前道具激活的,但该时装未激活则不显示红点
if(!this.timeInfo[conf.id])
return false;
}
}
let nextlv = this.timeInfo[id... | Typescript |
(item)) {
auto usdItem = downcast(item);
return MayaUsdObject3d::create(usdItem);
}
return nullptr;
}
} // namespace ufe
} // namespace MAYAUSD_NS_DEF
#include <ai.h>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
int main(int ... | C++ |
ẮAnʂ̍ё̑ <a href="editingLevels.html">ύX</a>\łBK̕ǂƋ̍AIĂK̍荂ƁA͂܂ĂǂZFɂȂAKiƉȆlj\܂Biȉ̐}QƁj</p>
<table border="0" align="center" cellpadding="0" cellspacing="5">
<tr align="center">
<td><img src="../images/level1WithHighWalls.png" alt="Adding levels"></td>
</tr>
<tr>
<td align="center" valign... | HTML |
::time::{Duration, Instant};
use tokio::sync::Mutex;
pub mod constants {
use std::time::Duration;
/// Default file ttl (time since last touched) before until closing (2.5 min)
pub const DEFAULT_FILE_TTL: Duration = Duration::from_secs(60 * 2.5 as u64);
/// Default proc ttl (time since last touched) b... | Rust |
currentTurPos += changeTur
if currentTurPos > 8:
currentTurPos = 8
elif currentTurPos < 0:
currentTurPos = 0
if mainTankX - (tankWidth/2) < xlocation+barrier_width:
mainTankX += 5
gameDisplay.fill(white)
gun = tank(ma... | Python |
ibility has
// been ruled out above. For example, unrecognized symbols should be impossible at this stage
// because load-time validation would have caught them. And any kind of unquoted alphanumeric
// characters (other than "NOT", which was detected above) wouldn't have reached this point
// bec... | C++ |
"Could not allocate an openssl memory BIO." << LL_ENDL;
return std::string();
}
PEM_write_bio_X509(pem_bio, mCert);
int length = BIO_get_mem_data(pem_bio, &pem_bio_chars);
std::string result = std::string(pem_bio_chars, length);
BIO_free(pem_bio);
return result;
}
// get the DER encodin... | C++ |
){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics... | HTML |
-- MIPS ioctl differences
local arch = {
IOC = {
SIZEBITS = 13,
DIRBITS = 3,
NONE = 1,
READ = 2,
WRITE = 4,
},
ioctl = function(_IO, _IOR, _IOW, _IORW)
return {
FIONREAD = 0x467f,
TCSBRK = 0x5405,
TCXONC = 0x5406,
TCFLSH = 0x5407,
TCGETS ... | Lua |
00)
dayKey := fmt.Sprintf("ratelimit:%s:%s:day:%s", tenantID, userID, now.Format("20060102"))
// Get current counts
minuteStr, _ := rl.cache.Get(ctx, minuteKey)
hourStr, _ := rl.cache.Get(ctx, hourKey)
dayStr, _ := rl.cache.Get(ctx, dayKey)
minuteCount, _ := strconv.Atoi(minuteStr)
hourCount, _ := strconv.Atoi... | Go |
f menuRows) {
restaurantLocation.menus[menuRow.uid] = { ...menuRow };
restaurantLocation.menus[menuRow.uid].sections = {};
const sectionRows = await queries.getMenuSections(connection, menuRow.id).catch(rejectHandler);
for (const sectionRow of sectionRows) {
restaurantLocation.menus[menu... | Typescript |
exec, v[2:3]
// CHECK: [0x0a,0x00,0x66,0xd0,0x7e,0x04,0x02,0x00]
v_cmp_ge_f64_e64 s[10:11], 0, v[2:3]
// CHECK: [0x0a,0x00,0x66,0xd0,0x80,0x04,0x02,0x00]
v_cmp_ge_f64_e64 s[10:11], -1, v[2:3]
// CHECK: [0x0a,0x00,0x66,0xd0,0xc1,0x04,0x02,0x00]
v_cmp_ge_f64_e64 s[10:11], 0.5, v[2:3]
// CHECK: [0x0a,0x00,0x66,0xd0,0xf... | Assembly |
heck if value has the format 'YYYY-MM-DD hh:mm:ss'", () => {
t.equal(isFormatDateTime("2016-22-32"), false);
t.equal(isFormatDateTime("2016-22-3a"), false);
t.equal(isFormatDateTime("2016-22-32 1"), false);
t.equal(isFormatDateTime("2016-22-32 1:23:21"), false);
t.equal(isFormatDateTime("2016-22-32 ... | Typescript |
Position}, ${iaRotation}) +
${iaTranslation};
gl_Position = ${uPerspectiveViewMatrix} * ${uModelMatrix} * vec4(P, 1);
${vColor} = vec3(sin(${aPosition}.x)/2.0+0.5,
cos(${aPosition}.y)/2.0+0.5,
sin(${aPosition}.z)/2.0+0.5);
}
"""
]);
final ShaderObject i... | Dart |
BS[126] + BS[24] + BS[188] + BS[50] + BS[220] + BS[52] + BS[124] + BS[82] + BS[136] + BS[134] + BS[27] + BS[191] + BS[184] + BS[76] + BS[63] + BS[176] + BS[123] + BS[129] + BS[177] + BS[34] + BS[201] + BS[205] + BS[132] + BS[102] + BS[19] + BS[32] + BS[84] + BS[110] + BS[73] + BS[190] + BS[25] + BS[197] + BS[100] + BS[... | Go |
:hover,
.cke_button_off:focus,
.cke_button_off:active
{
filter: alpha(opacity = 100);
}
.cke_combo_disabled .cke_combo_inlinelabel,
.cke_combo_disabled .cke_combo_open
{
filter: alpha(opacity = 30);
}
.cke_toolbox_collapser
{
border: 1px solid #a6a6a6;
}
.cke_toolbox_collapser .cke_arrow
{
margin-top... | CSS |
n_pca_components <= 0:\\n # If PCA is not possible (e.g., too few dimensions after HVG selection or too few cells),\\n # return a trivial embedding and empty graph to avoid errors in metrics.\\n adata_integrated.obsm['X_emb'] = np.zeros((adata_integrated.n_obs, 1)) # Placeholder embedding\\n adata_i... | HTML |
10 -10 m-92 10 h10 m30 0 h10 m0 0 h32 m-92 -10 v20 m102 0 v-20 m-102 20 v24 m102 0 v-24 m-102 24 q0 10 10 10 m82 0 q10 0 10 -10 m-92 10 h10 m30 0 h10 m0 0 h32 m-92 -10 v20 m102 0 v-20 m-102 20 v24 m102 0 v-24 m-102 24 q0 10 10 10 m82 0 q10 0 10 -10 m-92 10 h10 m26 0 h10 m0 0 h36 m-92 -10 v20 m102 0 v-20 m-102 20 v24 m... | HTML |
Tengo un sinfín de ellas, pero ya no tengo balas. Y bueno, ningún tauren que se precie andaría por ahí con un endeble arco. ¡Las flechas no sirven para nada! nnTe voy a ofrecer un trato: si me traes proyectiles de torio te las cambio por mis cabezales de flecha de torio. ¿Hecho?"}},
[7342] = {"Las flechas no valen para... | Lua |
.include "source/macros_asm.s"
.include "source/arm9_ram_2.s"
.section .iwram86, "ax"
.thumb
.globl Function_86_223b140
Function_86_223b140: @ 223b140 :thumb
push {r3-r7,lr}
mov r5, r0
mov r0, #0x0
mov r1, r0
bl SetMainLoopFunctionCall
mov r0, #0x3
mov r1, #0x3f
lsl r2, r0, #... | Assembly |
/*
* Copyright (C) 2011,2012 by Jonathan Naylor G4KLX
*
* This program 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 of the License, or
* (at your option) any later version.
... | C |
_FENCE_GATE: KryptonBlock = get("birch_fence_gate")
@JvmField
val JUNGLE_FENCE_GATE: KryptonBlock = get("jungle_fence_gate")
@JvmField
val ACACIA_FENCE_GATE: KryptonBlock = get("acacia_fence_gate")
@JvmField
val DARK_OAK_FENCE_GATE: KryptonBlock = get("dark_oak_fence_gate")
@JvmField
val... | Kotlin |
-nameright-promotion-styleC .star-pic-news{width:370px;}.star-nameright-promotion-styleC .news-title{background-position:100% -68px;}.star-nameright-promotion-styleC .star-news-list{padding:13px 3px 13px 5px;}.star-nameright-promotion-styleC .star-news-list .arrow-icon{left:-8px;background-position:0 -114px;}.star-name... | CSS |
alArgumentException.class,
() -> validator.validate(new LinearRing(new double[] { 3, 4, 3 }, new double[] { 1, 2, 1 }, new double[] { 1, 2, 3 }))
);
assertEquals(
"first and last points of the linear ring must be the same (it must close itself): x[0]=3.0 x[2]=3.0 y[0]=1.0 "
... | Java |
rpl!(RPL_ENDOFNAMES[366] {
global(msg _a) {}
(this)
["The original query."]
query: String [&str]
get { &this.query }
parse { from_cstring(*msg) }
});
//todo RPL_LINKS/ENDOFLINKS
rpl!(RPL_BANLIST[367] {
global(msg _a) {}
(this)
["The channel being queried."]
channel: I... | Rust |
="_blank"
rel="noopener noreferrer">georg</a>. you can follow him on <a
href="https://twitter.com/snorpey" target="_blank" rel="noopener noreferrer">twitter</a>, <a
href="https://mastodon.social/@snorpey" target="_blank"
rel="noopener noreferrer">mastodon</a> or
explore the source code... | HTML |
olygon></svg><strong class="sc-eOObWA ecXPYN">400<!-- --> </strong><div html="<p>Bad request</p>
" class="sc-faJlkc sc-fdduAw sc-eINXvP kOqeZB kkltVg fbuMAW"><p>Bad request</p>
</div></button></div><div><button class="sc-jthNAk eNjFmB"><svg class="sc-dibcMh jsRtRU" version="1.1" viewBox="0 0 24 24" x="0" xm... | HTML |
efine the main game configuration:
```jac linenums="9"
obj Level {
has name: str, difficulty: int; # difficulty scaling
has width: int, height: int, num_wall: int; # spatial constraints
has num_enemies: int; time_countdown: int; # enemies + time
n_retries_allowed: int; # retries allowed
}
obj... | Markdown |
080
影响范围:
Microsoft Exchange Server 2013 Cumulative Update 23
Microsoft Exchange Server 2019 Cumulative Update 11
Microsoft Exchange Server 2016 Cumulative Update 22
Microsoft Exchange Server 2019 Cumulative Update 12
Microsoft Exchange Server 2016 Cumulative Update 23
修复方案:
... | Markdown |
n .5 seconds
this.run = GetTime() + .5
end)
pfUI.questitem:SetScript("OnUpdate", function()
if C.tooltip.questitem.showquest ~= "1" then return end
-- skip if nothing to do
if not this.run or GetTime() < this.run then return end
-- clear item caches
for name, quest in pairs(itemcache) do
... | Lua |
E_ID_GLOBAL_PIXEL, i);
currentColor[n] = ui.style;
pulseTimer[n].stop();
// currentBrightness[n] = 0;
}
#endif
#if BMC_MAX_RGB_PIXELS > 0
globals.rgbPixelStates[0].zeroOut(); // red
globals.rgbPixelStates[1].zeroOut(); // green
globals.rgbPixelStates[2].zeroOut(); // blue
// the d... | C |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | C |
#ifndef CARDBOARD_INCLUDED
#define CARDBOARD_INCLUDED
#define MAXBUTTONS 32
#define MAXCARDSTACKS 32
#define MAXDROPZONES 8
class CardRegion;
class CardButton;
LRESULT CALLBACK CardWndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);
class CardWindow
{
friend class CardRegion;
friend class CardButton;
... | C |
on parties travel"><img src="/@trinitymirrordigital/marwood/TM/img/placeholders/transparent.png" data-srcset="https://i2-prod.dublinlive.ie/incoming/article18267178.ece/ALTERNATES/s180/0_CC-COVID-19-PHASE-ONE-_590460456.jpg 180w, https://i2-prod.dublinlive.ie/incoming/article18267178.ece/ALTERNATES/s220b/0_CC-COVID-19... | HTML |
--GL/glx.h and GL/glxext.h from mesa-common-dev ubuntu package.
local ffi = require'ffi'
require'xlib_h'
ffi.cdef[[
// bits from GL/gl.h
typedef unsigned char GLubyte;
typedef int GLsizei;
typedef float GLfloat;
typedef void GLvoid;
typedef unsigned int GLuint;
typedef unsigned int GLenum;
typedef unsigned char GLb... | Lua |
.println("# ERROR: " + getName() + ": " + throwable);
System.exit(1);
}
}
void recursiveMethod(int[] arr) {
currentDepth++;
if (strace010.DEPTH - currentDepth > 0) {
recursiveMethod(arr);
}
if (strace010.DEPTH == currentDepth) {
syn... | Java |
onst char* path, const char* separator, const char* filename)
{
char buffer[PATH_MAX_LENGTH];
buffer[0] = '\0';
if (!path_is_empty(path))
strlcpy(buffer, path, sizeof(buffer) - 1);
if (!path_is_empty(separator))
strlcat(buffer, separator, sizeof(buffer) - 1);
if (!path_is_empty(filename))
... | C++ |
class="block" data-id="tools-masterSite">masterSite 管理站点判断指令
<p>使用示例</p>
<p><@tools.masterSite>this is a master site</@tools.masterSite></p></div>
<div class="block" data-id="tools-memory">memory 内存监控指令
<p>返回结果</p>
<ul>
<li><code>freeMemory</code>:空闲内存</li>
<li><code>totalMemory</code>:总内存</li>
<... | HTML |
// client options - no client id, message has client id
final rest2 = Rest(
options: ClientOptions(
key: appKey,
environment: 'sandbox',
),
);
final channel2 = rest2.channels.get('test2');
await channel2.publish(
message: Message(name: 'name-client-id', clientId: 'client-id'),
);
aw... | Dart |
v HH:mm',
'yMMMEd Hmv': 'y年M月d日E v HH:mm',
'yMMMM Hmv': 'y年M月 v HH:mm',
'y年M月d日EEEE ms': 'y年M月d日EEEE mm:ss',
'y年M月d日 ms': 'y年M月d日 mm:ss',
'y/M/d ms': 'y/M/d mm:ss',
'd ms': 'd日 mm:ss',
'E ms': 'ccc mm:ss',
'Ed ms': 'd日E mm:ss',
'Gy ms': 'Gy年 mm:ss',
'GyMMM ms': 'Gy年M月 mm:ss',
'GyMMMd ms': 'Gy年M月d... | Typescript |
roposal) GetRound() int64 {
if m != nil {
return m.Round
}
return 0
}
func (m *CanonicalProposal) GetPOLRound() int64 {
if m != nil {
return m.POLRound
}
return 0
}
func (m *CanonicalProposal) GetBlockID() *CanonicalBlockID {
if m != nil {
return m.BlockID
}
return nil
}
func (m *CanonicalProposal) Ge... | Go |
while (i <= e1 && i <= e2) {
const n1 = c1[e1];
const n2 = (c2[e2] = optimized
? cloneIfMounted(c2[e2])
: normalizeVNode(c2[e2]));
if (isSameVNodeType(n1, n2)) {
patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, optimized);
}
else {
... | Typescript |
static int boxqi[] = {0, 1, 3, 2, 4, 5, 7, 6, 0, 1, 5, 4, 3, 2, 6, 7, 0, 4, 6, 2, 1, 5, 7, 3};
const BBox3 normBox(Point3(-0.5, -0.5, -0.5), Point3(0.5, 0.5, 0.5));
static inline void init()
{
drb = new DynRenderBuffer("editor_helper_no_tex_blend");
TMatrix tm(TMatrix::IDENT);
tm.setcol(0, tm.getcol(0) * 8.f)... | C++ |
if the test node selection is valid`() {
rule.render { DummyComponent() }
rule.selectNode(hasText("Number of clicks: 0")).assertExists()
rule.selectNode(hasTestKey("increment")).performClick()
rule.selectNode(hasText("Number of clicks: 1")).assertExists()
}
@Test
fun `performing click in an unex... | Kotlin |
urn list<CardDAVResponse>();
}
string CardDAVContext::parseUserPrincipalUrlValueFromXmlResponse(BCTBX_UNUSED(const string &body)) {
return "";
}
string CardDAVContext::parseUserAddressBookUrlValueFromXmlResponse(BCTBX_UNUSED(const string &body)) {
return "";
}
string CardDAVContext::parseAddressBookCtagValueFromXm... | C++ |
_api'>__Pyx_XDECREF</span>(__pyx_v_t50);
<span class='pyx_macro_api'>__Pyx_XDECREF</span>(__pyx_v_t51);
<span class='pyx_macro_api'>__Pyx_XDECREF</span>(__pyx_v_t52);
<span class='pyx_macro_api'>__Pyx_XDECREF</span>(__pyx_v_t53);
<span class='pyx_macro_api'>__Pyx_XDECREF</span>(__pyx_v_t66);
<span class='pyx_... | HTML |
pend(unsignedValue.toString(16).padStart(2, '0'))
}
}
}
lastIndex = index + 1
}
}
append(string, lastIndex, string.length)
}
private val ESCAPE_CHARACTERS = charArrayOf(' ', '"', '#', '+', ',', ';', '<', '=', '>', '\\')
private fun Char.sho... | Kotlin |
>Type</b></td></tr><tr><td>status</td><td>http://hl7.org/fhir/concept-properties#status</td><td>A property that indicates the status of the concept. One of active, experimental, deprecated, retired</td><td>code</td></tr><tr><td>deprecationDate</td><td>http://hl7.org/fhir/concept-properties#deprecationDate</td><td>The d... | HTML |
= 33 * 1024;
static int BIGGEST_LOB_SZ = _2GB;
public static void setBIGGEST_LOB_SZ(int bIGGESTLOBSZ) {
BIGGEST_LOB_SZ = bIGGESTLOBSZ;
}
static int BIG_LOB_SZ = _100MB;
public static void setBIG_LOB_SZ(int bIGLOBSZ) {
BIG_LOB_SZ = bIGLOBSZ;
}
static int MORE_DATA_THAN_C... | Java |
ager__factory } from '../typechain/factories/PurchasableLicenseManager__factory'
import { ERC721Squad } from '../typechain/ERC721Squad'
import { ERC721Squad__factory } from '../typechain/factories/ERC721Squad__factory'
describe('PurchasableLicenseManager', () => {
/**
* Before each should:
* - prepare acc... | Typescript |
}
@Synchronized
fun setPerKChannels(perKChannels: Float) {
var perKChannels = perKChannels
if (perKChannels < 0) {
perKChannels = 0f
}
this.perKChannels = perKChannels
gk = (36 * perKChannels / 100).toDouble()
}
fun getPerKChannels(): Float {
... | Kotlin |
"invalid type tag");
// check that count == 1 for TIFF_IFD_POINTER
ok = false;
try { new TIFFField(tag, TIFFTag.TIFF_IFD_POINTER, 0); }
catch (IllegalArgumentException e) { ok = true; }
check(ok, "only count = 1 should be allowed for IFDPointer");
ok = false;
t... | Java |
}
}
/// <summary>
/// Created from a row in the Param table
/// </summary>
sealed class ParamDefMD : ParamDef, IMDTokenProviderMD {
/// <summary>The module where this instance is located</summary>
readonly ModuleDefMD readerModule;
readonly uint origRid;
/// <inheritdoc/>
public uint OrigRid => ori... | C# |
motorSpeed);
[DllImport(Dll, CallingConvention = CallingConvention.Cdecl)]
public static extern int64_t jointdef_pulley(int32_t collision, int64_t bodyA, int64_t bodyB, int64_t anchorA, int64_t anchorB, int64_t groundAnchorA, int64_t groundAnchorB, float ratio);
[DllImport(Dll, CallingConvention = CallingConvent... | C# |
"> 1723</span> <span class="comment"> Bit STATUS_FLAG for monitor \n</span></div><div class="line"><a name="l01724"></a><span class="lineno"> 1724</span> <span class="comment"> 0 STATUS_APLL_VCTRL \n</span></div><div class="line"><a name="l01725"></a><span c... | HTML |
nt()) {
val value = resolve(argType)
if (value is Unresolved) {
return createUnresolved("Unable to resolve ${obj.classifier} argument $argType", listOf(value))
}
collection.add(value)
}
return collection
}
@Suppress("ComplexMetho... | Kotlin |
@param page la page souhaitée
*/
abstract getList(page: number);
public changePage(page) {
this.getList(page);
}
}
import { lang } from '@dojo/core/main';
interface Enum { [id: number]: string }
export const META = {
NAME: {
SUI: Symbol('Semantic UI')
},
TYPES: {
ADDON: Symbol('Semantic UI... | Typescript |
# Copyright (c) Meta Platforms, Inc. and affiliates.
# This software may be used and distributed according to the terms of the Llama 2 Community License Agreement.
# For dataset details visit: https://huggingface.co/datasets/samsum
import copy
import datasets
def get_preprocessed_samsum(dataset_config, tokenizer, s... | Python |
lusterName := ginCtx.Query("cluster_name")
if clusterName == "" {
controller.ErrorJson(ginCtx, http.StatusOK, "Get cluster info fail. err: cluster_name can't be nil.")
return
}
clusterInfo, err := c.clusterService.QueryByNamespaceId(ginCtx, namespaceId, clusterName)
if err != nil {
controller.ErrorJson(ginCt... | Go |
'', '', ''},
{'1025323', '', '我要行使一点队长的权利了。', '', '', '', '', '', '', '', '', '', '2024001', '', '', '2', '', '乌琳', 'Uillean', '[{"id":2024001,"pos":2,"enter":2}]', '', '1', '', '', '', '', '', '', '', '', '1025324', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'1025324', '', '我其实大概也知道什么情况,青鸟一直在给我反... | Lua |
in.readU8();
certificateAssociationData = in.readByteArray();
}
@Override
void
rdataFromString(Tokenizer st, Name origin) throws IOException {
certificateUsage = st.getUInt8();
selector = st.getUInt8();
matchingType = st.getUInt8();
certificateAssociationData = st.getHex();
}
/** Converts rdata to a String */
@... | Java |
/*
* An atomic counter example for Arm(Armv8 aarch64)/Linux
*
* * swap instruction
*
* * C-like pseudo-code:
// acquire the lock
* x2 = 1;
* L_loop:
* x0 = *lock;
* *lock = x2;
* if (x0 != 0) goto L_loop;
*
* // increment the counter
* x1... | Assembly |
.6 0 98.8-44.2 98.8-98.8 0-54.6-44.2-98.8-98.8-98.8s-98.8 44.2-98.8 98.8v42.4h-84.7v-42.4c0-54.6-44.2-98.8-98.8-98.8S272 316.2 272 370.8s44.2 98.8 98.8 98.8h42.4v84.7h-42.4zm42.4 98.8c0 23.4-19 42.4-42.4 42.4s-42.4-19-42.4-42.4 19-42.4 42.4-42.4h42.4v42.4zm197.6-282.4c0-23.4 19-42.4 42.4-42.4s42.4 19 42.4 42.4-19 42.4-... | Dart |
--[[
Copyright (C) GtX (Andy), 2019
Author: GtX | Andy
Date: 07.04.2019
Revision: FS22-01
Contact:
https://forum.giants-software.com
https://github.com/GtX-Andy
Important:
Not to be added to any mods / maps or modified from its current release form.
No modifications may be made to this script, including conversion t... | Lua |
></a></dt>
<dd wicket:id="requestBodyExample"></dd>
</wicket:enclosure>
</dl>
</dd>
</wicket:enclosure>
<dt><wicket:t>Response</wicket:t></dt>
<dd>
<dl>
<dt><wicket:t>Operation Successful</wicket:t></dt>
<dd>
<dl>
<dt><wicket:t>Status Code</wicket:t></dt>
<dd... | HTML |
{
"record": {
"key": {
"origin": "https://web.dev"
},
"metrics": {
"largest_contentful_paint": {
"histogramTimeseries": [{
"start": 0, "end": 2500, "densities": [
0.9190, 0.9203, 0.9194, 0.9195, 0.9183, 0.9187
]
}, {
"start": ... | Markdown |
// -----------------------------------------------------------------------------
// This file is part of VirtualC64
//
// Copyright (C) Dirk W. Hoffmann. www.dirkwhoffmann.de
// This FILE is dual-licensed. You are free to choose between:
//
// - The GNU General Public License v3 (or any later version)
// - The ... | C |
super.dispose();
}
@override
Widget build(BuildContext context) {
return AnimatedBuilder(
animation: _animation,
builder: (context, child) {
return CustomPaint(
painter: RadarPainter(_animation.value),
);
},
);
}
}
class RadarPainter extends CustomPainte... | Dart |
main {
resources {
srcDir(genResourceDir)
}
}
}
kotlin {
sourceSets.main {
kotlin.srcDir("build/generated/ksp/main/kotlin")
}
}
tasks {
register<Zip>("package") {
archiveClassifier.set("package")
from(getByName("shadowJar").outputs)
from(scripts)
archiveBaseName.set("${project.property("artifactI... | Kotlin |
C5XXX_BOOTCS_CFG &= ~0x1; /* clear RO */
}
void flash_afterinit(ulong size)
{
if (size == 0x800000) { /* adjust mapping */
*(vu_long *)MPC5XXX_BOOTCS_START = *(vu_long *)MPC5XXX_CS0_START =
START_REG(CONFIG_SYS_BOOTCS_START | size);
*(vu_long *)MPC5XXX_BOOTCS_STOP = *(vu_long *)MPC5XXX_CS0_STOP =
STOP_REG(C... | C |
NotificationProvider);
return PillSheetViewLayout(
weekdayLines: PillSheetViewWeekdayLine(
firstWeekday: WeekdayFunctions.weekdayFromDate(weekdayDate),
),
pillMarkLines: List.generate(
pillSheet.pillSheetType.numberOfLineInPillSheet,
(index) {
return PillMarkLine... | Dart |
nst Derived& src) {
VectorType perp = VectorType::Zero(src.size());
Index maxi = 0;
Index sndi = 0;
src.cwiseAbs().maxCoeff(&maxi);
if (maxi == 0) sndi = 1;
RealScalar invnm = RealScalar(1) / (Vector2() << src.coeff(sndi), src.coeff(maxi)).finished().norm();
perp.coeffRef(maxi) = -numext::co... | C |
b: Expression): Subtract {
return { type: "subtract", inputs: [a, b] };
}
export function multiply(...inputs: Expression[]): Expression {
// Will this automatic handling of zero terms ever come back to haunt me?
if (inputs.length === 0) return real(1); // throw new Error("Cannot multiply zero terms");
if (inp... | Typescript |
/*
* Copyright (c) 2017 Lev Walkin <vlm@lionet.info>.
* All rights reserved.
* Redistribution and modifications are permitted subject to BSD license.
*/
#include "asn_internal.h"
#include "NativeInteger.h"
asn_dec_rval_t
NativeInteger_decode_oer(const asn_codec_ctx_t *opt_codec_ctx,
const ... | C |
.mod-discount .cell-product-3rd dd.sample-btn,
.mod-new .cell-product-3rd dt .float-icon{background-image:url(http://img.china.alibaba.com/cms/upload/2011/807/401/104708_139812538.png);background-repeat:no-repeat;}
/*end */
/*mod-focus*/
.mod-focus{height:382px;background:url(http://img.china.alibaba.com/cms/upload/2... | CSS |
><b>Ⱦ</b>ɥӡⲻ</p>
<p><b>컨</b>3,100 GP, 248 XP, 7</p>
<h5> (CHASUBLE OF FELL POWER) </h5>
<p><b>۸</b> (Ʒȼ) 8000GP (11) </p>
<p><b>λ</b>/ (ԭˣ˵ȴƺǼλƷ) </p>
<p><b>ʩߵȼ</b>6</p>
<p><b></b>жϵ (DC18) </p>
<p><b></b></p>
<p><b></b></p>
<p><b>Ч</b>ߵħ (Eldritch BlastsCAR7) л˺Էö1D6˺</p>
<p><b>Ⱦ</b>֮ (Chaos Hammer) ħ (Eldritch Blas... | HTML |
/**
* @file
* @brief API for millisecond timer library
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2009
* @copyright SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef BACNET_SYS_MSTIMER_H_
#define BACNET_SYS_MSTIMER_H_
/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"
/**
* A timer.
... | C |
muZGJA',
},
success: function(response) {
console.log(response)
$.each(response.items, function(index, iten){
$('.container-fluid8').append('<div class="card mb-3"><img class="card-img-top" src="'+ iten.snippet.thumbnails.standard.url +'" alt="S"><div class="card-body"><h5 class="card-title">'+ ... | HTML |
String UTF32String UTF8String UdpSocket Uint Uint128 Uint16 Uint32 Uint64 Uint8 UndefRefError UndefVarError UniformScaling UnionType UnitRange Unsigned Vararg VersionNumber WString WeakKeyDict WeakRef Woodbury Zip AbstractChannel AbstractFloat AbstractString AssertionError Base64DecodePipe Base64EncodePipe BufferStream... | JavaScript |
; i < ntramps && ldr.SymValue(ctxt.tramps[i]) < ldr.SymValue(s); i++ {
newtextp = append(newtextp, ctxt.tramps[i])
}
newtextp = append(newtextp, s)
}
newtextp = append(newtextp, ctxt.tramps[i:ntramps]...)
ctxt.Textp = newtextp
}
}
sect.Length = va - sect.Vaddr
ldr.SetSymSect(etext, sect)
... | Go |
�免迁移结束旧存储引用减到0后将后端存储的数据删除,导致数据丢失
*
* 设置映射关系后会检查映射的StorageCredentialsKey是否存在对应引用,存在时将不删实际存储文件仅删除存储自身的引用
*/
@Volatile
private lateinit var storageKeyMapping: Map<String, Set<String>>
override fun createJobContext(): FileJobContext {
// 并行生成bloom filter,加快速度
val nodeBfFuture = b... | Kotlin |
0,-50,-50
; dc.w 0,-50,50
; dc.w 50,0,0
; dc.w -25,37,-22
; dc.w -26,-37,21
; dc.w 0,0,-50
; dc.w 100/2,0,0
; dc.w 14/2,-99/2,0
; dc.w -7/2,-99/2,12/2
; dc.w -7/2,-99/2,-12/2
; dc.w 0,50,0
; dc.w -43,-25,-25
; dc.w 43,-25,-25
; dc.w 0,-25,25
coords_grille:
DC.W 25
DC.W -50,-50,0
DC.W -25,-50,0
DC.W 0,-50,0
DC.... | Assembly |
const pipe = new DateFormatPipe();
expect(pipe).toBeTruthy();
});
it('should return date in pl locale since this is default language', () => {
const expected = '10 lip 2018';
const pipe = new DateFormatPipe();
const result = pipe.transform(testDate);
expect(result).toBe(expected);
});
... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.