content
stringlengths
2
6.21k
label
stringclasses
16 values
bat’ What does r1.bat contain? @echo off :loop powershell -executionpolicy bypass -windowstyle hidden -f c:tmpr.ps1 timeout /t 10 goto loop ``` 虽不优雅,但是有效。一旦丢失了连接,等待十秒钟就会重新回连。 我们当然可以加密混淆所有的.ps1脚本,但我们就是想给你展示它的原理。 <br> **结论** 这就是我们的工作,并没有发明什么新的东西,但是使用Windows内置的功能和一些脚本,我们做了件大事。有时候我们并不需要什么魔法一样的工具,只需要K.I.S.S.原则。 总之,聪明的...
Markdown
E GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAG...
Assembly
this method is now totally in the wrong class! kai, jul'19 if(args.length==0){ args = new String[]{TEST_CONFIG}; } /* Start with a known config file (with population, network, and scoring parameteres specified) and just remove the road pricing file. */ Config config = ConfigUtils.loadConfig(args[0], RoadPric...
Java
from torchmetrics import Metric import torch import numpy as np import sklearn.metrics class CrossEntropyLossMetric(Metric): """ Wrapper around the torch.nn.CrossEntropyLoss for use with torchmetrics. """ def __init__(self): super().__init__() self.add_state("summed_loss", default=...
Python
ss << "camera_" << i << "line4"; visu.addLine (p1, p5,ss.str ()); ss.str (""); ss << "camera_" << i << "line5"; visu.addLine (p2, p5,ss.str ()); ss.str (""); ss << "camera_" << i << "line6"; visu.addLine (p5, p4,ss.str ()); ss.str (""); ss << "camera_" << i << "line7"; visu.a...
C++
/** Border color for inputs on focus $input-border-focus: #66afe9 !default; //** Placeholder text color $input-color-placeholder: #999 !default; //** Default `.form-control` height $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default; //** Large `.for...
CSS
data blob found", ))?; let comment = splitn.next().unwrap_or("").trim().to_string(); Ok(SshKey { pub_blob: base64::decode(data_encoded.trim()) .map_err(|e| io::Error::new(io::ErrorKind::Other, e))?, priv_file: priv_blob, unlocked_key: None, ...
Rust
Display: User Data nyse_equities_binarygateway_pillar_v5_8.user_data.display = function(value) -- Check if field has value if value == nil or value == '' then return "User Data: No Value" end return "User Data: "..value end -- Dissect: User Data nyse_equities_binarygateway_pillar_v5_8.user_data.dissect =...
Lua
glabel func_808C3224 /* 02094 808C3224 27BDFFD8 */ addiu $sp, $sp, 0xFFD8 ## $sp = FFFFFFD8 /* 02098 808C3228 AFBF0024 */ sw $ra, 0x0024($sp) /* 0209C 808C322C AFB00020 */ sw $s0, 0x0020($sp) /* 020A0 808C3230 AFA5002C */ sw $a1, 0x002C($sp) /* 020A4 808C3...
Assembly
/*************************************************************************** * * Copyright (c) 2013 Baidu, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * ...
C
} else if (H > PI43) { G = (1 - S) * I; double c1 = 3 * I - G; double c2 = SQRT3 * (G - I) * Math.tan(H - PI23); B = (c1 + c2) / 2; R = (c1 - c2) / 2; ...
Java
this type of model\n"; std::cout << "AOECV metric will be used.\n"; return SGTELIB::METRIC_AOECV; // Metric that have a "single obj" equivalent case SGTELIB::METRIC_RMSE : return SGTELIB::METRIC_ARMSE; case SGTELIB::METRIC_RMSECV : return SGTELIB::METRIC_ARMSECV; case SGTELI...
C++
{R}^{1 \times q}$은 출력 계층의 편향 매개변수입니다.분류 문제인 경우 $\text{softmax}(\mathbf{O})$를 사용하여 출력 범주의 확률 분포를 계산할 수 있습니다. 이는 이전에 :numref:`sec_sequence`에서 해결한 회귀 문제와 완전히 유사하므로 세부 사항을 생략합니다.특징-레이블 쌍을 무작위로 선택하고 자동 미분 및 확률 적 경사 하강을 통해 네트워크의 매개 변수를 학습 할 수 있다고 말하면 충분합니다. ## 은닉 스테이트를 갖는 순환 신경망 :label:`subsec_rnn_w_hidden_states` 숨겨진 상...
Markdown
Data[2]; } function addFlag(bool[2] flag) public returns (uint) { return m_pairsOfFlags.push(flag); } function createMemoryArray(uint size) public pure returns (bytes) { // 使用 `new` 创建动态 memory 数组: uint[2][] memory arrayOfPairs = new uint[2][](size); // 创建一个动态字节数组: ...
Markdown
yolo predict model=path/to/MODEL_NAME_full_integer_quant_edgetpu.tflite source=path/to/source.png # Load an official model or custom model ``` Find comprehensive information on the [Predict](../modes/predict.md) page for full prediction mode details. !!! note "Inference with multiple Edge TPUs" ...
Markdown
, CompletionOptions: cobra.CompletionOptions{ DisableDefaultCmd: false, }, } package ante_test import ( "math" "testing" "github.com/celestiaorg/celestia-app/v6/app" "github.com/celestiaorg/celestia-app/v6/app/encoding" "github.com/celestiaorg/celestia-app/v6/pkg/appconsts" "github.com/celestiaorg/celestia-...
Go
�%) local tDataPN = Char.GetData(_PlayerIndex, 48) local tRegistNumber = Char.GetData(_PlayerIndex, 49) local tName = Char.GetData(_PlayerIndex, %_%) local tSql = "delete from lua_guildmember where GuildID=" .. _GuildID .. " and CdKey='" .. tCdKey .. "' and RegistNumber=" .. tRegistNumber .. " and DataPlaceNumber="...
Lua
,RANDOM_FAC BRA.S .NEXT_KEY_TEST5 .UP3 ADDQ.W #5,RANDOM_FAC CMP.W #10000,RANDOM_FAC BNE.S .NEXT_KEY_TEST5 MOVE.W #0,RANDOM_FAC .NEXT_KEY_TEST5: CMP.B #$44,D0 F10 BEQ QUIT BRA .MAIN_LOOP REDRAW_TEXT: DC.W 0 CREATION_LIST: DC.B " ISLANDS" DC.B " CANYON" DC.B " BLANK" DC.B "DEEP VAL" DC.B "TRENCH " ...
Assembly
a_l) $$,保持其他所有的项不变。首先,我们从$$ q(\theta) $$中移除项$$ \tilde{f}_j(\theta_j) $$,可得 $$ q^{\\j}(\theta) \propto \prod\limits_{i \neq j}\prod\limits_k\tilde{f}_{ik}(\theta_k) \tag{10.238} $$ 然后乘以精确因子$$ f_j(\theta_j) $$。为了确定优化项$$ \tilde{f}_{jl}(\theta_l) $$,我们只需考虑对$$ \theta_l $$的函数依赖,因此我们只需寻找 $$ q^{\\j}(\theta)f_j...
Markdown
'data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z" fill="hsla(32, 100%, 50%, 1)" /></svg>') no-repeat center center; background-size: 60% 60%; } [da...
CSS
public void calculateFirstLastApplicable(){ for (int it = 0; it<numTaxa; it++) calculateFirstLastApplicable(it); } /*-----------------------------------------------------------*/ /**Adds num characters after position "starting". If "starting" = -1, then inserts at start. If "starting" > number of characters...
Java
-24-24l0-13.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1l-58.3 0c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"],"plane-departure":[640,512,[128747],"f5b0","M381 114.9L186.1 41.8c-16.7-6.2-35.2-...
JavaScript
var y = (pt != null) ? pt.y : Math.round(b + (t - b) / 2); if (!mxUtils.contains(target, x, y) && !mxUtils.contains(source, x, y)) { result.push(new mxPoint(x, y)); } if (pt != null && pt.x >= target.x && pt.x <= target.x + target.width) { x = pt.x; } else ...
JavaScript
{\n font-family: Interstate-Light;\n font-style: normal;\n font-weight: normal;\n src: url(" + escape(__webpack_require__("../node_modules/trendmicro-ui/dist/fonts/Interstate-Light-webfont.eot")) + ");\n src: url(" + escape(__webpack_require__("../node_modules/trendmicro-ui/dist/fonts/Interstate-Light-webfont.eot...
JavaScript
1.14,6.09 2.27,12.17 3.41,18.26 8.85,-1.42 17.79,-2.25 26.51,-4.41 16.39,-3.45 33.03,-6.46 49.33,-9.87 2.48,-3.07 8.03,-1.69 8.97,-6.19 0.64,-2.36 4.86,-3.99 4.33,-5.9 -2.3,-1.89 -5.94,-2.77 -6.39,-6.13 -3.14,1.09 -4.42,-3.94 -3.12,-5.32 3.86,-1.1 -0.49,-3.68 0.55,-5.96 2.52,-1.88 1.12,-5.15 2.81,-7.07 3.87,-2.7 -2.98...
JavaScript
} catch (recoveryError) { logDebug('数据库恢复也失败: $recoveryError'); } rethrow; } } // 抽取数据库初始化逻辑到单独方法,便于复用 Future<Database> _initDatabase(String path) async { return await openDatabase( path, version: 18, // 版本号升级至18,更新默认标签图标为emoji onCreate: (db, version) async { ...
Dart
Mvni(v28.V2S(), 0xaa, MSL, 8); __ Mvni(v29.V2S(), 0x55, MSL, 16); __ Mvni(v30.V4S(), 0xff, MSL, 8); __ Mvni(v31.V4S(), 0x00, MSL, 16); END(); if (CAN_RUN()) { RUN(); ASSERT_EQUAL_128(0x0, 0xffffffffffffffff, q16); ASSERT_EQUAL_128(0x0, 0x00ff00ff00ff00ff, q17); ASSERT_EQUAL_128(0xfffffffff...
C++
model_name = "os_main.py" import sys def main(osdir,hmi,key): os_dir= osdir print(f"<osmain> 信息 EaseMCUOS启动 位置{os_dir}") hmi.tx("page sysload") hmi.tx(f'bootlog.txt="EaseMCUOS启动 位置{os_dir}"') print(f"<osmain> 信息 加载系统内核oscore") sys.path.append(f"{os_dir}/syscore") oscoreapi = __import__("sy...
Python
Value(context.local()).FromJust()); } } //static const char* last_event_message; //static int last_event_status; //void StoringEventLoggerCallback(const char* message, int status) { // last_event_message = message; // last_event_status = status; //} // // //TEST(EventLogging) { // v8::Isolate* isolate = CcTe...
C++
nv.ParseFloat(fields[1], 64) y, _ := strconv.ParseFloat(fields[2], 64) z, _ := strconv.ParseFloat(fields[3], 64) vertices = append(vertices, OBJVertex{x, y, z}) } case "mtllib": if len(fields) > 1 { mtlLib = fields[1] } case "usemtl": if len(fields) > 1 { currentMaterial = fields[1] ...
Go
using EmmyLua.LanguageServer.Framework.Protocol.Capabilities.Client.ClientCapabilities; using EmmyLua.LanguageServer.Framework.Protocol.Capabilities.Server; using EmmyLua.LanguageServer.Framework.Protocol.Message.Reference; using EmmyLua.LanguageServer.Framework.Server.Handler; using EmmyLua.LanguageServer.Server; usi...
C#
(self.data & 0x000000FF) as u8 } /// Get the alpha value pub fn a(&self) -> u8 { ((self.data & 0xFF000000) >> 24) as u8 } /// Interpolate between two colors pub fn interpolate(start_color: Color, end_color: Color, scale: f64) -> Color { let r = Color::interp(start_color....
Rust
serMarshal(param0: *const u32, param1: *mut u8, param2: *const super::super::super::UI::WindowsAndMessaging::HACCEL) -> *mut u8; #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_UI_WindowsAndMessaging\"`*"] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] pub fn HACCEL_UserMarshal64(par...
Rust
00, 10, new Random(23)); idg = ColGroupDDC.create(ColIndexFactory.createI(0,1,2,3,4,6,7,8,9,10), id, d, null); cmb = new CompressedMatrixBlock(100, 11); cmb.allocateColGroup(idg); mb = CompressedMatrixBlock.getUncompressed(cmb); genTests(tests, mb, cmb, "Identity2"); id = IdentityDictionary.create(10...
Java
es(t *testing.T) { t.Parallel() // This test will time out if the user has commit signing enabled. if _, gpgTTYFound := os.LookupEnv("GPG_TTY"); gpgTTYFound { t.Skip("GPG_TTY is set, skipping test to avoid hanging") } t.Run("MissingArg", func(t *testing.T) { t.Parallel() inv, _ := clitest.New(t, "dotfiles") ...
Go
index="0" - see the code. */ export function addControlsCSSClassesAndARIAToTree(tree: HTMLElement) { for (const li of tree.querySelectorAll('li')) { const hasChildren = li.children.length !== 0 // does node have any tree children? // add "iw-tree__node--inner/leaf" class li.className = (hasChildren) ? ...
Typescript
()).await } } #[derive(Debug, Parser)] pub struct Logout { #[clap(long, short = 's')] /// 连接方式 host: Option<NetState>, } #[async_trait] impl TUNetCommand for Logout { async fn run(&self) -> Result<()> { let client = create_http_client()?; let cred = read_username()?; let c ...
Rust
assert!(t.try_push_char('я').is_err()); assert!(t.try_push_char('\u{a66e}').is_err()); assert!(t.try_push_char('\u{1f4a9}').is_err()); assert_eq!(b"x\0\xa0", t.as_byte_slice()); } #[test] fn format() { assert_eq!("", &*format_tendril!("")); assert_eq!("two and...
Rust
es/su-zhou-gong-ye-zhi-ye-ji-zhu-xue-yuan.md) [苏州工学院 (已归档)](universities/su-zhou-gong-xue-yuan.md) [苏州工艺美术职业技术学院 (已归档)](universities/su-zhou-gong-yi-mei-zhu-zhi-ye-ji-zhu-xue-yuan.md) [苏州市吴中技师学院 (已归档)](universities/su-zhou-shi-wu-zhong-ji-shi-xue-yuan.md) [苏州市职业大学 (已归档)](universities/su-zhou-shi-zhi-ye-da-xue.md) ...
Markdown
8rem !important; } .mr-wd-n16, .mx-wd-n16 { margin-right: -8rem !important; } .mb-wd-n16, .my-wd-n16 { margin-bottom: -8rem !important; } .ml-wd-n16, .mx-wd-n16 { margin-left: -8rem !important; } .m-wd-n17 { margin: -9rem !important; } ...
CSS
a) / 2.0; double asum = 0; double bsum = balf.apply(a + interval); double est1 = multiplier * (endsum + 2 * asum + 4 * bsum); double est0 = 2 * est1; while (n < nLimit && (Math.abs(est1) > 0 && Math.abs((est1 - est0) / est1) > tolerance)) { n *= 2; multi...
Java
USA * or visit www.oracle.com if you need additional information or have any * questions. */ package org.netbeans.jemmy; /** * * Exception can be throwht as a result of attempt to produce a mouse pressing * when mouse is not over the java component. * * @author Alexandre Iline (alexandre.iline@oracle.com) */...
Java
, nohup] categories: komutlar toc: true --- Normal şartlarda kabuk üzerinden çalıştırılmış olan tüm araçlar kabuk kapatılırken sonlandırılır. Kapatma işlemi de çalışmakta olan olan işlemlere HUP sinyalinin gönderilmesi ile gerçekleştirilir. Eğer bizler kabuk kapanırken araçlarımız çalışmaya devam etsin istersek `no...
Markdown
Exception','System.NullReferenceException', 'System.FormatException','System.NullReferenceException', 'System.FormatException') BETWEEN 2016-01-01 00:00:00 AND 2016-02-01 00:00:00 LIMIT 100"; PerfTest(tokenizer, query, "Slow tokenizer + large query"); } public void PerfTestWithFastTokenize...
C#
endAngle = 360 jutRec = rl.Rectangle{pos.X - jut, pos.Y - pinRadius, jut, pinRadius * 2} pos.X -= jut } rl.DrawRectangleRec(jutRec, color) rl.DrawCircleSector(pos, pinRadius, startAngle, endAngle, 36, color) } func drawNode(n *Node) { LoadThemeForNode(n) nodeRect := n.Rect() bgRect := nodeRect if n.Snappe...
Go
) local Bhtml, Ghtml, Rhtml = ASScolor:match( "(%x%x)(%x%x)(%x%x)" ) return format( "#%s%s%s", Rhtml, Ghtml, Bhtml ) end, matrix = function( Color_or_Table, ... ) local Colorx = Color_or_Table local Matrixes = { ... } if #Matrixes == 0 then Matrixes[ 1 ] = { 1, 0, 0, 0, 1, 0...
Lua
xpectedPath string expectedResponse *GetAkamaiBotCategoryListResponse withError func(*testing.T, error) }{ "200 OK": { responseStatus: http.StatusOK, responseBody: ` { "categories": [ {"categoryId":"b85e3eaa-d334-466d-857e-33308ce416be", "categoryName":"Test Name 1", "testKey":"testValue1"}, ...
Go
e.presentation.isEnabledAndVisible = enabled } override fun getActionUpdateThread(): ActionUpdateThread = ActionUpdateThread.BGT override fun actionPerformed(e: AnActionEvent) { val project: Project = e.project ?: return val dtoPsiClasses = e.getData(CommonDataKeys.VIRTUAL_FILE_A...
Kotlin
-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-select .el-input .el-select__caret.is-show-close:hover{color:#909399}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#E4E...
CSS
"english_name" internal const val OVERVIEW = "overview" internal const val POPULARITY = "popularity" internal const val RELEASE_DATE = "release_date" internal const val FIRST_AIR_DATE = "first_air_date" internal const val LAST_AIR_DATE = "last_air_date" internal const va...
Kotlin
0 */ sw $zero, %lo(D_800E9AA0)($at) /* 11A150 80172CE0 8C680000 */ lw $t0, ($v1) /* 11A154 80172CE4 3C01800F */ lui $at, %hi(D_800E9C60) /* 11A158 80172CE8 000A50C0 */ sll $t2, $t2, 3 /* 11A15C 80172CEC 00084880 */ sll $t1, $t0, 2 /* 11A160 80172CF0 00290821 */ addu $at, $at, $t1 /* 11A164 80172CF4 AC259C60...
Assembly
-- Set <space> as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are required (otherwise wrong leader will be used) vim.g.mapleader = " " vim.g.maplocalleader = " " -- Install package manager -- https://github.com/folke/lazy.nvim -- `:help lazy.nvim.txt` for more info local lazypath...
Lua
be a .bx file, found: " + schedulerPath ); } // Prep the execution Path targetSchedulerPath = Paths.get( schedulerPath ).normalize().toAbsolutePath(); IBoxContext runtimeContext = runtime.getRuntimeContext(); IBoxContext scriptingContext = new ScriptingRequestBoxContext( runtimeContext, targetSch...
Java
// This code was written by Mike Gold . This code may be used only for educational purposes. // Any distribution of this code may only be carried out with written consent from the author. // Copyright © 2005 by Microgold Software Inc. using System; using System.Collections.Generic; using System.Drawing; using Sys...
C#
_pb); let edge_location_pb = parse_pb::<EdgeLocationPb>(data_operation_pb.get_locationBlob())?; let edge_kind_pb = edge_location_pb.get_edgeKind(); let edge_kind = EdgeKind::from_proto(edge_kind_pb); let property_map = PropertyMap::from_proto(data_operation_pb.get_props()); graph.insert_overwrite_e...
Rust
compose.foundation) implementation(compose.material3) api(compose.ui) api(compose.animation) implementation(libs.kotlinx.coroutines) } commonTest.dependencies { implementation(kotlin("test")) } val desktopMain by getting { ...
Kotlin
70", "Step One"}, {"/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_6.CustomSkin_Siren_6", "Sure, Why Not?"}, {"/Game/PlayerCharacters/_Customizations/SirenBrawler/Skins/CustomSkin_Siren_3.CustomSkin_Siren_3", "Teal Appeal"}, {"/Game/PatchDLC/Hibiscus/PlayerCharacters/_Customizati...
C#
ssDescriptor renderpassInfo = { .colorAttachmentCount = 1, .colorAttachments = &colorAttachment, .depthStencilAttachment = NULL, }; // acquire a command encoder WGPUCommandEncoder encoder = wgpuDeviceCreateCommandEncoder(g_device, NULL); // execute a render pass, writing commands to encoder WGPU...
C
� 🤗 Transformers 모델을 TensorFlow로 변환하나요? [[how-to-convert-a-transformers-model-to-tensorflow]] 🤗 Transformers에서처럼 사용할 수 있는 여러 가지 프레임워크가 있다는 것은 애플리케이션을 설계할 때 그들의 강점을 유연하게 이용할 수 있다는 장점이 있지만, 모델 별로 호환성을 추가해야 한다는 단점 또한 존재한다는 것을 의미합니다. 좋은 소식은 기존 모델에 TensorFlow 호환성을 추가하는 것이 [처음부터 새로운 모델을 추가하는 것](add_new_model)보다도 간단하다는 것입니...
Markdown
d h1.p { font-size: 0.875rem; line-height: 1.71429; } .md .blockquote.h1, .md .blockquote.md-h1, .md h1.blockquote { font-size: 0.875rem; line-height: 1.71429; } .md .th.h1, .md .th.md-h1, .md h1.th { font-size: 0.875rem; line-height: 1.71429; } .md .td.h1, .md .td.md-h1, .md h1.td { font-size: 0.875rem; ...
CSS
// ------------------------------------------------------- // Created by Andrew Witte. // ------------------------------------------------------- using UnityEngine; using System.Collections.Generic; using System.Collections; /// <summary> /// Main Reign delegate class. /// </summary> public class ReignServices : Mon...
C#
" + "YPtRPwupLyQ8MwpVZwV71paMSOot/Z6XtxB2WyRKYOdKH8gKvSqkqWgH6lqRThZS" + "a42aE3zpvs5IEO2fgzBe5BlWd3T2hplQt27pFcwmCTLNrY/ImYKBGoGwj884+XRx" + "dP7x6x7mw5cwBvw+dXsO9Sx+J6c3Nl2CdkfARKuVnRKoL79KG/EM7ufVJ3heZaee" + "EYSU+f18cIJu1No1ppB+s1ARnmwXr5cCbot3d5A05gFn9/ffQ1cnhDg3O6hr...
Java
k(pos, transient) -- set changed flag forceload_blocks_changed = true local blockpos = get_blockpos(pos) local hash = core.hash_node_position(blockpos) local relevant_table, other_table = get_relevant_tables(transient) if relevant_table[hash] == nil then return end if relevant_table[hash] > 1 then relevant_ta...
Lua
rentValue) => { return currentResult + currentValue; }, 0); } const addedNumbers = add1(5, 10, 2, 3.7); console.log(addedNumbers);import type * as mime from './mime'; import type * as parsed from './parsed'; import * as pre from '../common/preiterable/async'; export { ItemInfo } from './parsed'; export type It...
Typescript
ProducerWrapper", Path.Combine(_installPathExtensionsDirectory, "NewRelic.Providers.Wrapper.Kafka.dll") }, { "KafkaSerializerWrapper", Path.Combine(_installPath...
C#
by github.com/MongooseOrion. * * Please make sure using the content of this document in accordance with * the respective OPEN-SOURCE licenses. * * THIS CODE IS PROVIDED BY https://github.com/MongooseOrion. * FILE ENCODER TYPE: UTF-8 * ======================================================================== --> [点...
Markdown
owed := []string{"Read", "Write"} if len(options.AllowedTools) != len(expectedAllowed) { t.Errorf("Expected AllowedTools length = %d, got %d", len(expectedAllowed), len(options.AllowedTools)) } expectedDisallowed := []string{"Bash"} if len(options.DisallowedTools) != len(expectedDisallowed) { t.Errorf("Expecte...
Go
n, linewidth=2) plt.ylabel('Social signals', fontsize=12) plt.xlim([0, times_waveform[-1]]) plt.ylim([0.05, 1.05]) plt.yticks(list(range(0, 2, 1))) plt.legend(loc="upper right", fontsize=12) #################### # 41 phones #################### plt.subplot(313) line_sil, = plt.p...
Python
"></a>[setWillNotDraw](index.md#%5Bandroid.view%2FView%2FsetWillNotDraw%2F%23kotlin.Boolean%2FPointingToDeclaration%2F%5D%2FFunctions%2F900138717)| <a name="android.view/View/setWillNotDraw/#kotlin.Boolean/PointingToDeclaration/"></a>[androidJvm] <br>Content <br>open fun [setWillNotDraw](index.md#%5Bandroid.view%2FVi...
Markdown
odPositive" defs["igImModPositive"][1]["location"] = "imgui_internal:484" defs["igImModPositive"][1]["ov_cimguiname"] = "igImModPositive" defs["igImModPositive"][1]["ret"] = "int" defs["igImModPositive"][1]["signature"] = "(int,int)" defs["igImModPositive"][1]["stname"] = "" defs["igImModPositive"]["(int,int)"] = defs[...
Lua
GL_FONT_GLYPHS_AVAILABLE_NV = 0x9368, GL_FONT_TARGET_UNAVAILABLE_NV = 0x9369, GL_FONT_UNAVAILABLE_NV = 0x936A, GL_FONT_UNINTELLIGIBLE_NV = 0x936B, GL_CONIC_CURVE_TO_NV = 0x1A, GL_RELATIVE_CONIC_CURVE_TO_NV = 0x1B, GL_FONT_NUM_GLYPH_INDICES_BIT_NV = 0x20000000, GL_ST...
Lua
) { for (var key in keys) { var value = map[key]; map.remove(key); map[unescapeName(key)] = value; } } } } return rawResult; */ test('Issue#48', () async { // Sqflite.devSetDebugModeOn(true); // devPrint('issue #48'); ...
Dart
!= inv { return zero(neg) } return inf(neg) } if res.sig[0]|res.sig[1]|res.sig[2] == 0 { return one(neg) } res, trunc = res.epow(int16(l10), trunc) if res.exp > maxUnbiasedExponent+58 { if oNeg != inv { return zero(neg) } return inf(neg) } if oNeg != inv { res, trunc = res.rcp(trunc) ...
Go
ldr r0, [sp, #0xc] add r4, r4, #0x1 cmp r4, r0 add r5, r5, #0x14 blt _0209222C _02092248: add r0, sp, #0x18 bl sub_02092788 ldr r0, [sp, #0x8] add sp, sp, #0x18c ldmia sp!, {r4-r11,lr} bx lr arm_func_start sub_02092260 sub_02092260: ; 0x02092260 stmdb sp!, {r4-r11,lr} sub sp, sp, #0x4 movs r8, r2 mov r...
Assembly
((?:'[^']*'|"[^"]*"|\n|.)*?)[\s\n]*(?:;|$)/g,comment:/\/\*[^]*?\*\//g},y.connect={padding:{children:p,split:o,combine:r},border:{children:p,split:i,combine:t},"border-top":{children:T,split:u,combine:l},"border-right":{children:T,split:u,combine:l},"border-bottom":{children:T,split:u,combine:l},"border-left":{children:...
JavaScript
uster", expectedMessage: "Compatible context kind-test-cluster found, but required namespaces are missing: wds1-system, its1-system", }, { name: "k3d_partial_ready", contextsOutput: "default\nk3d-mycluster\nminikube", contextsError: false, namespaceOutputs: map[string]string{ "k3d-mycl...
Go
L) de la presentación (CSS). En lo posible, también se recomienda separar los contenidos (XHTML) de la programación (JavaScript). Mezclar JavaScript y XHTML complica excesivamente el código fuente de la página, dificulta su mantenimiento y reduce la semántica del documento final producido. Afortunadamente, existe un m...
Markdown
41.4224 86.625 41.2941 86.4991 41.2941 86.3438ZM46.4559 95.6208V96.4688C46.4559 96.6241 46.3276 96.75 46.1691 96.75H45.5956C45.4372 96.75 45.3088 96.6241 45.3088 96.4688V95.6148C44.9041 95.5944 44.5105 95.4559 44.1843 95.2158C44.0445 95.1128 44.0374 94.9075 44.1639 94.789L44.5851 94.3949C44.6844 94.3021 44.8321 94.2979...
CSS
Composer.command( rateLimit({ window: 1000 * 5, limit: 2, keyGenerator: (ctx) => ctx.chat.id, onLimitExceeded: ({ deleteMessage }) => deleteMessage().catch(() => { }) }) ) ) ) bot.use( Composer.mount( 'callback_query', rateLimit({ window: 2000, li...
JavaScript
.removeEvent: controller.view.removeEvent(id, command.args[0]); break; case UICommandType.insertAdjacentNode: int childId = int.parse(command.args[0]); String position = command.args[1]; controller.view.insertAdjacentNode(id, position, childId); ...
Dart
.99%" }, { 18370, "INV_Misc_StoneTablet_04", "=q3=Vigilance Charm", "=ds=Trinket", "6.30%" }, { 18381, "INV_Misc_Eye_01", "=q3=Evil Eye Pendant", "=ds=Neck", "17.78%" }, }; DMWPrinceTortheldrin = { { 18382, "INV_Misc_Cape_14", "=q3=Fluctuating Cloak of", "=ds...
Lua
REMANAGEM"] = { ["maxRange"] = 0, ["minRange"] = 0, ["castTime"] = 2822, ["id"] = { --759, -- [1] 3724, -- [2] --1210, -- [3] --3552, -- [4] --3553, -- [5] --10053, -- [6] --10054, -- [7] --10055, -- [8] --10056, -- [9] 27101, -- [10] 27390, -- [11] 42985, -- ...
Lua
(""); return new IntTrioIterable(bdd, null); } /* * Ary4Rel operations. */ public <T0,T1,T2,T3> void add(T0 val0, T1 val1, T2 val2, T3 val3) { if (bdd == null) throw new RuntimeException(""); int idx0 = doms[0].indexOf(val0); int idx1 = doms[1].ind...
Java
��国,韩国是被中俄朝围在大陆边角的半岛,如果这条航路断了,血糖血氧是真的会飞快下降到危及生命。 所以,这两国对美国的忠诚,必然要以美国能保证这条生命线对日韩开放为前提。 而问题坏就坏在,这条路线上的南海和台湾这两环都在中国家门口。 这可不是并联关系,而是串联关系。 **台湾被收回,日韩固然就要换边站。** **南海被中国拿稳,日韩也要换边站。** 看似我们在一团和气的和周边国家讨论“南海行为准则”,但实际上我们就是在光明正大的要用一些次要利益、地缘政治运作换取周边各国接受我们在南海的主宰权,接受我们的大规模基础建设,接受我们的军事存在。 到时候我们航母战斗群和核潜艇长期在南海巡航训练,我们的战斗机常态化在南海驻扎训练...
Markdown
dicate; import openllet.query.sparqldl.model.ResultBinding; import openllet.shared.tools.Log; /** * <p> * Title: Query Plan that recomputes the _cost of the query in a greedy way. * </p> * <p> * Description: TODO _cache costs - not to recompute them * </p> * <p> * Copyright: Copyright (c) 2007 * </p> * <p> ...
Java
return } if (sceneId == SceneId.SIGNUP) { transition(sceneId) return } // At the moment we do not consider any other start scenes besides SIGNUP and SIGNIN. tryAccessToken( onSuccess = { //webSocket.start() sceneChanger(mainPane, SceneId.BROWSER) mainP...
Kotlin
ité", [84014] = "Pantalon tisseffroi", [84015] = "Garde-jambes de renard fantôme", [84016] = "Jambières de saccageur des vents", [84017] = "Garde-jambes de ligelame", [84018] = "Garde-jambes morsubise", [84019] = "Bottines de graine-mère", [84020] = "Protège-tibias de mouche de sève", [84021] = "Solerets de bois flétri...
Lua
err != nil { sklog.Errorf("Could not retry %s: %s", getTaskStr(t), err) continue } sklog.Infof("Retried %s", getTaskStr(t)) } }() } // Wait for all spawned goroutines to complete wg.Wait() sklog.Infof("Retried %d tasks.", len(tasks)) } } else if *cmd == STDOUT_CMD { ...
Go
}|jj}|s|jdS|d}|r"t j|dz| dred|vrtt| d...
Python
-1.00000322, 4.08900469e-008, 1.00000393, 3.27827877e-007) p16.CanCollide = false p16.Locked = true p16.FormFactor = Enum.FormFactor.Custom p16.Size = Vector3.new(0, 0, 0) p16.BackSurface = Enum.SurfaceType.SmoothNoOutlines p16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines p16.FrontSurface = Enum.SurfaceType.Smooth...
Lua
M4_MASK = 4315, PseudoVLOXEI32_V_M4_M8 = 4316, PseudoVLOXEI32_V_M4_M8_MASK = 4317, PseudoVLOXEI32_V_M8_M2 = 4318, PseudoVLOXEI32_V_M8_M2_MASK = 4319, PseudoVLOXEI32_V_M8_M4 = 4320, PseudoVLOXEI32_V_M8_M4_MASK = 4321, PseudoVLOXEI32_V_M8_M8 = 4322, PseudoVLOXEI32_V_M8_M8_MASK = 4323, PseudoVLOXEI32_V_M...
C++
lengine/home) * [**Java**:_Java体素引擎教程_](https://www.youtube.com/watch?v=QZ4Vk2PkPZk&list=PL80Zqpd23vJfyWQi-8FKDbeO_ZQamLKJL) [视频] #### 构建自己的 `网页浏览器` * [**Rust**:_让我们一起来构建一个浏览器引擎_](https://limpet.net/mbrubeck/2014/08/08/toy-layout-engine-1.html) * [**Python**:_浏览器工程_](https://browser.engineering) #### 构建自己的 `Web 服务器`...
Markdown
gradient.png) repeat-x scroll 0 -20px; color: white; } .Wt-itemview th, .Wt-itemview th .Wt-tv-br { overflow: hidden; } .Wt-itemview .Wt-header .Wt-label { font-weight: bold; text-overflow: ellipsis; overflow: hidden; /* needed for IE only */ white-space: nowrap; height: 100%; } .Wt-itemv...
CSS
ternal.utils.logging.MaxLevelFilter", "level": logging.WARNING, }, "restrict_to_subprocess": { "()": "logging.Filter", "name": subprocess_logger.name, }, "exclude_subprocess": { ...
Python
r structure"] impl crate::Writable for FWPWRITE3 {} #[doc = "Internal. Only to be used through TI provided API."] pub mod fwpwrite3; #[doc = "Internal. Only to be used through TI provided API.\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::...
Rust
dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed. * `endpoint_id` - (Required, ForceNew) The endpoint ID. * `service_id` - (Required, ForceNew) The endpoint service ID. ## Attributes Reference The following attributes are ex...
Markdown
umber; scriptHash?: number; } export function parseIntNoNaN(val: string, defaultVal: number) { const v = parseInt(val); if (isNaN(v)) { return defaultVal; } return v; } export function getDerivationPath( derivationStandard: string, purposeValue: string, coinValue: string, accountValue: string, ...
Typescript
+HDGLQJ7UDFN $FFXUDF\ 'HJUHHV !RUXQDYDLODEOH *URXQG$LU6SHHG 8VH$5,1&% $WWDFKPHQW/'7,) 7\SH9HUVLRQDVDQ H[DPSOHIRUELWVWUXFWXUH 7KLV PLQLPXP GDWD UDWH H[DPSOH DORQJ ZLWK RWKHU QHFHVVDU\ PHVVDJH WUDQVIHU IRU WKH &13&OLQNV\VWHPKDVEHHQLQFRUSRUDWHGLQWKH231(7VLPXODWLRQE\6&:*DQG UHSRUWHGLQ$SSHQGL[.RIWKH&'DWD/LQN0236±7H...
Markdown
TrackSubscribed) proto.Message { return &livekit.SignalResponse{ Message: &livekit.SignalResponse_TrackSubscribed{ TrackSubscribed: trackSubscribed, }, } } func (s *signalling) SignalLeaveRequest(leave *livekit.LeaveRequest) proto.Message { return &livekit.SignalResponse{ Message: &livekit.SignalResponse_L...
Go
profile.getSubNode('CAPTION').html(xui.Date.getText(value,'ymd',xui.getFirstDayOfWeek(p)),false); }); }, getDateFrom:function(){ return this.get(0)._realstart; } }, Initialize:function(){ var self=this, id=xui.UI.$ID, tag=xui...
JavaScript