content
stringlengths
2
6.21k
label
stringclasses
16 values
_at BETWEEN $1 AND $2)"); assertThat( createCountQueryFor("SELECT us FROM users_statuses us WHERE (user_created_at BETWEEN :fromDate AND :toDate)")) .isEqualTo("SELECT count(us) FROM users_statuses us WHERE (user_created_at BETWEEN :fromDate AND :toDate)"); } @Test // GH-3269, GH-3689 void createsCountQu...
Java
h_test->tr, "synthetic", "empty_synth_test", false)); /* Now give the file and instance back */ trace_put_event_file(empty_synth_test); /* Now unregister and free the synthetic event */ WARN_ON(synth_event_delete("empty_synth_test")); /* Disable the event or you can't remove it */ WARN_ON(trace_a...
C
密不透风,实际没有几天就有传闻出来,说澳洲人为了女人的事情自己内部闹了起来。甚至有人言之凿凿的说,之所以闹起来是因为里面的头目每个都讨了几十个老婆,下面的人没有,还有人说澳洲人不缺女人而是因为大家争抢一个貌若天仙的女子,争风吃醋才闹将起来。 杨世祥对这个消息很是惊讶,因为他没想到澳洲人会没有女人!博铺港每隔十天半月就会运来一二船难民,里面不乏女子,澳洲人充其量不过千人,每人一个总能分得到的。 自己的结义兄弟刘三是有老婆的,当初他还专门送了一份礼给乌云花,很为澳洲女人的健壮和气势所震摄,他有点隐隐约约的感觉到这位义弟大约是有点惧内。 酒过三巡,杨世祥终于隐晦的问起这件事情来。 刘三一怔,这事情居然都传到县城了,真是好事不出门坏...
Markdown
.word 0xb0944000 ! 3448: ORcc_R orcc %r17, %r0, %r24 cpu_intr_3_252: setx 0x380239, %g1, %o0 ta T_SEND_THRD_INTR .word 0xf6b5e144 ! 3452: STHA_I stha %r27, [%r23 + 0x0144] %asi setx data_start_1, %g1, %r17 ta T_CHANGE_HPRIV mov 0x38, %g1 stxa %r20, [%g1] 0x58 .word 0x81982982 ! 3453: WRHPR_HPSTATE_I wrhpr %...
Assembly
275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.75...
HTML
anagement interfaces, and communication protocols will be tested for IoT-specific vulnerabilities', 'asvs_verification': 'Application URLs will be tested against ASVS verification requirements for comprehensive security assessment' // 'cloud_security': 'Cloud service endpoints, management interfaces, an...
HTML
n.CaseInsensitive) matchFilter := extractMatchFilter(t, filterNode) assert.Equal(t, structs.MATCH_PHRASE, matchFilter.MatchType) assert.Equal(t, []byte("abc./\\\\:=@#$%-_def"), matchFilter.MatchPhrase) } func Test_searchUnquotedStringMajorBreakerAtStart(t *testing.T) { query := []byte(`search &abcDEF`) res, err ...
Go
text-sm font-medium text-gray-700 mb-1",children:"Tags"}),p.jsx("input",{id:"tags",name:"tags",type:"text",className:"input-field",placeholder:"Séparez les tags par des virgules (ex: urgent, travail)",value:h.tags,onChange:S})]}),p.jsxs("div",{children:[p.jsx("label",{htmlFor:"due_date",className:"block text-sm font-m...
JavaScript
o validate the time range is ok. -pretty `, this.Cmd, this.Synopsis(), ctx.ZkDefaultZone()) return strings.TrimSpace(help) } package command import ( "bufio" "flag" "fmt" "net" "sort" "strings" "sync" "github.com/funkygao/columnize" "github.com/funkygao/gafka/ctx" "github.com/funkygao/gafka/zk" "git...
Go
ing `json:"verification_message" url:"verification_message"` // Private bitmask of fields set to an explicit value and therefore not to be omitted explicitFields *big.Int `json:"-" url:"-"` extraProperties map[string]interface{} rawJSON json.RawMessage } func (s *SetGuardianFactorPhoneTemplatesResponseCo...
Go
>. /// /// Parameter [stats] : /// Specifies one or more fields for which to get statistics information. Each /// specified field must be facet-enabled in the domain configuration. The /// fields are specified in JSON using the form: /// <code>{"FIELD-A":{},"FIELD-B":{}}</code> /// There are currently no ...
Dart
> </li> <li>Forget to <strong>export</strong> the Component</li> </ul> </section> </section> <!-- RESOURCES --> <section> <h6>Resources</h6> <div class="columns"><div class="column is-8 is-offset-2"> <ul class="small"> <li><a ta...
HTML
java.lang.String s = bs.toStringUtf8(); symbol_ = s; return s; } else { return (java.lang.String) ref; } } /** * <pre> * 代码 * </pre> * * <code>string symbol = 8;</code> * @return The bytes for symbol. */...
Java
量,表示两帧差距阈值,超出该值视为运动 global StopThreshold, BlobState #私有变量,储存用于对比的第一帧Blobs状态 BlobState1 = [0,0,0] #以及第二帧 BlobState2 = [0,0,0] #更新当前帧Blobs状态。 GetBlobState() #此处更新BlobState1 BlobState1=BlobState #再次获取当前帧Blobs状态。 time.sleep_ms(100) GetBlobState() #此处更新BlobState2 BlobS...
Python
break; case 219356:// ex 219404 sendMsg(SM_SYSTEM_MESSAGE.STR_IDTIAMAT_TIAMAT_REWARD_SPAWN()); spawn(701501, 1099.8691f, 1047.1895f, 787.685f, (byte) 64); spawn(730622, 644.4221f, 1319.6221f, 488.7422f, (byte) 0, 15); spawn(800438, 665.63409f, 1319.7051f, 487.9f, (byte) 61); spawn(283180, 62...
Java
任务定制RAG,为零样本输入进行自动提示检索,并通过少量样本的查询生成来创建特定于任务的检索器。</p> </li> <li> <p>新模式:模块化RAG通过允许模块替换或重新配置来解决特定挑战,从而提供了显著的适应性。这已经超出了朴素RAG和高级RAG以简单的“检索”和“阅读”机制为特征的固定结构。此外,模块化RAG通过集成新模块或调整现有模块之间的交互流程来扩展这种灵活性,增强了其在不同任务中的适用性。</p> </li> </ul> <p><img src="https://api.allorigins.win/raw?url=https://mmbiz.qpic.cn/mmbiz_png/xkmf5XGt5WqRcB89ia...
HTML
) assert inventory.inventory.get_host('test-host3.example.com') is not None host2_info = inventory.inventory.get_host('test-host2') assert host2_info is not None assert host2_info.get_vars().get('ansible_host') == 'test-host2.home.local' # Confirm attribute options switcher inventory.inventory_...
Python
"0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47"; const TWO_INV: Fq = Fq::from_raw([0, 0, 0, 0]); const ROOT_OF_UNITY_INV: Fq = Fq::from_raw([0, 0, 0, 0]); const DELTA: Fq = Fq::from_raw([0, 0, 0, 0]); const ZETA: Fq = Fq::from_raw([0, 0, 0, 0]); impl_binops_additive!(Fq, Fq); impl_binops_multi...
Rust
》高等教育出版社 (可在图书馆借到或在跳蚤市场上收二手书) ![](./study/image16.png) #### 3)生物 生物分两级教学,A 级的学习侧重于看论文做深入研究,主要面向生物专业、其它对生 物有较高要求专业的学生,B 级的学习背诵的内容更多,主要面向其它对生物有一般要求专业的学生。 参考资料:Campbell Essential Biology with Physiology ![](./study/image17.png) #### 4)化学 《化学原理》分两级教学,A 级面向化学专业、其它对化学有较高要求专业的学生,B 级面向其它对化学有一般要求专业的学生。相较于 B 级,A 级的学习内容要更加...
Markdown
PROTO_0: GETUPVAL R1 0 GETTABLEKS R0 R1 K0 ["BaseUrl"] LENGTH R3 R0 NAMECALL R1 R0 K1 ["sub"] CALL R1 2 1 JUMPIFEQKS R1 K2 ["/"] [+4] MOVE R1 R0 LOADK R2 K2 ["/"] CONCAT R0 R1 R2 LOADK R3 K3 ["://"] NAMECALL R1 R0 K4 ["find"] CALL R1 2 2 LOADK R5 K5 ["%."] ADDK R6 R2 K6 [1] NAMECALL R3 R0 ...
Assembly
parse( "https://api.bilibili.com/x/v2/reply/main?appkey=1d8b6e7d45233436&build=5370000&mobi_app=android&type=1&oid=" + aid)); HttpClientResponse response = await request.close(); var result = await response.transform(utf8.decoder).join(); Map<String, dynamic> jsondata = json.d...
Dart
l1 sub.l lenght_boucle_bis(a6),a2 bra.s no_ini1 nul1 move.l #sample_nul,a2 move.l #sample_nul+fin_ech,adr_fin_sample_bis(a6) clr.l lenght_boucle_bis(a6) no_ini1 lea info_voie_2,a6 cmp.l adr_fin_sample_bis(a6),a3 blt.s no_ini2 tst.l lenght_boucle_bis(a6) beq.s nul2 sub.l lenght_boucle_bis(a6),a3 bra.s no_i...
Assembly
/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkStream_NSData_DEFINED #define SkStream_NSData_DEFINED #import <UIKit/UIKit.h> #include "SkStream.h" /** Returns an NSData with a copy of the stream's data. The cal...
C
MushroomGroup01.m2", -- [24] "GrizzlyHills_MushroomGroup02.m2", -- [25] "GrizzlyHills_MushroomGroup03.m2", -- [26] "GrizzlyHills_Redishflower01.m2", -- [27] "GrizzlyHills_Redishflower02.m2", -- [28] "GrizzlyHills_Root01.m2", -- [29] "GrizzlyHills_Root02....
Lua
onclick="scrollDown()" id="scroll-down" > <div> <!-- prettier-ignore --> <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"> <path fill-rule="evenodd" d="M34.89 17.29c-1.48-1.339-3.878-1.339-5.358 0l-7.742...
HTML
eq.idl: Commoncontrols.idl req.max-support: req.namespace: req.assembly: req.type-library: req.lib: req.dll: Comctl32.dll (version 6.0 or later) req.irql: targetos: Windows req.typenames: req.redist: ms.custom: 19H1 f1_keywords: - IImageList2::ReplaceFromImageList - commoncontrols/IImageList2::ReplaceFromImag...
Markdown
const match = path.match(/\/.+\/(.+[^\/]).app/); return (match && match[1]) || ""; }; import { isDefined, isNotEqual, isNotNil, toBoolean, toNumber, toString } from './type'; describe('Type', () => { it('Check if given value is defined', () => { expect(isDefined('')).toBeTruthy(); expect(isDefined(nul...
Typescript
selectedSet: number, doubleIdOne?: number, doubleIdTwo?: number ) { game.currentEventHandler.doubleIdOneToRemove = doubleIdOne; game.currentEventHandler.doubleIdTwoToRemove = doubleIdTwo; socket.emit(SocketEvent.FROM_SERVER_ACTION_PENDING, { action: Action.Rent }); const rentValue = getRentValue(game, ...
Typescript
manager, match) => TestTimeoutHandler(manager, match)); } private void Register( IHttpService service, string uriTemplate, Action<HttpEntityManager, UriTemplateMatch> handler, string httpMethod = HttpMethod.Get) { Register(service, uriTemplate, httpMethod, handler, Codec.NoCodecs, new ICodec[] { Codec.ManualEn...
C#
_wrapper {display: inline-block;} .bucket_details .autocompaction_input_units {vertical-align: middle;} .bucket_details .size-gauge {float:right;width:364px;position:relative;top:-6px;line-height:24px;} .init_block p {line-height: 20px;} .bucket_details .for-ram-quota span {color:#222} .bucket_details .size-gauge .top...
CSS
}; }); socketServer.to(player.id).emit('game_started', { state: { ...state, players, }, }); }); console.log(`Game ${this.game.id} started.`); } } import { Request, Response } from "express";...
Typescript
<ul> <li>在软件界面左上角点击“配置”选项。 </li> <li>选择“导入配置”,粘贴订阅链接或上传本地配置文件。 </li> <li>点击“确定”后,软件会自动加载节点信息。 </li> </ul></li> </ol> <h3>3. 基础设置</h3> <ol> <li><p><strong>选择代理模式</strong> </p> <ul> <li><strong>全局模式</strong>:所有流量均通过代理。 </li> <li><strong>规则模式</strong>:根据规则自动选择是否走代理(推荐)。 </li> <li><strong>直连模式</strong>:完全绕过代理。 </...
HTML
- area.top; tileW = area.right - area.left; this.area = area; } @Override public Tilemap create() { Tilemap v = super.create(); int[] data = new int[tileW*tileH]; int cell; Trap t; int i = 0; for (int y = tileY; y < tileY + tileH; y++){ cell = tileX + y*Dungeon.level.width(); for...
Java
style { backgroundColor(GlobalStyle.tertiaryBackgroundColor) borderRadius(16.px) color(GlobalStyle.textColor) fontSize(0.75.cssRem) fontWeight(700) lineHeight(1.0.number) minWidth(1.5.cssRem) padding(0.25.cssRem, 0.5.cssRem) textAlign(TextAlign.Center) } val radioGroup by style { display(Display...
Kotlin
"Symbol-Italic", "Zapf"}; for (const char* font_name : kNotStandardFontNames) { ScopedFPDFFont font(FPDFText_LoadStandardFont(document(), font_name)); EXPECT_FALSE(font) << font_name << " should not be considered a standard font."; } } TEST_F(FPDFEditEmbedderTest, Graphics...
C++
#ifndef ELM_WIDGET_SEPARATOR_H #define ELM_WIDGET_SEPARATOR_H #include "Elementary.h" /* DO NOT USE THIS HEADER UNLESS YOU ARE PREPARED FOR BREAKING OF YOUR * CODE. THIS IS ELEMENTARY'S INTERNAL WIDGET API (for now) AND IS NOT * FINAL. CALL elm_widget_api_check(ELM_INTERNAL_API_VERSION) TO CHECK * IT AT RUNTIME. ...
C
.toDouble() assertEquals(expected, Quantile.evaluate(p, data), 1e-6) //todo try to avoid rounding } } // @Test // fun testNoOverflow() { //todo try to fix // val data1 = Float64Buffer(-9000.0, 100.0) // assertEquals(100.0, Quantile.evaluate(1.0, data1)) // // val data...
Kotlin
<p><b>Rachel:</b> Ohh, you should know, this place is a real babe magnet. Wanna make out?</p> <p>(They kiss.)</p> <p><b>Joshua:</b> Hey, here&#146;s an idea. Why don&#146;t uh, I put the food in the fridge and we can eat it later?</p> <p><b>Rachel:</b> That sounds like a plan. Umm, is there a place I can go freshen ...
HTML
TIM5_IRQHandler // 65: TIM5 global Interrupt (IRQ_TIM5) weak_irq USART4_IRQHandler // 66: USART4 global Interrupt (IRQ_USART4) weak_irq DMA1_Channel8_IRQHandler // 67: DMA1 Channel 8 global Interrupt (IRQ_DMA1_CH8) weak_irq OSC32KCal_IRQHandler // 68: OSC32K global Interrupt (IRQ_OSC32K_CAL) weak_irq OSCWakeUp_IRQ...
Assembly
// <copyright> // Copyright by the Spark Development Network // // Licensed under the Rock Community License (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.rockrms.com/license // // Unless required by applicable law or ag...
C#
des raw-socket, c'est à dire la création de paquets (ICMP, IP,UDP, et TCP).</font></p> <p><font face="Times New Roman" size="2">LiOn7, c'est à toi !!! ;p</font>&nbsp;<br> &nbsp;<br>&nbsp;<br>&nbsp;<br></p> <p><font face="Times New Roman" size="2">11°/ICMP Smurfing - By LiOn7</font>&nbsp;<br> </p> <p><font face="Times...
HTML
00, 1.11022302e-16, -2.81025203e-16, 7.21644966e-16, -5.73388332e-02, -3.21349704e-01, -1.11022302e-16, 3.05311332e-16, ], ] ), "field_2...
Python
kg-card kg-image-card"><img src="https://lh3.googleusercontent.com/tP04mOJyy0P2m2sYCESZ1ME2Q-KcW9ERsTFu6O4flDLFDYbaPer8-VtUeFiamvHecXSVQppe73_KlJjzu38zETOmup5DGJbhXt010I8-a8hFE-N4eeu5MR8kKP8cEj2IXq5MHAUQ" class="kg-image" alt="Launching a Startup on Cloudflare Workers" loading="lazy"></figure> <p>本周<a href="https://bl...
HTML
2.H0;\n", j1c33 => "--:-:-:-:1 \@P0 $convert storeF3, loadF1.H1;\n", j1c37 => "--:-:-:-:1 \@P0 $convert storeF2, loadF1.H0;\n", j1c41 => "--:-:-:-:1 \@P0 $convert storeF1, loadF0.H1;\n", j1c45 => "--:-:2:-:1 \@P0 $convert storeF0, loadF0.H0;\n", j1c47 => "10:5:-:-:1 \@P0 ST...
CSS
r&enable_traversalzNotebook.enable_traversalos.  5tww?r(r)rrrrrrrrrrr"r'r)r,r/rAr(r&r r sFK;@D0 .7 F L7AF @r(r cZeZdZdZddZej ...
Python
using System; namespace UnityEngine.Rendering.Universal { class DebugRenderSetup : IDisposable { private readonly DebugHandler m_DebugHandler; private readonly ScriptableRenderContext m_Context; private readonly CommandBuffer m_CommandBuffer; private readonly int m_Index; ...
C#
D_NO. * @param s the String containing a description message */ public NO_MEMORY(String s) { this(s, 0, CompletionStatus.COMPLETED_NO); } /** * Constructs a <code>NO_MEMORY</code> exception with the specified * minor code and completion status. * @param minor the minor code...
Java
deletelink:link, a.deletelink:visited { color: #CC3434; /* XXX Probably unused? */ } a.deletelink:focus, a.deletelink:hover { color: #993333; /* XXX Probably unused? */ text-decoration: none; } /* OBJECT TOOLS */ .object-tools { font-size: 0.625rem; font-weight: bold; padding-left: 0; flo...
CSS
[Scroll to Edge Effect](#scroll-to-edge-effect) ## Installation CenteredCollectionView is available through [Swift Package Manager](https://swift.org/package-manager/), [CocoaPods](http://cocoapods.org) and [Carthage](https://github.com/Carthage/Carthage). To install it with **Swift Package Manager**, add the URL ...
Markdown
ze size = _src.size(); _dst.create( size, _src.type() ); if( maxValue < 0 ) { _dst = Scalar(0); return; } Mat _mean; if( _src.data != _dst.data ) _mean = _dst; if( method == ADAPTIVE_THRESH_MEAN_C ) boxFilter( _src, _mean, _src.type(), Size(blockSize,...
C++
",examples:"Examples",default:"Default",containsInvalidProperties:"Contains invalid properties",containsInvalidItems:"Contains invalid items"},es:{array:"Matriz",auto:"Auto",appendText:"Agregar",appendTitle:"Agregue un nuevo campo con el tipo 'auto' después de este campo (Ctrl + Shift + Ins)",appendSubmenuTitle:"Selecc...
JavaScript
BOOL running; /** The error status of the replication, or nil if there have not been any errors since it started. */ @property (nonatomic, readonly, strong, nullable) NSError* lastError; /** The number of completed changes processed, if the task is active, else 0 (observable). */ @property (nonatomic, readonly) unsig...
C
new IllegalArgumentException( " Outdent() without matching Indent()."); } indent.delete(length - 2, length); } /** * Print text to the output stream. */ public void print(final CharSequence text) throws IOException { final int size = text.length(); int pos = 0...
Java
_OES:null);if(i===bt)return 6406;if(i===St)return 6408;if(i===wt)return 6409;if(i===Tt)return 6410;if(i===At)return 6402;if(i===Et)return 34041;if(i===Ce)return s=e.get("EXT_sRGB"),null!==s?s.SRGB_ALPHA_EXT:null;if(i===Ct)return 6403;if(i===Lt)return 36244;if(i===Rt)return 33319;if(i===Pt)return 33320;if(i===It)return ...
JavaScript
_t &NumPredicateVectors, int64_t &NumDataVectors) { // The smallest scalable element supported by scaled SVE addressing // modes are predicates, which are 2 scalable bytes in size. So the scalable // byte offset must always be a multiple of 2. assert(Offset.getScalable() % 2 == 0 && "Invalid frame offset");...
C++
null} for none */ public GoogleCloudSecuritycenterV2Binding setNs(java.lang.String ns) { this.ns = ns; return this; } /** * The Role or ClusterRole referenced by the binding. * @return value or {@code null} for none */ public GoogleCloudSecuritycenterV2Role getRole() { return role; }...
Java
6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 1 0 128 0 64 64 0 1 0-128 0zm118-224a48 48 0 1 0 96 0 48 48 0 1 0-96 0zm158 228a96 96 0 1 0 192 0 96 96 0 1 0-192 0zm148-314a56 56 0 1 0 112 0 56 56 0 1 0-112 0z" /> </symbol> <symbol class="ebicon" viewBox="0 0 1024 1024" ...
HTML
operand-accessors_8h.html#3eab9ba7a199533484dfcd7965828f43">xed-operand-accessors.h</a><li>xed3_operand_get_df64() : <a class="el" href="xed-operand-accessors_8h.html#8257855bb1536667ed888e4b792709dd">xed-operand-accessors.h</a><li>xed3_operand_get_disp() : <a class="el" href="xed-operand-accessors_8h.html#1eb45cd019d0...
HTML
spacing:normal; word-spacing:normal; text-align:left; } .stackContent:after { content:"."; display:block; height:0; clear:both; visibility:hidden; } /*.stackAuto .stackContent,*/ #nav li a, .galleryImage .stackContent, .february .stackContent, .footerItem .stackContent { text-align:cente...
CSS
it means a client // instance have already been created in this session and we should try to // "revive" it. const cached = Storage.get(); if (cached) { return Promise.resolve(new Client(cached)); } // Otherwise try to launch return authorize(options).then(() => { // `init`...
Typescript
var y=r[""][""];if(u(y))e.set(null);else{if(!Array.isArray(y))return o.warn("Unrecognized full array edit value",f,y),!0;e.set(y)}return!g&&(h(v,m),p(t),!0)}var x,b,_,w,k,M,A,T=Object.keys(r).map(Number).sort(s),S=e.get(),E=S||[],C=n(m,f).get(),L=[],z=-1,O=E.length;for(x=0;x<T.length;x++)if(w=r[_=T[x]],k=Object.keys(w)...
HTML
// Copyright (C) 2005-2025 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library 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, or (at your op...
C
channel); Color corner00 = originSplatTexs[layer].GetPixel(j, i); Color corner10 = originSplatTexs[layer].GetPixel(j + 1, i); Color corner01 = originSplatTexs[layer].GetPixel(j, i + 1); Color corner11 = originSplatTexs[layer].GetPixel(j ...
C#
\Z8, \Z0, \Z1, \Z2, \Z3, \Z4, \T0, \T1, \P .endif xorq \Z5, \Z5 movq 48+\A, %rdx MULADD \Z6, \Z7, \Z8, \Z0, \Z1, \Z2, \Z3, \Z4, \Z5, \T0, \T1, 64+\B movq 112+\A, %rdx MULADD \Z6, \Z7, \Z8, \Z0, \Z1, \Z2, \Z3, \Z4, \Z5, \T0, \T1, \B .if \RDC != 1 movq \Z6, 48(%rdi) .else // [r14, r8:r12] <- z = ((z0 x u0) x p + ...
Assembly
it is an error to * invoke any other method using the image. * * @return <code>true</code> when the image is disposed and <code>false</code> otherwise */ public boolean isDisposed() { // return handle == null; return false; } /** * Sets the color to which to map the transparent pixel. * <p> * There are certai...
Java
]] /; FreeQ[{a,b,A,B},x] && NeQ[a*B^3-b*A^3] && PosQ[a/b] Int[(A_+B_.*x_)/(a_+b_.*x_^3),x_Symbol] := With[{r=Numerator[Rt[-a/b,3]], s=Denominator[Rt[-a/b,3]]}, r*(B*r+A*s)/(3*a*s)*Int[1/(r-s*x),x] - r/(3*a*s)*Int[(r*(B*r-2*A*s)-s*(B*r+A*s)*x)/(r^2+r*s*x+s^2*x^2),x]] /; FreeQ[{a,b,A,B},x] && NeQ[a*B^3-b*A^3] &&...
Go
// ReSharper disable once CppInitializedValueIsAlwaysRewritten int startyy = 0; if (starty < 0 ) { startyy = starty + (starty % this->GridSpaceY) - (this->GridSpaceY); } else { startyy = starty - (starty % this->GridSpaceY); } int y...
C++
-- hatchet { id = 3559, chance = 8570 }, -- leather legs { id = 3505, chance = 4290 }, -- letter { id = 3456, chance = 8570 }, -- pick { id = 3410, chance = 17140 }, -- plate shield { id = 3378, chance = 8570 }, -- studded armor { id = 3723, chance = 47140 }, -- white mushroom } monster.attacks = { { name = "m...
Lua
22) { if (username) sockname = dupprintf("%s@%s", username, host); else sockname = dupprintf("%s", host); } else { if (username) sockname = dupprintf("%s@%s:%d", username, host, port); else sockname = dupprintf("%s:%d", host, port); ...
C
, float drainTimeDTOff) { float drainTime = dtOn ? drainTimeDTOn : drainTimeDTOff; // Calculate the proportion of the total drain time that has passed float timeRatio = elapsedTime / drainTime; // Clamp timeRatio between 0.0 and 1.0 to ensure it doesn't exceed the intended range timeRatio = glm::clamp(timeRatio...
C++
.dispatch({ type: 'RESET_STATE' }); return true; } /** * Method which is used to send email. * @param email which holds the entered email id. */ sendEmail(email) { const emailDetails = { email: email }; return this.http.postMethod('addEmail', emailDetails); } /** * Method whi...
Typescript
4405f; /* Instagram pink/red */ --social-youtube: #ff0000; /* YouTube red */ --social-tiktok: #000000; /* TikTok black */ /* Spacing Scale */ --space-xs: 0.25rem; /* 4px */ --space-sm: 0.5rem; /* 8px */ --space-md: 1rem; /* 16px */ --space-lg: 1.5rem; /* 24px */ --space-xl: 2rem; /* 32px */ --space-2...
CSS
6 ; A = A * 2 MOV R5, A ; 保存A * 2在R5 ADD A, R5 ; A = A * 4 MOV R6, A ; 保存A*4到R6 ADD A, R5 ; A = A * 6 MOV R6, A ; 保存A*6到R6 MOV A, R0 CLR C ; 清除进位标志 RRC A ; A = A / 2 CLR C RRC A ; A = A / 4 CLR C ADD A, R6 ; A = A*6 + A*0.25 = A * 6.25 MOV 35H, A ; 保存小数部分...
Markdown
//=- WebAssemblySelectionDAGInfo.h - WebAssembly SelectionDAG Info -*- 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
}; mxShapeMockupiKeybSymbols.prototype.background = function(c, x, y, w, h) { c.setGradient('#8A97A7', '#425163', 0, 0, w, h, mxConstants.DIRECTION_SOUTH, 1, 1); c.rect(0, 0, w, h); c.fill(); }; mxShapeMockupiKeybSymbols.prototype.foreground = function(c, x, y, w, h, strokeColor) { c.setGradient('#EEF3F9', '#DBE...
JavaScript
4 /** * <p>The orientation for a JPEG image.</p> * * <p>Type: int32</p> * * <p>This tag may appear in: * <ul> * <li>ACameraMetadata from ACameraCaptureSession_captureCallback_result callbacks</li> * <li>ACaptureRequest</li> * </ul></p> * * <p>The clockwise rotation angle in degrees, relative...
Go
("notify_url", aliPayModel.getNotify_url()); // 接口名称 keyValues.put("method", "alipay.trade.app.pay"); // 商户生成签名字符串所使用的签名算法类型,目前支持RSA2和RSA,推荐使用RSA2 keyValues.put("sign_type", rsa2 ? "RSA2" : "RSA"); // 发送请求的时间 keyValues.put("timestamp", aliPayModel.getTimestamp()); ...
Java
static const int SVG_SPREADMETHOD_REPEAT = 3; /// The **`gradientUnits`** read-only property of the [SVGGradientElement] /// interface reflects the `gradientUnits` attribute of the given element. It /// takes one of the `SVG_UNIT_TYPE_*` constants defined in [SVGUnitTypes]. external SVGAnimatedEnumeration get ...
Dart
l = nodeB.getControl(GhostControl.class); if(pickUpControl != null && pickUpControl.isEnabled()) { pickUpControl.setEnabled(false); nodeB.removeFromParent(); nodeB.setLocalScale(0.0f); score += 1; if(score >= PICKUP_COUNT) { ...
Java
ntainerRegistry.Register<IDateService, DateService>(); containerRegistry.Register<IFirestoreRepository<TaskModel>, TasksRepository>(); containerRegistry.Register<IFirestoreRepository<ListModel>, ListsRepository>(); containerRegistry.RegisterForNavigation<NavigationPage>("NavigationP...
C#
b"0" => Some(ApplQueueResolution::NoActionTaken), b"1" => Some(ApplQueueResolution::QueueFlushed), b"2" => Some(ApplQueueResolution::OverlayLast), b"3" => Some(ApplQueueResolution::EndSession), _ => None } } fn to_bytes(&self, mut v: &mut Vec<u8>) { ...
Rust
n err; err = this->serializeProperties(exporter); // Paragraph properties if(err != UT_OK) return err; err = this->serializeChildren(exporter); if(err != UT_OK) return err; return exporter->finishParagraph(TARGET); } UT_Error OXML_Element_Paragraph::serializeChildren(IE_Exp_OpenXML* exporter) { UT_Error r...
C++
ting-framework/framework/components/dockercompose/chip_ingress_set" "github.com/smartcontractkit/chainlink-testing-framework/framework/components/fake" "github.com/smartcontractkit/chainlink-testing-framework/framework/components/jd" "github.com/smartcontractkit/chainlink-testing-framework/framework/components/s3pro...
Go
ge accounts with /// Hierarchical Namespace Support enabled. /// /// ## Limitations /// /// - Moves are not supported on storage accounts without /// Hierarchical Namespace support enabled /// - Moves across different containers are not supported /// - Moving a path of the form `/container` is not sup...
C
(player.weaponnumber !== 0) wep = items[player.weaponnumber - 1]; str = (player.weaponnumber === 0 ? 0 : items[player.weaponnumber - 1].strength) + player.p[3]; hstr = str >> 1; def = (player.armournumber === 0 ? 0 : items[player.armournumber - 1].defence) + player.p[4] setvar('enemy', enm.name); your_hp(); en...
JavaScript
\ * Simple to use replay routine in assembly language * To be assembled with DevPac2 from HiSoft or any similar... * * Copyright 1991 Synchron Assembly * * This routine and the included binary file could be used by anyone * in any kind of program for personal or commercial use as long as * AudioSculpture is mentioned...
Assembly
expect(t.item2).to.equal(4711); expect(t.toString()).to.equal('hugo-4711'); } @test 'should test Tuple3'() { const t = new Tuple3<string, number, string>('hugo', 4711, 'maier'); expect(t.item1).to.equal('hugo'); expect(t.item2).to.equal(4711); expect(t.item3).to.equal('maier'); expect(...
Typescript
("woff"); } @font-face { font-family: "Inter"; font-style: italic; font-weight: 700; font-display: swap; src: url("/fonts/Inter/Inter-BoldItalic.woff2?v=3.18") format("woff2"), url("/fonts/Inter/Inter-BoldItalic.woff?v=3.18") format("woff"); } @font-face { font-family: "Inter"; font-style: normal...
CSS
��치: "); for (int i = 0; i < num_motors; i++) { uint16_t pos = dxl.getPresentPosition(motor_ids[i]); CMD_SERIAL.print(pos); Serial.print(pos); if (i != num_motors - 1) { CMD_SERIAL.print(", "); Serial.print(", "); } } CMD_SERIAL.println(); Serial.println(); } void suctionOn() { digitalWrite(RELAY_PIN...
C++
s.name,this.cursor=0,this.input="",this.lines=[]}},Aqe=async(r={},e={},t=i=>i)=>{let i=new Set,n=r.fields||[],s=r.template,o=[],a=[],l=[],c=1;typeof s=="function"&&(s=await s());let u=-1,g=()=>s[++u],f=()=>s[u+1],h=p=>{p.line=c,o.push(p)};for(h({type:"bos",value:""});u<s.length-1;){let p=g();if(/^[^\S\n ]$/.test(p)){h(...
JavaScript
звучивающего Мед сюда", ["Unit.2.0.1.013"] = "<Note>Поставьте актера озвучивающего Кость сюда", ["Unit.2.0.1.014"] = "<Note>Поставьте актера озвучивающего Пугна сюда", ["Unit.2.0.1.015"] = "<Note>Поставьте актера озвучивающего СНК сюда", ["Unit.2.0.1.016"] = "<Note>Поставьте актера озвучивающего НЕС сюда", ["Unit....
Lua
using Pragmastat.Distributions; using Pragmastat.ReferenceTests.Distributions.ReferenceTesting; using Pragmastat.ReferenceTests.ReferenceTesting; namespace Pragmastat.ReferenceTests.Distributions; public class UniformDistributionTests : DistributionTestBase<UniformDistribution> { private const string SuiteName = "d...
C#
4j.Level import org.apache.logging.log4j.LogManager import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.BeforeAll import org.junit.jupiter.api.Test import org.junit.jupiter.api.TestInstance import org.junit.jupiter.api.extension.ExtendWith import kotlin.time.Duration.Companion.milliseconds im...
Kotlin
y", __userField); assertEquals(4, response.getHits().getTotalHits()); final InternalDistinctFacet facet = response.getFacets().facet(__facetName); final List<DistinctTimePeriod<NullEntry>> facetList = facet.entries(); // Expecting just one hit and one distinct hit per doc, for the userna...
Java
/* @(#)s_cbrt.c 5.1 93/09/24 */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsystems, Inc. business. * Permission to use, copy, modify, and distribute this * software is freely granted, provided th...
C
644\u0649 \u062D\u0642\u0648\u0644 \u0645\u062A\u0639\u062F\u062F\u0629',true,B8(Sub,wRc,1,[]));this.b=a} function APb(a){dyb.call(this,'\u0645\u0631\u0628\u0639 \u0627\u0644\u0644\u0627\u0626\u062D\u0629','\u0645\u0631\u0628\u0639 \u0627\u062E\u062A\u064A\u0627\u0631 \u0648\u0644\u0648\u0627\u0626\u062D \u0645\u0646\u...
HTML
crclr 6 /* 80321BB4 0031D814 4B FF AF 81 */ bl DWC_Printf lbl_80321BB8: /* 80321BB8 0031D818 80 01 00 64 */ lwz r0, 0x64(r1) /* 80321BBC 0031D81C 83 E1 00 5C */ lwz r31, 0x5c(r1) /* 80321BC0 0031D820 83 C1 00 58 */ lwz r30, 0x58(r1) /* 80321BC4 0031D824 83 A1 00 54 */ lwz r29, 0x54(r1) /* 80321BC8 0031D828 7C 08 ...
Assembly
"Network"] GETTABLEKS R74 R19 K110 ["Localization"] SETTABLEKS R74 R73 K110 ["Localization"] CALL R72 1 1 MOVE R73 R57 CALL R72 1 1 MOVE R57 R72 GETTABLEKS R72 R5 K112 ["UNSTABLE_connect2"] MOVE R73 R70 MOVE R74 R71 CALL R72 2 1 MOVE R73 R57 CALL R72 1 -1 RETURN R72 -1
Assembly
c]=(d=>{const b=function(){return d.apply(this,Le(arguments,i+"."+c))};return ue(b,d),b})(a)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,n)=>{function i(o){return function(c){Qe(e,o).forEach(y=>{const d=e.PromiseRejectionEvent;if(d){const b=new d(o,{...
JavaScript
ize<W>(&self, mut target: W) -> Result<(), std::io::Error> // where // W: std::io::Write, // { // target.write_all(&[*self]) // } // } impl BitcoinSerialize for std::net::Ipv6Addr { fn bitcoin_serialize<W>(&self, mut target: W) -> Result<(), std::io::Error> where W: std::io:...
Rust