content
stringlengths
2
6.21k
label
stringclasses
16 values
vbif q10, q12, q15 vst1.16 {q10}, [r12] loop_x_eo_45_end_rn: sub sp, sp, #72 // reserve stack point ldmia sp!, {r4-r12, lr} mov pc, lr /*********************************************************************************************************************************** * v...
Assembly
p(64, s), BOOST_PP_WHILE_64, s BOOST_PP_TUPLE_EAT_3)(p, o, o(64, s)) # define BOOST_PP_WHILE_64(p, o, s) BOOST_PP_IF(p(65, s), BOOST_PP_WHILE_65, s BOOST_PP_TUPLE_EAT_3)(p, o, o(65, s)) # define BOOST_PP_WHILE_65(p, o, s) BOOST_PP_IF(p(66, s), BOOST_PP_WHILE_66, s BOOST_PP_TUPLE_EAT_3)(p, o, o(66, s)) # define BOOST_PP...
C++
SocketData); obj.socket.on('close', obj.xxOnSocketClosed); obj.socket.on('error', obj.xxOnSocketClosed); } else { if (obj.xtlsoptions == null) { obj.xtlsoptions = { secureProtocol: 'TLSv1_method', ciphers: 'RSA+AES:!aNULL:!MD5:!DSS', secureOptions: obj.constants.SSL_OP_NO_SSL...
HTML
OnBackground, surface = LightSurface, onSurface = LightOnSurface, surfaceVariant = LightSurfaceVariant, onSurfaceVariant = LightOnSurfaceVariant, outline = LightOutline, inverseOnSurface = LightInverseOnSurface, inverseSurface = LightInverseSurface, inversePrimary = LightInversePrimary, ) private val darkColor...
Kotlin
Section</p> <p>TJvMtMonitorSection </p> </td> <td>JvCore</td> </tr> <tr> <td>JvDotNetCtrls</td> <td>DotNet style components (Do not require the .Net framework to be installed)<br> </td> <td> TJvDotNetCheckListBox <p>TJvDotNetEdit</p> <p>TJvDotNetHotKey</p> ...
HTML
片', '打开后可获得一个5星神速芯片', '', '', '5', '9999', '', 'Chip_T5', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '53235', '', '', '1', '1', '', '', '', '', '', '', '', '', '', '', '', ''}, {'17440', '', 'R5消除芯片箱', '', '', '8', '2', '打开后可获得一个5星消除芯片', '打开后可获得一个5星消除芯片', '', '', '5', '9999', '', 'Chip_T5',...
Lua
poly@PAGE add x13,x13,Lpoly@PAGEOFF ldr x12,[x13,#8] ldr x13,[x13,#24] bl __ecp_nistz256_sqr_mont ldp x19,x20,[sp,#16] ldp x29,x30,[sp],#32 AARCH64_VALIDATE_LINK_REGISTER ret // void ecp_nistz256_div_by_2(BN_ULONG x0[4],const BN_ULONG x1[4]); .globl _ecp_nistz256_div_by_2 .private_extern _ecp_nistz256_div_b...
Assembly
list.TermsOfServiceAllowListConfig{ Enabled: false, // TODO: true SignerPublicKey: proofSignerPublicKey, } var initialAllowedSenders []common.Address var initialBlockedSenders []common.Address // The allowlist requires a pointer to the previous allowlist. If none exists, use the null address. var nullP...
Go
g 2x" data-file-width="4760" data-file-height="4760"></a></div><b><a href="/%E5%95%93%E6%84%BF#5" title="啓愿">伍、夢中籠雀</a></b> &#91;04:02&#93;<dl><dd><a href="./啓愿.md" title="啓愿">啓愿</a> (2021-07-21)<br>社团:<a href="./雲杪煙緲.md" title="雲杪煙緲">雲杪煙緲</a><br>编曲:<a href="/index.php?title=%E7%B6%BA%E6%98%9F&amp;action=edit&amp;redli...
Markdown
====================" ;@ Enable L1 cache ;@"================================================================" #define SCTLR_ENABLE_DATA_CACHE 0x4 #define SCTLR_ENABLE_BRANCH_PREDICTION 0x800 #define SCTLR_ENABLE_INSTRUCTION_CACHE 0x1000 mrc p15,0,r0,c1,c0,0 ;@ R0 = System Control Register /* Enable cach...
Assembly
ul li .mega-menu li .sub-menu ul li a, .mobile-menu .mean-bar .mean-nav>ul li .mega-menu li ul .sub-menu li a, .mobile-menu .mean-bar .mean-nav>ul li .mega-menu li ul ul li a, .mobile-menu .mean-bar .mean-nav>ul li ul li .sub-menu .sub-menu li a, .mobile-menu .mean-bar .mean-nav>ul li ul li .sub-menu ul li a, .mobile-m...
CSS
using MassTransit; using MediatR; using Microsoft.EntityFrameworkCore; using YourBrand.Application.Common.Interfaces; using YourBrand.Application.Common.Models; using YourBrand.IdentityManagement.Contracts; namespace YourBrand.Application.Organizations; public record GetOrganizations(int Page = 1, int PageSize =...
C#
tion pvt(t,{hasExplicitFileList:e,globalList:r,ignoreList:o}){let a=[],n=new qu(t),u=[[It.root,[o]]];for(;u.length>0;){let[A,p]=u.pop(),h=await n.lstatPromise(A);if(!nBe(A,{globalList:r,ignoreLists:h.isDirectory()?null:p}))if(h.isDirectory()){let E=await n.readdirPromise(A),I=!1,v=!1;if(!e||A!==It.root)for(let R of E)I...
JavaScript
داکر** در سالهای اخیر پدیدار شده است. اگر چه عمری از پیدایش آن نمیگذرد، اما بسرعت تبدیل به گزینه ی اصلی برای توسعه دهندگانی شد که در سطح تولید کار میکنند. سرانجام، با استفاده از داکر میتوان یک محیط توسعه ی محلی قابل اعتماد و منسجمی بوجود آورد که از ورژن مدنظر پایتون و نصب جنگو گرفته تا سرویس های مازادی در کنار آنها نظی...
Markdown
( itmLink ~= "" ) ) then local sLink = NuN_GetSimpleName(itmLink); if ( ( NuNGNoteFrame:IsVisible() ) and ( sLink == prevLink ) ) then HideUIPanel(NuNGNoteFrame); else prevLink = sLink; NuNGNoteFrame.fromQuest = nil; if ( ( NuNData[pKey][Notes][itmLink] ) or ( NuNData[Notes][itmLink] ) ) then ...
Lua
from SWOOK_WEBHOOK_URL environment variable #[structopt(long = "webhook-url", short = "u")] webhook_url: Option<String>, /// Channel to publish to, if not present it is read from SWOOK_CHANNEL environment variable /// /// If ommited, the message will be published to the default webhook channel #...
Rust
slot10 + slot27 - slot13 > 0 then slot16 = true table.insert(slot18, { type = DROP_TYPE_VITEM, id = slot7, count = setColorStr(slot29, COLOR_RED) }) end end return slot14 or slot15 or slot16, slot18 end end function slot0.IsUrTask(slot0) if not LOCK_UR_SHIP then slot2 = pg.game...
Lua
import librosa import numpy as np import pretty_midi import mir_eval.melody def get_highest_pitches_from_piano_roll(pr): """ params: pr : (128, time(frame)) return: highest_pitches : (time(frame), ) """ highest_pitches = [] for i in range(pr.shape[1]): ps = np.nonzero(...
Python
content: '\f00c'; } input[type="checkbox"] + label:before { border-radius: 8px; } input[type="radio"] + label:before { border-radius: 100%; } ::-webkit-input-placeholder { opacity: 1.0; } :-moz-placeholder { opacity: 1.0; } ::-moz-placeholder { opacity: 1.0; } :-ms-input-placeholder { ...
CSS
h:none;min-height:100%}.no_header #mhead,.no_header #vk_head{display:none}.body_only #mcont{border:none;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;padding-top:0!important}.body_fullscreen .wiki_content{line-height:1.6em}.body_fullscreen .wiki_content .wiki_title{font-weight:700;-webkit-font-smoothing:...
CSS
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2013 The PHP Group | +--------------...
C
урации. Если двигатели отключены (командой M84 или M18), то перед перемещением их нужно будет снова навести. Если вы хотите перемещать головку после отмены печати через OctoPrint, измените последовательность отмены OctoPrint, чтобы она делала это за вас. Она настраивается в OctoPrint через веб-браузер в разделе: Настр...
Markdown
stomDungeonSocial.Builder, emu.grasscutter.net.proto.CustomDungeonSocialOuterClass.CustomDungeonSocialOrBuilder> getSocialFieldBuilder() { if (socialBuilder_ == null) { socialBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< emu.grasscutter.net.proto.CustomDungeonSocial...
Java
using NewLife.Data; using NewLife.Log; namespace NewLife.Net.Application; /// <summary>日志服务</summary> public class LogServer : NetServer<LogServer.LogSession> { /// <summary>实例化一个日志服务</summary> public LogServer() { // 默认514端口 Port = 514; Name = "日志服务"; } /// <summary>日志会...
C#
h}px` , 'auto'); }else{ this.setWidthAndHeight('auto' , `${this.contentHeight}px`); } this.renderer.addClass(this.el.nativeElement,'rotate'); }else{ let eleRadio = this.eleHeight / this.eleWidth; if(boxRadio > eleRadio) { this.setWidthAndHeight('auto' , ...
Typescript
="method"><a class="src rightside" href="../../src/openssl/bn.rs.html#262-264">Source</a><h4 class="code-header">pub fn <a href="#method.lshift1" class="fn">lshift1</a>(&amp;mut self, a: &amp;<a class="struct" href="struct.BigNumRef.html" title="struct openssl::bn::BigNumRef">BigNumRef</a>) -&gt; <a class="enum" href="...
HTML
if len(p.ElemList) > 2 { // delay error reporting until we know more sExtra = p.ElemList[2] } } // check expression to iterate over var x operand check.expr(&x, rclause.X) // determine key/value types var key, val Type if x.mode != invalid { // Ranging over a type parameter is permitted if it has a ...
Go
http-slowloris.NSE脚本扩展http-slowloris.timelimit参数 攻击时间,默认是30分钟 --script-args 是用来指定参数的 15m就是15分钟 ``` nmap -p 80 --script http-slowloris --script-args http-slowloris.timelimit=15m  192.168.30.39  ``` #### http-slowloris.NSE脚本扩展http-slowloris.runforever参数 这个参数是对目标系统进行一直DoS攻击 --script-args 是用来指定参数的 ```...
Markdown
0 1 4 21.004V7.996A1 1 0 0 1 4.999 7H8zm4.707-4.328L15.536 5.5l-.849.849L12.6 4.262V13.5h-1.2V4.262L9.313 6.349 8.464 5.5l2.829-2.828a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E")}.sns_praise_btn:before{-webkit-mask-image:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewB...
HTML
--> <ul id="pro-top-symbol"> <li class="disable-btn" value="40">A</li> <li class="disable-btn" value="41">B</li> <li class="disable-btn" value="42">C</li> <li class="disable-btn" value="43">D</li> <li class="disable-btn" value="44">E</li> <...
HTML
e; } /** * Set a value to attribute effectiveTime. */ public void setEffectiveTime(net.ihe.gazelle.hl7v3.datatypes.IVLTS effectiveTime) { this.effectiveTime = effectiveTime; } /** * Return subject1. * @return subject1 */ public net.ihe.gazelle.hl7v3.prpain201302UV02.PRPAIN201302UV02MFM...
Java
title="יוטיוב" >ערוץ היוטיוב</a > </li> <li> <span typeof="mw:File" ><span ><img src="//upload.wikimedia.org/wikipedia/commons/thumb/d...
HTML
} setGraphVertexTab(value: Array<Vertex>) { this._graphVertexTab = value; } getGraphEdgeTab(): Array<Edge> { return this._graphVertexEdge; } setGraphEdgeTab(value: Array<Edge>) { this._graphVertexEdge = value; } getNbVertex(): number { return this....
Typescript
linking directly between entries within the same DNA or in * remote DNAs, as identities are treated as tuples of `(DnaHash, EntryHash)`. * * @see ../README.md * @package HDK Graph Helpers * @since 2019-05-16 */ use hdk::prelude::*; use crate::{ RevisionHash, DnaAddressable, RecordAPIResult, re...
Rust
端到端的保护不仅能够绕过地域限制,还能有效防范中间人攻击。企业级VPN通常采用IPSec或SSL协议,而消费级产品则更多使用OpenVPN、WireGuard等开源协议。 </p> <h3>1.2 流量伪装艺术</h3> <p>Shadowsocks和V2Ray代表着新一代智能代理技术。它们通过将流量伪装成正常的HTTPS流量,使得防火墙难以识别和阻断。特别是V2Ray的mKCP协议,甚至可以将数据包伪装成视频通话流量,这种"大隐隐于市"的策略极大提高了突破能力。 </p> <h3>1.3 分布式匿名网络</h3> <p>Tor网络采用洋葱路由技术,数据通过至少三个随机节点进行接力传输,每个节点只能解密部分信息。这种设计...
HTML
.", e); Main.showError(Main.getInstance().getLanguageBundle().getProperty("CouldNotGetNextBehaviourErrorMessage") + "\n" + e.getMessage() + "\n" + Main.getInstance().getLanguageBundle().getProperty("SeeLogForDetails")); dispose(); } setTime(getTim...
Java
), Address("foo2", 123)), Alias("Secondary") to listOf(Address("bar", 456), Address("bar1", 456), Address("bar2", 456)), Alias("Tertiary") to listOf(Address("baz", 789), Address("baz1", 789), Address("baz2", 789)) ) ) println(pprint(p)) } fun ex5() = run { var i = 0 ...
Kotlin
40 40 40s40-17.9 40-40V192H352c-53 0-96-43-96-96zm144-8a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z"],"house-circle-xmark":[640,512,[],"e50b","M320.7 352c8.1-89.7 83.5-160 175.3-160c8.9 0 17.6 .7 26.1 1.9L309.5 7c-6-5-14-7-21-7s-15 1-22 8L10 231.5c-7 7-10 15-10 24c0 18 14 32.1 32 32.1h32v69.7c-.1 .9-.1 1.8-.1 2.8V472c0 22.1 17...
JavaScript
20%), три-четыре физических лица / управленцы и основатели компании (около 20%), Наталья Касперская (около 10%).</p> <p>Экспертная оценка стоимости компании «Лаборатория Касперского» достигает 1,5 млрд долларов.</p> <p>Доходы компании в 2010 году приблизились к 600 млн долларов (к 2009 году рост составил 30-40%). В 20...
HTML
/* * Copyright (c) 2019, 2024, Oracle and/or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, version 2.0, * as published by the Free Software Foundation. * * This program is designed to work with certain software (in...
C
="top">GIL_FORCEINLINE Op&nbsp;</td><td class="memTemplItemRight" valign="bottom"><b>static_transform</b> (const Src &amp;src, Dst &amp;dst, Op op)</td></tr> <tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="g18161a949303722201be29fb24bf7713"></a><!-- doxytag: member="color_base_algorithm.hpp::...
HTML
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR) #pragma warning disable using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters; using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Utilities; using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities; namespace BestHTTP.Se...
C#
" "math/rand" "net" "net/http" "net/url" "os" "os/exec" "sync" "syscall" "time" "github.com/cenkalti/backoff/v4" "github.com/restic/restic/internal/backend" "github.com/restic/restic/internal/backend/limiter" "github.com/restic/restic/internal/backend/location" "github.com/restic/restic/internal/backend/...
Go
T: {{.+}} forced load of {{.+}}lib.a(objc.o) # WHYFORCE-DAG: -force_load forced load of {{.+}}lib.a(bar.o) # WHYFORCE-DAG: -force_load forced load of {{.+}}lib.a(foo.o) # WHYFORCE-DAG: -force_load forced load of {{.+}}lib.a(objc.o) # WHYALL-DAG: -all_load forced load of {{.+}}lib.a(bar.o) # WHYALL-DAG: -all_load forc...
Assembly
{\n let value = dotProd[i] + ${r?"bias[c+i]":`vec4<${a}>(0.0)`};\n ${y.set("batch","r","c + i","d1","value")};\n }\n }`,w=`\n let outputIndices = ${y.offsetToIndices("global_idx")};\n let batch = ${y.indicesGet("outputIndices",0)};\n let d1 = ${y.indicesGet("out...
JavaScript
textureView.layoutParams = textureView_param textureView.surfaceTextureListener = this val switchcamera_param = FrameLayout.LayoutParams(60, 60) switchcamera_param.gravity = Gravity.RIGHT switchcamera_param.setMargins(16, 16, 16, 16) switchCamera.layoutParams = switchcamera_para...
Kotlin
ileStoreModel.create({ activeModal: null, travelers: [ travelerModelModel.create({ firstName: 'Arthur', lastName: 'Abeltinsh', birthDay: '1997-01-20' }), travelerModelModel.create({ firstName: 'David', lastName: 'Mirov', birthDay: '2003-04-20' }) ] }) import * ...
Typescript
ments"); ::test(intgenerator(), mb, times, blockFactor); } else { sysinfo().printinfo("Item type", "64-bit integers"); ::test(segmentgenerator(), mb, times, blockFactor); } return EXIT_SUCCESS; } // -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*- // vi:set ts=4 sts=4 sw=4 noet...
C++
depend on the value of the [[InDST]] field of _tm_ if _f_ is *"short"*, *"long"*, *"shortOffset"*, or *"longOffset"*. If the implementation does not have such a localized representation of _f_, then use the String value of _v_ itself. 1. Append the Record { [[Type]]: _p_, [[Value]]: _fv_ } to _result_. ...
HTML
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or // implied. // See the License for the specific language governing permissions and // limitations under the License. package oam import ( "context" "fabricflow/ffctl/fflib" fibcapi "fabricflow/fibc/api" "github.com/spf13/cobra" ) type AuditCmd ...
Go
sorShape::PointingHandCursor)); connect(checkHistoryTitle, &QCheckBox::clicked, this, [=](bool checked) { QLayout *charts = topLevelWidget()->findChild<QWidget*>("charts")->layout(); for (int i = 0; i < charts->count(); ++i) { charts->itemAt(i)->widget()->setVisible(! checked); ...
C++
:10px;padding:0.71429rem}@media only screen and (max-width: 480px){ul.messagelist li{margin-left:10px;margin-left:0.71429rem;margin-right:10px;margin-right:0.71429rem}}ul.messagelist li.success{background:#2d9fd8;color:#fff}ul.messagelist li.warning,ul.messagelist li.error{background:#e75e40;color:#fff}ul.messagelist l...
CSS
可频繁变车道,一次变更一条道。 【技巧 2】解析:从最左侧车道驶离高速,不得连续变更车道,只能一次变更 一条车道。 【讲解 1】本题主要考察高速公路驾驶要求。变更车道,每次只能变更一条车 道,变更之后需行驶一段距离,再变道,不可以连续变更车道。题目问正确 的,因此选择“每次变更一条车道,直到最右侧车道”。 【讲解 2】相关法规参考:GA/T1773.2-2021《机动车驾驶人安全文明操作规范 第 2 部分:小型汽车驾驶》,9.3 变更车道,9.3.1 操作方法:变更车道按以 下步骤操作:a)变更车道前开启转向灯持续 3s 以上;b)观察变道方向车外 后视镜并观察后视镜盲区,目标车道后方有车辆的,从车外后视镜能够看到后 方车辆...
Markdown
{ if(this.PacketReceived != null){ this.PacketReceived(this,e); } } #endregion /// <summary> /// This event is raised when unexpected error happens. /// </summary> public event ErrorEventHandler Error = null; ...
C#
, T17, T18, T19, T20, R>, nondeterministic: Boolean = false, ): NamedUserDefinedFunction20<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, R> = udf(func.name, func, nondeterministic) /** * Creates a UDF ([NamedUserDefinedFunction20]) from a function reference. * For exa...
Kotlin
ies.html#getUtxoSetWithCurrency" class="link">Source</a> <a href="#v:getUtxoSetWithCurrency" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:getTxFromTxIdBlockfrost" class="def">getTxFromTxIdBlockfrost</a> :: <a href="file:///nix/store/i0ifl0w5bz80h2i96az1vvw2q1aqbkkj-blockfrost-client-lib-bloc...
HTML
总统选举可能会对全球政治局势产生什么影响?| |自然科学|请解释相对论是如何改变人类对时间和空间的理解的。| |社交媒体|推特与微信这两个社交媒体平台之间有哪些显著的区别?| |历史事件|请详细介绍《共产党宣言》对现代社会的影响。| |文学作品|请分析一下哈珀·李的小说《杀死一只知更鸟》中的主题。| |金融市场|请讨论近期比特币价格剧烈波动的原因以及其对全球金融市场的影响。| |人工智能|深度学习和机器学习有什么区别?它们在人工智能领域的应用有哪些不同?| |电影评论|请谈谈《阿凡达》这部电影的制作特点和成功之处。| |游戏评测|你认为《塞尔达传说:荒野之息》这款游戏有哪些值得玩家称赞的方面?| | 汽车保养 | 如何清洗汽车座椅?...
Markdown
.FieldDescriptor) protoreflect.Value { switch descriptor.FullName() { case "did.v1.EventDIDUpdated.did": value := x.Did return protoreflect.ValueOfString(value) case "did.v1.EventDIDUpdated.updater": value := x.Updater return protoreflect.ValueOfString(value) case "did.v1.EventDIDUpdated.fields_updated": ...
Go
/* $OpenBSD: parse_args.c,v 1.4 1997/04/22 16:01:20 gvf Exp $ */ /*- * Copyright (c) 1995 Theo de Raadt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above...
C
/* { dg-do compile } */ /* { dg-options "-O3" } */ #pragma GCC target "+nosve" typedef int __attribute__ ((mode (SI))) int32_t; typedef int __attribute__ ((mode (DI))) int64_t; typedef unsigned __attribute__ ((mode (SI))) size_t; typedef unsigned __attribute__ ((mode (SI))) uint32_t; typedef unsigned __attribute__ ((...
C
hadow(none); } .bui-combox-input:focus{ border:none; outline: none; .box-shadow(none); } } .bui-tag-follow{ .bui-simple-list{ float: left; } .bui-combox-input{ float: left; margin-top: 4px; width: 50px; } } .bui-simple-list-focused{ outline: none; } .bui-grid-table{ ...
CSS
1c-.23.03-.45.1-.64.2a1.17 1.17 0 0 0-.47.38c-.13.17-.18.26-.18.52 0 .5.17.8.5.98.32.2.74.3 1.3.3zM84.1 4.8c.72 0 1.3.08 1.8.26.48.17.87.42 1.15.73.3.3.5.72.6 1.17.14.45.2.94.2 1.47v5.48a25.24 25.24 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9...
CSS
]]> Text=" A variable"{{$}} //CHECK: {{^}}[[Blue]]| |-[[RESET]][[GREEN]]FieldDecl[[RESET]][[Yellow]] 0x{{[0-9a-fA-F]*}}[[RESET]] <[[Yellow]]line:24:3[[RESET]], [[Yellow]]col:7[[RESET]]> [[Yellow]]col:7[[RESET]][[CYAN]] var2[[RESET]] [[Green]]'int'[[RESET]]{{$}} //CHECK: {{^}}[[Blue]]| | `-[[RESET]][[Blue]]FullComment[[...
C++
asticsearchClient; import co.elastic.clients.elasticsearch._types.InlineScript; import co.elastic.clients.elasticsearch._types.Script; import co.elastic.clients.elasticsearch._types.aggregations.*; import co.elastic.clients.elasticsearch._types.mapping.RuntimeField; import co.elastic.clients.elasticsearch._types.query_...
Java
interval: Option<u16>, pub is_admin: bool, pub is_disabled: bool, pub is_redeemed: bool, } #[derive(Debug, Clone, Deserialize, Serialize, PartialEq)] pub struct Peer { pub id: i64, #[serde(flatten)] pub contents: PeerContents, } impl Deref for Peer { type Target = PeerContents; fn de...
Rust
} fun LocalDateTime.toReadableDuration(endAt: LocalDateTime = LocalDateTime.now()): String { val totalTime = endAt.toEpochMillis() - this.toEpochMillis() val totalSeconds = totalTime / 1000 val seconds = totalSeconds % 60 val minutes = totalSeconds / 60 % 60 val hours = totalSeconds / 3600...
Kotlin
/// This has the nice benefit of getting our automatic rewind /// capability from the point and the grammar logic can stay clean. pub(crate) struct TokenPoint<'s, T: 's> { pub offset: usize, pub sub_offset: Option<u8>, pub s: &'s [T], } impl<'s, T: 's> fmt::Debug for TokenPoint<'s, T> { fn fmt(&self, f...
Rust
await?; let f = async move { let sleep = rand::thread_rng().gen_range(0, 25); time::sleep(Duration::from_millis(sleep)).await; let (len, uri) = gen_uri(&authority); let req = Request::get(&uri[..]) .header("Content-Length", len) ....
Rust
this.PrimaryFormat, ArrayEquals); // Complex Types this.TestWriteRead(new object[0], this.PrimaryFormat, ArrayEquals); this.TestWriteRead(new Type[0], this.PrimaryFormat, ArrayEquals); this.TestWriteRead(new string[0], this.PrimaryFormat, ArrayEquals); this.TestWriteRead(new GameObject[0], this.Prim...
C#
tra.push('<span title="' + "我们有此证书的私钥。" + '">' + "私钥" + '</span>'); } x += '<div style=margin:4px;cursor:pointer>'; x += '<img src=images-commander/cert' + ((certificate['privateKey'])?'2':'1') + '.png style=vertical-align:text-top;float:left;background-color:white;height:28px he...
HTML
ionTo adds replication of this buffered pipe to the provided writers. // // Panics if this BufferedPipe is already started. func (p *BufferedPipe) AddReplicationTo(writers ...io.Writer) { p.panicIfStarted("cannot add further replication") for _, writer := range writers { p.BufferReader = io.TeeReader(p.BufferReader...
Go
: italic; } /* END Extrabold Italic */ /* ------------- Head Buttons ------------- .head-button-1 or .head-button-2 */ .head-button-1, .head-button-2 { position: relative; padding: 10px; border-radius: 5px; font-weight: bold; display: flex; align-items: baseline; cursor: pointer; margin-right: 10px;...
CSS
New(20)}}, wantBSample: []market.Kline{{C: dec.New(30)}, {C: dec.New(40)}}, }, { name: "no split = same samples in A & B", giveSample: []market.Kline{{C: dec.New(10)}, {C: dec.New(20)}, {C: dec.New(30)}}, giveSplitPct: 0, wantASample: []market.Kline{{C: dec.New(10)}, {C: dec.New(20)}, {C:...
Go
networkHttpClient ?: network.client .newBuilder() .maybeInjectEHLogger() .build() @Deprecated("The regular client handles Cloudflare by default") override val cloudflareClient: OkHttpClient get() = delegate?.networkHttp...
Kotlin
_party) <audio id="audio" title="29 | 如何使用Medooze 实现多方视频会议?" controls="" preload="none"><source id="mp3" src="https://static001.geekbang.org/resource/audio/02/5a/0270e43cbb16491a8119394771eb4b5a.mp3"></audio> 前面我们通过两篇文章详细介绍了 Medooze 的实现逻辑,我相信你现在已经对 Medooze 有了非常深刻的认知。通过对Medooze实现原理和架构的了解,我们可以知道Medooze支持的功能非常多,如录制回放、推...
Markdown
""" @author: Khera """ import time from binance.client import Client import csv import pandas as pd import numpy as np def emaPoints(data, dataPoints): ema1 = [] for i in range(len(data)): ema = 0 if i > 0: prevEma = ema1[i-1] multiplyer = 2/(dataPoints+1) ...
Python
ve.l \2,a0 fp_op #12 ENDM fp_int MACRO fp_op #13 ENDM int_fp MACRO fp_op #14 ENDM fp_eq MACRO fp_op #15 ENDM fp_ne MACRO fp_op #16 ENDM fp_gt MACRO fp_op #17 ENDM fp_ge MACRO fp_op #18 ENDM fp_lt MACRO fp_op #19 ENDM fp_le MACRO fp_op #20 ENDM fp_arcsin MACRO fp_op #21 ENDM fp_arccos MAC...
Assembly
> $_setField(6, value); @$pb.TagNumber(6) $core.bool hasBadge() => $_has(5); @$pb.TagNumber(6) void clearBadge() => $_clearField(6); @$pb.TagNumber(6) VideoBadge ensureBadge() => $_ensure(5); } /// 付费课程系列卡片数据 class CardCurrSeason extends $pb.GeneratedMessage { factory CardCurrSeason({ $core.String? t...
Dart
match &self { ZcashPrivateKey::<N>::P2PKH(p2pkh) => write!(f, "{}", p2pkh.to_string()), ZcashPrivateKey::<N>::Sprout(sprout) => write!(f, "{}", sprout.to_string()), ZcashPrivateKey::<N>::Sapling(sapling) => write!(f, "{}", sapling.to_string()), _ => write!(f, ""), ...
Rust
ve.Year = year; postArchive.Month = month; PostArchive<T> postArchive1 = postArchive; ConfiguredTaskAwaitable<int> configuredTaskAwaitable1 = this._repo.GetPostCount(archiveId, categoryId, tagId, year, month).ConfigureAwait(false); postArchive1.TotalPosts = await configuredTaskAwaitable1; postArchive1 = ...
C#
],tmpP2[1]);ctx.closePath();tmpP1[0]-=tmpP0[0];tmpP1[1]-=tmpP0[1];tmpP2[0]-=tmpP0[0];tmpP2[1]-=tmpP0[1];tmpT1[0]-=tmpT0[0];tmpT1[1]-=tmpT0[1];tmpT2[0]-=tmpT0[0];tmpT2[1]-=tmpT0[1];const det=1/(tmpT1[0]*tmpT2[1]-tmpT2[0]*tmpT1[1]);const a=(tmpT2[1]*tmpP1[0]-tmpT1[1]*tmpP2[0])*det;const b=(tmpT2[1]*tmpP1[1]-tmpT1[1]*tmpP...
HTML
_cmp!(Rev<T>; |a, b| b.0.partial_cmp(&a.0).unwrap(); where T: PartialOrd); mod ids; mod node; mod state; #[cfg(test)] mod unit_tests; use crate::{error::client::Result, ports::Client}; use async_std::task; use futures::executor::block_on; use ids::Ids; use node::{Node, NodeId}; use state::State; #[derive(Debug)] pub ...
Rust
Notes</a></p> </div> </div> <div class="row"> <div class="column large-offset-1 large-11 small-offset-0 small-12 divider-mid"></div> </div> <div class="row"> <div class="column large-1 medium-2 small-12"> <figure cla...
HTML
{ AvatarUrl = "https://pbs.twimg.com/profile_images/1108242358485712897/Y5Vsz1wW_400x400.jpg", Name = "Thiago Bertuzzi" }, new Item { AvatarUrl = "https://pbs.twimg.com/profile_images/1108242358485712897/Y5Vsz1wW_400x400.jpg", ...
C#
[16074] = "Test Poción LockCaja (guerrero)", [16075] = "Test Poción LockCaja (pícaro)", [16076] = "Test Poción LockCaja (Paladín)", [16077] = "Test Poción LockCaja (Hunter)", [16078] = "Test Poción LockCaja (Druid)", [16079] = "Test Poción LockCaja (Shaman)", [16080] = "Test Poción LockCaja (Mage/Priest/br...
Lua
expect(pair.first.close(), equals(0)); expect(pair.first.isValid, isFalse); expect(pair.second.isValid, isTrue); expect(System.channelWrite(pair.first, ByteData(1), <Handle>[]), equals(ZX.ERR_BAD_HANDLE)); expect(System.channelWrite(pair.second, ByteData(1), <Handle>[]), equals(ZX.ERR_PE...
Dart
{typ: "error", str: "Err wrong number of arguments for 'hset' command"} } hash := args[0].bulk key := args[1].bulk value := args[2].bulk HSETsMu.Lock() if _, ok := HSETs[hash]; !ok { HSETs[hash] = map[string]string{} } HSETs[hash][key] = value HSETsMu.Unlock() return Value{typ: "string", str: "OK"} } fu...
Go
end EEex_Key_AddReleasedListener(B3Hotkey_KeyReleasedListener) B3Hotkey_InternalCastResref = nil function B3Hotkey_ActionbarListener(config, state) if config == 28 and B3Hotkey_InternalCastResref then local myCopy = B3Hotkey_InternalCastResref B3Hotkey_InternalCastResref = nil -- B3Hotkey_CastOffInternal() cau...
Lua
""); TestScript_DebugLogLine_mCD7990281ACF82696F494CD9678B3280132F8584(__this, _stringLiteralDA39A3EE5E6B4B0D3255BFEF95601890AFD80709, /*hidden argument*/NULL); // for (int i = 0; i < arrayWrapOutData.length; i++) V_77 = 0; goto IL_0e4c; } IL_0e31: { // *(int*)(arrayWrapOutData.startItemOffcet + arrayWrap....
C++
.jp/o/ASIN/4798130842/book042-22/ref=nosim</a></p> </blockquote> <p class="jser-tags"><img alt="✎" src="http://static.tumblr.com/yv3nh5u/2tQmk5mzu/icon-tags.png"/><span class="jser-tag">JavaScript</span> <span class="jser-tag">book</span></p> <p>2013年7月2日発売<br/>独習JavaScript の第二版</p> </div> <div> <blockquote title="Java...
HTML
职列表接口获取 // // 示例值:7345005664477775407 func (builder *RestoreFlowInstancePreHirePathReqBodyBuilder) PreHireId(preHireId string) *RestoreFlowInstancePreHirePathReqBodyBuilder { builder.preHireId = preHireId builder.preHireIdFlag = true return builder } // 是否强制占编;true为强制占编;false为非强制占编 // // 示例值:false func (builder *Re...
Go
!!&nbsp;softhouse-seal GRANDEE的旧作『轟け性紀の大発明』之后,由旧作人物的子孙们所展开的骚动学园工口喜剧!主人公在部活的时间里担任恶趣味的秘密結社(=第二科学部)的头目,使... </div> <a class="btn btn-danger pull-right read-more btn-block" href="https://Beats0.github.io/www.mygalgame.com/juedingxingqidafaming.html" title="详细阅读 绝顶性器大发明">阅读全文 <span class="badge">34</span></a> </section> <!-...
HTML
PersonEntity { return this._person; } public set person(value: PersonEntity) { this._person = value; } } import { Injectable } from '@angular/core'; import { UsuarioService } from '../usuario/usuario.service'; import { Hospital } from '../../models/hospital.model'; import { URL_SERVICIOS } from '../../c...
Typescript
ymbols is required to // encode the data than nsymbols, all positions are used encoding 0 where required to guarantee // uniqueness in case further data is added to the sequence. The value of digits [4,6] represents // represents n in 2^n, which defines how much randomness flows into the algorithm: 4 -- every value // ...
Go
= (datestring: string) => new Date(datestring).getTime(); /** * Converts iso date string to period datetime attribute of html <time> tag * @param date1 - iso date string: YYYY-MM-DDTHH:mm:ss.sssZ * @param date2 - iso date string: YYYY-MM-DDTHH:mm:ss.sssZ * @param options - which times should be included, be aware...
Typescript
5fcyhfdm0uZGF0ZVBhbmVsTGFiZWwubGFiZWxzWzBdLmxhYmVsKSldKTpfdm0uX2UoKSxfdm0uX3YoXCIgXCIpLChfdm0uZGF0ZVBhbmVsTGFiZWwgJiYgX3ZtLmN1cnJlbnRWaWV3ID09PSAnZGF0ZScpP1tfdm0uX3YoX3ZtLl9zKF92bS5kYXRlUGFuZWxMYWJlbC5zZXBhcmF0b3IpKV06X3ZtLl9lKCksX3ZtLl92KFwiIFwiKSwoX3ZtLmRhdGVQYW5lbExhYmVsKT9fYygnc3Bhbicse2RpcmVjdGl2ZXM6W3tuYW1lOlwic2...
JavaScript
(windowId()); } return jumpOk; } else if (call.method == kWindowEventActiveDisplaySession) { final args = jsonDecode(call.arguments); final id = args['id']; final display = args['display']; final jumpOk = tabController.jumpToByKeyAndDisplay(id, display, isCamera: true);...
Dart
port.codePoint, ), ["бухучет"]: LessonModel._( AppLocalizations.of(ctx).accounting, TimetableIcons.accounting.codePoint, ), ["анализ", "бухгалтер"]: LessonModel._( AppLocalizations.of(ctx).accountingAnalysis, Timetab...
Dart
# -*- coding: utf-8 -*- from django.contrib import admin from article.models import * @admin.register(OwnerMessage) class OwnerMessageAdmin(admin.ModelAdmin): list_display = ('id', 'summary', 'created_at') list_per_page = 10 class Media: css = { 'all': ('/static/css/manager.css',) ...
Python
)) { // array tree for (var index = 0; index < tree.length; index++) { var node = tree[index]; stack.push({ value: node }); } } else if (Object.prototype.toString.call(tree) === '[object Object]') { // object tree for (var key in tree) { if (Object.protot...
JavaScript