content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Store, bobStore)
require.Error(t, err)
assert.Equal(t, "Test error", err.Error())
}
func TestSealedSenderEncrypt_Repeated(t *testing.T) {
ctx := context.TODO()
setupLogging()
aliceAddress, err := libsignalgo.NewUUIDAddressFromString("9d0652a3-dcc3-4d11-975f-74d61598733f", 1)
assert.NoError(t, err)
bobAddress,... | Go |
s herramientas para buscar evidencia que apoye o refute tus hipótesis.
* **Conecta los Puntos:** Un incidente rara vez ocurre en un silo. Busca correlaciones entre diferentes fuentes de datos (logs, red, disco, memoria).
* **Adapta tu Enfoque:** Si una línea de investigación no da frutos, sé flexible y prueba otras vía... | Markdown |
alPrice = goodsTotalPrice.add(bandGoodsTotalPrice);
totalFreightPrice = totalFreightPrice.add(bandFreightPrice);
}
} else {// 单个店铺模式
for (DtsCart checkGoods : checkedGoodsList) {
// 只有当团购规格商品ID符合才进行团购优惠
if (grouponRules != null && grouponRules.getGoodsId().equals(checkGoods.getGoodsId())) {
goo... | Java |
src/model/undo_stack.rs
use super::{Buffer, DosChar, Position, Layer, Size};
pub trait UndoOperation {
fn undo(&self, buffer: &mut Buffer);
fn redo(&self, buffer: &mut Buffer);
}
pub struct UndoSetChar {
pub pos: Position,
pub layer: usize,
pub old: Option<DosChar>,
pub new: Option<DosChar>
}
... | Rust |
ut(self) -> &'a mut V {
self.table.bst.arena[self.node_idx].get_mut().1
}
/// Sets the value of the entry with the `OccupiedEntry`'s key,
/// and returns the entry's old value.
///
/// # Examples
///
/// ```
/// use scapegoat::SgMap;
/// use scapegoat::map_types::Entry;
... | Rust |
nil, wormholeId)
flyOutButton:SetPoint("TOPLEFT", flyOutFrame, "TOPLEFT", globalWidth * flyoutsCreated, (rowNr - 1) * - globalHeight)
end
local frameWidth = rowNr > 1 and globalWidth * (db["Flyout:Max_Per_Row"] + 1) or globalWidth * (flyoutsCreated + 1)
flyOutFrame:SetSize(frameWidth, globalHeight * rowNr)
retur... | Lua |
//avoid optimizations
println!("{}",a);
}
}
}
let mut system = System::new();
let _handler = spawn(|| expensive_computation());
let _handler1 = spawn(|| expensive_computation());
let _handler2 = spawn(|| expensive_computation());
let _handler3 = spawn(|| exp... | Rust |
}
filterFunc(overlay: any, key: string): boolean {
return overlay[key] >= this.start &&
overlay[key] <= this.end;
}
getMetadataForOuterState(): ICaseSliderFilterMetadata {
if (this.start === -Infinity && this.end === Infinity) {
return null;
}
return { start: this.start, end: this.end };
}
isFilt... | Typescript |
64 0zM128 192a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"],
"volume": [576, 512, [128265, "volume-medium"], "f6a8", "M191.9 316.1L178.2 304H160 80V208h80 18.2l13.6-12.1L304 96.2V415.8L191.9 316.1zM32 352H80h80L304 480h48V432 80 32H304L160 160H80 32v48 96 48zm409.6-19.2C464.9 315.3 480 287.4 480 256s-15.1-59.3-38.4-76.8l-2... | JavaScript |
dad[i];
int j = x;
while (j != i)
{
int t = dad[j];
dad[j] = i;
j = t;
}
return i;
}
int partition_table::merge_in(int x, int y)
// Returns the label representative of the merge of the two sets
{
int t, newtop;
int i = x;
int j = y;
while (dad[i] >= 0) i = dad[i];
while (dad[... | C++ |
主要用来记录文件的元信息和目录结构。索引节点是每个文件的唯一标志,而目录项维护的正是文件系统的树状结构。目录项和索引节点的关系是多对一,一个文件可以有多个别名
* 索引节点,简称为 inode,用来记录文件的元数据,比如 inode 编号、文件大小、访问权限、修改日期、数据的位置等。索引节点和文件一一对应,它跟文件内容一样,都会被持久化存储到磁盘中。索引节点同样占用磁盘空间
* 目录项,简称为 dentry,用来记录文件的名字、索引节点指针以及与其他目录项的关联关系。多个关联的目录项,就构成了文件系统的目录结构。不过,不同于索引节点,目录项是由内核维护的一个内存数据结构,所以通常也被叫做目录项缓存
磁盘读写的最小单位是扇区,然而... | Markdown |
readme, because im a good github citizen",
"tree": {
"url": "https://api.github.com/repos/octocat/Hello-World/git/trees/691272480426f78a0138979dd3ce63b77f706feb",
"sha": "691272480426f78a0138979dd3ce63b77f706feb"
},
"parents": [
{
"url": "https://api.github.com/repos/octocat/Hello-World/git/com... | Dart |
c-container " id="6" srcid="1599" tpl="se_com_default" data-click="{&quot;rsv_bdr&quot;:&quot;0&quot;,&quot;p5&quot;:6}"><h3 class="t c-title-en"><a data-click="{&#10;&#9;&#9;&#9;\'F\':\'778317EA\',&#10;&#9;&#9;&#9;\'F1\':\'9D73F1C4\',&#10;&#9... | HTML |
lt() -> Self {
let mut s = ::std::mem::MaybeUninit::<Self>::uninit();
unsafe {
::std::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct MemoryTrackerTraceDataT {
pub file: *const ::std::os::raw::c_char,
... | Rust |
rpc->crpc_list);
swi_init_workitem(&rpc->crpc_wi, rpc, srpc_send_rpc,
lst_sched_test[lnet_cpt_of_nid(peer.nid)]);
spin_lock_init(&rpc->crpc_lock);
atomic_set(&rpc->crpc_refcount, 1); /* 1 ref for caller */
rpc->crpc_dest = peer;
rpc->crpc_priv = priv;
rpc->crpc_service = service;
rpc->... | C |
lever à l'est, comme le soleil. Cet axe est-ouest donne une relative symétrie à l'ensemble du Château, mais aussi des Jardins. chambre du Roi
## la galerie de l'histoire
Redescendez les marches et, sur votre gauche, entrez dans le Château. Vous pouvez retirer des audioguides. Dépassez l'entrée de la chapelle royale q... | Markdown |
"jh8BCNAw1FtxNrQHusEwMFxIt4I7mKZ9YIqioymCzLq9gwQbooMDQaHWBfEbwrbw\n" +
"qHyGO0aoSCqI3Haadr8faqU9GY/rOPNk3sgrDQoo//fb4hVC1CLQJ13hef4Y53CI\n" +
"rU7m2Ys6xt0nUW7/vGT1M0NPAgMBAAGjQjBAMA4GA1UdDwEB/wQEAwIBBjAPBgNV\n" +
"HRMBAf8EBTADAQH/MB0GA1UdDgQWBBR5tFnme7bl5AFzgAiIyBpY9umbbjANBgkq\n... | Kotlin |
_max;
}
vector<vector<int> > f = vector<vector<int> >(n + 1, vector<int>(k + 1, 0));
for (int j = 1; j <= k; ++j) {
for (int i = 1; i <= n; ++i) {
for (int x = 0; x <= i; ++x) {
f[i][j] = max(f[i][j], f[x][j - 1] + profit(prices, x + 1, i));
... | Markdown |
AG(IS_LINUX) || BUILDFLAG(IS_BSD) || \
(BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_CHROMEOS_DEVICE))
if (!gl_disabled && !gl_use_swiftshader_ && std::getenv("RUNNING_UNDER_RR")) {
// https://rr-project.org/ is a Linux-only record-and-replay debugger that
@@ -1015,7 +1015,7 @@ void GpuInit::InitializeInProcess... | C++ |
()))));
}
protected String[] getUsernames()
{
return MinecraftServer.getServer().getAllUsernames();
}
public boolean isUsernameIndex(String[] args, int index)
{
return args.length > 0 && args[0].equals("entity") && index == 1;
}
static
{
for (int i = 0; i <... | Java |
self.count = self.count + 1
self.ws:send(tostring(self.count))
end)
end
function websocket:on_message(data, typ)
print('on_message', self.ws, data)
self.ws:send('welcome')
-- self.ws:close(data)
end
function websocket:on_error(error)
print('on_error', self.ws, error)
end
function ... | Lua |
[i]->getAs<types::Int16>()->get()[0]);
break;
case types::InternalType::ScilabUInt16:
(*_piDims)[i] = static_cast<int>(in[i]->getAs<types::UInt16>()->get()[0]);
break;
case types::InternalType::ScilabInt32:
(... | C++ |
+;
}
else
{
*b= msg[i];
b++;
}
i++;
}
*b = 0;
bufLen = b - buffer;
s_totalChars += bufLen;
//
// replace selection instead of appending if we're overflowing
//
if ( s_totalChars > 0x7fff )
{
SendMessage( s_wcd.hwndBuffer, EM_SETSEL, 0, -1 );
s_totalChars = bufLen;
}
//
// put this tex... | C++ |
(Id(7), WidgetTag(1000002), PropertyTag(1), JsonPrimitive("Blue Fish")),
ModifierChange(Id(7), emptyList()),
Add(Id(5), ChildrenTag(1), Id(7), 1),
Add(Id(1), ChildrenTag(1), Id(5), 1),
Add(Id.Root, ChildrenTag.Root, Id(1), 0),
)
// Ensure the normal view tree APIs produce the expected l... | Kotlin |
org/2000/svg" width="16" height="16" fill="rgba(56, 63, 69, 1)" class="bi bi-toggle-off" viewBox="0 0 16 16"><path d="M11 4a4 4 0 0 1 0 8H8a4.992 4.992 0 0 0 2-4 4.992 4.992 0 0 0-2-4h3zm-6 8a4 4 0 1 1 0-8 4 4 0 0 1 0 8zM0 8a5 5 0 0 0 5 5h6a5 5 0 0 0 0-10H5a5 5 0 0 0-5 5z"/></svg>')}.sidebar-navigation .quarto-color-sc... | CSS |
tion (str) { document.location.href = __eae_decode(str); }; var __eae_decode = function (str) { return str.replace(/[a-zA-Z]/g, function(c) { return String.fromCharCode( (c <= "Z" ? 90 : 122) >= (c = c.charCodeAt(0) + 13) ? c : c - 26 ); }); }; var __eae_decode_emails = function () { var __eae_emails = document.querySe... | HTML |
ippleColor = getRippleColor(color, roundCornerRadius)
return RippleDrawable(pressedColor, defaultColor, rippleColor)
}
private fun getRippleColor(color: Int, radius: Float): Drawable {
val outerRadii = FloatArray(8)
Arrays.fill(outerRadii, radius)
val r = RoundRectShape(outerRad... | Kotlin |
1gemm_1_1warp_1_1MmaVoltaTensorOpMultiplicandTileIterator.html">MmaVoltaTensorOpMultiplicandTileIterator</a><</div><div class="line"><a name="l00908"></a><span class="lineno"> 908</span>  Shape_, Operand::<a class="code" href="namespacecutlass_1_1gemm.html#a34338284023da7403c9ecbd3f406b2a6a3e56c011b37f0bc78... | HTML |
rdinates
DSP4.out_count = 0;
if(!clip)
{
int16 out_index = 0;
int16 offset = DSP4_READ_WORD(0);
// update sprite nametable/attribute information
sp_oam = sprite_offset + offset;
sp_msb = (sp_x<0 || sp_x>255);
#ifdef PRINT
printf("(line %d) %04X, %04X, %04X, %04X, %04X\n",line,
(uin... | C++ |
EFIX
return os.path.normpath(os.path.join(prefix, pyc_filename))
elif filename.startswith(SYS_PREFIX) and filename.endswith('.pyc'):
# If filename is already PyInstaller-compatible, prevent any further processing (i.e., with original
# implementation).
return ... | Python |
1765:: Place: St. Gabriel's Protestant Episcopal Church, Douglassville, Amity Twp, Berks Cty., PA<ref>Source: [[#S49]] Page: Database online. Data: Text: Record for Hannah Wynne</ref> : Husband: [[Millard-793|Joseph Millard]] : Wife: [[Wynne-790|Hannah Hugh Wynne]] : Child: [[Millard-791|Jonathan ... | HTML |
// *** WARNING: this file was generated by pulumi-language-dotnet. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AliClo... | C# |
3.726-.94 1.087-1.363z" fill="currentColor"/>',
hidden: true,
},
'bxs-bullseye': {
body: '<path d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10s10-4.486 10-10S17.514 2 12 2zm0 17c-3.859 0-7-3.14-7-7s3.141-7 7-7s7 3.14 7 7s-3.141 7-7 7z" fill="currentColor"/><path d="M12 7c-2.757 0-5 2.243-5 5s2.243 5 5... | JavaScript |
Err(UnexpectedAdditionalParameter)?
}
Ok(Self {
name,
r#type,
steeler,
size,
count,
param1,
param2,
__: (),
})
}
}
pub struct TableItem {
pub items: Vec<Item>,
__: (),
}
im... | Rust |
),
);
final candlestickPainter = CandlestickChartPainter();
final holder = PaintHolder<CandlestickChartData>(
data,
data,
TextScaler.noScaling,
);
final mockUtils = MockUtils();
Utils.changeInstance(mockUtils);
when(mockUtils.getEfficientInterval... | Dart |
chartCanvas.drawText(
canvas: canvas,
textElement: element,
offset: offset,
translate: gestureDelegate?.offset,
);
}
canvas.restore();
/// 绘制纵坐标
int num = delegate.hintLineNum;
var itemHeight = bounds.height ~/ num; // 比如,4个hintLine,中间是3个段落。
var dValue = co... | Dart |
mod.iter = {}
function mod.iter.enumerate(iterator, start)
local i = start or 1
return function()
local values = table.pack(iterator())
if #values ~= 0 then
local tmp = i
i = i + 1
return tmp, table.unpack(values)
end
end
end
-- TODO: Don't assume fused iterators?
-- Have a f... | Lua |
atch_stream(nats){ with(Set.(_m, _n, *_)) { [m, n] } }.take(10)
#=>[[1, 1], [1, 2], [2, 1], [1, 3], [2, 2], [3, 1], [1, 4], [2, 3], [3, 2], [4, 1]]
```
## Demonstrations
### Combinations
We can enumerates all combinations of the elements of a collection with pattern-matching.
```Ruby
require 'egison'
include Egiso... | Markdown |
ed = (expiryTime: string) => {
try {
const expiryDate = moment.utc(expiryTime);
if (!expiryDate.isValid()) {
return true;
}
const current = moment();
return expiryDate.toDate() <= current.toDate();
} catch (err) {
return true;
}
};/** Operator for use with the calculator */
inte... | Typescript |
paragraph.createRun();
CTText ctText = run.getCTR().addNewInstrText();
ctText.setStringValue("PAGE \\* MERGEFORMAT");
ctText.setSpace(SpaceAttribute.Space.Enum.forString("preserve"));
run.setFontFamily(STANDARD_FONT_FAMILY);
fldChar = run.getCTR().addNewFldChar();
fldChar.setFldCharType(STFldCharTy... | Java |
uest queue
* @mq: MMC queue to suspend
* @wait: Wait till MMC request queue is empty
*
* Stop the block request queue, and wait for our thread to
* complete any outstanding requests. This ensures that we
* won't suspend while a request is being processed.
*/
int mmc_queue_suspend(struct mmc_queue *mq, int wait)... | C |
}
}
return true;
}
};
logFilter.setRowFilter(filter);
} catch (PatternSyntaxException e) {
logFilter.setRowFilter(null);
logger.warn("Error when setting table filter: " + e.getMessage());
}
}
private void prepareDataString(RadioConnectionLog conn) {
... | Java |
0A9C 80A4C73C 8C620004 */ lw $v0, 0x0004($v1) ## 00000004
/* 00AA0 80A4C740 860801CE */ lh $t0, 0x01CE($s0) ## 000001CE
/* 00AA4 80A4C744 3C0E8016 */ lui $t6, 0x8016 ## $t6 = 80160000
/* 00AA8 80A4C748 00025900 */ sll $t3, $v0, 4
/* 00AAC 80A4C74C... | Assembly |
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/*
*
* Copyright (C) 2017-21 Corellium LLC
* All rights reserved.
*
*/
#ifndef _DTREE_H
#define _DTREE_H
typedef struct dt_dict_s dt_dict;
#define DT_DICT_ADD 1
#define DT_DICT_FIND 2
#define DT_DICT_ANY 3
dt_dict *dt_dict_new(int size);
void *d... | C |
redPos[1] > ceilingHeight) {
mirroredPos[1] = ceilingHeight - mirroredPos[1] + ceilingHeight;
}
let randomInt = Math.floor(random1(id * 100 + i) * 4);
fractalData1.push({ s: scale * 0.8 * (isFirst ? 10.0 : 1.0), p: mirroredPos, t: uvs[type] });
}
... | JavaScript |
MH@HFFBBBFFHLFENKFBB@RG@KEKAQII@KCCCAEG@ILEJEAECG@KHCLFFDHK\\@JGbBTCJGFEjBDCHBNCBK^CFGBABBLTBDDCHEDBLCBFjFV@FCFKVDBBDGJ@BDHGT@L@DGJE@GEOCEGMCGGCAGBILIBGDAFABCJABDFDBNC@FGDBPFJ@JFFD@BLF@BPALNDBB@FCFC@ADBdRDbDrAJDXNd\\LFHE@CJDBADEJ@BFAFRDRCRDPATLFBJEDBLCEaFADEdDDIDC@EHCZAJ{JIA@DE@SF@RBN@NBHAFCBDHDHALKNAA^RDD@LINAbARCLHR@... | JavaScript |
nt_queue.get())
return events
def get_telemetry(self, stream_id: str) -> Optional[dict]:
return self.telemetry_simulator.get_telemetry(stream_id)
def get_all_telemetry(self) -> Dict[str, dict]:
return self.telemetry_simulator.get_all_telemetry()
def add_drone(self,... | Python |
std::sort(finalRayResult.begin(), finalRayResult.end(), CompareRaycastResults);
return finalRayResult.front();
}
else
{
RaycastResult emptyRes;
emptyRes.position = emptyRes.normal = Vector3::ZERO;
emptyRes.distance = M_MAX_FLOAT;
emptyRes.drawable = nullptr;
... | C++ |
-- 使用 router-link 组件来导航. -->
<!-- 通过传入 `to` 属性指定链接. -->
<!-- <router-link> 默认会被渲染成一个 `<a>` 标签 -->
<router-link to="/foo">Go to Foo</router-link>
<router-link to="/bar">Go to Bar</router-link>
</p>
<!-- 路由出口 -->
<... | HTML |
C_PRED, ipred_dc, avx2);
init_angular_ipred_fn(DC_128_PRED, ipred_dc_128, avx2);
init_angular_ipred_fn(TOP_DC_PRED, ipred_dc_top, avx2);
init_angular_ipred_fn(LEFT_DC_PRED, ipred_dc_left, avx2);
init_angular_ipred_fn(HOR_PRED, ipred_h, avx2);
init_angular_ipred_fn(V... | C |
Equal(t, expectedPem, pemSecret)
})
}
// Copyright (C) MongoDB, Inc. 2017-present.
//
// 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
package mon... | Go |
file.
```
mkdir ~/my-backups
```
We will be using `gNOI File Get` RPC to retrieve the file from `leaf11`.
/// tab | cmd
``` bash
gnoic -a clab-srexperts-leaf11:57401 -u client1 -p client1 --skip-verify file get --file /etc/opt/srlinux/config.json --dst ~/my-backups
```
///
/// tab | expected output
``` bash
INFO[0... | Markdown |
377b4dd1510b07ae19c5d2b2159ff0a6a856ebaf36f2329e7267076b687d4767d" name="a377b4dd1510b07ae19c5d2b2159ff0a6a856ebaf36f2329e7267076b687d4767d"></a>UNIT_W </td><td class="fielddoc"><p>Watts </p>
</td></tr>
<tr><td class="fieldname"><a id="a377b4dd1510b07ae19c5d2b2159ff0a6a5352ff475cc7badab55ab55ecb4195f9" name="a377b... | HTML |
, req *PayLiveOpenReq) (resp *PayLiveOpenResp, err error)
}
var v1PayLiveSvc PayLiveBMServer
func payLiveAdd(c *bm.Context) {
p := new(PayLiveAddReq)
if err := c.BindWith(p, binding.Default(c.Request.Method, c.Request.Header.Get("Content-Type"))); err != nil {
return
}
resp, err := v1PayLiveSvc.Add(c, p)
c.JSO... | Go |
높이 평가합니다.
### 2.2. 장르 특화 인지 도식 패턴 및 번역 전략 (รูปแบบแผนผังเชิงปัญญาเฉพาะประเภทและกลยุทธ์การแปล)
* **CONTAINER**: 내면세계, 사유의 공간, 추상적 개념의 경계 강조.
* 한국어: "그녀는 고독이라는 상자 속에 자신을 가두었다."
* 태국어: "**เธอขังตัวเองไว้ในกล่องแห่งความเปลี่ยวเหงา.**" (단순한 'กล่อง' 대신 'เปลี่ยวเหงา'를 사용하여 고독의 억압적인 심리적 경계를 강조)
* **FORCE**: 비가시적인 심리적 ... | Markdown |
019-07-14T22:51:00.000Z-Nyttend-2019-07-14T22:39:00.000Z"><span class="ext-discussiontools-init-replybutton oo-ui-widget oo-ui-widget-enabled oo-ui-buttonElement oo-ui-buttonElement-frameless oo-ui-labelElement oo-ui-flaggedElement-progressive oo-ui-buttonWidget" data-ooui='{"_":"OO.ui.ButtonWidget","rel":["nofollow"],... | HTML |
v11.0;Initial Catalog=SemanticLoggingTests;Integrated Security=True"));
this.sut = new SqlDatabaseSinkElement();
}
[TestClass]
public class when_query_for_canCreateSink : given_sqlDatabaseSinkElement
{
[TestMethod]
public void then_instance_can_be_cr... | C# |
int i) {
ensureCurrentLayout();
Rectangle tabRect = new Rectangle();
return getTabBounds(i, tabRect);
}
public int getTabRunCount(JTabbedPane pane) {
ensureCurrentLayout();
return runCount;
}
/**
* Returns the tab index which intersects the specified point... | Java |
ate_SparkElectricityFlashing TEMPLATE_TARGET | 2, 0x8 0x0 0x0 0x1c 0x2c 0x0 0x28 0x0 0x3
launchtemplate Template_SparkElectricityFlashing TEMPLATE_TARGET | 2, 0x8 0x0 0x0 0x1c 0x2c 0x40 0x28 0x1 0x3
launchtemplate Template_SparkElectricityFlashing TEMPLATE_TARGET | 2, 0x8 0x0 0x0 0x1c 0x2c 0x80 0x28 0x0 0x3
launchte... | Assembly |
/*=Plus=header=begin======================================================
Program: Plus
Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved.
See License.txt for details.
=========================================================Plus=header=end*/
#ifndef __itkUlteriusImageIO_h
#define __itkUlte... | C |
tificate1.getType();
System.out.println(certificate1Type);
{
publicCert = X509Certificate.getInstance(certificate1.getEncoded());
byte[] encoded = publicCert.getEncoded();
System.out.println("指纹:" + SecureUtil.sha256().digestHex(encoded));
... | Java |
V_MESH_TO_COORD_ADVANCED = 0x17F58B88D085DBAC, //
SET_PED_PATH_CAN_USE_CLIMBOVERS = 0x8E06A6FE76C9EFF4, //
SET_PED_PATH_CAN_USE_LADDERS = 0x77A5B103C87F476E, //
SET_PED_PATH_CAN_DROP_FROM_HEIGHT = 0xE361C5C71C431A4F, //
_0xE6A151364C600B24 = 0xE6A151364C600B24, //
_0x1632EB9386CDBE64 = 0x1632EB9386C... | C# |
Transform(label1, label21),
Transform(point2, point22), Transform(label2, label22),
Transform(point3, point23), Transform(label3, label23),
)
self.wait_until_bookmark("A")
self.play(
Transform(label1, MathTex(r"(x_1, y_1)").move_to(lab... | Python |
; 03D4 03D5
STA ram_0382_obj,X ; 0384 0385
bra_F014_RTS:
RTS
bra_F015:
LDA ram_00B2_obj,X ; 00B4 00B5
STA ram_0382_obj + $04,X ; 0388 0389
LDA ram_00BD_obj,X ; 00BF 00C0
STA ram_0382_obj,X ; 0384 0385
LDA #$C0
STA ram_03A6_obj,X ; 03A8 03A9
LDA tbl_EFE2 - $02,X
STA ram_004A_plr_timer - $02,X ... | Assembly |
ак'Тарон",
["zhCN"] = "达克萨隆要塞",
["zhTW"] = "德拉克薩隆要塞",
},
["Utgarde Pinnacle"] = {
["enUS"] = true,
["deDE"] = "Turm Utgarde",
["esES"] = "Pináculo de Utgarde",
["esMX"] = "Pináculo de Utgarde",
["frFR"] = "Cime d'Utgarde",
["koKR"] = "우트가드 첨탑",
... | Lua |
nt_request", "number of request on api"),
&["endpoint", "method", "status"]
)
.expect("metrics 'oauth10a_client_request' to not be initialized");
static ref CLIENT_REQUEST_DURATION: CounterVec = register_counter_vec!(
opts!(
"oauth10a_client_request_duration",
"durati... | Rust |
Config = {}
Config.Locale = GetConvar('esx:locale', 'en')
-- Allows players to delete their characters
Config.CanDelete = true
if IsDuplicityVersion() then
-- This is the default number of slots for EVERY player
-- If you want to manage extra slots for specific players you can do it by using '/setslots' and '/remsl... | Lua |
cRXP_ENEMY_Gallywix|r, |cRXP_WARN_then re-equip your main weapon|r
>>Make sure you remember to use your cooldowns such as |T136205:0|t[Evasion] and Potions if you have them
>>|cRXP_WARN_If you can't kill him, ask for help. It's important to finish this quest now|r
.complete 2478,4 --Gallywix's Head (1)
... | Lua |
itshigher;
}
}
ug = GetMaxCreditLower();
if (ug != null)
{
if (creditsHigher >= ug.Creditslower)
{
creditsHigher = ug.Creditslower;
//UserGroup.Upda... | C# |
"L:HJET_ELECTRICITY_ESTABLISHED", "NUMBER",
"L:GroundPowerAvailable", "NUMBER",
"L:GPOW PUSHED", "NUMBER",
"L:GROUNDPOWER", "NUMBER",
... | Lua |
ии перешло к другой строке, актуальный контекст:
<ul class="function-execution-context-list">
<li>
<span class="function-execution-context">Контекст: { x: 2, n: 3, строка 5 }</span>
<span class="function-execution-context-call">pow(2, 3)</span>
</li>
</ul>
Чтобы вычислить выражение `x * pow(x, n - 1)`, тр... | Markdown |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (C) 2011-2020 Doubango Telecom <https://www.doubango.org> ;
; File author: Mamadou DIOP (Doubango Telecom, France). ;
; License: GPLv3. For commercial license please contact us. ;
; Source code: https://g... | Assembly |
,不过你要小心——她对这个地区的那些水晶表现得特别疯狂,我不知道她究竟想干什么!",
["O"] = "到马绍尔营地那里的山洞中去找科琳。",
["T"] = "侏儒的援助",
},
[3942] = {
["D"] = "哦……林克?当然,他是个有趣的家伙,他刚到这里的时候总是对所有奇怪的事情喃喃自语。也许他的脑袋被什么东西敲过了。$B$B他说的一些话给我留下了较深的影响——他好像要做什么图腾,还说要去找一个叫什么艾瑞丹·蓝风的暗夜精灵……如果我没记错的话,她好像在费伍德森林。$B$B我不知道她是否能告诉你更多的东西,如果你想要知道什么的话,为什么你不去问问艾瑞丹自己呢?",
["O"] =... | Lua |
14), %eax
cmpl %r14d, %ebp
je .L27
movl %eax, %r14d
jmp .L28
.L27:
call _ZNSt6chrono3_V212system_clock3nowEv
movq b(%rip), %r10
movq a(%rip), %r8
movq %rax, %r13
movl 12(%r10), %r11d
movl (%r8), %edx
movl 4(%r8), %ecx
movl 8(%r8), %eax
movl 12(%r8), %r9d
movl 8(%r10), %r8d
movl (%r10), %r15d
imull %r9d,... | Assembly |
"significantfigures":
handleTextFigures(attrs);
break;
case "spreadsheetTrace":
handleSpreadsheetTrace(attrs);
break;
case "startStyle":
handleSegmentStartStyle(attrs);
break;
case "strokeCoords":
handleStrokeCoords(attrs);
break;
case "showTrimmed":
handleShowTrimmed(att... | Java |
_00.dat",
[0x44D998B7] = "/sound/se_gen_skp_start_1.meta",
[0x48DD279D] = "/sound/se_gen_skp_start_1.ogg",
[0x3794ACF9] = "/bg/a01/home_02.dat",
[0x3794C57B] = "/bg/a01/home_02.dds",
[0x1E08FFA2] = "/us/bg/a01/home_02.dds",
[0x5F52B424] = "/bg/nove... | C# |
� 더욱 정제될 수 있다[16]. 메쉬는 복잡한 모양과 구조를 컴퓨터 알고리즘에 의해 쉽게 조작하고 렌더링할 수 있기 때문에 다양하고 효율적인 표현 수단을 제공한다. 대부분의 그래픽 편집 도구 체인은 삼각형 메쉬를 사용합니다. 이러한 유형의 표현은 광범위한 수용과 호환성을 고려할 때 모든 디지털 콘텐츠 생성(DCC) 파이프라인에 필수적이다. 이러한 파이프라인들과 매끄럽게 정렬하기 위해, 신경망들은 이산 정점 위치들을 예측하도록 전략적으로 훈련될 수 있다[16, 17]. 이러한 기능을 통해 이러한 위치를 모든 DCC 파이프라인으로 직접 수입할 수 있어 원활한 작업이 가... | HTML |
vice
pub mod interrupts;
pub use self::interrupts::Interrupt;
pub use self::interrupts::Interrupt as interrupt;
pub use super::instances::adc;
pub use super::instances::cec;
pub use super::instances::crc;
pub use super::instances::dma;
pub use super::instances::exti;
pub use super::instances::flash;
pub use super::ins... | Rust |
BORLANDC__, < 0x600) && \
!defined(__GNUC__) // ---------------------------------------------------//
template<typename T>
restriction<T>
BOOST_IOSTREAMS_RESTRICT(T& t, stream_offset off, stream_offset len = -1)
{ return restriction<T>(t, off, len); }
# endif // Borland 5.x or GCC //----------------------------... | C++ |
u5de5\u4f5c\u4e2d\u6709\u7f3a\u70b9\uff0c\u7fa4\u4f17\u4e0d\u6ee1\u610f\uff0c\u4eca\u5e74\u4e0d\u613f\u518d\u641e\u7edf\u8d2d\u5de5\u4f5c\u4e86\u3002\u6709\u7684\u662f\u5728\u6478\u60c5\u51b5\u4e2d\u677e\u4e86\u52b2\u3002\u961c\u5357\u53bf\u6700\u8fd1\u5728\u4e00\u4e2a\u4e61\u201c\u6478\u5e95\u201d\uff0c\u6536\u8d2d\u5... | HTML |
--[[============================================================================
xMidiInput unit test
============================================================================]]--
--[[
## About
Create an instance of xMidiInput and feed it messages, using a different callback function for each test. In the call... | Lua |
(value | 0x4000);
}
else
{
this.writeUnsignedByte(0x20);
this.natureWriteUnsignedShort(value);
}
}
/** 原版写ushort */
public natureWriteUnsignedShort(value: number): void
{
if(!this.ensureCanWrite(2))
{
return;
}
this._buf.writeUint16(value);
this._position+=2;
}
... | Typescript |
/cancel"),
/** 电商收付通-分账接口-请求分账/查询分账结果 */
PROFIT_SHARING_ORDERS("/v3/ecommerce/profitsharing/orders"),
/** 电商收付通-分账接口-查询分账回退结果 */
PROFIT_SHARING_RETURN_ORDERS("/v3/ecommerce/profitsharing/returnorders"),
/** 电商收付通-分账接口-完结分账 */
PROFIT_SHARING_FINISH_ORDER("/v3/ecommerce/profitsharing/finish-order"... | Java |
.map((it) => it.refId).toList(), "refId": refId});
// handle native call
// convert native result to dart side object
if (result == null) {
return null;
} else {
return result;
}
}
Future<com_amap_api_maps_model_PolygonOptions> addHoles__com_amap_api_maps_model_Ba... | Dart |
unaligned_remainder // channel < 16
ee.ld.128.usar.ip q1, a3, 16
beqz a7, dl_tie728_s8_equal_w1_16_w2_1_unaligned_128b
movi a14, 8
beq a7, a14, dl_tie728_s8_equal_w1_16_w2_1_unaligned_64b
mov a14, a6
beqz a14, 1f
0:
ee.src.q.qup q2, q0, q1
ee.vcmp.eq.s... | Assembly |
you may omit the
expression, and <CODE>as</CODE> assumes a value of (absolute) 0. This
is compatible with other assemblers.</P>
<H3><A NAME="SEC62"><U>Integer Expressions</U></A></H3>
<P>An <U>integer expression</U> is one or more <I>arguments</I> delimited
by <I>operators</I>.</P>
<UL>
<LI><B><A HREF="#SEC63">Argu... | HTML |
"IYitJDpMhOA0",
// "UdtB6Bbs8gvp",
// "MXiiDLBwQg5U",
// "wvMsL5wEYQSb",
// "oFgoUHRFh2d7",
// "U8T7pIPx8NKI",
// "FjcJ1j9ndqa0",
// "rHzpn3ZirCU... | Java |
"sceSyscon_driver",0xEAB13FBE,sceSyscon_driver_EAB13FBE
#endif
#ifdef F_sceSyscon_driver_0125
IMPORT_FUNC "sceSyscon_driver",0xEB277C88,sceSyscon_driver_EB277C88
#endif
#ifdef F_sceSyscon_driver_0126
IMPORT_FUNC "sceSyscon_driver",0xEC0DE439,sceSysconGetPowerSwitch
#endif
#ifdef F_sceSyscon_driver_0127
IMPORT_FUNC "... | Assembly |
> .tablet.only.column,
.ui.celled.grid > .row > .tablet.only.column,
.ui.divided.tablet.only.grid > .row > .column,
.ui.celled.tablet.only.grid > .row > .column,
.ui.divided.tablet.only.grid > .column,
.ui.celled.tablet.only.grid > .column {
display: table-cell !important;
}
}
@media only screen and (m... | CSS |
left
//否则无法移动
} else {
0f
}
//如果图片右边在移动后超出控件右边
}
bound.right + xDiff < displayWidth -> {
//如果在移动之前是没超出的,计算应该移动的距离
xDiff = if (bound.right > displayWidth) {
... | Kotlin |
.setQ(1.4)
.setR(-1.0)
.setS(0.8)
.setT(-1.5)
.setU(2.0)
.setA(0.0)
.setB(0.0)
.setC(0.0)
.build()
private fun createInstance() = PaddingTool(
sourceFast = SecureRandom().asKotlinRandom(),
)
... | Kotlin |
, I> {
type Item = (usize, u8);
fn next(&mut self) -> Option<(usize, u8)> {
for (i, &a) in self.text.by_ref() {
self.myers.step(&mut self.state, a);
if self.state.dist <= self.max_dist {
return Some((i, self.state.dist));
}
}
None
... | Rust |
oadOrderHealthCheckToggles:RunAllChecks()
end
end, function(err)
MCMWarn(0, "LoadOrderHealthCheckToggles failed: " .. tostring(err))
end)
MCMAPI:LoadConfigs()
MCMClientState:LoadMods(MCMAPI.mods)
Noesis:MonitorMainMenuButtonPress()
else
-- In-... | Lua |
elMode}
*/
google.maps.DirectionsStep.prototype.travel_mode;
/**
* @interface
*/
google.maps.DirectionsWaypoint = function() {};
/**
* @type {google.maps.LatLng|string}
*/
google.maps.DirectionsWaypoint.prototype.location;
/**
* @type {boolean}
*/
google.maps.DirectionsWaypoint.prototype.stopover;
/**
* @in... | JavaScript |
lf {
path,
file,
offset,
last_timestamp,
})
}
pub async fn seal(mut self) -> Result<Timestamp> {
let ts = self.last_timestamp.ok_or_else(|| {
Error::Unknown("should not seal a segment with no timestamp".to_owned())
})?;
... | Rust |
data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-content-readonly [contentEditable=true]:focus,.mce-content-body.mce-content-readonly [contentEditable=true]:hover{outline:0}.mce-content-body [data-mce-selected=inline-boundary]{background-color:#b4d7ff}.mce-content-body .mce-edit-foc... | CSS |
ir = 0.022151f
} else {
legitJump = true
mc.thePlayer.motionX = 0.0
mc.thePlayer.motionZ = 0.0
}
}
override fun onEnable() {
legitJump = true
}
override fun onDisable() {
mc.timer.timerSpeed = 1f
mc.thePlayer.speedInAir = 0.02... | Kotlin |
s-prefix}.@{fa-css-prefix}-eercast {
font-family: 'Font Awesome 6 Brands';
font-weight: 400;
}
.@{fa-css-prefix}.@{fa-css-prefix}-eercast:before { content: @fa-var-sellcast; }
.@{fa-css-prefix}.@{fa-css-prefix}-snowflake-o {
font-family: 'Font Awesome 6 Free';
font-weight: 400;
}
.@{fa-css-prefix}.@{fa-css-pre... | CSS |
.include "source/macros_asm.s"
.word 4 @ # of Furnitures
@ Script, ?, ?, ?, ?, ?, Z, ?, Orientation, ?
.hword 8031, 2, 720, 0, 794, 0, 0, 0, 4, 0
.hword 8007, 2, 730, 0, 773, 0, 0, 0, 4, 0
.hword 8166, 2, 692, 0, 801, 0, 0, 0, 4, 0
.hword 8180, 2, 716, 0, 745, 0, 0, 0, 4, 0
.word 12 @ # of Overworlds
@ ID, ... | Assembly |
bject" == typeof e ? e : {href: e}, b(a, e))
}, state: function (b, c) {
return a.commands.formatInline.state(b, c, "A")
}
}
}(wysihtml5), function (a) {
function b(a, b) {
for (var d, e, f, g = b.length, h = 0; g > h; h++)d = b[h], e = c.getParentElement(d, {nodeName: "code"... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.