content
stringlengths
2
6.21k
label
stringclasses
16 values
v41, v42, v43, v44, v45, v46, v47, v48, v49) #define NLOHMANN_JSON_PASTE51(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v5...
C++
hashchange", () => { update(); onChange(router); }); return router; } import {Injectable} from '@angular/core'; import {CityWeather, Gender} from "../weather.interface"; const IDEAL_TEMP_MALE: number = 21; const IDEAL_TEMP_FEMALE: number = 22; const IDEAL_HUMID: number = 50; const TEMP_MULTIPLIER: number...
Typescript
Default section is the manual index section = rtfm.getPage(section || rtfm); var path = section.path + "/" + name; /* addPage(String) */ if (page == null) { page = readTranslated(path) .replace(/\t/g, " "); } /* addPage(String, Object[]/String) */ if (Array.isArray(page) || typeof(page) == "s...
JavaScript
(--y) * 100%)), calc((100% / var(--x) * 12) + var(--offset)) calc((100% + 0.25rem) - (var(--12) / var(--y) * 100%)), calc((100% / var(--x) * 11) + var(--offset)) calc((100% + 0.25rem) - (var(--11) / var(--y) * 100%)), calc((100% / var(--x) * 10) + var(--offset)) calc((100% + 0.25rem) - (var(--10) / var(--y)...
CSS
for multi object tracking in crowded scenes}, shorttitle = {MOT20}, url = {http://arxiv.org/abs/1906.04567}, journal = {arXiv:2003.09003[cs]}, author = {Dendorfer, P. and Rezatofighi, H. and Milan, A. and Shi, J. and Cremers, D. and Reid, I. and Roth, S. and Schindler, K. and Leal-Taix\'{e}, L. }, month = mar,...
Markdown
hỏng lại các đặc điểm (được gọi là thuộc tính) của nhân vật như: Chiều cao, số mạng, điểm số, loại đạn đang sử dụng,.... Nhưng đó mới chỉ là phần bề nổi của nhân vật. Để chúng ta có thể điều khiển được nhân vật thì phải có các hàm chức năng riêng như: Di chuyển, nhảy, bắn đạn, cứu công chúa,.... Đó chính là ý nghĩa của...
Markdown
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Chip specific defines for DA8XX/OMAP L1XX SoC * * Author: Mark A. Greer <mgreer@mvista.com> * * 2007, 2009-2010 (c) MontaVista Software, Inc. */ #ifndef __ASM_ARCH_DAVINCI_DA8XX_H #define __ASM_ARCH_DAVINCI_DA8XX_H #include <linux/dma-mapping.h> #include <linux/pl...
C
from .lingd import LiNGD from .cyclic_var_lingam import CyclicVARLiNGAM __all__ = [ "LiNGD", "CyclicVARLiNGAM", ] __version__ = "1.0.0"
Python
.fetchBalances(accounts); } private getAllAccountTotals(balances: ZKAccountBalanceUSD[]): number { let total = 0; balances.map(balance => { total += balance.totalBalanceUSD; }) return total; } private async fetchAccounts(addresses: string[]): Promise<Account...
Typescript
'), ); } factory UpdateBrokerageContract.deserialize(List<int> bytes) { final decode = TronProtocolBufferImpl.decode(bytes); return UpdateBrokerageContract( ownerAddress: TronAddress.fromBytes(decode.getField(1)), brokerage: decode.getField(2)); } /// Account address @override f...
Dart
-mangled: HandleEvent__9TEndpointFUlP7TAEventT1 */ JT HandleEvent__9TEndpointFUlP7TAEventT1, 01800334 /* C++: TCommTool::HandleReply(unsigned long, unsigned long) MPW-mangled: HandleReply__9TCommToolFUlT1 */ JT HandleReply__9TCommToolFUlT1, 018006c4 /* C++: TCommTool::HandleRequest(TUMsgToken&, unsigned long)...
Assembly
Base(_SEG); \ BaseSS=SegBase(_SEG); \ core.base_val_ds=_SEG; \ goto restart_opcode; // it's the core's job not to decode 0x66-0x67 when compiled for 286 #define DO_PREFIX_ADDR() \ abort(); #define DO_PREFIX_REP(_ZERO) \ if (GETFLAG(IF) && CPU_Cycles <= 0 && !mustCompleteInstruct...
C++
NCY) { pi->play_latency = param.output_latency_ms; } return PJ_SUCCESS; } PJ_DEF(pj_status_t) pjmedia_snd_stream_close(pjmedia_snd_stream *stream) { pj_status_t status; status = pjmedia_aud_stream_destroy(stream->aud_strm); if (status != PJ_SUCCESS) return status; pj_pool_re...
C
cted, err = this_.DatabaseWorker.Exec(sql, []interface{}{tabId}) if err != nil { this_.Logger.Error("CloseTab Error", zap.Error(err)) return } return } // CloseOpenTabs 更新 func (this_ *ToolboxService) CloseOpenTabs(openId int64) (rowsAffected int64, err error) { sql := `DELETE FROM ` + TableToolboxOpenTab + ...
Go
| 0), (c | 0) != (e | 0)) : 0 ) f[d >> 2] = c + (~(((c + -4 - e) | 0) >>> 2) << 2); } else Di(g, (h - i) | 0, j); d = (a + 120) | 0; b = f[d >> 2] | 0; if (!b) { a = f[l >> 2] | 0; a = ((f[(a + 4) >> 2] | 0) - (f[a >> 2] | 0)) >> 2; b = ((a >>> 0) / 3) ...
JavaScript
_C_REINTERPRET(v_uint16x8, ushort, u16) OPENCV_HAL_IMPL_C_REINTERPRET(v_int16x8, short, s16) OPENCV_HAL_IMPL_C_REINTERPRET(v_uint32x4, unsigned, u32) OPENCV_HAL_IMPL_C_REINTERPRET(v_int32x4, int, s32) OPENCV_HAL_IMPL_C_REINTERPRET(v_float32x4, float, f32) OPENCV_HAL_IMPL_C_REINTERPRET(v_float64x2, double, f64) OPENCV_H...
C++
private const val SIG_SATA = 0x00000101uL // IDE val ATA_DEV_ALWAYS_ON: Byte = 0xA0.byte private const val ATA_DEV_LBA = 0x40u private const val ATA_DEV_LBA_MSB = 0x0FuL private const val ATA_DEV_HS = 0x0FuL // Не менять тип /** Число логических голов */...
Kotlin
, 0); int i; for(i = 1; i <= m; i++) { new_node(i, i, DL[head].left, head); DL[i].ch = i, s[i] = 0; } } struct Pt { int x, e; }; int main() { int n, m, x, y, i; while(scanf("%d %d", &n, &m) == 2 && n) { vector<Pt> g[n+1]; Pt tmp; for(i = 0; i < m; i++) { ...
C++
175,0.862 -3.76142,-2.23029 -1.59789,-1.86971 0.48767,-1.21808 1.06699,-0.0594 0.34284,-0.84152 1.21183,-0.43598 -0.36896,-0.71727 0.67383,-2.04973 3.92649,0.98106 0.79812,-0.64106"},"13247":{"name":"Rockdale, GA","path":"m 752.55114,396.22214 0.052,2.10164 -1.85981,3.20236 -1.9321,-0.66112 -1.06668,-1.74288 0.73116,-0...
JavaScript
Setup(component.intensity); shadowSpread.Setup(component.shadowSpread); shadowSamples.Setup(component.samples); indirectIntensity.Setup(component.indirectIntensity); antiAlias.Setup(component.supersample); } public override void Process(Object type, Buil...
C#
* 0063C 80A224FC 844236E0 */ lh $v0, %lo(D_80A236E0)($v0) .L80A22500: /* 00640 80A22500 86180152 */ lh $t8, 0x0152($s0) ## 00000152 /* 00644 80A22504 3C0480A2 */ lui $a0, %hi(D_80A239A8) ## $a0 = 80A20000 /* 00648 80A22508 248439A8 */ addiu $a0, $a0, %lo(D_80A239A8) ## $a0 = 80A23...
Assembly
v-list-item brief="Subtitle" arrow="horizontal"> <div>Title</div> </v-list-item> <v-list-item brief="Subtitle" arrow="horizontal"> <v-icon type="check-circle" slot="thumb" color="#6abf47"></v-icon> <div>Title</div> </v-list-item> </v-list> <v-list> <div slot="header">Customized R...
Markdown
operand. If the left hand operand has type '),a("code",[t._v("String")]),t._v(', then this a "concatenate and assign" operator.')]),t._v(" "),a("blockquote"),t._v(" "),a("p",[t._v("Example: "),a("code",[t._v("c += a")]),t._v(" is roughly the same as "),a("code",[t._v("c = c + a")])]),t._v(" "),a("p",[a("strong",[t._v("...
JavaScript
withId(R.id.data_collection_header)).check(matches(isGone())) } protected suspend fun hasValue(taskData: TaskData?) { viewModel.taskTaskData.test { assertThat(expectMostRecentItem()).isEqualTo(taskData) } } /** Asserts that the task fragment has the given list of buttons in the exact same order. */ prot...
Kotlin
erTextChanged import com.highcapable.kavaref.KavaRef.Companion.resolve import im.mingxi.core.databinding.TextColorBinding import im.mingxi.loader.bridge.XPHelper import im.mingxi.miko.annotation.FunctionHookEntry import im.mingxi.miko.hook.SwitchHook import im.mingxi.miko.ui.dialog.XDialog import im.mingxi.miko.ui.util...
Kotlin
ilter(f) override fun <G, A, B> Kind<ForOption, A>.traverseFilter(AP: Applicative<G>, f: (A) -> Kind<G, Option<B>>): Kind<G, Option<B>> = optionTraverseFilter(AP, f) override fun <A, B> Kind<ForOption, A>.map(f: (A) -> B): Option<B> = fix().map(f) override fun <G, A, B> Kind<ForOption, A>.traverse(AP: ...
Kotlin
_RECT.height() - bounds.height()).toFloat()) } } if (offset != null) { when (layerName) { "head_special_0" -> offset = PointF(offset.x - 3, offset.y - 18) "weapon_special_0" -> offset = PointF(offset.x - 12, offset.y + 4) "weapon_s...
Kotlin
linux/testing/mock_settings.h" #include "flutter/shell/platform/linux/testing/mock_signal_handler.h" #include "flutter/testing/testing.h" #include <gio/gio.h> #define G_SETTINGS_ENABLE_BACKEND #include <gio/gsettingsbackend.h> #include "gmock/gmock.h" #include "gtest/gtest.h" class FlGnomeSettingsTest : public ::tes...
C++
l Public License * for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this library; if not, write to the Free Software Foundation. */ package com.marshalchen.common.uimodule.ImageFilter; import java.nio.Buffer; import java.nio.ByteBuffer; import java.nio.I...
Java
late for each value of p the minimum distance from a cluster center // that a target can be to satisfy the error bounds, provided the radius is // in the portion of the error bound that monotonically increases with distance if( peak_dist <= ry ) { a_lo = ry, a_hi = peak_dist; figtreeFi...
C++
32.into()], |b| { b.declare_variables(1, IntType::I32.into())?; b.body()?; let then_block = b.create_block()?; let else_block = b.create_block()?; let exit_block = b.create_block()?; let lhs = Variable::from_raw(RawIdx::from_u32(0)); ...
Rust
{ padding: $spacing-md-small $spacing-medium; } .example-side-by-side > li { @include span-columns(6); margin-bottom: 0; padding: $spacing-medium; } } .autocomplete__wrapper { position: relative; } .autocomplete__hint, .autocomplete__input { @include border-box-sizing; @include typeset( ...
CSS
SliceMul(lhs float64, rhs []float64) { for i := range rhs { rhs[i] *= lhs } } func scalarSliceFilterNotEqual(lhs float64, rhs []float64) { for i := range rhs { if lhs == rhs[i] { rhs[i] = NilValue } } } func scalarSliceNotEqual(lhs float64, rhs []float64) { for i := range rhs { if lhs != rhs[i] { r...
Go
( text, style: theme.extension<ExtendedTextTheme>()?.tokenTile, maxLines: 2, ), ), ), Expanded( flex: 1, child: FittedBox( fit: BoxFit.fitHeight, alignment: Alignment.topLeft...
Dart
* 対称暗号化PGPメッセージ/ファイルの復号を修正 * 鍵編集画面のリファクタ (ありがとうAsh Hughes) * 暗号化/復号画面を新しいモダンなデザインに * OpenPGP API バージョン 3 (複数APIアカウント, 内部修正,鍵検索) ## 2.4 このリリースにおいて適用したリッチでバグのない機能を作ってくれたGoogle Summer of Code 2014の参加者たちに感謝を! また、以下の人達(アルファベット順)の作ってくれたいくつもの小さなパッチや相当数のパッチにも: Daniel Hammann, Daniel Haß, Greg Witczak, Miroojin Baksh...
Markdown
1", "v1") Utility.putJSONValueInBundle(bundle, "array", jsonArray) Utility.putJSONValueInBundle(bundle, "object", jsonObject) assertThat(bundle.getString("array")).isEqualTo(jsonArray.toString()) assertThat(bundle.getString("object")).isEqualTo(jsonObject.toString()) } @Test fun `test removing a ...
Kotlin
操作。 而在实际处理异常之前,计算机需要先去做一个“保留现场”的操作。有了这个操作,我们才能在异常处理完成之后,重新回到之前执行的指令序列里面来。这个保留现场的操作,和我们之前讲解指令的函数调用很像。但是,因为“异常”和函数调用有一个很大的不同,那就是它的发生时间。函数调用的压栈操作我们在写程序的时候完全能够知道,而“异常”发生的时间却很不确定。所以,“异常”发生的时候,我们称之为发生了一次“上下文切换”(Context Switch)。这个时候,除了普通需要压栈的数据外,计算机还需要把所有寄存器信息都存储到栈里面去。 ## 推荐阅读 关于异常和中断,《深入理解计算机系统》的第8章“异常控制流”部分,有非常深入和充分的讲解,推...
Markdown
return None(); } const cloned = this.clone(); if (predicate(cloned)) { return Some(cloned); } return None(); } public replace(newValue: T): Option<T> { const oldValue = this.clone(); this.value = newValue; return Some(oldValue); } public map<U, F extends (val: T) => U>(...
Typescript
2pd %zmm20, %zmm5, %zmm20 {%k3} // CHECK: vpermi2pd %zmm20, %zmm5, %zmm20 {%k3} {z} // CHECK: encoding: [0x62,0xa2,0xd5,0xcb,0x77,0xe4] vpermi2pd %zmm20, %zmm5, %zmm20 {%k3} {z} // CHECK: vpermi2pd (%rcx), %zmm5, %zmm20 // CHECK: encoding: [0x62,0xe2,0xd5,0x48,0x77,0x21] vpermi2pd (%rcx), %zmm5,...
Assembly
= "returned " + descriptor + " instead of (I)I for " + JavaInvocationType.INVOKE_STATIC.name(); assertEquals(err, descriptor, "(I)I"); descriptor = DescriptorDecoder.getDescriptorForInvoke(1, constantPool, JavaInvocationType.INVOKE_SPECIAL); err = "returned " + descriptor + " instead of (I)I for " + Ja...
Java
{ continue; } { let contact_base = contact.get_base_mut(); // Skip sensors. let sensor_a: bool = contact_base.m_fixture_a.borrow().m_is_sensor; let sensor_b: bool = contact_base.m_fixture_b.borrow().m_is_sensor; if sensor_a || sensor_b { continue; ...
Rust
OM [dbo].[MyClass1] AS [m_0] ORDER BY ROW_NUMBER() OVER(ORDER BY (SELECT 1) ASC) ASC OFFSET 1 ROWS ) AS [m]", SqlLog); } [TestMethod] public void Max_with_selector_after_Take_causes_pushdown() { var result = impatient.CreateQuery<MyClass1>(MyClass1Que...
C#
invalidQuote") object InvalidQuote: StoreError() @Serializable @SerialName("invalidMention") object InvalidMention: StoreError() } @Serializable sealed class DatabaseError { val string: String get() = when (this) { is ErrorEncrypted -> "errorEncrypted" is ErrorPlaintext -> "errorPlaintext" is ErrorNoFi...
Kotlin
func(*ec2.Options)) } } run(args[0].(context.Context), args[1].(*ec2.DescribeFpgaImagesInput), variadicArgs...) }) return _c } func (_c *EC2_DescribeFpgaImages_Call) Return(_a0 *ec2.DescribeFpgaImagesOutput, _a1 error) *EC2_DescribeFpgaImages_Call { _c.Call.Return(_a0, _a1) return _c } func (_c *EC2_Descri...
Go
/** * \file Ifx_LutLinearF32.c * \brief Linear look-up function * * * \version disabled * \copyright Copyright (c) 2013 Infineon Technologies AG. All rights reserved. * * * IMPORTANT NOTICE * * Use of this file is subject to the terms of use agreed between (i) you or * the co...
C
# Copyright (c) 2014 Katsuya Noguchi # # 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, publish, dis...
Python
ont=o;const{width:a}=e.measureText("M"),l=a*s,c=Math.ceil(l),u=Math.ceil(2*l),h=Math.ceil(1.5*l);(n<c||r<u)&&(n=c,t.width=c,r=u,t.height=u),e.save(),e.scale(s,s),e.fillStyle="#f00",e.fillRect(0,0,c,u),e.font=o,e.fillStyle="#000",e.fillText(i,0,h/s);const d=e.measureText(i),{data:Q}=e.getImageData(0,0,c,u),T=(t=>{let e=...
JavaScript
*Chipset = CHIP_TVGA9680; break; case 0x10: *Chipset = CHIP_TVGA9682; break; case 0x21: *Chipset = CHIP_TVGA9685; break; case 0x30: *Chipset = CHIP_TVGA9385; break; case 0x38: *Chipset = CHIP_TVGA9385_1; break; case 0x40: *Chipset = CHIP_TVGA9382;...
C
4; const VK_SHADER_STAGE_MISS_BIT_KHR: VkShaderStageFlagBits = 2048; const VK_SHADER_STAGE_INTERSECTION_BIT_KHR: VkShaderStageFlagBits = 4096; const VK_SHADER_STAGE_CALLABLE_BIT_KHR: VkShaderStageFlagBits = 8192; const VK_SHADER_STAGE_TASK_BIT_NV: VkShaderStageFlagBits = 64; const VK_SHADER_STAGE_MESH_BIT_NV: VkShaderS...
Rust
--================================================================ -- -- 配置 -- --================================================================ -- 怪物 monsters = { } -- NPC npcs = { } -- 装置 gadgets = { { config_id = 1375, gadget_id = 70310001, pos = { x = 2663.5, y = 220.8, z = -476.6 }, rot = { x = 0.0, y = 282...
Lua
(Ljava/lang/String;I)V"); mv.visitInsn(RETURN); mv.visitMaxs(3, 3); } else { ReloadableType superRtype = rtype.getTypeRegistry().getReloadableType(slashedSupertypeName); if (superRtype == null) { // This means we are crossing a reloadable boundary (this type is reloadable, the supertyp...
Java
e.RecipientDeviceAndPaperKeyMap[upk.Uid] = keys if len(keys) == 0 { m.Debug("did not add any device or paper keys for %v", upk.Username) return libkb.NoNaClEncryptionKeyError{ Username: upk.Username, HasPGPKey: len(upk.PGPKeys) > 0, HasPUK: hasPUK, HasDeviceKey: hasDeviceKey, HasPaperK...
Go
[maxComp].first; size_t row = bitmapInfo.uextent; size_t pos = 0; char numNeighbours = 0; size_t ccSize = 0; // test neightbourhood for all bitmappixels that are not marginal for( size_t v = 1; v < bitmapInfo.vextent-1; ++v ) { for( size_t u = 1; u < bitmapInfo.uextent-1; ++u ) { pos = row + u;...
C++
().x == expected.BeginPoint().x); CHECK(res.BeginPoint().y == expected.BeginPoint().y); CHECK(res.EndPoint().x == expected.EndPoint().x); CHECK(res.EndPoint().y == expected.EndPoint().y); } SECTION("sequence") { using Sequence = std::array<Rect16, 8>; Sequence s; ...
C++
* callback should be responded to. If no error is injected, the connection will create a CBATTRequest * and call the RZBMockPeripheralManager fakeReadRequest: when the callback is not paused, after the * specified delay. If the `injectError` property is set, the callback will trigger * fakeCharacteristic:updateV...
C
nitDeps(ctx context.Context) error { initDepFunctions := []func(context.Context) error{ a.initConfig, a.initGlobalTracer, a.initServiceProvider, a.initGRPCServer, a.initHTTPServer, a.initSwaggerServer, a.initMetrics, a.initPrometheusServer, } for _, f := range initDepFunctions { if err := f(ctx); ...
Go
n argument. ".."Pass it down from the top reducer instead of reading it from the store."):format(tostring(self._reducer)))end;return self._state end;function uk:dispatch(aU)if typeof(aU)~="table"then error(("Actions must be tables. ".."Use custom middleware for %q actions."):format(typeof(aU)),2)end;if aU.type==nil the...
Lua
0], %r26 .word 0xf5b48f00 ! 9449: STQFA_R - %f26, [%r0, %r18] T1_dtlb_err_374: !$EV error (1,expr(@VA(.MAIN.T1_dtlb_err_374),16,16),1,DTLB_DATA,24) .word 0xf7358000 ! 9451: STQF_R - %f27, [%r0, %r22] .word 0xbd348000 ! 9451: SRL_R srl %r18, %r0, %r30 .word 0xbe0561bd ! 9452: ADD_I add %r21, 0x01bd, %r31 .wor...
Assembly
'flag.gz', let's grab that and extract it: ``` bash ┌──(root㉿kali)-[/media/stuff/log] └─# gunzip flag.gz ┌──(root㉿kali)-[/media/stuff/log] └─# ls Xorg.0.log boot.log.1 dpkg.log.2.gz installer macchanger.log.4.gz sysstat vmware-network.6.log vmware-vmsvc-root.3.log Xorg.0.log.old ...
Markdown
vector_search_find_neighbors_jwt_sample( mock_sdk_init, mock_index_endpoint_init, mock_index_endpoint_find_neighbors ): vector_search_find_neighbors_sample.vector_search_find_neighbors_jwt( project=constants.PROJECT, location=constants.LOCATION, index_endpoint_name=constants.VECTOR_SEARC...
Python
/* * * Copyright 2015-2018 Espressif Systems (Shanghai) PTE LTD * * 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 appli...
C
""" String Contact Multi Node A node that concatenates multiple strings with customizable separators. Inspired by the multi-input design pattern from Kijai's ComfyUI-KJNodes (https://github.com/kijai/ComfyUI-KJNodes) """ from comfy_api.latest import io class StringContactMulti(io.ComfyNode): """A node that allows...
Python
) goto L_0x0023 goto L_0x001d L_0x001b: r1 = move-exception goto L_0x005f L_0x001d: if (r10 == 0) goto L_0x0045 boolean r4 = r7.responseBodyOpen // Catch:{ all -> 0x001b } if (r4 == 0) goto L_0x0045 L_0x0023: ...
Java
; String? comboboxValue; // ignore: prefer_typing_uninitialized_variables var time; void updateList() async { if (!mounted) { return; } var res = await Aria2Http.tellStopped(Global.rpcUrl); if (res == null) { return; } if (mounted) { var downloadListModel = /...
Dart
ictMode.setVmPolicy( VmPolicy.Builder(StrictMode.getVmPolicy()) .detectLeakedClosableObjects() .build() ) val free = Formatter.formatFileSize(this, availableMemory().availMem) val total = Formatter.formatFileSize(this, availableMemory().totalMem) ...
Kotlin
9 25.6 16.9 20 24.6 55.3 10.5 65.7zm-26.4-119.7c-24.5-15.8-28.9-51.6-9.9-80s54.3-38.6 78.8-22.8 28.9 51.6 9.9 80c-19.1 28.4-54.4 38.6-78.8 22.8zM205 496c-29.4 1.2-58.2-23.7-57.8-32.3-.4-12.7 35.8-22.6 59.3-22 23.7-1 55.6 7.5 55.7 18.9.5 11-28.8 35.9-57.2 35.4zm58.9-124.9c.2 29.7-26.2 53.8-58.8 54-32.6.2-59.2-23.8-59.4-...
JavaScript
@param updates A Tensor. Must have the same type as ref. A tensor of updated * values to add to ref. * @param options carries optional attributes values * @return a new instance of ScatterNdUpdate */ public <T extends TType, U extends TNumber> ScatterNdUpdate<T> scatterNdUpdate(Operand<T> ref, Ope...
Java
8.com': self.SearchAns_GUI_API, 'blog.vcing.top': self.BlogVCing_API, 'greasyfork': self.GreasyFork_Group_API, 'wangketiku.com': self.WangKeTiKu_API } url_order = sorted(QueryAns.api_priority.items(), key=lambda x: x[1], reverse=False) # print(url_order) [(''...
Python
xLocker(&m_mutex); if (!m_V4LThread) { m_generalSettings.m_centerFrequency = generalSettings.m_centerFrequency; return; } if((m_generalSettings.m_centerFrequency != generalSettings.m_centerFrequency) || force) { m_V4LThread->set_center_freq( (double)(generalSettings.m_centerFrequency + (SAMPLERATE ...
C++
=qiāo,sāo', '繱=cōng', '繲=xiè', '繳=jiǎo,zhuó', '繴=bì', '繵=dàn,tán,chán', '繶=yì', '繷=nǒng', '繸=suì', '繹=yì', '繺=shā', '繻=rú', '繼=jì', '繽=bīn', '繾=qiǎn', '繿=lán', '纀=pú,fú', '纁=xūn', '纂=zuǎn', '纃=zī', '纄=péng', '纅=yào,lì', '纆=mò', '纇=lèi', '纈=xiè', '纉=zuǎn', '纊=kuàng', ...
Dart
5zm47.3 0h-33.5v10.5h33.5zm-94.6 0H231v10.5h33.2zm141.5 0h-33.3v10.5h33.3zM52.8 351.1H42v33.5h10.8zm70-215.9H89.2v10.5h33.5zm-70 10.6h22.8v-10.5H42v33.5h10.8zm168.9 228.6c50.5 0 91.3-40.8 91.3-91.3 0-50.2-40.8-91.3-91.3-91.3-50.2 0-91.3 41.1-91.3 91.3 0 50.5 41.1 91.3 91.3 91.3zm-48.2-111.1c0-25.4 29.5-31.8 49.6-31.8 1...
JavaScript
pkg.PesPayload = bs.RemainData() bs.SkipBits(bs.RemainBits()) } else { pkg.PesPayload = bs.RemainData()[:dataLen] bs.SkipBits(dataLen * 8) } return nil } func (pkg *PesPacket) DecodeMpeg1(bs *BitStream) error { if bs.RemainBytes() < 6 { return errNeedMore } bs.SkipBits(24) //packet_start_cod...
Go
surah_number": 25, "verse_number": 30, "content": "OCH Sändebudet har sagt: \"Herre! Mitt folk ser på denna Koran som något föråldrat [som kan läggas åt sidan]" }, { "surah_number": 25, "verse_number": 31, "content": "På samma sätt har Vi låtit varje profet mötas av fientlighet f...
Dart
eyden.','p341t004':'Odotamme tällä välin, että reititin käynnistyy uudelleen.','p342t001':'Muodostamme reitittimen yhteyden uudelleen, jotta voimme jatkaa.','p342t002':'Voit joutua valitsemaan langattoman verkon <span tid="Network24SSID">({REPLACE WITH 2.4 SSID})</span> uudelleen langattomien verkkojen luettelosta aut...
JavaScript
{ 0x8000, 0x87ff, MRA_RAM }, /* work ram */ { 0xa000, 0xa7ff, sprite_shared_r }, /* shared with main */ { 0xc000, 0xc3ff, spriteram_r }, /* sprite ram */ { 0xc400, 0xc43f, MRA_RAM }, /* something related to scroll? */ { -1 } /* end of table */ }; static struct MemoryWriteAddress sprite_writemem[] ...
C++
tegyObjectives[o]; soWeightSum = soWeightSum + nv2Fixed(soWeightAvg); so.weight = nv2Fixed(soWeightAvg); if ( (o+1) == per.strategyObjectives.length && soPointDecimals > 2 ) { so.weight = nv2Fixed( nv2Fixed(soWeightAvg) + ( MAX_WEIGHT_VALUE - nv2Fixed(soWeightSum) ) ); } if (so.kpis.length < 1) {...
JavaScript
visibility:hidden}.mce-splitbtn .mce-open{border-left:1px solid transparent}.mce-splitbtn:hover .mce-open{border-left-color:#ccc}.mce-splitbtn button{padding-right:6px;padding-left:6px}.mce-splitbtn .mce-open{padding-right:4px;padding-left:4px}.mce-splitbtn .mce-open.mce-active{background-color:#dbdbdb;outline:1px soli...
CSS
} .theme-dark .node-content-wrapper span { display: block; padding: 6px 0 6px 12px; color: #4e5368; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; word-wrap: normal; } .theme-dark .node-content-wrapper em.ddp-data-num { float: left; position: r...
CSS
['upperLabel']; var PATH_UPPERLABEL_EMPHASIS = ['emphasis', 'upperLabel']; var Z_BASE = 10; // Should bigger than every z. var Z_BG = 1; var Z_CONTENT = 2; var getItemStyleEmphasis = makeStyleMapper([ ['fill', 'color'], // `borderColor` and `borderWidth` has been occupied, // so use `stroke` to indicate th...
JavaScript
catch (error) { if (error.code === `EEXIST`) { continue; } else { throw error; } } const realP = await this.realpathPromise(p); tmpdirs.add(realP); if (typeof cb !== `undefined`) { try { return await cb(realP); } finally { ...
JavaScript
e tbody.pf-m-expanded:not(:last-of-type) { border-bottom: var(--pf-c-table-tbody--responsive--BorderWidth) solid var(--pf-c-table--responsive--BorderColor); } .pf-m-grid-2xl.pf-c-table tr:not(.pf-c-table__expandable-row) { display: grid; grid-template-columns: 1fr; height: auto; grid...
CSS
usize()); emit_fn(ms, out, &name, None, mir)?; emit_static_decl(ms, out, &name, mir.return_ty(), false)?; Ok(()) } fn emit_vtable<'tcx>( ms: &mut MirState<'_, 'tcx>, out: &mut impl JsonOutput, trait_ref: ty::PolyTraitRef<'tcx>, ) -> io::Result<()> { let ti = TraitInst::from_trait_ref(ms.st...
Rust
rByHeight returns the batch header given the height func GetBatchHeaderByHeight(db HostDB, height *big.Int) (*common.BatchHeader, error) { reboundWhereQuery := db.GetSQLDB().Rebind(whereHeight) return fetchBatchHeader(db, reboundWhereQuery, height.Uint64()) } // GetBatchByHeight returns the batch header given the he...
Go
== a.Byte15); constexpr.ASSUME_LE_EPU64(r0, byte.MaxValue); constexpr.ASSUME_LE_EPU64(r1, byte.MaxValue); constexpr.ASSUME_LE_EPU64(r2, byte.MaxValue); constexpr.ASSUME_LE_EPU64(r3, byte.MaxValue); } else throw new IllegalInstructi...
C#
/* * test-surfaces.c - Test GstVaapiSurface and GstVaapiSurfacePool * * Copyright (C) 2010-2011 Splitted-Desktop Systems * Author: Gwenole Beauchesne <gwenole.beauchesne@splitted-desktop.com> * Copyright (C) 2012-2013 Intel Corporation * Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com> * * Th...
C
YOT val iframe = app.get(url, referer = mainUrl) val iframeKey = iframe.document.select("script[src*=https://www.google.com/recaptcha/api.js?render=]") .attr("src").substringAfter("render=") val iframeToken = getCaptchaToken(url, iframeKey) ...
Kotlin
err = ValidateTuple(entityDef, validTuple4) Expect(err).Should(BeNil()) // Test the function with an invalid tuple with wrong subject type err = ValidateTuple(entityDef, invalidTuple1) Expect(err).ShouldNot(BeNil()) // Test the function with an invalid tuple with relation not defined in entity defi...
Go
::emplace_scalar::<u8>(dst, self.0); } } } impl flatbuffers::EndianScalar for EventTimeSource { #[inline] fn to_little_endian(self) -> Self { let b = u8::to_le(self.0); Self(b) } #[inline] #[allow(clippy::wrong_self_convention)] fn from_little_endian(self) -> Self { ...
Rust
ate a given region, such that it is redrawn on the next region update.\n * @msdn{dd145003} * @param hdc device context * @param x x1 * @param y y1 * @param w width * @param h height * @return nonzero on success, 0 otherwise */ INLINE BOOL gdi_InvalidateRegion(HGDI_DC hdc, INT32 x, INT32 y, INT32 w, ...
C
_image] : <Widget>[_image, _text], ), ), ), ), ), ); } } /// Classs for polygon data model class PolygonDataModel { /// Holds the polygon data model data values PolygonDataModel(this.name, this.imagePath, {required this.color}); /// Ho...
Dart
BOZU_TEST_AUTO(test5) { struct Test5 : Xbyak::CodeGenerator { explicit Test5(int size, int count, void *mode) : CodeGenerator(size, mode, &myAlloc) { using namespace Xbyak; inLocalLabel(); mov(ecx, count); xor(eax, eax); L(".lp"); for (int i = 0; i < count; i++) { L(Label::toStr(i)); ad...
C++
GLM_CUDA_FORCE_DEVICE_FUNC) # define GLM_CUDA_FUNC_DEF __device__ # define GLM_CUDA_FUNC_DECL __device__ # elif defined(GLM_CUDA_FORCE_HOST_FUNC) # define GLM_CUDA_FUNC_DEF __host__ # define GLM_CUDA_FUNC_DECL __host__ # else # define GLM_CUDA_FUNC_DEF __device__ __host__ # define GLM_CUDA_FUNC_DECL __device__ __...
C++
cceptedTypeGroups: [ XTypeGroup( label: 'OncePower${tr(AppL10n.advancePreset)}', extensions: [extension], ), ], suggestedName: 'OncePower${tr(AppL10n.advancePreset)}.$extension', ); if (savePath != null) { try { // 调用工具类加密方法 final fileData = ...
Dart
迨物极必返,静极动生,忽然元炁自动,外阳勃举,此为定久真火自动。 外文武火功夫行毕,即要行起火、引火、止火、火逼行火、凝火、入火、降火、离火、心火等功夫。 起火,使鼻内吸呼一起一伏,采小药是一升一降为巽风。缘鼻内一吸气,曰进,心意由生死窍一生。鼻内一呼出之气,曰升,心意由顶,降到生死窍,即转法轮止两念耳。吸呼之气火,本自有形而用之无形,若着意用之,则长邪火。似有似无,乃是二气之妙用,药自回也。一起一伏者,又名小阖辟、无孔笛、颠倒两头吹。因无念而真阳自举,鼻,人心意气由生死窍一吸,气升到真炁穴。又一呼,气由绛宫降真炁穴。 引火,鼻内吸呼气一升降,心意一上一下。微转动法轮,以数记之。由一记十,由十记百。摄心在数,务令意念不散不乱,...
Markdown
## -description This topic supports the Windows driver infrastructure and is not intended to be used directly from your code. ## -struct-fields ### -field fAccept ### -field dwBroadcastMsgLang ### -field dwBroadcastServiceCategory --- UID: NE:rilapitypes.RILMESSAGETYPE title: RILMESSAGETYPE (rilapitypes.h) descri...
Markdown
r.info("Unable to start temporary HTTP server for challenge authorization, trying internal file server... (Reason: {})", iox.getMessage()); final StaticValue<FrameworkException> exceptionFromThread = new StaticValue<>(null); // put creation of folders/file in thread so we can use it in scripting final Thread...
Java
ed) { transformationMatrix.postScale(-1f, 1f, width / 2f, height / 2f) } needUpdateTransformation = false } override fun onDraw(canvas: Canvas) { super.onDraw(canvas) synchronized(lock) { updateTransformationIfNeeded() for (graphic in graphics...
Kotlin
end, { virtual = true }) -- expect(normalize({ preset = "react-native-js-preset", rootDir = "/root/path/foo" }, {} :: Config_Argv)).rejects -- .toThrowError( -- error("not implemented") --[[ ROBLOX TODO: Unhandled node for type: RegExpLiteral ]] --[[ /Cannot find module 'library-that-is-not-installed'/ ]] -...
Lua
on) signature.initSign(privateKey.private) signature.update(nonce) signature.update(salt.toByteArray(ByteOrder.BIG_ENDIAN)) val signed = signature.sign() session.connection.send(EncryptionC2SP(encryptedSecretKey, EncryptionSignatureData(salt, signed))) ...
Kotlin
_controls/PanelListPanel.h" #include "vgui_controls/ProgressBar.h" #include "vgui_controls/RadioButton.h" #include "ServerBrowser/blacklisted_server_manager.h" #include "rtime.h" #include "c_tf_gamestats.h" #include "tf_gamerules.h" #include "ServerBrowser/IServerBrowser.h" // other #include "tier1/netadr.h" // memd...
C++