content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
this.resetMouseCoordinates.bind(this),
this.clearMouseCoordinatesTimeout,
);
this.mouseHandlerCb = throttle(this.mouseHandlerCb.bind(this), 50);
this.addCircles();
}
public start(): void {
this.addMouseListener();
this.updateCircles();
}
public stop(): void {
this.removeMouseList... | Typescript |
StormPeaks,43.26,59.11,70,0
.goto TheStormPeaks,44.93,61.45,70,0
.goto TheStormPeaks,45.77,57.91,70,0
.goto TheStormPeaks,43.82,55.42,70,0
.goto TheStormPeaks,41.79,53.43,70,0
.goto TheStormPeaks,38.81,54.06,70,0
.goto TheStormPeaks,38.58,59.45
.collect 43013,4,-1 -- Chilled Meat (4)
.goto Ironforge,24.83,73.83... | Lua |
px 1px 8px;
}
.label-text {
width: 40%;
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
user-select: none;
}
input[type='text'],
input[type='number'] {
background: $input-color;
border: 3px solid $background-color;
... | CSS |
addq %rbx, %r11
leaq (%r11,%rdx), %r12
movabsq $-5426079245872290139, %r11
rolq $7, %rax
addq %r11, %r13
movabsq $-6657276164713376882, %r11
leaq 0(%r13,%rsi), %rdx
addq %rcx, %r11
rolq $19, %r12
movq %r12, %r13
rolq $31, %rdx
addq %rsi, %r11
xorq %rax, %r13
rolq $53, %r11
movq %r11, %rbx
xorq %r13, %r... | Assembly |
const other = xs.empty().compose(delay(50));
const stream = source.compose(dropUntil(other));
let emissions = 0;
stream.addListener({
next: () => emissions++,
error: (err: any) => done(err),
complete: () => {
assert.strictEqual(emissions, 0);
done();
}
});
});
... | Typescript |
tps_port} ssl;"
if not "ipv6_http3_ssl_port_conf" in get.proxy_json_conf:
get.proxy_json_conf[
"ipv6_http3_ssl_port_conf"] = "{ipv6_port_conf}\n listen [::]:{https_port} quic;\n listen [::]:{https_port} ssl ;"
if not "ipv4_ssl_port_conf" in get.proxy_json_conf:
... | Python |
err(|e| Error::from(DatabaseIntegrityError::from(e)))?
.into(),
),
0x42 => VariantDictionaryValue::ByteArray(value_buffer.to_vec()),
_ => {
return Err(DatabaseIntegrityError::InvalidVariantDictionaryValueType {
... | Rust |
your range. Using default instead."))
}
}
fn check_min(min: String) -> Result<(), String> {
let num_or_err = is_u8(min);
match num_or_err {
Ok(num) => {
if num < 255 { return Ok(()) }
else { return Err(String::from("Minimum can't be 255.")) ... | Rust |
},
// {
// and(
// activeDidState("MRPIN.OSE"),
// activeDidState("flagTI.41"),
// )
// },
// {
// and(
// activeDidState("PIN.CH"),
// activeDidState("flagTI.33"),
// )
// },
// )
// CONTACTL... | Kotlin |
}
/*
* This file is part of VLCJ.
*
* VLCJ 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 3 of the License, or
* (at your option) any later version.
*
* VLCJ is distributed in the hope... | Java |
: 0, int page: 0}) async {
Map<String, dynamic> map = {
'tag_id': tagId,
'by_time': byTime,
'rank_type': rankType,
'page': page + 1
};
map.addAll(await getParam(login: true));
var response = await dio.get('/comic/rank/list', queryParameters: map);
if (response.statusCode == 2... | Dart |
ClassReferenceSig represents values that are a uint64 type
// signature referencing a type Entry.
ClassReferenceSig
// ClassString represents values that are strings. If the
// compilation unit specifies the AttrUseUTF8 flag (strongly
// recommended), the string value will be encoded in UTF-8.
// Otherwise, the... | Go |
Rover printing is still needed)."
[[Play All Mysteries]]
302535920012069, "Started Mystery"
302535920012070, "Switch Mystery"
302535920012071, "Turn this on to pick a new random mystery when you press Apply."
302535920012072, "Show Mystery"
302535920012073, "The popup msg will show the name of the new mystery."
3025359... | Lua |
or a bone in this frame.
/// </summary>
public void SetAttribute(int bone, AnimationChannelAttribute attribute, Quaternion data)
{
switch (attribute)
{
case AnimationChannelAttribute.Angle:
Bones[bone].Angle = data;
... | C# |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#ifndef _WIN_PATH_APIS_WRAPPER_
#define _WIN_PATH_APIS_WRAPPER_
class SString;
HMODULE
LoadLibraryExWrapper(
_In_ LPCWSTR lpLibFileName,
_Reserved_ HANDLE hFile = NULL,
... | C |
mCount++;
}
}
} else {
return false;
}
final String formattedValue;
if (mCount > 0) {
// If the user types 01, we should always show the leading 0 even if
// getShowLeadingZeroes() is false. Preserve ty... | Java |
v_cvt_f32_i32_dpp v5, v1 row_xmask:1 row_mask:0x0 bank_mask:0x0
// GFX10: encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x61,0x01,0x00]
v_cvt_f32_i32_dpp v5, v1 row_xmask:15 row_mask:0x0 bank_mask:0x0
// GFX10: encoding: [0xfa,0x0a,0x0a,0x7e,0x01,0x6f,0x01,0x00]
v_cvt_f32_u32_e32 v5, v1
// GFX10: encoding: [0x01,0x0d,0x0a,0x7e... | Assembly |
PathBuf::new()),
number: None,
nested_items: Vec::new(),
}
}
}
/// An item in `SUMMARY.md` which could be either a separator or a `Link`.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum SummaryItem {
/// A link to a chapter.
Link(Link),
/// A separato... | Rust |
int lowerBound = boundaries[level].getLowerBound();
int upperBound = boundaries[level].getUpperBound();
int bucketCountInLevel = 0;
int bucketCountOutOfRange = 0;
SortedMap<Integer, Integer> levelMap = bucketSizesPerLevel
.get(level);
Iterator<Integer> bucketSizeIterator = levelMap.keySet().iterato... | Java |
e REG_PM_CTRL_CONFIG_DFS_REQ_OFFS 18
#define REG_FABRIC_LOCAL_IRQ_MASK_ADDR 0x218C4
#define REG_FABRIC_LOCAL_IRQ_PMU_MASK_OFFS 18
/* Controller revision info */
#define PCI_CLASS_CODE_AND_REVISION_ID 0x008
#define PCCRIR_REVID_OFFS 0 /* Revision ID */
#define PCCRIR_REVID_MASK (0xff << PCCRIR_REVID_OFFS)
/* ... | C |
nore){
LOGGER.error("[IOException] : Connection Close");
} catch (Exception ignore) {
LOGGER.error("["+ ignore.getClass() +"] : Connection Close ", ignore.getMessage());
}
}
}
response.getOutputStream().flush();
response.getOutputStream().close();
} else {
response... | Java |
ccuracy_Coverage_Plot': acc_cov_plot,
'Calibration_Plot': calib_plot,
'Distribution_Plot': dist_plot
}
import csv
file_exists = os.path.isfile(summary_path)
with open(summary_path, 'a', newline='') as f:
writer = csv.DictWriter(f, fieldnames=row.keys())
if not file_exists... | Python |
ള് നല്കും. എന്നാല് (അത് വകവെക്കാതെ) അവര് അവിടെ താന്തോന്നിത്തം നടത്തും. (ശിക്ഷയെപ്പറ്റിയുള്ള) വാക്ക് അങ്ങനെ അതിന്റെ (രാജ്യത്തിന്റെ) കാര്യത്തില് സ്ഥിരപ്പെടുകയും, നാം അതിനെ നിശ്ശേഷം തകര്ക്കുകയും ചെയ്യുന്നതാണ്."
},
{
"surah_number": 17,
"verse_number": 17,
"content":
"നൂഹിന്റെ ശേഷം എത്രയെത... | Dart |
name="fillmode">填充模式</param>
/// <param name="tension">张力</param>
/// <param name="smooth">平滑</param>
public static void FillClosedCurve(this Graphics g, Color color, Point[] points, FillMode fillmode, float tension, bool smooth = true)
{
g.Smooth(smooth);
using ... | C# |
,所以对于编译器来说,它看到的代码是这样的:

在这段代码中,条件结构分支选择器的输入是一个常量 "Add",这就意味着程序每次都只会进入 "Add" 这一分支,而其它分支永远不会被执行到。编译器会把那些执行不到的分支移除,因此,优化后的程序代码等效如下:

程序中循环内所作的运算,在每次迭代中都是相同的,因此它可以被挪到循环之外,只运行一次。优化后代码等效如下:

程序中的平方运算的输入值是一个常量,因此这一运算会在编译时就完成,不必每次运行时再计算,等效优化后代码如下:
!... | Markdown |
40264587,0.3656192278208917 0.2555319297406261,0.36561897946282773 0.2555323281933608,0.3656187435271497 0.2555326053843297,0.3656185709367217 0.25553309935100665,0.36561829660823647 0.2555333499868314,0.36561817408400826 0.25553366757356527,0.3656181474782013 0.25553407737655087,0.36561813799763815 0.25553459293341557... | HTML |
tr, const GLint * v) {
// (*fnptr)(v);
// }
// static void glowTexCoord4s(GPTEXCOORD4S fnptr, GLshort s, GLshort t, GLshort r, GLshort q) {
// (*fnptr)(s, t, r, q);
// }
// static void glowTexCoord4sv(GPTEXCOORD4SV fnptr, const GLshort * v) {
// (*fnptr)(v);
// }
// static void glowTexCoord4xOES(GPTEXCOORD... | Go |
uding without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included... | Kotlin |
// // console.log('adding first point');
// data.unshift({ x: start, y: null });
// }
// tag: 如果数据截断,插入截断点 (用于标记截断位置)
if (pack.truncated) {
let lastTruncatedPoint: UbiDataChartPoint = _.last(data);
if (lastTruncatedPoint && las... | Typescript |
ItemData.PlayerTriggerListDialogTopics,
StoryItemData.ChangeDisposition,
StoryItemData.NpcStartFollow,
StoryItemData.NpcStopFollow,
StoryItemData.NpcActivate,
StoryItemData.NpcTravel,
StoryItemData.NpcPickUpItem,
StoryItemData.NpcAttack,
StoryItemData.NpcCome,
StoryItemData.NpcDeath,... | Python |
odel.APIs
{
public interface IAlertApi
{
public Task<List<AlertBoundary>> GetAllAlerts();
public Task<List<AlertBoundary>> GetAlertsByArea(string area);
}
} | C# |
) {
__m256i p0 = _mm256_load_si256(&poly[unit_2 + i]);
__m256i p1 = _mm256_load_si256(&poly[unit_2 + i + 1]);
__m256i p2 = _mm256_load_si256(&poly[unit_2 + i + 2]);
__m256i p3 = _mm256_load_si256(&poly[unit_2 + i + 3]);
cache_prefetch(&poly[i], _MM_HINT_T0);
... | C++ |
for key, (image_root, json_file) in _PREDEFINED_SPLITS_YTVIS_2021.items():
# Assume pre-defined datasets live in `./datasets`.
register_ytvis_instances(
key,
_get_ytvis_2021_instances_meta(),
os.path.join(root, json_file) if "://" not in json_file else json_file,
... | Python |
=NULL;var _mark=p.mark;{if(p.error_indicator){return NULL}var _literal;var star_targets_var;if((star_targets_var=star_targets_rule(p))&&(_literal=$B._PyPegen.expect_token(p,22))){_res=$B._PyPegen.dummy_name(p,star_targets_var,_literal);break}p.mark=_mark}_res=NULL;break}return _res}function _tmp_265_rule(p){if(p.error_... | JavaScript |
悬浮球
var showFloatBall by rememberSaveableStateOf(false)
val state = rememberAnyPopDialogState(updateInfo.should_update)
val forceUpdate = updateInfo.force_update == true
val installLauncher = rememberInstallApkLauncher {
// 回调并不准确
// if (it) {
// closeDialogAction()
// ... | Kotlin |
[suppress("UNNECESSARY_NOT_NULL_ASSERTION")]
public var javafx.scene.Scene.onMouseClicked: javafx.event.EventHandler<in javafx.scene.input.MouseEvent?>
get() = getOnMouseClicked()!!
set(v) = setOnMouseClicked(v)
[suppress("UNNECESSARY_NOT_NULL_ASSERTION")]
public var javafx.scene.Scene.root: javafx.scene.Par... | Kotlin |
mageID
return imageID
}
// Loads the container image id for the given browser version id. Expects the
// form of "<browser>-<impl>-vX.Y.Z" or "<impl>vX.Y" and the image id to be in the file
// "./impl/<impl>/vX.Y/<browser>-image.json" or "./impl/<impl>/v0.0.Z/<browser>-image.json"
function browserImageIDLookup(id:... | Typescript |
portion of the gauge face
private lateinit var skyPaint: Paint
/**
* Create a new instance.
*
* @param context
*/
constructor(context: Context?) : super(context) {
initDrawingTools()
}
/**
* Create a new instance.
*
* @param context
* @param attrs
... | Kotlin |
object[] constructorArgs) where T : Session
{
var type = typeof (T);
var constructorSignature = constructorArgs
.Select(arg => arg.GetType())
.ToArray();
var constructor = type.GetConstructor(constructorSignature);
if (constructor == null)
{
var message = String.Format(InvalidSession... | C# |
ate TLB
#if defined(LUNA2)
cmpl #-2,_mmutype | 68040?
jeq Lnocache0 | yes, cache already on
#endif
movl #CACHE_ON,d0
movc d0,cacr | clear cache(s)
Lnocache0:
/* final setup for C code */
movw #PSL_LOWIPL,sr | lower... | Assembly |
net.IInMessage
import io.horizontalsystems.ethereumkit.spv.net.les.messages.SendTransactionMessage
import io.horizontalsystems.ethereumkit.spv.net.les.messages.TransactionStatus
import io.horizontalsystems.ethereumkit.spv.net.les.messages.TransactionStatusMessage
import io.horizontalsystems.ethereumkit.spv.net.tasks.Se... | Kotlin |
2],0,function(){return this.year()%100}),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),
// ALIASES
J("year","y"),
// PRIORITIES
M("year",1),
// PARSING
Z("Y",Vd),Z("YY",Od,Kd),Z("YYYY",Sd,Md),Z("YYYYY",Td,Nd),Z("YYYYYY",Td,Nd),ba(["YYYYY","YYYYYY"],ae),ba("YYYY",function(b,c){c[ae]=2=... | JavaScript |
GL version string on SiS hardware
<li> Documentation update to meet the HTML 4.01 Transitional specification
</ul>
</ul>
</ul>
<hr align="center">
<ul class="none">
<li><b>1.3.1</b> [02-02-05]
<ul>
<li> New features:
<ul>
<li> Consistent Unix and Windows versioning
</ul>
<li> New extensions:
<ul>
<li> GL_EXT_framebuffe... | HTML |
req!.session!.token; // Express headers are auto converted to lowercase
if (token) {
// Sprawdzenie czy nie ma jakiegoś śmieciowego stringa
if (token.startsWith('Bearer ')) {
token = token.slice(7, token.length); //
}
// Weryfikacja tokena
... | Typescript |
'''Babbage problem'''
from math import (floor, sqrt)
from itertools import (islice)
# squaresWithSuffix :: Int -> Gen [Int]
def squaresWithSuffix(n):
'''Non finite stream of squares with a given suffix.'''
stem = 10 ** len(str(n))
i = 0
while True:
i = until(lambda x: isPerfectSquare(n + (ste... | Python |
,
}
cm.DialFunc = dialer.Dial
}
return cm, nil
}
func (cm *ConnectionManager) Dial(network, address string) (net.Conn, error) {
key := fmt.Sprintf("%s:%s", network, address)
// Try to get from cache first
cm.cacheMutex.RLock()
if cachedConn, exists := cm.connCache[key]; exists && *cachedConn != nil {
con... | Go |
},
{
"name": "Taylor Swift",
"genre": "Pop/Country",
"region": "USA",
"profileUrl": "assets/artist/Taylor_Swift.jpg",
},
{
"name": "The Weeknd",
"genre": "R&B/Pop",
"region": "Canada",
"profileUrl": "assets/artist/The_Weeknd.jpg",
},
{
"name": ... | Dart |
.at(selectedComponent);
}
catch (const std::out_of_range& e) {
}
if (currentComponent) {
currentComponent->setComponentName(std::string(evt.GetString()));
weaponComponentsListCtrl->SetItemText(selectedComponent, evt.GetString());
}
}
void cWeaponsToolkit::onComponentModelNameChanged(wxCommandEvent& evt)
{
... | C++ |
>
<body>
<!-- Example -->
<div class="container">
<div class="row">
<div class="col-md-12">
<nav class="navbar">
<ul class="list-unstyled">
<li><a href="./index.html">Inicio</a></li>
</ul>
</nav>
<div class="case-container">
<h3 ... | HTML |
class="sig-name descname"><span class="pre">_original__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">vertices</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">edges</span></span></em>, <em class="sig-param"><span class="n"><span c... | HTML |
="tsd-signature tsd-kind-icon">on<wbr/>Emptied<span class="tsd-signature-symbol">?:</span> <a href="../modules/Built_in_Components._internal_.html#ReactEventHandler" class="tsd-signature-type" data-tsd-kind="Type alias">ReactEventHandler</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" ... | HTML |
it and
* remove it from the challenge.<b>Interrupt:</b> When the challenges phase ends,
* kneel The Maidenvault to return it to shadows..<br><i>Beneath the Red Keep.</i><br>
**/
TheMaidenvaultBtRk = "THE_MAIDENVAULT_BtRK",
/**
* <h5>Tunnels of the Red Keep</h5>House Lannister.<br><b><i>King's
* Landi... | Typescript |
let buf = vec![0; width as usize * height as usize * pixel_format.byte_count()];
gl.active_texture(GL::TEXTURE0);
gl.bind_texture(GL::TEXTURE_2D, Some(&texture));
gl.pixel_storei(GL::UNPACK_ALIGNMENT, 1);
gl.pixel_storei(GL::PACK_ALIGNMENT, 1);
gl.tex_image_2d_with_i32_and_i32... | Rust |
务层**:业务逻辑、数据处理、外部接口
- **数据层**:数据访问、缓存管理、事务处理
- **基础设施层**:消息队列、数据库、缓存系统
- **监控层**:指标收集、日志记录、链路追踪
### 部署架构
- **容器化**:Docker 镜像、容器编排、资源管理
- **编排平台**:Kubernetes、Docker Swarm、Nomad
- **服务网格**:Istio、Linkerd、Envoy Proxy
- **CI/CD**:自动化构建、测试、部署流水线
### 数据架构
- **数据库分离**:每个服务独立数据库、数据隔离
- **数据同步**:事件驱动、消息队列、CDC 技术
- **缓存策略**:分... | Markdown |
properties: {x: 0, y: 0},
geometry: {
type: 'Point',
coordinates: [0, 0]
}
})
assert.deepEqual(line.geometries[0], {
type: 'LineString',
coordinates: [[0, 0], [0, 1], [1, 2], [2, 2]]
})
done();
});
});
it('-li... | JavaScript |
感受。</p>
<h3 id="s2-systems-">S2 Systems 登台亮相</h3>
<figure class="kg-card kg-image-card"><img src="https://blog.cloudflare.com/content/images/2020/11/image7-1-1.png" class="kg-image" alt="" loading="lazy"></figure>
<p>后来有人向我们介绍了 S2 Systems。我清晰记得首次尝试 S2 演示的体会,因为我的第一反应是:“这不正常,速度太快了。”S2 团队在隔离浏览器上另辟蹊径。他们没有往下推送屏幕画面的位图,而是推... | HTML |
ject_dir.name
info_file = project_dir / 'project_info.json'
if info_file.exists():
try:
info = json.loads(info_file.read_text())
workspace_basename = info.get('workspace_basename', '')
workspace_path = info.... | Python |
, $v0
/* 2A3B4 80039BB4 1E000286 */ lh $v0, 0x1E($s0)
/* 2A3B8 80039BB8 14000392 */ lbu $v1, 0x14($s0)
/* 2A3BC 80039BBC 2128A200 */ addu $a1, $a1, $v0
/* 2A3C0 80039BC0 12400000 */ mflo $t0
/* 2A3C4 80039BC4 21104800 */ addu $v0, $v0, $t0
/* 2A3C8 80039BC8 1E0002A6 */ sh ... | Assembly |
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing_extensions import Literal, Required, TypedDict
__all__ = ["ImageFileParam"]
class ImageFileParam(TypedDict, total=False):
file_id: Required[str]
"""
The [File](https://pl... | Python |
vice.

## How does it work?
It works together with the [Shazam Mac App](https://itunes.apple.com/us/app/shazam/id897118787?mt=12). When Shazam tags a song being played around you, the Shazam Scrobb... | Markdown |
2.300051q-91.393653-5.118045-167.944976 42.552885t-105.651062 131.095055l-157.635772-242.229737q73.114922-90.808733 177.669261-140.23442t218.759847-50.010607zM83.619672 231.481843l192.51159 378.735296q41.163701 81.669368 120.493391 123.929793t167.360057 25.736453l-131.387515 257.58387q-121.078311-18.86365-219.929685-89... | JavaScript |
i),s({code:e.code,before:!1,cellId:i??"__end__"})},t[3]=a,t[4]=s,t[5]=r,t[6]=i,t[7]=c,t[8]=f):f=t[8];const p=f;let m;t[9]!==c?(m=async()=>{await it(c)},t[9]=c,t[10]=m):m=t[10];const g=m,y="dark"===o?"dark":"light",b=r&&wY.has(r)?r:void 0;let x,v,w,k,S,C;return t[11]!==y||t[12]!==b||t[13]!==c?(x=A.jsx(Aa,{theme:y,langua... | JavaScript |
livingwithhippos.unchained.data.remote
import com.github.livingwithhippos.unchained.data.model.Authentication
import com.github.livingwithhippos.unchained.data.model.Secrets
import com.github.livingwithhippos.unchained.data.model.Token
import com.github.livingwithhippos.unchained.utilities.OPEN_SOURCE_CLIENT_ID
import... | Kotlin |
e() {
use zeroize::Zeroize;
let mut a = Fp::one();
a.zeroize();
assert!(bool::from(a.is_zero()));
}
//! The goal of this crate is to match Instagram's parsing of hashtags. So if you find strings that
//! aren't parsed correctly please open an issue 😃
//!
//! ## Example
//!
//! ```
//! use hashtag::{Ha... | Rust |
EQ,"imageSquare")});async function CQ(t,e){let{labelStyles:r,nodeStyles:n}=Qe(e);e.labelStyle=r;let{shapeSvg:i,bbox:a}=await pt(t,e,ht(e)),s=Math.max(a.width+(e.padding??0)*2,e?.width??0),l=Math.max(a.height+(e.padding??0)*2,e?.height??0),u=[{x:0,y:0},{x:s,y:0},{x:s+3*l/6,y:-l},{x:-3*l/6,y:-l}],h,{cssStyles:f}=e;if(e.l... | JavaScript |
span> sec.
No more than <span>4</span> Mantra Cores can be created.
`,
};
export const AnimusFocus: ISkill = {
name: "Animus Focus",
attr: "animus-focus",
prop: "animusFocus",
rank: 1,
row: 6,
column: 4,
minLevel: 0,
maxLevel: 10,
passive: true,
levelRequirement: [40, 40, 42, 44, 46, 48, 50, ... | Typescript |
html.sdoc');
meta::alias('ei', 'edit sdoc::js::core/caterwaul.init');
meta::alias('em', 'edit sdoc::js::core/caterwaul.macroexpander');
meta::alias('emo', 'edit sdoc::js::core/caterwaul.module');
meta::alias('eo', 'edit sdoc::js::core/caterwaul.composition');
meta::alias('ep', 'edit sdoc::js::core/caterwaul.parser');
m... | HTML |
build();
MessageTree tree = new DefaultMessageTree();
tree.setDomain("cat");
tree.setHostName("test");
tree.setIpAddress("test");
tree.setThreadGroupName("test");
tree.setThreadId("test");
tree.setThreadName("test");
tree.setMessage(message);
return tree;
}
}
/*
* Copyright (c) 2011-2018, Meituan ... | Java |
_G["weapons_table"]["weapons"]["bombs"]["RBK_500U"] = {
I = 210.116025,
L = 2.43,
Reflection = 0.03,
_unique_resource_name = "weapons.bombs.RBK_500U",
caliber = 0.4,
client = {
ED = {
default_delays = { 4 },
is_impact_function_disabled = true,
trigger_after_arming = true
},
Reflection = 0.03,
SAD... | Lua |
..strokeWidth =
deadzoneLineWidth < minLineWidth ? minLineWidth : deadzoneLineWidth
..strokeCap = StrokeCap.butt;
canvas.drawLine(
padRect.topCenter + Offset(0, padSpacing),
padRect.bottomCenter - Offset(0, padSpacing),
verticaldeadzoneLineStroke,
);
... | Dart |
'', '', '2', '', 'Battle_Normal_Prologue', '205', '30206211,30206211,30206213,30206213'},
{'302063', '', '测试怪物组', '泛用机动最终决战兵器。', '', '200102001', '30206315', '0', '0', '1', '', '', '', '3', '1', '3', '99', '', '', '', '', '', '', '', '', '', ''},
{'302063', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''... | Lua |
anguages.png");
}
#category-extension > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-extensions.svg");
}
#category-service > .category-icon {
list-style-image: url("chrome://mozapps/skin/extensions/category-service.png");
}
#category-theme > .category-icon {
list-style-image: ... | CSS |
postSetOwner },
{ "OUTPOST_ATTACKER", cbOutpostSetAttacker },
{ "OUTPOST_STATE", cbOutpostSetState },
{ "OUTPOST_EVENT", cbOutpostEvent },
{ "OUTPOST_SET_BUILDING_BOT_SHEET", cbOutpostSetBuildingBotSheet },
{ "EVENT_CREATE_NPC_GROUP", cbEventCreateNpcGroup },
{ "EVENT_NPC_GROUP_SCRIPT"... | C++ |
ObserveOption::Register as u8]);
let mut subject: Subject<Endpoint> = Subject::default();
subject.set_unacknowledged_limit(5);
subject.register(&request1);
subject.resource_changed(resource_path);
subject.resource_changed(resource_path);
subject.resource_changed(resourc... | Rust |
_INSTALL_USER_INTERACTION:
app = intent.getParcelableExtra(Installer.EXTRA_APP);
apk = intent.getParcelableExtra(Installer.EXTRA_APK);
PendingIntent installPendingIntent = intent.getParcelableExtra(Installer.EXTRA_USER_INTERACTION_PI);
... | Java |
riginal._nominalPowerInput, original._nominalPowerOutput));
}
public void UpdateValues()
{
if (!modifiers.IsDirty) { return; }
var prev = MechanicalNodeValues.Value with { };
if (!modifiers.Modify(MechanicalNodeValues)) { return; }
var curr = MechanicalNodeValues.Value;
... | C# |
3.3.1 + Numpy1.13<br>
windows和ubuntu环境都可以<br><br>
## 准备工作:<br>
请在[yolo2检测模型](https://pan.baidu.com/s/1ZeT5HerjQxyUZ_L9d3X52w)下载模型,并放到yolo2_model文件夹下<br><br>
## 文件说明:<br>
1、model_darknet19.py:yolo2网络模型——darknet19<br>
2、decode.py:解码darknet19网络得到的参数<br>
3、utils.py:功能函数,包含:预处理输入图片、筛选边界框NMS、绘制筛选后的边界框<br>
4、config.py:配置文件,... | Markdown |
ld(listitem);
delete listitem;
}
for (ConvolutionMatrixStock::iterator it = m_stock.begin(), end = m_stock.end();
it != end; ++it) {
base::SharedPtr<ConvolutionMatrix> matrix = *it;
ListItem* listitem = new ListItem(matrix->getName());
m_stockListBox->addChild(listitem);
}
... | C++ |
want.generated, generated)
})
}
}
func TestGetTFOutputs(t *testing.T) {
type args struct {
ctx context.Context
k8sClient client.Client
configuration v1beta2.Configuration
meta *TFConfigurationMeta
}
type want struct {
property map[string]v1beta2.Property
errMsg string
}
ct... | Go |
n = omap_pcm_open,
.close = snd_dmaengine_pcm_close_release_chan,
.ioctl = snd_pcm_lib_ioctl,
.hw_params = omap_pcm_hw_params,
.hw_free = omap_pcm_hw_free,
.trigger = snd_dmaengine_pcm_trigger,
.pointer = omap_pcm_pointer,
.mmap = omap_pcm_mmap,
};
static int omap_pcm_preallocate_dma_buffer(struct snd_pcm *... | C |
and does
/// the position translation.
pub struct PruneList {
path: Option<String>,
/// Bitmap representing pruned root node positions.
bitmap: Bitmap,
/// Bitmap representing all pruned node positions (everything under the pruned roots).
pruned_cache: Bitmap,
shift_cache: Vec<u64>,
leaf_shift_cache: Vec<u64>,
}... | Rust |
bdi>Introduction</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#background-and-motivation"><bdi class="secno">1.1 </bdi>Background and Motivation</a></li><li class="tocline"><a class="tocxref" href="#overview"><bdi class="secno">1.2 </bdi>Overview</a></li><li class="tocline"><a class="tocxref" href="#... | HTML |
return;
}
g.setColor(drawing);
g.drawLine(ins_left, ins_top, ins_left, h - ins_botom);
g.drawLine(ins_left, h - ins_botom, w - ins_right, h - ins_botom);
}
};
DrawItem mGrid = new DrawItem() {
DecimalFormat df = new DecimalFormat("###.#");
@Override
public void ... | Java |
asm 2: ldr >w11=r10,<w11_stack=[sp,#120]
ldr r10,[sp,#120]
# qhasm: t0 = r1 & r2
# asm 1: and >t0=int32#12,<r1=int32#3,<r2=int32#5
# asm 2: and >t0=r11,<r1=r2,<r2=r4
and r11,r2,r4
# qhasm: t1 = r3 & ~r1
# asm 1: bic >t1=int32#13,<r3=int32#6,<r1=int32#3
# asm 2: bic >t1=r12,<r3=r5,<r1=r2
bic r12,r5,r2
# qhasm: t0 ^=... | Assembly |
5, 5);
test(S("oknlrstdpi"), 'q', 9, 9);
test(S("eolhfgpjqk"), 'q', 10, S::npos);
test(S("pcdrofikas"), 'q', 11, S::npos);
test(S("nbatdlmekrgcfqsophij"), 'q', 0, 0);
test(S("bnrpehidofmqtcksjgla"), 'q', 1, 1);
test(S("jdmciepkaqgotsrfnhlb"), 'q', 10, 10);
test(S("jtdaefblsokrmhpgcnqi"), 'q... | C++ |
in range(num_folds):
new_seed=seed_list[num_fold]
info(f"Seed{new_seed}")
torch.manual_seed(new_seed)
np.random.seed(new_seed)
random.seed(new_seed)
model = MultiMixedInformationNetwork(dataset_type, task_num, fp_Linear_dim, dropout_FPN, cuda, hidden_size,
... | Python |
тся какие-то новые настройки, нужно просто скопировать эти настройки из оригинального `next/_config.yml` в редактируемый `/_config.yml` и настроить по своему усмотрению.
### Использование
1. Проверяем на существование `/source/_data/next.yml` файл (удаляем, если существует).
2. Копируем необходимые опции из конфига т... | Markdown |
] Michael Grant. Lagrangian optimization with matrix constrains, 2015.
[2] Wikipedia contributors. Frobenius inner product, 2020.
[3] Bernhard Schölkopf, Alexander Smola, and Klaus-Robert Müller. Kernel principal component analy-
sis. In Artificial Neural Networks—ICANN’97: 7th International Conference Lausanne, Swit... | Markdown |
iable_item_list_set_selected_item(
var_item_list, scene_manager_get_scene_state(app->scene_manager, UART_TerminalSceneStart));
view_dispatcher_switch_to_view(app->view_dispatcher, UART_TerminalAppViewVarItemList);
}
bool uart_terminal_scene_start_on_event(void* context, SceneManagerEvent event) {
UNUS... | C |
lent = true })
end
mapswap(">K", swap_next, "@block.outer", "next block")
mapswap(">F", swap_next, "@function.outer", "next function")
mapswap(">A", swap_next, "@parameter.inner", "next argument")
mapswap("<K", swap_prev, "@block.outer", "previous block")
mapswap("<F", swap_prev, "@function.outer", "previous function"... | Lua |
79323846
#endif
// Float to int cast with truncation.
static inline int cast_to_int(Resample_Real i)
{
return (int)i;
}
// (x mod y) with special handling for negative x values.
static inline int posmod(int x, int y)
{
if (x >= 0)
return (x % y);
else
{
int m = (-x) % y;
if (m != 0)
... | C++ |
hether the current note/frequency is on pitch
///
/// Considered on pitch when current frequency/note is in the tuning target and within a given error (local tolerance) of the closest frequency
bool get getIsOnPitch => _isOnPitch;
/// Returns current tuning
///
/// List of strings where each element is a s... | Dart |
68f2;}.amis-scope .cxd-IconPickerControl-input--borderHalf{border-left-color:transparent !important;border-right-color:transparent !important;border-top-color:transparent !important;}.amis-scope .cxd-IconPickerControl-input--borderNone{border-color:transparent !important;}.amis-scope .cxd-IconPickerControl.is-error > .... | CSS |
:to_writer(&mut out_docs, &title).expect("write docs.txt");
out_docs.push(b'\0');
for term in terms {
out_terms.append(&mut term.into_bytes());
out_terms.push(b'\0');
};
out_terms.push(b'\0');
};
File::create(out_dir.join("docs.txt"))
.expect("open... | Rust |
23.4615H21.6667V25.0769H20V23.4615H18.3333V21.8462H20V20.2308H21.6667V21.8462H23.3333V23.4615ZM26.9444 25.0769C26.6697 25.0769 26.4012 24.998 26.1728 24.8501C25.9444 24.7021 25.7664 24.4919 25.6613 24.2459C25.5561 23.9999 25.5286 23.7293 25.5822 23.4681C25.6358 23.207 25.7681 22.9672 25.9623 22.7789C26.1566 22.5906 26.... | CSS |
/* This file is part of COVISE.
You can use it under the terms of the GNU Lesser General Public License
version 2.1 or later, see lgpl-2.1.txt.
* License: LGPL 2+ */
#ifndef _osgBulletPlugin_PLUGIN_H
#define _osgBulletPlugin_PLUGIN_H
/***************************************************************************... | C |
l uniform mesh refinements.
const int P_INIT_X = 2,
P_INIT_Y = 2,
P_INIT_Z = 2; // Initial polynomial degree of all mesh elements.
const double TAU = 0.05; // Time step in seconds.
bool solution_output = true; // Generate outpu... | C++ |
}
```
**Error Responses**:
- **Code**: 500 Internal Server Error
- **Content**: `{ "error": "Failed to fetch supported chains" }`
### Get Message Types
Retrieves the list of supported message types for cross-chain messaging.
**URL**: `/cross-chain/message-types`
**Method**: `GET`
**Success Response**:
- **Cod... | Markdown |
example.com',
user => 'oracle',
group => 'dba',
download_dir => '/var/tmp/install',
log_output => true,
}
oradb::installem_agent{ 'em12104_agent2':
version => &#... | HTML |
author = "Zoltan Boros & Gabor Szikszai",
cardMarketLink = "http://store.tcgplayer.com/product.aspx?id=14021&partner=URZGTHR",
colorId = 2,
convertedManaCost = 3,
defense = 0,
flavorEn = @"The people of Terisiare had come... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.