content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
74-1.43 1.92-.59 3.85-1.11 5.77-1.69.75-.23 1.08.15 1.3.78.67 2.16 1.33 4.32 2.04 6.46.18.61.44 1.2.78 1.74.66 1 1.72.98 2.78.94 1.83-.06 2.09-.25 2.09-2.07 0-2.62-.06-5.25-.13-7.87-.04-1.3-.07-1.37 1.24-1.4 2.14-.06 4.29-.02 6.47-.02"/><path fill="#FDD600" d="m53.5 54.08.15-.32c-.5-.49-.91-1.15-1.5-1.44a9.83 9.83 0 0 ... | JavaScript |
(page - 1) * pageSize
list := make([]*Auth, 0)
query := orm.NewOrm().QueryTable(TableName("uc_auth"))
if len(filters) > 0 {
l := len(filters)
for k := 0; k < l; k += 2 {
query = query.Filter(filters[k].(string), filters[k+1])
}
}
total, _ := query.Count()
query.OrderBy("pid", "sort").Limit(pageSize, off... | Go |
ist, &event, 0U, nullptr);
testGraph.stopCapturing();
std::ostringstream dot;
exporter.writeNodes(dot, testGraph, 0, 0);
std::string output = dot.str();
EXPECT_NE(output.find("L0_S0_C0"), std::string::npos);
EXPECT_NE(output.find("zeCommandListAppendBarrier"), std::string::npos);
}
TEST_F(Gra... | C++ |
for _i := range _a2 {
_va[_i] = _a2[_i]
}
var _ca []interface{}
_ca = append(_ca, _a0, _a1)
_ca = append(_ca, _va...)
ret := _m.Called(_ca...)
var r0 *ssm.DescribeParametersOutput
if rf, ok := ret.Get(0).(func(context.Context, *ssm.DescribeParametersInput, ...request.Option) *ssm.DescribeParametersOutput); ... | Go |
ERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
S... | C# |
WildcardDomains)
json.Unmarshal([]byte(selectedLiveWebServersJSON), &config.SelectedLiveWebServers)
}
w.Header().Set("Content-Type", "application/json")
json.NewEncoder(w).Encode(config)
}
func saveKatanaCompanyConfig(w http.ResponseWriter, r *http.Request) {
vars := mux.Vars(r)
scopeTargetID := vars["scope_ta... | Go |
.a->i == -2);
SECTION("operator=") {
A::Guard ag;
c = b;
REQUIRE(A::cla == 1);
REQUIRE(c.a->i == -2);
c.a.reset(new A(-7));
REQUIRE(c.a->i == -7);
REQUIRE(A::cla == 1);
}
}
}
SECTION("in vector") {
A::Guard ag;
std::vector<B> vb(1);
... | C++ |
, _2: T2, _3: T3): Tuple3<T1, T2, T3> = Tuple3<T1, T2, T3>(_1, _2, _3)
/**
* Returns a new Tuple4 of the given arguments.
* @see tupleOf
* @see X
*/
fun <T1, T2, T3, T4> t(_1: T1, _2: T2, _3: T3, _4: T4): Tuple4<T1, T2, T3, T4> = Tuple4<T1, T2, T3, T4>(_1, _2, _3, _4)
/**
* Returns a new Tuple5 of the given argu... | Kotlin |
30, 4(r3)
/* 802B7C3C 002B389C 93 DA 00 08 */ stw r30, 8(r26)
/* 802B7C40 002B38A0 48 00 00 10 */ b lbl_802B7C50
lbl_802B7C44:
/* 802B7C44 002B38A4 83 5A 00 08 */ lwz r26, 8(r26)
lbl_802B7C48:
/* 802B7C48 002B38A8 2C 1A 00 00 */ cmpwi r26, 0
/* 802B7C4C 002B38AC 40 82 FF 40 */ bne lbl_802B7B8C
lbl_802B7C50:
/* 802... | Assembly |
= true,
["Viper Sting"] = true,
["Volley"] = true,
["Wand Specialization"] = true,
["Wands"] = true,
["War Stomp"] = true,
["Water Breathing"] = true,
["Water Walking"] = true,
["Weakened Soul"] = true,
["Weaponsmith"] = true,
["Whirlwind"] = true,
["Will of the Forsaken"] = true,
["Windfury Tot... | Lua |
expect(o.transactionId!, unittest.equals('foo'));
}
buildCounterGoogleCloudApigeeV1CreditDeveloperBalanceRequest--;
}
core.List<core.String> buildUnnamed51() => ['foo', 'foo'];
void checkUnnamed51(core.List<core.String> o) {
unittest.expect(o, unittest.hasLength(2));
unittest.expect(o[0], unittest.equals('foo... | Dart |
c);
}
StatePath *viterbiPath = namgene.getTrainViterbiPath(as->sequence, sfcs[i]);
delete viterbiPath; // we actually don't need this in this algorithm, but namgene needs the forward table..
/*
* in the first round compute the feature sum for all training examples
* t... | C++ |
------------------------------------------.
* | M1 ||Esc| 1 | 2| 3| 4| 5| 6| | 7| 8| 9| 0| -| =| ~ | \ |
* |----||----------------------------------------------------------------------|
* | M2 ||Tab | Q| W| E| R| T| | Y| U| I| O| P| [ | ] |BkSpc|
* |----||------------... | C |
Ljc3MzY5IEw1MTIuOTA4MTE2LDUxMi42ODQ1MjQgTDU2LjU1OTA1NCwxMi4yMzQ1MDEgQzQ5LjQxMTQ2NzgsMi45MzQ1NTkxMiAzNy42NjY0MjM4LC0xLjU5MTg4MTc2IDI2LjEyNjIzMjQsMC41MDU5NDgyNDYgQzE0LjU4NjA0MSwyLjYwMzc3ODI1IDUuMTg1NDQ0MDksMTAuOTc0MTcyNyAxLjc2ODE1NTE2LDIyLjE5NDY0NzEgQy0xLjY0OTEzMzc3LDMzLjQxNTEyMTQgMS40ODk4MDIyOCw0NS42MDQ1MzUxIDkuOTAxNTE2... | CSS |
</mat-step>
</mat-stepper>
</div>
<div class="tab-container mat-typography">
<h3>{{ 'labels.heading.Performance History' | translate }}</h3>
<div class="layout-row gap-32px performance-history-container">
<table>
<tbody>
<tr>
<td>
<p>
{{ 'labels.inputs.No.... | HTML |
base/sass/etc/mixins/frame.scss */
.x-tip-form-invalid-tc {
height: 5px;
}
/* line 370, ../../../ext-theme-base/sass/etc/mixins/frame.scss */
.x-tip-form-invalid-bc {
height: 5px;
}
/* line 381, ../../../ext-theme-base/sass/etc/mixins/frame.scss */
.x-tip-form-invalid-tl,
.x-tip-form-invalid-bl,
.x-tip-form-inval... | CSS |
.05,
cx_gear = 0.03,
cy_flap = 0.47,
kjx = 2.75,
kjz = 0.00125,
table_data = { { 0, 0.025, 0.07, 0.132, 0.032, 0.48, 27, 1.6 }, { 0.2, 0.025, 0.07, 0.132, 0.032, 1.47, 26.5, 1.6 }, { 0.4, 0.025, 0.071, 0.133, 0.032, 2.4, 25.5, 1.5 }, { 0.6, 0.025, 0.073, 0.133, 0.043, 3.5, 25, 1.4 }, { 0.7, 0.025, 0.076,... | Lua |
D(addrl),AL)
AND_B (andvb,AL)
XOR_B (xorvb,AL) /**/
MOV_B (AL,REGIND(addrl))
JMP (.allfinish)
.LS3: MOV_W (REGIND(addrl),AX)
AND_W (andvw,AX)
XOR_W (xorvw,AX) /**/
STOS_W
MOV_B (REGIND(addrl),AL)
AND_B (andvb,AL)
XOR_B (xorvb,AL) /**/
MOV_B (AL,REGIND(addrl))
JMP (.allfinish)
.LS4: MOV_W (RE... | Assembly |
using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.VBIDEApi.Enums
{
/// <summary>
/// SupportByVersion VBIDE 12, 14, 5.3
/// </summary>
[SupportByVersion("VBIDE", 12,14,5.3)]
[EntityType(EntityType.IsEnum)]
public enum vbextFileTypes
{
/// <summary>
/// SupportByVersion VBID... | C# |
ion is only applied to an existing document if the\n version number specified in the operation is greater than the existing\n document\'s version number.</p>\n <p xmlns:xqdoc="http://www.xqdoc.org/1.0">The document to remove is specified through an object with the\n following form:\n <pre>\n {\n "id" : "tt0484562",\n... | JavaScript |
�引页面]
</a>
</p>
<hr/>
<p>
<img src="../../../../GFDL-logo-small.png"/>
<br/>
Copyright (C) 2024 Marxist-Leninist-Maoist.
<br/>
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published... | HTML |
const monthArray = Object.keys( m ).map( key => m[ key ] );
// monthArray.map( day => {
// if ( day[ 'tasks' ] ) {
// day[ 'tasks' ].forEach( task => {
// items.push( {
// title: task[ 'title' ],
// ... | Typescript |
= _calculateGoal(mediaWidth, multiplier);
final animationController = AnimationController(
vsync: this, duration: const Duration(milliseconds: 200));
animationController.addStatusListener((status) {
if (status == AnimationStatus.completed) {
_onApplyTranslation();
animationContr... | Dart |
.CENTRAL_FLUTTER_SNOWFLAKES_BATTLEFIELD_IS_A_POWERFUL_STORM_MAGIC_SIGN_QUICKLY_LEAVE_THERE"] = "Kar taneleri Savaş Alanına düşüyor, sadece güçlü bir büyü Fırtınası bunu yapabilir! Şimdi oradan ayrıl!",
["STAGE.DARK"] = "Şaman",
["STAGE.WHO_IS_THIS_LEWD_GUY_HOW_TO_RUN_WITH_US_HE_IS_REALLY_TO_FIGHT"] = "Bu kirli adam d... | Lua |
Name.Other */
body.dark .highlight .py { color: #f8f8f2 } /* Name.Property */
body.dark .highlight .nt { color: #f92672 } /* Name.Tag */
body.dark .highlight .nv { color: #f8f8f2 } /* Name.Variable */
body.dark .highlight .ow { color: #f92672 } /* Operator.Word */
body.dark .highlight .w { color: #f8f8f2 } /* Text.Whi... | CSS |
ViewFrame:GetHeight())
_gearView.updateGearButton = CreateFrame("Button", "pp_updateGearButton", PlayerbotsGear)
local updateGearBtn = _gearView.updateGearButton
--updateGearBtn:SetFrameStrata("DIALOG")
updateGearBtn:SetFrameLevel(7)
updateGearBtn:SetPoint("BOTTOMLEFT", PlayerbotsGear, 48, 43)
... | Lua |
 math_helper.c'],['../arm__convolution__example_2math__helper_8h.html#a32f9f3d19e53161382c5bd39e3df50fb',1,'arm_compare_fixed_q31(q31_t *pIn, q31_t *pOut, uint32_t numSamples): math_helper.c'],['../arm__fir__example_2math__helper_8c.html#a32f9f3d19e53161382c5bd39e3df50fb',1,'arm_compare_fixed_q31(q31_t *pIn, ... | JavaScript |
, 0, dataY, dataUV)
} else {
log.Println(" ImageListener: ", format, w, h, planes, pixelStride, rowStride, t)
// 保存照片
}
} else {
log.Println(" ImageListener:", err)
}
}
func (cam *ndkCamera) initCamera(id string) {
if cam.dev == nil {
cam.imgLock.Lock()
defer cam.imgLock.Unlock()
var err error
... | Go |
: @zindexFixedNavbar + 1;
i[class^=icon-] {
font-size: 18px;
line-height: 36px;
color: @menuBackGroundColor;
}
}
> .dropdown-menu {
display: block;
}
}
&.active {
#gradient > .vertical(lighten(@headerIconButtonColorStart, 5%), lighten... | CSS |
", "<Right>"),
"""
Oh, hi Mark$c
""".trimIndent(),
"""
Oh, hi Mark$c
""".trimIndent(),
Mode.INSERT,
) {
enterCommand("set whichwrap=]")
}
}
@TestWithoutNeovim(SkipNeovimReason.OPTION)
@Test
fun `test whichwrap to next line`() {
doTest(
l... | Kotlin |
using System;
using Android.Support.V4.View;
using Android.Views;
using Android.Graphics;
namespace BottomNavigationBar.Adapters
{
internal class CustomViewPropertyAnimatorListenerAdapter : ViewPropertyAnimatorListenerAdapter
{
private readonly View _backgroundView;
private readonly View _bgOv... | C# |
oldest_remote {
Some(t) => t < last_delete,
None => true,
};
if !should_update_remote {
return Ok(());
}
conn.execute("DELETE FROM remote", NO_PARAMS)?;
let url = format!(
"{}/chunks/{}",
&state.config.server,
hex::encode(&state.secrets.bucket)
);... | Rust |
using NUnit.Framework;
using Unity.MLAgents.Sensors;
namespace Unity.MLAgents.Tests
{
[TestFixture]
public class CompressionSpecTests
{
[Test]
public void TestIsTrivialMapping()
{
Assert.IsTrue(CompressionSpec.Default().IsTrivialMapping());
var spec = new Co... | C# |
Rgaa42019RuleImplementationTestCase;
/**
* Unit test class for the implementation of the rule 10-4-1 of the referential Rgaa 4-2019.
*
* @author edaconceicao
*/
public class Rgaa42019Rule100401Test extends Rgaa42019RuleImplementationTestCase {
/**
* Default constructor
*/
public Rgaa42019Rule100... | Java |
le':
boundingBox[0][axes.xAxis] += delta[axes.xAxis];
if (fixCenterOfGravity) {
boundingBox[1][axes.xAxis] -= delta[axes.xAxis];
}
break;
case 'east-handle':
case 'north-east-handle':
case 'south-east-handle':
boundingBox[1][axes.xAxis] += delta[axes.xAxis];
if (f... | Typescript |
cle,
rgba(114, 209, 244, 0.2) 13px,
rgba(114, 209, 244, 0.3) 13px,
transparent 30px
),
radial-gradient(
circle,
rgba(114, 209, 244, 0.2) 18px,
rgba(114, 209, 244, 0.3) 18px,
transparen... | CSS |
"top"><a id="a71770fa6b79959b936ca07f36c3f555a" name="a71770fa6b79959b936ca07f36c3f555a"></a>
bool </td><td class="memItemRight" valign="bottom"><b>work_pending</b></td></tr>
<tr class="memdesc:a71770fa6b79959b936ca07f36c3f555a"><td class="mdescLeft"> </td><td class="mdescRight">True if the worker need do_wor... | HTML |
ormer is more efficient (in fact `resolve` just calls `study`
* internally).
*
* @param {object} invocables Invocable objects
* @return {function} a function to pass in locals, parent and self
*/
this.study = function (invocables) {
if (!isObject(invocables)) throw new Error("'invocables' must be ... | JavaScript |
"""
Test script to verify piece type constants and movement rules
"""
import chess
import os
import sys
# Add the project directory to the Python path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
# Import the game's board module
from modules.board import GameBoard
def print_piece_types():
"""Pr... | Python |
-terminal-background: var(--bolt-elements-terminals-background);
--bolt-terminal-foreground: #eff0eb;
--bolt-terminal-selection-background: #97979b33;
--bolt-terminal-black: #000000;
--bolt-terminal-red: #ff5c57;
--bolt-terminal-green: #5af78e;
--bolt-terminal-yellow: #f3f99d;
--bolt-terminal-blue: #57c7f... | CSS |
%r0, %cr17 /* Clear IIASQ tail */
mtctl %r0, %cr17 /* Clear IIASQ head */
mtctl %r1, %cr18 /* IIAOQ head */
ldo 4(%r1), %r1
mtctl %r1, %cr18 /* IIAOQ tail */
load32 KERNEL_PSW, %r1
mtctl %r1, %cr22
rfi
nop
nop
nop
nop
nop
nop
nop
nop
rfi_r2v_1:
tovirt_r1 %r2
#endif /* defined(BOOTLOADER) */
bv ... | Assembly |
AL` (`f64`).
//!
//! `ToSql` cannot fail and is therefore implemented for all number types that
//! can be losslessly converted to one of these types, i.e. `u8`, `u16`, `u32`,
//! `i8`, `i16`, `i32`, `i64`, `isize`, `f32` and `f64`. It is *not* implemented
//! for `u64` or `usize`.
//!
//! `FromSql` can fail, and is im... | Rust |
(testData)));
}
@Test
public void testSha3_256() {
assumeJava9();
// Examples from https://csrc.nist.gov/projects/cryptographic-standards-and-guidelines/example-values
//
// https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Standards-and-Guidelines/documents/examples/S... | Java |
可以做银行经理。”(三)散布个人主义名利思想,如理学院教授王恒守对学生说:“只要发明一点东西,就可以一辈子不愁穷了。”(四)宣传轻视工人阶级的资产阶级观点,如茶专教授陈椽在“茶叶管理”讲义中说:“工人有偷懒的本性。”(五)滥用陈腐的旧教材,如文学院教授赵景深用30年前厨川白村的“近代文学十讲”作教材,讲“短篇小说结构”用他在1932年作的“小说原理”。
</p>
<p>
在资产阶级教育思想的支配下,直接受危害的是青年学生,他们从教师得到的是不切实际的陈腐教材,是资产阶级的腐朽思想,因而在学生中沾染了“名利思想”和“享乐腐化思想”。
</p>
<p>
综上所述,可知复旦大学在思想改造前所存在的问题甚多,亟待... | HTML |
T>
where T: Foo
{
}
trait FooBar<T>
: Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
where J: Bar
{
fn test();
}
trait WhereList<T, J>
where T: Foo,
J: Bar
{
}
use clap::ArgMatches;
use failure::{err_msg, Error};
pub fn run(m: &ArgMatches<'_>) -> Result<(), E... | Rust |
Data().artFont.value,
height: height,
);
}
}
import 'package:chessroad/config/profile.dart';
class PikafishConfig {
//
static const kTimeLimit = 'pikafish_timeLimit';
static const kPonder = 'pikafish_ponder';
static const kThreads = 'pikafish_threads';
static const kLevel = 'pikafish_level';
st... | Dart |
_color(theme.button_hover)
.press_color(theme.button_press)
.h(BUTTON_HEIGHT)
.border(0.0)
.label_font_size(24)
.label_font_id(*fonts.get("lato").unwrap())
.label_color(theme.text_secondary);
if base_button.clone()
.label("Rand... | Rust |
os.path.isdir(dir_name):
os.mkdir(dir_name)
#record every run
copyfile('./train.py', dir_name+'/train.py')
copyfile('./model.py', dir_name+'/model.py')
# save opts
with open('%s/opts.yaml'%dir_name,'w') as fp:
yaml.dump(vars(opt), fp, default_flow_style=False)
# model to gpu
model = model.cuda()
if fp16:
... | Python |
lass="ogmusic"><a href="./封じられた妖怪_~_Lost_Place.md" class="mw-redirect" title="封じられた妖怪 ~ Lost Place">封じられた妖怪 ~ Lost Place</a></div><div class="source"><a href="./东方地灵殿_~_Subterranean_Animism..md" class="mw-redirect" title="东方地灵殿 ~ Subterranean Animism.">东方地灵殿 ~ Subterranean Animism.</a></div></td></tr>
<tr><td id="7" cl... | Markdown |
t = test_client.get_component(RootComponent)
text1, text2, text3 = test_client.get_components(rio.Text)
root.switch = False
await test_client.wait_for_refresh()
# The first Text should've been reconciled and thus have new text
assert text1.text == "1"
# The 2nd Text wa... | Python |
�ेहरा | विचारमग्न चेहरा | सोचता हुआ चेहरा',
),
Emoji(
'🤐',
'चेहरा | ज़िप से बंद किया चेहरा | ज़िपर-मुँह वाला चेहरा | मुंह',
),
Emoji(
'🤨',
'अविश्वास | अविश्वासी | अस्वीकृति | आश्चर्य | क्या | चेहरे पर उठाए हुए भौं | तनी हुई भौहों वाला चेहरा | भौहें ताने हुआ चेहरा | शक्की | संदे... | Dart |
\u8ba4\u575d\u81ea\u5df1\u6709\u9519\u8bef\uff0c\u6001\u5ea6\u7a0d\u597d\u4e00\u4e9b\uff0c\u4f46\u5bf9\u81ea\u5df1\u95ee\u9898\u68c0\u67e5\u5f88\u4e0d\u900f\uff0c\u603b\u8ba4\u4e3a\u81ea\u5df1\u9519\u8bef\uff0c\u7fa4\u4f17\u4e0d\u77e5\u2026\u2026\uff08\u4e0b\u7f3a\uff09", "type": "paragraph"}, {"text": "\u6765\u6e90\uf... | HTML |
/ 启动1个协程
}
// wg.Add(10) // 或者不在上方循环中每次添加一个计数,而是一次性添加所有计数
wg.Wait() // 等待所有登记的协程结束
}
```
WaitGroup内部实现了一个计数器以记录未完成的操作个数。它提供了三个方法:
- `Add()`:添加协程计数
- `Done()`:登记协程完成,从登记的协程计数中减掉完成的协程计数
- `Wait()`:等待所有登记的协程完成,即登记的协程计数变为0时结束等待,继续主线程。
## errgroup.Group协程组错误处理
> errgroup包是Go语言标准库中的一个实用工具,用于管理一组协程... | Markdown |
charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Daily Devotional</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<link href="/static/css/styles.css" rel="stylesheet">
</head>
<body class="bg-gray... | HTML |
bdbb2 fs=
// ^ fg=#b8bb26 fs=
// ^^ fg=#ebdbb2 fs=
// ^^ fg=#ebdbb2 fs=
a[class^="main"] {}
// ^ fg=#83a598 fs=
// ^ fg=#ebdbb2 fs=
// ^^^^^ fg=#d79921 fs=
// ^^ fg=#8ec07c fs=
// ^ fg=#ebdbb2 fs=
// ^^^^ fg=#b8bb26 fs=
// ^^ fg=#... | CSS |
Filtered(t *testing.T) {
t1, _ := Create(2000, time.January, 1, 0, 0, 0, 0, "UTC")
t2, _ := Create(2000, time.January, 31, 0, 0, 0, 0, "UTC")
f := func(c *Carbon) bool {
return c.Weekday() == time.Sunday
}
assert.EqualValues(t, 5, t1.DiffInDaysFiltered(f, t2, true))
}
func TestDiffInDaysFilteredNegative(t *tes... | Go |
+ ( 1 * 8)]
std %l4, [%sp + ( 2 * 8)]
std %l6, [%sp + ( 3 * 8)]
std %i0, [%sp + ( 4 * 8)]
std %i2, [%sp + ( 5 * 8)]
std %i4, [%sp + ( 6 * 8)]
std %i6, [%sp + ( 7 * 8)]
ld [%fp + (8 * 8)], %l4
retl
st %l4, [%sp + (8 * 8)]
cfi_endproc
.size _dl_profile_save_regs, .-_dl_profile_save_regs
/* If we are goin... | Assembly |
us: Float,
cornersBottomRightRadius: Float,
cornersBottomLeftRadius: Float
) {
if (cornersRadius > 0f) {
(drawable.mutate() as GradientDrawable).cornerRadius = cornersRadius
} else {
// 指定4个角点中每个角点的半径。对于每个角点,数组
// 包含两个值,X半径,Y半径
// 顺序为左上... | Kotlin |
cessful.
///
/// # <weight>
/// - TODO
/// # </weight>
#[pallet::weight(T::WeightInfo::add_sword_holder(
T::MaxSwordHolder::get().into()
))]
pub fn add_sword_holder(
origin: OriginFor<T>,
sword_index: KYCIndex,
sword_info: IASInfo<BalanceOf<T>, T::AccountId>,
) -> DispatchResultWithPostInfo ... | Rust |
照相法",
"photochemic":"adj. 光化学的 (photochemical的变形)",
"photochemical":"a. 光化学的, 光化作用的\\n[医] 光化学的",
"photochemical addition":"[化] 光化加成; 光化加成作用",
"photochemical apparatus":"[医] 光化学器",
"photochemical cation":"[电] 光化作用",
"photochemical degradation":"[化] 光化降解",
"photochemical dissociation":"[化] 光离解作用",
"photochemical effect":... | Typescript |
integerClass,
"toHexString".toNativeChars(arena),
"(I)Ljava/lang/String;".toNativeChars(arena));
for (var i in [1, 80, 13, 76, 11344]) {
// if your argument is int, bool, or JObject (`Pointer<Void>`)
// it can be directly placed in the lis... | Dart |
t/bochs-snapshot-links.html" -->
The SVN snapshots are provided as a convenience only. Of course, you could
also get the same information using SVN itself. Some of the benefits of
using SVN directly are: you can get any release or version, view the log
messages that say what files were changed, and make patches very... | HTML |
rios">https://www.aluracursos.com/blog/python-trabajando-con-diccionarios</a>)</li>
<li><code data-kind="curso">Curso</code> Python para Data Science: Introducción al Lenguaje (<a href="https://app.aluracursos.com/course/python-data-science-introduccion">https://app.aluracursos.com/course/python-data-science-introducci... | HTML |
aes section in sram */
_IZERO_AES:
lui t0, 0
la t2, _AES_VMA_START
la t3, _AES_VMA_END
_IZERO_AES_BEGIN:
bleu t3, t2, _IDATA_INIT
sw t0, 0(t2)
addi t2, t2, 4
j _IZERO_AES_BEGIN
#if 0
/* Move ramcode from flash to sram */
_IRAMCODE_INIT:
la t1, _RAMCODE_LMA_... | Assembly |
type: 'TOTAL', time: '2013' },
unitText: '',
},
'agrarea',
['HA_LT2', 'HA2-4', 'HA5-9', 'HA10-19', 'HA20-29', 'HA30-49', 'HA50-99', 'HA_GE100'].reverse(),
['< 2 ha', '2 to 4.9 ha', '5 to 9.9 ha', '10 to 19.9 ha', '20 to 29.9 ha', '30 to... | HTML |
f62, U+7fc5, U+7fd8, U+7ff0, U+800d, U+8036, U+80ba, U+80be, U+80c0-80c1, U+8155, U+817a, U+8180, U+81e3, U+8206, U+8247, U+8270, U+8299, U+8304, U+8393, U+83b9, U+83ca, U+840d, U+8427, U+8469, U+8471, U+84c4, U+84ec, U+853d, U+8681-8682, U+8721, U+8854, U+88d5, U+88f9, U+8bc0, U+8c0a, U+8c29, U+8c2d, U+8d41, U+8dea, U... | CSS |
`&DT3QC)%83_VSO
!cШ%9E^غyg
L ;uY͑2ϟlW;U+Κ#a'_>\q<xez)pX!o])E=rǷwB8kW,DA'1"r5lZTIx#5x-_Qyb= :6FeFHNYnƑ堍z5ֲ|c#"CVU,C(y'[[Fjv6
/|s;/BDaq['R"tzN'RQSyvbD77776Za_#
h_^~WZ7}σ`~uN[-=թw~g~6bx!!RL(4:M9U5R݃99`A.Kx'>;ue
ݒ9EI
g>oƆ*n\TQu0-7:EwMf{Q#j;A᎙cw|86?x[... | HTML |
while True:
self.browser.execute_script("window.scrollTo(0, document.body.scrollHeight);")
sleep(2)
new_height = self.browser.execute_script("return document.body.scrollHeight")
if new_height == last_height:
break
last_height = new_heig... | Python |
>= counter.overflowStep) {
// counter.overflowsCount++;
// counter.count = 0;
// }
// // if (counter.count % 1000000 === 0) {
// // process.stdout.cursorTo(0);
// // process.stdout.write(counter.count.toFixed(0));
// // }
// }
// node.c.forEach(c => getNumPathsRecursive(c, e... | Typescript |
-- some collision detection tests
neutral = 0;
wallunni = 1;
schaazbaut = 2;
zarkon = 3;
vekkazi = 4;
CRUISER = 0;
DESTROYER = 1;
FREIGHTER = 2;
TANKER = 3;
TRANSPORT = 4;
BATTLESTAR = 5;
STARSHIP = 6;
ASTEROIDMINER = 7;
SCIENCE = 8;
SCOUT = 9;
DRAGONHAWK = 10;
SKORPIO = 11;
DISRUPTOR = 12;
RESEARCH_VESSEL = 13;
--... | Lua |
+ "\u0d57\u0d57"
+ "\u0d82\u0d83"
+ "\u0dcf\u0dd4"
+ "\u0dd6\u0dd6"
+ "\u0dd8\u0ddf"
+ "\u0df2\u0df3"
+ "\u0e31\u0e31"
+ "\u0e34\u0e3a"
+ "\u0e4d\u0e4d"
+ "\u0eb1\u0eb1"
+ "\u0eb4\u0eb9"
+ "\u0ebb\u0ebc"
+ "\u0ecd\u0ecd"
... | Java |
="#transactionsModal{{ unit.id }}">
View Transactions
</button>
<!-- Modal -->
<div class="modal fade" id="transactionsModal{{ unit.id }}" tabindex="-1" role="dialog" aria-labelledby="transactionsModalLabel{{ unit.id }}" aria-hidden="true">
<div class="modal-dialog" role="document">
... | HTML |
gpou Cheguei","Fogos de Artifício do Festival"},
[8118] = {"Lillian Singh","Fogos de Artifício do Festival"},
[8119] = {"Zikkal","Caixa do Banco"},
[8120] = {"Abominação Sul'lithuz",nil},
[8121] = {"Jaxxil Fagulhas","Fogos de Artifício do Festival"},
[8122] = {"Kizzak Fagulhas","Fogos de Artifício do Festival"},
[8123]... | Lua |
:value )
{
type_index = variant_npos_internal();
return move_assign( std::move( variant( std::forward<T>( t ) ) ) );
}
#endif //variant_CPP11_OR_GREATER
#if variant_CPP11_OR_GREATER
// no variant & operator=( T const & t )
#else
{% for n in range(NumParams) -%}
variant & operator=... | C++ |
Sprintf("Parameters for %s:\n", method.Name)
str += " -v enable verbose\n -endpoint=string api endpoint\n"
for i := 2; i < methodTyp.NumIn(); i++ {
p := methodTyp.In(i)
lastIsVariadic := methodTyp.IsVariadic() && i == methodTyp.NumIn()-1
str += " -" + methodParamMap[method.Name][i-2]
if... | Go |
onEntries);
}
/* set badErrorDescription */
dto.setBadErrorDescription(StringEscapeUtils.escapeXml(StringUtils.left(poso.getBadErrorDescription(),8192)));
/* set jobEntry */
Object tmpDtoJobEntryDtogetJobEntry = dtoServiceProvider.get().createDto(poso.getJobEntry(), here, referenced);
dto.setJobEn... | Java |
e financial data processing. ## CUDA_GEMM
进行一个简单的CUDA_GEMM的训练。目前实现了版本v0, v1
## naive impl v0
最简单的划分方式:每个线程负责一个C矩阵的元素,然后每个线程对1行和1列的元素进行点积操作。
## MatrixMulSharedMemKernel_v1
使用共享内存加速,tiling成16*16的block,来加速矩阵的读取,但目前每个线程仍处理其中一个部分的内容。只快了一点点。
```sh
Running basic version:
size: 1024, check: 1
Warming up...
Kernel Elapsed... | Markdown |
r,corners:i,segments:s}=n;if(r<=0)throw new Error("the given delta must be positive for paths");if(!(i==="edge"||i==="chamfer"||i==="round"))throw new Error('corners must be "edge", "chamfer", or "round"');let o=e.isClosed,a=ed.toPoints(e);if(a.length===0)throw new Error("the given geometry cannot be empty");let l={poi... | HTML |
, [ 2.35206403436099, 41.486798899243624 ], [ 2.351492956579366, 41.486697953278487 ], [ 2.350731434413015, 41.486680146313709 ], [ 2.350287194925029, 41.486628638905671 ], [ 2.34693657365654, 41.485857989457394 ], [ 2.34495695414723, 41.488795425862335 ], [ 2.357207717954667, 41.498945321296745 ], [ 2.374002396263327,... | JavaScript |
"style" in attrs:
attrs["style"] = self._true_style(attrs.get("style"))
return attrs
def _get_link(self, attrs, name):
if name in attrs:
attrs[name] = self._true_url(attrs[name])
return attrs
def _wash_attr(self, attrs, tag):
if tag in self.tags_own_att... | Python |
}
const char* ExceptionPorts::TargetTypeName() const {
return target_name_;
}
} // namespace crashpad
// Copyright 2014 The Crashpad Authors
//
// 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 Lice... | C++ |
wizzle))
);
assert_eq!(
unsafe { &(*(::std::ptr::null::<astcenc_swizzle>())).r as *const _ as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(astcenc_swizzle),
"::",
stringify!(r)
)
);
assert_eq!(
unsafe { ... | Rust |
glabel BgSpot18Basket_Update
/* 00D24 808B8434 27BDFFC0 */ addiu $sp, $sp, 0xFFC0 ## $sp = FFFFFFC0
/* 00D28 808B8438 AFBF0024 */ sw $ra, 0x0024($sp)
/* 00D2C 808B843C AFB10020 */ sw $s1, 0x0020($sp)
/* 00D30 808B8440 AFB0001C */ sw $s0, 0x001C($sp)
/* 00D... | Assembly |
}
];
expect(getDescriptions([dummyStat])).toEqual(value);
});
it('should display a mod with +d% format correctly', () => {
let dummyStat = mods.find(mod => {
return mod.id === 'FireResistanceCrafted';
});
dummyStat.stats.forEach(stat => {
stat.value = stat.valueMax;
});
let value = [
{ craft... | Typescript |
处理的食品原料;
(八)其他不符合食品安全标准或者法定要求的食品原料。
第十四条 禁止小作坊、小经营店和小摊点违反国家标准使用食品添加剂、使用超过保质期的食品添加剂,或者添加食品添加剂以外的化学物质和其他可能危害人体健康的物质。
第十五条 禁止小作坊、小经营店和小摊点生产销售腐败变质、油脂酸败、霉变生虫、掺假掺杂、超过保质期或者被包装材料、容器、运输工具等污染的食品。
第十六条 小作坊、小经营店和小摊点采购食品原料、食品添加剂、食品相关产品,应当查验供货者的许可证、登记证、备案卡或者产品合格证明文件。
小作坊、小经营店应当留存进货票据凭证。进货相关票据保存期限不得少于产品保质期满后六个月;没有明确保质期的,保存期限不得少于... | Markdown |
ort ? NIG_REG_P1_LLH_PTP_PARAM_MASK :
NIG_REG_P0_LLH_PTP_PARAM_MASK, 0x7FF);
REG_WR(bp, port ? NIG_REG_P1_LLH_PTP_RULE_MASK :
NIG_REG_P0_LLH_PTP_RULE_MASK, 0x3FFF);
REG_WR(bp, port ? NIG_REG_P1_TLLH_PTP_PARAM_MASK :
NIG_REG_P0_TLLH_PTP_PARAM_MASK, 0x7FF);
REG_WR(bp, port ? NIG_REG_P1_TLLH_PTP... | C |
r12)
andis. r12,r12,DBCR0_IDM@h
beq+ 3f
/* From user and task is ptraced - load up global dbcr0 */
li r12,-1 /* clear all pending debug events */
mtspr SPRN_DBSR,r12
lis r11,global_dbcr0@ha
tophys(r11,r11)
addi r11,r11,global_dbcr0@l
#ifdef CONFIG_SMP
CURRENT_THREAD_INFO(r9, r1)
lwz r9,TI_CPU(r9)
slwi r9,r... | Assembly |
()(e,n)).primaryColor!==r.primaryColor&&o.push(`primaryColor="${e.primaryColor}"`),e.backgroundColor!==r.backgroundColor&&o.push(`backgroundColor="${e.backgroundColor}"`),e.secondaryBackgroundColor!==r.secondaryBackgroundColor&&o.push(`secondaryBackgroundColor="${e.secondaryBackgroundColor}"`),e.textColor!==r.textColor... | JavaScript |
SForDemo({'IsWaitFinish': False, 'TargetIndex': -1, 'SeqBank': 0, 'IsIgnoreSame': False, 'IsEnabledAnimeDriven': -1, 'ClothWarpMode': -2, 'MorphingFrame': -1.0, 'ASName': 'Demo610_1-C03-Dm_Locator-D_02_Loop'})
EventSystemActor[wait].Demo_WaitFrame({'IsWaitFinish': True, 'Frame': 57})
Dm_Locator_... | C |
# Copyright: Daveight and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
"""
Python Template Generator API Implementation
"""
from anki.testing.framework.python.python_type_mapper import PythonTypeMapper
from anki.testing.framework.string_utils import render_template
from a... | Python |
.taskService.getTasks().toPromise().then(tasks =>{
this.tasks = tasks;
}).catch((err)=>{console.log(err)});
}, 250);
}).catch((err) => {console.log(err)});
}
}
const _: any = 0;
type F<T1, T2> = (x: T1) => T2;
export function chain<
T1,
T2 extends ReturnType<FN[0]>,
T3 extends Retu... | Typescript |
800</td>
<td align="right">12.226</td>
<td>Yair Revivo</td>
</tr>
<tr>
<td><a href="//en.wikipedia.org/wiki/Ma%27ale_Adumim" title="Ma'ale Adumim">Ma'ale Adumim</a></td>
<td><a href="//en.wikipedia.org/wiki/Judea_and_Samaria_Area" title="Judea and Samaria Area">Judea & Samaria</a><br/>
(West Bank)<sup class="refere... | HTML |
(voicepackRequest)
// 실패 시 S3에 업로드된 이미지 삭제 (imageS3Key가 있다면)
voicepackRequest.imageS3Key?.let {
s3ObjectDeleter.deleteObject(it)
voicepackRequest.imageS3Key = null
voicepackConvertRequestRepository.save(voicepackRequest)
}
... | Kotlin |
Personal Care]
[] [StaticText] [Sports & OutdoorsHunting & FishingShootingExercise & FitnessFan ShopClothingFootwearSports & Outdoor Recreation AccessoriesBall StorageSports]
[11] [A] [Sports & Outdoors]
[] [StaticText] [Clothing, Shoes & JewelryMenClothingShoesUniforms, Work & SafetyWomenClothingShoesAccessoriesUnifo... | HTML |
// Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
#pragma once
#include <chrono>
#include <map>
#include <tuple>
#include <nx/network/socket_common.h>
#include <nx/utils/data_structures/time_out_cache.h>
#include <nx/utils/thread/mutex.h>
#include "http_types.h"
#include... | C |
/vnd.google-apps.folder")) {
showFolders.add(urlString + file.getName() + "/");
Log.i("showFolders" , showFolders + file.getName());
}
}
} catch (NumberFormatException e) {
Log.i("Exception" , e.toString());
... | Java |
, height) to make short work of such a task.
* <p/>
* Note that even if the image is set as RGB, the high 8 bits of each pixel
* should be set opaque (0xFF000000), because the image data will be copied
* directly to the screen, and non-opaque background images may have strange
* behavior. Using... | Java |
using Application.Core.Login.Models;
using Application.Core.Login.Shared;
using Application.EF;
using Application.Shared.Items;
using Application.Utility;
using AutoMapper;
using AutoMapper.Extensions.ExpressionMapping;
using ItemProto;
using Microsoft.EntityFrameworkCore;
using System.Collections.Concurrent;
using Sys... | C# |
// File auto-generated by dymaptic tooling. Any changes made here will be lost on future generation. To override functionality, use the relevant root .cs file.
namespace dymaptic.GeoBlazor.Core.Components;
/// <summary>
/// <a target="_blank" href="https://docs.geoblazor.com/pages/classes/dymaptic.GeoBlazor.Core... | C# |
nav-item">
<a class="nav-link" style="color: rgb(109, 145, 115)" aria-current="page" data-i18n="Project" data-current-project="{{ current_project }}"></a>
</li>
</ul>
{% endif %}
</div>
<div class="d-flex align-items-center gap-2 ">
{% if is_superuser %}
<button class="btn... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.