content
stringlengths
2
6.21k
label
stringclasses
16 values
'\]\['CAM_XXX'\]\['img_path'\]: 图像的文件名。 - info\['images'\]\['CAM_XXX'\]\['height'\]: 图像的高 - info\['images'\]\['CAM_XXX'\]\['width'\]: 图像的宽 - info\['images'\]\['CAM_XXX'\]\['cam2img'\]: 当 3D 点投影到图像平面时需要的内参信息相关的变换矩阵。(3x3 列表) - info\['images'\]\['CAM_XXX'\]\['lidar2cam'\]: 激光雷达传感器到该相机的变换矩阵。(4x4 列表) - i...
Markdown
== GLFW.GLFW_RELEASE) { textInput.getStyle().setVerticalAlign(TOP); } else if (event.getKey() == GLFW.GLFW_KEY_F5 && event.getAction() == GLFW.GLFW_RELEASE) { textInput.getStyle().setVerticalAlign(MIDDLE); } else if (event.getKey() == GLFW.GLFW_KEY_F6 && event.getAction() == GLFW.GLFW_RELEA...
Java
LIP_MASK, XWORD0, XWORD0 // w3, w2, w1, w0 VPSHUFB X_BYTE_FLIP_MASK, XWORD1, XWORD1 // w7, w6, w5, w4 VPSHUFB X_BYTE_FLIP_MASK, XWORD2, XWORD2 // w11, w10, w9, w8 VPSHUFB X_BYTE_FLIP_MASK, XWORD3, XWORD3 // w15, w14, w13, w12 ADDQ $64, INP avx_schedule_compress: // for w0 - w47 // Do 4 rounds and schedul...
Assembly
h(array).toSortedList()); assertEquals(expected, FastList.newListWith(keySet.toArray(new Integer[keySet.size()])).toSortedList()); } @Test public void keySet_toArray_withSmallTarget() { SortedMap<Integer, String> immutableSortedMap = new ImmutableTreeMap<>(SortedMaps.mutable.of(1, "1",...
Java
(token) { token -> Text, token_type -> Text, client_id -> Text, scopes -> Nullable<Text>, subject -> Nullable<Text>, expiration -> Nullable<BigInt>, created -> Timestamp, } } table! { users (id) { id -> Text, password -> <PASSWORD>, ...
Rust
} }else return undefined; } ); }; const extractResponse = (array: Array<any>):Array<IUser> => { if (array.length!==0) return array.map(function (user: any) { return { id: user.id, username: user.login, avatarUrl: user.avatar_url, ...
Typescript
) .toList(), state: json_['state'] as core.String?, vulnerabilityId: json_['vulnerabilityId'] as core.String?, ); core.Map<core.String, core.dynamic> toJson() => { if (cve != null) 'cve': cve!, if (impacts != null) 'impacts': impacts!, if (justificat...
Dart
ize(), "15"); c.dropIndex( {"x": 1} ); assert.isEqual( 2 , c.getIndexInfo().size(), "16"); } exports.testSave = function() { var c = _db.getCollection( "test" ); c.drop(); var insertable = {"hello": "world"}; c.save(insertable); var id = insertable._id.toString(); var doc = c.findOne(); ...
JavaScript
/** * Returns a string representation of this object. * * @method Phaser.Point#toString * @return {string} A string representation of the instance. */ String toString() { return '[{Point (x=${this.x} y=${this.y})}]'; } Point operator +(b) { Point out = new Point(); if (b is Poin...
Dart
0ZTQ5YWYzODRiMGE0NTIzNDIwMi90YWJsZTphM2YxOGFjNjhlMjk0ZjAwYjA2MGZlM2ZkZWRkNjA0OC90YWJsZXJhbmdlOmEzZjE4YWM2OGUyOTRmMDBiMDYwZmUzZmRlZGQ2MDQ4XzMtNi0xLTEtMjM2Mjkx_af622ea2-b6c2-495c-b554-ba96fd7df8bc">39</ix:nonFraction>%</span></td></tr><tr><td colspan="3" style="background-color:#ffffff;padding:0 1pt"></td><td colspan="3"...
HTML
return this.isEmpty() ? target.set(0, 0, 0) : target.addVectors(this.min, this.max).multiplyScalar(0.5); } expandByPoint(point: Vector3) { this.min.min(point); this.max.max(point); return this; } intersectsPlane ( plane: Plane ) { // We compute the minimum and maximum dot product values. If tho...
Typescript
</table> </div> <div class="memdoc"> <p> Converts the image to B&amp;W, using a threshold mask <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>pThresholdMask,:</em>&nbsp;</td><td>the lightness threshold mask. the...
HTML
/* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-forwprop1-details" } */ /* Make this work for default 'LOGICAL_OP_NON_SHORT_CIRCUIT == false' configurations: { dg-additional-options "--param logical-op-non-short-circuit=1" } */ int is_ordered_and_nonequal_sh_1 (float a, float b) { return !__builtin_isuno...
C
conv9_2_mbox_priorbox'] = priorbox(net['conv9_2']) # Prediction from pool6 num_priors = 4 x = Dense(num_priors * 4, name='pool6_mbox_loc_flat')(net['pool6']) net['pool6_mbox_loc_flat'] = x name = 'pool6_mbox_conf_flat' if num_classes != 21: name += '_{}'.format(num_classes) x = Dense...
Python
: true, cancelable: true, shiftKey: this.shift, key: event.value, code: `Key${event.value.toUpperCase()}}`, location: 0 }; this.input.nativeElement.dispatchEvent(new KeyboardEvent('keydown', eventInit)); this.input.nativeElement.dispatchEvent(new KeyboardEvent('keypress', even...
Typescript
浏览器访问一下老流氓的一个网站,地址是 <a href="https://www.cnnic.cn" target="_blank" rel="nofollow"><b>https</b>://www.cnnic.cn</a> 记得用 <b>HTTPS</b> 协议哦。<br />&#12288;&#12288;如果你的浏览器报告该网站的证书有问题,那恭喜你,你的门户清理干净了 :-)<br />&#12288;&#12288;如果该网站的页面顺利打开,那你就要重新检查一下,看上述操作是否出了差错。</del><br /><br /><h2>★可能的副作用</h2><br />&#12288;&#12288;有些国内网站已经开始使用...
HTML
com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()" title="Klasse oder Schnittstelle in java.lang" class="external-link">getLocalizedMessage</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getMessage()" title="Klasse oder Schnittst...
HTML
: { foo: T }, y: { foo: U; bar: U }) => Base; a11 = b11; // ok b11 = a11; // ok var b15: <U, V>(x: { a: U; b: V; }) => U[]; a15 = b15; // ok, T = U, T = V b15 = a15; // ok var b16: <T>(x: { a: T; b: T }) => T[]; a15 = b16; // ok b15 = a16; // ok var b17: <T>(x: (a: T) => T) => T[]; a17 = b17; // ok b17 = a17; // ok...
Typescript
*/ StreamingSamples = 0x3, /** * Read-write ms uint32_t. Period between packets of data when streaming in milliseconds. * * ``` * const [streamingInterval] = jdunpack<[number]>(buf, "u32") * ``` */ StreamingInterval = 0x4, /** * Constant ms uint32_t. Preferred ...
Typescript
} @Override public void onTabUnselected(TabLayout.Tab tab) { } @Override public void onTabReselected(TabLayout.Tab tab) { } }); } public void jumpToTheTop() { currentFragment = fragmentSparseArray.get(mViewPager.ge...
Java
subprocess.Popen([update_file], shell=True) # Exit current application print("[DEBUG] Closing application for update...") QApplication.quit() sys.exit(0) except Exception as e: msg = QMessageBox(self.dialog if hasattr...
Python
{ ValidateShareContainerQueueHelper(containerName, "Container"); } } static void ValidateShareContainerQueueHelper(string resourceName, string resourceType) { if (string.IsNullOrWhiteSpace(resourceName)) { throw new ArgumentExc...
C#
912 32.912 0 01-7.3-11.024c-.621-3.193-2.147-6.179-2.04-9.514-1.085-3.79 1.998-6.14 2.765-9.322.512-1.643-.908.736-.621-1.494-.135-1.97.468-4.256.794-6.302a32.977 32.977 0 011.78-3.21 1.87 1.87 0 00-.064.66c.8-.432 1.161-.529 1.256-.412zm1.308.56c.173.092.398.261.69.525-.088 2.06 1.421 3.353.606 3.945 1.055 1.014 1.922...
Dart
(s<=n){$p=9;continue _;}r=r+1|0;while(r>l){j=j+1|0;if(j>k)break c;o=2-((j-k|0)/2|0)|0;r=d-o|0;l=d+o|0;m=f-o|0;n=f+o|0;}s=m;}return 1;case 11:$z=Bzy(b,e,j,s);if(C()){break _;}o=$z;if(!o){o=2;$p=14;continue _;}if(!G(c,4)){e=s-1|0;$p=13;continue _;}if(!G(c,4)){e=s+1|0;$p=15;continue _;}s=s+1|0;a:while(true){if(s<=n){$p=9;...
JavaScript
0;position:absolute;top:27px;z-index:93110}#site-nav .menu-bd a:link,#site-nav .menu-bd a:visited{color:#666}#site-nav .menu-bd a:active,#site-nav .menu-bd a:hover{color:#ff0036}#site-nav .sn-quick-menu iframe.menu-bd{background:0;border:0;filter:alpha(opacity=0);float:left;z-index:-1}#site-nav .menu-bd-panel a{display...
CSS
("1000000000000000090000000000.0000005"); try { res = a.divide(b, BigDecimal.ROUND_UNNECESSARY); fail("ArithmeticException is not thrown for RoundingMode.UNNECESSARY"); } catch (ArithmeticException e) { // expected } } public void testDivideIINonTrivi...
Java
s only one element, that element is returned. /// /// Otherwise this method starts with the first element from the iterator, /// and then combines it with the remaining elements in iteration order, /// as if by: /// ``` /// E value = iterable.first; /// iterable.skip(1).forEach((element) { /// value =...
Dart
clusters/{clusterId}/replicaset"}, Method: []string{"GET"}, Handler: "rpc", })) opts = append(opts, api.WithEndpoint(&api.Endpoint{ Name: "Storage.PostReplicaSet", Path: []string{"/bcsstorage/v2/query/k8s/dynamic/clusters/{clusterId}/replicaset"}, Method: []string{"POST"}, Handler: "rpc", })) op...
Go
logCommit } from './types'; import { Store } from './store'; import { groupByKeys } from './utils'; /** works like in Array.filter(callback) */ export type FormatFunc<UnreleasedCommitMessagesT = UnreleasedCommitMessages> = (c: ParsedHistoryCommit) => (false|UnreleasedCommitMessagesT)|Promise<false|UnreleasedCommitMess...
Typescript
umb"> <ul class="navigation"> <li class="prev"> <a accesskey="p" class="prev" href="WS664056d07263ca3a-184ba15012a7ca1e755-8000.html" title="Installed files for the Managed Review &amp; Approval Accelerator"> <img alt="Previous" height="17" src="images/blank.gif" width="17"/> ...
HTML
-tooltip{display:block}.form-control.is-valid,.was-validated .form-control:valid{border-color:var(--bs-form-valid-border-color);padding-right:calc(1.5em + .75rem);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04....
CSS
= temp } if (len > count) { ret.length = count } return ret } //ECMASCRIPT //el var es antigua ahora ya utilizamos let //var a = 1; // `` la coma invertida son templete string let a =1; let a1 =1; let nombreUsuario = "Jonathan Pachacama"; let html = "<h1>HOLA</h1>" + "<p>hola amigos</p>"+"<i...
Typescript
gine.Operations; ObjectHandle classC = engine.ExecuteAndWrap(@" class C(object): def __init__(self, value): self.value = value def __int__(self): return self.value C "); ObjectHandle result = ops.CreateInstance(classC, 17); int intResult = ops.Unwrap<int>(result);...
C#
using Cassette.Scripts; using Cassette.Utilities; using Should; using Xunit; namespace Cassette.RequireJS { public class AnonymousModuleTests { [Fact] public void ModulePathIsBuiltFromAssetPath() { var asset = new StubAsset("~/test.js"); var bundle = new ScriptB...
C#
/// <see cref="SCardProtocol.Unset" /> if not connected.</value> SCardProtocol ActiveProtocol { get; } /// <summary>A pointer (Card Handle) that can be used for C API calls.</summary> /// <value>0 if not connected.</value> /// <remarks> /// <para>This is the card hand...
C#
nvironment, expected: StatusDto = SUCCESS ) { Assertions.assertThat(run(scenario, environment)).isEqualTo(expected) } fun run( scenarios: List<ChutneyScenario>, environment: ChutneyEnvironment, expected: StatusDto = SUCCESS ) { val softly = SoftAssertions...
Kotlin
(src) require.Len(t, destinations, len(chains)-1, "Each chain should have %d destinations", len(chains)-1) sources := laneConfig.GetSourceChainsForDestination(src) require.Len(t, sources, len(chains)-1, "Each chain should have %d sources", len(chains)-1) } // Verify statistics stats := laneConfig.GetLa...
Go
/g> <use width="24" height="24" transform="translate(552 87.25)" xlink:href="#op-x"></use> </g> <g> <g opacity="0.1"> <rect x="456.99" y="162" width="48" height="48" rx="6" ry="6" opacity="0.8"></rect> <rect x="456.99" y="162" width="48" height="48" rx="6" ry="6" fill="none" stroke="#000" stroke...
HTML
: base(entity) { } #endregion #region Methods public T addBehavior(Behavior<T> behavior) { return EventHorizonBlazorInterop.FuncClass<T>( entity => new T() { ___guid = entity.___guid }, new object[] { new string[] { this.___guid, "add...
C#
:"1.6.27","which-module":"1.0.0",y18n:"3.2.1","yargs-parser":"4.2.1"},_requested:{type:"range",registry:true,raw:"vega-lite@^1.2.0",name:"vega-lite",escapedName:"vega-lite",rawSpec:"^1.2.0",saveSpec:null,fetchSpec:"^1.2.0"},_requiredBy:["/"],_resolved:"https://registry.npmjs.org/vega-lite/-/vega-lite-1.3.1.tgz",_shasum...
CSS
/* ========================================================================= * This file is part of sys-c++ * ========================================================================= * * (C) Copyright 2004 - 2014, MDA Information Systems LLC * * sys-c++ is free software; you can redistribute it and/or modify ...
C
nn wenn er ja ausdrücklich darauf besteht, dass sein Name bei seinen Werken genannt wird, kann er sich in diesem Zusammenhang nicht ernsthaft auf Persönlichkeitsrechte benennen. Spätestens, wenn ihr zufällig ein Foto von dem guten Mann zeigt, müsst ihr den nennen &#8230; ;-)</p><p>Auch der Anwalt muss mit seinem guten...
HTML
004A003C 90 61 00 14 */ stw r3, 0x14(r1) /* 804A4B00 004A0040 3B E0 FF FF */ li r31, -1 /* 804A4B04 004A0044 38 60 00 20 */ li r3, 0x20 /* 804A4B08 004A0048 38 80 00 20 */ li r4, 0x20 /* 804A4B0C 004A004C 90 01 00 10 */ stw r0, 0x10(r1) /* 804A4B10 004A0050 4B FF DE E9 */ bl func_804A29F8 /* 804A4B14 004A0054 7C...
Assembly
Sauerteig-Brot-1460x790.jpg 1460w, //www.backenmachtgluecklich.de/media/2019/04/Dinkel-Sauerteig-Brot-1960x1060.jpg 1960w" data-lazy-sizes="(max-width: 350px) 100vw, 350px" data-lazy-src="//www.backenmachtgluecklich.de/media/2019/04/Dinkel-Sauerteig-Brot-350x189.jpg" /><noscript><img src="//www.backenmachtgluecklich.de...
HTML
def f(x, y, s): if x + y >= 65: return s % 2 == 0 if s == 0: return False h = [ f(x + 1, y, s - 1), f(x * 3, y, s - 1), f(x, y + 1, s - 1), f(x, y * 3, s - 1) ] return any(h) if (s - 1) % 2 == 0 else all(h) print([s for s in range(1, 59) if f(6, s, 2)]) # 7 print([s ...
Python
href="Enumerations.html#NoiseType">NoiseType</a> </p></li> <li><p style="margin-bottom: 0in"><a href="Enumerations.html#OrientationType">OrientationType</a></p></li> <li><p style="margin-bottom: 0in"><a href="Enumerations.html#PaintMethod">PaintMethod</a> </p></li> <li><p style="margin-bottom: 0in"><a href="Enu...
HTML
ring[] libraryPaths = InstallationPathsFromVdf("VdfFiles\\new_format_without_mounted.vdf"); Assert.AreEqual(2, libraryPaths.Length); Assert.AreEqual("D:\\Games\\SteamApps", libraryPaths[0]); Assert.AreEqual("F:\\SteamLibrary\\SteamApps", libraryPaths[1]); } [TestMeth...
C#
td>高新园B出口,个人直租,费用全包,押一付一,租期...</td> <td>2018-07-16 09:20:52</td> <td><a href="https://www.douban.com/group/topic/120404392/" target="_blank">https://www.douban.com/group/topic/120404392/</a></td> </tr> <tr> <td>【三尺公寓】南山▎桂庙▎软件产业基地▎有房出租...</td> <td>2018-07-08 10:43:42</td> <td><a href="https://www.douban.com/gr...
HTML
logger.info("indexing players") var count = 0L IndexWriter(directory, IndexWriterConfig(StandardAnalyzer()).apply { openMode = IndexWriterConfig.OpenMode.CREATE }).use { writer -> players.forEachIndexed { i, p -> val player = p as Json.Object ...
Kotlin
), ]), PC14: (pc14, 14, Input<Floating>, moder14, AFRH, afrh14, bs14, br14, odr14, idr14, pupdr14, ot14, [], [ AF1: (into_af1, af1, ["stm32f303xd", "stm32f303xe",],), ]), PC15: (pc15, 15, Input<Floating>, moder15, AFRH, afrh15, bs15, br15, odr15, idr15, pu...
Rust
ords.Diagnostic)] public void Failure(string className, string methodName, string problem) { WriteEvent(1, className, methodName, problem); } [Event(2, Message = "The IMessageHandlerFactory.{0} method has been called.", Opcode = EventOpcode.Start, Task = Tasks.CodeBehavior, Level = EventLevel.Info...
C#
.Limiter.Burst), orm.SlowRequestMS(opt.MaxSlowLogLatencyMS)) idGen := idgenerator.New(db, idgenerator.DefaultMaxRetryCount) s := &set{ idGen: idGen, orm: ormInst, db: db, audit: audit.NewAudit(ormInst), } return s, nil } // connect to mysql func connect(opt cc.ResourceDB) (*sqlx.DB, error) { db, e...
Go
g, dynamic>.from(uriWithoutHash.queryParameters); } /// - temporarily replace the '#' with some other value, set query parameters, and then revert the '#' back to its original value void replaceQueryParameters(Map<String, dynamic> queryParameters) { String hashReplacement = 'bcb258b7-d714-42c6-b69e-b78cdb9a6...
Dart
argin and align in radiobuttons ([ec0b564](https://github.com/SUI-Components/sui-components/commit/ec0b564c3a7904f0055d10e7e20bed5e621d9fca)) * **molecule/radioButtonField:** fix sass ([e1991e8](https://github.com/SUI-Components/sui-components/commit/e1991e80d5d9e9cfb24bc4f2743ff23f4c76978c)) # 1.3.0 (2020-03-11) ...
Markdown
(', '); final day = _parseInt(scanner, 2); scanner.expect('-'); final month = _parseMonth(scanner); scanner.expect('-'); final year = 1900 + _parseInt(scanner, 2); scanner.expect(' '); final time = _parseTime(scanner); scanner.expect(' GMT'); scann...
Dart
one * type (events, people, groups). * Uses RequestQueue to manage the backing store. * @constructor */ var RequestBatcher = function(storageKey, options) { this.errorReporter = options.errorReporter; this.queue = new RequestQueue(storageKey, { errorReporter: _.bind(this.reportError, this), ...
JavaScript
...", style: Theme.of(context).textTheme.titleSmall), ), const CircularProgressIndicator(), ], )); } else if (snapshot.hasError) { // TODO: クラッシュレポート的なものを残せるようにする if (snapshot.error is FirebaseException) { ...
Dart
--pid") } else { n.opts = append(n.opts, "--pid="+*file) } return n } func (n *Nsenter) SetOptCgroup(file *string) *Nsenter { if file == nil { n.opts = append(n.opts, "--cgroup") } else { n.opts = append(n.opts, "--cgroup="+*file) } return n } func (n *Nsenter) SetOptUser(file *string) *Nsenter { if fil...
Go
tructure"] impl crate::Readable for INTFLAG {} #[doc = "`write(|w| ..)` method takes [intflag::W](intflag::W) writer structure"] impl crate::Writable for INTFLAG {} #[doc = "Interrupt Flag Status and Clear"] pub mod intflag; #[doc = "Status\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https:/...
Rust
= null, max: Float? = null) { if (min == this.min && max == this.max && current == this.current) return mapInRange = map.filter { it.key > (min ?: Float.NEGATIVE_INFINITY) && it.key < (max ?: Float.POSITIVE_INFINITY) } this.min = min this.max = max this.current = cur...
Kotlin
= new SplitShapeSearch(40, 5, 8, NSpeex.Codebook_Constants.exc_5_64_table, 6, 0); SplitShapeSearch ssNbMedSearch = new SplitShapeSearch(40, 8, 5, NSpeex.Codebook_Constants.exc_8_128_table, 7, 0); SplitShapeSearch ssSbSearch = new SplitShapeSearch(40, 5, 8, NSpeex.Codebook_Constants.exc_5_256_table, 8, 0); Spli...
C#
_tuple()) { grid[row][col] = (val + ('0' as u8)) as char; } let mut solution = String::new(); solution.reserve(90); for row in grid.iter() { for cell in row.iter() { solution.push(*cell); } solution.push('\n'); } Some(solution) } #[cfg(test)] mod ...
Rust
7l-342 354h360q18-16 39-16t39 16zM112 882q1 4 1 13 0 10-2 15l208 360 15 6 188-199V730L335 536q-13 8-29 10zM986 98H598l190 200 554-200h-280q-16 16-38 16t-38-16zm703 1212q1-6 5-11l-64-68-17 79h76zm-106 0l22-105-252-266-296 307 63 64h463zm-88 368l16-28 65-310h-427l333 343q8-4 13-5zm-917 16h5l342-354H552v335l4 6q14 5 22 13...
JavaScript
, '', '', '3020001', '', '', '2', '', '赤狼', 'Direwolf', '', '1', '', '6', '', '', '', '', '', '', '', '1000240', '', '1,0,1', '', '', '', '', '', '', '', '', '', '', '', '', '', '20156'}, {'1000240', '', '那就把这份赌上一切的热情,尽情地用在探索上吧。', '', '', '', '', '', '', '', '', '', '100000', '', '1', '1', '1', '%s', '', '', '1', '', '...
Lua
} } else { styles += `@media(min-width:${min}px){` // For each breakpoint, loop from 1 to 12. E.g. xs1, xs2, ..., xl12. for (let i = 0; i < grid; i++) { styles += `${cssScope} .${label}${grid - i}{` + `width:${parseFloat(((grid - i) * 100 / grid).toFixed(4))}...
JavaScript
automatically start the clients after the process is done. > **NOTE:** *The snapshot backup process will automatically run ever day at midnight time of the time zone were the sync node runs. To change the schedule, modify `crontab` of the root user on the node's EC2 instance.* 3. Configure and deploy 2 RPC Nodes ``...
Markdown
absolute line number to start getting lines at -- @param toLine the absolute line number to stop getting lines at function Geyser.MiniConsole:getLines(fromLine, toLine) return getLines(self.name, fromLine, toLine) end --- returns the content of the current line under the virtual cursor -- see https://wiki.mudlet.org...
Lua
psrld ymm1, ymm0, xmmword [edx]"); test_instr(&[0xc4, 0b110_00001, 0b1_0111_001, 0xd3, 0b11_001_010], "vpsrlq xmm1, xmm0, xmm2"); test_avx2(&[0xc4, 0b110_00001, 0b1_0111_101, 0xd3, 0b11_001_010], "vpsrlq ymm1, ymm0, xmm2"); test_avx2(&[0xc4, 0b110_00001, 0b1_0111_101, 0xd3, 0b00_001_010], "vpsrlq ymm1, ymm0...
Rust
73 84.713c10.97 6.325 25.449 9.491 39.841 9.491 14.55 0 28.938-3.166 39.908-9.491l146.73-84.713c21.939-12.674 39.917-43.761 39.917-69.093V171.297c0-25.332-17.978-56.42-39.918-69.093L295.832 17.51C284.862 11.17 270.473 8 255.924 8Zm24.648 106.594c11.203 0 20.871 6.054 25.936 15.223l-14.048 3.675c-2.532-3.269-7.438-5.324...
Dart
using System.Net; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using TechTalk.SpecFlow; using TechTalk.SpecFlow.Bindings; namespace Host.TestApps.IntegrationTests.Specs.Glue; public static class ExtensionMethods { public static T Get<T>(this ScenarioContext ctx, string key) => (T)ctx[ke...
C#
,br,kr,ur,cr,hr,dr,wr,pr=a>>2,Er=r>>2,Ar=Oe;Oe+=184;var gr,yr=Ar,wr=yr>>2,mr=Ar+64,dr=mr>>2,Sr=Ar+72,Mr=Ar+88,Cr=Ar+104,hr=Cr>>2,Rr=Ar+168,Tr=0==(0|a);r:do if(Tr)Z(r);else{var cr=(r+4|0)>>2,Or=Me[cr];if(0==(0|Or))break;var Nr=0|a,Ir=Me[Nr>>2];a:do{if(0==(0|Ir)){if(0!=(4&Se[Er]|0)){var Pr=Se[pr+1],Dr=Se[pr+2];q(r,Pr,Dr)...
JavaScript
button[data-v-3f7abdde]{border:1px solid #680516!important}#app[skin=ROG] .theme_progress[data-v-3f7abdde],#app[skin=rog] .theme_progress[data-v-3f7abdde]{background:rgba(255,255,255,.22)}#app[skin=ROG] .theme_search-label[data-v-3f7abdde],#app[skin=rog] .theme_search-label[data-v-3f7abdde]{background:rgba(255,255,255,...
CSS
messageType = eChatType.CT_Emote; else if (killer == null) { messageType = eChatType.CT_PlayerDied; } else { switch ((eRealm)killer.Realm) { case eRealm.Albion: messageType = eChatType.CT_KilledByAlb; break; case eRealm.Midgard: messageType = eChatType.CT_KilledByMid; break; ...
C#
型组件 ### 激活函数 #### Dice - **简介**:Dice激活函数,在深度兴趣网络(DIN)中提出。 - **参数**: - `epsilon` (float): 平滑参数,默认1e-3 - `device` (str): 设备类型,默认'cpu' ### 注意力机制 #### ScaledDotProductAttention - **简介**:缩放点积注意力机制。 - **参数**: - `temperature` (float): 温度参数,用于缩放 - `attn_dropout` (float): 注意力dropout率 #### MultiHeadAttention - **简介*...
Markdown
jectable } from '@angular/core'; import { Rental, User } from '../models'; @Injectable({ providedIn: 'root' }) export class RentalService { rentals: Array<Rental> = new Array<Rental>(); constructor() { const rental1 = new Rental(); rental1.id = 1; rental1.name = 'Back to Lisbon'; rental1.locati...
Typescript
// // ClassDump By HuangBai Private // Copyright (C) 1997-2019 Steve Nygard. Updated HuangBai-2024 // #import "NSObject-Protocol.h" @class NSData, NSString, UIImage; @protocol WCPayFacingReceiveQRCodeViewControllerDelegate <NSObject> @optional - (void)doGetMchShortTermQrCodeWithLoading:(_Bool)arg1; - (void)doGetM...
C
024 GitHub Community. All rights reserved.</a></p></div></body></html><html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta name="Microsoft.Help.SelfBranded" content="true" /><meta name="Language" content="en-us" /><meta name="Micr...
HTML
una utilización de la CPU elevada. El gráfico siguiente muestra el percentil 95 de la latencia de cfcheck comparada con la utilización de la CPU en todas las máquinas del mismo centro de datos, y puedes ver la estrecha correlación:</p> <figure class="kg-card kg-image-card kg-width-wide"><img src="https://blog.cloudfl...
HTML
0 } err = api.ForeachCmd(ctx, c.Commands, true, func(ctx context.Context, id api.CmdID, cmd api.Cmd) error { if err := cmd.Mutate(ctx, id, s, nil, nil); err != nil { return fmt.Errorf("Fail to mutate command %v: %v", cmd, err) } // TODO: Add event generation to the API files. if !filter(id, cmd, s) { ...
Go
{ // ON if ( ( Vs_state[i] == 0 ) && curent_state ) { putVoiceQueue( value ) ; } } if ( ( mode == 1 ) || ( mode == 2 ) ) { // OFF if ( ( Vs_state[i] == 1 ) && !curent_state ) { // uint8_t x ; // x = sd->opt.vs.vval ; if ( mode == 2 ) { ...
C++
.0, 1.0 ); glBegin( GL_LINE_LOOP ); glVertex2i( 0, top ); glVertex2i( w, top ); glVertex2i( w, h ); glVertex2i( 0, h ); glVertex2i( 1, top+1 ); glVertex2i( w-1, top+1 ); glVertex2i( w-1, h-1 ); glVertex2i( 1, h-1 ); glEnd(); glColor3f( .5, .5, .5 ); glBegin( GL_LINE_LOO...
C++
onViewCreated(view, savedInstanceState) initList() initClickListeners() } override fun onResume() { super.onResume() if (this::adapter.isInitialized) { adapter.submitList(LoginUtils.getLogs()) } } private fun initList() { adapter = LogsAdap...
Kotlin
ender-html, :hash \"5drpr3yzJ1CcHNbRHnK2sVyn7YUmXB\"}}] nil [:p] nil [:div [:div ([#viewer-eval nextjournal.clerk.render/inspect-presented {:path [26], :nextjournal/value \"(acoth z)\", :nextjournal/render-opts {:language \"clojure\"}, :nextjournal/viewer {:name nextjournal.clerk.viewer/code-viewer, :render-fn #viewer-...
HTML
ota: isize => "cpuquota" ); impl_url_field!( /// Set CPUs in which to allow execution. Example: `0-1`, `1-3` cpu_set_cpus: isize => "cpusetcpus" ); impl_url_field!( /// CPU shares - relative weights cpu_shares: isize => "cpushares" ); impl_url_str_field!( ...
Rust
fault=shiro_key,help='Specific shiro key or user default') parser.add_argument('--url','-u', type=str ,help='Specific URL Address') parser.add_argument('--gadget','-g', type=str ,help='Specific Gadget [CommonsCollectionsK1/CommonsCollectionsK2/CommonsBeanutils1/CommonsBeanutils2/Jdk7u21/Jdk8u20]') parser.ad...
Python
"Write proxy for field `RTC_RST`"] pub struct RTC_RST_W<'a> { w: &'a mut W, } impl<'a> RTC_RST_W<'a> { #[doc = r"Writes `variant` to the field"] #[inline(always)] pub fn variant(self, variant: RTC_RST_A) -> &'a mut W { { self.bit(variant.into()) } } #[doc = "Bloc is n...
Rust
, _, uri, _, params)) = tuple::<_, _, VerboseError<&str>, _>(( take_until("<"), tag("<"), take_until(">"), tag(">"), rest, ))(part)?; Ok(Self { display_name: crate::utils::opt_trim(display_name), ...
Rust
pio, true); i2s->sm_mask |= (1u << i2s->sm_sck); offset = pio_add_program(pio, &i2s_sck_program); i2s_sck_program_init(pio, i2s->sm_sck, offset, config->sck_pin); pio_sm_set_clkdiv_int_frac(pio, i2s->sm_sck, clocks.sck_d, clocks.sck_f); } // In block, clocked with SCK i2s->s...
C
. if ( ShouldInterpolate() ) AddToInterpolationList(); // objects with attachment points need to be queryable even if they're not solid if ( hdr->GetNumAttachments() != 0 ) { AddEFlags( EFL_USE_PARTITION_WHEN_NOT_SOLID ); } // Most entities clear out their sequences when they change models on the server, b...
C++
} public OriginNoUpdateFlyout(MEGame game) { DataContext = this; ImagePath = $"pack://application:,,,/ALOTInstallerWPF;component/Images/origin/{game.ToString().ToLower()}update.png"; //IF ASSEMBLY CHANGES THIS MUST BE UPDATED!! CloseFlyoutCommand = new GenericCommand(...
C#
m; if not, see <http://www.gnu.org/licenses/>. * See the COPYING file in the main directory for details. */ .syntax unified .arch armv7-a .fpu neon .text .align 2 .global norm4_neon .type norm4_neon, %function norm4_neon: veor q15, q15 .loop_norm4: vld2.32 {q0-q1}, [r0]! vmul.f32 q2...
Assembly
f this list as a [List] of type [E]. * * <br> * <details> * <summary> * <b>Calling from Kotlin</b> * </summary> * * Here's an example of calling this function from Kotlin code: * * SAMPLE: [kotools.types.collection.NotEmptyListCommonSample.toList] * </details> ...
Kotlin
self.bind.taskLevelActive = false end end function module:setAttrView(isAttr) self._isAttr = isAttr local petCatalogData = L_CatalogStore:getPetCatalogByPetId(self.bind.petId) or {} local taskLevel = petCatalogData.lv or 1 local isFull = taskLevel == 10 local isGet = L_CatalogStore:isGetPet(self.bind.petI...
Lua
i)}get links(){return this.get("links")}set links(i){this.set("links",i)}get media(){return this.get("media")}set media(i){this.set("media",i)}get readOnly(){return this.get("readOnly")}set readOnly(i){this.set("readOnly",i)}}const fm=JSONSchema;class JSONReference extends td.Sb{constructor(i,s,u){super(i,s,u),this.ele...
HTML
lidators[0].mockReturnValueOnce(undefined); mockValidators[1].mockReturnValueOnce(undefined); mockValidators[2].mockReturnValueOnce(undefined); expect(composedValidator('')).toBe(undefined); }); }); describe('isRequired validator', () => { it('should return error message if value is empty...
Typescript
00 B2 */ fmuls f2, f0, f2 /* 8019B444 00198384 48 00 00 08 */ b .L_8019B44C .L_8019B448: /* 8019B448 00198388 FC 40 08 90 */ fmr f2, f1 .L_8019B44C: /* 8019B44C 0019838C C0 02 AC 00 */ lfs f0, lbl_80518F60@sda21(r2) /* 8019B450 00198390 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 8019B454 00198394 40 81 00 30 */ ble .L_80...
Assembly
cpu.rP = setFlags(cpu.rP, cpu.rX); }), new StackOpCode(PHA, 0x48, cpu => cpu.stackPush(cpu.rA)), new StackOpCode(PLA, 0x68, cpu => { cpu.rA = cpu.stackPop(); cpu.rP = setFlags(cpu.rP, cpu.rA); }), new StackOpCode(...
Typescript
4e8c\u5341\u3002", "type": "paragraph"}, {"text": "\u4ee5\u4e0a\u5404\u9879\u5e0c\u5373\u7814\u7a76\u5e03\u7f6e\u6267\u884c\uff0c\u5e76\u5c06\u610f\u89c1\u7535\u544a\u3002", "type": "paragraph"}, {"text": "\u00a0\u4e2d\u5357\u5c40\u5341\u4e00\u6708\u5341\u4e94\u65e5", "type": "paragraph"}, {"text": "\u6765\u6e90\uff1a"...
HTML
; sdstrim(x," "); test_cond("sdstrim() works when a single char remains", sdslen(x) == 1 && x[0] == 'x') sdsfree(x); x = sdsnew("xxciaoyyy"); sdstrim(x,"xy"); test_cond("sdstrim() correctly trims characters", sdslen(x) == 4 && memcmp(x,"ciao\0",5)...
C
font-family: Tahoma; mso-hansi-font-family: Tahoma; mso-font-kerning: 0.0000pt; mso-spacerun: 'yes'; mso-shading: rgb(255,255,255)"><font face="΢ź" ></font></span><span style="FONT-FAMILY: Tahoma; BACKGROUND: rgb(255,255,255); FONT-SIZE: 11pt; mso-font-kerning: 0.0000pt; mso-spacerun: 'yes'; mso-shading: rgb(255,255,25...
HTML