content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
LF: &str = "../../resources/kernel/vmlinux-hello-busybox-halt";
fn default_memory_config() -> MemoryConfig {
MemoryConfig { size_mib: 1024 }
}
fn default_kernel_config(path: PathBuf) -> KernelConfig {
KernelConfig {
path,
himem_start: 0x0010_0000, // 1 MB
cmdline: "console=ttyS0 i8042.... | Rust |
tPoint(inRect.left, inRect.top, startHeight, &corners[0]);
getPoint(inRect.right-1, inRect.top, startHeight, &corners[1]);
getPoint(inRect.left, inRect.bottom-1, startHeight, &corners[2]);
getPoint(inRect.right-1, inRect.bottom-1, startHeight, &corners[3]);
for (int i = 0; i < 4; ++i)
{
Ray ray(corners[i]... | C++ |
ng: [0x62,0xf1,0x64,0xcb,0x14,0xca]
vunpcklps %zmm2, %zmm3, %zmm1 {%k3} {z}
// CHECK: vunpcklps (%rcx), %zmm3, %zmm1
// CHECK: encoding: [0x62,0xf1,0x64,0x48,0x14,0x09]
vunpcklps (%rcx), %zmm3, %zmm1
// CHECK: vunpcklps 291(%rax,%r14,8), %zmm3, %zmm1
// CHECK: encoding: [0x62,0xb1,0x64,0x48,0x14... | Assembly |
ng></a> <typename MatrixT><br></td>
</tr>
<tr>
<td style="text-align: right;">class</td>
<td style="text-align: left;"><a href="../classuipc_1_1is__matrix_3_01_eigen_1_1_matrix_3_01_scalar_00_01_rows_00_01_cols_00_01_options_00209f23989f4c2eaf53edf139526fd2cf/"><strong>is_matrix< Eigen::Matrix< Scalar, Rows... | HTML |
COL not in df_train_full.columns:\\n df_train_full[HORIZON_COL] = 0 # Historical data is \\"horizon 0\\" relative to its own date.\\n\\n # --- Data Preprocessing: Handle Population and Transform Target ---\\n # Ensure population is not zero or NaN to prevent division by zero/NaNs.\\n # A small positive ... | HTML |
1096 miles'},
{from: 142, to: 74,title: 'SOF-MAD 1395 miles'},
{from: 142, to: 75,title: 'SOF-VIE 499 miles'},
{from: 142, to: 76,title: 'SOF-ZRH 794 miles'},
{from: 142, to: 79,title: 'SOF-BRU 1054 miles'},
{from: 142, to: 80,title: 'SOF-MUC 684 miles'},
{from: 142, to: 84,title: 'SOF-MAN 1384 miles'},
{from: 142, to... | HTML |
// NewExisting returns new existing resource
func (c *Resource) NewExisting(name string, _ client.Interface) interfaces.BaseResource {
return NewResource(name, "ready")
}
// NewResource creates new instance of Resource
func NewResource(key string, status interfaces.ResourceStatus) *Resource {
return NewResourceWith... | Go |
9643681fb64c83b377e4c70b1e4b76aa35ff1e410d01/0xbbfc33692c7d57839fde9643681fb64c83b377e4c70b1e4b76aa35ff1e410d01::kv_store::KVStore
```
```json
[
{
"state": {
"value": "0x7bffff7301cbcafe87a12a5a4e0f3798e9062743df6330eaa0ba2e92dd685a1e",
"value_type": "0xbbfc33692c7d57839fde9643681fb64c83b377e4c70b1e4b... | Markdown |
movw r3, #3444
ldrh r2, [r2, r3]
movw r3, #65535
cmp r2, r3
bne .L3198
b .L3187
.L3192:
uxth r10, r7
ldr r3, [r4, #-2672]
ldr r2, [r6, #2452]
mul r10, fp, r10
add r9, r3, r10
ldr r0, [r9, #8]
cmp r0, r2
bcc .L3189
.L3210:
ldrh r0, [r5]
b .L3211
.L3189:
mov r2, #0
add r1, sp, #12
str r3, [sp, #4]
bl... | Assembly |
animation: _controller.view,
builder: _buildChildren,
child: shouldRemoveChildren ? null : result,
);
}
}
// GENERATED CODE - DO NOT MODIFY BY HAND
// coverage:ignore-file
// ignore_for_file: type=lint
// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, ... | Dart |
unexpected case; $this ; $lit")
}
}
return constraints
}
}
}/*
* The Certora Prover
* Copyright (C) 2025 Certora Ltd.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License ... | Kotlin |
/**
* Copyright (c) 2021 OceanBase
* OceanBase CE is licensed under Mulan PubL v2.
* You can use this software according to the terms and conditions of the Mulan PubL v2.
* You may obtain a copy of Mulan PubL v2 at:
* http://license.coscl.org.cn/MulanPubL-2.0
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BAS... | C |
<b>use</b> <a href="../sui/event.md#sui_event">sui::event</a>;
<b>use</b> <a href="../sui/hex.md#sui_hex">sui::hex</a>;
<b>use</b> <a href="../sui/object.md#sui_object">sui::object</a>;
<b>use</b> <a href="../sui/object_bag.md#sui_object_bag">sui::object_bag</a>;
<b>use</b> <a href="../sui/package.md#sui_package">sui::... | Markdown |
if(ic.labels['residue'] === undefined) ic.labels['residue'] = [];
}
let prevReidueID = '';
for(let i in atomsHash) {
let atom = ic.atoms[i];
// allow chemicals
//if(atom.het) continue;
let label = {}; // Each label contains 'position', 'text... | JavaScript |
e mbuf as well?
rte_pktmbuf_free(((datapacket_dpdk_t*)pkt->platform_state)->mbuf);
xdpd::gnu_linux::bufferpool::release_buffer(pkt);
return;
}
#endif
//We need to flood
for(unsigned i=0;i<LOGICAL_SWITCH_MAX_LOG_PORTS;++i){
port_it = sw->logical_ports[i].port;
//Check port is not incomming port,... | C |
งระบบคลาวด์เข้ากับเครือข่ายของ Cloudflare ได้ เราให้ความยืดหยุ่นในส่วนของวิธีการที่คุณใช้เพื่อส่งการรับส่งข้อมูลนั้นมาให้เรา เชื่อมต่อสำนักงานและศูนย์ข้อมูลของคุณเข้ากับ Cloudflare ผ่านพันธมิตร SD-WAN หรือโครงสร้างพื้นฐาน Cloudflare for Offices ของเราที่จะเปิดตัวในเร็ว ๆ นี้ สิ่งที่มีให้ใหม่ในสัปดาห์นี้คือ คุณสามารถเริ... | HTML |
/nv-rliu)
- Trim trailing whitespace ([#4206](https://github.com/rapidsai/cugraph/pull/4206)) [@bdice](https://github.com/bdice)
- Automate C++ include file grouping and ordering using clang-format ([#4205](https://github.com/rapidsai/cugraph/pull/4205)) [@harrism](https://github.com/harrism)
- nx-cugraph: add more sho... | Markdown |
require('aria-query');
const schema = generateObjSchema();
module.exports = {
meta: {
docs: {
url: 'https://github.com/maranran/eslint-plugin-vue-a11y/blob/master/docs/rules/aria-props.md'
},
schema: [schema],
},
create (context) {
return VueUtils.defineTemplateBodyVisitor(context, {
... | JavaScript |
}
/*
MIT License
Copyright (c) 2020 Tiago Ornelas
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publis... | Kotlin |
height: calc(100% - 60px);
}
/* ====== [ menu fixed end ] ======== */
/* ====== [ Header Fixed start ] ======== */
.pcoded-header.headerpos-fixed {
position: fixed;
top: 0;
}
.pcoded-header.headerpos-fixed~.pcoded-main-container {
padding-top: 60px;
}
@media only screen and (max-width: 991px) {
.pco... | CSS |
try
{
try_Predicate();
lk = -1;
}
catch (p1A)
{
lk = -4;
}
b0 = b0A; e0 = e0A; l1 = l1A; if (l1 == 0) {end = e0A;} else {
b1 = b1A; e1 = e1A; l2 = l2A; if (l2 == 0) {end = e1A;} else {
b2 = b2A; e2 = e2A;... | JavaScript |
() */, IEnumerator_t8789118187258CC88B77AFAC6315B5AF87D3E18A_il2cpp_TypeInfo_var, L_33);
if (L_34)
{
goto IL_00be;
}
}
{
Int32U5BU5D_t2B9E4FDDDB9F0A00EC0AC631BA2DA915EB1ECF83* L_35 = __this->get__capnumlist_14();
Comparer_1_t0796DB4CA0FA9609FBB2A6AEBA7EDF7DD7EE23A2 * L_36 = Comparer_1_get_Default_m1368B8... | C++ |
ARA_TEST_TRUE_FATAL(event1.IsContainerStopped());
}
};
APSARA_UNIT_TEST_CASE(EventUnittest, TestIsContainerStopped, 0);
} // end of namespace logtail
int main(int argc, char** argv) {
logtail::Logger::Instance().InitGlobalLoggers();
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
//=... | C++ |
}
override fun onStopTrackingTouch(seekBar: DiscreteSeekBar?) {
}
})
}
}
}package luyao.direct.model.dao
import luyao.direct.DirectApp
import luyao.direct.model.AppDatabase
import luyao.direct.model.MMKVConstants
import luyao.direct.model.entity.SearchHisto... | Kotlin |
.include "source/macros_asm.s"
.word 3 @ # of Furnitures
@ Script, ?, ?, ?, ?, ?, Z, ?, Orientation, ?
.hword 8136, 2, 741, 0, 264, 0, 0, 0, 4, 0
.hword 8137, 2, 749, 0, 280, 0, 0, 0, 4, 0
.hword 8159, 2, 744, 0, 326, 0, 0, 0, 4, 0
.word 13 @ # of Overworlds
@ ID, Overworld, Movement, Trainer, Flag, Script... | Assembly |
ig.TVT_EVEN_TEAMS.equals("BALANCE"))
{
replyMSG.append("<center><table border=\"0\">");
for (final String team : tvtTeams)
{
replyMSG.append("<tr><td width=\"100\"><font color=\"LEVEL\">" + team + "</font> (" + teamPlayersCount(team) + " joined)</td>");
replyMSG.append("... | Java |
() {\n if (\n outOfRange(fragClipBounds[0], fragClipBounds[1], dataCoordinate) ||\n interpColor.a * opacity == 0.\n ) discard;\n gl_FragColor = interpColor * opacity;\n}\n"]),u=i(["precision highp float;\n#define GLSLIFY 1\n\nbool outOfRange(float a, float b, float p) {\n return ((p > max(a, b)) || \n ... | HTML |
turn primaryKeys
end
---
-- Returns the column names of the specified table.
-- @param string tableName The name of the table to search
-- @return table|nil Returns a table of the column names and nil in case of an error.
-- @realm shared
function sql.GetTableColumns(tableName)
local result = sql.Query("PRAGMA tab... | Lua |
eturn;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:q,forceKeepAttr:void 0};let a=e.length;for(;a--;){const n=e[a],{name:s,namespaceURI:l,value:h}=n,c=Mt(s);let d="value"===s?h:Ht(h);if(i.attrName=c,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,ye(L.uponSanitizeAttribute,t,i),d=i.attrValue,!at||"... | JavaScript |
t_id" => Stat::SetUnitId,
"player_color" => Stat::PlayerColor,
"player_color_palette" => Stat::PlayerColorPalette,
"show_energy" => Stat::ShowEnergy,
"show_shields" => Stat::ShowShields,
_ => return Err(anyhow!("Unknown stat {}", key)),
})
}
/// NOTE: Passing an empty string... | Rust |
17.609.146 13.989.012zm2.328 2.906c2.376-.016 4.923.828 7.229 2.463a1.09 1.09 0 00-.197.593v2.683c0 .599.489 1.093 1.088 1.093h2.688c.181-.004.364-.061.52-.156 2.995 4.401 3.647 9.756 1.652 13.563h-2.615c-.771 0-1.401.636-1.401 1.401v2.391c-3.989 1.735-9.333.297-13.276-3.984a16.682 16.682 0 01-2.068-2.797c.344-.369.55... | Dart |
.Networking;
/// using System;
/// using System.Text;
///
/// class DebugConnection : NetworkConnection
/// {
/// public override bool TransportSend(byte[] bytes, int numBytes, int channelId, out byte error)
/// {
/// StringBuilder msg = new S... | C# |
le-couponRecord .le-couponRecord-head[data-v-229b8b3e]{line-height:32px;font-size:14px;font-family:Microsoft YaHei;font-weight:400;color:#262626}.le-couponRecord .le-couponRecord-head .le-couponRecord-select[data-v-229b8b3e]{width:160px;margin-left:14px}.le-couponRecord .le-couponRecord-head .le-couponRecord-select[dat... | CSS |
from flask import Flask, render_template, request, flash # jsonif
from markupsafe import escape
app = Flask(__name__)
@app.route('/')
def homepage():
return render_template('site.html')
@app.route('/submit', methods=['POST'])
def submit_form():
if request.method == 'POST':
# Get data from the form
... | Python |
] - 1 + 0x30;
var fake_dv_hi = d2u(oob[leak_idx + 2])[1];
oob[leak_idx + 3] = u2d(fake_dv_lo + 1, fake_dv_hi);
/* Leak address of manager ArrayBuffer. This should be in the old space. */
spray_arr[target_idx][2] = this.manager_ab;
var manager_ab_lo = d2u(oob[leak_idx + 2])[0] -... | JavaScript |
C++23</cite></a>. 15 July 2020. URL: <a href="https://wg21.link/p2139r2">https://wg21.link/p2139r2</a>
<dt id="biblio-p2145r1">[P2145R1]
<dd>Bryce Adelstein Lelbach, Titus Winters, Fabio Fracassi, Billy Baker, Nevin Liber, JF Bastien, David Stone, Botond Ballo, Tom Honermann. <a href="https://wg21.link/p2145r1">... | HTML |
async fetch({flowPath, fromNodeId, fromNodeCode, req, skipData, key}: FlowFetchParam<Q>): Promise<FlowFetchResult<S>> {
this.flowPath = flowPath;
this.append(flowPath)
.defFlow()
.active(this.activeCode, {req})
.from({id: fromNodeId, code: fromNodeCode, start: true});
if (skipData =... | Typescript |
Setup(hook);
try (FDBRecordContext context = openContext()) {
openSimpleRecordStore(context, hook);
// Issue a query equivalent to:
// SELECT num_value_3_indexed, max(num_value_unique) as m FROM MySimpleRecord WHERE num_value_2 = ?numValue2 GROUP BY num_value_3_indexed
... | Java |
"谊不容辞": [["yì"], ["bù"], ["róng"], ["cí"]],
"谊不敢辞": [["yì"], ["bù"], ["gǎn"], ["cí"]],
"谊切苔岑": [["yì"], ["qiè"], ["tái"], ["cén"]],
"逸尘断鞅": [["yì"], ["chén"], ["duàn"], ["yāng"]],
"逸趣横生": [["yì"], ["qù"], ["héng"], ["shēng"]],
"逸态横生": [["yì"], ["tài"], ["héng"], ["shēng"]],
"逸闻趣事": [["yì"], ["wén"], ["qù"], ["shì"]],
... | Typescript |
.createElement('svg');
if (position === ':before') {
node.insertBefore(element, node.firstChild);
} else {
node.appendChild(element);
}
element.outerHTML = abstract.map(function (a) {
return toHtml(a);
}).join('\n');... | JavaScript |
dfe773/side-igloo-illustration-a30db4.png" style="margin: 50px -30px;"></section>'
}
</script>
<!-- Alive Footer -->
<script type="text/javascript">
(function() {
const entities = ['vipolus', 'mikev', 'chagi', 'souvlakia', 'babafaba'];
const commands = [
"sudo apt install %NAME%",
'git commit -m "%NAME% was... | HTML |
可分割的执行单元,组成事务的所有操作只有在所有操作均能正常执行的情况下方能提交,只要其中任一操作执行失败,都将导致整个事务的回滚。简单地说,事务提供一种“要么什么都不做,要么做全套(All or Nothing)”机制。
# 数据库本地事务
## ACID
说到数据库事务就不得不说,数据库事务中的四大特性,ACID:
- A:原子性(Atomicity)
一个事务(transaction)中的所有操作,要么全部完成,要么全部不完成,不会结束在中间某个环节。事务在执行过程中发生错误,会被回滚(Rollback)到事务开始前的状态,就像这个事务从来没有执行过一样。
就像你买东西要么交钱收货一起都执行,要么要是发不出货,就退钱。
... | Markdown |
// SMSLib is distributed under the terms of the Apache License version 2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless r... | Java |
entity: entityLabel
})
"
label="{{ 'MetaData.UUIDField' | translate: { entity: entityLabel } }}"
></gn-uuid>
</gn-advanced-section>
</div>
</div>
<h5 style="margin-top: 10px">
... | HTML |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014-2018, Erik Moqvist
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights t... | C |
///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2011, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the fol... | C |
c class ShotTimeUpEvent : UnityEvent<GameObject> { } | C# |
ear memory areas. A compact, portable, and smart application for your computer." name="description">
<meta content="RAM cleaner, memory cleaner, Windows optimization, free software, open source, memory management, PC performance, foss, memory-management, memory-optimization, windows-optimization-tool, admin" name="... | HTML |
JeLrc/jAuAmolcQhjhBiBBRDDAChAVxzE5g3csKRGQQpFqDL0fsCCQCOFUwR8vI7wECgtjQDg6CfA8DxYmWbVCHi/TK9kTC4zEgA7) no-repeat left;}#at16ppf p#atsb{padding-top:20px;font-size:10px;}#at16abr{margin-top:10px;}#at16abr input{padding:0;margin:0;margin-right:5px;}#at16ppso{display:none;text-align:right;margin-top:2px;}#at16ppa{backgroun... | CSS |
' returns 404 NOT FOUND", async () => {
await request
.get("/")
.auth(username, password)
.expect(404);
});
test("GET '/health-check' returns 200 OK without the need for basic auth", async () => {
await request
.get("/health-check")
.e... | Typescript |
.Language
import org.rust.RsTestBase
import org.rust.lang.core.parser.createRustPsiBuilder
class DocsLoweringTest : RsTestBase() {
fun `test EOL doc 0 spaces`() = doTest("""
///foo
""", """
#[doc="foo"]
""")
fun `test EOL doc 1 space`() = doTest("""
/// foo
""", """
... | Kotlin |
/*-
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2001 Daniel Eischen <deischen@FreeBSD.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source c... | C |
ion ItemBase.SetOnLeave(self, func)
self.specialOnLeave = func
end
-- exported
-- NOTE: this is called by a Dropdown-Pullout.
-- Do not call this method directly
function ItemBase.SetOnEnter(self, func)
self.specialOnEnter = func
end
function ItemBase.Create(type)
-- NOTE: Most of the following code is copie... | Lua |
od
def from_json(cls, json: T_JSON_DICT) -> DomStorageItemUpdated:
return cls(
storage_id=StorageId.from_json(json['storageId']),
key=str(json['key']),
old_value=str(json['oldValue']),
new_value=str(json['newValue'])
)
@event_class('DOMStorage.domSto... | Python |
e());
fos.write(bundleCtx.includeHeader.c_str(), bundleCtx.includeHeader.size());
auto &symbolTable = bundleCtx.symbolTable;
fos.write(symbolTable.c_str(), symbolTable.size());
auto &bundleConfig = bundleCtx.bundleConfig;
fos.write(bundleConfig.c_str(), bundleConfig.size());
fos.write(bundleCtx.initConst.c_... | C++ |
ULL, // optional, path for source files
SP_COPY_FORCE_NEWER, // optional, specifies copy behavior
SetupDefaultQueueCallback, // optional, specifies callback routine
pContext, // optional, callback routine context
NULL, ... | C++ |
,i){if(this.font.fvar&&this.font.gvar){var o=this.font.gvar;if(!(n>=o.glyphCount)){var u=o.offsets[n];if(u!==o.offsets[n+1]){var p=this.font.stream;if(p.pos=u,!(p.pos>=p.length)){var g=p.readUInt16BE(),y=u+p.readUInt16BE();if(32768&g){var w=p.pos;p.pos=y;var x=this.decodePoints();y=p.pos,p.pos=w}var _=i.map((function(n... | JavaScript |
from fastapi import APIRouter, Request
from fastapi.responses import HTMLResponse
from fastapi.templating import Jinja2Templates
router = APIRouter(prefix="/combustivel")
templates = Jinja2Templates(directory = "templates")
@router.get("/gasolina_comum", response_class=HTMLResponse)
async def get_raiz(request: Reque... | Python |
d78306a40595ff764",
branchName = "main",
relativePath = "simpleKotlinTest",
configure = { context -> BazelProjectConfigurer.configureProjectBeforeUse(context) },
)
)
val CompiledSourceCodeInsideJarExclude = withBazelProject(
projectInfo = withDefaults(
repositoryUrl ... | Kotlin |
bias = ctx.saved_tensors
# out_features, in_features = weight.shape
# grad_x = grad_output @ weight
# #grad_weight_deq = grad_output.view(out_features, -1) @ x.view(-1, in_features) # out_features x in_features
# grad_weight = grad_output.view(-1, out_features).t() @ ... | Python |
c7
csthu.p gr12,@(gr4,gr7) ,cc7,#1
csubcc gr5,gr7,gr5 ,cc7,#1 ; also set ICC3
subicc.p gr5,#1,gr0,icc0
beqlr icc3,#0
# now do 1-byte remnant
setlos #0,gr7
addi.p gr4,#2,gr4
cknc icc0,cc7
cstb.p gr12,@(gr4,gr0) ,cc7,#1
bralr
.size memset, .-memset
libc_hidden_proto(memset) | Assembly |
o10YWaldmeister.parseLatLon:", () {
List<Map<String, Object?>> _inputsToExpected = [
{'coordinate': const LatLng(0.0, 0.0), 'text': ['123556', '784012', '344678']},
{'coordinate': const LatLng(52.78956, 14.03168), 'text': ['720598', '545963', '823979']},
{'coordinate': const LatLng(50.83091, 10.74... | Dart |
fun basic() = runTest {
val result = decode(
assetName = "normal.jpg",
size = Size(100, 100),
)
assertTrue(result.isSampled)
val drawable = assertIs<BitmapDrawable>(result.image.asDrawable(context.resources))
assertEquals(Size(100, 125), drawable.bitm... | Kotlin |
// preprocess the inputGrid to make future layer creation easier
layers: []*Layer{},
queue: make([][3]int, 1),
outerPortalCoords: map[string][2]int{},
innerPortalCoords: map[string][2]int{},
mapCoordsToPortals: map[[2]int]string{},
}
for i := range dijkstra.sanitizedGrid {
dij... | Go |
1,
timeout = 0,
};
StaticPopup_Show("LOADING_ERROR");
end
function TitanPanelRightClickMenu_PrepareBarMenu()
-- Level 2
if ( UIDROPDOWNMENU_MENU_LEVEL == 2 ) then
TitanPanel_BuildPluginsMenu();
TitanPanel_BuildOtherPluginsMenu();
TitanPanel_OptionsMenu();
TitanPanel_LoadServerSettingsMenu();
return;
... | Lua |
highp float;\n#define GLSLIFY 1\n\nattribute float x, y, xFract, yFract;\nattribute float size, borderSize;\nattribute vec4 colorId, borderColorId;\nattribute float isActive;\n\nuniform bool constPointSize;\nuniform float pixelRatio;\nuniform vec2 scale, scaleFract, translate, translateFract, paletteSize;\nuniform sam... | HTML |
np.author);
const songThumbnail = lyrics.thumbnail || (np as Track).thumbnail;
const songLyrics = lyrics.lyrics as string;
const lyricsEmbed = this.bot.utils
.baseEmbed(message)
.setAuthor(songAuthor.toString())
.setTitle(songTitle.toString())
.setDescription(songLyri... | Typescript |
_int("bed_temperature", 0);
tooltip += wxString::Format("\nNozzle First Layer:%d, Other Layer:%d\n Bed First Layer:%d, Other Layers:%d",
temperature[0], temperature[1], temperature[2], temperature[3]);
}
#endif
return tooltip;
}
wxString PresetComboBox::get_preset_item_name(unsigned int in... | C++ |
es[2];
info!("Generate new block on node1");
let hash = node1.generate_block();
let rpc_client = node0.rpc_client();
let ret = wait_until(10, || rpc_client.get_block(hash.clone()).is_some());
assert!(ret, "Block should be relayed to node0");
let rpc_client = node2.rpc_... | Rust |
)
/* addEdgeLabels:
* Adds label, headlabel and taillabel.
* Updates bounding box.
* We use the endpoints of the spline.
*/
void addEdgeLabels(edge_t *e) {
makePortLabels(e);
}
#define AGXGET(o,a) agxget(o,a)
/* place_portlabel:
* place the {head,tail}label (depending on HEAD_P) of edge E
* N.B. Assume edg... | C |
Code, true);
});
window.addEventListener('keyup', (e) => {
setKeyFromKeyCode(e.keyCode, false);
});
}
update() {
for (const keyState of Object.values(this.keys)) {
if (keyState.justPressed) {
keyState.clock.start();
keyState.justPressed = false;
... | JavaScript |
: 29px;
height: 29px;
}
}.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-col... | CSS |
olia.net/1/indexes/production_media/query/"
private const val ALGOLIA_FILTER = "&facetFilters=%5B%22kind%3Amanga%22%5D&attributesToRetrieve=" +
"%5B%22synopsis%22%2C%22averageRating%22%2C%22canonicalTitle%22%2C%22chapterCount%22%2C%22" +
"posterImage%22%2C%22startDate%22%2C%22subtype%22%... | Kotlin |
1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a><code>store json</code></h2>
<p>undefined</p>
<p><strong>arguments</strong></p>
<ul>
<li><p><a href="/selenium-ide/docs/en/api/arguments#json">json<... | HTML |
((_S28 + SRGBToLinear_0(_S30.xyz)) / _S18), 1.0f)));
return;
}
`;
// Shader code for Compute shader "MipNCS_2", node "Mip3"
static ShaderCode_Mip3_MipNCS_2 = `
@binding(2) @group(0) var InputReadOnly : texture_storage_2d_array</*(InputReadOnly_format)*/, read>;
@binding(1) @group(0) var Output : texture_storage_... | JavaScript |
);
}
[Test]
public void LengthStringLiteral()
{
TestScript.Run(@"
assert.areequal(5, 'hello'.length);
", s => s.Options.Syntax = ScriptSyntax.Wattle);
}
[Test]
public void LengthPropertyReadonly()
{
Ass... | C# |
{
t.Errorf("incorrect name - expected %s on element %d, got %#v", "timing one", 0, mts)
}
if mts[1].Name != "another timing" {
t.Errorf("incorrect name - expected %s on element %d, got %#v", "another timing", 1, mts)
}
})
t.Run("get mute timing succeeds", func(t *testing.T) {
client := gapiTestTools(t... | Go |
_DH_anon_WITH_AES_256_CBC_SHA = init("TLS_DH_anon_WITH_AES_256_CBC_SHA", 0x003a)
@JvmField val TLS_RSA_WITH_NULL_SHA256 = init("TLS_RSA_WITH_NULL_SHA256", 0x003b)
@JvmField val TLS_RSA_WITH_AES_128_CBC_SHA256 = init("TLS_RSA_WITH_AES_128_CBC_SHA256", 0x003c)
@JvmField val TLS_RSA_WITH_AES_256_CBC_SHA256 = i... | Kotlin |
;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27var%28--bs-primary%29%27 viewBox=%270 0 6 6%27%3E%3Cpath d=%27M3.28 3.236 1.536 4.979a.442.442 0 1 0 .625.625l2.31-2.31a.417.417 0 0 0 0-.589L2.161.395a.442.442 0 0 0-.625.626L3.28 2.764c.13.13.13.342 0 .472%27/%3E%3C/svg%3E");mask-image:url("data:ima... | CSS |
- **内存使用**: 讨论了关于内存使用的统计数据,如PG日志、缓存和块缓存的使用情况,以及这些数据如何帮助理解集群的行为和性能。
- **数据隐私和安全性**: 讨论了数据收集的隐私和安全问题,特别是如何确保用户数据的安全性和匿名性,以及如何处理用户可能的后悔情况。
### 结论
会议涵盖了多个关于Ceph性能优化和数据收集的重要议题,确定了后续的行动计划,并强调了用户反馈和数据隐私的重要性。通过这些讨论和决策,Ceph社区将继续推动项目的改进和发展。---
title: "Ceph Orchestrator Meeting 2022-03-29"
date: 2022-03-30
updated: 2022-03-31
t... | Markdown |
if(isdot) formatDateTime(q, atx, ! timeUsed)
else format(q,...)
counts <- c(counts, fval)
lab <- c(lab,".05",".10",".25",".50",".75",".90",".95")
}
names(counts) <- lab
z$counts <- counts
tableIgnoreCaseWhiteSpace <- function(x) {
x <- gsub('\r',' ',x)
x <- gsub('^[[:space:]]+','',gs... | Assembly |
y_));
assert(std::isfinite(e.pos_.z_));
assert(std::isfinite(e.rot_.x_));
assert(std::isfinite(e.rot_.y_));
assert(std::isfinite(e.rot_.z_));
assert(std::isfinite(e.rot_.w_));
e.rot_.normalize();
Vec3 map_pos;
Quat map_rot;
map_pos = e.pos_ - e.rot_ * odom_.rot_.inv() * odom_.pos_;
map_rot = e.rot... | C++ |
break;
case 1:
ttt.Description = line;
index++;
break;
case 2:
ttt.HelpUrl = line;
... | C# |
r14
pop %r13
pop %r12
pop %r11
pop %r10
pop %r9
pop %r8
pop %rcx
pop %rbx
ret
mul16:
push %rbx
push %rcx
push %r8
push %r9
push %r10
push %r11
push %r12
push %r13
push %r14
push %r15
mov $1, %r8
mov $20, %r9
mov %r8, %rbx
mov %r8, %rcx
mov %r8, %r10
mov %r8, %r11
mov... | Assembly |
.last_allowedip {
break;
}
current_ip = ip.next_allowedip;
}
result
}
fn parse_endpoint(endpoint: &wgctrl_sys::wg_peer__bindgen_ty_1) -> Option<SocketAddr> {
let addr = unsafe { endpoint.addr };
match i32::from(addr.sa_family) {
libc::AF_INET => {
let ad... | Rust |
ddenMask() & ~(1ull << i));
if (pendingResetRenderer)
delayedResetRenderer();
storeLayerTex();
int st_mask = DAEDITOR3.getEntitySubTypeMask(IObjEntityFilter::STMASK_TYPE_EXPORT);
const int edMode = objEd.getEditMode();
if (edMode == CM_CREATE_ENTITY)
objEd.setEditMode(CM_OBJED_MODE_MOVE);
CoolCo... | C++ |
_start_bound: &WindowFrameBound, _end_bound: &WindowFrameBound) -> bool { /* ... */ }
```
Allows the dialect to choose to omit window frame in unparsing
- ```rust
fn with_custom_scalar_overrides(self: Self, _handlers: Vec<(&str, ScalarFnToSqlHandler)>) -> Self
where
Self: Sized { /* ... */ }
```
Extends... | Markdown |
PageActIn
late String? authPageActIn;
late String? activityOut;
/// setAuthPageActOut
late String? authPageActOut;
late String? activityIn;
late int? screenOrientation;
late List<String>? privacyConectTexts;
late int? privacyOperatorIndex;
/// 暴露名
late String? protocolAction;
/// 包名
late Str... | Dart |
(Theme.getColor(Theme.key_chat_messageLinkIn, resourcesProvider));
subtitleView[i].setLineSpacing(dp(2), 1f);
subtitleView[i].setDisablePaddingsOffsetY(true);
subtitleView[i].setSingleLine();
subtitleView[i].setGravity(Gravity.CENTER);
... | Java |
kernel handle.
//
// We have a number of choices regarding "CreateEvent" win32 handle leakage:
//
// 1: When a thread dies return the Event to the EventFreeList, clear the ParkHandle
// field, and call CloseHandle() on the win32 event handle. Unpark() would
// need to be modified to tolerate finding a NULL (... | C++ |
}
"wasm" => {
resp.headers_mut().insert(
"Content-Type",
HeaderValue::from_str("application/wasm").unwrap(),
);
}
... | Rust |
bDataTypes[], attrib_index?: number): void {
// if (ents_arr.length !== attrib_values.length) {
// throw new Error(
// 'If multiple attributes are being set to multiple values, then the number of entities must match the number of values.');
// }
// const ent_type: number = ents_arr[0][0]... | Typescript |
/terraform-provider-tencentcloud/tencentcloud/common"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/connectivity"
"github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/ratelimit"
)
func NewCdwdorisService(client *connectivity.TencentCloudClient) CdwdorisService {
re... | Go |
[Function `fill`](#std_option_fill)
- [Function `extract`](#std_option_extract)
- [Function `borrow_mut`](#std_option_borrow_mut)
- [Function `swap`](#std_option_swap)
- [Function `swap_or_fill`](#std_option_swap_or_fill)
- [Function `destroy_with_default`](#std_option_destroy_with_default)
- [Function `destroy_... | Markdown |
ining the Today button and disable the keyboard handler for spacebar that
* selects the current date.
*/
showToday : true,
//</locale>
<span id='Ext-picker-Date-cfg-minDate'> /**
</span> * @cfg {Date} [minDate=null]
* Minimum allowable date (JavaScript date object)
*/
<span id... | HTML |
# Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org/
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to use, copy, modi... | Python |
.section __TEXT,__text,regular,pure_instructions
.intel_syntax noprefix
.p2align 4
SYM(<std[CRATE_ID]::sync::poison::once::Once>::call_once::<<test_define_class_no_ivars[CRATE_ID]::NoIvars as objc2[CRATE_ID]::top_level_traits::ClassType>::class::{closure#0}>::{closure#0}, 0):
Lfunc_begin0:
push rbp
mov rbp, rsp
pu... | Assembly |
is needed. Such condition can easily be replaced through an abstract or a virtual method.</br></br>
Sometime you'll see a base class that creates instance of some derived classes. In such situation, certainly using the <i>factory method pattern</i> <a href="http://en.wikipedia.org/wiki/Factory_method_pattern">http://e... | HTML |
,
0,
0,
0,
0,
0x008AD974, // TRACK_ELEM_LEFT_HALF_BANKED_HELIX_UP_SMALL
0x008AD984, // TRACK_ELEM_RIGHT_HALF_BANKED_HELIX_UP_SMALL
0x008AD994, // TRACK_ELEM_LEFT_HALF_BANKED_HELIX_DOWN_SMALL
0x008AD9A4, // TRACK_ELEM_RIGHT_HALF_BANKED_HELIX_DOWN_SMALL
0x008AD9B4, // TRACK_ELEM_LEFT_H... | C++ |
1c <unknown>
add za.d[w8, 0, vgx4], {z0.d - z3.d}, {z0.d - z3.d} // 11000001-11100001-00011000-00010000
// CHECK-INST: add za.d[w8, 0, vgx4], { z0.d - z3.d }, { z0.d - z3.d }
// CHECK-ENCODING: [0x10,0x18,0xe1,0xc1]
// CHECK-ERROR: instruction requires: sme2
// CHECK-UNKNOWN: c1e11810 <unknown>
add za.d... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.