content
stringlengths
2
6.21k
label
stringclasses
16 values
-underline:before { content: "s"; } .icon-software-font-vertical-scale:before { content: "t"; } .icon-software-horizontal-align-center:before { content: "u"; } .icon-software-horizontal-align-left:before { content: "v"; } .icon-software-horizontal-align-right:before { content: "w"; } .icon-software-horizontal...
CSS
data17.put("bigint_1", "2000000000000000"); data17.put("blob_1", "0x3E0A16"); data17.put("boolean_1", "false"); data17.put("decimal_1", "2000000000.0"); data17.put("date_1", String.valueOf(System.currentTimeMillis())); data17.put("double_1", "1.0"); data17.put("float_1",...
Java
attr.filename = uri attr.lineno = info.currentline else attr.filename = what2uri[info.what] or "unknown:/" attr.lineno = -1 end return { tag = "stack", attr = attr } end local node = { tag = "response", attr = { command = "stack_get", transact...
Lua
tringPtrOutput { return v.MaxLength }).(pulumi.StringPtrOutput) } // The highest priority supported by the queue. This parameter is set to a positive integer. // Valid values: 0 to 255. Recommended values: 1 to 10 func (o QueueOutput) MaximumPriority() pulumi.IntPtrOutput { return o.ApplyT(func(v *Queue) pulumi.IntPt...
Go
id_version_(true), any_version_(true) {} explicit SemVersionBase(const std::uint16_t major, const std::uint16_t minor, const std::uint16_t patch, StringType pre_release = {}, StringType build_meta = {}) : major_(major), minor_(minor), patch_(patch), valid_version_(true), pre_rele...
C
from gym.utils import EzPickle import numpy as np from magical import geom from magical.base_env import BaseEnv, ez_init import magical.entities as en SMALL_POS_BOUND = 0.05 DEFAULT_ROBOT_POSE = ((0.058, 0.53), -2.13) DEFAULT_GOAL_COLOUR = en.ShapeColour.BLUE DEFAULT_GOAL_XYHW = (-0.62, -0.17, 0.76, 0.75) class Mov...
Python
统所有的进程来找到这些子进程,现在只需要遍历这个单独ptrace的子进程链表,减轻了遍历的时间消耗 ## 4 进程调度 > 进程调度程序:在可运行态进程之间分配有限处理器时间资源的**内核子系统**。 ### 4.1 多任务 > 多任务操作系统是同时并发地交互执行多个进程的操作系统,能使多个进程处于阻塞或者睡眠状态,这些任务位于内存中,但是并不处于可运行状态,他们利用内核阻塞自己,直到某一时间(键盘输入、网络数据等)发生。 多任务系统分为两类: * 非抢占式多任务 * 抢占式多任务 Linux提供了抢占式的多任务模式,由调度程序决定什么时候停止一个进程的运行,以便其他进程得到运行机会,这个强制的挂起动作叫做抢占。 ...
Markdown
mum value of fLOCO). */ SYSTEM.SOSCWTCR.BYTE = BSP_CFG_SOSC_WAIT_TIME; /* Operate the Sub-clock oscillator */ SYSTEM.SOSCCR.BYTE = 0x00; /* Dummy read and compare. cf."5. I/O Registers", "(2) Notes on writing to I/O registers" in User's manual. This is done to ensure that th...
C
ruModeA; // ģʽA NET_DVR_HOLIDATE_MODEB struModeB; // ģʽB NET_DVR_HOLIDATE_MODEC struModeC; // ģʽC }NET_DVR_HOLIDATE_UNION, *LPNET_DVR_HOLIDATE_UNION; typedef enum tagHOLI_DATE_MODE { HOLIDATE_MODEA = 0, HOLIDATE_MODEB, HOLIDATE_MODEC }HOLI_DATE_MODE; typedef struct tagNET_DV...
C
cate(source, target, targetRadius), Strategy.Perimeter => Perimeter.Locate(source, target, targetRadius), _ => Vector2.zero }; [Serializable] public class SourceConfig : LocatorConfig { public override Vector2 _Locate(Vector2 source, Vector2 target, float targetRadius) {...
C#
/* Enable all lanes for now */ cam_rx_ctrl |= 0x3 << OMAP4_CAMERARX_CSI22_LANEENABLE_SHIFT; /* Enable CTRLCLK */ cam_rx_ctrl |= OMAP4_CAMERARX_CSI22_CTRLCLKEN_MASK; } regmap_write(iss->syscon, 0x68, cam_rx_ctrl); /* Reset used lane count */ csi2->phy->used_data_lanes = 0; /* Clock and data lanes ver...
C
asm(".syntax unified \n\ \n\ .balign 4, 0 \n\ \n\ thumb_func_start func_0803ad60 \n\ /* 0803ad60 */ PUSH {R4-R7, LR} \n\ /* 0803ad62 */ MOVS R7, 0x0 @ Set R7 to 0x0 \n\ /* 0803ad64 */ LDR R0, =gCurrentEngineData \n\ /* 0803ad66 */ LDR R1, [R0] \n\ /* 0803ad68 */ LDRB R0, [R1, 0x10] \n\ /* 0803ad6a */ CMP R0, 0x0 @ Comp...
Assembly
MyManagedClass mnObj1 = new MyManagedClass(); using (mnObj1) { mnObj1.Use(); } } class MyManagedClass : System.IDisposable { public void Dispose() { } public void Use() { } } } "; CompileAndVerify(source).VerifyIL("Program.M...
C#
m class="rfc2119">应该</em>对应于 95% 的置信水平。 </li> <li>将 <var>coord</var> 的 <a data-link-type="idl" href="#dom-geolocationcoordinates-speed" class="internalDFN" id="...
HTML
public class TargetAdd : Icon { public TargetAdd() : base("TargetAdd", IconVariant.Filled, IconSize.Size20, "<path d=\"M3.5 10a6.5 6.5 0 0 0 5.86 6.47c.22.55.52 1.07.9 1.52H10a8 8 0 1 1 7.99-7.74 5.5 5.5 0 0 0-1.53-.89A6.5 6.5 0 0 0 3.5 10Zm5.61 3.39a3.5 3.5 0 1 1 4.27-4.28 5.52 5.52 0 0 1 1.52-.1 5 5 0 1 0-5.89 5.9 5....
C#
# Copyright 2024 Leonin League # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
Python
it('should construct', () => { const r = new Ray(new Vec3(), new Vec3(1, 0, 0)); expect(r).not.toBeUndefined(); }); it('should intersectBody', () => { let r = new Ray(new Vec3(5, 0, 0), new Vec3(-5, 0, 0)); r.skipBackfaces = true; const shape = createPolyhedron(0.5); const body = new Bo...
Typescript
lterZonal(const Double_t **fSource, Double_t **fDest); void SetDirection(Int_t direction); void SetEnhanceCoeff(Double_t enhanceCoeff); void SetFilterCoeff(Double_t filterCoeff); void SetRegion(Int_t xmin, Int_t xmax, Int_t ymin, Int_t ymax); vo...
C
t { const root = {} for (const str of arr) { // Splitt the string from 'car.brand' to ['car', 'brand'] used to traverse the object const strArry = str.split('.') let key, // key variable to store next key to use when traversing the object pointer = root, // Start out at the root of the oibject ...
Typescript
d) svcLister := k8sFactory.Core().V1().Services().Lister() podLister := k8sFactory.Core().V1().Pods().Lister() epLister := k8sFactory.Core().V1().Endpoints().Lister() accessFactory := accessinformer.NewSharedInformerFactoryWithOptions(smiAccessClient, mk8s.ResyncPeriod) splitFactory := splitinformer.NewSharedInf...
Go
ddress\n", __func__); return -EINVAL; } ret = reset_get_by_name(dev, "i2c", &i2c_bus->reset_ctl); if (ret) { pr_err("reset_get_by_name() failed: %d\n", ret); return ret; } ret = clk_get_by_name(dev, "div-clk", &i2c_bus->clk); if (ret) { pr_err("clk_get_by_name() failed: %d\n", ret); return ret; } #if...
C
return; } if (module.equals("apc2")) { System.out.println("use module apc2"); new APC2Loader(shellcode).execAndWait(); return; } if (module.equals("divide")) { System.out.println("use module divide"); new DivideLoader(shellcod...
Java
�于针对特定内容进行精细处理 3. **提高处理效率**:对文本进行合理切分,可以提高后续分析和处理的效率 4. **便于存储和检索**:切割后的文本片段更适合存入向量数据库等系统,提高检索精度 ## 适用场景 ### 场景一:长文档知识库构建 当您需要将长篇文档(如产品手册、研究报告)导入知识库时,可以先使用文本切割节点将文档切割成合适大小的片段,再导入向量数据库,这样能提高后续检索的精确度。 ### 场景二:大规模文本处理 处理新闻报道、客户反馈等大规模文本时,可以先切割成段落或句子,然后逐一分析,提取关键信息或情感倾向。 ### 场景三:对话历史消息处理 在处理长时间的对话历史记录时,可以通过文本切割节点将历史消息按照时间或主...
Markdown
// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2014 Alec Jacobson <alecjacobson@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla Public License // v. 2.0. If a copy of the MPL was not distributed with this file, You can // obtain one at htt...
C
pe. Light supplied from a 150 mW 488 nm laser, 50 mW 560 nm laser, 100 mW 405 nm laser, or 140 mW 637 nm laser passes through a 5000 rpm Yokogawa CSU-X1 spinning disk unit with a Borealis upgrade (with a dual-camera configuration). A 40x water immersion objective (CFI APO LWD 40X WI 1.15 NA LAMBDA S, Nikon) with an obj...
Markdown
334%}.a-span8 div.a-span11,.a-ws .a-span8 .a-ws-row .a-ws-span11,.a-ws .a-ws-span8 .a-ws-row .a-ws-span11,.a-ws .a-ws-span8 div.a-span11{width:91.372%}.a-span9 div.a-span11,.a-ws .a-span9 .a-ws-row .a-ws-span11,.a-ws .a-ws-span9 .a-ws-row .a-ws-span11,.a-ws .a-ws-span9 div.a-span11{width:91.3948%}.a-span10 div.a-span11...
CSS
خواهند ماند." }, { "surah_number": 11, "verse_number": 24, "content": "مثل این دو گروه (مؤمنان و کافران) مانند کور و کر، و بینا و شنواست، آیا این دو در وصف یکسانند؟! آیا پند نمی‌گیرید؟!" }, { "surah_number": 11, "verse_number": 25, "content": "و به راستی ما نوح را به سوی...
Dart
d: 'POST', dataType: 'json' }) } document.addEventListener('DOMContentLoaded', init); </script> </head> <body> <h1>WebSocket Test</h1> <input id="input-text" type="text" /> <button onclick="generateNotification()"> Send notification </button> <div id="output"></div> ...
HTML
src.lastIndexOf(".") + 1).toLowerCase(); const dataURL = canvas.toDataURL("image/" + ext); return dataURL; } export const imgeToBase64 = async (type: string | HTMLImageElement): Promise<String> => { return new Promise((resolve, reject) => { if (!type) { reject('没有图片信息') re...
Typescript
r1,4095(%r2),3 #CHECK: locgo %r1, 2(%r3) # encoding: [0xeb,0x11,0x30,0x02,0x00,0xe2] #CHECK: locgh %r1, 2(%r3) # encoding: [0xeb,0x12,0x30,0x02,0x00,0xe2] #CHECK: locgnle %r1, 2(%r3) # encoding: [0xeb,0x13,0x30,0x02,0x00,0xe2] #CHECK: locgl %r1, 2(%r3) # encoding: ...
Assembly
self) { fs::remove_file(self.file_name.as_str()).unwrap_or_else(|_| { warn!( "File {} can't be removed after work. Remove the file in order to save disk space.", self.file_name.as_str() ) }); } } impl MMapMatrix { #[inline] fn update_...
Rust
buildMultiSegs("8c670664-8d05-466a-802f-83c023b56c77"); populateSSWithCSVData(getTestConfig(), getProject(), SparderEnv.getSparkSession()); basicPruningScenario(); pruningWithVariousTypesScenario(); } @Test public void testDimRangePruning() throws Exception { buildMultiSeg...
Java
gia tăng của sai số trên <em>tập kiểm tra</em>. Điều kiện dừng được thiết lập là ngưỡng gia tăng <em>hàm mất mát</em> của epoch sau so với epoch trước lớn hơn <span class="math notranslate nohighlight">\(\Delta_{error}\)</span>. Trong quá trình huấn luyện chúng ta cũng cần liên tục lưu lại các <em>checkpoint</em> cho m...
HTML
ts.set(e,t),"idle"==n.status&&this._readAndUpload(n)))}}})),this.on("uploadComplete",((e,{imageElement:t,data:n})=>{const i=n.urls?n.urls:n;this.editor.model.change((e=>{e.setAttribute("src",i.default,t),this._parseAndSetSrcsetAttributeOnImage(i,t,e)}))}),{priority:"low"})}afterInit(){const e=this.editor.model.schema;t...
JavaScript
40F) { deactivateProgress = 40; } if (this.getIsAwaken() && deactivateProgress > 0F) { deactivateProgress--; if(deactivateProgress == 20 && this.getHealth() > 0){ this.playSound(ModSounds.MONSTROSITYAWAKEN.get(), 10, 1); } } ...
Java
option::Option<u32>, #[prost(uint64, optional, tag="3")] pub file_size: ::core::option::Option<u64>, #[prost(uint32, optional, tag="4")] pub file_width: ::core::option::Option<u32>, #[prost(uint32, optional, tag="5")] pub file_height: ::core::option::Option<u32>, } #[derive(Clone, PartialEq, ::p...
Rust
ror(b?"Can't find end of central directory : is this a zip file ? If it is, see http://stuk.github.io/jszip/documentation/howto/read_zip.html":"Corrupted zip : can't find end of central directory")}if(this.reader.setIndex(a),this.checkSignature(h.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===g.M...
JavaScript
s/helpers.dart'; class IoCertManagerAcmeV1ChallengeSpecSolverDns01AcmeDNSAccountSecretRef { /// Returns a new [IoCertManagerAcmeV1ChallengeSpecSolverDns01AcmeDNSAccountSecretRef] instance. IoCertManagerAcmeV1ChallengeSpecSolverDns01AcmeDNSAccountSecretRef({ this.key, required this.name, }); /// The ke...
Dart
ret 63939: 00 halt 6393a: 00 halt 6393b: 00 halt 6393c: 6a 00 00 cvtdl $0x0 [d-float],$0x0 6393f: 00 halt 63940: 27 00 00 00 divp $0x0,$0x0,$0x0,$0x0,$0x0,$0x0 63944: 00 00 00 63947: 00 halt 63948: 04 ret 63949: 00 ...
Assembly
nd = (Syn *) bsearch(&word, d->syn, d->len, sizeof(Syn), compare_syn); pfree(word.key); if (!found) PG_RETURN_POINTER(NULL); /* Parse string of synonyms and return array of words */ { char *value = found->value; char *syn; char *pos; char *end; int nsyns = 0; res = palloc(sizeof(TSLex...
C
VOffsetT = 14; pub const VT_HASTM: flatbuffers::VOffsetT = 16; pub const VT_COLUMNS: flatbuffers::VOffsetT = 18; pub const VT_FEATURES_COUNT: flatbuffers::VOffsetT = 20; pub const VT_INDEX_NODE_SIZE: flatbuffers::VOffsetT = 22; pub const VT_CRS: flatbuffers::VOffsetT = 24; pub const VT_TITLE: fl...
Rust
ode, treeNode.right); } else if (!treeNode.right) { // 删除的节点只有左孩子 this.transplant(treeNode, treeNode.left); } else { // 删除的即诶单左右孩子都有 // 找到右子树中最小的节点 const minTreeNode = this.findMix(treeNode.right); //...
Typescript
),%zmm13 vmovdqu64 192(%rsp,%rbx,1),%zmm12 .byte 98,211,21,72,68,244,17 .byte 98,211,21,72,68,252,0 .byte 98,83,21,72,68,212,1 .byte 98,83,21,72,68,220,16 vpternlogq $0x96,%zmm10,%zmm4,%zmm26 vpternlogq $0x96,%zmm6,%zmm0,%zmm24 vpternlogq $0x96,%zmm7,%zmm3,%zmm25 vpternlogq $0x96,%zmm11,%zmm5,%zmm26 vpsrldq $8,...
Assembly
\n throw new SolanaJSONRPCError(res.error, `failed to get token accounts owned by account ${ownerAddress.toBase58()}`);\n }\n return res.result;\n }\n\n /**\n * Fetch parsed token accounts owned by the specified account\n *\n * @return {Promise<RpcResponseAndContext<Array<{pubkey: PublicKey, account:...
JavaScript
ple marketplaces| ❌ Removed v4 pool interaction| ❌ Not supported| ✅ `V4_SWAP`, `V4_POSITION_MANAGER_CALL` v3/v4 position management| ❌ Not supported| ✅ `V3_POSITION_MANAGER_*` / `V4_*` Commands| 0x00–0x3f (dense NFT ops)| 0x00–0x21 (compact core logic) Permit2-based transfers| ✅| ✅ Extended with batch & positio...
Markdown
3d800460 str q0, [x3, #16] 417e54: ad010060 stp q0, q0, [x3, #32] 417e58: 927ae463 and x3, x3, #0xffffffffffffffc0 417e5c: ad020060 stp q0, q0, [x3, #64] 417e60: ad030060 stp q0, q0, [x3, #96] 417e64: cb030082 sub x2, x4, x3 417e68: d1040042 sub x2, x2, #0x100 417e6c: 91020063 add x3, x3, #0x80 ...
Assembly
@section[:title "Operational Semantic Devices"] @subsection[:title "Mathematical Preliminaries"] @p{Define @m{\mathscr{B}} to be a Hilbert space isomorphic to @m{\mathbb{C}^2}. Some texts refer to this space as a @emph{qubit}. We may refer to it as a @emph{qubit space}.} @p{We fix any orthonormal basis of @m{V := \m...
Assembly
{ --direction: -1; } @supports selector(:dir(rtl)) { .is-collapsed:dir(ltr), .cm-line:dir(ltr) { --direction: 1; } .is-collapsed:dir(rtl), .cm-line:dir(rtl) { --direction: -1; } } .mod-rtl, .is-rtl, .rtl { --callout-padding: var(--size-4-3) var(--size-4-6) var(--size-4-3) var(--size-4-3); --e...
CSS
tState</a>(<a class="code" href="types_8h.html#ab6d744c6b5de129f12937e482dc674fb">Handle</a> handle, <a class="code" href="types_8h.html#ab6d744c6b5de129f12937e482dc674fb">Handle</a> contextHandle, <a class="code" href="httpc_8h.html#a85133a49885df86e509e6f25315216f3">httpcReqStatus</a>* out);</div> <div class="line"><...
HTML
c" }, { "name": "Sharanahua", "code": "mcd" }, { "name": "Itundujia Mixtec", "code": "mce" }, { "name": "Matsés", "code": "mcf" }, { "name": "Mapoyo", "code": "mcg" }, { "name": "Maquiritari", "code": "mch" }, { "name": "Mese", "code": "mci" }, ...
Kotlin
absolute; top:0; right:0; background:#ff0000; background: linear-gradient(to bottom, #ff0000 0%, #0085ff 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0000', endColorstr='#0085ff', GradientType='0'); /* IE*/ } #box...
HTML
tionen anzeigen: Diese sind fast fertig zur Veröffentlichung; es können jedoch noch Fehler auftreten." -- Check every hour UI_TEXT_CONTENT["AISTUDIO::SETTINGS::CONFIGURATIONSELECTDATAFACTORY::T3137986690"] = "Jede Stunde überprüfen" -- Disappearing chats: delete chats older than 180 days UI_TEXT_CONTENT["AISTUDIO::SE...
Lua
n HTTP clients (such as web browsers, apps, IoT devices and more) and servers. In the past, we’ve talked a lot about how browsers and other user agents connect to our network, and we’ve developed a lot of technology and implemented new protocols (see <a href="https://blog.cloudflare.com/the-road-to-quic">QUIC</a> and <...
HTML
的星评馆评论信息 **接口地址:** `/starpick/comments/summary` ### 私人 DJ 说明: 调用此接口可以获取私人 DJ 的推荐内容 (包括 DJ 声音和推荐歌曲) **接口地址:** `/aidj/content/rcmd` **可选参数:** `longitude` `latitude` : 当前的经纬度 ### 回忆坐标 说明: 可以获取当前歌曲的回忆坐标信息 (见手机 APP 百科页的回忆坐标功能) **接口地址:** `/music/first/listen/info` **必选参数:** `id` : 歌曲 ID ### 播客列表 说明: 可以获取播客列表 **接口...
Markdown
} class Phone { int NORMALIZED_NUMBER; int NUMBER; int TYPE_MMS; int TYPE_ASSISTANT; int TYPE_WORK_PAGER; int TYPE_WORK_MOBILE; int TYPE_TTY_TDD; int TYPE_TELEX; int TYPE_RADIO; int TYPE_OTHER_FAX; int TYPE_MAIN; int TYPE_ISDN; int TY...
Java
left = dpi(10), widget = wibox.container.margin }, mpc, layout = wibox.layout.fixed.vertical }, expand = "none", layout = wibox.layout.align.vertical }, layout = wibox.layout.align.horizontal }, forced_height = 80, top = d...
Lua
CBF90D0517A18FB9A78F9DC135470CF3 # 得到输出: # Evidence <16AF00C7DDE3C237425A40BEB49E2F01CBF90D0517A18FB9A78F9DC135470CF3> # [Version] 1 # [PubKey] 023352847EF717020F69AC07ADFC869FB4430FFC2EA525EFE9DF0ABD7583BF1AF6 # ...... # 查询本账户上传的证据 ./client -qa # 得到输出: # Account <AIZVFBD664LQED3JVQD237EGT62EGD74F2SSL37J34FL25MDX4NPM>...
Markdown
ter: Resource<Painter>? = this.painter ) = ChainResult.Single( chain = copy( request = request, data = data, painter = painter ) ) fun Flow<Chain>.process() = ChainResult.Stream(chain = this) fun Chain.resolve(): PainterResource = when { painter != null -> painter.toPainterResourc...
Kotlin
function GUI_DrawVerticalTabs(tTabs,name) local returnIndex,returnName; local tabName = IsNull(name,"##main-tabs") local fontSize = (GUI:GetWindowFontSize()) local windowPaddingY = GUI:GetStyle().windowpadding.y local framePaddingY = GUI:GetStyle().framepadding.y local counter = 1; local events = tTabs.even...
Lua
/* sha1-ssse3-amd64.S - Intel SSSE3 accelerated SHA-1 transform function * Copyright (C) 2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * Based on sha1.c: * Copyright (C) 1998, 2001, 2002, 2003, 2008 Free Software Foundation, Inc. * * This file is part of Libgcrypt. * * Libgcrypt is free software; you can red...
Assembly
onicendp = p; *p = '\0'; skip: OP_M (bytemode, sizeflag); } static void OP_LWPCB_E (int bytemode ATTRIBUTE_UNUSED, int sizeflag ATTRIBUTE_UNUSED) { int reg; const char **names; /* Skip mod/rm byte. */ MODRM_CHECK; codep++; if (rex & REX_W) names = names64; else names = names32; reg = m...
C
ies(it) } } } package com.flipperdevices.keyparser.impl.api import android.net.Uri import com.flipperdevices.bridge.dao.api.model.FlipperFileFormat import com.flipperdevices.bridge.dao.api.model.FlipperFilePath import com.flipperdevices.bridge.dao.api.model.FlipperKey import com.flipperdevices.bridge.dao.api.model...
Kotlin
n_words, self.pred_test.ids], feed_dict=fd) if self._config.decoding == "greedy": ids_eval = np.expand_dims(ids_eval, axis=1) elif self._config.decoding == "beam_search": ids_eval = np.transpose(ids_eval, [0, 2, 1]) n_words += n_words_eval ...
Python
Splitter); } this[p_strName] = lstWidths; } /// <summary> /// Sets the splitter distances in the given control based on the stored values. /// </summary> /// <remarks> /// This method recurses through the control tree and sets the splitter distances /// of all nested splitter containers. /// </re...
C#
Manager = NSFileManager.defaultManager val documentsDirectory = NSFileManager.defaultManager.URLsForDirectory( NSDocumentDirectory, NSUserDomainMask ).first() as NSURL documentsDirectory.URLByAppendingPathComponent(fileName)?.let {...
Kotlin
URL": this.imageURL}; } } class AudioMessagePayload extends MessagePayload { String audioURL; num audioLength; AudioMessagePayload(this.audioURL, this.audioLength); AudioMessagePayload.fromJSON(Map json) { this.audioURL = json['audioURL']; this.audioLength = json['audioLength']; } Map toJSON()...
Dart
expected_operational_timpoints_by_project = sorted( get_project_operational_timepoints(expected_disp_no_commit_gen_set) ) actual_operational_timepoints_by_project = sorted( [(g, tmp) for (g, tmp) in instance.GEN_SIMPLE_OPR_TMPS] ) self.assertListEqual( ...
Python
begin(); for (; iter != m_sockets.end(); ++iter) { FreeSocket(*iter); } m_sockets.clear(); return NULL; } /** * @brief Stop the HTTP server */ void HTTPServer::Stop() { if (IsRunning()) { OLA_INFO << "Notifying HTTP server thread to stop"; m_select_server->Terminate(); OLA_INFO << "Waiting...
C++
cline-yes">8x</span> <span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">8x</span> <span class="cline-any cline-yes">23x</span> <span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-neutral">&nbsp;</span> <span class="cline-any cline-yes">23x</span> <span class="cli...
HTML
""" Interpolation helpers for timm layers RegularGridInterpolator from https://github.com/sbarratt/torch_interpolations Copyright Shane Barratt, Apache 2.0 license """ import torch from itertools import product class RegularGridInterpolator: """ Interpolate data defined on a rectilinear grid with even or uneven ...
Python
.P) { // return "" // } var imsi = "" try { if (checkPermissions( context, Manifest.permission.READ_PHONE_STATE ) ) { val mTelephonyMgr = context ...
Kotlin
final Set<Bytes32> knownBranchCache = new HashSet<>(); private final KvStoreTransaction transaction = mock(KvStoreTransaction.class); private final SchemaCombinedTreeState schema = new V6SchemaCombinedTreeState(spec); private final KvStoreTreeNodeStore store = new KvStoreTreeNodeStore(knownBranchCache, tr...
Java
k, 0x03); writeValue(sink, 0x0D); sink.write("0/7.44.0.104".getBytes(StandardCharsets.UTF_8)); sink.writeByte(0x00); writeValue(sink, 0x00); writeValue(sink, 0x0E); writeValue(sink, 0x7F000001); } else { sink.writeByte(0x41); sink.writeByte(0x02); ...
Java
Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. */ import 'package:githo/models/habit_plan.dart'; /// Defines the habit-plans that will be available when first starting the app. class DefaultHabitPlans { static final List<HabitPlan> habitPlanList = <HabitPlan>[ HabitPl...
Dart
ichStringHighlighter(IHighlightedPositionAcceptor acceptor) { this.acceptor = acceptor; } @Override public void announceNextLiteral(RichStringLiteral object) { resetCurrentOffset(object); } @Override public void acceptSemanticText(CharSequence text, /* @Nullable */ RichStringLiteral origin) { res...
Java
android", "layout_height"); //create ViewPager if (height.equals(ViewGroup.LayoutParams.MATCH_PARENT + "")) { } else if (height.equals(ViewGroup.LayoutParams.WRAP_CONTENT + "")) { } else { int[] systemAttrs = {android.R.attr.layout_height}; TypedArray a = context...
Java
a(255,255,255,0.2) !important; `; // Create header const header = document.createElement('div'); header.style.cssText = ` background: linear-gradient(135deg, ${this.config.primaryColor}, #1565c0) !important; color: white !important; padding: 24px !important; ...
JavaScript
e.GetUnbondingFrequency() if dayNumber%unbondingFrequency != 0 { k.Logger(ctx).Info(utils.LogWithHostZone(hostZone.ChainId, "Host does not unbond this epoch (Unbonding Period: %d, Unbonding Frequency: %d, Epoch: %d)", hostZone.UnbondingPeriod, unbondingFrequency, dayNumber)) continue } // Get host ...
Go
bj, jobject urObj) { try { QuadImageFrameLoader_AndroidRef *loader = QuadImageFrameLoaderClassInfo::getClassInfo()->getObject(env,obj); Point2dClassInfo *point2dClassInfo = Point2dClassInfo::getClassInfo(); Point2d *ll = point2dClassInfo->getObject(env,llObj); Point2d *ur = point...
C++
>为了帮助全世界的人们实现互联互通,Facebook正在测试一种通过激光束来传输互联网信息的方法。</span></p><p style="text-indent: 2em; text-align: left;"><strong><span style="font-family: 微软雅黑,Microsoft YaHei; font-size: 14px;">激光光束技术-互联网的未来</span></strong></p><p style="text-align:center"><img src="http://p5.qhimg.com/t01b5c6db335d00c87b.png" title="t01b5c6db335d00...
HTML
nstrate how you can use this tool with practical examples.\",\"title\":\"Adversary Infrastructure Tracking with Mihari - Manabu Niseki - Recon Village @DEFCON 29\",\"tags\":[\"defcon\",\"recon\",\"reconnaissance\",\"open source intelligence\",\"osint\",\"infosec\",\"information security\",\"dc29\",\"reconvillage\"],\"c...
HTML
-account-key.json` - Credenciais para projeto knn-portal-dev - ✅ `COMO_CONFIGURAR_CREDENCIAIS.md` - Guia de configuração ## Resumo Final 🎯 **Objetivo Alcançado**: Os dados foram migrados com sucesso para o Firestore de produção (knn-benefits). 📊 **Estatísticas**: - **Total de registros**: 86 - **Taxa de sucesso**...
Markdown
不安全。推荐使用其安全版本 **SFTP (SSH File Transfer Protocol)** 或 **FTPS (FTP over SSL/TLS)** 。 | | 简单邮件传输协议 (SMTP) | Simple Mail Transfer Protocol | **发送**电子邮件 | 负责将邮件从客户端发送到服务器,或在邮件服务器之间传递。可通过 **STARTTLS** 升级到加密传输。 | | 邮局协议第 3 版 (POP3) | Post Office Protocol version 3 | **接收**电子邮件 | 通常将邮件从...
Markdown
EET and the original Siege of Dragonspear expansion?"></a> <h3>Jakie są różnice pomiędzy EET a dodatkiem Siege of Dragonspear?</h3> <p>Oryginalny dodatek blokuje dostęp do obszarów przechodząc z rozdziału do rozdziału - funkcjonalność sprzeczna z ideą EET, dlatego zostało to zmienione (obszary pozostają otwarte w ciąg...
HTML
ve") ("freq", po::value<double>(&freq)->default_value(2.42e9), "RF center frequency in Hz") ("secs", po::value<double>(&seconds_in_future)->default_value(1), "number of seconds in the future to receive") ("lo-offset", po::value<double>(&lo_offset)->default_value(0.0),"Offset for frontend LO in H...
C++
,2)); if(ReadStats.COLLECT_INSERT_STATS){ if(ReadStats.merged==null){ReadStats.mergeAll();} long[] array=ReadStats.merged.insertHist.array; double median=Tools.medianHistogram(array); double q1=Tools.percentileHistogram(array, 0.25); double q3=Tools.percentileHistogram(array, 0.75); double st...
Java
eeDropItemChain ((*this)[i]); } TArray<FDropItem *>::Clear(); } int StoreDropItemChain(FDropItem *chain) { return DropItemList.Push (chain) + 1; } void PrintMiscActorInfo(AActor *query) { if (query) { int flagi; int querystyle = STYLE_Count; for (int style = STYLE_None; style < STYLE_Count; ++style) { //...
C++
2+1], v[v_sld_b_os] offset:1544 s_waitcnt lgkmcnt(2) v_mfma_f32_16x16x4f16 v[a_c+0:a_c+15], v[v_a+0:v_a+1], v[v_b+0:v_b+1], v[a_c+0:a_c+15] ; repeat:0x0, step:0x0, num_a_c:16 s_waitcnt lgkmcnt(0) v_mfma_f32_16x16x4f16 v[a_c+0:a_c+15], v[v_a+2:v_a+3], v[v_b+2:v_b+3], v[a_c+0:a_c+15] ; repeat:0x0,...
Assembly
150.159,237.984c0,3.748-3.052,6.789-6.817,6.789c-3.765,0-6.817-3.041-6.817-6.789c0-3.749,3.052-6.789,6.817-6.789C147.107,231.195,150.159,234.235,150.159,237.984z"); card.addPath("#FCF61C", null, "M169.403,237.984c0,3.748-3.053,6.789-6.818,6.789c-3.765,0-6.815-3.041-6.815-6.789c0-3.749,3.051-6.789,6.815-6.789C16...
Java
QyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbS9wYWdlYWQvanMvYWRzYnlnb29nbGUuanMiPjwvc2NyaXB0Pg=="}}};</script> <script type='text/javascript' src='https://public.spot-on-news.de/wp-content/plugins/borlabs-cookie/assets/javascript/borlabs-cookie-prioritize.min.js?ver=2.2.67' id='borlabs-cookie-prioritize-js'></script> <link rel="http...
HTML
{ "005-v21.v21", 0x080000, 0xf94ab5b7, 6 | BRF_SND }, // 10 / MB834000 { "005-v22.v22", 0x080000, 0x232cfd04, 6 | BRF_SND }, // 11 / MB834000 }; STDROMPICKEXT(maglord, maglord, neogeo) STD_ROM_FN(maglord) struct BurnDriver BurnDrvmaglord = { "maglord", NULL, "neogeo", NULL, "1990", ...
C++
r { color: white; content: attr(data-resize-role); font-size: 16px; font-weight: bold; left: 9px; position: absolute; top: 32px; } .vuuGridPalette { .vuuGridPalette-item:has([data-item-id="green"]){ background-color: green; color: white; } .vuuGridPalette-item:has([data-item-id="red"]){ ...
CSS
catch block that handles the inner exception. The inner exception object.</param> public DataServiceQueryException(string message, Exception innerException) : base(message, innerException) { } /// <summary>Initializes a new instance of the <see cref="Microsoft.OData.Client.D...
C#
;} table.zebra-striped th.headerSortUp.yellow,table.zebra-striped th.headerSortDown.yellow{background-color:#fff6d9;} table.zebra-striped th.orange{color:#f89406;border-bottom-color:#f89406;} table.zebra-striped th.headerSortUp.orange,table.zebra-striped th.headerSortDown.orange{background-color:#fee9cc;} table.zebra-s...
CSS
tzOffset) .done(function (stats) { var reviewedList = $('<table class="links reviewed"><thead><tr><th colspan="2">Reviewed</th></tr></thead><tbody></tbody></table>'); var tbody = reviewedList.find('tbody'); $.each(stats.reviewed, function (_, stat) { var tr = $( '<tr class...
JavaScript
ata["name"] = keyHandle["name"] data["kms_key"] = keyHandle["kmsKey"] data["resource_type_selector"] = keyHandle["resourceTypeSelector"] keyHandles = append(keyHandles, data) } return keyHandles, nil } // Copyright (c) HashiCorp, Inc. // SPDX-License-Identifier: MPL-2.0 package kubernetes import ( "reflect...
Go
(true, "UndergroundPassage") -- reset for a new count c = 0 for x = 100, width do if c > entity_count then break end for y = 10, height do if c > entity_count then break end local mod = 5 local plusone = entity_list[c+1] if plusone then -- add more space f...
Lua
ProductPageHeader__mainWrappe__3u16h.LevelFourProductPageHeader__stickType__2SNfY .LevelFourProductPageHeader__subMenuWrapper__1Isbi{overflow-y:scroll}}.LevelFourProductPageHeader__mainWrappe__3u16h.LevelFourProductPageHeader__stickType__2SNfY .LevelFourProductPageHeader__modelNameContainer__1v7C1 .LevelFourProductPage...
CSS
.Canvas, sty draw.GlyphStyle, pt vg.Point) { var p vg.Path c.Push() c.SetColor(color.White) p.Move(vg.Point{X: pt.X + sty.Radius, Y: pt.Y}) p.Arc(pt, sty.Radius, 0, 2*math.Pi) p.Close() c.Fill(p) c.Pop() c.Stroke(p) } // Copyright ©2015 The Gonum Authors. All rights reserved. // Use of this source code is gove...
Go
password: [ translate("The both password must be the same"), translate("Use password preview for make sure you haven't any typo errors") ], rePassword: [ translate("The both password must be the same") ] }; } return {}; }; import type { Maybe } from "./Base"; export interface Query<T> { ...
Typescript