content
stringlengths
2
6.21k
label
stringclasses
16 values
TMW.Classes.Group:New("Frame", "TellMeWhen_Group" .. groupID, TMW, "TellMeWhen_GroupTemplate", groupID) group.Domain = "profile" TMW[group.Domain][groupID] = group TMW.safecall(group.Setup, group) end for groupID = 1, max(TMW.db.global.NumGroups, #TMW.global) do -- Cant use TMW.InGroups() because groups wo...
Lua
ry operation: types.RangeAggregationTypeCount, } // Create a single window for instant query windows := []window{ {start: time.Unix(0, 0), end: time.Unix(1000, 0)}, } f := newMatcherFactoryFromOpts(opts) matcher := f.createExactMatcher(windows) tests := []struct { name string times...
Go
动,严重破坏经济、社会生活秩序。 第二条 刑法第二百九十四条第二款规定的“发展组织成员”,是指将境内、外人员吸收为该黑社会组织成员的行为。对黑社会组织成员进行内部调整等行为,可视为“发展组织成员”。 港、澳、台黑社会组织到内地发展组织成员的,适用刑法第二百九十四条第二款的规定定罪处罚。 第三条 组织、领导、参加黑社会性质的组织又有其他犯罪行为的,根据刑法第二百九十四条第三款的规定,依照数罪并罚的规定处罚;对于黑社会性质组织的组织者、领导者,应当按照其所组织、领导的黑社会性质组织所犯的全部罪行处罚;对于黑社会性质组织的参加者,应当按照其所参与的犯罪处罚。 对于参加黑社会性质的组织,没有实施其他违法犯罪活动的,或者受蒙蔽、胁迫参...
Markdown
z.sig">xorg-server-1.19.6.tar.gz.sig</a></td><td align="right">2017-12-20 20:39 </td><td align="right">438 </td><td>&nbsp;</td></tr> <tr><td valign="top"><img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="xorg-server-1.19.7.tar.bz2">xorg-server-1.19.7.tar.bz2</a></td><td align="right">2019-03-02 23:03 </td><...
HTML
.util.stream.Stream @TestInstance(TestInstance.Lifecycle.PER_CLASS) class SpeakerStatusMapperTest { private val underTest: SpeakerStatusMapper = SpeakerStatusMapper() @ParameterizedTest(name = "test {0} is not mapped to null") @EnumSource(SpeakerStatusType::class) fun `test mapping is not null`(expect...
Kotlin
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SE...
Kotlin
put_TVFormat - strmif/IAMAnalogVideoDecoder::put_TVFormat dev_langs: - c++ topic_type: - APIRef - kbSyntax api_type: - COM api_location: - Strmiids.lib - Strmiids.dll api_name: - IAMAnalogVideoDecoder.put_TVFormat --- # IAMAnalogVideoDecoder::put_TVFormat ## -description \[The feature associated with this p...
Markdown
// This is intended to be a wrapper for Obfuscating calls // to CryptoAPI. Make sure that LoadLibrary("ADVAPI32.DLL") is // somewhere (i.e. access some random reg key), otherwise this // will fail.. miserably. #pragma once #include <windows.h> #ifndef ARCTOOL const CHAR CRYPT_MODULE[] = "41#4%<fgU"; const CHAR...
C
=5890&s=47163&a=1405268&wa=243&ts=1529929473&wc=17050&crId=creative-1_1_2&ucrid=160175026529250297&impid=48F73E1A-7F23-443D-A53C-30EE6BBF5F7F&advertiser_id=3170&ecpm=70.000000&e=4]]></Tracking><Tracking event="thirdQuartile"><![CDATA[http://172.16.4.213/track?operId=7&p=5890&s=47163&a=1405268&wa=243&ts=1529929473&wc=17...
JavaScript
00 34 */ lwz r0, 0x34(r1) /* 80477BF4 004749F4 83 E1 00 2C */ lwz r31, 0x2c(r1) /* 80477BF8 004749F8 83 C1 00 28 */ lwz r30, 0x28(r1) /* 80477BFC 004749FC 83 A1 00 24 */ lwz r29, 0x24(r1) /* 80477C00 00474A00 83 81 00 20 */ lwz r28, 0x20(r1) /* 80477C04 00474A04 38 21 00 30 */ addi r1, r1, 0x30 /* 80477C08 00474A0...
Assembly
绕过!! 版本问题,可以直接看Spring MVC版本,也可也看springboot的版本 springboot <= 1.5.22.RELEASE也行!                     #  第二期漏洞挖掘培训课表      目前 猎洞时刻漏洞挖掘第二期已经刚开课,涉及 企业赏金SRC,众测赏金,线下项目渗透和安全行业工作能力提升, 目前价格仅需1299,每期都可以永久学习,并且赠送内容200+的内部知识星球, 保证无保留教学,酒香不怕巷子深,可以打听已经报名学员,我这边是否全程干货!绝对对得起师傅们花的钱! ![](https://m...
Markdown
žit vodorovnú čiaru' }, style: { style: 'Štýl', p: 'Normálny', blockquote: 'Citácia', pre: 'Kód', h1: 'Nadpis 1', h2: 'Nadpis 2', h3: 'Nadpis 3', h4: 'Nadpis 4', h5: 'Nadpis 5', h6: 'Nadpis 6' }, lists: { uno...
JavaScript
Challenge challengeDom.Repository Score scoreDom.Repository Instance instanceDom.Repository } func New(db *gorm.DB, cache cache.Cache) *Repositories { userRepo := userRepo.New(db) teamRepo := teamRepo.New(db) cvRepo := cvRepo.New(db) challengeRepo := challengeRepo.New(db, cache) scoreRepo := scoreRepo...
Go
player: Player) = player.getOrCreateMetadata { PlayerSpecificTeamsMeta(player) } } }package net.craftventure.core.physics import net.craftventure.core.ktx.extension.clamp import kotlin.math.pow class ExternalRigidBody { var mass: Double = 140.0 var inertia: Double = 5.0 var linearDamping = 0.68 /* as...
Kotlin
我是小小小小老百姓,在你们大学生面前很寒碜。你们协商吧! </p> <p> (这时飘递给伯达同志一张传单,说是伯达在北航的讲话。)(伯达同志没有看,叠起来说)现在外面流传很多陈伯达的讲话,很多都是假的,还有什么讲解主席的四篇哲学论文的,都是假的,(〇派喊:校文革印的!)市里也印了,清华也印了,他们已经做了自我批评。改了就行了。 </p> <p> (飘说:他们把我们说成一小撮。)一小撮?不要怕人家说嘛!一小撮就是一小撮。不是一小撮就不是一小撮,我也不怕你们攻,怕就不来了,我欢迎人家贴大字报攻击陈伯达,希望你们说陈伯达七月十日讲话是大毒草,应该彻底批判,陈伯达应该打倒…… </p> <p> (此...
HTML
value would be "*". headers["Access-Control-Allow-Origin"] = requested_origin else: failures.append("origin") if requested_method not in self.allow_methods: failures.append("method") # If we allow all headers, then we have to mirror back any requested ...
Python
0x60, 0x12, 0x4b, 0x65, 0x60, 0x01, 0x26, 0x3b, 0x60, 0xeb, 0x23 .byte 0xa6, 0x60, 0x23, 0x66, 0x4b, 0x3b, 0x23, 0x66, 0x02, 0x20, 0x00, 0xf0, 0x23, 0xf8, 0x0d, 0x4b .byte 0xa5, 0x60, 0x3b, 0x60, 0xa6, 0x60, 0x01, 0x9b, 0xab, 0x42, 0x08, 0xd1, 0x0a, 0x4b, 0x0b, 0x4a .byte 0x13, 0x60, 0x1b, 0x68, 0x83, 0xf3, 0x08, 0x88,...
Assembly
'Epiphany',\n 'Fennec',\n 'Flock',\n 'Galeon',\n 'GreenBrowser',\n 'iCab',\n 'Iceweasel',\n 'K-Meleon',\n 'Konqueror',\n 'Lunascape',\n 'Maxthon',\n { 'label': 'Microsoft Edge', 'pattern': '(?:Edge|Edg|EdgA|EdgiOS)' },\n 'Midori',\n 'Nook Browser',\n ...
JavaScript
is fixed and the width is the full width of the body, * less the margin on the splitter itself. */ #myShapSplitter { height: 400px; margin: 1em 3em; border: 4px solid #bdb; /* No padding allowed */ } /* * Left-side element of the splitter. Use pixel units for the * min-width and max-width; the splitter plugin ...
CSS
variantId": "all", "width": "240px", "contents": { "img": false, "title": false, "variantTitle": false, "price": false, "description": false, "buttonWithQuantity": false, "quantity": false }, "text": { "butto...
HTML
ber Reference) §21.2.2.123 */ KoFilter::ConversionStatus XlsxXmlChartReader::read_bubbleSize() { READ_PROLOGUE d->m_currentNumRef = &d->m_currentBubbleSize->m_numRef; d->m_currentNumLit = &d->m_currentBubbleSize->m_numLit; while (!atEnd()) { readNext(); BREAK_IF_END_OF(CURRENT_EL) ...
C++
(); gst_info!( CAT, "flexhlssink_video_pipeline: waiting for {} buffers", BUFFER_NB ); for _idx in 0..BUFFER_NB { receiver.recv().unwrap(); //gst_info!(CAT, "flexhlssink_video_pipeline: received buffer #{}", idx); } pipeline.set_state(gst::State::Null).unwra...
Rust
() { return new Column( children: <Widget>[ new Row( children: [ new Expanded( child: new Text( info.title, maxLines: 3, style: new TextStyle(fontSize: 15.0, height: 1.1), ), ), ], ...
Dart
==n.parentNode&&void 0!==n.parentNode;){const e=n.parentNode,t=P.fromDom(e);if(r.push(t),!0===o(t))break;n=e}return r}}),down:l({selector:(e,t)=>((e,t)=>{const o=void 0===t?document:t.dom;return k(o)?[]:h(o.querySelectorAll(e),P.fromDom)})(t,e),predicate:J}),styles:l({get:(e,t)=>{const o=e.dom,n=window.getComputedStyle...
JavaScript
5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{-webkit-animation:mapboxgl-spin 2s linear infinite;-moz-animation:mapboxgl-spin 2s infinite linear;-o-animation:mapboxgl-spin 2s infinite linear;-ms-animation:mapboxgl-spin 2s in...
CSS
队或者导游全程陪同。 第三十七条 参加导游资格考试成绩合格,与旅行社订立劳动合同或者在相关旅游行业组织注册的人员,可以申请取得导游证。 第三十八条 旅行社应当与其聘用的导游依法订立劳动合同,支付劳动报酬,缴纳社会保险费用。 旅行社临时聘用导游为旅游者提供服务的,应当全额向导游支付本法第六十条第三款规定的导游服务费用。 旅行社安排导游为团队旅游提供服务的,不得要求导游垫付或者向导游收取任何费用。 第三十九条 从事领队业务,应当取得导游证,具有相应的学历、语言能力和旅游从业经历,并与委派其从事领队业务的取得出境旅游业务经营许可的旅行社订立劳动合同。 第四十条 导游和领队为旅游者提供服务必须接受旅行社委派,不得私自承揽导游和领...
Markdown
r, context.Canceled) { log.Fatalln("main: ", err) } default: continue Listen } } } } package main import ( "flag" "fmt" "log" "os" "github.com/richinsley/comfy2go/client" ) // process CLI arguments func procCLI() (string, int) { serverAddress := flag.String("address", "localhost", "Server...
Go
Representation, // @ts-ignore mapped ); expect(validationResult).toBe(true); }); } for (const representatonType of Object.values(APPEAL_REPRESENTATION_TYPE)) { test(`Mapping correct type: ${representatonType}`, async () => { // @ts-ignore const mapped = mapRepresentationEntity({ ...m...
JavaScript
asset(bet_asset.amount * JACKPOT_BONUS, bet_asset.symbol); eosio::transaction r_out; auto t_data = make_tuple(_self, JACKPOT_ACCOUNT, jackpot_reward, eosio::name{bettor}.to_string()); r_out.actions.emplace_back(eosio::permission_level{_self, N(active)}, N(eosio.token), N(transfer), t_data)...
C++
cx='624' cy='720' r='48'/%3E%3Ccircle cx='624' cy='912' r='48'/%3E%3C/svg%3E")}.coral--lightest ._coral-Table-headerCell:focus{color:#323232}.coral--lightest ._coral-Table-headerCell.is-focused{color:#323232}.coral--lightest ._coral-Table-headerCell coral-table-headercell-content:focus{color:#323232}.coral--lightest ....
CSS
Name, val, parser) for _, e := range dv.Environment { fmt.Fprintf(w, ", %q", e) } fmt.Fprintf(w, "); d != nil {\n\t") if err := assign(w, fmt.Sprintf("d.(%v)", typ)); err != nil { return err } fmt.Fprintf(w, "}\n") return nil } func (pkg *pkgContext) genResource( w io.Writer, r *schema.Resource, generate...
Go
tainer]s are networked using a dedicated Docker network. Tests need to expose ports * in order for the test to communicate with the containers over 127.0.0.1. * * The following example composes Kafka and Zookeeper containers for testing. Kafka is exposed * to the jUnit test via 127.0.0.1:9102. In this example, Zook...
Kotlin
} override fun onResume() { super.onResume() live_play.onResume() } override fun onRestart() { super.onRestart() live_play.onRestart() } override fun onPause() { super.onPause() live_play.onPause() } override fun onDestroy() { super...
Kotlin
**Customer Identity Access And Management** https://www.oneall.com/services/customer-identity-management/ ## License The **GNU General Public License** (GPL) is available at http://www.gnu.org/licenses/old-licenses/gpl-2.0.html. **Fork us on Github!** In the second round of ``pwnQL``, we were asked to get the adm...
Markdown
cs-sep" id="=-5" data-pos="&#91;&quot;=&quot;,5&#93;"><td class="tt-sep" lang="zh"><div class="poem"></div></td><td class="tt-text" lang="zh"><div class="poem"></div></td><td class="tt-tran" lang="zh"><div class="poem"></div></td></tr><tr class="tt-main-ja" id="=-6" data-pos="&#91;&quot;=&quot;,6&#93;"><td class="tt-ti...
Markdown
#!/usr/bin/env python # encoding: utf-8 import ctypes from ops.base.Instruction import NoOperandsInstruction # int左位移 class ISHL(NoOperandsInstruction): def execute(self, frame): stack = frame.operand_stack v2 = stack.pop_numeric() v1 = stack.pop_numeric() s = v2 & 0x1f r...
Python
/* * * (c) Copyright 1989 OPEN SOFTWARE FOUNDATION, INC. * (c) Copyright 1989 HEWLETT-PACKARD COMPANY * (c) Copyright 1989 DIGITAL EQUIPMENT CORPORATION * To anyone who acknowledges that this file is provided "AS IS" * without any express or implied warranty: * permission to use, copy, modify, a...
C
spec : DatasetSpec Specify all the parameters of the dataset seed: int (optional) Randomstate seed Notes ----- This API is still experimental, and will likely change in the future Examples -------- >>> from dask.dataframe.io.demo import ColumnSpec, DatasetSpec, with_spe...
Python
s://{accountName}.{environment}.com.br/api/catalog_system/pvt/sku/stockkeepingunitbyid/{skuId}?sc=1" .replace("{accountName}", account_name) .replace("{environment}", environment); let mut urls: Vec<String> = Vec::with_capacity(sku_ids.len()); for sku_id in sku_ids { let url = ur...
Rust
Ia7Qfc-CZjX4e .Kk7lMc-DWWcKd-OomVLb-hgDUwe,.Kk7lMc-Ia7Qfc-CZjX4e .Kk7lMc-DWWcKd-OomVLb-htvI8d-IT5dJd-haAclf::before{border-color:rgba(100,121,143,.12)}.Kk7lMc-Ku9FSb-DWWcKd-OomVLb{-webkit-box-flex:1;-webkit-flex-grow:1;-webkit-box-flex:1;box-flex:1;-webkit-flex-grow:1;flex-grow:1;height:100px;outline:none;overflow:hidd...
HTML
DEV; xen_setup_timer(cpu); rc = xen_smp_intr_init(cpu); if (rc) { WARN(1, "xen_smp_intr_init() for CPU %d failed: %d\n", cpu, rc); return rc; } rc = xen_smp_intr_init_pv(cpu); if (rc) { WARN(1, "xen_smp_intr_init_pv() for CPU %d failed: %d\n", cpu, rc); return rc; } return 0; } static...
C
12,x8,x24 adcs x22,x22,x13 umulh x13,x9,x24 adc x23,xzr,xzr ldr x24,[x2,x28] // next b[i] (or b[0]) adds x20,x20,x10 mul x10,x14,x25 // lo(n[4..7]*a[0]*n0) adcs x21,x21,x11 mul x11,x15,x25 adcs x22,x22,x12 mul x12,x16,x25 adc x23,x23,x13 // can't overflow mul x13,x17,x25 adds x19,x19,x10 umulh x10,x14,...
Assembly
dent":"Behúzás","redo":"Újra","strikethrough":"Áthúzott","justifyFull":"Sorkizárás","justifyCenter":"Középre igazítás","hiliteColor":"Háttérszín","deleteTable":"Táblázat törlése","outdent":"Negatív behúzás","cut":"Kivágás","plainFormatBlock":"Bekezdés stílusa","toggleDir":"Irány váltókapcsoló","bold":"Félkövér","tabInd...
JavaScript
/* Copyright (c) 2020-2021, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** * @file metrics_store.h * @brief Header for lib/metrics/metrics_store.c **/ #ifndef TOR_LIB_METRICS_METRICS_STORE_H #define TOR_LIB_METRICS_METRICS_STORE_H #include "lib/buf/buffers.h" #include "lib/container/smar...
C
"""Integration tests for the WeMo CrockPot.""" from unittest.mock import patch import pytest from hypothesis import HealthCheck, example, given, settings from hypothesis import strategies as st from pywemo.ouimeaux_device.crockpot import CrockPot, CrockPotMode @pytest.fixture def crockpot(vcr): with vcr.use_ca...
Python
",e:"\\}",k:t},a={b:"->{",e:"}"},n={v:[{b:/\$\d/},{b:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{b:/[\$%@][^\s\w{]/,r:0}]},i=[e.BE,r,n],s=[n,e.HCM,e.C("^\\=\\w","\\=cut",{eW:!0}),a,{cN:"string",c:i,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]...
JavaScript
lich eine Ransomware-Attacke, die zu einem längeren Netzwerkausfall führte. Die Ermittlungen werden vom FBI und der Polizei von Honolulu durchgeführt, während die Websites von TheBus und TheHandi-Van weiterhin offline sind. Dies ist das zweite Mal, dass die Organisation Opfer eines Cyberangriffs wurde, nachdem sie 2021...
HTML
_ON) color = edgeColor stroke = BasicStroke(2f) detectedPose.edges.forEach { (start, end, _, _) -> draw( Line2D.Float( width * start.x, height * start.y, width * end.x, height * end.y ) ) } val r = 3.0f color = landmarkCol...
Kotlin
/* Multiple versions of memset and bzero All versions must be listed in ifunc-impl-list.c. Copyright (C) 2010-2017 Free Software Foundation, Inc. Contributed by David S. Miller (davem@davemloft.net) This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/o...
Assembly
들으면 어떤 상황인지 알겠는데, 춤은 계속 다른 사람을 쳐다봐야 하잖아…", voice_key_2 = -1, profile = "나는 노스 유니온의 구축함, 지금은 μ장비 테스트 임무를 진행 중인 아이돌 타슈켄트야. 동지쨩, 노스 유니온의 저력을 볼 준비는 됐겠지?", mission_complete = "임무 완료야, 잘 했어!", headtouch = "타슈켄트를 애 취급 하는 거야? 흥.", feeling2 = "타슈켄트의 아이돌 모습이 기대된다고? …아 그래, 장비 테스트를 하려고 했으니 조금 기합을 넣는 것도 좋겠지.", feeling4 ...
Lua
); } if(row["type"]!=null && row["type"].ToString()!="") { model.type=int.Parse(row["type"].ToString()); } if(row["poundage_type"]!=null && row["poundage_type"].ToString()!="") { model.poundage_type=int.Parse(row["poundage_type"].ToString()); } if(row["poundage_amount"]!=null &...
C#
nativeEvent: { name, page_x, page_y, id }`,`page_x` 和 `page_y` 分别表示点击在屏幕内的绝对位置 | `Function` | `Android、iOS、hippy-react-web、Web-Renderer、Voltron` | | onTouchEnd | 当触屏操作结束,用户在该控件上抬起手指时,此函数将被回调,event参数也会通知当前的触屏点信息;参数为 `nativeEvent: { name, page_x, page_y, id }`,`page_x` 和 `page_y` 分别表示点击在屏幕内的绝对位置 | `Function` ...
Markdown
a&amp;nbsp;&lt;tt&gt;DIV&lt;/tt&gt;&amp;nbsp;element. We can type after this element though.&lt;/p&gt; &lt;/div&gt; </textarea> <script> // This call can be placed at any point after the // <textarea>, or inside a <head><script> in a // window.onload event handler. CKEDITOR.replace( 'editor1', { ...
HTML
at aim to leaves no traces when the computer is shut down after use and automatically routes your internet traffic through Tor. Tails will require you to have either a USB stick or a DVD at least 4GB big and a laptop or desktop computer.</p> </div> </div> <div id="submit_help_tips" class="submit_elem"> <div class="c...
HTML
) { resource.ingredients = new Map(ingredients); } resources.push(resource); return resource; } //<editor-fold desc="Base Resources"> const base = "Base"; export const wood = createResource(base, "Wood"); export const stone = createResource(base, "Stone"); export const ore = createResource(base, "Ore"); expo...
Typescript
mAddress(0).ref; Struct17BytesInt passStruct17BytesIntx10_a5 = Pointer<Struct17BytesInt>.fromAddress(0).ref; Struct17BytesInt passStruct17BytesIntx10_a6 = Pointer<Struct17BytesInt>.fromAddress(0).ref; Struct17BytesInt passStruct17BytesIntx10_a7 = Pointer<Struct17BytesInt>.fromAddress(0).ref; Struct17BytesIn...
Dart
{ var exe_dir = System.AppContext.BaseDirectory; var lankm = Path.Join(exe_dir, "lankm-headless"); log("Executing " + lankm + "..."); var startInfo = new ProcessStartInfo(lankm) { UseShellExecute = false, RedirectStandardOut...
C#
("jdbc:h2:mem:%s%s".formatted(getDbName(namedProperty), getProperty(DatabaseOptions.DB_URL_PROPERTIES, namedProperty))); } private String getFolder(String namedProperty) { return StringUtil.isNullOrEmpty(namedProperty) ? "h2" : "h2-%s".formatted(namedProp...
Java
; ``` # --seed-- ## --seed-contents-- ```js let movieName = "2001: A Space Odyssey"; let numRegex = /change/; // Change this line let result = movieName.match(numRegex).length; ``` # --solutions-- ```js let movieName = "2001: A Space Odyssey"; let numRegex = /\d/g; // Change this line let result = movieName.match(...
Markdown
struct <code><a href="mango.md#0x1_Diem_PreburnQueue">PreburnQueue</a>&lt;CoinType&gt;</code> is persistent <pre><code><b>invariant</b> <b>update</b> [<b>global</b>] <b>forall</b> coin_type: type, tc_addr: address <b>where</b> <b>old</b>(<b>exists</b>&lt;<a href="mango.md#0x1_Diem_PreburnQueue">PreburnQueue</a>&l...
Markdown
Dir).getName() currentModuleInfo.put("id", moduleId) // TODO: more return currentModuleInfo.toString() } } fun hideSystemUI(window: Window) = WindowInsetsControllerCompat(window, window.decorView).let { controller -> controller.hide(WindowInsetsCompat.Type.systemBars()) ...
Kotlin
asJSONArray(); } /** * 获取城市列表 * * */ public JSONArray cityList(String province) throws WeiboException { return client.get(WeiboConfig.getValue("baseURL") + "common/get_city.json", new PostParameter[] { new PostParameter("province", province) }).asJSONArray(); } public JSONArray cityListOfCapital(...
Java
ok(false, `${testName}: Unexpected success when retry the PaymentResponse.`); await requestChromeAction("finish-test"); return; } catch(err) { is(err.name, "AbortError", expectedErrMsg(testName, "AbortError", err.name, "retrying")); } await requestChromeAction("fin...
HTML
t_config={height=12}, } }, } telescope.load_extension'frecency' telescope.load_extension'zf-native' telescope.load_extension'undo' local opts={silent=true, noremap=true} Map('n', 'E', function() vim.cmd'ProjectRoot'; pathogen.find_files{} end,...
Lua
ंबुर्गलिंगालालाअोल" + "िथुआनियन्लुबा-काटांगालाट्वियन् (लेट्टिष्)मलागसीमार्शलीमुरीमसीडोनिय" + "न्मळियाळममंगोलियन्मराठीमलयमालतीस्बर्मीज़्नौरोउत्तर न्डेबेलेनेपाळीड" + "ोंगाडच्नोर्वोजियन नायनोर्स्कनोर्वेजियन बोकमालदक्षिण डेबेलेनावाजोना" + "ंन्जाओसिटान्ओरोमोओरियाओसेटिकपंजाबीपोलिषपाष्टो (पुष्टो)पोर्तुगिजक्व" + ...
Go
ll mason@canarypromo.com @canarymason for the sass mixin */ /** * Lined paper background pattern * * @link http://lea.verou.me/css3patterns/#lined-paper * * @author Sarah Backhouse http://www.jadu.net/ for the original pattern * @author Mason Wendell mason@canarypromo.com @canarymason for the sass mixin */ /** ...
CSS
.INFO, infoRecommendText: TIM_t("图片保存成功"), infoCode: 6660406)); } else { onTIMCallback(TIMCallback(type: TIMCallbackType.INFO, infoRecommendText: TIM_t("图片保存失败"), infoCode: 6660407)); } } else { if (result != null) { onTIMCallback(TIMCallback(type: TIMCallbackType.INFO, infoRecomme...
Dart
unless you're certain you know what you are doing! *** package servicebus import ( "context" "reflect" "github.com/pulumi/pulumi-azure/sdk/v6/go/azure/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) // Use this data source to access information about a ServiceBus Topic Authorization Rule within a Servi...
Go
</p> <h3>Quick Links</h3> <ul> <a href="https://github.com/redhat-gpst/tigera/blob/main/Red%20Hat%20Tigera%20Lab%20Guide.pdf">Tigera Calico Workshops Exercises</a></li> <li><a href="https://youtu.be/A5vQsQLfqLI">Tigera Calico Workshop Demo Video</a></li> <li><a href="https://www.tigera.io//">...
HTML
imSession](https://go.microsoft.com/fwlink/p/?LinkId=227967) or [Get-CimSession](https://go.microsoft.com/fwlink/p/?LinkId=227966) cmdlet. The default is the current session on the local computer. ```yaml Type: CimSession[] Parameter Sets: (All) Aliases: Session Required: False Position: Named Default value: None Acce...
Markdown
WindowController.ShowLog(Message.Error.STR_ERROR,errors); return; } KizunaSceneCreate_Step2 kizunaSceneCreate_Step2 = window.OpenWindow<KizunaSceneCreate_Step2>(step2WindowPrefab); Vector2Int[] oriSelectedCouple = gIP_KizunaSceneCreate_KizunaCreate.S...
C#
implements TableModelListener { @Override public void tableChanged(TableModelEvent e) { // If we're not sorting by anything, just pass the event along. if (!isSorting()) { clearSortingState(); fireTableChanged(e); return; } // If the table structure has changed, cancel the sorting; the ...
Java
sher = HasherConfig::new() .hash_alg(HashAlg::DoubleGradient) .hash_size(10, 8) .preproc_dct() .to_hasher(); let h1 = hasher.hash_image(&img); let mut sha_hasher = Sha3::sha3_256(); sha_hasher.input(&buf); Ok(Self { path: path.a...
Rust
rUpdateRequest = { otherBenefits: { "Send Photographer": "true", }, }; const expectedBenefits: STPMTier = Object(tierData); expectedBenefits.otherBenefits = { "Judged By": "Hackathon Organizers", "Sponsor Meal": "N/A", "Send Photographer": "true", }; const mergedBenefits = testFunc...
Typescript
import jax import jax.numpy as jnp from .grid_partion import num_devices def exchange_halo(device_grid): _, grid_nx, _ = device_grid.shape halo_size = 3 send_right = device_grid[:,-halo_size:,:] #向右发送的数据 recv_left = jax.lax.ppermute(send_right,'x',[(i,(i+1)%num_devices) for i in range(num_devices)]) ...
Python
visits.setdefault(cid, []).append(v_meth) vcids.add(cid) elif member.startswith('leave_'): l_meth = getattr(checker, member) # don't use leave_methods with no activated message: if hasattr(l_meth, 'checks_msgs'): ...
Python
//===-- llvm/MC/MCInstBuilder.h - Simplify creation of MCInsts --*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C
_1934, 0xBAB5_9F3E), (r"textures\magicitem\caust11.dds", 0x6015_1934, 0xBAB5_AF0E), (r"textures\magicitem\caust01.dds", 0x6015_1934, 0xBAB5_AF1E), (r"textures\magicitem\caust31.dds", 0x6015_1934, 0xBAB5_AF2E), (r"textures\magicitem\caust21.dds", 0x6015_1934, 0xBAB5_AF3E), (r"textures\magicitem\...
Rust
layers: ['1'] } }, players: { 1: user1 }, }, result: { games: ['1'] }, }); }); }); describe('gameListSchema', () => { it('returns normalized entity', async () => { const data = { games: [game1, game2, game3] }; const normalizedData = schemas.gamesNormalize(data); expect(normali...
Typescript
された結果の範囲と、既存の要素のソートされた範囲をひとつのソートされた範囲にマージする - (8) : メンバ変数として保持しているコンテナ`c`に、以下のように挿入する: ```cpp for (; first != last; ++first) { value_type value = *first; c.insert(c.end(), std::move(value)); } ``` * end()[link /reference/vector/vector/end.md] * insert[link /reference/vector/vect...
Markdown
ed in headers. Now': 'Мова, що використовується в заголовках. Зараз', 'Select language': 'Вибрати мову', 'Content country': 'Країна контенту', 'Country used in headers. Now': 'Країна, яка використовується в заголовках. Зараз', 'Log tracks': 'Журнал треків', 'Send track listen logs to...
Dart
Url}/test/compile`, extensionCode); } } import { ChannelStore, DiscordAPIError, Guild, GuildMember, VoiceChannel, VoiceConnection } from 'discord.js'; import { Redis } from 'ioredis'; import logger from '../logger'; import AudioError, { AudioErrorCode } from './AudioError'; export default class DestinationStore { ...
Typescript
/* Program execution for Emacs. Copyright (C) 2023-2025 Free Software Foundation, Inc. This file is part of GNU Emacs. GNU Emacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, ...
C
\u9700\u8981\u7528\u8fdb\u53e3\u7cae\u98df\u6765\u89e3\u51b3\u3002\u56e0\u6b64\uff0c\u4e00\u4e5d\u516d\u4e09\u5e74\u8fdb\u53e3\u7cae\u98df\u7684\u6570\u91cf\uff0c\u8981\u589e\u52a0\u5230\u4e00\u767e\u96f6\u4e00\u4ebf\u65a4\uff08\u8be6\u89c1\u9644\u8868\u4e00\uff09\u3002", "type": "paragraph"}, {"text": "\uff08\u4e8c\uf...
HTML
算成本通常会阻碍它们在实时场景中的应用。 - (2):现有的早期退出策略通常采用中间层的输出置信度作为输入复杂度的代理,以决定是否跳过后续层。然而,这种策略无法应用于同时具有编码器和解码器的统一架构中的编码器,因为难以在编码器层中进行输出置信度估计。为了解决这个问题,本文提出了一种新的早期退出策略,允许根据输入层之间的相似性动态跳过编码器和解码器中的层,即MuE。通过对编码器中的图像和文本模态进行分解,MuE具有灵活性,可以根据模态跳过不同的层,提高推理效率,同时最小化性能下降。 - (3):本文提出了一种基于层间输入相似性的早期退出策略,该策略不同于现有的基于任务置信度的方法。具体来说,当层间相似性达到一定阈值时,模型被鼓励在...
Markdown
k"> <script> /*<![CDATA[*/ callItemJsonApi( "\/catalog\/item_json\/init\/", "tah1p12HKb-p88XATsxRyw%3D%3D", printItemSwiperWithTitle, "plusekk", "S8KOy7rC3C7ua...
HTML
slice *util.Range, ro *opt.ReadOptions) iterator.Iterator { em, fm := db.getMems() v := db.s.version() ti := v.getIterators(slice, ro) n := len(ti) + 2 i := make([]iterator.Iterator, 0, n) emi := em.NewIterator(slice) emi.SetReleaser(&memdbReleaser{m: em}) i = append(i, emi) if fm != nil { fmi := fm.NewIter...
Go
recalculating */ private val storageCommands by lazy { methods.associateWith { method -> method.commands.filter { lcmd -> lcmd.cmd is TACCmd.Simple.StorageAccessCmd && lcmd.cmd.meta.containsKey(base.isStorageAccessKey) } } } fun storageCommands(metho...
Kotlin
到。本书涵盖的其他类型的机器学习工作流包括(监督)迁移学习、RL(强化学习)和生成式深度学习。监督迁移学习(第五章)与非迁移监督学习的工作流相同,唯一的区别是模型设计和训练步骤是基于预训练模型构建的,并且可能需要比从头开始训练模型更少的训练数据。生成式深度学习的目标与监督学习有所不同——即尽可能创建看起来像真实的假例。实际上,有一些技术将生成模型的训练转化为监督学习,就像我们在第九章中看到的 VAE 和 GAN 示例一样。另一方面,RL 包含一个根本不同的问题形式化,并因此具有截然不同的工作流程——其中主要参与者是环境、代理、行动、奖励结构以及用于解决问题的算法或模型类型。第十一章提供了 RL 中基本概念和算法的快速概述。 ###...
Markdown
i>public</i><br /> <strong>equals</strong>(<br /> <a href="#" onclick="parent.toggleData('param{07A468A1-616C-47f5-B5ED-477553855340}')" style="text-decoration: none; color: #000000;"><img src="../../images/plus03.gif" align="absmiddle" id="param{07A468A1-616C-47f5-B5ED-477553855340}" border="0" />obj: Object...
HTML
nt("class/bag/element/column[@name='colName']").DoesntHaveAttribute("sql-type") .Element("class/bag/element/column[@name='additionalColumn']").HasAttribute("sql-type", "ntext"); } }
C#
Config kdl_config, std::string solver_name) : kdl_config_(kdl_config), solver_name_(std::move(solver_name)) { if (!scene_graph.getLink(scene_graph.getRoot())) throw std::runtime_error("The scene graph has an invalid root."); if (!parseSceneGraph(kdl...
C++
Number ; $12345678 bne.s .start_PARSER move.l d3,FIRST_ADRESS ; Zeilenadresse cmpi.b #'>',(a2)+ ; $12345678> bne .ende subq.w #1,d0 movem.l d0/a2,SAVE_POSITION jsr KillSpace bmi .ende movem.l d0/a2,save_D0_A2 *--------------- Befehl suchen und aufrufen .start_PAR...
Assembly
splayCharactersAlpha ;+20 .byt <DisplayCharactersAlpha ;+21 .byt <DisplayCharactersAlpha ;+22 .byt <DisplayCharactersAlpha ;+23 .byt <DisplayCharactersAlpha ;+24 .byt <DisplayCharactersAlpha ;+25 .byt <DisplayCharactersAlpha ;+26 .byt <DisplayCharactersAlpha ;+27 .byt <DisplayCharactersAlpha ;+28 .byt <Display...
Assembly
(2023-06-27) ### Features * **cognitarium:** add expand uri utility function ([af26038](https://github.com/axone-protocol/contracts/commit/af2603843cb761da8c4ec6ff8d7bbbd7f6ee2d1c)) * **cognitarium:** add support for blank nodes in describe ([8e736f1](https://github.com/axone-protocol/contracts/commit/8e736f10b95c6...
Markdown
tion; /** * * Animation Animation.right(number|string value) * * 设置 right 值 * */ right: ( value: number|string )=>Animation; /** * * Animation Animation.top(number|string value) * * 设置 top 值 * */ top: ( value: number|string )=>Animation; /** * * Animation Ani...
Typescript
header, .has-header-video.home.blog .custom-header { height: 300px; } .has-header-image .custom-header-media img, .has-header-video .custom-header-media video, .has-header-video .custom-header-media iframe { min-width: 100%; } @media screen and (min-width: 30em) { .has-header-image.twentyseventeen-front-page .cus...
CSS
const urlParams = { ...params, callback: 'jsonpCB', }; const scriptNode = document.createElement('script'); scriptNode.src = `${url}?${qs.stringify(urlParams)}`; // 触发callback,触发后删除js标签和绑定在window上的callback window[callbackName] = (result) => { delete window[callbackName]; docu...
Typescript
directive: "limit container groups", directiveValue: g.Name + ", root", exit: 1, }, // the ECL check with iflimited is done in the ecl e2e tests { name: "AllowSetuidMountSquashfsYes", argv: []string{c.squashfsImage, "sh", "-c", e2e.Findsquash}, profile: e2...
Go
ets the rom bank number. /// </summary> /// <value> /// The rom bank number. /// </value> byte RomBankNumber { get; } /// <summary> /// Gets the ram bank number. /// </summary> /// <value> /// The ram bank number. /// </value> ...
C#