content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
, 10, 10) != 0;
self.vpm_read.size = get_bits_u32(command, 9, 8) as usize;
self.vpm_read.addr = get_bits_u32(command, 7, 0) as usize;
if self.vpm_read.num == 0 {
self.vpm_read.num = 16;
}
if self.vpm_read.stride == 0 {
... | Rust |
fas',
iconName: 'handshake-alt-slash',
icon: [640, 512, [], "e05f", "M358.59,195.6,504.2,313.8a63.4,63.4,0,0,1,22.21,37.91H624a16.05,16.05,0,0,0,16-16V143.91A16,16,0,0,0,624,128H512L457.41,73.41A32,32,0,0,0,434.8,64H348.91a32,32,0,0,0-21.61,8.41l-88.12,80.68-25.69-19.85L289.09,64H205.3a32,32,0,0,0-22.6,9.41l-20... | JavaScript |
04 && mCacheLoader != null)) {
return;
}
commitHeaders();
}
// This commits the headers without checking the response status code.
@DSComment("Private Method")
@DSBan(DSCat.PRIVATE_METHOD)
@DSGenerator(tool_name = "Doppelganger", tool_version = "2.0", generated_on = "20... | Java |
}).WarmupCount(5).MeasurementCount(100).SampleGroup("SingletonAccess").Run();
}
[Test, Performance]
[Category("Performance")]
public void GetSingletonBuffer([Values] AccessType accessType)
{
int expectedLength = m_Manager.GetBuffer<EcsIntElement>(m_Entity).Length;
... | C# |
un isPressed(): Boolean {
return InputUtil.isKeyPressed(MC.window.handle, keyCode)
}
override fun isCtrl(): Boolean {
return keyCode in InputModifiers.controlKeys
}
override fun isAlt(): Boolean {
return keyCode in InputModifiers.altKeys
}
override fun isShift(): Boolean {
return keyCode in I... | Kotlin |
DispatcherTestDemo.subTitle(idx), s_arialPath, 18)
subTitle:setColor(cc.c3b(128,128,0))
self:addChild(subTitle, 1, 10001)
subTitle:setAnchorPoint(cc.p(0.5, 0.5))
subTitle:setPosition( cc.p(VisibleRect:center().x, VisibleRect:top().y - 60) )
end
end
local TouchableSpriteTest = class... | Lua |
{
activeFlyout->SetActiveOwner(owner);
}
return S_OK;
}
_Check_return_ HRESULT TextControlFlyoutHelper::ShowAt(_In_ CFlyoutBase* flyout, _In_ CFrameworkElement* owner, wf::Point point, wf::Rect exclusionRect, xaml_primitives::FlyoutShowMode showMode)
{
// For backward compatibility reason, we ... | C++ |
+58A9, U+58AB-58AE, U+58B0, U+58B3, U+58BB-58BF, U+58C2-58C3, U+58C5-58C8, U+58CA, U+58CC, U+58CE, U+58D1-58D3, U+58D5, U+58D8-58D9, U+58DE-58DF, U+58E2, U+58E9, U+58EC, U+58EF, U+58F1-58F2, U+58F5, U+58F7-58F8, U+58FA, U+58FD, U+5900, U+5902, U+5906, U+5908-590C, U+590E, U+5910, U+5914, U+5919, U+591B, U+591D-591E, U+... | CSS |
RMAT_R32_TYPELESS;
case DXGI_FORMAT_R8G8_UNORM:
case DXGI_FORMAT_R8G8_UINT:
case DXGI_FORMAT_R8G8_SNORM:
case DXGI_FORMAT_R8G8_SINT:
return DXGI_FORMAT_R8G8_TYPELESS;
case DXGI_FORMAT_R16_FLOAT:
case DXGI_FORMAT_D16_UNORM:
case DXGI_FORMAT_R16_UNORM:
case DXGI_FORMAT_R16_UINT:
... | C++ |
d_at = alerts.get('retrieved_at')
return process_alert_data(response, retrieved_at)
@display_spinner('Getting alerts for zone...')
def get_alerts_by_zone(session: CachedSession, zone: str) -> List[Alert]:
alerts = api_request(session, NWS_API_ALERTS_ZONE + zone)
response = alerts.get('response')
retrieved_at = al... | Python |
pName,
string? instanceLinkRole,
string name,
string? partnerAvailabilityGroupName,
string? partnerEndpoint,
string partnerLinkRole,
string? replicationMode,
string? seedingMode,
string type)
{
Az... | C# |
import glob
import logging
import os
import numpy as np
class FeatureHolder:
"""
Looks at the folder and load all .npy files as users/items features.
File formats:
<user/item>_<modality>_features.npy where modality can be text, image, audio, cf etc.
"""
def __init__(self, da... | Python |
agments.begin (); it != m_OutOfSequenceFragments.end ();)
{
if (ts > it->second.receiveTime + i2p::I2NP_MESSAGE_EXPIRATION_TIMEOUT)
it = m_OutOfSequenceFragments.erase (it);
else
++it;
}
// incomplete messages
for (auto it = m_IncompleteMessages.begin (); it != m_IncompleteMessages.end ();)
{
... | C++ |
from '@angular/core';
// @Pipe({name: 'replaceLineBreaks'})
// export class ReplaceLineBreaks implements PipeTransform {
// transform(value: string): string {
// let newValue = value.replace(/\n/g, '<br/>');
// return `${newValue}`;
// }
// }import yaml from "js-yaml"
import { Compiler, Stdio } from "../../... | Typescript |
-secondary .main-nav__secondary{display:block;top:50px}}.nav-item-1,.nav-item-10,.nav-item-11,.nav-item-2,.nav-item-3,.nav-item-4,.nav-item-5,.nav-item-6,.nav-item-7,.nav-item-8,.nav-item-9{display:none}.main-nav__secondary .nav-item-1,.main-nav__secondary .nav-item-10,.main-nav__secondary .nav-item-11,.main-nav__secon... | CSS |
<a href="http://sourceforge.net"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=13478&type=1" width="88" height="31" border="0" alt="SourceForge.net Logo" /></a>
</td>
</tr>
</table>
</div>
<!-- Copyright (c) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson -->
<!-- Permission is granted t... | HTML |
00201', '', '2', '寒霜守护', '特殊的强化效果,减少10%承受伤害,受击后有10%基础概率对攻击者施加冰冻,持续1回合', '702400201', '', '1', '', '702400201', '', '1', '1', '1', '1', '2', '2', '1', '1', '5', '', '4902', '', '', '', '', '', '', '', '', '', '', '', '702400201', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''},
{'702400202', '', '2',... | Lua |
1 values ( 'Charlie',52,4219.7,6151233689319516187,1246 );")
tk1.MustExec("insert into tbl_1 values ( 'Bob',55,3963.11,3614977408465893392,1188 );")
tk1.MustExec("insert into tbl_1 values ( 'Alice',203,72.01,1553550133494908281,1658 );")
tk1.MustExec("insert into tbl_1 values ( 'Bob',40,871.569,8114062926218465773,1... | Go |
40+2+16,62-48+8
D_routine Draw_resask_menu
both_jump WIN_Funct_accept
WIN_buserr:
D_miniframe 62-8,72,196+16,64,<"Oh dear...">
D_frame_up 64-8+32-20-1,72+24-16+5,192-64+40+2+16,62-48+8
D_routine Draw_buserr
both_jump WIN_Funct_accept
*-----------------------------------------------------------------------*... | Assembly |
C.BB.A4.EB.AE.A4.EB.8B.88.ED.8B.B0" name=".EC.BB.A4.EB.AE.A4.EB.8B.88.ED.8B.B0"> 커뮤니티 </h4>
<ul><li> 모질라 XML 포럼 보기...
</li></ul>
<p></p><ul>
<li><a href="https://lists.mozilla.org/listinfo/dev-tech-xml"> 메일링 리스트</a></li>
<li><a href="http://groups.google.com/group/mozilla.dev.tech.xml"> 뉴스그룹</a></li>
<li><a hre... | HTML |
def solve(grid):
h = len(grid)
w = len(grid[0]) if h>0 else 0
out = [row[:] for row in grid]
shape_coords = [(i,j) for i in range(h) for j in range(w) if grid[i][j]==3]
pink_coords = [(i,j) for i in range(h) for j in range(w) if grid[i][j]==6]
if not shape_coords or not pink_coords:
retu... | Python |
/10/18.
*/
public class SlopeProgress extends BaseProgress {
/**
* 图像类型 ==》 没有图像
*/
public final static int IMGTYPE_NOT = 0;
/**
* 图像类型 ==》 对号
*/
public final static int IMGTYPE_SUCCESS = 1;
/**
* 图像类型 ==》 叉号
*/
public final static int IMGTYPE_ERROR = 2;
/**
... | Java |
asm.emitMOV_RegInd_Reg(GPR.EBX, GPR.EAX);
// advance to next pde entry
asm.emitADD_Reg_Imm(GPR.EBX, WORDSIZE);
// advance to next page address
asm.emitADD_Reg_Imm(GPR.EAX, 0x200000);
// stop count rollover over and is positive
// asm.emitCMP_Reg_Imm(GPR.EAX, 0x400... | Java |
akshanthad and Elaine
# YOLOv8/YOLOv5 Inference C++
This example demonstrates how to perform inference using YOLOv8 and YOLOv5 models in C++ with OpenCV's DNN API.
## Usage
```bash
git clone ultralytics
cd ultralytics
pip install .
cd examples/YOLOv8-CPP-Inference
# Add a **yolov8\_.onnx** and/or **yolov5\_.onnx** ... | Markdown |
User = dnkUser;
}
@Override
public void failure(Throwable exception) {
}
});
}
//http://bravenewgeek.com/implementing-spring-like-classpath-scanning-in-android/
private Set<Class<?>> getClasspathClasses() throws IOException, ClassNotFoundException {... | Java |
duration = 0.4,
predicted = true,
unique_buff_id = "stun_immunity",
keywords = {
buff_keywords.stun_immune,
},
}
templates.stun_immune_short = {
class_name = "buff",
duration = 1,
predicted = true,
unique_buff_id = "stun_immunity",
keywords = {
buff_keywords.stun_immune,
},
}
templates.stun_immune_medium ... | Lua |
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-sear... | HTML |
}
}
return distance;
}
init(arrayInput);
console.log(getMinDis('coding', 'practice'))
console.log(getMinDis('makes', 'coding'))
console.log(getMinDis('makes', 'perfect'))
import request from 'supertest'
import { app } from '../../app'
it('fails when an email that does not exist is supplied', async () => {
... | Typescript |
tr>
<tr><td>
<b>2.X.2.2.2.2</b><br>
CROSSING SITE/WATER CROSSING<br>
G*C*BY C- --*****<br>
</td><td bgcolor="#a0a0a0">
</td></tr>
<tr><td>
<b>2.X.2.2.2.2.1</b><br>
ASSAULT CROSSING AREA<br>
G*C*BY CA --*****<br>
</td><td>
N/A</td></tr>
<tr><td>
<b>2.X.2.2.2.2.2</b><br>
BRIDGE OR GAP<br>
G*C*BY CB --*****<br>
</td><td>
... | HTML |
= ((us.rCuspAddition - us.rObjAddition) / 24.0);
is.T = (is.T - 2415020.5) / 36525.0;
// Go calculate house cusp and angle positions.
#ifdef SWISS
if (FCmSwissAny()) {
SwissHouse(us.fProgress && us.nProgress != ptSolarArc ? is.Tp : is.T,
OO, AA, us.nHouseSystem,
&is.Asc, &is.MC, &is.RA, &is.Vtx,... | C++ |
tform_options_v2_annotations_proto_enumTypes[10].Descriptor()
}
func (CQRSType) Type() protoreflect.EnumType {
return &file_platform_options_v2_annotations_proto_enumTypes[10]
}
func (x CQRSType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use CQRSType.Descriptor instead.
... | Go |
n't be, especially
using a prebuilt libvorbis DLL), <tt>FILE *</tt> handles cannot be
opened in the application and then passed to vorbisfile to be used
by stdio calls from vorbisfile's different version of CRT. For this
reason, using <a href="ov_open.html">ov_open()</a> under Windows
without careful, expert linking w... | HTML |
"name": "Scroll pHAT",
"class": "board",
"type": "display, led",
"formfactor": "pHAT",
"manufacturer": "Pimoroni",
"description": "A 11 x 5 LED matrix",
"url": "https://github.com/pimoroni/scroll-phat",
"github": "https://github.com/pimoroni/scroll-phat",
... | HTML |
) {
return true;
}
}
}
return false;
}
function $hasStringValue(this$static, key){
return ':' + key in this$static.stringMap;
}
function $put(this$static, key, value){
return key == null?$putNullSlot(this$static, value):instanceOf(key, Q$String)?$putStringValue(this$static, dynamicCast(key, ... | HTML |
));
updated = true;
});
// log('doSetMod: is a mod, modRow = '+modRow+', value to set = '+_.chain(existingVals).omit(v => !v || v == 0).pairs().map(v => reModSpecs[v[0]].tag+':'+v[1]).value().join(',') );
Mods.tableSet( fields.Mods_saveSpec, modRow, _.chain(existingVals).omit(v => !v || v == 0).pair... | JavaScript |
count_extent_tiles,
trim_empty_cols=trim_empty_cols,
trim_empty_rows=trim_empty_rows,
has_area=has_area,
clear_building=clear_building,
crop_to_bounds=crop_to_bounds,
check_tiles_and_extents=check_tiles_and_extents,
make_extents=make_extents,
}
end | Lua |
_id': '97484',
'city': 'TILLER',
'loc': [-122.908088, 42.985896],
'pop': 534,
'state': 'OR'
},
{
'_id': '97486',
'city': 'UMPQUA',
'loc': [-123.535771, 43.374537],
'pop': 587,
'state': 'OR'
},
{
'_id': '97487',
'city': 'VENETA',
'loc': [-123.35159, 44.038235],
... | Dart |
/****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt3Support module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holding valid comm... | C |
(fraction * TimeOfDay.hoursPerPeriod).round() %
TimeOfDay.hoursPerPeriod;
newHour = newHour + widget.selectedTime.periodOffset;
}
return widget.selectedTime.replacing(hour: newHour);
case _HourMinuteMode.minute:
int minute = (fraction * TimeOfDay.minutesPerHour... | Dart |
span>',
area: '300px;',
shade: 0.8,
id: 'layuimini-notice',
btn: ['查看', '取消'],
btnAlign: 'c',
moveType: 1,
content:html,
success: function (layero) {
var btn = layero.find(... | HTML |
top:0;right:0;height:100%;width:34px;pointer-events:none}.x-btn-plain-toolbar-medium .x-btn-arrow-el.x-rtl{right:inherit;left:0}.x-keyboard-mode .x-btn-plain-toolbar-medium.x-arrow-focus .x-btn-arrow-el{border:1px solid #5fa2dd}.x-btn-over.x-btn-plain-toolbar-medium{border-color:#dbdbdb;background-image:none;background... | CSS |
br5h0)" height="52.6917" rx="13.0208" ry="13.0208" style="stroke:#009FDB;stroke-width:1.5625;" width="88.5417" x="19.7917" y="52.0833"/><text fill="#FFFFFF" font-family="Verdana" font-size="12.5" lengthAdjust="spacing" textLength="51.0417" x="38.5417" y="83.4005">Connect</text><rect fill="url(#ga5vith0br5h0)" height="5... | HTML |
&v1beta1.NetworkDisruptionSpec{
Drop: 0,
Corrupt: 0,
Delay: 100,
},
},
}
}
func setupDisruptionCron(disruptionCronName, namespaceName string) v1beta1.DisruptionCron {
return v1beta1.DisruptionCron{
ObjectMeta: metav1.ObjectMeta{
Name: disruptionCronName,
Namespace: namespaceNa... | Go |
value: any): boolean;
declare function warn(message: string): void;
interface ImixinsExtends {
<A>(CtorA: VueClass<A>): VueClass<A>;
<A, B>(CtorA: VueClass<A>, CtorB: VueClass<B>): VueClass<A & B>;
<A, B, C>(CtorA: VueClass<A>, CtorB: VueClass<B>, CtorC: VueClass<C>): VueClass<A & B & C>;
<A, B, C, D>(CtorA:... | Typescript |
( int i = 0; i < nCount; ++i )
{
CDmeCommentaryNodeEntity *pEntity = entities[i];
Assert( pEntity );
if ( pEntity )
{
pEntity->DrawInEngine( bDrawInEngine );
}
}
}
void CCommEditTool::ClientLevelInitPostEntity()
{
BaseClass::ClientLevelInitPostEntity();
DrawCommentaryNodeEntitiesInEngine( true );
A... | C++ |
amente carregada.\x3cbr\x3e\x3cbr\x3ePara deixar de receber esta mensagem, seleccione uma nova Camada-Base no \'\'switcher\'\' de camadas no canto superior direito.\x3cbr\x3e\x3cbr\x3eProvavelmente, isto acontece porque o \'\'script\'\' da biblioteca do Google Maps não foi incluído ou não contém a chave API correcta pa... | JavaScript |
columns:2fr 3fr 2fr 3fr auto}.BlockNode_nodeWrapper__DoBZe.BlockNode_template-rows-2fr-3fr-2fr-4fr__5B4LX{grid-template-rows:2fr 3fr 2fr 4fr}.BlockNode_nodeWrapper__DoBZe.BlockNode_template-rows-auto-2fr-3fr-2fr-4fr__cCx_2{grid-template-rows:auto 2fr 3fr 2fr 4fr}.BlockNode_nodeWrapper__DoBZe.BlockNode_template-rows-2fr... | CSS |
me = "ai_accuracy_report.pdf"
# except ValueError as e:
# # Handle error if no reports found or any issues during PDF generation
# return {"error": str(e)}
# # Email content
# email_body = "<h2>Your Weekly AI Emotion Accuracy Report</h2><p>Attached is your detailed report for the week from ... | Python |
Step};
use hbbft::NetworkInfo;
use network::{Adversary, MessageScheduler, NodeId, SilentAdversary, TestNetwork, TestNode};
type QHB = QueueingHoneyBadger<usize, NodeId, Vec<usize>>;
/// Proposes `num_txs` values and expects nodes to output and order them.
fn test_queueing_honey_badger<A>(mut network: TestNetwork<A,... | Rust |
import net.consensys.cava.eth.BlockBody
import net.consensys.cava.rlp.RLP
internal data class BlockBodiesMessage(
val reqID: Long,
val bufferValue: Long,
val blockBodies: List<BlockBody>
) {
fun toBytes(): Bytes {
return RLP.encodeList { writer ->
writer.writeLong(reqID)
writer.writeLong(buffe... | Kotlin |
string;
@Length(3, 100)
body!: string;
}
// 継承 OK
class X extends Post {}
const x = new X();
x.title = "AB";
x.body = "XX";
expect((await validate(x)).length).toBe(2);
});
// mixin
it("mixin", async () => {
// コンストラクタをとり、
// コンストラクタを拡張し、新しい機能を持つクラスを作成する
// 新しいクラスを返す
type Constructor... | Typescript |
olor = R.color.primary.color,
textSize = 12.dp,
maxLines = 1,
ellipsize = TextUtils.TruncateAt.END,
)
expand {
textView(
MATCH_PARENT,
text = person.name,
textColor = Color... | Kotlin |
BitLong( WEAPON_SUBTYPE_BITS );
}
#endif
#ifdef INFESTED_DLL // asw - check weapon subtype seperately, since we use it to say which marine we're controlling
if ( buf->ReadOneBit() )
{
move->crosshair_entity = buf->ReadShort();
}
if ( buf->ReadOneBit() )
{
move->forced_action = buf->ReadShort();
}
if ( bu... | C++ |
!= image_pointers_emulated.end())
{
uses_image_write = true;
compiler.atomic_image_vars_emulated.insert(it->second);
}
else
check_resource_write(args[2]);
break;
}
case OpAtomicStore:
{
uses_atomics = true;
auto it = image_pointers_emulated.find(args[0]);
if (it != image_pointers_emulated.en... | C++ |
*/
const val MAX_TORQUE = "TYPE_MAX_TORQUE_ID"
/**
* Category: Lap
*/
/**
* Lap Number - # of current lap
* Fields: [Field.LAP_NUMBER]
*/
const val LAP_NUMBER = "TYPE_LAP_NUMBER_ID"
/**
* Lap Time - Recording dura... | Kotlin |
" title="2025-03 归档">2025-03</a></h4>
</li>
<li class="py-2">
<h4><span class="badge" style="float: right;">84</span> <a href="/date/2025-02/" title="2025-02 归档">2025-02</a></h4>
</li>
<li class="py-2">
<h4><span cla... | HTML |
C%27a%2C%20F%2C%20FpChip%2C%20Fp2%3E">Instrument</a></li><li><a href="#impl-Into%3CU%3E-for-Fp2Chip%3C%27a%2C%20F%2C%20FpChip%2C%20Fp2%3E">Into<U></a></li><li><a href="#impl-Pipe-for-Fp2Chip%3C%27a%2C%20F%2C%20FpChip%2C%20Fp2%3E">Pipe</a></li><li><a href="#impl-Pointable-for-Fp2Chip%3C%27a%2C%20F%2C%20FpChip%2C%2... | HTML |
is.getToken();
while (this.getToken() === "dup") {
const index = this.readInt();
length = this.readInt();
this.getToken();
data = length > 0 ? stream.getBytes(length) : new Uint8Array(0);
lenIV = program.properties.privateData.lenIV;
cons... | JavaScript |
6.28-8.82.89-.42 1.87-.63 2.93-.63m.02-4c-1.66 0-3.23.34-4.65 1.02-3.54 1.69-5.51 4.82-7 8.02-2.42-2.55-5.52-4.94-9.68-4.94-.9 0-1.82.12-2.72.36-5.23 1.37-7.73 5.83-9.58 9.9-2.89-2.68-6.66-5.72-11.36-5.72-.94 0-1.89.12-2.81.37-5.61 1.48-8.52 6.7-10.85 10.9-.13.24-.35.62-.6 1.06-.61-.42-1.17-.82-1.48-1.04-3.78-2.69-8.0... | CSS |
typeText : 'دهق',
typePass : 'پێپهڕهوشه'
},
// Hidden Field Dialog.
hidden :
{
title : 'خاسیهتی خانهی شاردراوه',
name : 'ناو',
value : 'نرخ'
},
// Image Dialog.
image :
{
title : 'خاسیهتی وێنه',
titleButton : 'خاسیهتی دوگمهی وێنه',
menu : 'خاسیهتی وێنه',
infoTab : 'زانیاری وێنه',... | JavaScript |
oach that allows us to model queuing problems. Queuing problems are those in which “things” (usually people, but not always) are waiting for a service or services.</p>
<p>In a Discrete Event Simulation, entities flow through (and queue for) discrete sequential processes that use resources. The queues may be physical (p... | HTML |
hat is not
* not covered by upper categories
*/
#define ql_dbg_verbose 0x00008000 /* More verbosity for each level
* This is to be used with other levels where
* more verbosity is required. It might not
* be applicable to all the levels.
*/
#define ql_dbg_tgt 0x00004000 /... | C |
75,779.28 1356.68,778.7 1359.61,778.12 1362.54,777.54 1365.47,776.96 1368.4,776.38 1371.33,775.79 1374.26,775.21 1377.19,774.62 1380.12,774.03 1383.05,773.44 1385.98,772.85 1388.91,772.26 1391.84,771.66 1394.77,771.06 1397.7,770.46 1400.62,769.85 1403.55,769.24 1406.48,768.63 1409.41,768.02 1412.34,767.41 1415.27,766.7... | HTML |
l be,
txt = The text that will show when the player has reached this marker,
playsound = (true | false) Will Play a hud sound when reached this marker
freezePlayer = (true | false) Will freeze the player and vehicle for 3 seconds at this marker,
txt2 = Text that will show up 3 se... | Lua |
, // UNORDERED_ACCESS
ref<dx_texture> bloomTempTexture, // UNORDERED_ACCESS
bloom_settings settings);
void ambientOcclusion(dx_command_list* cl,
ref<dx_texture> linearDepth, // NON_PIXEL_SHADER_RESOURCE
ref<dx_texture> screenVelocitiesTexture, // NON_PIXEL_SHADER_RESOURCE
ref<dx_texture> aoCalculation... | C |
using System.Collections.Generic;
using System.Text;
namespace HT.Framework
{
/// <summary>
/// 词法分析器
/// </summary>
internal static class InstructionLexer
{
private static StringBuilder Builder = new StringBuilder();
private static char BOM = '\ufeff';
/// <summary>
... | C# |
32) over `Rate` type to minimize internal division
/// operation.
#[pallet::constant]
type GetStableCurrencyExchangeFee: Get<(u32, u32)>;
/// The limit for length of trading path
#[pallet::constant]
type TradingPathLimit: Get<u32>;
/// The DEX's module id, keep all assets in DEX.
#[pallet::constant]
... | Rust |
= {REINTERPRET_NODE, "1"})
public static void testD512toB512(double[] input, byte[] output) {
vectorRebracket(DSPEC512, BSPEC512, input, output);
}
@Run(test = "testD512toB512")
public static void runD512toB512() throws Throwable {
runRebracketHelper(DSPEC512, BSPEC512);
}
@Te... | Java |
-1.688,3.279-2.087,0.639-0.283,2.097-0.575,2.733-0.758,0.64-0.172,1.824-0.373,2.462-0.647,0.729-0.337,2.005-1.257,2.552-1.875,0.365-0.457,0.819-1.56,0.911-2.124,0.092-0.558-0.183-1.687-0.092-2.241,0-0.328,0.092-1.002,0.272-1.284,0.274-0.458,1.184-1.003,1.642-1.359,0.365-0.364,1.185-1.085,1.458-1.531,0.272-0.383,0.546-1... | JavaScript |
adprivate variable or shared by default
// 3. is a variable declared within an orphaned function: it is private to its enclosing parallel region
// ?? any other cases?? TODO
{
SgFunctionDefinition* func_def = getEnclosingFunctionDefinition(start_stmt);
ROSE_ASSERT (func_def != NULL);
if ... | C++ |
от по бумаге RU000A1020K7 меньше чем 1500: 139 шт.</li><li>Поиск оборота. На 3-й день (2025-01-29) из 10 оборот по бумаге RU000A1020K7 меньше чем 1500: 74 шт.</li><li>Поиск оборота. На 4-й день (2025-01-30) из 10 оборот по бумаге RU000A1020K7 меньше чем 1500: 76 шт.</li><li>Поиск оборота. На 5-й день (2025-01-31) из 10... | HTML |
rview.html#setClickable">setClickable</a>() and <a href="qheaderview.html#sectionPressed">sectionPressed</a>().</p>
<a name="//apple_ref/cpp/instm/QHeaderView/sectionHandleDoubleClicked" />
<h3 class="fn"><a name="sectionHandleDoubleClicked"></a>void QHeaderView::sectionHandleDoubleClicked ( int <i>logicalIndex</i> )&n... | HTML |
lt;a>Acme Laboratory, Inc</a></p><p><b>value</b>: 0.92 x10*9/L<span> (Details: UCUM code 10*9/L = '10*9/L')</span></p><h3>ReferenceRanges</h3><table><tr><td>-</td><td><b>High</b></td></tr><tr><t... | HTML |
from pathlib import Path
from tempfile import mkstemp
import pytest
from madminer.models import Observable
from madminer.utils.interfaces.hdf5 import EMPTY_EXPR
from madminer.utils.interfaces.hdf5 import _load_observables
from madminer.utils.interfaces.hdf5 import _save_observables
@pytest.fixture(scope="function")... | Python |
sert!(filepath.as_path().starts_with("/home/"));
assert!(filepath
.as_path()
.ends_with(".revault_coordinatord/config.toml"));
}
}
}
<gh_stars>1-10
/// Reports an intersection back to the traversal infrastructure.
///
/// If the intersection occurred within the cu... | Rust |
l not work with
// different borders. If they want different ones, they have to make their own InternalFrameUI class
fAquaBorder.setColors(fSelectedTextColor, fNotSelectedTextColor);
frame.setBorder(fAquaBorder);
fIsPallet = isPalette;
}
public void setPalette(final boolean i... | Java |
WindowService::class.java))
}
}
override fun onStart() {
super.onStart()
stopService(Intent(this, FloatingWindowService::class.java))
}
}
package com.carriez.flutter_hbb
/**
* Handle events from flutter
* Request MediaProjection permission
*
* Inspired by [droidVNC-NG] https://... | Kotlin |
ole.common.utils中的类">DateUtil</a></dt>
<dd>
<div class="block">将长整型数字转换为日期格式的字符串</div>
</dd>
<dt><a href="../com/ppdai/das/console/config/CorsConfig.html" title="com.ppdai.das.console.config中的类"><span class="typeNameLink">CorsConfig</span></a> - <a href="../com/ppdai/das/console/config/package-summary.html">com.ppdai.d... | HTML |
/*
* linux/arch/sh/kernel/led_microdev.c
*
* Copyright (C) 2002 Stuart Menefy <stuart.menefy@st.com>
* Copyright (C) 2003 Richard Curnow (Richard.Curnow@superh.com)
*
* May be copied or modified under the terms of the GNU General Public
* License. See linux/COPYING for more information.
*
*/
#include <linux/... | C |
"If you can't be a good example, then you'll just have to be a horrible warning.",
"I don't know why I keep hitting the escape button. I'm just trying to get out of here.",
"I'm not lazy. I'm on energy-saving mode.",
"I don't need a hairstylist, my pillow gives me a new hairstyle every morning."... | JavaScript |
protection = 'READONLY'"}, nil, nil},
FileIsDriverMalicious: {FileIsDriverMalicious, "indicates if the dropped driver is malicious", params.Bool, []string{"file.is_driver_malicious"}, nil, nil},
FileIsDriverVulnerable: {FileIsDriverVulnerable, "indicates if the dropped driver is vulnerable", params... | Go |
// SPDX-License-Identifier: GPL-2.0
#ifndef __LINUX_USB_ROLE_H
#define __LINUX_USB_ROLE_H
#include <linux/device.h>
struct usb_role_switch;
enum usb_role {
USB_ROLE_NONE,
USB_ROLE_HOST,
USB_ROLE_DEVICE,
};
typedef int (*usb_role_switch_set_t)(struct device *dev, enum usb_role role);
typedef enum usb_role (*usb_... | C |
* Function:
* RVA -> 0x014E2180
* Name -> Function UMG.ComboBoxString6ft.CollapseOptionsList
* Flags -> (Final, Native, Public, BlueprintCallable)
*/
void UComboBoxString6ft::CollapseOptionsList()
{
static UFunction* fn = nullptr;
if (!fn)
fn = UObject::FindObject<UFunction>("Function UMG... | C++ |
;
public float xMin = 0, yMin = 0, zMin = 0;
public float xMax = 0, yMax = 0, zMax = 0;
public float dimMax, dimMaxInv;
private String dirPath;
public void bindTexture(String texFilename) {
ResourceLocation textureResource = new ResourceLocation("eln", "model/" + dirPath + "/" + texFilenam... | Java |
live test)</small></a> <a class="wpt-source" href="https://github.com/web-platform-tests/wpt/blob/master/css/css-text/white-space/white-space-intrinsic-size-014.html"><small>(source)</small></a>
<li class="wpt-test"><a class="wpt-name" href="https://wpt.fyi/results/css/css-text/white-space/white-space-intrinsic-si... | HTML |
ต ถ ท ธ น บ ป ผ ฝ พ ฟ ภ ม ย ร ฤ ล ฦ ว ศ ษ ส ห ฬ อ ฮ ํ ะ ั า ๅ ำ ิ ี ึ ื ุ ู เ แ โ ใ ไ ฺ",
2: "! \" # ' ( ) * , - . / : @ [ \\ ] ‐ – — ‘ ’ “ ” … ′ ″",
3: "\u200b",
},
"ti": {
0: "፟ ሀ ሀ ሁ ሂ ሃ ሄ ህ ሆ ለ ለ ሉ ሊ ላ ሌ ል ሎ ሏ ሐ ሑ ሒ ሓ ሔ ሕ ሖ ሗ መ ሙ ሚ ማ ሜ ም ሞ ሟ ሠ ሡ ሢ ሣ ሤ ሥ ሦ ሧ ረ ሩ ሪ ራ ሬ ር ሮ ሯ ሰ ሱ ሲ ሳ ሴ ስ ሶ ሷ ሸ ሹ ሺ ሻ ሼ ሽ ሾ ሿ ቀ ... | Go |
scsi_conf |= RESET_SCSI;
if (sc->bios_control & CF284XEXTEND)
ahc->flags |= AHC_EXTENDED_TRANS_A;
/* Set SCSICONF info */
ahc_outb(ahc, SCSICONF, scsi_conf);
if (sc->adapter_control & CF284XSTERM)
ahc->flags |= AHC_TERM_ENB_A;
}
return (have_seeprom);
}
static int
ahc_aic7770_VL_setup(struct ahc_s... | C |
=t.name[0]&&(e="default"),ia.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function ya(t){var e=t.match(ca);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function Ea(t){for(var e={},n=0,r=t.length;n<r;n++)e[t[n].name]=t[n].value;return e}var ka=/^xmlns:NS\d+/,xa=/^NS\d+:/;fun... | HTML |
add213ps %ymm2, %ymm13, %ymm14 # ymm14 = (ymm13 * ymm14) + ymm2
vroundps $1, %ymm14, %ymm14
vmovaps %ymm4, %ymm15
vfmadd213ps %ymm13, %ymm14, %ymm15 # ymm15 = (ymm14 * ymm15) + ymm13
vfmadd231ps %ymm5, %ymm14, %ymm15 # ymm15 = (ymm14 * ymm5) + ymm15
vmulps... | Assembly |
}.gridster{font-size:104.73602295px;font-weight:bold;line-height:125%;fill:#212121;font-family:'Roboto','Calibri','Arial',sans-serif;text-transform:uppercase;transition:0.3s all ease;}.slogan{font-size:30px;font-weight:300;line-height:125%;fill:#FF4081;font-family:'Roboto','Calibri','Arial',sans-serif;transition:0.3s a... | CSS |
',
nationalNumber: 615,
stats: [80, 50, 50, 95, 135, 105],
types: ['Ice'],
},
{
name: 'Shelmet',
nationalNumber: 616,
stats: [50, 40, 85, 40, 65, 25],
types: ['Bug'],
},
{
name: 'Accelgor',
nationalNumber: 617,
stats: [80, 70, 40, 100, 60, 145],
types: ['Bug'],
},
{
name: 'Stunfisk',
nat... | Typescript |
Status.CANCELLED);
assertStatus("job6", Status.SUCCEEDED);
assertStatus("job7", Status.CANCELLED);
assertStatus("job8", Status.CANCELLED);
assertStatus("job9", Status.CANCELLED);
assertStatus("job10", Status.CANCELLED);
assertThreadShutDown();
Assert.assertFalse(this.runner.getLogger().get... | Java |
34;eventKey":"/","isShiftRequired":false},{"eventCode":"Digit7","eventKey":"/","isShiftRequired":true},{"eventCode":"Period","eventKey":"/","isShiftRequired":true},{"eventKey":"/","isShiftRequired"... | HTML |
from unittest import TestCase, main, skip
from c2py.core import CXXParser
from c2py.core.cxxparser import Arch, CXXParserExtraOptions
class ConstantType(TestCase):
@skip("always false: I don't know to to deal with this")
def test_undef(self):
src = """
#define A 1234
#undef A
... | Python |
entity);\r\n");
qc_printf(" return dummyVecPtr;\r\n");
qc_printf("}\r\n");
//
}
#endif
qc_printf("%s getter_%s_error(%s)\r\n", types[i], funcNameTypes[i], ENTITY_PARAM);
qc_printf("{\r\n");
qc_printf(" DEBUG_ERROR_GETTER(entity);\r\n");
... | C |
ers: Default::default(),
timestamps: Default::default(),
analog_channels: Default::default(),
status_channels: Default::default(),
line_frequency: Default::default(),
sampling_rates: Default::default(),
start_time: NaiveDateTime::from_timestamp(0, ... | Rust |
plicaScalingAbsoluteModulo: v1alpha1.NewInt32(1),
},
},
metric: &metricInfo{
spec: metric1,
levels: []int64{200}, // We are 10 times lower than the LowWatermark, we divide by 10 the # of replicas.
expectedUtilization: 200,
},
}
tc.runTest(t)
}
// TestReplicaCalcWithinAbs... | Go |
if overwrite_learner_info:
result["info"].update(
{
"learner_queue": self.learner_queue_size.stats(),
LEARNER_INFO: copy.deepcopy(self.learner_info),
"timing_breakdown": {
"learner_grad_time_ms": ti... | Python |
width / 2 && sourceRegion.width <= documentWidth) {
point.x = 0;
adjustX = true;
}
if (overflow.top > 0 && overflow.top <= sourceRegion.height / 2 && sourceRegion.height <= documentHeight) {
point.y = 0;
adjustY = true;
}
if (overflow.right > 0 && overflow.right <= source... | Typescript |
using AcTools.ExtraKn5Utils.Kn5Utils;
using AcTools.Kn5File;
using AcTools.Render.Base.Shaders;
using AcTools.Render.Kn5Specific.Textures;
using SlimDX;
using SlimDX.Direct3D11;
namespace AcTools.Render.Kn5Specific.Materials {
public static class Kn5MaterialExtension {
public static float GetPropertyValueA... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.