content
stringlengths
2
6.21k
label
stringclasses
16 values
, %xmm2 /* merge into one 16byte value */ #else palignr $5, %xmm3, %xmm2 /* merge into one 16byte value */ #endif TOLOWER (%xmm1, %xmm2) pcmpeqb %xmm1, %xmm0 pcmpeqb %xmm2, %xmm1 psubb %xmm0, %xmm1 pmovmskb %xmm1, %edx sub $0xffff, %edx jnz LABEL(exit) #if defined USE_AS_STRNCMP || defined USE_AS_STRNCASECMP...
Assembly
} } void main() async { File content = File("g.txt"); List<String> list = await content.readAsLines(); //读取到文件的顶点数量以及 print(list[0].split(" ")[0]); print(list[0].split(" ")[1]); int v = int.parse(list[0].split(" ")[0]) ; int e = int.parse(list[0].split(" ")[1]) ; // Graph adjList= Graph(v, e, list); ...
Dart
xff, 0x00, 0x00, 0xff, // red 0xff, 0xff, 0x00, 0xff, // yellow 0x00, 0x00, 0xff, 0xff, // blue 0x00, 0xff, 0x00, 0xff, // green ]); async function initCanvasContent( t: GPUTest, canvasType: canvasTypes ): Promise<HTMLCanvasElement | OffscreenCanvas> { const canvas = createCanvas(t,...
Typescript
部</h1><p>HTTP 协议的请求和响应报文中必定包含 HTTP 首部。</p> <p>HTTP 请求报文是由方法,URI,HTTP 版本和首部字段</p> <p>HTTP 响应是由 HTTP 版本,状态码和首部字段组成</p> <h2 id="首部内容"><a href="#首部内容" class="headerlink" title="首部内容"></a>首部内容</h2><p>首部字段给浏览器和服务器提供报文主体大小,使用的语言,认证信息等内容。</p> <p>一般就是首部字段名:字段值。</p> <p>注意字段值可以有多个值,由逗号分隔。</p> <p>若是重复了话规范没有明确,得看浏览器内部处理逻辑的不同。</p> <...
HTML
node is null', jsDs.getChildNode('Newt')); jsDs.setChildNode('Newt', 'A newt'); assertEquals('New string child node', jsDs.getChildNode('Newt').get(), 'A newt'); jsDs.setChildNode('Number', 35); assertEquals('New number child node', jsDs.getChildNodeValue('Number'), 35); var numNode = js...
HTML
了两部正传“秋之回忆”、“秋之回忆2nd”,以及两部前传“Pure”、“雪萤”。玩家将再次扮演开朗爱搞笑的“三上智也”与沉着冷静的“伊波健”,重温经典的高中时代青涩恋曲。&nbsp;“秋之回忆Duet”完整收录的“秋之回忆”与“秋之回忆2nd”,还有新增修订部分剧情。而首次在PC平台上登场...</p> </div> </div> </a> </p> </div> </section> <!-- 大型设备文章属性结束 --> <!-- 小型设备文章属性 --> <section class="visible-xs"> <div class="title-article"> <center><h4><a href="https://B...
HTML
n: m[1], idCounter: m[2], }; } const message = GrowOnlyCCounterSave.create({ M: mMessage }); return GrowOnlyCCounterSave.encode(message).finish(); } loadPrimitive(saveData: Uint8Array) { const message = GrowOnlyCCounterSave.decode(saveData); for (const [replicaId, m] of O...
Typescript
or the playlist if video_id: find_video_id = re.compile(r'video_id=(?P<video_id>[^&]+)') for video in videos: video_id_match = find_video_id.search(video.get_uri()) if video_id_match and video_id_match.group('video_id') == video_id: break playlist_...
Python
3) write(sCookie, 4) write(iTokenType, 5) write(sDeviceInfo, 6) write(sQIMEI, 7) } } override fun newInit(): TarsStructBase = this.copy() }/* * MIT License * * Stream-rec https://github.com/hua0512/stream-rec * * Copyright (c) 2025 hua0512 (https://github.com/hua0512) * * Per...
Kotlin
G hard_ingredients.C:COMPARATOR hard_ingredients.G:GOLD_NUGGET result:GOLD_NUGGET amount:1 lore:Enter and exit your TARDIS */ public class TARDISKeyRecipe { private final TARDIS plugin; private final HashMap<String, List<Float>> cmdLookup = new HashMap<>(); public TARDISKeyRecipe(TARDIS plugin) { ...
Java
* for A53. If '1', turn off regional clock gating and request * warm reset. */ mrs x0, oslsr_el1 and x0, x0, #2 /* extract oslk bit */ mrs x1, mpidr_el1 bics xzr, x0, x1, lsr #7 /* 0 if slow cluster */ b.eq 1000f mov x0, xzr msr oslar_el1, x0 /* os lock stays 0 across warm reset */ mov x3, #3 movz x4, #...
Assembly
= []; constructor(name: string, teamNames: string[]) { this.name = name; this.teamNames = teamNames; } addTeam(team: Team) { this.teams.push(team); } } import * as Joi from 'joi'; import { messagevalidation as schema } from '../../src/chatbot/validation'; const defaultMessage...
Typescript
ln("tray-show-balloon") // 窗口控制在UI线程控制 cef.RunOnMainThread(func() { vfTray.Notice("气泡标题", "气泡内容", 2000) vfTray.Hide() fmt.Println("tray-show-balloon end") }) }) var vfBwVisible = true ipc.On("tray-show-main-window", func(context channel.IIPCContext) { // 窗口控制在UI线程控制 cef.RunOnMainThread(func() { ...
Go
ied.</dd> </dl> <h3 id="removeIdleObserver()" name="removeIdleObserver()">removeIdleObserver()</h3> <p>Remove an observer registered with <code><a href="https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIIdleService#addIdleObserver()">addIdleObserver()</a></code>.</p> <p></p><div clas...
HTML
nstantQLRiskFreeRateEstimator : IQLRiskFreeRateEstimator { private readonly decimal _riskFreeRate; /// <summary> /// Constructor initializes class with risk free rate constant /// </summary> /// <param name="riskFreeRate"></param> public ConstantQLRiskFreeRateEstimato...
C#
default_location = &#39;C:\Program Files\gs\&#39;;</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; dir_list = dir(default_location);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; if isempty(dir_list)</div><div class="line"><a name="l00079">...
HTML
to the 'Hue' slider. function ColorWheels.lazy.value:hueTextField() return TextField(self, function() local ui = self.hueRow:children() return ui and childMatching(ui, TextField.matches) end, toRegionalNumber, toRegionalNumberString ):forceFocus() end return Col...
Lua
\n });\n } else if (false) {}\n}\n\nfunction findPrevElement (children) {\n var i = children.length;\n while (i--) {\n if (children[i].type === 1) {\n return children[i]\n } else {\n if (false) {}\n children.pop();\n }\n }\n}\n\nfunction addIfCondition (el, condition) {\n if (!el.ifCondi...
JavaScript
edFile[]; }; export const getFormattedPath = ( folder: LoadedPath[], path: any[], languageIndex: number, ): string[] => { const result: string[] = []; const realPath = getLanguagePath(path, languageIndex); let current: LoadedPath[] | LoadedPath | any = folder; let parentIndex: number; let insideParsed...
Typescript
r2,r2,0xffffffd0(fp),r0 1592d: d0 50 1592f: b0 50 ad ee movw r0,0xffffffee(fp) 15933: b0 ad d0 ad movw 0xffffffd0(fp),0xfffffff0(fp) 15937: f0 15938: ef 52 52 ad extzv r2,r2,0xffffffcc(fp),r0 1593c: cc 50 1593e: b0 50 ad f2 movw r0,0xfffffff2(fp) 15942: b0 ad cc ad movw 0xffffffcc(fp),0x...
Assembly
showLeftAxis }, { orient: 'bottom', domainLine: { visible: true, onZero: true }, tick: { visible: false } } ] }; } const story = new VStory.Story(null, { dom: CONTAINER_ID, width: 2000, height: 800, scaleX: 'auto', scaleY: '...
Markdown
uilder, Message}; use hbbft::honey_badger::{EncryptionSchedule, SubsetHandlingStrategy}; use hbbft::queueing_honey_badger::*; use rand::{OsRng, Rng, thread_rng}; use std::collections::BTreeMap; use std::sync::mpsc::{Receiver, Sender, channel}; use std::thread::{JoinHandle, sleep, spawn}; use std::time::{Duration, Ins...
Rust
aining the iso639_2B codes for languages enum iso639_2B{ aar, abk, ace, ach, ada, ady, afh, afr, ain, aka, akk, ale, alt, amh, ang, anp, ara, arc, arg, arn, arp, arw, asm, ast, ava, ave, awa, aym, aze, bak, bal, bam, ban, bas, bej, bel, bem, ben, bho, bik, bin, bis, bla, tib, bos, bra, bre, bua, bug, bul, byn, c...
Dart
ock); BUG_ON(dlm->dlm_state != DLM_CTXT_LEAVING); BUG_ON((find_next_bit(dlm->domain_map, O2NM_MAX_NODES, 0) < O2NM_MAX_NODES)); for (i = 0; i < DLM_HASH_BUCKETS; i++) { bucket = dlm_master_hash(dlm, i); hlist_for_each_entry_safe(mle, tmp, bucket, master_hash_node) { if (mle->type != DLM_MLE_BLOCK) { mlo...
C
wood_headsmans_axe.market_price = 100000 Gear.sherwood_headsmans_axe.release_name = "sherwood" Gear.sherwood_headsmans_axe.ui_sort_index = 1402 Gear.hansa_merc_2h_mace = Gear.hansa_merc_2h_mace or table.clone(GearTemplates.polearm) Gear.hansa_merc_2h_mace.unit = "units/weapons/wpn_hansa_merc_2h_mace/wpn_hansa_merc_2h_m...
Lua
0X3NhbXBsZXMYByABKANSDGRyaWZ0U2FtcGxlcxIZCghkcmlmdF9tcxgIIAEoAVIHZHJpZnRN' 'cxIdCgpjbG9ja19yYXRlGAkgASgBUgljbG9ja1JhdGU='); @$core.Deprecated('Use rTPStatsDescriptor instead') const RTPStats$json = { '1': 'RTPStats', '2': [ { '1': 'start_time', '3': 1, '4': 1, '5': 11, '6': '....
Dart
plugin - [#3856](https://github.com/influxdata/influxdb/pull/3856): Minor changes to retention enforcement. - [#3884](https://github.com/influxdata/influxdb/pull/3884): Fix two panics in WAL that can happen at server startup - [#3868](https://github.com/influxdata/influxdb/pull/3868): Add shell option to start the daem...
Markdown
($98|0),10,0)|0); $100 = tempRet0; $101 = ($102|0)<(0); $103 = $101 << 31 >> 31; $104 = $102 ^ -1; $105 = $103 ^ -1; $106 = ($100>>>0)>($105>>>0); $107 = ($99>>>0)>($104>>>0); $108 = ($100|0)==($105|0); $109 = $108 & $107; $110 = $106 | $109; if ($110) { $$lc...
JavaScript
<div id="copyright">Processing was initiated by <a href="http://benfry.com/">Ben Fry</a> and <a href="http://reas.com">Casey Reas</a>. It is developed by a <a href="/people/">small team of volunteers</a>.</div> <div id="colophon"> <a href="/copyright.html">&copy; Info</a> <...
HTML
nly file system",31:"Too many links",32:"Broken pipe",33:"Math arg out of domain of func",34:"Math result not representable",35:"File locking deadlock error",36:"File or path name too long",37:"No record locks available",38:"Function not implemented",39:"Directory not empty",40:"Too many symbolic links",42:"No message ...
JavaScript
r.grp-open>h2{margin-bottom:0}.grp-group .grp-module>h3{border-top:0 !important;-moz-border-radius-topleft:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;-moz-border-radius-topright:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px}.grp-group .grp-module>h3:only-child,.grp-group .gr...
CSS
ata-dfn-for="IdleOptions" data-dfn-type="dict-member" data-export data-type="unsigned long long" id="dom-idleoptions-threshold"><code><c- g>threshold</c-></code></dfn>; <a data-link-type="idl-name" href="https://dom.spec.whatwg.org/#abortsignal" id="ref-for-abortsignal"><c- n>AbortSignal</c-></a> <dfn class="dfn-pane...
HTML
searchCallback?.upAdapter() } } fun topSource(searchBook: SearchBook) { execute { appDb.bookSourceDao.getBookSource(searchBook.origin)?.let { source -> val minOrder = appDb.bookSourceDao.minOrder - 1 source.customOrder = minOrder ...
Kotlin
on" ) assert(not defaulted_to_head, "Plugin incorrectly defaulted to diffing against HEAD after buffer modification") utils.clear_diff_marks(buffer) vim.cmd("bdelete!") utils.cleanup_git_repo(repo) vim.fn.delete(temp_current) vim.fn.delete(temp_first) vim.fn.delete(temp_head) return true end retu...
Lua
all 0.5s ease 0s; -moz-transition: all 0.5s ease 0s; -o-transition: all 0.5s ease 0s; transition: all 0.5s ease 0s; } .cover_boxes ul li.act{ width: 530px; } .cover_boxes ul li .box{ width: 530px; } .cover_boxes ul li .box .thumb { display: inline-block; float: left; margin-right: 20px; position: relative;...
CSS
} public void SetEnergy(float value) { m_Energy = value; m_Renderer.GetPropertyBlock(m_MPB); m_MPB.SetColor("_Color", m_Gradient.Evaluate(m_Energy)); m_Renderer.SetPropertyBlock(m_MPB); } public override void AddObservations() { ...
C#
lert--info .usa-alert__body{ padding-right:2rem; padding-left:4.75rem; } } .usa-site-alert--emergency{ color:white; background-color:#9c3d10; } .usa-site-alert--emergency .usa-alert{ background-color:#9c3d10; border-left-color:#9c3d10; color:white; } .usa-site-alert--emergency .usa-alert:before{ ...
CSS
++ align, _, read, err := readMemArg(pc, body) if err != nil { return err } if 1<<align > attr.alignMax { return fmt.Errorf("invalid memory alignment %d for %s", align, vectorInstructionName[vecOpcode]) } pc += read if pc >= uint64(len(body)) { return fmt.Errorf("lane for %s n...
Go
} event.changes.fastForEach { if (it.positionChanged()) { it.consume() } } } } else { channel.trySend(TransformStopped(Velocity.Zero)) } val finalEvent = awaitPointerEvent(pass = PointerEventPass.Final) // someone consumed while we were waiting...
Kotlin
%B3%D8%AA%D8%B1%D8%B3%E2%80%8C%D9%BE%D8%B0%DB%8C%D8%B1%DB%8C" title="دسترس‌پذیری">دسترس‌پذیری</a> وب وجود دارد، صفحه‌ای که کُد آن درست و استاندارد نوشته شده باشد، پیوندهایش را می‌توان تنها با صفحه کلید، یا دستگاه‌های ساخته شده برای کاربران ناتوان جسمی رهبری کرد. یا تکه <a href="/wiki/%D9%81%DB%8C%D9%84%D9%85" title="فی...
HTML
s="see-list"> <li><a href="../../constant-values.html#mars.assembler.DataTypes.MIN_HALF_VALUE">Constant Field Values</a></li> </ul> </dd> </dl> </section> </li> <li> <section class="detail" id="MAX_UHALF_VALUE"> <h3>MAX_UHALF_VALUE</h3> <div class="member-signature"><span class="modifiers">public static final</span>&nb...
HTML
e static final String PARTIALDAMAGE = "partialDamage"; private float level; private float partialDamage; @Override public boolean act() { NoRoadMobs bs = Dungeon.hero.buff(NoRoadMobs.class); if(Dungeon.isChallenged(DHXD) && hero.lanterfire<10){ Buff.affect(hero, NoRoadMobs....
Java
endum();\n // eslint-disable-next-line react-internal/warning-and-invariant-args\n\n for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n warningWithoutStack$1.apply(undefined, [false, format + '%s'].concat...
JavaScript
/*========================================================================= Program: CMake - Cross-Platform Makefile Generator Module: $RCSfile: cmFindCommon.h,v $ Language: C++ Date: $Date: 2012/03/29 17:21:08 $ Version: $Revision: 1.1.1.1 $ Copyright (c) 2002 Kitware, Inc., Insight Consorti...
C
/* * Based on arch/arm/mm/proc.S * * Copyright (C) 2001 Deep Blue Solutions Ltd. * Copyright (C) 2012 ARM Ltd. * Author: Catalin Marinas <catalin.marinas@arm.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * publi...
Assembly
umption of token") } fn token(&mut self) -> Spanned<Token<'a>> { if let Some(token) = self.buffer.take() { return token; } let (start, character) = match self.characters.next() { None => return Spanned::new(Token::End, Span(self.string.len(), self.string.len() + 1)), Some(character) => character, }; ...
Rust
JIARIHANGXIANRICHANG1" }, {}, { "JIARIHANGXIANRICHANG2" }, {}, { "JIARIHANGXIANRICHANG3" }, {}, { "JIARIHANGXIANRICHANG4" } }, mainChar = { 1, 6, 3, 4, 5, 2, 7 }, minorChar = { 2, 1, 2, 5, 6, 7, 4 ...
Lua
oor(Math.random() * MAP_SIZE) + MAP_SIZE; // let gameStatus = gameServiceInstance.shoot(x, y); // expect(gameStatus).to.be.a('object'); // expect(gameStatus).to.have.property('hit'); // expect(gameStatus).to.have.property('gameOver'); // expect(gameStatus).to.have.property('map')...
Typescript
Should Not Accept Password Shorter Than 12 Characters ', () => { cy.get('[data-cy=passwordContainer]').contains('Too Short'); }); }); // Cypress bot details // Email: bot@cypress.com // Password: 123456abcdef class Human { [x: string]: any name: string = "S" constructor(name: string) { this.name ...
Typescript
:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.mailHat__convoDetailsText{overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis}.Unfold__item_name_returnToChat+.Unfold__item_nam...
CSS
CommandOptionToggle(RHCMDOPTNAME(L"Output"), RHCMDOPTVALUE(L"Curve"), RHCMDOPTVALUE(L"Polyline"), args.m_bPline, &args.m_bPline); go.AcceptNothing(); for (;;) { CRhinoGet::result res = go.GetOption(); if (res == CRhinoGet::option) { conduit.m_args.Calculate(); doc->Redraw(); continue...
C++
rb w3, [x20, #(KSCHEDULER_NEEDS_SCHEDULING)] cbnz w3, 10b /* Clear the previous thread. */ str xzr, [x20, #(KSCHEDULER_PREVIOUS_THREAD)] /* Wait for an interrupt and check again. */ wfi msr daifclr, #2 msr daifset, #2 b 17b 18: /* We have interrupt tasks to execute! ...
Assembly
<em>DD</em> is the day (01 to 31) </p><p> <em>hh</em> is the hour (00 to 23) </p><p> <em>mm</em> are the minutes (00 to 59) </p><p> <em>ss</em> are the seconds (00 to 59) </p><p> <em>Z</em> indicates that local time is GMT, + indicates that local time is later than GMT, and - indicate...
HTML
DisableAbortConversationForRagdoll, DisableBarks, DisableFlightMusic, DisableReplayScriptStreamRecording, EnableHeadsetBeep, ForceConversationInterrupt, ForceSeamlessRadioSwitch, ForceSniperAudio, FrontendRadioDisabled, HoldMissionCompleteWhenPr...
C#
} }, function(value, index, elem) { OrderNote(order_id, value); layer.close(index); }); return false; } else if ('sdtk' == status_name) { layer.prompt({ formType: ...
HTML
t { schema = '"null"', func = 'flatten', input = 'null', output = '[null]' } t { error = 'Expecting NIL, encountered FALSE', schema = '"null"', func = 'flatten', input = 'false' } t { error = 'Expecting NIL, encountered TRUE', schema = '"null"', func = 'flatten', input = 'true' } t { ...
Lua
expose service nginx --port=443 --target-port=8443 --name=nginx-https\n\n\t\t# \u4e3a\u4e00\u4e2a\u540d\u79f0\u4e3a streaming \u7684\u5e94\u7528\u521b\u5efa\u4e00\u4e2a service \u66b4\u9732\u7aef\u53e3 4100, \u534f\u8bae\u4e3a UDP \u540d\u79f0\u4e3a 'video-stream'.\n\t\tkubectl expose rc streamer --port=4100 --protoco...
Go
lam/map.h" namespace myslam { void Map::insertKeyFrame ( Frame::Ptr frame ) // 连个插入是一样的,找到了则赋值,没有则插入新的 { cout<<"Key frame size = "<<keyframes_.size()<<endl; if ( keyframes_.find(frame->id_) == keyframes_.end() ) { keyframes_.insert( make_pair(frame->id_, frame) ); } else { k...
C++
const Q = necc.Point.BASE.multiplyAndAddUnsafe(P, t, 1n); if (!Q) throw new Error('Tweaked point at infinity'); return Q.toRawBytes(isCompressed); }; const pointMultiply = ( p: Uint8Array, tweak: Uint8Array, isCompressed?: boolean, ) => { const P = necc.Point.fromHex(p); const h = typeof tweak === 'stri...
Typescript
li><a class="inner-link" href="#home">Single Link</a></li> <li class="social-link"><a href="#"><i vht="li" class="icon social_twitter"></i></a></li> <li class="social-link"><a href="#"><i vht="li" class="icon social_facebook"></i></a></li> <li class="social-link instagram-toggle" vjw=".instagram-si...
HTML
using System.Collections.Immutable; using System.Text.Json; using System.Threading.Tasks; using Microsoft.Azure.Functions.Worker; using Microsoft.Azure.Functions.Worker.Core.FunctionMetadata; using Microsoft.Extensions.DependencyInjection; ...
C#
同的问题,你应该问自己。 这个库满足你的技术需求吗?它有你想要的所有功能吗? 是否符合项目的预算限制?许多更健壮的库都有很大的价格标签。 这个库的学习曲线在你自己或者团队的技能范围内吗?选择一个包含一堆很酷的特性的高级应用编程接口看起来是个好主意,但是如果你花更多的时间去理解应用编程接口而不是实现它,这可能是有害的。 对于本书中的例子,我选择使用`SDL_mixer API`有几个原因。首先,与其他一些方法相比,它很容易上手。其次,它非常符合我的项目需求。它支持 FLAC、MP3,甚至 Ogg Vorbis 文件。第三,它与项目框架的其余部分连接良好,因为它是我们已经在使用的 SDL 库的扩展。最后,我选择了这个应用编程接口...
Markdown
$02 $02 $02 $03 $03 $00 $04 $04 .db $04 $04 $04 $04 $04 $04 $04 $04 itemDropSet7: .db $01 $01 $01 $01 $01 $01 $01 $02 .db $02 $02 $02 $03 $03 $03 $03 $00 .db $04 $04 $04 $04 $04 $04 $04 $04 .db $09 $08 $07 $07 $06 $06 $05 $05 itemDropSet8: .db $01 $01 $01 $01 $01 $01 $01 $01 .db $01 $01 $01 $01 $01 $01 $02 $0...
Assembly
,0x58,0x9e,0xd2] vfnmsub132ps {ru-sae}, %zmm2, %zmm2, %zmm2 // CHECK: vfnmsub132ps {ru-sae}, %zmm2, %zmm2, %zmm2 {%k2} // CHECK: encoding: [0x62,0xf2,0x6d,0x5a,0x9e,0xd2] vfnmsub132ps {ru-sae}, %zmm2, %zmm2, %zmm2 {%k2} // CHECK: vfnmsub132ps {ru-sae}, %zmm2, %zmm2, %zmm2 {%k2} {z} // CHECK: encoding: [0...
Assembly
elivenedObjects[0]; callback && callback(path); }); } else { callback && callback(path); } }); } else { fabric.Object._fromObject('Path', object, callback, 'path'); } }; /* _FROM_SVG_START_ */ /** * List of attribute names to acc...
JavaScript
SetEnableKeyboardAvoidance(bool flag) { #if UNITY_ANDROID && !UNITY_EDITOR UniWebViewInterface.SetEnableKeyboardAvoidance(flag); #endif } /// <summary> /// Sets whether JavaScript should be enabled in current web view. Default is enabled. /// </summary> /// <param name="enab...
C#
let bytes = new Float32Array(width * height * 4 );//numComponents); this.mRenderer.GetPixelDataRenderTarget( texture, bytes, width, height ); let blob = piExportToEXR(width, height, numComponents, type, bytes); // Offer download automatically to the user piTriggerDownload("image.exr",...
JavaScript
153 => 5, 153 => 5, 153 => 5, 153 => 5, 153 => 5, 153 => 5, 153 => 5, 161 => 5, 161 => 5, 161 => 5, 161 => 5, 161 => 5, 161 => 5, 161 => 5, 161 => 5, 167 => 5, 167 => 5, 167 => 5, 167 => 5, 167 => 5, 167 => 5, 167 => 5, 167 => 5, ...
Rust
ccurrence> getOccurrencesList(); /** * * * <pre> * The occurrences to create. * </pre> * * <code>repeated .grafeas.v1beta1.Occurrence occurrences = 2;</code> */ io.grafeas.v1beta1.Occurrence getOccurrences(int index); /** * * * <pre> * The occurrences to create. * </pre> ...
Java
[5, 6, 4], * [6, 1, 2], * [3, 4, 0]]]) * tf.matrix_set_diag(input, diagonals, k = (-1, 2)) * ==&gt; [[[1, 6, 9, 7], # Output shape: (2, 3, 4) * [4, 2, 5, 1], * [7, 5, 3, 8]], * [[6, 5, 1, 7], * [3, 1, 6, 2],...
Java
命委员会是新生事物,象初生婴儿,虽然有缺点,不会说,不会走,毛手毛脚,但是不象我们衰老的人,他有无限的生命力。我们要扶植他,不要有点缺点就挑三挑四的。这次对北师大革命委员会就是持这个态度。这并不是说北师大革命委员会没错误,谭厚兰同志来了,你自己知道。我们严厉的批评了韩爱晶、蒯大富,据说他两人亲临指挥开会,据说后面还有谁。天派掉下来、地派钻出来,成一派,毛泽东思想革命派。 </p> <p> 北京市革命委员会的通知(指关于北师大的),毛主席亲自批准,支持一个新生事物,要不制止,会引起连锁反应,全国都要受到冲击。对于北京市革命委员会,要支持,不要分裂革命委员会。 </p> <p> 从这三个问题看,北京的各学校或...
HTML
.contain,), // ), // // ], // ), // )), // ), // ]; // }, // body:Container( // margin: EdgeInsets.only(left: spacing_standard_new,right: spacing_standard_new,bottom: spacing_large), // padding: EdgeInset...
Dart
-agora, .adicionar-carrinho { font-size: 1.1rem; padding: 12px 0; } .quadro-descricao { width: 90%; max-width: 1300px; height: 70vh; margin: 30px auto; } .quadro-descricao input { width: 95%; height: 95%; padding-bottom: 0; padding-bottom: 310px; font-size: 1.4rem...
CSS
); } } break; } case vehicle_command_s::VEHICLE_CMD_DO_SET_STANDARD_MODE: { mode_util::StandardMode standard_mode = (mode_util::StandardMode) roundf(cmd.param1); uint8_t nav_state = mode_util::getNavStateFromStandardMode(standard_mode, _vehicle_status.vehicle_type, _vehicle_status.is_vtol)...
C++
value = ''; value2 = ''; closeMe(){ console.log('clicked'); } onSave(){ console.log('saved'); } getTitle(): number { return 5; } clickMe(){ this.clickCount++; } handleInput(event){ this.value = event.target.value; } handleInput1(element){ this.value2 = element.value; } } import { UserListComponent...
Typescript
), syscall.SIGINT, syscall.SIGTERM) defer cancelFunc() // Start Consul server Connection manager. serverConnMgrCfg, err := c.consul.ConsulServerConnMgrConfig() // Disable server watch because we only need to get server IPs once. serverConnMgrCfg.ServerWatchDisabled = true if err != nil { c.UI.Error(fmt.Sprintf...
Go
for (const workflow of this.app.workflowManager.workflows) { if (!workflow.pathParts) continue; let currentPath = ""; let currentRoot = this.treeRoot; for (let i = 0; i < workflow.pathParts.length; i++) { currentPath += (currentPath ? "\\" : "") + workflow.pathParts[i]; const parentNode = nodes[c...
JavaScript
class AuthWrapper extends HookConsumerWidget { const AuthWrapper({super.key}); @override Widget build(BuildContext context, WidgetRef ref) { final biometricAuthSuccess = useState(false); final biometricAuthEnabled = ref.watch(prefsProvider.select((p) => p.isBiometricEnabled)); final canAuthe...
Dart
// Copyright (c) 2024 PaddlePaddle Authors. 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required...
C
if err := r.rewindPrefix(ctx, lm); err != nil { return false, err } arc := r.getArc(r.upto - 1) targetLabel := lm.GetTargetLabel(r.upto) fstReader, err := r.fst.GetBytesReader() if err != nil { return false, err } for { nextArc, found, err := r.fst.FindTargetArc(ctx, targetLabel, fstReader, arc, r.getA...
Go
ass="tt-header" id="Stage_1-3" data-pos="&#91;&quot;Stage 1&quot;,3&#93;"><td id="" class="tt-h" lang="zh"><div class="poem"></div></td><td class="tt-ja" lang="ja"><div class="poem">BGM:損いのない功徳 ~ go_to_work...?</div></td><td class="tt-zh" lang="zh"><div class="poem">BGM:无损之功德 ~ go_to_work...?</div></td></tr><tr class="...
Markdown
except in compliance with the License.<br> * You may obtain a copy of the License at the * <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache homepage</a> * <p> * Unless required by applicable law or agreed to in writing,<br> * software distributed under the License is distributed on an "AS IS" BASIS, <b...
Java
= 14; pub const CU_RES_VIEW_FORMAT_UINT_4X32: ::libc::c_uint = 15; pub const CU_RES_VIEW_FORMAT_SINT_1X32: ::libc::c_uint = 16; pub const CU_RES_VIEW_FORMAT_SINT_2X32: ::libc::c_uint = 17; pub const CU_RES_VIEW_FORMAT_SINT_4X32: ::libc::c_uint = 18; pub const CU_RES_VIEW_FORMAT_FLOAT_1X16: ::libc::c_uint = 19; pub con...
Rust
target == ElementGoods || target instanceof ElementGoods){ type = SceneElementManager.ELEMENT_GOODS; } return type; } } }import * as actions from './actions'; import Employee from '../models/employee'; import axios from 'axios'; import User from '../models/user'; import ImmediateSuperior from '../model...
Typescript
from __future__ import annotations import asyncio import pytest from mcp import ClientSession, StdioServerParameters, types from pydantic.networks import AnyUrl from uglychain.tools.utils.mcp_client import McpClient, McpResource, McpTool @pytest.fixture def mock_session(mocker): """创建一个模拟的ClientSession对象""" ...
Python
hbivec equ $120 vbivec equ $70 mkbvec equ $118 iera equ $fffa07 ierb equ $fffa09 isra equ $fffa0f imra equ $fffa13 tbcr equ $fffa1b tbdr equ $fffa21 color_0 equ $ff8240 color_2 equ $ff8244 supexec equ 38 .DC.w $a00a start: lea.l farbtab,a0 move.w ...
Assembly
"这名辞初见于《老子》 其次为《易·系辞传》《苟子》、庄子八《韩非子》、《吕氏春秋》 凡战国末年所出底书没有不见这两字底。《苟子·王制篇》:"相阴阳 占没兆 钻龟陈卦 主攘择五卜 知其吉凶妖祥 怄巫踱击之事也。"在那时底巫现已能采用阴阳说 足见此说流布底广。 《史记·孟子苟卿传》说邹衍说阴阳 衔为西纪元前三世纪底人物 在《孟子胆未见"阴阳"这辞 可知在孟子时代 这说还不流通 到苟子时代便大行了。后来的儒家甚至也多采用阴阳说。在战国末或汉初所成底《易·说卦传》有"立天之道 日阴与阳;立地之道 日柔与刚;立人之道 日仁与义"及"分阴分阳 迭用柔刚"底文句 是以仁义配阴阳。或者孟子还尊孔子底不问闻天道 故单说仁义 但在一般的儒家在宇宙论...
Markdown
ToInt32(v_0.AuxInt) base := v_0.Args[0] mem := v_1 if !(ValAndOff(valoff1).canAdd32(off2)) { break } v.reset(OpAMD64XORQconstmodify) v.AuxInt = valAndOffToAuxInt(ValAndOff(valoff1).addOffset32(off2)) v.Aux = symToAux(sym) v.AddArg2(base, mem) return true } // match: (XORQconstmodify [valoff1] {sy...
Go
{"rel":"nofollow","target":"_blank"}},{"key":"cky_show_desc","content":"<button class=\"cky-show-desc-btn\" data-cky-tag=\"show-desc-button\" aria-label=\"Zeige mehr\">Zeige mehr<\/button>","tag":"show-desc-button","status":true,"attributes":[]},{"key":"cky_hide_desc","content":"<button class=\"cky-show-desc-btn\" data...
HTML
ag = (c1 & GREEN_MASK) >> 8, ab = c1 & BLUE_MASK, br = (c2 & RED_MASK) >> 16, bg = (c2 & GREEN_MASK) >> 8, bb = c2 & BLUE_MASK, cr = ar > br ? ar - br : br - ar, cg = ag > bg ? ag - bg : bg - ag, cb = ab > bb ? ab - bb : bb - ab; ...
JavaScript
combiner.mergeAccumulators(countAccumulator { count = 1 }, countAccumulator { count = 2 }) assertThat(accumulator).isEqualTo(countAccumulator { count = 3 }) } @Test @TestParameters("{noiseKind: LAPLACE, delta: 0.0}", "{noiseKind: GAUSSIAN, delta: 0.1}") fun computeMetrics_addsNoise(noiseKind: Noise...
Kotlin
::createSocket setting RCV high-water mark for socket to ", socketConfiguration.m_receiveHighWaterMark); zmqSocket->setsockopt(ZMQ_RCVHWM, &socketConfiguration.m_receiveHighWaterMark, sizeof (socketConfiguration.m_receiveHighWaterMark)); UXAS_LOG_DEBUGGING("ZeroMqFabric::createSocket setting SEND high-water mar...
C++
p_sub_heading-3-50568 .cp-rotate-wrap{ transform:rotate( 0deg);}.cp_style_50568 #cp_sub_heading-3-50568 { left: 287.90441894531px;top: 181.85662841797px;z-index:10;}@media ( max-width: 767px ) {.cp_style_50568 #cp_sub_heading-3-50568 .cp-target { font-family:Lato;font-style:700;font-weight:700;font-size:8.5px;line-heig...
HTML
blank ObjectID with given timestamp. Everything except for date part is zeroed. * For use in queries like {_id: {$gt: oidBlankWithDate()}} * * @param {Date|number} date Date object or timestamp in seconds, current date by default * @returns {ObjectID} with given timestamp and zeroes in the rest of the bytes */ m...
JavaScript
- MsTscAx.dll api_type: - COM ms.topic: reference ms.date: 05/31/2018 --- # IMsTscAdvancedSettings::DisableRdpdr property Specifies whether printer and clipboard redirection is enabled. This property is read/write. ## Syntax ```C++ HRESULT put_DisableRdpdr( [in] BOOL DisableRdpdr ); HRESULT get_DisableRdpdr(...
Markdown
e_date = date(love_year, love_month, love_day) # 获取在一起的日期差 love_days = str(today.__sub__(love_date)).split(" ")[0] # 获取所有生日数据 birthdays = {} for k, v in config.items(): if k[0:5] == "birth": birthdays[k] = v data = { "touser": to_user, "template_id": config["t...
Python
cd41f7aee1fdd517549c6c141ef871a538d70ec08faf130ffc389ef661dcfef4dff7ace3f655edf283083cb7413e0f22d293e7" "191bcf3b342bd0dabad8aa3c602ca87e6845c35b359e46e91e3c4dbe2a0f3ca137e2f632497df0cbc00b76e78564a9e94f8db2d9fa895cf6b7d9eb542d779074", "d03953e085a7ff3e737659237edec7106fa941c9cadfade285b71f88a7b5bfb6788c4be32cc...
C
'v' | 'w' | 'x' | 'y' | 'z'; export interface FlagMap { readonly [key: string]: { readonly char?: AlphabetLowercase; readonly description: string; }; } export const flags: FlagMap = { passphrase: { char: 'p', description: passphraseDescription, }, password: { char: 'w', description: passwordDesc...
Typescript
point numbers to bz_grid_address. Those added grid points */ /* are stored after the address of end point of grid_address, i.e. */ /* */ /* |-----------------array size of bz_grid_address---------------------| */ /* |--grid addresses similar to grid_...
C
#ifndef NIXIO_H_ #define NIXIO_H_ #include <lua.h> #include <lualib.h> #include <lauxlib.h> #include <luaconf.h> #if !defined(LUA_VERSION_NUM) #define lua_pushinteger(L, n) lua_pushnumber(L, (lua_Number)n) #endif /* some Lua 5.1 compatibility support. */ #if (LUA_VERSION_NUM == 501) #define lua_rawlen(L, idx) lua_ob...
C