content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
import sys
import math
N, a, R = map(int, input().split())
if a > R:
print(0)
sys.exit(0)
ans = math.floor(R / a)
if ans == 0:
print(0)
sys.exit(0)
if ans > N:
print(N)
else:
print(ans) | Python |
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (C) 2017 Andes Technology Corporation */
#ifndef _ASM_RISCV_MODULE_H
#define _ASM_RISCV_MODULE_H
#include <asm-generic/module.h>
#define MODULE_ARCH_VERMAGIC "riscv"
struct module;
u64 module_emit_got_entry(struct module *mod, u64 val);
u64 module_emit_plt_entr... | C |
575087 | 1 |
| 3 | CCc1cnc(nc1c2cc([nH]c2)C(=O)NC@Hc3cccc(c3}Cl}Nc4cccc5c4OCO5 | 575065 | 1 |
| 4 | Cc1cnc(nc1c2cc([nH]c2)C(=0) NC@Hc3cccc(c3}Cl}Nc4cccc5c4CCC5 | 575047 | 1 |
本节的最后一步是将我们的新`combined_df`保存为 CSV 文件。`index=False`选项使 Pandas 不在第一列中包含行号:
```py
combined_df.to_csv("dude_erk1_mk01.CSV",index=False)
```
# 训练... | Markdown |
ZXI= IEVWRVI= eW50aGVzaXM= LWZhc3Q= IOuwsA== 5Y+v5Lul IHZvbHVudGVlcmVk IGV4aWc= U0lERQ== IFBob25lTnVtYmVy dWxhaXJl IEthZA== IGRhcm4= IHlhaw== IEJsaW5r LnNwaW5uZXI= IG9yZGVhbA== X2VuZW15 IGdldFM= IEJvbw== TGluZU51bWJlcg== X0xPT0s= RUxDT01F IHNlYW1z IHNhZ2Vu aXNjbG9zZWQ= KHJheQ== W2dyb3Vw UFRT Lk5hdmlnYXRl IE93bA== IGRid... | JavaScript |
: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
primaryKey: false,
autoIncrement: false,
comment: '',
field: 'full_text'
},
full_text_original: {
type: DataTypes.TEXT,
allowNull: true,
defaultValue: null,
primaryKey: false,
autoIncrement: false,
com... | JavaScript |
fff}.popover-header{padding:.5rem .75rem;margin-bottom:0;font-size:1rem;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-top-left-radius:calc(.3rem - 1px);border-top-right-radius:calc(.3rem - 1px)}.popover-header:empty{display:none}.popover-body{padding:.5rem .75rem;color:#212529}.carousel{position:relat... | CSS |
774923060&fm=253&fmt=auto&app=138&f=JPEG?w=640&h=432"></div><div><div style="color:#999;text-align:center;">(图片来源网络,侵删)</div></div><p>延吉有24<a href="http://www.to3158.cn/tags-x-s.html" target="_blank" class="relatedlink">小时</a>宠物店吗?有,因为现在宠物有时候夜间生病得<a href="http://www.to3158.cn/tags-x-y.html" target="_blank" class="relat... | HTML |
/shader-ping-pong-pass.js';
import { vs as torusVertexShader } from './253/torus-vs.js';
import { fs as torusFragmentShader } from './253/torus-fs.js';
import { vs as discVertexShader } from './253/disc-vs.js';
import { fs as discFragmentShader } from './253/disc-fs.js';
import { fs as combineFragmentShader } from './... | JavaScript |
aders[i] === 'number') headers[i] = headers[i].toString(10);
if(typeof headers[i] !== 'string') throw new Error("DBF Invalid column name " + headers[i] + " |" + (typeof headers[i]) + "|");
if(headers.indexOf(headers[i]) !== i) for(j=0; j<1024;++j)
if(headers.indexOf(headers[i] + "_" + j) == -1) { headers[i] += "... | JavaScript |
,v,counter) => {
if (k == "D")
return {value: 44};
if (k == "E" || k == "G")
return {delete: true};
if (k >= "F")
return {stop: counter+1};
})).toBe(4);
expectTreeEqualTo(tree, new SortedArray([["B",2],["D",44],["F",6],["G",7]]));
});
test("A clo... | Typescript |
adaptive splits of δ.
- Extend beyond two‑rail composition and across θ‑grids; integrate into `cartographer/atlas.py` flow.
## 10) Repro
```bash
pip install -e .
python scripts/make_week3_figs.py --p1-hat 0.62 --p0-hat 0.09 --n1 200 --n0 200 --D 0.55 --tpr-a 0.72 --tpr-b 0.65 --fpr-a 0.035 --fpr-b 0.05 --alpha-... | Markdown |
8:
/* 1E03820 8007C258 CB89010C */ jal rand
/* 1E03824 8007C25C 00000000 */ nop
/* 1E03828 8007C260 6666033C */ lui $v1, (0x66666667 >> 16)
/* 1E0382C 8007C264 67666334 */ ori $v1, $v1, (0x66666667 & 0xFFFF)
/* 1E03830 8007C268 18004300 */ mult $v0, $v1
/* 1E03834 8007C26C C31F0200 */ ... | Assembly |
import click
import serial
from serial.tools import list_ports
import os
@click.command(name='list', short_help='List all available serial ports')
def cmd_list():
"""
List all available serial ports with manufacturer information.
Usage:
python main.py list-ports
This command lists all the ava... | Python |
pos;
}
const Vector2 Settings::GetMapPosition() const {
return map_position_;
}
bool Settings::PreferMeters() const {
return distance_preference_in_meters_;
}
#include "raylib.h"
#include "raygui.h"
void Settings::DrawLoadingScreen(float progress, const std::string loading_info, const std::string loading_info... | C++ |
'\$id': '5e5ea5c16897e',
'\$createdAt': '2020-10-15T06:38:00.000+00:00',
'\$updatedAt': '2020-10-15T06:38:00.000+00:00',
'userId': '5e5bb8c16897e',
'expire': '2020-10-15T06:38:00.000+00:00',
'provider': 'email',
'pro... | Dart |
就会死亡。当你脱离战斗的时候,生命值会自动恢复。";
NEWBIE_TOOLTIP_HELP = "您可以通过在线知识库或是与GM对话来解决您遇到的问题。";
NEWBIE_TOOLTIP_HONORABLE_KILLS = "每当你或你所在的队伍在PvP中对一个敌方玩家造成伤害,并且该玩家随后被杀死,则你可以获得一次荣誉消灭。只有在目标等级对你来说是绿色或更高(即杀死与该玩家等级相当的怪物可以获得经验值)的情况下才能获得荣誉消灭。只有敌方玩家会提供荣誉消灭。";
NEWBIE_TOOLTIP_HONOR_CONTRIBUTION_POINTS = "荣誉点数是通过在PvP战斗中进行荣誉消灭获得的。杀死敌人可以获得多少点数取决于你(... | Lua |
right:1px}.piece-legend>.piece.piece-completed,.piece-map .piece.piece-completed{background-color:#b8dd69;border-color:#b8dd69}.piece-legend>.piece{margin-right:4px}.chart-popover{max-width:320px}.chart-popover .popover-content{padding:0}.chart-pop-wrapper{padding-left:4px;padding-right:4px;overflow-x:hidden}.chart-pop... | CSS |
hat is, if it is not lexically an\n <code>xs:NCName</code>), it is ignored. Formally, the candidate\n <code>IDREF</code> values are the strings in the sequence given by the\n expression:</p><eg xml:space="preserve">for $s in $arg return\n ... | JavaScript |
1; assuring non-zero initial array */
}
fun nextInt(): Int {
var y: Int
if (mti >= N)
// generate N words at one time
{
var kk: Int
val mt = this.mt // locals are slightly faster
val mag01 = this.mag01 // locals are slightly faster
... | Kotlin |
p>
<p>For example, https://www.freshports.org/security/acme.sh/ shows
the history of this port, back to its creation in May 2017.
</p>
<h3>git</h3>
<p>Work on git started <a href="https://news.freshports.org/?s=git&searchsubmit=" shape="rect">back in September</a>.
It was ignored for a while and started back in mi... | HTML |
#3 // src[x+4]
vext.i16 q13, q3, q4, #1 // src[x]
vext.i16 q14, q3, q4, #2 // src[x+2]
vext.i16 q15, q3, q4, #3 // src[x+4]
vmull.u8 q4, d20, d1
vmull.u8 q5, d21, d1
vmull.u8 q8, d26, d1
vmull.u8 q9, d27, d1
vmlsl.u8 q4, d4, d0
vmlsl.u8 q5, d5, d0
vmlsl.u8 q8, d6, d0... | Assembly |
:Entry;
use std::hash::{Hash, Hasher};
use std::path::{Path, PathBuf};
use std::pin::Pin;
use std::sync::{
atomic::{AtomicBool, AtomicU64, AtomicUsize, Ordering},
Arc,
};
use std::task::{Context, Poll};
use std::time::{Duration, Instant};
use backoff::backoff::Backoff;
use futures::future::Either;
use futures:... | Rust |
015), // except Australia
FlOzUS: VolumeMeasure(0.030),
FlOz: VolumeMeasure(0.02841),
Cup: VolumeMeasure(0.250),
CupUk: VolumeMeasure(0.2841),
CupUs: VolumeMeasure(0.240),
Pint: VolumeMeasure(0.56826),
PintAus: VolumeMeasure(0.570),
PintUs: VolumeMeasure(0.47318),
Quart: VolumeMeasur... | Typescript |
6, 36, 0.7890625, 0.859375, 0.1953125, 0.265625, false, false},
["bonusobjectives-title-bg"] = {418, 76, 0.001953125, 0.818359375, 0.359375, 0.5078125, false, false},
["bonusobjectives-title-icon"] = {155, 150, 0.482421875, 0.78515625, 0.001953125, 0.294921875, false, false},
["bonusobjectives-title-icon-honor"] ... | Lua |
text: Row(
children: [
_buildLeftIcon(context),
const HSpace(8.0),
FlowyText.regular(
LocaleKeys.workspace_importFromNotion.tr(),
),
],
),
rightIcon: FlowyTooltip(
message: LocaleKeys.workspace_learnMore.... | Dart |
, 1);
});
it("it should return null because of a bad userId value at updateUserPassword(userId: string, user: User)", async () => {
const user: User = new User("admin");
const userId = null;
assert.equal(await DataAccess.updateUserPassword(userId, user), null);
});
it("it shoul... | Typescript |
16.894.34 7.283-7.977 1.04-10.404 1.04-10.404-28.785-1.214-11.877-21.349-7.879-27.25-5.521-13.517-1.237-14.65 18.968-15.316 17.18.983 77.744-6.959 77.633-14.253-.08-5.202-5.554-3.653-8.12-6.82-3.734-4.61-4.841-11.08-4.841-11.08-3.116-8.327-14.516-9.587-17.826-14.742-4.628-7.208 5.874-7.297-1.068-13.26-19.662-9.676-7.47... | Dart |
#
# Copyright (c) 2025 Huawei Technologies Co., Ltd. All Rights Reserved.
# This file is a part of the vllm-ascend project.
# Adapted from vllm/tests/basic_correctness/test_basic_correctness.py
# Copyright 2023 The vLLM team.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this fil... | Python |
}
return any_node
}
getSpace() : ASTNode | undefined {
let spacenode:ASTNode
let c = this.here()
while(!this.eof) {
if( c > 32 ) return spacenode;
c = this.step(1)
if(!spacenode) {
// the filename should be perhapce marked at the position, OR it could
// be... | Typescript |
.Diagnostics.Stopwatch();
private static System.Diagnostics.Stopwatch findModel_KSPCF = new System.Diagnostics.Stopwatch();
private static int findModelMismatches = 0;
private static System.Diagnostics.Stopwatch findModels_Stock = new System.Diagnostics.Stopwatch();
private static System... | C# |
Rule(ParseTreeListener listener) {
if ( listener instanceof lab6Listener ) ((lab6Listener)listener).exitRelational_expression(this);
}
@Override
public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
if ( visitor instanceof lab6Visitor ) return ((lab6Visitor<? extends T>)visitor).visitRelational_expre... | Java |
an) {
checkFrame(f)
CanBusNative.setFrameParameter(f, 1, 1, if(p) 1 else 0)
}
/** Gets Approach short stroke front right window regulator **/
fun get_fh_vr_kh() : Boolean = CanBusNative.getECUParameterB(CanBAddrs.VS_A1, 0, 1) != 0
/** Sets Approach short stroke front right window regulator **/
fun set_fh_v... | Kotlin |
Buf<bool>(buf, m_bIsMissionScript);
WriteSaveBuf<bool>(buf, m_bSkipWakeTime);
SkipSaveBuf(buf, 1);
WriteSaveBuf<uint32>(buf, m_nWakeTime);
WriteSaveBuf<uint16>(buf, m_nAndOrState);
WriteSaveBuf<bool>(buf, m_bNotFlag);
WriteSaveBuf<bool>(buf, m_bDeatharrestEnabled);
WriteSaveBuf<bool>(buf, m_bDeatharrestExecuted)... | C++ |
1llF16 = "v_interp_p1ll_f16";
static const char* kViVinterpp1lvF16 = "v_interp_p1lv_f16";
static const char* kViVinterpp2F16 = "v_interp_p2_f16";
static const char* kViVAddU16 = "v_add_u16";
static const char* kViVSubI16 = "v_sub_i16";
static const char* kViVSubU16 = "v_sub_u16";
static const char* kViVMulI16 = "v_mul_... | C++ |
ry, derived SI-Unit for measurement of inductance
*/
val Number.zettahenry : Henry
/**
* Returns zettahenry, 10^21 of henry, derived SI-Unit for measurement of inductance
*/
get() = Henry(this.toDouble() * 10.0.pow(21))
@JsExport
@JvmField
/**
* ZH, 10^21 of henry, derived SI-Unit for measurement of... | Kotlin |
1928, 0, 47
addparticle 0, 0, 0
addparticle 0, 1, 0
initresources 0, 1, 1, 1, 1, 1, 0, 0
loadresources 0, 22
loadpalette 0, 21, 1
loadcell 0, 22
loadcellanm 0, 22
addsomething 0, 19, 22, 21, 22, 22, 0, 0, 1, 1, "NaN", "NaN", "NaN", "NaN", "NaN", "NaN", "NaN"
waitstate
freeresour... | Assembly |
ect:
.frame $sp,0,$31 # vars= 0, regs= 0/0, args= 0, gp= 0
.mask 0x00000000,0
.fmask 0x00000000,0
.set noreorder
.set nomacro
.loc 2 3658 0
andi $3,$4,0xff
lui $2,%hi(ConnectedIp)
sll $3,$3,2
addiu $2,$2,%lo(ConnectedIp)
addu $2,$3,$2
lw $3,0($2)
beq $3,$0,$L582
li $2,1 # 0x1
.loc 2 3658 0 is_stmt 0 ... | Assembly |
-panel {
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
margin-bottom: 0;
border-radius: 0;
position: relative;
transition: margin-bottom 225ms;
}
.p-panelmenu .p-panelmenu-panel:first-child {
border-top-left-radius: 4px;
... | CSS |
先进经验:如工业的郭瓦廖夫工作法、高速切削法,农业的“密植”和“水稻旱直播”,医学的“组织疗法”与“无痛分娩法”等。在科学理论方面,中国科学工作者正在学习着米邱林、巴甫洛夫等学说,介绍了苏联科学的新发展,如天体起源学说,生命起源学说,对量子力学中唯心论及化学中共振论的批判等。
</p>
<h3>
三、中国科学工作者解放后配合国家各项建设方面的工作与成绩
</h3>
<p>
如果说脱离实际、为研究而研究是旧中国科学工作的特色,那末配合国家各项建设则是新中国科学工作的一个特征。
</p>
<p>
地质方面,运用地质构造理论、矿床理论的推演及现场钻探的证实,将东北煤田扩大了十倍,华北一个大铁矿的矿... | HTML |
s",Redo:"Újra","Time Zone":"Időzóna","Change Symbol...":"Szimbólum Változtatás...","Change Interval...":"Időköz Változtatás...","Add To Watchlist":"Hozzáadás Figyelőlistához","Add To Text Notes":"Hozzáadás Szöveges Megjegyzésekhez","Insert Drawing Tool":"Rajzeszköz Beillesztés","All Indicators And Drawing Tools":"Össze... | HTML |
ンツ属性</a>:<dd><a id="the-figure-element:global-attributes" href="dom.html#global-attributes">グローバル属性</a><dt><a href="dom.html#concept-element-accessibility-considerations" id="the-figure-element:concept-element-accessibility-considerations">アクセシビリティの考慮</a>:<dd><a href="https://momdo.github.io/html-aria/#el-figure">著者向け<... | HTML |
�上述可以看出:这个“迭代次数”越大,计算头部密钥的时间就越长,因此挂载加密盘的过程就越慢;表面上看,这是一个缺点。但其好处在于:如果某个攻击者想要采用暴力破解的方式对“头部”进行穷举解密,每次一次尝试也需要花很长时间(同样要迭代 N 次)。所以,当 N 足够大,暴力破解就变得【不可行】。<br>
<br>
  <b>“Hea... | HTML |
AMP_LEFT_SHIFT & ~(-1L << 41L)) + twepoch;
}
/**
* 下一个ID
*
* @return ID
*/
public synchronized Long next() {
long timestamp = genTime();
if (timestamp < this.lastTimestamp) {
timestamp = lastTimestamp;
}
if (timestamp == this.lastTimestamp) {... | Java |
e::get_data, &numeric_texture::set_data)
.add_property( "type", &numeric_texture::get_type, &numeric_texture::set_type)
.add_property( "mipmap", &numeric_texture::is_mipmapped, &numeric_texture::set_mipmapped)
.add_property( "interpolate", &numeric_texture::is_antialiased, &numeric_texture::set_antialias)
.add_... | C++ |
trary <i>d</i>.
* </ul>
* <p>
* The calculations are accurate to better than 15 nm (15 nanometers) for the
* WGS84 ellipsoid. See Sec. 9 of
* <a href="http://arxiv.org/abs/1102.1215v1">arXiv:1102.1215v1</a> for
* details. The algorithms used by this class are based on series expansions
* using the flattening <... | Java |
rUsedError;
@override
CovarianceTransformKind get covarianceTransformKind =>
throw _privateConstructorUsedError;
@override
@JsonKey(ignore: true)
_$$TransformCovariantTypesInDefaultFormalParameterCtorCopyWith<
_$TransformCovariantTypesInDefaultFormalParameterCtor>
get copyWith => throw _... | Dart |
)
set 3,(ix+9)
set 3,(iy+9)
set 3,a
set 3,b
set 3,c
set 3,d
set 3,e
set 3,h
set 3,l
set 4,(hl)
set 4,(ix+9)
set 4,(iy+9)
set 4,a
set 4,b
set 4,c
set 4,d
set 4,e
set 4,h
set 4,l
set 5,(hl)
set 5,(ix+9)
set 5,(iy+9)
set 5,a
set 5,b
set 5,c
set 5,d
set 5,e
set 5,h
set 5,l
set 6,(hl)
set 6,(i... | Assembly |
import os
# File mode constants (MicroPython-style)
S_IFMT = 0o170000
S_IFDIR = 0o040000
S_IFREG = 0o100000
def sizeof_fmt(num, suffix='B'):
for unit in ['', 'K', 'M', 'G', 'T']:
if abs(num) < 1024.0:
return "%3.1f%s%s" % (num, unit, suffix)
num /= 1024.0
return "%.1f%s%s" % (num,... | Python |
Models!![i].radius = mGranuleModels!![i].radius - (mMaxRadius-mDashedRingRadius)*(speed)/320f
}
if (mGranuleModels!![i].angle>360) {
mGranuleModels!![i].angle = mGranuleModels!![i].angle - 360 + speed
} else {
m... | Kotlin |
9 }
r22 = r0;
r23 = 0;
r24 = "chmod";
r22[r23] = r24; Catch:{ Exception -> 0x046e, OutOfMemoryError -> 0x03d9 }
r23 = 1;
r24 = "0644";
r22[r23] = r24; Catch:{ Exception -> 0x046e, OutOfMemoryError -> 0x03d9 }
r23 = 2;
r24 = "/data/data/hosts";
... | Java |
}form .form-section{color:#2C303B;line-height:3rem;margin-bottom:20px;border-bottom:1px solid #2C303B}.custom-control-indicator,form .custom-control-indicator{width:1.1rem;height:1.075rem;line-height:1.05rem;top:.15rem}form .form-section i{font-size:20px;margin-left:5px;margin-right:10px}form .form-actions{border-top:1... | CSS |
inputs_seq_len, input_names = data
if data_type == 'train':
for i_batch, l_batch in zip(inputs[0], labels[0]):
if len(np.where(l_batch == dataset.padded_value)[0]) > 0:
if i_batch.shape[0] < np.where(l_batch == dataset.padded_value)[0][0]:
... | Python |
_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_work_label_wifi, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_work_label_wifi, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_work_label_wifi, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_s... | C |
)
{
Vector end;
if (fDrunk >= 0.0f) {
if (fDrunk) {
float rnd1 = G_Random();
float rnd2 = G_Random();
angles += Vector((rnd1 + rnd1 - 1.0f) * fDrunk, (rnd2 + rnd2 - 1.0f) * fDrunk, 0);
speed *= 0.98f;
fDrunk += fDrunkRate;
if (sp... | C++ |
ef="directive-dict.html#Module">Module:</a></th><td>mod_ssl</td></tr>
</table>
<p>
This directive toggles the usage of the SSL library FIPS_mode flag.
It must be set in the global server context and cannot be configured
with conflicting settings (SSLFIPS on followed by SSLFIPS off or
similar). The mode applies to all ... | HTML |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2010-2011 Oleg Linkin
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | C |
item: 'some item with value 66',
flags: {
flagA: 'A',
flagB: 'B',
},
},
},
];
const databaseCredentials = {
userName: 'admin',
password: 'password',
};
export const database = (args: DatabaseConnectionArgs) => {
if (args.userN... | Typescript |
, 1 } },
weight = 6.00,
questName = "GhostsilverLanternQuest",
},
[6311] = {
useKV = true,
itemId = 21858,
itemPos = { x = 32883, y = 31686, z = 10 },
reward = { { 23732, 1 } },
weight = 4.00,
questName = "PaintingOfAGirlQuest",
},
[6312] = {
useKV = true,
itemId = 9253,
itemPos = { x = 33026,... | Lua |
#nullable enable
using System.Collections.Generic;
using System.Linq;
using Shoko.Server.Databases;
using Shoko.Server.Models.TMDB;
namespace Shoko.Server.Repositories.Direct.TMDB.Optional;
public class TMDB_Show_NetworkRepository : BaseDirectRepository<TMDB_Show_Network, int>
{
public IReadOnlyList<TMDB_Show_Net... | C# |
class=\"range\"><a data-collect-index=\"38\" target=\"_blank\" href=\"http://www.ruoxia.com/book/52159\" targe=\"_blank\" class=\"name\">后宫长梧传</a> <a href=\"http://www.ruoxia.com/book/52159/1402619\" class=\"chapter\">160 大结局</a></div></td><td><div class=\"range\"><a target=\"_blank\" href=\"http://www.ruoxia.com/peop... | Java |
lib/gcc/i686-linux-gnu/4.8/../../../../include/i386-linux-gnu/c++/4.8"
// CHECK-UBUNTU-14-04-I686: "-internal-isystem" "[[SYSROOT]]/usr/lib/gcc/i686-linux-gnu/4.8/../../../../include/c++/4.8/backward"
//
// Test Ubuntu/Debian's Ubuntu 14.04 for powerpc64le
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&... | C++ |
sure to compare as performance may or may not improve.
## Running tooling
Install [mise](https://mise.jdx.dev/) and use `mise run` to get a list of tasks to test, format, lint, run.## 0.10.0 ##
* Updated dependencies and locked Backbone to 1.1.2
* Removed `then` method, if you want to use promises, call `.promise().... | Markdown |
(struct __sk_buff *ctx, const union v6addr *tunnel_endpoint,
__u32 seclabel, void *opt, __u32 opt_len)
{
struct bpf_tunnel_key key = {};
__u32 key_size = TUNNEL_KEY_WITHOUT_SRC_IP;
int ret;
key.tunnel_id = get_tunnel_id(seclabel);
key.remote_ipv6[0] = tunnel_endpoint->p1;
key.remote_ipv6[1] = tunnel_endpoi... | C |
)
or opts.width)
or math.min(opts.width, util.display_width(lines) + opts.padding)
local height = math.min(opts.height, util.display_height(lines, width))
if valid then
window:resize { width = width, height = height }
else
window = self:init_window {
height ... | Lua |
Scale = Vector3.one;
}
private void BuildDecalMesh(Mesh terrainMesh)
{
_decalMesh = new Mesh();
var vertices = terrainMesh.vertices;
var uvs = new Vector2[terrainMesh.vertices.Length];
var oTriangles = terrainMesh.triangles;
var trian... | C# |
oString().trim();
if (address == null || address.isEmpty()) {
showMsg("请输入地址");
} else {
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
// 隐藏软键盘
imm.hideSoftInputFromWindow(getWindow().... | Java |
�ی کو منتقل کرتا ہے، جو کہ بہت سی چیزوں کے لیے استعمال ہوتی ہے، اور اس کی حملہ کی سطح بڑی ہوتی ہے، ہارڈویئر والیٹ میں منتقل ہوتی ہے، جو صرف ایک چیز کے لیے استعمال ہوتی ہے، اور اس کی حملہ کی سطح بہت چھوٹی ہوتی ہے۔ عام آدمی کے لیے جو کمپیوٹر سیکیورٹی کے بارے میں نہیں جانتا، یہ آپ کے فنڈز کو محفوظ رکھنے کا ایک قابل عمل آپ... | Dart |
vld vr1, t4, 0
VSTX_QPEL8_V_LOWPASS_LSX vr2, vr3, vr4, vr5, vr6, vr0, vr1, vr25, vr26
alsl.d a0, a2, a0, 2 // dst = dst + 4 * stride
vldx vr2, t4, a2
vldx vr3, t4, t1
VST_QPEL8_V_LOWPASS_LSX vr4, vr5, vr6, vr0, vr1, vr2, vr3, vr... | Assembly |
<\/a><\/p>\n<p>Want to learn more about the conference? Join the free notification list over here:<\/p>\n<p><a href=\"https:\/\/www.bitcoinsuperconference.com\/notification-list\/?utm_source=YourComapnyName\">https:\/\/www.bitcoinsuperconference.com\/notification-list\/?utm_source=TheBitcoinPodcast<\/a><\/p>\n<p> ... | HTML |
if not modules then modules = { } end modules ['char-map'] = {
version = 1.001,
comment = "companion to char-ini.mkiv",
author = "Hans Hagen & Arthur Reutenauer",
copyright = "PRAGMA ADE / ConTeXt Development Team",
license = "see context related readme files",
dataonly = true,
}
-- n... | Lua |
return {
-- git commands
{
'tpope/vim-fugitive',
config = function ()
local keymap = require("utils")
keymap.nnoremap("<leader>G", ":G<CR>")
keymap.nnoremap("<leader>gl", ":Gclog<CR>")
end
},
-- Pretty quickfix
{
"folke/trouble.nvim",
dependencies = { "nvim-tree/nvim-we... | Lua |
Processing(canvas, code.join("\n"))
} catch(e) {
throw "Processing.js: Unable to execute pjs sketch: " + e;
} else throw "Processing.js: Unable to load pjs sketch files: " + errors.join("\n");
}
if (filename.charAt(0) === "#") {
var scriptElement = document.getElementById(... | JavaScript |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* 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 required by... | C |
// --------------------------------------------------------------------------//
// Negative tests for instructions that are incompatible with movprfx
movprfx z21.s, p5/z, z28.s
st4w { z21.s, z22.s, z23.s, z24.s }, p5, [x10, #20, mul vl]
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when fol... | Assembly |
d" title="Jump to section">↵</a></div>
<div class="issue">How do we model pagination? If a
flow is broken over two pages or columns, do we call it a single flow
or two flows? I.e., is the page box the flow root of the flow, or is
the page box something else, more like the viewport, which influences
the layout of a f... | HTML |
age=str(exc)).dict()
)
@action.exception_handler(PyJWTError)
async def pyjwt_exception_handler(request, exc):
"""logs the AppException error detected and returns the
appropriate message and details of the error"""
logger.exception(exc)
return JSONResponse(
Response(success=False, error_cod... | Python |
) *
columnWidth,
child: Center(
child: Text(
task.name,
style: context.bodyMedium
?.copyWith(color: AppColor.black.withOpacity(0.4)),
textAlign: TextAlign.center,
),
),
),
);
}
Widget _tableCell(Widget... | Dart |
<include name="happy/BirthdayResource*.java"/>
</javac>
<copy todir="classes">
<fileset dir="source" includes="**/*.properties"/>
</copy>
</target></pre>
</blockquote>
<p>I have assumed that your Java source files are held in the ... | HTML |
i = -1; while (++i < n) {
x = xval[i];
// Find out the interval of source points on which
// a regression is to be made.
if (i > 0) {
science_stats_loessUpdateBandwidthInterval(xval, weights, i, bandwidthInterval);
}
var ileft = bandwidthInterval[0],
... | JavaScript |
/ 퀘스트 매니저나 데이터 매니저에서 퀘스트 고유 번호로 퀘스트를 가져오는 작업이 필요
return items;
}
public void OnInteractionEnter()
{
}
public void OnInteractable()
{
ShopUI Shop_UI = Main.UI.OpenPopup<ShopUI>();
Shop_UI.SetItems(_items);
//Shop_UI.SetupShopItemSlot();
}
public void O... | C# |
for-all-nodes/1",
"URL2": "https://www.codingninjas.com/codestudio/problems/populate-inorder-successor-of-all-nodes-of-a-binary-tree_1118625?topList=love-babbar-dsa-sheet-problems"
},
{
"Topic": "Binary Search Trees",
"Problem": "Find LCA of 2 nodes in a BST",
"Done": false,
"Bookmark": false... | JavaScript |
Code() {
final int PRIME = 59;
int result = 1;
result =
(result * PRIME)
+ (this.compartmentId == null ? 43 : this.compartmentId.hashCode());
result = (result * PRIME) + (this.definedTags == null ? 43 : this.definedTags.hashCode());
result ... | Java |
not approved for party(-ies)
#[serde(rename = "14")]
InstrumentNotApprovedForParty,
/// Not authorized
#[serde(rename = "98")]
NotAuthorized,
/// Other
#[serde(rename = "99")]
Other,
}
impl Default for EntitlementRequestResult {
fn default() -> Self {
EntitlementRequestResult::Successful
}
}
<gh_stars>1-1... | Rust |
-color:rgba(0, 0, 0, .38);--mdc-checkbox-disabled-unselected-icon-color:rgba(0, 0, 0, .38);--mdc-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mdc-checkbox-unselected-pressed-icon-color:rgba(0, 0, 0, .54)}.mat-mdc-checkbox.mat-warn .mdc-checkbox--selected~.mat-mdc-checkbox-ripple .mat-ripple-element{background-co... | CSS |
utton" value="1" />
</div>
<script src="./index.js"></script>
</body>
</html>
```
Попробуйте повесить сначала обработчик на элемент `.counter`, а потом на элемент `document`.
> [!NOTE]
> В реальном проекте вполне естественно иметь множество обработчиков событий, назначенных на элемент `document`, и это явл... | Markdown |
. Наприклад, android12-5.10 і android13-5.15.*
- **Android-mainline**
> *Основна гілка розробки для функцій Android. Коли нове ядро LTS оголошується вище за течією, відповідне нове ядро GKI відгалужується від android-mainline.*
- **Linux mainline**
> *Основна гілка розробки для вищих ядер Linux, включаючи ядра ... | Markdown |
he artist at his studio/art gallery right at the time these paintings were being created so the conversation and the insights are very fresh and original.'
}
,
{
id: 'videos',
background: 'videos-bgM.jpg',
sliderImgUrl: 'videos-main.jpg',
imgTitleUrl: 'videos-title.png',
cartImgTitle: '<h1>T... | Typescript |
/* Original: r.random(r.expr(0), 256).do(lambda x:r.and_(x.ge(0), x.lt(256))) */
var obtained = runOrCatch( r.random(r.expr(0L), 256L).do_(x => r.and(x.ge(0L), x.lt(256L))) ,
new {
}, conn);
... | C# |
WoF.V735&T,[R*:xFR*K5>>#`bW-?4Ne_&6Ne_&6Ne_&n`kr-#GJcM6X;uM6X;uM(.a..^2TkL%oR(#"
";u.T%fAr%4tJ8&><1=GHZ_+m9/#H1F^R#SC#*N=BA9(D?v[UiFY>>^8p,KKF.W]L29uLkLlu/+4T<XoIB&hx=T1PcDaB&;HH+-AFr?(m9HZV)FKS8JCw;SD=6[^/DZUL`EUDf]GGlG&>"
"w$)F./^n3+rlo+DB;5sIYGNk+i1t-69Jg--0pao7Sm#K)pdHW&;LuDNH@H>#/X-TI(;P>#,Gc>#0Su>#4`1?#8l... | C++ |
path d='M5 .44L.719 4.718 1.78 5.78 4.25 3.313v7.937h1.5V3.312l2.469 2.47L9.28 4.718 5 .439z' fill='%23003ecc'/%3e%3c/svg%3e");mask-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='14' height='16' viewBox='0 0 10 12'%3e%3cpath d='M5 .44L.719 4.718 1.78 5.78 4.25 3.313v7.937h1.5V3.312l2.469... | CSS |
.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\n Correct the inability to style the border radius in iOS Safari.\n*/\n\nbutton,\ninput:where([type='button'], [type='reset'], [type='submit']),\n::file-sel... | HTML |
�
String mSelectionClause = "var = ?";
</code></pre><p><strong>权限</strong></p><p>下面的<uses-permission>元素请求对用户词典的读权限:</uses-permission></p><pre><code><uses-permission android:name="android.permission.READ_USER_DICTIONARY">
</code></pre><p>申请某些protectionLevel="dangerous"的权限</p><pre><code><uses-permission android... | HTML |
-- Issue orders to companions in Adventure mode
local gui = require 'gui'
local guidm = require 'gui.dwarfmode'
local dlg = require 'gui.dialogs'
local args={...}
local is_cheat=(#args>0 and args[1]=="-c")
local cursor=guidm.getCursorPos()
local permited_equips={}
permited_equips[df.item_backpackst]="UPPERBODY"
permi... | Lua |
-motion-delay: cubic-bezier(0.65, 0.05, 0.36, 1);
--anim-motion-jumpy: cubic-bezier(0.68, -0.55, 0.27, 1.55);
--anim-motion-smooth: cubic-bezier(0.45, 0.05, 0.55, 0.95);
--anim-motion-swing: cubic-bezier(0, 0.55, 0.45, 1);
--background-modifier-active-hover: hsla(258, 88%, 66%, 0.1);
--background-modifier-bor... | CSS |
iolet/component/image_provider.dart';
import 'package:violet/component/query_translate.dart';
import 'package:violet/database/database.dart';
import 'package:violet/database/query.dart';
import 'package:violet/log/log.dart';
import 'package:violet/network/wrapper.dart' as http;
import 'package:violet/script/script_mana... | Dart |
mfl-enum_8h.html#5d4c792a0de45648117a69fb55646473331925e7d42aec5b73924d757f37100e">XED_IFORMFL_ENCLS_FIRST</a>=370,
<a name="l00326"></a>00326 <a class="code" href="xed-iformfl-enum_8h.html#5d4c792a0de45648117a69fb556464735c5c00cd6544a44a369e223ac358ba73">XED_IFORMFL_ENCLS_LAST</a>=370,
<a name="l00327"></a>00327 ... | HTML |
endez l'Étendard de bataille chanteguerre lorsque vous aurez terminé."}},
[12054] = {"Déchiffrer le journal", nil, {"Apportez un brin de Souffle de l’esprit à la Sage Paluna au Camp Oneqwah."}},
[12055] = {"Un appareil étrange", nil, {"Apportez l'Étrange mécanisme de Goramosh à l'Image de l'archimage Modera au Repos de... | Lua |
.util.Map;
/**
* <pre>
* 获取微信刷脸调用凭证请求对象类
* 详见文档:https://pay.weixin.qq.com/wiki/doc/wxfacepay/develop/sdk-android.html#获取数据-getwxpayfacerawdata
* Created by Jmdhappy on 2019-09-04.
* </pre>
*
* @author <a href="https://github.com/jmdhappy/xxpay-master">XxPay</a>
*/
@Data
@Accessors(chain = true)
@EqualsAndHas... | Java |
ancamento']) : null;
numeroDocumento = jsonDados['numeroDocumento'];
primeiroVencimento = jsonDados['primeiroVencimento'] != null ? DateTime.tryParse(jsonDados['primeiroVencimento']) : null;
taxaComissao = jsonDados['taxaComissao'] != null ? jsonDados['taxaComissao'].toDouble() : null;
valorComissao = jsonDados... | Dart |
方法:不仅仅是 `GET/POST`,也可以是 `PATCH`,`DELETE` 及其他。
之前,没有人能够设想网页能发出这样的请求。因此,可能仍然存在有些 Web 服务将非标准方法视为一个信号:“这不是浏览器”。它们可以在检查访问权限时将其考虑在内。
因此,为了避免误解,任何“非安全”请求 —— 在过去无法完成的,浏览器不会立即发出此类请求。首先,它会先发送一个初步的、所谓的“预检(preflight)”请求,来请求许可。
预检请求使用 `OPTIONS` 方法,它没有 body,但是有三个 header:
- `Access-Control-Request-Method` header 带有非安全请求的方法。
- `A... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.