content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
11287] = {'Baker Masterson',1536,1536,37,37,0,{[28]={{69.55,79.55}}},nil,28,nil,nil,35,"AH",nil,130},
[11288] = {'Spectral Betrayer',1114,1148,57,58,0,{[139]={{51.16,49.77},{51.05,50.07},{51.03,49.98},{51.07,49.89},{51.21,49.78},{51.11,49.8},{51.14,49.97},{51.09,50.03},{51.16,49.97},{51.08,50.12},{51.19,49.97},{51.08,5... | Lua |
background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0)}.panel-danger>.panel-heading{background-image:-webkit-linear-gradient(top,#f2dede 0,#ebcccc 100%);background-image:linear-gradient(to bottom,#f2dede 0,#ebcccc 100%);background... | CSS |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Drawing;
using System.Windows.Forms.Automation;
namespace System.Windows.Forms.Tests;
public class ToolStripStatusLabelTests : IDisposable
{
private readonly ToolS... | C# |
\u{1ee59}'),
('\u{1ee5b}', '\u{1ee5b}'), ('\u{1ee5d}', '\u{1ee5d}'), ('\u{1ee5f}',
'\u{1ee5f}'), ('\u{1ee61}', '\u{1ee62}'), ('\u{1ee64}', '\u{1ee64}'),
('\u{1ee67}', '\u{1ee6a}'), ('\u{1ee6c}', '\u{1ee72}'), ('\u{1ee74}',
'\u{1ee77}'), ('\u{1ee79}', '\u{1ee7c}'), ('\u{1ee7e}', '\u{1ee7e... | Rust |
*
* @throws InvalidRole
* @throws HinemosUnknown
*
* トランザクション開始はユーザが制御する。
* また、追加実装により、トランザクションの入れ子が予期せず生じることを避けるため、Neverを採用する。
*/
public void scheduleRunTransfer(String transferId, String calendarId) throws InvalidRole, HinemosUnknown {
logger.debug("scheduleRunTransfer() : transferId=" + transferI... | Java |
atus: ocsp.Good,
}
response, err := ocsp.CreateResponse(caTLS.Leaf, caTLS.Leaf, ocspRes, caTLS.PrivateKey.(crypto.Signer))
if err != nil {
t.Fatalf("failed generating OCSP response: %v", err)
}
_, _ = w.Write(response)
})
ts := httptest.NewServer(ocspHandler)
defer ts.Close()
steps := []logicalt... | Go |
ids_to_text(tokens)
def tokenize(self, prompt):
return self.tokenizer.text_to_ids(prompt)
tokenizer = MCoreTokenizerWrappper(model.tokenizer)
inference_wrapped_model = GPTInferenceWrapper(model.model, args)
text_generation_controller = SimpleTextGenerationController(
inference... | Python |
mapit{mapit_},mapend{mapend_},segpos{segpos_}
{
if(mapit!=mapend&&segpos==sentinel()){
++mapit;
next_segment_position();
}
}
public:
iterator_impl()=default;
iterator_impl(const iterator_impl&)=default;
iterator_impl& operator=(const iterator_impl&)=default;
template<bool Const2,ty... | C++ |
me["metrics"][HD_PHONE_MODEL_NAME])
if model == '4K':
vmafScore.append(frame["metrics"][_4K_MODEL_NAME])
else:
with open(vmafpath) as jsonFile:
jsonData = json.load(jsonFile)
for frame in jsonData['frames']:
if m... | Python |
span[data-v-224e517e]:first-child{font-size:14px;color:#595959}.le-right-title span[data-v-224e517e]:last-child{color:#bfbfbf;font-size:12px;margin-left:8px}.le-right-item[data-v-224e517e]{height:40px;padding-left:15px}.le-right-item .el-checkbox[data-v-224e517e]{width:100%}.le-parameter--box[data-v-44351bc3]{border:1p... | CSS |
import argparse
import math
def arithmetic_intensity(M, N, K):
# Compute the number of floating-point operations
ops = 2 * M * N * K
bytes = 2 * (M * K + N * K + M * N)
ai = ops / bytes
print(f"gemm: {M}x{N}x{K} arithmetic intensity: {ai:.5f}")
return ai
if __name__ == "__main__":
... | Python |
/**
*
* Instance değeri
*
* @author Ismail <ismaiil_0234@hotmail.com>
*
*/
public global::Creature Instance { get; set; }
/**
*
* UniqueId değeri
*
* @author Ismail <ismaiil_0234@hotmail.com>
*
... | C# |
/ anyType
MediaType.AnyType -> {
val pickFile = Intent(Intent.ACTION_GET_CONTENT)
pickFile.type = "*/*"
if (pickFile.resolveActivity(activity.packageManager) != null) {
activity.startActivityForResult(pickFile, REQUEST_CODE_PICK_FILE)
... | Kotlin |
n_iframe.changePasswordFrame,.mellon_iframe.changeNewsletterFrame,.mellon_iframe.invitePlayerIframe,.mellon_iframe.activeInvitesIframe,.mellon_iframe.pendingInvitesIframe{height:290px}.mellon_iframe.registerIngame{height:420px}.mellon_iframe.activationIngame{height:160px}.mellon_iframe.verificationIframe{height:200px}.... | CSS |
mitcho.com>
* Ian Gilman <ian@iangilman.com>
* Aza Raskin <aza@mozilla.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which ... | JavaScript |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (C) 2011-2015 Panasonic Corporation
* Copyright (C) 2015-2016 Socionext Inc.
* Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*/
#include <linux/io.h>
#include "../init.h"
#include "../sc-regs.h"
void uniphier_pro4_clk_init(void)
{
u32 tmp;
/* dea... | C |
mov x7, v30.d[0]
// mov x1, v30.d[1]
// mul x14, x17, x13
// mov x19, v19.d[0]
// mov x4, v19.d[1]
// umulh x22, x17, x13
// adds x12, x19, x14
// adcs x19, x1, x22
// adc x4, x4, xzr
// adds x12, x12, x14
// adcs x19, x19, x22
// adc x... | Assembly |
Ledger.del_contract_data(U32Val(3), STORAGE_TYPE_TEMPORARY)
certoraAssert(Ledger.has_contract_data(U32Val(3), STORAGE_TYPE_TEMPORARY) eq FalseVal)
certoraAssert(Ledger.has_contract_data(U32Val(3), STORAGE_TYPE_PERSISTENT) eq TrueVal)
})
}
@Test
fun `contract data... | Kotlin |
.828125 -8.796875
Q 18.65625 -7.46875 20.515625 -2.25
Q 20.75 -1.515625 21.296875 -0.09375
L 1.609375 51.859375
L 11.078125 51.859375
L 21.875 21.828125
Q 23.96875 16.109375 25.640625 9.8125
Q 27.15625 15.875 29.25 21.625
L 40.328125 51.859375
L 49.125 51.859375
L 29.390625 -0.875
Q 26.21875 -9.421875 24.468... | HTML |
*/
constructor(properties?: gameProto.IEncircleCityHeroData);
/** EncircleCityHeroData teamId. */
public teamId: number;
/** EncircleCityHeroData heroId. */
public heroId: number;
/** EncircleCityHeroData isNpc. */
public isNpc: boolean;
/**
*... | Typescript |
10);
remappedSiteStatsHash.maxWhGenerated = parseFloat(siteStatsHash.maxWhGenerated);
remappedSiteStatsHash.minWhGenerated = parseFloat(siteStatsHash.minWhGenerated);
remappedSiteStatsHash.maxCapacity = parseFloat(siteStatsHash.maxCapacity);
return remappedSiteStatsHash;
};
/**
* Gets the site stats for the... | JavaScript |
boss.sprite, 1, 0.1f ) );
}
set( bottomDoor, Terrain.LOCKED_DOOR );
GameScene.updateMap( bottomDoor );
Dungeon.observe();
}
@Override
public void unseal() {
super.unseal();
set( bottomDoor, Terrain.DOOR );
GameScene.updateMap( bottomDoor );
... | Java |
" ></path>' +
'' +
'<path d="M257.634732 702.772928l508.729513 0 0 42.394552-508.729513 0 0-42.394552Z" ></path>' +
'' +
'</symbol>' +
'' +
'<symbol id="icon-m-members" viewBox="0 0 1024 1024">' +
'' +
'<path d="M274.818844 940.777244l497.299911 0 70.752711-147.939556L197.632 792.83768... | JavaScript |
#include "common.h"
extern Vec3f D_800CD9B0;
extern f32 D_800B8984;
extern f32 D_800B8988;
extern f32 D_800B898C;
extern f32 D_800B8990;
void func_8000A534(void*, f32);
void func_8001E268(u8, s32, s32);
void func_8001E3B4(u8);
f32 func_80025D18(s16);
f32 func_80025E70(s16);
INCLUDE_ASM("asm/nonmatchings/1130", func_... | C |
pers.Cleanups;
import net.sourceforge.kolmafia.KoLCharacter;
import net.sourceforge.kolmafia.MonsterData;
import net.sourceforge.kolmafia.RestrictedItemType;
import net.sourceforge.kolmafia.objectpool.EffectPool;
import net.sourceforge.kolmafia.objectpool.FamiliarPool;
import net.sourceforge.kolmafia.persistence.Monste... | Java |
e credentials)
const walletNodeC = generateDeterministicWallet(user.email, user.password);
console.log(` Node A Public Key: ${walletNodeA.publicKey.slice(0, 20)}...`);
console.log(` Node B Public Key: ${walletNodeB.publicKey.slice(0, 20)}...`);
console.log(` Node C Publi... | JavaScript |
.MallItemId ~= 0 then
local mallItemId = gashaPoolTableRow.MallItemId
local mallItemRow = Z.TableMgr.GetRow("MallItemTableMgr", mallItemId)
for itemId, count in pairs(mallItemRow.Cost) do
local buyCostItem = Z.TableMgr.GetRow("ItemTableMgr", itemId)
local buyCostItemCount = (itemCount ... | Lua |
a1.5 1.5 0 00.449-1.071v-.037.002zm-.655 0v.02a.868.868 0 01-.259.62.868.868 0 01-.62.259h-.021.001-.003a.879.879 0 01-.624-.259.848.848 0 01-.273-.624v-.017.001a.863.863 0 01.272-.627.86.86 0 01.627-.273h.016c.246 0 .468.105.623.272l.001.001c.16.16.259.381.259.625v.002zM1.554 19.801h.019c.415 0 .79-.172 1.058-.449a1.5... | Dart |
-- This site looks very similar to nhentai.net, and in fact directly hotlinks their images.
-- Despite the similar appearance, the underlying HTML is different enough to warrant a separate module.
function Register()
module.Name = 'Hanime1.me'
module.Language = 'Chinese'
module.Adult = true
module.Do... | Lua |
/*
* This file is based on code from OCTEON SDK by Cavium Networks.
*
* Copyright (c) 2003-2007 Cavium Networks
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, Version 2, as
* published by the Free Software Foundation.
*/
#include <a... | C |
export const boostPrepare = <Role extends CreepRoleConstant>(): ICreepStage<Role> => ({
/**
* 移动至强化位置并执行强化
* @danger 该位置是 Room.memory.boost.pos 中定义的,并不是旗帜的实时位置,该逻辑有可能会导致迷惑
*/
prepare: (creep: Creep) => {
// 获取强化位置
const boostTask = creep.room.memory.boost;
if (!boostTask.state || boostTask.stat... | Typescript |
<LI>gurobi_c++mdd2017.lib - C++ interface (when using -MDd compiler switch with Visual Studio)
</LI>
<LI>gurobi_c++mt2017.lib - C++ interface (when using -MT compiler switch with Visual Studio)
</LI>
<LI>gurobi_c++mtd2017.lib - C++ interface (when using -MTd compiler switch with Visual Studio)
</LI>
<LI>rootcert.pem - ... | HTML |
#nullable enable
using UnityEngine;
using System;
using Iviz.Core;
namespace Iviz.Controllers.TF
{
/// <summary>
/// A wrapper around a GameObject that can be attached to a <see cref="TfFrame"/>.
/// TfFrames should not have displays as direct children. Instead, controllers should create a FrameNode,
... | C# |
/****************************************************************************
This file is part of the GLC-lib library.
Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net)
http://glc-lib.sourceforge.net
GLC-lib is free software; you can redistribute it and/or modify
it under the terms of the GN... | C |
ul[i] = (fltype)(frqmul_tab[i]*INTFREQU/(fltype)WAVEPREC*(fltype)FIXEDPT*recipsamp);
}
status = 0;
opl_index = 0;
// create vibrato table
vib_table[0] = 8;
vib_table[1] = 4;
vib_table[2] = 0;
vib_table[3] = -4;
for (i=4; i<VIBTAB_SIZE; i++) vib_table[i] = vib_table[i-4]*-1;
// vibrato at ~6.1 ?? (opl3 doc... | C++ |
e tamanho genéricos estão colidindo com este objeto
*
* @param position posição arbitrária no jogo
* @param size tamanho arbitrário no jogo. Se não passado, a colisão é feita
* apenas com o ponto da posição
* @returns verdadeiro se a colisão foi detectada
*/
point_collides... | Typescript |
();
}
virtual char* getBuffer() {
if ( NULL == m_outStream ) {
throw InvalidPointerException();
}
return m_outStream->getBuffer();
}
virtual void write( char* bytesToWrite, unsigned long sizeOfBytes ) {
if ( NULL == m_outStream ) {
throw InvalidPointerException();
}
m_outStream->write( bytesToWr... | C |
+ range_prev / range);
if (range_next > 0.0f)
slope_to = (point_next - point_from) / (1.0f + range_next / range);
float delta = point_to - point_from;
float movement = linearTween(point_from, point_to, t);
float smooth = t * (1.0f - t) * ((1.0f - t) * (slope_from - delta) + t * (delta - slope_to));
retu... | C++ |
soap_wsdd__FaultCodeType2s(soap, *a)))
return soap->error;
return soap_element_end_out(soap, tag);
}
SOAP_FMAC3S int SOAP_FMAC4S soap_s2wsdd__FaultCodeType(struct soap *soap, const char *s, enum wsdd__FaultCodeType *a)
{
const struct soap_code_map *map;
char *t;
if (!s)
return soap->error;
soap_s2QName(soap,... | C++ |
LiuyanEntity gequLiuyanEntity) {
try {
BeanUtils.copyProperties(this, gequLiuyanEntity);
} catch (IllegalAccessException | InvocationTargetException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
//级联表的get和set gequ
/**
* 获取: 歌名
*/
public String get... | Java |
solid #d6d9e0;
padding: 10px 35px;
font-size: 16px;
color: #2f3f4e;
cursor: pointer;
position: relative;
}
.c-mainNavArea__navItemSubTitle:after {
display: inline-block;
width: 16px;
height: 16px;
content: "\f106";
text-align: right;
font-family: "Font Awesome 5 Free";
font-size: 20px;
font-w... | CSS |
/**
* 脚本标签
*/
@ApiModelProperty(value = "脚本标签,新增/更新脚本需要传入")
private List<TagVO> tags;
/**
* 脚本描述
*/
@ApiModelProperty(value = "脚本描述")
private String description;
}
/*
* Tencent is pleased to support the open source community by making BK-JOB蓝鲸智云作业平台 available.
*
* Copyri... | Java |
Items.IndexOf(item);
public void Insert(int index, ClipboardItem item) => Items.Insert(index, item);
public void RemoveAt(int index) => Items.RemoveAt(index);
public ClipboardItem this[int index]
{
get => Items[index];
set => Items[index] = value;
}
#endregion
#region Met... | C# |
public setCategoryId(categoryId: Id64String, clearAppearanceOverrides = true) {
this.categoryId = categoryId;
this.subCategoryId = IModel.getDefaultSubCategoryId(categoryId);
if (clearAppearanceOverrides)
this.resetAppearance();
}
/** Change [[subCategoryId]] to the supplied id and optiona... | Typescript |
WithValue(
mockFirebaseAuthRepository,
),
],
);
/// テスト実施
await container.read(signInWithEmailAndPasswordProvider)(
email: email,
password: password,
);
/// テスト結果を検証
expect(
container.read(authStateContro... | Dart |
hildren looking for dojoType and <script type=dojo/*>
for(var child = parent.node.firstChild; child; child = child.nextSibling){
if(child.nodeType == 1){
// FIXME: desupport dojoType in 2.0. use data-dojo-type instead
var type, html5 = recurse && child.getAttribute(attrData + "type");
if(html5){
... | JavaScript |
=null||i===void 0?void 0:i.console.promptCellCreated.disconnect(n.update);i=null;if(e&&t.has(e)){e.console.promptCellCreated.connect(n.update);const t=e.console.promptCell;s=null;if(t){await t.ready;s=t.editor}i=e}}else if(e){const t=e.console.promptCell;s=null;if(t){await t.ready;s=t.editor}}return s};n.addEditorProvi... | JavaScript |
SION")]
pub const NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION: u32 = 2;
#[doc = "<s>Vulkan Manual Page</s> · Constant"]
#[doc(alias = "VK_NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME")]
pub const NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME: *const std::os::raw::c_char = crate::cstr!("VK_NVX_image_view_handle");
#[doc = "<s>Vulkan Manual Page<... | Rust |
n", "\\n")}')"
}
private fun Char.isWhitespaceFast(): Boolean = this == ' ' || this == '\t' || this == '\r' || this == '\n'
private fun String.isQuoted(): Boolean = this.startsWith('"') && this.endsWith('"')
private fun String.unquote(): String = if (isQuoted()) this.substring(1, this.length - 1).unesc... | Kotlin |
("根据 jsonpath 提取内容")
@Example("${strVar.jsonpath('$.code')}")
public static Object jsonpath(String source, String jsonPath) {
return ExtractUtils.getValueByJsonPath(json(source), jsonPath);
}
@Comment("将字符串转为 int 类型")
@Example("${strVar.toInt(0)}")
public static Integer toInt(String sou... | Java |
/*
* Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.ht... | C |
f (proxyUri == null) null else {
InetSocketAddress(AspirinServer.dnsResolver.resolve(proxyUri.host).suspendAwait(), proxyUri.port)
}
createBackChannel(handler, socketAddr, state, extraData, proxyUri, proxySocket)
return // Finally it worked!
} catch (e: Excep... | Kotlin |
"1.8"
}
}
publishLibraryVariants("release")
}
// java target -- Compose UI (Mac, Linux, Desktop)
jvm()
// tvos (Apple)
tvosX64()
tvosArm64()
tvosSimulatorArm64()
// browser (Kotlin/JS)
js(IR) { // Kotlin JS with IR (default)
browser() // Brows... | Kotlin |
, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{
// CidrBlock: pulumi.StringRef("10.4.0.0/24"),
// VpcId: pulumi.StringRef(defaultGetNetworks.Ids[0]),
// ZoneId: pulumi.StringRef(_default.Zones[0].Id),
// }, nil)
// if err != nil {
// return err
// }
// defaultSecurityGroup, err := ecs.New... | Go |
format = r.ReplaceAllStringFunc(format, func(s string) string {
return fmt.Sprintf(`{{color "%s"}}`, strings.Trim(s, "<>/"))
})
out, err := core.RunTemplate(fmt.Sprintf(format, args...), nil)
if err != nil {
panic(err)
}
return out
}
// Copyright © 2018 Wolfy-J <wolfy.jd@gmail.com>
//
// Permission is here... | Go |
FileID)
{
super(inFileID);
times = Pooler.EMPTY_LONG_ARRAY;
files = new Vector<File>();
name = "";
videoDirectory = "";
host = SageTV.hostname;
encodedBy = "";
//mediaType = MEDIATYPE_NULL;
//mediaSubtype = MEDIASUBTYPE_NULL;
generalType = MEDIAFILE_NULL;
acquisitionTech = ... | Java |
# Copyright 2014 Google Inc.
#
# 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 applicable law or agreed to in writing,... | Python |
config(deps.storage)?;
let sender_addr_raw: CanonicalAddr = deps.api.addr_canonicalize(info.sender.as_str())?;
if sender_addr_raw != config.mint_contract {
return Err(StdError::generic_err("unauthorized"));
}
let current_balance: Uint128 = query_balance(
&deps.querier,
env.contr... | Rust |
t ptr0 = passArrayJsValueToWasm0(hashtags, wasm.__wbindgen_export_4);\n const len0 = WASM_VECTOR_LEN;\n const ret = wasm.filter_removeHashtags(ptr, ptr0, len0);\n return Filter.__wrap(ret);\n }\n /**\n * Set reference\n *\n * <https://github.com/nostr-protocol/nips/blob/master/12.... | JavaScript |
.7-33.7-26.4-62-59-70.8L384.2 99.7c-32.7-8.8-67.3 4-86.5 31.8zm-17 131a24 24 0 1 1 -12.4 46.4 24 24 0 1 1 12.4-46.4zm217.9 83.2A24 24 0 1 1 545 358.1a24 24 0 1 1 -46.4-12.4z"],y:[384,512,[121],"59","M58 45.4C47.8 31 27.8 27.7 13.4 38S-4.3 68.2 6 82.6L160 298.3V448c0 17.7 14.3 32 32 32s32-14.3 32-32V298.3L378 82.6c10.3-... | JavaScript |
err != nil {
sklog.Errorf("Error checking for cherrypick %d in %s %s", c.CherrypickOfChange, bd.TargetRepo, bd.TargetBranch)
continue
}
if cherrypickInTargetBranch {
// The cherrypick was already created in the target repo+branch.
sklog.Infof("Cherrypick %d already exists in %s %s. Not... | Go |
}
fun size(): Int {
return mCache.size()
}
/**
* Extended the LruCache to override the [.entryRemoved] method
* so we can remove expiration time entries when things are evicted from the cache.
*
* Gotta love some of those Google engineers making things difficult with paran... | Kotlin |
interpret_cast<GRAPH*>(dptr);
auto ret = graph.connected_components(opt_level, hyb_threshold);
frovedis::set_loglevel(old_level);
return ret;
}
#endif
#include "exrpc_ml.hpp"
#include "short_hand_dense_type.hpp"
#include "short_hand_sparse_type.hpp"
using namespace frovedis;
std::vector<float>
frovedis_w2v_tr... | C++ |
// { dg-do compile }
// { dg-additional-options "-Wno-psabi" }
class AssertionResult {
bool success_;
};
AssertionResult AssertionSuccess();
template <typename T1>
AssertionResult EXPECT_EQ(const T1& expected, const T1& actual) {
if (expected == actual) {
return AssertionSuccess();
}
return Assertio... | C |
34_a, "roof_inner_corner", blockpos19, p_191123_3_.add(Rotation.CLOCKWISE_90)));
}
}
if (!WoodlandMansionPieces.Grid.func_191109_a(p_191123_4_, j1 - 1, l))
{
BlockPos blockpos17 = blockpos4.o... | Java |
0
/* 800BA5F4 000B6254 4D 82 00 20 */ beqlr
/* 800BA5F8 000B6258 90 64 00 10 */ stw r3, 0x10(r4)
/* 800BA5FC 000B625C 4E 80 00 20 */ blr
.global func_800BA600
func_800BA600:
/* 800BA600 000B6260 80 6D 9C 18 */ lwz r3, lbl_8063EED8-_SDA_BASE_(r13)
/* 800BA604 000B6264 2C 03 00 00 */ cmpwi r3, 0
/* 800BA608 000B626... | Assembly |
rn _Undef(lhs); }
B(cx).or(lhs, rhs)
}
pub fn Xor(cx: &Block, lhs: ValueRef, rhs: ValueRef) -> ValueRef {
if cx.unreachable.get() { return _Undef(lhs); }
B(cx).xor(lhs, rhs)
}
pub fn BinOp(cx: &Block, op: Opcode, lhs: ValueRef, rhs: ValueRef)
-> ValueRef {
if cx.unreachable.get() { return _U... | Rust |
#block until cancelled(l) or confirmed (r)
self.dpad.update()
if self.dpad.l.fell:
self.details.hidden=True
if self.dpad.r.fell:
self.game.wipe_alibis()
self.det... | Python |
),
));
await timeline
.takePhoto("Idle")
.tap(find.byType(ShadInputOTPSlot).first)
.settle()
.takePhoto("Initial focus")
.modifyScene(_insertOtpAt("1", "a"))
.takePhoto("Type first character")
.modifyScene(_insertOtpAt("2", "b"))
... | Dart |
Graph();
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
actions: <Widget>[
Row(
children: <Widget>[
const Text('list:'),
Checkbox(
value: useList,
onChanged: (bool? value) => setStat... | Dart |
center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
... | HTML |
心改2_.mp4
┣━4-3 开发一个浏览器代理1_.mp4
┣━4-8 返回内容随心改1_.mp4
┣━4-7 神兵利器 – ReverseProxy无坚不摧_.mp4
┣━4-4 开发一个浏览器代理2_.mp4
┣━第7章 网络代理制HTTP代理进阶篇
┣━7-7 hystrix-go实现熔断_.mp4
┣━7-4 time rate限速器 简洁不简单_.mp4
┣━7-1 中间件的洋葱结构_.mp4
┣━7-6 微服务的断电保护 – 熔断与降级_.mp4
┣━7-2 开发一个中间件_.mp4
┣━7-5 给代理插上限流的翅膀_.mp4
┣━7-3 并发限速... | Markdown |
<!-- Logisim cannot simulate subcircuits whose pins sometimes behave as inputs and sometimes behave as outputs. Components built using Java can have such pins, though: Within the built-in libraries, the Memory library's RAM circuit contains a D pin that can act both as an input and as an output. -->
Logisim... | HTML |
ime is now old
local file_time = vim.fn.getftime(TL.named_session_path)
assert.is_true(file_time < current_time - (old_session * 24 * 60 * 60) + 60) -- Add 60 seconds tolerance
-- Hook into decode to capture when function finishes
local json_decode = vim.json.decode
local purge_finished =... | Lua |
<int>().Default().EquateSequence(ignoreOrder: true).GetHashCode(Array.Empty<int>()));
}
[Fact]
public void EnumerablesAreEqualIfEmpty()
{
Assert.True(EqualityComparerBuilder.For<int>().Default().EquateSequence(ignoreOrder: true).Equals(E_Empty(), E_Empty()));
Ass... | C# |
v id="hoyas06"></div> <b>S. Hoyas and J. Jim\'enez</b>.
Scaling of the Velocity Fluctuations in Turbulent Channels Up to \( Re_ au=2003 \),
<em>Physics of Fluids</em>,
18(1),
2006.</li>
<li> <div id="leemoser15"></div> <b>M. Lee and R. D. Moser</b>.
Direct Numerical Simulation of Turbulent Channe... | HTML |
r contextual information to rapidly respond to requests, incidents, and changes.</P>
<Blockquote class="mb-3" size="xl">" Flowbite is just awesome. It contains tons of predesigned components and pages starting from login screen to complex dashboard. Perfect choice for your next SaaS application. "</Blockquote>
</div>... | Markdown |
�睦错过了听祥子新曲的机会。若麦还曾提及睦在电视节目中说过乐队“不可能长久”的话,暗示若麦有时对睦的态度比较随意,甚至会利用睦达成目的或挑起争端。
- **[三角初华](char_4184_dolris.md)**:Ave Mujica的主唱兼吉他手。在若麦与祥子的争论中,若麦曾指责初华因忙于工作而“几乎没来练习过”,并称她“太不负责”。这显示了若麦对乐队成员投入度的要求,以及她直率甚至有些尖锐的沟通方式。
- **[八幡海铃](char_4186_tmoris.md)**:Ave Mujica的贝斯手。在若麦与祥子的争论中,海铃曾为若麦辩护,称“我从没觉得祐天寺小姐缺乏练习过”。这表明海铃对若麦的努力是认可的,也展现了她在... | Markdown |
]))
e.commandHisto[command]++
e.distanceHisto[0]++
}
}
pos += m.Unmatched + m.Length
}
if lastBlock {
e.bw.writeBits(2, 3) // islast + isempty
e.bw.jumpToByteBoundary()
}
return e.bw.dst
}
package brotli
import (
"slices"
"sync"
)
const maxHuffmanTreeSize = (2*numCommandSymbols + 1)
/*
The... | Go |
number">1</span> Higher Order Derivatives–Cobb Douglas</h1>
<blockquote>
<p>Go to the <a href="https://github.com/FanWangEcon//Math4Econ/blob/master/derivative//second_derivative.mlx"><strong>MLX</strong></a>, <a href="https://github.com/FanWangEcon//Math4Econ/blob/master/derivative//htmlpdfm/second_derivative.m"><stro... | HTML |
import torch
from einops import repeat
from jaxtyping import Int
from torch import Tensor
from typing import List, Dict, Set, Tuple
from typing import Union
Index = Int[Tensor, "n n-1"]
def generate_heterogeneous_index(
n: int,
device: torch.device = torch.device("cpu"),
) -> Tuple[Index, Index]:
"""Gene... | Python |
case "h":
return truncated.strftime("%Y-%m-%dT%H")
case "d":
return truncated.strftime("%Y-%m-%d")
case "w":
return truncated.strftime("%Y-%m-%d") # Week is special, keep the day
case "M":
return truncated.strftime("%Y-%m")
case "y"... | Python |
new::<Sqlite>().await?;
let record = sqlx::query!(r#"select text as `text?` from tweet"#)
.fetch_one(&mut conn)
.await?;
assert_eq!(record.text.as_deref(), Some("#sqlx is pretty cool!"));
Ok(())
}
#[derive(PartialEq, Eq, Debug, sqlx::Type)]
#[sqlx(transparent)]
struct MyInt(i64);
struc... | Rust |
25 4.25v10.75C42 40.1 40.1 42 37.75 42h-27.5A4.25 4.25 0 0 1 6 37.75v-27.5Zm16.75 12.5v-12.5c0-.97-.78-1.75-1.75-1.75H10.25c-.97 0-1.75.78-1.75 1.75v12.5h14.25ZM8.5 25.25v12.5c0 .97.78 1.75 1.75 1.75h12.5V25.25H8.5ZM25.25 39.5h12.5c.97 0 1.75-.78 1.75-1.75V27c0-.97-.78-1.75-1.75-1.75h-12.5V39.5Z\"/>") { } }
public ... | C# |
/*
* QEMU MIPS address translation support
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, ... | C |
arg1?: number,
arg2?: number,
arg3?: number,
): RGBA {
const h = Array.isArray(arg0) ? arg0[0] : (arg0 as number)
const s = Array.isArray(arg0) ? arg0[1] : (arg1 as number)
const l = Array.isArray(arg0) ? arg0[2] : (arg2 as number)
const a = Array.isArray(arg0) ? arg0[3] : (arg3 as number... | Typescript |
hO3N0b3Atb3BhY2l0eToxIiAvPicsICc8 c3RvcCBvZmZzZXQ9IjEwMCUiIHN0eWxlPSJzdG9wLWNvbG9yOiMxMTk5ZTI7 c3RvcC1vcGFjaXR5OjEiIC8+JzwvbGluZWFyR3JhZGllbnQ+CiAgICAgIDxy ZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3Jh ZGllbnQpIiAvPgogICAgPC9zdmc+CiAgICA= ") center center no-repeat transparent}.x-more-info{border-left:1p... | CSS |
pathToSvg((path as SurfacePath).pathRef, offsetX: offsetX, offsetY: offsetY));
return root;
}
String createSvgClipUrl() => 'url(#svgClip$_clipIdCounter)';
/// Resets clip ids. Used for testing by [debugForgetFrameScene] API.
void resetSvgClipIds() {
_clipIdCounter = 0;
}
// Copyright 2013 The Flutter Authors. Al... | Dart |
_g2,
groth2_g1_y0,
groth1_g1_ipk,
groth1_y_ipk,
}
}
}
macro_rules! check_blindings_count {
( $self:ident, $i: ident, $link:ident, $unrevealed_attr_count:ident ) => {{
if $self.blindings_t[$i - 1].len() != $link.signature.T.len() {
Err(DelgError::G... | Rust |
508.34279, 20037508.34278))).nearLatLng(new L.LatLng(85.051129, 180));
expect(crs.unproject(new L.Point(-20037508.34279, -20037508.34278))).nearLatLng(new L.LatLng(-85.051129, -180));
});
});
describe("#getProjectedBounds", function () {
it("gives correct size", function () {
let i,
worldSize = 256,... | Typescript |
ar)
self.charTab:addGroup(tab_char)
end
local function updateCamPoint(self)
local midPointX, midPointY = self.char:getMidpoint()
midPointX = midPointX + (self.isPlayer and -100 or 150)
midPointY = midPointY + -100
self.camPoint1.x, self.camPoint1.y = midPointX - 1.5, midPointY - 15
self.camPoint2.x, self.camPo... | Lua |
}
}
}
return "", nil
}
func (sam *StorageAccountManager) ConainerNameByNamespace(namespace string) string {
if !sam.uniqueContainerPerNamespace {
return defaultConainerName
}
return fmt.Sprintf("%s-%s", defaultConainerName, namespace)
}
// CreateContainerSASURL creates a user delegation SAS URL for the ... | Go |
Found": "gedownloade bestanden gevonden",
"close": "Sluit",
"exportMsg": "Bestanden successvol geëxporteerd",
"clearImgCacheAlert": "Afbeeldingen cache is successvol verwijderd",
"selectAuthInsMsg": "Selecteer Authenticatie instantie!",
"openIn": "Openen in",
"backupSettingsAndPlaylists": "Back-... | Dart |
;findet die Stelle, an der der obere Rand aufgeht. Wert steht dann in HBL_COUNT2
move.l $68.w,-(A7) ; merke alten HBL-Vektor
move.l #hbl,$68.w ; und setze eigenen Vektor
bsr.s finde_sync ; bestimme Moment der Randoeffnung
move.l (A7)+,$68.w ; hole alten HBL-Vektor w... | Assembly |
valCnt, true));
} catch (Exception e) {
e.printStackTrace();
Assert.fail("The test caused an exception.");
}
final AtomicReference<Throwable> error = new AtomicReference<>();
Thread taskRunner = new Thread("Task runner for testCancelMatchTaskWhileSort1()") {
@Override
public void run() {... | Java |
}.mw-tree-nav-skin-category-manager li[data-type=category]>.mw-tree-item-content-root .mw-tree-item-content:hover{background:var(--tblr-bg-surface);border-color:#eeeff1;box-shadow:-1px 1px 1px 0 rgba(0,0,0,.11)}.mw-tree-nav-skin-category-manager li[data-type=page]{padding-top:10px}.mw-tree-nav-skin-category-manager li[... | CSS |
djustedThreshold = math.Max(14.0, 0.045*float64(totalFriends))
case totalFriends >= 200:
adjustedThreshold = math.Max(12.0, 0.055*float64(totalFriends))
case totalFriends >= 150:
adjustedThreshold = math.Max(9.0, 0.065*float64(totalFriends))
case totalFriends >= 100:
adjustedThreshold = math.Max(7.0, 0.075*flo... | Go |
...........................
boost::algorithm::to_lower(mask_type);
if (mask_type == "no")
{
wmh.do_msk = wmh.do_msk_cyl = wmh.do_msk_att = wmh.do_msk_file = false;
}
else
{
wmh.do_msk = true;
if (mask_type == "cylinder")
{
wmh.do_msk_cyl = true;
wmh.do_msk... | C++ |
经过这些运算后所得到的新结构仍然是原来的结构类型。'),
new Course(7,'2016级面向程序设计(C++)','http://usercontent.edu2act.cn/media/team/17-09-14/wFmfsk8VswjGQtzimbK2EE.png?imageView2/1/w/230/h/130',48,394,'C++是在C语言的基础上开发的一种面向对象编程语言,属于编译型语言,应用广泛;C++支持多种编程范式 --面向对象编程、泛型编程和过程化编程。其编程领域众广,常用于系统开发,引擎开发等应用领 域,支持类、封装、继承、多态等特性!'),
new Course(8,'WEB(二)2... | Typescript |
m:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.