content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
diffuse = c
ambient = c
specular = c
}
edges[k].spatialOrNull()?.needsUpdate = true
edges[k].geometryOrNull()?.dirty = true
}
}
fun addLine(l: Node) {
edges.add(l)
addChild(l)
generateBoundingBox()
... | Kotlin |
if (SBMI.session.isAdmin()) {
document.getElementById("accordionRoles").classList.remove("d-none");
} else {
document.getElementById("accordionRoles").classList.add("d-none");
return;
}
document.getElementById("accordionRoles").classList.remove("d-non... | JavaScript |
into(self) -> usize {
self as usize
}
}
impl CharacterTrait for Keqing {
const STATIC_DATA: CharacterStaticData = KEQING_STATIC_DATA;
type SkillType = KeqingSkillType;
const SKILL: Self::SkillType = KEQING_SKILL;
type DamageEnumType = KeqingDamageEnum;
type RoleEnum = ();
#[cfg(not... | Rust |
0, 0, -1},
{ 1, 0, 1},
{-1, 0, -1},
{ 1, 0, -1},
{-1, 0, 1},
{ 0, 1, 0}, -- up
}
local cutter = {
-- See function cut_tree()
}
local safe_cut = minetest.settings:get_bool("technic_safe_chainsaw") ~= false
local c_air = minetest.get_content_id("air")
local function dig_recursive(x, y, z)
local i = cutter.are... | Lua |
(rel.val, type: type);
static Link? findLink(List<Link> links, LicenseRel rel) =>
links.firstWhereOrNull((element) => element.rel.contains(rel.val));
String getHint() => encryption.userKey.textHint;
String get description => 'License($id)';
Uri url(LicenseRel rel,
{MediaType? preferredType, Map<... | Dart |
F),
SamplerBufferAmd = (0x9001),
IntSamplerBufferAmd = (0x9002),
UnsignedIntSamplerBufferAmd = (0x9003),
TessellationModeAmd = (0x9004),
TessellationFactorAmd = (0x9005),
DiscreteAmd = (0x9006),
ContinuousAmd = (0x9007),
TextureCubeMapArray = (0x9009),
TextureBindingCubeMapArray = (0x900A),
ProxyTex... | C# |
emoveItem("currentQuiz");
window.location.href = './main.html';
}
}
/*
Format quizu
let zadanko1 = new Zadanie("2 + 2 =", "4", "5", "2", "1", 1, 2000);
let zadanko2 = new Zadanie("5 * 8 =", "25", "40", "33", "2", 2, 3000);
let zadanko3 = new Zadanie("5 ^ 3=", "125", "40", "33", "20", 1, 5000);
let zadanko... | Typescript |
B E0 00 00 */ li r31, 0
/* 801F6328 001F1F88 48 00 00 44 */ b lbl_801F636C
lbl_801F632C:
/* 801F632C 001F1F8C 80 7A 00 1C */ lwz r3, 0x1c(r26)
/* 801F6330 001F1F90 7F C3 F8 2E */ lwzx r30, r3, r31
/* 801F6334 001F1F94 83 BE 00 0C */ lwz r29, 0xc(r30)
/* 801F6338 001F1F98 2C 1D 00 00 */ cmpwi r29, 0
/* 801F633C 001... | Assembly |
last one below known ranks (default [no rank,clade])
-t, --show-lineage-taxids show corresponding taxids of reformated lineage
-I, --taxid-field int field index of taxid. input data should be tab-separated. it overrides
-i/--lineage-field (default 1)
-T, --trim ... | Markdown |
=2.12
// ignore_for_file: unused_element, unused_import
// ignore_for_file: always_put_required_named_parameters_first
// ignore_for_file: constant_identifier_names
// ignore_for_file: lines_longer_than_80_chars
part of openapi.api;
class SearchAssetResponseDto {
/// Returns a new [SearchAssetResponseDto] instance... | Dart |
-a5OCLU .label-sut2De{font-size:14px;font-weight:500;line-height:22px;color:var(--grayblue-800)}.setting-menu-panel-T1H9eY .inner-box-a-ZZ6Q .content-eY1fFs .item-5Q8k9l .lt-a5OCLU .tip-V4Vg5D{font-size:12px;font-weight:400;line-height:18px;color:var(--grayblue-600)}.setting-menu-panel-T1H9eY .inner-box-a-ZZ6Q .content... | HTML |
scale=1,viewport-fit=cover"><link rel="icon" href="/swiftodon/favicon.ico"><link rel="mask-icon" href="/swiftodon/favicon.svg" color="#333333"><title>Documentation</title><script>var baseUrl = "/swiftodon/"</script><script defer="defer" src="/swiftodon/js/chunk-vendors.bdb7cbba.js"></script><script defer="defer" src="/... | HTML |
using StringLiteralGenerator;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
class Program
{
static void Main()
{
var source = @"using System;
using StringLiteral;
partial class Literals
{
[StringLiteral.Utf8Attribute(""aαあ😊"")]
public static partial System.ReadOnlySpan<b... | C# |
e.list[0] = mockState.list[0].clone()..desc = desc;
return mockState.list[0].clone();
}),
Pin('page-build', mockState.clone()),
Pin('toDo0-build', mockState.list[0].clone()),
// Pin('toDo1-build', mockState.list[1].clone()),
// Pin('toDo3-build',... | Dart |
K | KeyEvent.ALT_DOWN_MASK,
VIEW_VERTICAL_TRANS_KEYS_SLOW_META,
this.makeSlowActionAttributes(this.getActionAttributes(
DEVICE_KEYBOARD, VIEW_VERTICAL_TRANS_KEYS_CTRL), DEFAULT_SLOW_VALUE));
// Reset Heading Action
this.addAction(DEVICE_KEYBOARD, ActionAttributes... | Java |
This class does manage all ciphersuites
* which are used by MicroTLS.
*/
public class TlsCipherSuiteManager
{
private static final int TLS_RSA_WITH_3DES_EDE_CBC_SHA = 0x000a;
private static final int TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA = 0x0013;
private static final int TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA = ... | Java |
10 - 6)
out[7] = (inl >> 6) % (1 << 10)
out[8] = (inl >> 16) % (1 << 10)
out[9] = (inl >> 26)
binary.Read(in, binary.LittleEndian, &inl)
out[9] |= (inl % (1 << 4)) << (10 - 4)
out[10] = (inl >> 4) % (1 << 10)
out[11] = (inl >> 14) % (1 << 10)
out[12] = (inl >> 24)
binary.Read(in, binary.LittleEndian, &inl)
ou... | Go |
de></pre></div>
<p>可以看到,除了第一个我们安装的 <a href="/8/1/">网络穿透 - ZeroTier</a>, 其他所以全部走国内的更新源了:</p>
<p><a class="glightbox" data-desc-position="bottom" data-height="auto" data-width="100%" href="https://image.3001.net/images/20230111/16734228534794.png"><img alt="" src="https://image.3001.net/images/20230111/16734228534794.png... | HTML |
"""
Служебные команды
"""
import discord
from discord.ext import commands
from ..config import ConfigManager
from ..utils.helpers import add_timestamp
class UtilityCommands(commands.Cog):
"""Класс служебных команд"""
def __init__(self, bot: commands.Bot, config_manager: ConfigManager):
self.bot ... | Python |
to read config file")?;
let mut cors_builder = warp::cors()
.allow_methods(vec!["GET", "POST"])
.allow_header("content-type")
.allow_header("authorization");
if settings.server.cors_allow_any_origin {
cors_builder = cors_builder.allow_any_origin();
} else if let Some(origins... | Rust |
n section <a href="#matrix-interpolation">Interpolation of Matrices</a> afterwards. Otherwise the rotation angle gets interpolated numerically and the rotation vector of the non-zero angle is used or (0, 0, 1) if both angles are zero.</p>
<h2 class="heading settled" data-level="15" id="combining-transform-lists"><sp... | HTML |
='Temple',x=126.16890716552734,y=254.21255493164062,z=478.1236572265625},
{map='Prairie_Cave',name='Prairie soar high OOB',x=314.2340393066406,y=235.1671600341797,z=162.43087768554688},
{map='DayEnd',name='Forest',x=-128.55003356933594,y=106.04075622558594,z=41.26801681518555},
{map='DayEnd',name='Elder Room',x=-52... | Lua |
//Arrange
var searchElement = new PackageManagerSearchElement(new PackageHeader() { name = "Foo" });
searchElement.Executed += SearchElement_Executed; //Subscribe the function to the Executed event
//Act
searchElement.Execute();
//Assert
... | C# |
}
@Test
public void testContractNode_shortcutDoesNotSpanUTurn() {
// 2 -> 7 -> 3 -> 5 -> 6
// |
// 1 <-> 4
final EdgeIteratorState e7to3 = graph.edge(7, 3).setDistance(10).set(speedEnc, 10, 0);
final EdgeIteratorState e3to5 = graph.edge(3, 5).setDistanc... | Java |
IT:
return {
message: "Took a 100$ deposit",
time,
};
case TAKE_WITHDRAWAL:
return {
message: "Took a 100$ withdrawal",
time,
};
case PURCHASE_BITCOIN:
return {
message: "Purchased 1 Bitcoin",
time,
};
case SELL_BITCOIN:
... | Typescript |
implicit constructor warnings.
factory EmbedElement._() { throw new UnsupportedError("Not supported"); }
@DomName('HTMLEmbedElement.HTMLEmbedElement')
@DocsEditable()
factory EmbedElement() => document.createElement("embed");
/**
* Constructor instantiated by the DOM when a custom element has been create... | Dart |
ue bas gauche
st set 0
rept 16
move.w st(a4),d1 * sprite * 12
and.w (a3)+,d1 * ET fond * 8
or.w d1,d6 * resultat total dans d6 * 4
st set st+4 * = 24*16=384 cycles
endr
* bas droite
addq.l #1,a2
moveq #0,d1
move.b (a2),d1 * no brique en bas a droite
lea colbri,a3
lsl.w #5,d1
adda.w d1,a3 * on... | Assembly |
in", function( e ){
$( e.target ).closest( ".form-pair" ).addClass( "focus" );
})
.live("focusout", function( e ){
$( e.target ).closest( ".form-pair" ).removeClass( "focus" );
})
.trigger( "update" );
// Most popular list
$(".popular-list, .playlists").each(function() {
var $oEl = $... | JavaScript |
ting-point
// * pixel data
// Main header data
dds_header hdr;
hdr.size = 124;
hdr.flags = 0x100F | (dim_z > 1 ? 0x800000 : 0);
hdr.height = dim_y;
hdr.width = dim_x;
hdr.pitch_or_linear_size = image_components * (bitness / 8) * dim_x;
hdr.depth = dim_z;
hdr.mipmapcount = 1;
for (unsigned int i = 0; i < 11;... | C++ |
.72c0 .9-.74 1.64-1.64 1.64H3.64C2.74 22 2 21.26 2 20.36V3.64zm14.7 10.91l.6-3.43h-4.12V8.85c0-.57.58-.57.58-.57h3.53V4.84h-3.53c-3.17 0-3.74 2.67-3.52 5.14v1.14H6.7v3.43h3.53v7.43h2.94v-7.43h3.53z"></path></symbol>
<symbol id="icon-facebook-square" viewBox="0 0 32 32"><path d="M0 2.62A2.62 2.62 0 0 1 2.62 0h26.76A2.62... | HTML |
title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-26.5 284.1631,-26.5 284.1631,4 -4,4"/>
<!-- module~m_swap -->
<g id="module~~m_swap~~UsesGraph_node1" class="node">
<title>module~m_swap</title>
<polygon fill="none" stroke="#000000" points="280.1631,-22.2554 226.1631,-22.2554 226.1631,-.2446 280.1631... | HTML |
e: String): Column<String> = varchar(name, 128)
fun Entity<*>.location(column: Column<String>): ExposedPropertyDelegate<Location> = object : ExposedPropertyDelegate<Location> {
override operator fun <ID : Comparable<ID>> getValue(
entity: Entity<ID>,
desc: KProperty<*>,
): Location {
va... | Kotlin |
const char* name, int value)
{
TParameter<int> obj;
obj.SetVal(value);
obj.Write(name);
}
void VisualisationEventROOTSerializer::saveUInt64(const char* name, uint64_t value)
{
TParameter<long> obj;
obj.SetVal((long)value);
obj.Write(name);
}
int VisualisationEventROOTSerializer::readInt(TFile& f, const ch... | C++ |
蜜糖", nil, {"从隐匿石一带被部落废弃的基地中的箱子里找到10瓶辛特兰蜜糖。"}},
[78] = {"斯塔文的传说", nil, {"把褪色的日记书页带给暮色森林中夜色镇的旅店老板斯密茨。"}},
[79] = {"斯塔文的传说", nil, {"把沾满泥污的日记书页交给指挥官阿尔泰娅·埃伯洛克。"}},
[80] = {"斯塔文的传说", nil, {"把染血的日记书页交给书记员达尔塔。"}},
[81] = {"送回蜜酒", nil, {"把桶交给奥格瑞玛的德兰·杜佛斯。"}},
[82] = {"腐化之巢", nil, {"从腐化之巢找5个森提帕尔昆虫肢体,把它们交给加基森的炼金师匹斯特苏格。"}},
[83] = ... | Lua |
s)
// Check that a PLT header is written and the ifunc entries appear last
// DISASM: Disassembly of section .text:
// DISASM-EMPTY:
// DISASM-NEXT: foo:
// DISASM-NEXT: 2012d8: retq
// DISASM: bar:
// DISASM-NEXT: 2012d9: retq
// DISASM: _start:
// DISASM-NEXT: 2012da: callq 65
// ... | Assembly |
te = true;
palDistances[src][target] = 1;
resolved.Add(next);
}
continue;
}
// check if there's a possible child of this `src` with known distance to target
... | C# |
#ifndef MULTI_BEAM_CAUSTIC_WINDOW_H
#define MULTI_BEAM_CAUSTIC_WINDOW_H
#include "../funcs/MulticausticWindow.h"
#include "../math/MultibeamCausticFunction.h"
class MultibeamCausticWindow final : public MulticausticWindow
{
Q_OBJECT
public:
explicit MultibeamCausticWindow(Schema*);
MultibeamCausticFunct... | C |
from dotenv import load_dotenv
import os
# from langchain_huggingface import HuggingFaceEndpoint
load_dotenv()
# HUGGING_FACE_KEY=os.getenv("HUGGING_FACE_KEY")
# rep_id="mistralai/Mistral-7B-Instruct-v0.3"
# llm=HuggingFaceEndpoint(repo_id=rep_id,temperature=0.2,huggingfacehub_api_token=HUGGING_FACE_KEY)
# x=llm.in... | Python |
.Replace(version, ".", "0", 1)
}else{
version = strings.Replace(version, ".", "", -1)
}
parser.mysqlVersionInt,err = strconv.Atoi(version)
if err != nil{
log.Println("mysql version:",version,"err",err)
}
*/
//log.Println("binlogVersion:",parser.format.binlogVersion,"server version:",parser.fo... | Go |
fun <IN : Any> BiDiLensSpec<IN, String>.csv(delimiter: String = ",") = csv(delimiter, BiDiMapping({ it }, { it }))
inline fun <IN : Any, reified T : Enum<T>> BiDiLensSpec<IN, String>.enum() =
mapWithNewMeta(StringBiDiMappings.enum<T>(), EnumParam(T::class))
inline fun <IN : Any, reified T : Enum<T>> BiDiLensSpec... | Kotlin |
--[[
Title: Concommand Helpers
Server-side compliment of the shared commands.lua
]]
--[[
Table: sayCmds
This table holds our say commands.
]]
ULib.sayCmds = ULib.sayCmds or {}
--[[
Function: sayCmdCheck
Say callback which will check to see if there's a say command being used. *DO NOT CALL DIRECTLY*
Paramet... | Lua |
#ff5722;border:1px solid #ff5722}tr{transition:background-color .5s ease}tr.pilih{background-color:#00bcd4 !important}.alert-box.warning{background-color:#9440ed;border-color:#7a16e4}select{-moz-appearance:none;text-indent:.01px;text-overflow:""}.grid-loading{background:url(3.gif) no-repeat}.grid-loading th{animation:... | CSS |
ame, func(t *testing.T) {
if got := tt.t.Strings(); !reflect.DeepEqual(got, tt.want) {
t.Errorf("Tags.Strings() = %v, want %v", got, tt.want)
}
})
}
}
func TestParseTag(t *testing.T) {
type args struct {
tag string
}
tests := []struct {
name string
args args
want Tag
wantErr bool
}{... | Go |
.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #26a5b5;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #d09a5c;
background: transparent;
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #d44... | CSS |
/1902/22/cover_news089.jpg`
);
});
it('returns the content', async () => {
// To pass this test, fill out the content selector
// in ./src/extractors/custom/www.itmedia.co.jp/index.js.
// You may also want to make use of the clean and transform
// options.
const { content } ... | JavaScript |
{
throw new Exception("Not Valid Request Method");
}
} catch (Exception e) {
System.out.println("An erroneous request");
response = e.toString();
e.printStackTrace();
}
//Sending back response to the client
//httpExchan... | Java |
# Copyright 2017 LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
# See LICENSE in the project root for license information.
import io
import venv
import sys
from pathlib import Path
from setuptools import setup, find_packages, Command
from setuptools.command.test import test as Te... | Python |
iob_intr_2_305:
!$EV trig_pc_d(2,expr(@VA(.MAIN.iob_intr_2_305), 16, 16)) -> intp(2, 0, 36)
T2_asi_reg_wr_162:
mov 0xa, %r14
.word 0xf8f389e0 ! 3889: STXA_R stxa %r28, [%r14 + %r0] 0x4f
setx data_start_4, %g1, %r23
ta T_CHANGE_HPRIV
mov 0x38, %g1
stxa %r23, [%g1] 0x58
.word 0x81982fd8 ! 3890: WRHPR_HPSTATE_I w... | Assembly |
port java.util.TimerTask;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
public class Board extends JPanel {
private final int B_WIDTH = 350;
private final int B_HEIGHT = 350;
private final int INITIAL_X = -40;
private final int INITIAL_Y = -40;
private final int INITIAL_DELAY = 100... | Markdown |
import os, pickle, re
from idautils import *
g_track_parent_th = 2 # parent function tracking level threshold
g_parent_func_exclude_list = ['__NMSG_WRITE', '__fassign_l']
g_pfe_list = [get_name_ea_simple(p) for p in g_parent_func_exclude_list]
def get_pfuncs(ea, track_th):
pfuncs = [get_func_attr(ref, FUNCATTR_ST... | Python |
50, 0.75);box-shadow: 0px -1px 3px rgba(50, 50, 50, 0.75);background-image: url(images/texture.png), linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/texture.png), -webkit-linear-gradient(rgba(82, 82, 82, .99), rgba(69, 69, 69, .95));background-image: url(images/textur... | HTML |
td width="20"></td><td>
Creates an instance of initiator domain object based on initiator value object.</td></tr><tr name="rowLink" runtime="Flash::9##AIR::1.1##" product="Flex::3##"><td class="idxrow" colspan="2"><a target="_self" href="mx/core/UIComponent.html#createInModuleContext()" onclick="javascript:loadClassL... | HTML |
VideoPlaybackQuality;\n};\n\n/** A single video track from a <video> element. */\ninterface VideoTrack {\n readonly id: string;\n kind: string;\n readonly label: string;\n language: string;\n selected: boolean;\n readonly sourceBuffer: SourceBuffer | null;\n}\n\ndeclare var VideoTrack: {\n prototy... | JavaScript |
言顺的加大攻势。欧美已经耗得海干河净了,准备拿什么撑乌克兰?
这两个场景都意味着普京没有必要过多的牺牲远东利益来换中国的决定性支持,在普京看来显然成本更低。
唯一的短板,就是需要普京的政治影响力来稳定俄罗斯民心,在中低烈度战争状态耐心等待这两年时间。
但这反过来意味着俄罗斯也会因此而需要普京,自动稳定普京的领导地位。
现在假设普京这个因素因为各种原因被移出了棋局。
天平失去了支点,俄罗斯将失去“耐心等待”的信心。
替补普京的接班人将被迫临危受命,进入救亡图存的历史阶段。
那个时候,乌克兰战场全面而彻底的胜利就是绝对的首要目标,这将自然的提出一个“符拉迪沃斯托克+哈巴罗夫斯克和敖德萨+哈尔科夫+基辅哪个比较重要”的问题。... | Markdown |
7724\u771E\u7725\u7726\u771B"+
"\u7737\u7738\u7747\u775A\u7768\u776B\u775B\u7765"+
"\u777F\u777E\u7779\u778E\u778B\u7791\u77A0\u779E"+
"\u77B0\u77B6\u77B9\u77BF\u77BC\u77BD\u77BB\u77C7"+
"\u77CD\u77D7\u77DA\u77DC\u77E3\u77EE\u77FC\u780C"+
"\u7812\u7926\u7820\u... | Java |
AID>\w+</mESAID>\n <mSerial>(\w+)</mSerial>\n <mName>([^<]+)</mName>\n <mVersion>([][\w._ ]+)</mVersion>\n|s p/Drobo NASD/ v/$3/ i/name: $2; sn: $1/
match drobo-dsvc m|^DRIDDSVC\x07\x01.\0\0\0..<ESATMUpdate>\r\n\t<mESAUpdateSignature>ESAINFO</mESAUpdateSignature>\r\n\t<mESAUpdateVersion>\d+</mESAUpdateVersion>... | Go |
options.https.checkServerIdentity"'),"ca"in r&&fh.default('"options.ca" was never documented, please use "options.https.certificateAuthority"'),"key"in r&&fh.default('"options.key" was never documented, please use "options.https.key"'),"cert"in r&&fh.default('"options.cert" was never documented, please use "options.htt... | JavaScript |
Name: ubuntu
[*] 1.1.1.1:548 - Scanned 1 of 1 hosts (100% complete)
[*] Auxiliary module execution completed
```
MS17-010 fixes RCE in SMBv1, but seems to also have inadvertently added a remote, uncredentialed
patch check information disclosure.
This module can determine if MS17-010 has been patched or not. Spe... | Markdown |
case 2 -> "2";
case 3 -> "3";
default -> "default";
};
}
String switchメソッド2(int i) {
// 続いていないものはlookup switchになる
return switch (i) {
case 1 -> "1";
case 3 -> "3";
default -> "default";
... | Java |
tnl_x86_dispatch_attrf1 )
GLOBL( _tnl_x86_dispatch_attrf2 )
GLOBL( _tnl_x86_dispatch_attrf3 )
GLOBL( _tnl_x86_dispatch_attrf4 )
subl $12, %esp /* gcc does 16 byte alignment of stack frames? */
leal 16(%esp), %edx /* address of first float on stack */
movl %edx, (%esp) /* save as 'v' */
call *SUBST(0) /* 0x0 --> tab... | Assembly |
name="user-content-disk-archive--retrieval-tool-dart-format"><span aria-hidden="true" class="octicon octicon-link"></span></a></div>
<div class="markdown-heading"><h2 class="heading-element">Primary References</h2><a aria-label="Permalink: Primary References" class="anchor" href="#user-content-primary-references" id="u... | HTML |
)
type memoryVerb MemoryFlags
func init() {
verb := &memoryVerb{}
app.AddVerb(&app.Verb{
Name: "memory",
ShortHelp: "Prints memory metrics about a capture file",
Action: verb,
})
}
func (verb *memoryVerb) Run(ctx context.Context, flags flag.FlagSet) error {
if flags.NArg() != 1 {
app.Usage(ctx, "... | Go |
["D"] = "Has demostrado tu valía ante Paige, y francamente siempre podemos usar más manos en la Guardia Nocturna.$B$BMientras nuestras fuerzas se enfocan en los huargen y la Plaga, nos gustaría que hicieras un viaje al sur al Montículo de los Ogros de Vul\'Gol y reduzcas la población de ogros.$B$BSolo conocemos algunos... | Lua |
more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch B.V. licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the Licens... | Typescript |
r MIT Open Source
*/
/*! normalize-scss | MIT/GPLv2 License | bit.ly/normalize-scss */
/* Document
========================================================================== */
/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Correct the line height in all browsers.
* 3... | CSS |
ptr [[CSIZE_ADDR]], align 4
// CHECK-NEXT: [[CMP:%.*]] = icmp ult i32 [[TMP1]], [[TMP2]]
// CHECK-NEXT: br i1 [[CMP]], label [[FOR_BODY:%.*]], label [[FOR_END:%.*]]
// CHECK: for.body:
// CHECK-NEXT: [[TMP3:%.*]] = load ptr, ptr [[TMP]], align 8
// CHECK-NEXT: [[C:%.*]] = getelementptr inbounds [[STRU... | C++ |
SxXQUFVQSxLQUFBQSxDQUFJLEVBQUk7UUFDckUsT0FBTztJQUNUO0lBRUEsT0FBT0EsTUFBTUQsSUFBSSxLQUFLRjtBQUN4QiIsInNvdXJjZXMiOlsiQzpcXFVzZXJzXFx0aGViZVxcTUxcXENvZGVzXFxzcmNcXGNsaWVudFxcY29tcG9uZW50c1xcc3RhdGljLWdlbmVyYXRpb24tYmFpbG91dC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBORVhUX1NUQVRJQ19HRU5fQkFJTE9VVCA9ICdORVhUX1NUQVRJQ19HRU5fQ... | JavaScript |
bra send_altered_pitch
upoct: asr #1,d6
addq.b #1,38(a0)
cmpi.b #10,38(a0)
bne send_altered_pitch
move.b #6,38(a0)
BRA SEND_ALTERED_PITCH
ch_mod_on:
tst.b 38(a0)
beq send_altered_pitch
tst.w 44(a0)
beq check_speed
subq #1,44(a0)
bra send_altered_pitch
check_s... | Assembly |
acles.removeAll(p_ignore_items);
}
boolean obstacles_shovable = shape_entries.store_items(obstacles, true, p_copper_sharing_allowed) && shape_entries.shove_via_list.isEmpty();
if (!obstacles_shovable)
{
this.board.set_shove_failing_obstacle(shape_entries.get_found_obstacle());
return false;
... | Java |
ch/pkg/util/search"
"github.com/cockroachdb/cockroach/pkg/util/timeutil"
"github.com/cockroachdb/cockroach/pkg/workload/histogram"
"github.com/cockroachdb/cockroach/pkg/workload/histogram/exporter"
"github.com/cockroachdb/cockroach/pkg/workload/tpcc"
"github.com/cockroachdb/errors"
"github.com/cockroachdb/ttycolo... | Go |
not detect irq.");
return;
}
let irq = match resource_data.unwrap() {
ResourceData::Irq(i) => i,
ResourceData::Interrupt(i) => i as u8, /* OK...? */
};
pr_info!("IRQ: {}", irq);
make_device_interrupt_handler!(handler, smbus_handler);
i... | Rust |
。
先简单认识一下这两个运算符:
| 操作符 | 名称 | 作用 |
| -------------- | ----------------- | --------------- |
| `++a` 或 `a++` | 前/后缀自增运算符 | 使操作数 `+= 1` |
| `--a` 或 `a--` | 前/后缀自减运算符 | 使操作数 `-= 1` |
你应该发现了这里的操作符分为前缀和后缀两类。我们将分别简单地介绍它们——你可能觉得它们之间几乎没有什么区别,不过不必担心,我们稍后会做细致地区分。
## 前缀自增/减表达式
形如:
```sdsc
"+... | Markdown |
2 ret
00011130 <sum_2_number>:
11130: 46a9 li a3,10
11132: 463d li a2,15
11134: 00d56363 bltu a0,a3,1113a <sum_2_number+0xa>
11138: 4665 li a2,25
1113a: 952e add a0,a0,a1
1113c: 9532 add a0... | Assembly |
parser: P,
separator: S,
_marker: PhantomData<fn() -> F>,
}
impl<F, P, S> Parser for SepBy<F, P, S>
where
F: Extend<P::Output> + Default,
P: Parser,
S: Parser<Input = P::Input>,
{
type Input = P::Input;
type Output = F;
type PartialState = <Or<
SepBy1<F, P, S>,
FnPars... | Rust |
if (Config.TVT_REMOVE_BUFFS_ON_DIE)
{
stopAllEffects();
}
}
else if (player.inEventCTF && CTF.isStarted())
{
if (Config.CTF_REMOVE_BUFFS_ON_DIE)
{
stopAllEffects();
}
}
else if (Config.LEAVE_BUFFS_ON_DIE) // this means that the player is not in event
{
... | Java |
type === 'boolean') {
return 'true';
} else if (type === 'string') {
exampleData = '"bike"';
} else if (type === 'enum') {
exampleData = field.values[0];
} else if (type === 'float') {
exampleData = '19.99';
} else if (type === 'integer') {
exampleData = '3';
} else if (type === 'date_time... | JavaScript |
ect();
}
};
/**
* Interface of all responses
*/
export interface IResponseData<T> {
code: number;
message?: string;
data?: T;
}
/**
* Utils helper
*/
export class TransferObjectUtils {
/**
* Compose all data to result response package
*
* @param responseCode - 200 | 400 | 500
* @param message... | Typescript |
value is NaN or infinite, this method returns [MAX_EXPONENT] + 1.
* If the argument is 0 or a subnormal representation, this method returns [MIN_EXPONENT] - 1.
*/
val exponent: Int
get() = ((v.toInt() ushr FP16_EXPONENT_SHIFT) and FP16_EXPONENT_MASK) - FP16_EXPONENT_BIAS
/**
* Returns t... | Kotlin |
code.xref,a .rst-content tt,a .rst-content code{font-weight:bold;color:#404040}.rst-content pre,.rst-content kbd,.rst-content samp{font-family:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",Courier,monospace}.rst-content a tt,.rst-content a tt,.rst-content a code{color:#2980B9}.rst-content dl{mar... | CSS |
índice (idx:string o format) no se almacenaban de forma correcta si el tamaño total era superior a 64 K.
- Se incluye el corrector ortográfico en francés.
<h3>V 6.0, compilación 32</h3>
- Depuración de fallos: Los archivos de imagen que faltan ya no crean una imagen aleatoria en el libro electrónico.
- Cam... | HTML |
Fprint(out, i, (cnt[0][xor^i]+mod)%mod)
break
}
}
}
//func main() { CF1218D(os.Stdin, os.Stdout) }
package main
import (
"bufio"
. "fmt"
"io"
"math"
)
// github.com/EndlessCheng/codeforces-go
func CF1033D(_r io.Reader, _w io.Writer) {
const mod int64 = 998244353
sqrt := func(a int64) int64 {
r := i... | Go |
狱手机下利用clutch工具解密重新打包,实现逻辑是程序在运行态时把解密部分的内容提取出来覆盖原有加密地址段</span></p><p style="text-indent: 2em; text-align: left;"><span style="font-size: 14px; font-family: 微软雅黑, 'Microsoft YaHei';">2).修改APP程序的二进制程序</span></p><p style="text-indent: 2em; text-align: left;"><span style="font-size: 14px; font-family: 微软雅黑, 'Mic... | HTML |
수: 1
HG가 총기 성능의 표준이던 이전작과는 다르게 이쪽에서는 돌격소총이 총기 성능의 표준이 되었다.
### 2.3.2. HG(HandGun)
1, 2, 3, 4, 5, 6티어의 총기가 존재한다.
>- 발사하는 탄환 수: 1
>- 탄환 발사 속도: x2
>- 탄환 피해량: 2 x (티어)
>- 강화 효율: (티어)
>- 최대 탄창: 4
>- 1발 당 소모 탄약 수: 1
>- 특이사항: 재장전 시간 1턴
### 2.3.3. MG(MachineGun)
3, 5티어의 총기가 존재한다.
>- 발사하는 탄환 수: 3
>- 탄환 발사 속도: x1
>- 탄환 피해량:... | Markdown |
: '/applications/0/entitlements',
execute: (manager) => manager.list(),
check: (list) {
expect(list, hasLength(1));
checkEntitlement(list.single);
},
),
EndpointTest<EntitlementManager, Entitlement, Map<String, Object?>>(
name: 'createTestEntitlement',
... | Dart |
ISA")),
}
}
}
<gh_stars>1-10
//! Structures and traits that are shared around the whole cell
//! compiler.
#![warn(rust_2018_idioms)]
pub mod error;
mod macros;
pub mod profiler;
pub mod source;
pub mod strings;
use source::FileId;
/// Diagnostic type alias with specific `FileId`.
pub type Diagnostic = c... | Rust |
param binding
*/(private val binding: ViewDataBinding) :
RecyclerViewHolder<MediaList?>(binding.root) {
/**
* Load image, text, buttons, etc. in this method from the given parameter
* <br></br>
*
* @param model Is the model at the current adapter position
... | Kotlin |
_popular_edges as Movie,
GetMoviesAndPeople_people_popular_edges as People,
} from "../utils/gql/__generated__/getMoviesAndPeople";
const generateYesQuestion = (
movies: (Movie | null)[],
nb: number
): Question[] => {
const result: Question[] = [];
let cp = 0;
while (cp < nb) {
const index = Math.floor... | Typescript |
* Unknown.
*/
UNKNOWN,
/**
* Date of delivery for the order.
*/
DELIVERY_DATE,
/**
* Estimated Time of Arrival for order.
*/
ETA,
/**
* Reservation time.
*/
RESERVATION_SLOT
}
/**
* List of possible tokenization types for the payment method
*/
export enu... | Typescript |
ase '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case '-':
case '+':
case '.':
retur... | C# |
0!==(A=_[D]))A.score+=V,A.matchData.combine(i[j]);else{var z={ref:D,score:V,matchData:i[j]};_[D]=z,N.push(z)}}}return N.sort(function(e,t){return t.score-e.score})},e.Index.prototype.toJSON=function(){var t=Object.keys(this.invertedIndex).sort().map(function(e){return[e,this.invertedIndex[e]]},this),r=Object.keys(this... | HTML |
translateX(-50px)}100%{opacity:1;transform:translateX(0)}}@keyframes uk-fade-right-medium{0%{opacity:0;transform:translateX(50px)}100%{opacity:1;transform:translateX(0)}}@keyframes uk-fade-scale-02{0%{opacity:0;transform:scale(.2)}100%{opacity:1;transform:scale(1)}}@keyframes uk-fade-scale-18{0%{opacity:0;transform:sca... | CSS |
?? 1.0;
_x += dx / scale;
_y += dy / scale;
parent.target?.inputModel.moveMouse(_x, _y);
notifyListeners();
return;
}
if (parent.target?.imageModel.image == null) return;
final scale = parent.target?.canvasModel.scale ?? 1.0;
dx /= scale;
dy /= scale;
final r = get... | Dart |
class="flex-box">
<header role="banner" class="flex-header">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="top-nav" id="navbar-top">
<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div>
<ul id="navbar-top-firstrow" class="na... | HTML |
/**
@file ImageUsageFlagBits.h
@brief ImageTiling enum.
@copyright 2018, Juan David Adarve Bermudez. See AUTHORS for more details.
Distributed under the Apache-2 license, see LICENSE for more details.
*/
#ifndef LLUVIA_CORE_IMAGE_IMAGE_TILING_H_
#define LLUVIA_CORE_IMAGE_IMAGE_TILING_H_
#inclu... | C |
/*******************************************************************************
OpenAirInterface
Copyright(c) 1999 - 2014 Eurecom
OpenAirInterface is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundati... | C |
--mattr=-sve2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
rsubhnt z0.b, z1.h, z31.h
// CHECK-INST: rsubhnt z0.b, z1.h, z31.h
// CHECK-ENCODING: [0x20,0x7c,0x7f,0x45]
// CHECK-ERROR: instruction requires: sve2 or sme
// CHECK-UNKNOWN: 457f7c20 <unknown>
rsubhnt z0.h, z1.s, z31.s
// CHECK-INST: rsubhnt z0.h, z1.s, ... | Assembly |
// Copyright 2013 Google Inc. All Rights Reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the COPYING file in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing project authors may
// be... | C |
equests
#[tokio::test]
async fn test_get_drive() {
let onedrive = onedrive().await;
// #1
let drive1 = onedrive.get_drive().await.expect("Cannot get drive #1");
assert!(drive1.quota.is_some());
assert!(drive1.owner.is_some());
let drive_id = drive1.id.as_ref().expect("drive1 has no id");
... | Rust |
1_three, 656
.set nb211_two, 672
.set nb211_krf, 688
.set nb211_crf, 704
.set nb211_krsqO, 720
.set nb211_krsqH1, 736
.set nb211_krsqH2, 752
.set nb211_is3, 768
.set nb211_ii3, 772
.set nb211_ntia, 776
.set nb211_innerjjnr, 780
.set nb211_innerk, 784
.set nb211_n, 788
.set nb211_nn1, 792
.set nb211_nri, 796
.set nb211_... | Assembly |
ialState = serializedObject.FindProperty("initialState");
maxClosednessCost = serializedObject.FindProperty("maxClosednessCost");
}
public override void OnInspectorGUI()
{
DrawDefaultInspector();
var targetScript = target as SpatialAudioPortal;
se... | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.