content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
""
}
"${domainName};;;${configFileContent}"
}
}
override fun proxyOnly(): Boolean {
return context.sharedPreferences.get(PREF_PROXY_ONLY, false)
}
override fun resolveDnsNext(): Boolean {
return context.share... | Kotlin |
ax11610", max11610 },
{ "max11611", max11611 },
{ "max11612", max11612 },
{ "max11613", max11613 },
{ "max11614", max11614 },
{ "max11615", max11615 },
{ "max11616", max11616 },
{ "max11617", max11617 },
{ "max11644", max11644 },
{ "max11645", max11645 },
{ "max11646", max11646 },
{ "max11647", max11647 },
... | C |
-(A7)
MOVE -10(A6),-(A7)
MOVE D5,-(A7)
MOVE -6(A6),D0
ADDQ #1,D0
AND #3,D0
MOVE D0,-(A7)
MOVE -4(A6),-(A7)
MOVE -2(A6),-(A7)
MOVE D6,-(A7)
JSR F212_mzzz_(PC)
ADDA #16,A7
L191:
CLR G365_B_Cre(A4)
L163:
MOVEM.L (A7)+,D4-D7/A2-A3
UNLK A6
RTS
L$162: .EQU #-26
F248_xxxx_:/* global */
LINK A6,L$192
MOVEM.L A... | Assembly |
ーリンダイ、寿限無、寿限無、水行末 雲来末 風来末、食う寝る処に住む処。長久命の長助。長久命の長助、パイポパイポ パイポのシューリンガン、やぶら小路の藪柑子、食う寝る処に住む処、五劫の擦り切れ、海砂利水魚の。グーリンダイのポンポコピーのポンポコナーの、グーリンダイのポンポコピーのポンポコナーの。やぶら小路の藪柑子、水行末 雲来末 風来末。寿限無、寿限無。海砂利水魚の。シューリンガンのグーリンダイ。五劫の擦り切れ、パイポパイポ パイポのシューリンガン。
五劫の擦り切れ。寿限無、寿限無。寿限無、寿限無、長久命の長助、食う寝る処に住む処、やぶら小路の藪柑子、シューリンガンのグーリンダイ。シューリンガンのグーリンダイ、食う寝る処に住む処。... | Dart |
%22 --database=information_schema --mode long-running-procs --warning 10 --critical 20"
"67","10.20.1.173","--hostname=10.20.1.173 --port=3306 --username=root --password=%22nagiosxi%22 --database=information_schema --mode connection-time --warning 1 --critical 5"
"67","10.20.1.173","--hostname=10.20.1.173 --port=33... | Markdown |
2. 命令模式(Command Pattern)
```rust
// 命令接口
trait Command {
fn execute(&self);
}
// 具体命令
struct ConcreteCommand {
receiver: Arc<dyn Receiver>,
}
impl Command for ConcreteCommand {
fn execute(&self) {
self.receiver.action();
}
}
// 接收者接口
trait Receiver {
fn action(&self);
}
// 具体接收者
struct ... | Markdown |
visible: false, dataPriority: 3}, // spreadsheet
this._generateHtmlItem('statetablecell', 4), // spreadsheet
this._generateStateTableCellMenuItem(2, false), // spreadsheet
{type: 'separator', id: 'statetablebreak', orientation: 'vertical', visible: false, dataPriority: 7}, // spreadsheet
this._genera... | JavaScript |
and Character is: $ch")
}
```
**输出:**

如您所见,我们在函数调用`demo(ch='Z')`期间使用参数名称覆盖了第二个参数的默认值。如果我们在没有像`demo('Z')`这样的命名参数的情况下完成此操作,则会抛出错误,因为它会尝试使用此值覆盖第一个整数参数。# 八、配置 Linux 服务器
在这一章中,您将学习如何配置不同类型的 Linux 服务器,从**域名系统(DNS****)和**域名主机配置协议**(****DHCP)服务器到 web 服务器,... | Markdown |
} else {
const user = await User.create({
firstName: userData.first_name,
lastName: userData.last_name,
avatar: userData.picture.data.url,
email: userData.email,
connections: ['facebook'],
});
const token = jwt.sign(
{ id: user._id },
process.env.JWT_SECRET || 'f... | Typescript |
setContentView(view);
initData();
}
private void bindView(View view) {
View llContent = view.findViewById(R.id.ll_content);
llContent.setOnClickListener(null);
searchView = view.findViewById(R.id.searchView);
atvTitle = view.findViewById(R.id.atv_title);
ibtStop ... | Java |
Dictionary with 'parents' and 'children' lists of documents
"""
# Get parent chunks
parent_chunks = self.parent_chunker.split_text(text, metadata, content_type)
# Process each parent to get children
all_children = []
for i, parent in enumerate(p... | Python |
equired
fn fidlhdl_need_read(hdl: u32);
/// Create a socket pair
fn fidlhdl_socket_create(sock_opts: SocketOpts) -> FidlHdlPairCreateResult;
}
#[derive(Debug)]
struct HdlWaker {
hdl: u32,
waker: AtomicWaker,
}
impl HdlWaker {
fn sched(&self, cx: &mut... | Rust |
retrieve component instances. An existing or newly created instance may be returned. If no value is returned, the `instance` property is taken.
*/
instanceProvider?(attrs: JSX.Attrs<T>, children: JSX.Children): Component<T, E> | unset;
/**
* Called by the JSX engine to log newly created component instance, if im... | Typescript |
local_world_size=ppn,
)
template = ProcessTemplate(
target=training_fn,
args=training_args,
kwargs=training_kwargs,
env=env,
policy=policy,
stderr=... | Python |
# -*- coding: utf-8 -*-
"""
Demonstrates use of GLScatterPlotItem with rapidly-updating plots.
"""
## Add path to library (just for examples; you do not need this)
import initExample
import pyqtgraph as pg
from pyqtgraph import functions as fn
from pyqtgraph.Qt import QtCore, QtGui
import pyqtgraph.opengl as gl
impo... | Python |
/*
* This file will include OS specific functions which are not inlineable.
* Any inlineable functions should be defined in os-inline.c instead.
*/
#include "os.h"
#define INCL_DOS
#include <os2.h>
#include <stdio.h>
#include <string.h>
static int rc=0;
static char errorstr[20];
void ap_os_dso_init(void)
{
}
a... | C |
# Justpy Tutorial demo tool_tip_demo1 from docs/charts_tutorial/tooltips.md
import justpy as jp
# https://www.highcharts.com/demo/line-basic
chart_def = """
{
chart: {
type: 'spline'
},
title: {
text: ''
},
subtitle: {
text: 'JustPy Tooltip Demo'
},
yAxis: {
tit... | Python |
:
j.write_str("OCTET STRING", c.get<unbounded_octstring<true> >().to_string());
break;
case types::ri_cctrl_ack_request:
j.write_str("RICcontrolAckRequest", c.get<ri_cctrl_ack_request_e>().to_string());
break;
default:
log_invalid_choice_id(type_, "ri_cctrl_request_ies_o::value_c")... | C++ |
enable = sbr.read<uint8_t>();
break;
case EVENT_PressAnyKey: // TODO(yoctozepto): not present in used MM7 data
// Nothing?
break;
case EVENT_SummonItem: // TODO(yoctozepto): not present in used MM7 data
requireSize(27);
ir.data.summon_item_de... | C++ |
: "Ταϊλάνδη",
"TZ": "Τανζανία",
"TJ": "Τατζικιστάν",
"JM": "Τζαμάικα",
"JE": "Τζέρζι",
"DJ": "Τζιμπουτί",
"TL": "Τιμόρ-Λέστε",
"TG": "Τόγκο",
"TK": "Τοκελάου",
"TO": "Τόνγκα",
"TV": "Τουβαλού",
"TR": "Τουρκία",
"TM": "Τουρκμενιστάν",
"TT": "Τρινιντάντ και Τομπάγκο",
"TA": "Τριστάν ντα Κούνια... | Dart |
//=================================================================================================
/*!
// \file blazemark/flens/DMatTDMatMult.h
// \brief Header file for the FLENS dense matrix/transpose dense matrix multiplication kernel
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// Thi... | C |
impl DMAMUXPER1R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bits(&self) -> u8 {
match *self {
DMAMUXPER1R::TIMER0_MATCH_0 => 0,
DMAMUXPER1R::USART0_TRANSMIT => 1,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline]
pub fn _from(... | Rust |
25 y=51.42686>'redline'</tspan><tspan fill=#3EB500 font-weight=bold textlength=13.25 x=291.5 y=51.42686>)</tspan><tspan font-weight=bold x=0 y=80.22687>bikes.</tspan><tspan fill=#3F94FF font-weight=bold textlength=79.5 x=79.5 y=80.22687>insert</tspan><tspan fill=#3EB500 font-weight=bold textlength=13.25 x=159 y=80.2268... | HTML |
import taboolib.common.PrimitiveIO
import taboolib.common.platform.Awake
import taboolib.module.configuration.Configuration
import taboolib.module.configuration.Type
import java.io.Closeable
import java.util.concurrent.CopyOnWriteArrayList
import java.util.concurrent.ExecutorService
import java.util.concurrent.Executor... | Kotlin |
uttonGradateB : buttonGradateB // ignore: cast_nullable_to_non_nullable
as Color,panel: null == panel ? _self.panel : panel // ignore: cast_nullable_to_non_nullable
as Color,panelBackground: null == panelBackground ? _self.panelBackground : panelBackground // ignore: cast_nullable_to_non_nullable
as Color,
));
}
}
... | Dart |
pkg} mAP using {pred_json} and {anno_json}...")
try: # https://github.com/cocodataset/cocoapi/blob/master/PythonAPI/pycocoEvalDemo.ipynb
for x in pred_json, anno_json:
assert x.is_file(), f"{x} file not found"
check_requirements("pycocotools>=2.0.6" if se... | Python |
if (el.resetSourceset_) {
return;
}
var srcDescriptor = getSrcDescriptor(tech);
var oldSetAttribute = el.setAttribute;
var oldLoad = el.load;
Object.defineProperty(el, 'src', mergeOptions$3(srcDescriptor, {
set: function set(v) {
var retval = srcDescriptor.set.call(el, v); // we use the gette... | JavaScript |
: input.label
, rhs : body(input.rhs)
}
}
fn body(input: Body) -> Body {
match input.alloc
{ RegAllocForm::Allocated(_) => Body { alloc : input.alloc , expression : input.expression }
, RegAllocForm::Unallocated(mut alloc_info, locs) => {
let mut conflicts : Graph<RegConflict, (), U... | Rust |
std/prelude/v1/v1/trait.Copy.html" title="trait nom::lib::std::prelude::v1::v1::Copy">Copy</a> for <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a></code><a href='#impl-Copy-29' class='anchor'></a></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='sr... | HTML |
{
assert_eq!(
FilePaths {
folder_path: format!(
"{}/.config/pash",
env::var("HOME").context("Failed to get $HOME")?
),
config_path: format!(
"{}/.config/pash/config.toml",
... | Rust |
0" encoding="UTF-8"?><svg width="14" height="11" viewBox="0 0 14 11" xmlns="http://www.w3.org/2000/svg"><path d="M7.99.685c0 .164.065.327.193.457l3.643 3.722H.64A.648.648 0 0 0 0 5.516c0 .36.288.653.64.653h11.186L8.183 9.89a.651.651 0 0 0-.192.457c0 .163.064.327.192.457a.61.61 0 0 0 .895 0l4.73-4.83a.64.64 0 0 0 0-.915... | HTML |
GI)
kpanic("ext_glCopyColorTableSGI is NULL");
{
GL_FUNC(ext_glCopyColorTableSGI)(ARG1, ARG2, ARG3, ARG4, ARG5);
GL_LOG ("glCopyColorTableSGI GLenum target=%d, GLenum internalformat=%d, GLint x=%d, GLint y=%d, GLsizei width=%d",ARG1,ARG2,ARG3,ARG4,ARG5);
}
}
void glcommon_glCopyConvolutionFilter... | C++ |
<p><i>ϵ[]</i><br>
<b>ȼ</b>ĺ4ʿ/ʦ4<br>
<b>ɷ</b><br>
<b>ʩʱ</b><br>
<b></b>о(100+10/ÿȼ)<br>
<b>Ӱ</b><br>
<b>ʱ</b><br>
<b>춨</b>ͨ<br>
<b></b><br>
һŻǰ㽫עУðݷڣע㹻㽫Ż泯<br>
˷һŵĻĶ֣ƻȡʩչѵʱ䡣<br>
Ѹݶʩչ˷ָһÿʩߵȼ1d4˺(10d4)<br>
ñʩչ˷ܶ10߱뾶ÿʩߵȼ1d6˺(10d6)<br>
һʩչ˷ܶ15߱뾶ÿʩߵȼ1d8˺(10d8)<br>
ʩչ˷ܶ20߱뾶ÿʩߵȼ1d10˺(10d10)<br>
㲻ҪҪʱʩչʼʩչʱʵʱ䵽ʱֹͣʩ</p>
<h4>(Ch... | HTML |
/*
* UDPLITE An implementation of the UDP-Lite protocol (RFC 3828).
*
* Authors: Gerrit Renker <gerrit@erg.abdn.ac.uk>
*
* Changes:
* Fixes:
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Fr... | C |
t Affiche texterror_boot
rts
error_pist Affiche texterror_pist
move.l #exit,-(sp)
rts
error_gest Affiche texterror_gest
move.l #exit,-(sp)
rts
Prg include e:\final\source\boot.s
FinPrg
LengthPlace dc.l 0
Length dc.l 0
Sens dc.w 0
texterror_open dc.b ' Erreur : fichier non trouv',10,13,0
texterror_file dc.b '... | Assembly |
new Vector3((float)(rand.NextDouble() * (box.Max.X - box.Min.X) + box.Min.X),
(float)(rand.NextDouble() * (box.Max.Y - box.Min.Y) + box.Min.Y),
(float)(rand.NextDouble() * (box.Max.Z - box.Min.Z) + box.Min.Z)),
... | C# |
; X position, low byte
lda hostageTable+3,x ; X position, high byte
sbc #$00
sta hostageTable+3,x ; X position, high byte
updateHostagesWaving:
inc hostageTable,x ; Increment waving animation frame
lda hostageTable,x
cmp #$04 ; Wrap at four fra... | Assembly |
.switch-warning[disabled] {
color: #ffffff;
background-color: #fbb450;
*background-color: #faa937;
}
.has-switch span.switch-warning:active,
.has-switch span.switch-warning.active {
background-color: #fa9f1e \9;
}
.has-switch span.switch-danger {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
... | CSS |
"Shadowball Coin", "SHBC", 0, ":D/haircutfish/crypto/main/smallerhat.png"},
"83VBJQUUJt7VnsBTGYYdJvup6aJxz9ztGYoBEiwPYKbg": {"Rosie Coin", "ROSIE", 0, ":D/Firebros1/crypto/main/Rosie-Cup-jpg-3-png.png"},
"DPjQQZvc3ApL1ZzD4WcJnXV6NvuDQDgj6E6WW58cHWMf": {"Thor Coin", "THOR", 0, ":D/ajeema/thorcrypto/main/thor-token-log... | Go |
evelDBKey(PRIMARY, sprint.tenantId().id());
uow.lock(lockKey.key());
locked = true;
}
this.remove(sprint, uow);
}
}
@Override
public void save(Sprint aSprint) {
LevelDBKey lockKey = new LevelDBKey(PRIMARY, aSprint.tenantId().id());
... | Java |
for oti in records {
let code = CodeRange::try_from(oti.code.as_str()).expect(&format!("Unexpected OTI {:?}", &oti.code));
let const_name = self.create_const_name(&oti);
if const_name == "WITHDRAWN" {
fmt_fn.line(format!(" {}(0x{}) => \"WITHDRAWN\",", "Ob... | Rust |
�本。*
**Copyright © 2020-2023 Andy Grove. All rights reserved.**
# 测试
查询引擎非常复杂,很容易无意中引入细微的错误,导致查询返回不正确的结果,因此进行严格的测试非常重要。
## 单元测试
第一步最好是为各个运算符和表达式编写单元测试,确保它们在给定输入下产生正确的输出。同时也要覆盖错误情况。
以下是编写单元测试时需要考虑的一些建议:
- 如果使用了意外的数据类型会发生什么?例如,在字符串输入上计算 `SUM`。
- 测试应涵盖边缘情况,例如对数值类型使用最小值和最大值,以及浮点类型中的 NaN(非数字),以确保它们被正确处理。
- 应该对下溢和上溢情况进... | Markdown |
ilde :";
GUILD_REPUTATION_WARNING = "Vous perdrez un rang de réputation de guilde avec %s";
GUILD_REPUTATION_WARNING_GENERIC = "Vous perdrez un rang de réputation auprès de votre précédente guilde.";
GUILD_REPUTATION_WEEKLY = "Cette semaine : %s/%s (%s%%)";
GUILD_REP_WEEKLY_CAPPED = "Vous avez obtenu le montant maximum... | Lua |
'𓁈', '⭾', 'ㅩ', '𝘳',
'🫦', '𓎞', '\u{1cd2}', 'Ꞧ', 'ᶢ', '\u{11c3d}', '┲', '𐎫', '𒂇', '𐺏',
'𒉳', 'ᐴ', '𑖹', '𓀳', '🂬', '₴', '𑨦', '☮', '𐎎', '🈜', '𘡛',
'𐼋', '𝥜', '🠆', 'Ⴥ', 'ﯡ', '𛄝', 'ܥ', 'ⴴ', '☻', '𔐇', '𔕳', '𘫲',
'𞊦', '㌏', 'ᓈ', '𝂥', '𐫴', '𝦝', '𘠳', '𐚤', '𒕃', 'ᝂ', '🦖',
'ཿ', '𒔹', '㆗',... | Rust |
ct update is successful"}
else:
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED, detail="You are not authorized to use this method"
)
else:
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED, detail="You are not authorized... | Python |
if err == nil && n < size {
err = io.ErrUnexpectedEOF
} else if err == nil && n > size {
err = fmt.Errorf("file larger than size reported by stat")
}
if err != nil {
return fmt.Errorf("copying %s to %s: %v", ofile, afile, err)
}
if size&1 != 0 {
w.WriteByte(0)
}
}
if err := w.Flush(); err != ... | Go |
try
{
var decoder = new FfmpegDecoder(audStream);
var audioPlayerWasapi = new cAudioPlayerWasapi();
audioPlayerWasapi.Play(decoder);
_audioPlayers.Add(audioPlayerWasapi);
audioPlayerWasapi.PlayDon... | C# |
AndValidateProposedSchema(
SchemaManager schemaManager,
com.google.cloud.bigquery.Schema existingSchema,
List<com.google.cloud.bigquery.Schema> newSchemas,
com.google.cloud.bigquery.Schema expectedSchema) {
testGetAndValidateProposedSchema(schemaManager, existingSchema, newSchemas, expectedS... | Java |
*
* This only has an effect for programs that
* use positional effects like SQUEEZE and MIRROR
*/
public void handleTouchEvent(MotionEvent ev){
if(ev.getAction() == MotionEvent.ACTION_MOVE){
// A finger is dragging about
if(mTexHeight != 0 && mTexWidth != 0){
... | Java |
vim.api.nvim_create_autocmd('TextYankPost', {
desc = 'Highlight when yanking (copying) text',
callback = function()
vim.highlight.on_yank()
end,
})
vim.api.nvim_create_autocmd("FileType", {
pattern = {"help"},
callback = function()
vim.keymap.set("n", "q", "<cmd>q<CR>", { buffer = 0 })
end
})
-- d... | Lua |
= MODE_AT
initPid.PID = "E0"
cmd = OBDCommand(initPid).setIgnoreResult(true).run(inputStream, outputStream)
Log.d(TAG, "Extended Responses Off (" + initPid.mode + " " + initPid.PID + ") Received: " + cmd.rawResult)
//line feeds off
initPi... | Kotlin |
case spv::Op::OpAtomicFlagTestAndSet:
return inst.GetSingleWordInOperand(0);
case spv::Op::OpCopyMemory:
return inst.GetSingleWordInOperand(1);
case spv::Op::OpExtInst: {
assert(GetExtensionSet(ir_context, inst) == kExtensionSetName &&
"Extension set is not supported");
swi... | C++ |
dler.html" title="interface in org.spdx.licenseTemplate">ILicenseTemplateOutputHandler</a>)</li>
<li type="circle">org.spdx.compare.<a href="../../../org/spdx/compare/LicenseCompareHelper.html" title="class in org.spdx.compare"><span class="strong">LicenseCompareHelper</span></a></li>
<li type="circle">org.spdx.compare... | HTML |
_disabled .cke_menubutton_label{opacity:.3;filter:alpha(opacity=30)}.cke_menubutton_on{border:1px solid #dedede;background-color:#f2f2f2;box-shadow:0 0 2px rgba(0,0,0,.1) inset}.cke_menubutton_on .cke_menubutton_icon{padding-right:3px}.cke_menubutton:hover,.cke_menubutton:focus,.cke_menubutton:active{background-color:#... | CSS |
ext, listen: false);
dynamic lastGpsPosition = _position;
if (gpsState.lastGpsPosition != null) {
lastGpsPosition = gpsState.lastGpsPosition;
}
if (lastGpsPosition is Coordinate) {
lastGpsPosition = SmashPosition.fromCoords(lastGpsPosition.x,
lastGpsPosition.y, DateTime.now().milli... | Dart |
ney 3.1))#value;;
</div><div class="caml-output ok">- : float = 1.3
</div></pre>
<pre><div class="caml-input"> (min (new money2 5.0) (new money2 3.14))#value;;
</div><div class="caml-output ok">- : float = 3.14
</div></pre>
</div><p>More examples of binary methods can be found in sections
<a href="advexamples.html#m... | HTML |
form method="post" target="_top" data-bind="autoSubmit: postRedirectForceSubmit, attr: { action: postRedirectUrl }"><!-- ko foreach: postRedirectParams --><!-- /ko --> </form><!-- ko if: svr.AK --><!-- /ko --><!-- ko if: svr.AG --><!-- /ko --></div>
</body></html>
<!DOCTYPE html>
<html id="facebook" class="svg " lang="... | HTML |
inline MTX34* MTX34RotXYZRad(MTX34* pMtx, f32 rx, f32 ry, f32 rz) {
return MTX34RotXYZFIdx(pMtx, NW4R_MATH_RAD_TO_FIDX(rx),
NW4R_MATH_RAD_TO_FIDX(ry),
NW4R_MATH_RAD_TO_FIDX(rz));
}
inline MTX34* MTX34Scale(MTX34* pOut, const VEC3* pScale, const MTX34* pIn) {
... | C |
Id) &&
document.getElementById( name );
}
// Test for equality any JavaScript type.
// Discussions and reference: http://philrathe.com/articles/equiv
// Test suites: http://philrathe.com/tests/equiv
// Author: Philippe Rathé <prathe@gmail.com>
QUnit.equiv = function () {
var innerEquiv; // the real equiv functi... | JavaScript |
using Complete = Reloaded.Mod.Launcher.Pages.Dialogs.FirstLaunchPages.Complete;
namespace Reloaded.Mod.Launcher.Converters;
[ValueConversion(typeof(FirstLaunchPage), typeof(ReloadedPage))]
public class FirstLaunchPageToPageConverter : IValueConverter
{
public static FirstLaunchPageToPageConverter Instance = new F... | C# |
) 2012 Stefan Petre
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
*/.colorpicker-saturation{width:100px;height:100px;background-image:url(../../../../images/bootstrap-colorpicker/saturation.png);cursor:crosshair;float:left}.colorpicker-saturation i{display:block;height:... | CSS |
local br = require("sync.blob_reader")
local mergeDataFuncs = {
[1] = function(container, buffer, watcherList)
local add = br.ReadInt32(buffer)
local remove = 0
local update = 0
if add == -4 then
return
end
if add == -1 then
add = br.ReadInt32(buffer)
else
remove = br.Rea... | Lua |
800CCB88
dw 0x3C07800E ; 800CCB8C
dw 0x0C005453 ; 800CCB90
dw 0x24E7CFE8 ; 800CCB94
dw 0x02002021 ; 800CCB98
dw 0x02202821 ; 800CCB9C
dw 0x0C033143 ; 800CCBA0
dw 0x02403021 ; 800CCBA4
dw 0x04410006 ; 800CCBA8
dw 0x02001021 ; 800CCBAC
dw 0x0C005472 ; 800CCBB0
dw 0x02002021 ; 800CCBB4
dw 0x080332F1 ; 800CCBB... | Assembly |
d21, d24, d25
vmul.f32 d24, d22, d2
vsub.f32 q9, q2, q9 @ {r2,i2,r3,i3}
vmul.f32 d25, d23, d3
vuzp.32 d16, d17 @ {r0,r1,i0,i1}
vmul.f32 q1, q11, d2[1]
vuzp.32 d18, d19 @ {r2,r3,i2,i3}
... | Assembly |
using CryptoExchange.Net.Converters.SystemTextJson;
using System;
namespace Kucoin.Net.Objects.Models.Futures
{
/// <summary>
/// Funding rate info
/// </summary>
[SerializationModel]
public record KucoinFundingRate: KucoinIndexBase
{
/// <summary>
/// Predicted value
/... | C# |
urce = TextResource(textContent.resourceData)
// 创建解析器解析
mTextTagList = TextContentDecoder(textContent.contentData).decode()
// TODO:原理是 paragraph tag 一定是在段落的末尾的。之后会修改 native 将 paragraph 放在起始位置
// 解析成功后,取出 ParagraphTag 转换成 TextParagraph
mTextTagList!!.forEachIndexed { index, te... | Kotlin |
ase.Controls.Add(this.ChkBoxShowFilterRelease);
this.pnlOBSRelease.Controls.Add(this.ChkCboBoxToggleMuteRelease);
this.pnlOBSRelease.Location = new System.Drawing.Point(868, 361);
this.pnlOBSRelease.Name = "pnlOBSRelease";
this.pnlOBSRelease.Size = new System.Drawing.Size(114, 71);
this.pnlOBSRelease.Tab... | C# |
);
};
const toggleEvent = (name: string) =>
isSelected(name) ? deselectEvent(name) : selectEvent(name);
const numberOfSelectedEvents = selectedEvents.length;
return { numberOfSelectedEvents, isSelected, toggleEvent };
};
export default useSelectableEvents;
import { ResponseWithJson } from "../utils"
e... | Typescript |
import os
import torch.multiprocessing as mp
os.environ["OMP_NUM_THREADS"] = str(min(16, mp.cpu_count()))
import torch
import torch.distributed as dist
from src import logging, options, utils
def main_worker(rank, args):
if args.ddp:
dist.init_process_group(backend="nccl", init_method=args.dist_url, w... | Python |
}
}
struct AncestorIterator<'a> {
current_slot_hash_key: SlotHashKey,
fork_infos: &'a HashMap<SlotHashKey, ForkInfo>,
}
impl<'a> AncestorIterator<'a> {
fn new(
start_slot_hash_key: SlotHashKey,
fork_infos: &'a HashMap<SlotHashKey, ForkInfo>,
) -> Self {
Self {
... | Rust |
"Name of the compressed file")]
public string OutFile { get; set; }
[Option('t', "dbxToken", Required = false, HelpText = "Dropbox Access Token")]
public string dbxToken { get; set; }
[Option('x', "dbxPath", Required = false, DefaultValue = "/test/data", HelpText = "path to dbx folder"... | C# |
орят, отважные искатели приключений нередко бродят по этим улицам.","Мой брат Гершала на Темном Берегу нуждается в помощи. Он обитает в приморском городке Аубердине.","Это путешествие будет долгим и насыщенным. Именно по этой причине я и ищу помощи кого-то, обладающего опытом – такого, как вы, <класс>."}, {"Отправляйте... | Lua |
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package org.openapitools.client.models
import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass
/**
*
*
* @param adjustedPriceTarget The current price target adjusted for stock splits and dividends.
* @param analyst The name of... | Kotlin |
e data-bind="value: svr.AW ? 1 : 0"/> <input type=hidden name=IsFidoSupported data-bind="value: isFidoSupported ? 1 : 0"/> <div data-bind="component: { name: \'instrumentation\',\n publicMethods: instrumentationMethods,\n params: { serverData: svr } }"> </div> </div> </div><!-- /ko --><!--... | JavaScript |
GraphConfig expected =
mediapipe::ParseTextProtoOrDie<CalculatorGraphConfig>(R"pb(
input_stream: "A:a"
input_stream: "B:b"
output_stream: "OUT:b"
input_side_packet: "SIDE_A:side_a"
input_side_packet: "SIDE_B:side_b"
output_side_packet: "SIDE_OUT:side_a"
)pb");... | C++ |
{
xValuatorInfoPtr v;
v = (xValuatorInfoPtr) any;
size += sizeof (XValuatorInfo) +
(v->num_axes * sizeof (XAxisInfo));
break;
}
default:
break;
}
any = (xAnyClassPtr) ((char *) any + any->length);
}
}
for (i=0, nptr = (char *) any; i<*ndevices; i++)
{
size += ... | C |
NULL;
OfflineFileInfo* OfflineFileInfo::New() const {
return new OfflineFileInfo;
}
void OfflineFileInfo::Clear() {
#define OFFSET_OF_FIELD_(f) (reinterpret_cast<char*>( \
&reinterpret_cast<OfflineFileInfo*>(16)->f) - \
reinterpret_cast<char*>(16))
#define ZR_(first, last) do { ... | C++ |
di)
# qhasm: buf = r2[0]
# asm 1: pextrq $0x0,<r2=reg128#15,>buf=int64#2
# asm 2: pextrq $0x0,<r2=%xmm14,>buf=%rsi
pextrq $0x0, % xmm14, % rsi
# qhasm: mem64[ input_0 + 168 ] = buf
# asm 1: movq <buf=int64#2,168(<input_0=int64#1)
# asm 2: movq <buf=%rsi,168(<input_0=%rdi)
movq % rsi, 168( % rdi)
# qhasm: buf =... | Assembly |
, nil , function() ShowColorPicker("bg") end)
MangAdmin:PrepareScript(ma_frmcolorshowbutton , nil , function() ShowColorPicker("frm") end)
MangAdmin:PrepareScript(ma_btncolorshowbutton , nil , function() ShowColorPicker("btn") e... | Lua |
transform:rotate(30deg)}16.3%{transform:rotate(30deg)}16.4%{transform:rotate(60deg)}24.8%{transform:rotate(60deg)}24.9%{transform:rotate(90deg)}33.1%{transform:rotate(90deg)}33.2%{transform:rotate(120deg)}41.4%{transform:rotate(120deg)}41.5%{transform:rotate(150deg)}49.7%{transform:rotate(150deg)}49.8%{transform:rotate... | CSS |
89 7.50747 5.27999 7.16922 4.86585C6.68248 4.2636 5.99113 3.90885 5.18758 3.86925C4.64143 3.84285 4.09363 3.9798 3.62503 4.25865C3.19769 4.51275 2.83799 4.88565 2.58224 5.35754C2.49479 5.51924 2.41229 5.71229 2.36939 5.88884C1.87769 7.91669 3.21419 9.79273 5.03248 10.5864C5.05888 10.5979 5.08033 10.6194 5.08858 10.6474... | CSS |
�地面积百分之一四。
</p>
<p>
手工业的生产和手工业的合作化在一九五四年也有发展,全国个体手工业的产值增长了百分之一一,手工业生产合作社的产值增长了百分之七六。组织到手工业生产合作社和生产小组的从业人数已达一百二十一万人,比一九五三年增长二·五倍。
</p>
<p>
在交通运输方面,铁路货运总量完成了计划的百分之一〇三,比一九五三年增长了百分之二〇;汽车货运总量完成了计划的百分之一一七,比一九五三年增长了百分之四三。在一九五四年开始和继续施工的新建铁路十七条,其中一九五四年铺轨的有十二条共铺轨八百三十一公里。沟通中、苏、蒙三国的集宁——二连线已铺轨完成,兰新线已越过乌鞘岭到达武威以西的九坝,宝成线... | HTML |
x^{k+1}\in \arg\min_{x}{f(x)+\frac{1}{c_k} \sum_{i=1}^{n} x^{i}(\ln(\frac{x_i}{x^{k}_{i}})-1)}.
$$</p>
<ul>
<li><a href="http://www.ece.ust.hk/~palomar/ELEC5470_lectures/07/slides_Lagrange_duality.pdf">Duality</a></li>
<li>https://cs.stanford.edu/people/davidknowles/lagrangian_duality.pdf</li>
<li>https://people.eecs.b... | HTML |
', new Blob([JSON.stringify(_lastBenchJSON,null,2)],{type:'application/json'}));
};
// ---------------- Health pings ----------------
$('btn_ping_triton').onclick = async () => {
const u = $('triton_url').value;
const r = await fetch(`/api/health/triton?url=${encodeURIComponent(u)}`);
con... | HTML |
You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
package main_test
import (
"bytes"
"errors"
"fmt"
"os"
"path/filepath"
"testing"
. "gopkg.in/check.v1"
main "github.com/snapcore/snapd/cmd/snap-fde-keymgr"
"gith... | Go |
�યાહ્ન","પૂર્વ મધ્યાહ્ન","પૂર્વ મધ્યાહ્ન"],
PM: ["ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન","ઉત્તર મધ્યાહ્ન"],
patterns: {
d: "dd-MM-yy",
D: "dd MMMM yyyy",
t: "HH:mm",
T: "HH:mm:ss",
f: "dd MMMM yyyy HH:mm",
F: "dd MMMM yyyy HH:mm:ss",
M: "dd MMMM"
}
}
}
});
Globalize.addCultureInfo( "o... | JavaScript |
�,但未能把心思专注在这个问题上,只好留待回京以后。
</p>
<p>
其次是,在读了若干篇驳斥与检讨的文章之后,我的思想、认识没有什么难转变的地方,转变得慢的是我的感情;把一向当作偶像的武训,忽然扔在地上,用脚践踏一番,还不易有此感情吗?在感情未变之前,我不勉强动笔,于是再一篇一篇地仔细读那些文章,感情才像温度计似地缓慢下降。这又是推延了几天的原因。
</p>
<h3>
(二)
</h3>
<p>
为什么说我的思想、认识不难转变呢?
</p>
<p>
10天前在沈阳遇到一个旧友,谈话中问,他率直地对我说:“你过去是一个不很反动的人。”我欣然接受了他这个评语。因为我抱着“超政治... | HTML |
nop
.text
.globl b__M18FnsrHvag32QvivqrHcww
.type b__M18FnsrHvag32QvivqrHcww,%function
b__M18FnsrHvag32QvivqrHcww:
nop
.text
.globl b__MA21qat_rapbqr_cebkl_gnfxP2RE8qat_ubfgEX9qat_vzntrEF2_CXqF7_o
.type b__MA21qat_rapbqr_cebkl_gnfxP2RE8qat_ubfgEX9qat_vzntrEF2_CXqF7_o,%function
b__MA21qat_rapbqr_cebkl_gnfxP2RE8qat_ubfg... | Assembly |
let mut reversed = None;
let mut unreversed = head;
while let Some(mut unreversed_node) = unreversed {
unreversed = unreversed_node.next;
unreversed_node.next = reversed;
reversed = Some(unreversed_node);
}
reversed
}
pub fn merge(mut... | Rust |
details: stripIndents`
syntax: \`!starboard <channel|trigger|enable|disable> (new starboard emoji | #channelMention)\`
\`channel <#channelMention>\` - sets Star Board channel to the channel supplied.
\`trigger <emoji>\` - sets emoji to save to star board. If blank, shows current trigger emoji.
\`enable... | Typescript |
d GetPointCloudCentroid(const PointFCloud& cloud, PointF* centroid) {
for (size_t i = 0; i < cloud.size(); ++i) {
centroid->x += cloud[i].x;
centroid->y += cloud[i].y;
centroid->z += cloud[i].z;
}
centroid->x /= static_cast<float>(cloud.size());
centroid->y /= static_cast<float>(cloud.size());
cen... | C++ |
screen Login
* Description: Login Template with Fullscreen Background Slideshow
* Author: Anli Zaimi
* Author URI: http://azmind.com
*
*/
body {
background: #f8f8f8;
/*font-family: 'PT Sans', Helvetica, Arial, sans-serif;*/
font-family:"Microsoft YaHei",微软雅黑,"Microsoft JhengHei",华文细黑,STHeiti,MingLiu;
... | CSS |
CDSA support) by
[Alex Wilson](https://github.com/arekinath).
Install
-------
```
npm install sshpk
```
Examples
--------
```js
var sshpk = require('sshpk');
var fs = require('fs');
/* Read in an OpenSSH-format public key */
var keyPub = fs.readFileSync('id_rsa.pub');
var key = sshpk.parseKey(keyPub, 'ssh');
/* ... | Markdown |
t, "Channel %q was not expected to exist", name)
}
func TestMaxInactivity(t *testing.T) {
cleanupDatastore(t)
defer cleanupDatastore(t)
ns := natsdTest.RunDefaultServer()
defer ns.Shutdown()
opts := getTestDefaultOptsForPersistentStore()
opts.NATSServerURL = "nats://127.0.0.1:4222"
opts.MaxInactivity = 100 * ... | Go |
ationBinding>()`은 데이터바인딩을 편하게 하기 위해 만든`AppCompatActivity`을 상속받은 추상 클래스입니다. `getLayoutId()` 에서 레이아웃 아이디를 받고, 제네릭에서 받은 클래스를 이용하여 `binding`이라는 이름을 가진 객체를 생성합니다. `binding` 객체에 viewModel을 바인딩하여 xml에서 ViewModel의 데이터에 접근할 수 있게끔 합니다.
- **View**에서는 `travelFinishEvent`, `direction`, `polyline`을 관측하며 데이터의 변화가 감지하면 아래와 같은 로직을 처리합니... | Markdown |
efficient batch operations
**High-Performance Solution:**
```python
class OptimizedKnowledgeRetrieval:
def __init__(self):
self.query_cache = TTLCache(maxsize=1000, ttl=300) # 5min cache
self.batch_processor = BatchProcessor(batch_size=32)
async def fast_semantic_search(self, query: ... | Markdown |
StackHelper.saveAllItems(nbt, stacks);
}
@Override
public int getSizeInventory()
{
return this.buggyType * 18;
}
@Override
public ItemStack getStackInSlot(int index)
{
return this.stacks.get(index);
}
@Override
public ItemStack decrStackSize(int index, int ... | Java |
str r0, [sp]
mov r0, #1
str r0, [sp, #4]
mov r0, #2
str r0, [sp, #8]
mov r0, #0x40
str r0, [sp, #0xc]
mov r0, #0
str r0, [sp, #0x10]
ldr r0, [r5, #0x10]
ldr r1, [r5]
add r2, r4, #0
mov r3, #0x7b
bl sub_02079B60
ldrh r0, [r5, #8]
cmp r0, #1
bne _021D7A4E
mov r0, #7
b _021D7A5A
_021D7A4E:
ldrb r0, [r5,... | Assembly |
gs e)
{
Tool = e.Tool;
ToolCursor = ((IToolProvider)sender).ToolCursor;
if (ToolChanged != null)
{
ToolChanged(this, e);
}
}
public IToolBehavior Tool
{
get;
private set;
}
... | C# |
.word 0x01000000 ! 67: NOP nop
mov 0x0, %r25
.word 0xecbce000 ! 69: STDA_I stda %r22, [%r19 + 0x0000] %asi
.word 0xeab48400 ! 70: STHA_R stha %r21, [%r18 + %r0] 0x20
.word 0xe8c544a0 ! 71: LDSWA_R ldswa [%r21, %r0] 0x25, %r20
.word 0x01000000 ! 72: NOP nop
.word 0xeeaf8e40 ! 73: STBA_R stba %r23, [%r30 + %r... | Assembly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.