content
stringlengths
2
6.21k
label
stringclasses
16 values
he meter local pTeamTechs = pActiveTeam:GetTeamTechs(); local iCurrentProgressTimes100 = pTeamTechs:GetResearchProgressTimes100(kTechInfo.ID); local iNextTurnProgressTimes100 = iCurrentProgressTimes100 + pActivePlayer:GetScienceTimes100(); local iTechCost = pTeamTechs:GetResearchCost(kTechInfo.ID); local...
Lua
from pydantic import BaseModel class Token(BaseModel): access_token: str token_type: str class TokenData(BaseModel): username: str | None = None role: str | None = None class LoginRequest(BaseModel): email: str password: str
Python
CustomerField _setField(CustomerField? field, String colName, DbType dbtype) { return CustomerField(this) ..param = DbParameter( dbType: dbtype, columnName: colName, wStartBlock: openedBlock); } CustomerField? _CustomerId; CustomerField get CustomerId { return _CustomerId = _setField(_C...
Dart
A9F4 83 81 00 20 */ lwz r28, 0x20(r1) /* 8004DAB8 0004A9F8 7C 08 03 A6 */ mtlr r0 /* 8004DABC 0004A9FC 38 21 00 30 */ addi r1, r1, 0x30 /* 8004DAC0 0004AA00 4E 80 00 20 */ blr .endfn setGX__12J2DTevBlock4Fv .fn loadTexture__12J2DTevBlock4F11_GXTexMapIDUl, global /* 8004DAC4 0004AA04 94 21 FF F0 */ stwu r1, -0x10...
Assembly
/** * @file ccn_digest.c * @brief Support for creating digests. * * Part of the CCNx C Library. * * Copyright (C) 2009 Palo Alto Research Center, Inc. * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 2.1 * as publis...
C
DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF T...
C++
cutorMaxPoolSize(int executorMaxPoolSize) { this.executorMaxPoolSize = executorMaxPoolSize; } /** * Set the {@link ThreadPoolTaskExecutor}} queue size to limit the number of concurrent * threads. The executor is used for PubSub operations. * Default: {@link Integer#MAX_VALUE}. * @param executorQueueSize th...
Java
��; 띕; 띕; 띕; 띕; ) HANGUL SYLLABLE DDYIB B756;B756;1104 1174 11B9;B756;1104 1174 11B9; # (띖; 띖; 띖; 띖; 띖; ) HANGUL SYLLABLE DDYIBS B757;B757;1104 1174 11BA;B757;1104 1174 11BA; # (띗; 띗; 띗; 띗; 띗; ) HANGUL SYLLABLE DDYIS B758;B758;1104 1174 11BB;B758;1104 1174 11BB; # (띘; 띘; 띘; 띘; 띘; ) HANGUL SYLLABLE DDYISS B759;B759;1104...
Kotlin
: text; -webkit-text-fill-color: transparent; } .component-special .goods-head .more.red span, .component-special .goods-head .more.red .iconfont { font-size: 12px; background: linear-gradient(-55deg, #FF5151 0%, #FF7B91 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } /* 内容 */ .com...
CSS
ect); } LPCSTR fn = pSettings->r_string (sect_name,"cam_eff_name"); cam_anm->Start (fn); A->Cameras().AddCamEffector (cam_anm); } } void AddEffector (CActor* A, int type, const shared_str& sect_name, GET_KOEFF_FUNC k_func) { if(pSettings->line_exist(sect_name,"pp_eff_name")){ bool bCyclic = ...
C++
,-14.5 -9.1,1.6 v -2.8 c -0.9,0.5 -5.7,2.9 -6.6,2.9 -0.1,0 -3.4,-2.6 -4,-2.9 l -0.7,4 -8.8,-3.6 v 2.9 l -3.1,-1 8.1,15.1 -0.2,0.1 c -4.6,1.1 -10.3,6.8 -12.7,10.4 -0.8,1.1 -1.3,2.6 -2,3.7 -1.4,1.8 -0.9,2.5 -1.7,4 -0.6,1.1 -2.9,7.2 -2.9,8.6 v 3.7 c 0,1 0.7,5.8 1,6.7 0.4,1.4 0.4,2 0.8,3.2 0.3,0.9 0.9,1.6 1.4,2.3 1.3,2 4.8...
JavaScript
c zeroaddr(size int64) *Node { if size >= 1<<31 { Fatalf("map value too big %d", size) } if zerosize < size { zerosize = size } s := mappkg.Lookup("zero") if s.Def == nil { x := newname(s) x.Type = types.Types[TUINT8] x.SetClass(PEXTERN) x.SetTypecheck(1) s.Def = asTypesNode(x) } z := nod(OADDR, a...
Go
vpnShoot) deployment(labels map[string]string, template *corev1.PodTemplateSpec) *appsv1.Deployment { var ( intStrMax = intstr.FromString("100%") intStrZero = intstr.FromString("0%") replicas = 1 ) return &appsv1.Deployment{ ObjectMeta: metav1.ObjectMeta{ Name: deploymentName, Namespace: metav...
Go
} x = x / radiusX; y = y / radiusY; // check if the point is outside the unit circle if (x * x + y * y > 1.0) return false; return true; } /// Linearly interpolate between two rounded rectangles. /// /// If either is null, this function substitutes [RRect.zero] instead. /// /// Th...
Dart
result if romanTable has no answer.`, () => { expect(hiraganaToRoman('じぃ')).toEqual([ ['zyi', 'zixi', 'jyi', 'jixi'], 2, ]); }); it(`should return [xtu, xtsu] if 'っ' is followed by no char or alphabet.`, () => { expect(hiraganaToRoman('っ')).toEqual([['xtu', 'xtsu'], 1]); expect(hiragana...
Typescript
t'; // AUTOGENERATED START // // Update these constants by running: // // dart pkg/vm_service/test/update_line_numbers.dart pkg/vm_service/test/issue_59653_test.dart // const LINE_A = 36; // AUTOGENERATED END abstract interface class SharedTypeStructure {} extension type SharedTypeSchemaView<TypeStructure extends Sh...
Dart
= 0 local found_armor = false local found_health = false if ply.pac_healthmods then for uid,tbl in pairs(ply.pac_healthmods) do if tbl.maxhealth then biggest_health = math.max(biggest_health,tbl.maxhealth) found_health = true end if tbl.maxarmor then biggest_armor = math.max(biggest_armor,tbl.maxarmor...
Lua
"resultTracker",{numPages:0,numResults:0,done:!1}),!r)throw new Error("URL is required");if(this.url=new URL(r),this.config={first:!1,userProvided:!1,numPages:1/0,numResults:1e3,retryOpts:Object(k["a"])({retries:3,maxTimeout:2e3,minTimeout:500},i)},!1===a)return this;if(!a)throw new Error("Unable to find query with nam...
JavaScript
[0..8]. We end up executing a division by zero on the last iteration because // the DivI it is not pinned to the loop exit test and can freely float above the loop exit check. iFld = 10 / i; } } // Fixed with JDK-8336729. static void testPushDivLThruPhiForOuterLongLoop() { ...
Java
NDEFINED, fixed=Component.UNDEFINED, sticky=Component.UNDEFINED, color=Component.UNDEFINED, expand=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs): self._prop_names = ['children', 'id', 'brand', 'brand_external_link', 'brand_href', 'brand_style', 'className', 'class_name', 'color', 'dark', 'ex...
Python
, }; type EntityDescParams = { name: { core: string }; update?: () => void; init?: () => void; }; class EntityDesc { params: {}; type: EntityType; constructor(type: EntityType, params: EntityDescParams) { this.params = params; this.type = type; } create(play: Play): Entity { return new e...
Typescript
'../helpers/passwordVisibility.helper'; export class SignInComponent{ private readonly form : HTMLFormElement; constructor(private readonly container : Element){ this.container = container; this.form = document.createElement('form'); } public render() : void{ this.container.in...
Typescript
y: number, spriteName: string, frameName: number ) { super(game, x, y, spriteName, frameName); this.game = game; this.game.physics.arcade.enable(this); this.body.velocity.set(0); this.body.gravity.y = 100; this.velocityX = Math.random() * (Global...
Typescript
margin-right: 0px; margin-bottom: 0px; color: #545454; } .bd-block-4 .bd-blockheader h5 { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; color: #545454; } .bd-block-4 .bd-blockheader h4 { line-height: 25.71428572px; color: #ffbf00; text-transform: none; margin-left: 0p...
CSS
tProgramPath.node.extra; sections?.forEach(fn); } export function forEachSectionReverse(fn: (section: Section) => void) { const { sections } = currentProgramPath.node.extra; for (let i = sections!.length; i--; ) { fn(sections![i]); } } // Copyright 2017-2019 @polkadot/api-derive authors & contributors // T...
Typescript
estre de Estábulo"}, [63989] = {"Saari","Mascote de Jaul Hsu"}, [63990] = {"Poça de Cuspe",nil}, [63991] = {"Espreitador 3 Alvo da Explosão da Grande Muralha",nil}, [63992] = {"Espreitador 1 Alvo da Explosão da Grande Muralha",nil}, [63993] = {"Estripador Escamamuco",nil}, [63994] = {"Desafiante Wuli","Masmorras de Des...
Lua
"Binary Comma Statement in For Loop", () => { const code = ` let x: number, y: number; for (x = 0, y = 17; x < 5; ++x, --y) {} return y; `; expect(util.transpileAndExecute(code)).toBe(12); }); test("Null Expression", () => { expect(util.transpileString("null")).toBe("local ____ ...
Typescript
<input type="number" value={withdrawalAmount} onChange={(e) => setWithdrawalAmount(+e.target.value)} /> <button onClick={handleWithdrawal}> Withdraw {withdrawalAmount} </button> </div> <div> <label>Reques...
JavaScript
blic static String byteArray2HexString(byte[] byteArray) { return byteArray2HexString(byteArray, NO_SEPARATOR, 0); } /** * Byte array to hexadecimal display string. * * @param byteArray byte array to be converted to string * @param sep separator. If {@link #NO_SEPARATOR}, then no separator is used * ...
Java
mediaUrl) does not support partial content (ACCEPT_RANGES_HEADER is null)" } return cacheAndReturn(mediaUrl, PartialContentCheckResult(false)) } if (!acceptsRangesValue.equals(ACCEPT_RANGES_HEADER_VALUE, true)) { Logger.debug(TAG) { "($mediaUrl) does not support partial content " + ...
Kotlin
#region License Information /* HeuristicLab * Copyright (C) Heuristic and Evolutionary Algorithms Laboratory (HEAL) * * This file is part of HeuristicLab. * * HeuristicLab 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 So...
C#
======================================================================= // I don't like borders! //========================================================================== t.Style().Options.DrawBorder = false t.SetCaption("Table without Borders.\n") fmt.Println(t.Render()) // # ┃ FIRST NAME ┃ LAST NAME ┃ SALA...
Go
eason; /* reason for denying inhibit */ } lk_local_inhibit_denied_ind_t; /* * LK_MANAGEMENT_UNINHIBIT_DENIED_IND, M_PROTO */ typedef struct { lk_long primitive; /* LK_MANAGEMENT_UNINHIBIT_DENIED_IND */ lk_ulong reason; /* reason for denying inhibit */ } lk_management_uninhibit_denied_ind_t; /* * LK_MSU_REQ,...
C
* // # Token Grant KYC // Grant "KYC" status to an account with respect to a token. // // The "KYC' property is named for the "Know Your Customer" requirements in // US federal regulations (FINRA 2090 and related US Code) that was subsequently // incorporated into laws and regulations for many worldwide jurisdictions. ...
Go
8KcJjB7woXChCk=', 'wpjDiMOvNHg=', 'wrDCgsKMwqbCnnjCsMKe', 'w6/DtAJ1cw==', 'w4zCh0pbfw==', 'HMKZwojDsUbDoFRh', 'wqTCjSJTwoc=', 'woLCq8O2wrFr', 'w4rDi8KRwoPCng==', 'w7TCjcKWw7pxA8OMORxfC1cbw4HCjcOrwq/ChhwKw6gLXcK7PTRRw54=', 'DEPCmWo2', 'QGJlw7vCpQ==', 'w5XCjMKWw6Zs', 'w...
JavaScript
�破,这样就可以了。 张春桥答:搞工厂是方向问题,我们打算下一步应该这样走。至於怎麽样搞,你们去闯,去摸索经验。 问:有人反对我们进工厂,例如:北京玉器厂,光华木材厂,红旗战斗团也对我们提抗议。 张春桥:这是一件新鲜事物嘛!当然有人反对,(笑)反对你们进工厂的指导思想是怕你们打破了他们的生产秩序。如果你们注意了,把革命和生产的关系处理好了,他们就不反了。首先你们应该和工人接触,现在不要到车间去,因为他们内部不统一,也谈不了多少话。我以前有几次到工厂去,也是这样,要等工人下了班再和他们谈话,否则你们到这派师傅那里去劳动,另一派可能全部停工,那就不好了。 问:我们想搞几个点摸索经验,是不是你们也深入配合我们搞点,总结经验。 戚...
Markdown
elopment server", tags = { "web", }, } task "uptime" { backend = "remote", targets = "web", script = "uptime", } ~~~ ## Another Syntax The above example of configuration is written in Lua DSL style. You can also use plain Lua functions styles. The following examples are valid config code....
Markdown
ionwang at 2019-12-30 */ object UIDeviceUtils { /** * checking if is huawei rom */ fun checkIsHuaweiRom(): Boolean { return Build.MANUFACTURER.contains("HUAWEI") } /** * checking if is miui rom */ fun checkIsMiuiRom(): Boolean { return !TextUtils.isEmpty(getSyst...
Kotlin
s FTP login allowed (FTP code 230) |_02-28-22 07:35PM <DIR> Users | ftp-syst: |_ SYST: Windows_NT 22/tcp open ssh OpenSSH for_Windows_8.0 (protocol 2.0) | ssh-hostkey: | 3072 c7:1a:f6:81:ca:17:78:d0:27:db:cd:46:2a:09:2b:54 (RSA) | 256 3e:63:ef:3b:6e:3e:4a:90:f3:4c:02:e9:40:67:2e:42 ...
Markdown
Wireless', value: true}; export const OPT_WIRED = {label: 'Wired', value: false}; // Connectivity Models export const CONNECTIVITY_MODEL_OPEN = 'OPEN'; export const CONNECTIVITY_MODEL_PDU = 'PDU'; export const DEFAULT_CONNECTIVITY_MODEL = CONNECTIVITY_MODEL_OPEN; // D2d export const DEFAULT_D2D_RADIUS = 100; export c...
JavaScript
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "cpu/minor/cpu.hh" #include "cpu/minor/dyn_inst.hh" #include "cpu/minor/fetch1.hh" #include "cpu/minor/pipeline....
C++
// q3: B33 B23 B13 B03 vld1.32 {q8}, [r0] // q8: A.W A.Z A.Y A.X vmul.f32 q0, q0, q8 // (A.W*B30) (A.Z*B20) (A.Y*B10) (A.X*B00) vmul.f32 q1, q1, q8 // (A.W*B31) (A.Z*B21) (A.Y*B11) (A.X*B01) vmul.f32 q2, q2, q8 // (A.W*B32) (A.Z*B22) (A.Y*B12) (A.X*...
Assembly
芫荽子油, 石蛇床子油", "parsley-leaved thorn":"[网络] 欧芹菠菜", "parsleyed":"a. 与欧芹一起煮的;(菜肴上)撒有欧芹的", "parslow":" [人名] [英格兰人姓氏] 帕斯洛绰号, 渡海商人, 来源于古法语, 含义是“通过, 横过+水”(to pass,cross+the water)", "parslows":"(parslow 的复数) [人名] [英格兰人姓氏] 帕斯洛绰号, 渡海商人, 来源于古法语, 含义是“通过, 横过+水”(to pass,cross+the water)", "parsnip":"n. 欧洲防风草, 欧洲萝卜", "parsnips":"n....
Typescript
es this dictionary. */ var _functions = {}; /** * All HTML builders. Should be only used in the `define*` and the `build*ML` * functions. */ var _htmlGroupBuilders = {}; /** * All MathML builders. Should be only used in the `define*` and the `build*ML` * functions. */ var _mathmlGroupBuilders = {}; function de...
JavaScript
return { { effect_list = { { type = "BattleBuffAddBuff", trigger = { "onUpdate" }, arg_list = { buff_id = 103041, time = 10, target = "TargetSelf" } } } }, { effect_list = { { type = "BattleBuffAddBuff", trigger = { "onUpdate" }, arg_list = ...
Lua
0(a6) move.w $18(a6),d0 cmp.w $10(a6),d0 blt.s MT_TONEPORTASETPER move.w $18(a6),$10(a6) clr.w $18(a6) MT_TONEPORTASETPER move.w $10(a6),d2 move.b $1F(a6),d0 andi.b #$F,d0 beq.s MT_GLISSKIP moveq #0,d0 move.b $12(a6),d0 mulu.w #$48,d0 lea MT_PERIODTABLE(pc),a0 adda.w d0,a0 moveq #0,d0 MT_GLISSLOOP cmp.w...
Assembly
swagger-ui .opblock-link{font-weight:400}.swagger-ui .opblock-link.shown{font-weight:700}.swagger-ui span.token-string{color:#555}.swagger-ui span.token-not-formatted{color:#555;font-weight:700}.swagger-ui .btn{background:transparent;border:2px solid grey;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#3b4...
CSS
ComponentContext<T>): T { const componentType = context.componentType as ComponentType<T>; if (!componentType[ComponentConstructor__symbol]) { componentType[ComponentConstructor__symbol] = newComponentConstructor(componentType); } return componentType[ComponentConstructor__symbol]!(context); } function ...
Typescript
k_mid_down",size:r.a.medium,hittable:!0},{group:"group_front_mid_down",size:r.a.medium,hittable:!0}],turrets:[{group:"group_cent_cent_down",size:r.a.medium,hittable:!0,types:[l.a.standard,l.a.missile]},{group:"group_back_cent_up",size:r.a.medium,hittable:!0,types:[l.a.standard,l.a.missile]},{group:"group_back_right_dow...
JavaScript
the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific lan...
Typescript
capture, "normal! 'A") eq('nvim_exec2(), line 1: Vim(normal):E92: Buffer 1 not found', err) os.remove(file1) end) it('errors when using a mark in another buffer in command range', function() feed('ifoo<Esc>mA') command('enew') feed('ibar<Esc>') eq("Vim(print):E20: Mark not set: 'Aprint", pc...
Lua
_role) ウィジェットのように、 HTML にネイティブに存在しない要素を記述するために使用することができます。ロールはまた、存在するがまだブラウザーの完全な対応をしていない新しい要素にも役立ちます。例えば、 SVG 画像を使用する場合、開始タグに `role="img"` を追加してください。 [SVG VoiceOver のバグ](https://webkit.org/b/216364) があり、 VoiceOver は SVG 画像を正しくアナウンスできないからです。 ```html <img src="mdn.svg" alt="MDN logo" role="img" /> ``` --- title: 装飾的なボッ...
Markdown
ge order. */ //@{ nmrPInverseSolver(const vctDynamicMatrix<CISSTNETLIB_DOUBLE> &A) { Allocate(A); } //@} /*! This method allocates the memory based on M and N. The next call to the Solve() method will check that the parameters match the dimension. \param m Number ...
C
Exp: FinallyExpression) { let modifiersExp: bt.ObjectExpression = bt.objectExpression([]) if (originalModifiersExp) { if ( !bt.isArrayExpression(originalModifiersExp) && !bt.isObjectExpression(originalModifiersExp) ) { return { modifiersExp: originalModifiersExp, needRuntim...
Typescript
/* * Copyright (c) 2000-2012 Apple Inc. All rights reserved. * * @APPLE_OSREFERENCE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file ex...
Assembly
tate.disabledWidgets.contains(widget) ? state.disabledWidgets.remove(widget) : state.disabledWidgets.add(widget), ); return save(newState); } } @Freezed(fromJson: true, toJson: true) sealed class HomePrefs with _$HomePrefs implements Serializable { const factory HomePrefs({required ILis...
Dart
ting-to-open-source-walkthrough-part-0-b3dc43e6b720) - Hướng dẫn về đóng góp mã nguồn mở này bao gồm mọi thứ, từ việc chọn một dự án phù hợp, giải quyết một vấn đề, đến việc hợp nhất PR. - ["Cách đóng góp cho dự án nguồn mở" bởi Sarah Drasner](https://css-tricks.com/how-to-contribute-to-an-open-source-project/) - Họ đa...
Markdown
"c c"; } .range_Audio { transform: rotate(0deg); width: 100px; margin-top: 0; } .img_Icon_Autorh_InPlayers_Img { width: 25px; height: 25px; } .buttons_Players_Music { padding-left: auto; margin-top: 0; } .switch_Menu_Song_Img { width: 30px; height: 30px; } .profile { width: 30px; height: ...
CSS
T_TRUE(google::protobuf::TextFormat::ParseFromString( R"pb( wav_filename: "" samples_to_trim_at_end: 0 samples_to_trim_at_start: 0 channel_ids: [ 0, 1 ] channel_labels: [ "L2", "R2" ] )pb", audio_frame_metadata)); audio_frame_metadata->set_audio_element_id(aud...
C++
ing .bt3-dropdown-menu li a,.rc-ProgrammingAuthoringTool .bt3-dropdown-menu li a,.rc-QuizAuthoring .bt3-dropdown-menu li a,.rc-ReadingsAuthoring .bt3-dropdown-menu li a,.rc-TeamAssignmentAuthoring .bt3-dropdown-menu li a{padding:8px 20px}.rc-AdminDeletionConfirmModal .bt3-dropdown-menu li i,.rc-AdminViewGradeOverride ....
CSS
and method == "POST" and data[0].get("drivewsid") ): if data[0].get("drivewsid") == "FOLDER::com.apple.CloudDocs::root": return ResponseMock(DRIVE_ROOT_WORKING) if data[0].get("drivewsid") == "FOLDER::com.apple.CloudDocs::documents": ...
Python
pe NegativeImbalanceOf<T> = <<T as Config>::Vrmeta as Currency<<T as frame_system::Config>::AccountId>>::NegativeImbalance; pub type BalanceOf<T> = <<T as Config>::Vrmeta as Currency<<T as frame_system::Config>::AccountId>>::Balance; impl<T: Config> Pallet<T> { pub fn switch(i: u32) -> BalanceOf<T> { ...
Rust
单位性质的值 */ private String shixiValue; /** * 实习岗位 */ private String shixiGangwei; /** * 实习开始时间 */ @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd") @DateTimeFormat private Date kaishiTime; /** * 实习结束时间 */ @JsonFormat(locale="zh", timezone="GMT+8", pattern="...
Java
import com.intellij.lang.ASTNode import com.intellij.psi.PsiElement import com.intellij.psi.impl.source.tree.LeafElement import com.intellij.psi.search.SearchScope import org.intellij.terraform.config.model.getTerraformSearchScope import org.intellij.terraform.hcl.psi.HCLElementGenerator import org.intellij.terraform...
Kotlin
TextType.B0079]: [ `费用`, `Cost`, ], [LangTextType.B0080]: [ `高级`, `Advanced`, ], [LangTextType.B0081]: [ `删除部队`, `Delete Unit`, ], [LangTextType.B0082]: [ `和局`, `Drawn Game`, ...
Typescript
01,0x10 = vfnmaddsd (%rcx), %xmm1, %xmm0, %xmm0 0xc4,0xe3,0x79,0x7b,0x01,0x10 = vfnmaddsd %xmm1, (%rcx), %xmm0, %xmm0 0xc4,0xe3,0xf9,0x7b,0xc2,0x10 = vfnmaddsd %xmm2, %xmm1, %xmm0, %xmm0 0xc4,0xe3,0xf9,0x78,0x01,0x10 = vfnmaddps (%rcx), %xmm1, %xmm0, %xmm0 0xc4,0xe3,0x79,0x78,0x01,0x10 = vfnmaddps %xmm1, (%rcx), %xmm0,...
C#
ock) .build(); let my_udt = CellOutput::new_builder() .capacity(input_ckb.pack()) .lock(success_lock) .build(); let mut true_commit = vec![2u8]; true_commit.extend_from_slice(&mut commit[..]); let withdraw_outputs_data: Vec<Bytes> = vec![ true_commit.into(), ...
Rust
d3 [class^=d-float][class^=d-float]{margin-left:4.9211303092639%;margin-right:4.9211303092639%;}.d5-d6 [class*=" d-float"][class*=" d-float"],.d5-d6 [class^=d-float][class^=d-float]{margin-left:4.9934040216301%;margin-right:4.9934040216301%;}.d2-d3 [class*=" d-float"][class*=" d-float"],.d2-d3 [class^=d-float][class^=d...
CSS
), ), const SizedBox(height: 16), _buildCta(context), ], ); } Widget _buildCta(BuildContext context) { return MiniCard( onTap: _onTap, color: context.theme.accent, child: SizedBox( height: 28, child: Row( mainAxisAlignmen...
Dart
console.log('load eye detection training data', load); } } function faceDetect(img_gray, roiRect) { loadFaceDetectTrainingSet(); var roi_gray = img_gray if (roiRect) { roi_gray = img_gray.roi(roiRect); } else { roiRect = new cv.Rect(0, 0, img_gray.cols, img_gray.rows); } ...
JavaScript
// Copyright 2022 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
C
BOOLEAN); WRAPPER_DATA_TYPES.put(CHAR_WRAPPER, CHAR); } public static String getPrimitiveType(String wrapperType) { boolean array = false; if (isArray(wrapperType)) { array = true; wrapperType = wrapperType.substring(0, wrapperType.length() - 2); } ...
Java
} if canmovedragons(state, 1) { framebuffer.spr(57, 48, 8); } if canmovedragons(state, 2) { framebuffer.spr(58, 48, 0); } for i in 0..=CELLS_MAX_INDEX { let (posx, posy) = get_card_pos(i); drawcell(framebuffer, &state.cells[i as usize], posx, posy); } l...
Rust
using System; namespace Microsoft.Maui.Handlers { public abstract partial class ElementHandler : IElementHandler, IElementHandlerStateExhibitor { public static IPropertyMapper<IElement, IElementHandler> ElementMapper = new PropertyMapper<IElement, IElementHandler>() { }; public static CommandMapper<IElemen...
C#
94fca3980c58073334c16dcee04a739d40cc32c0f7c81d22; _d=1696859975779; UID=191970731; vc=A36D3FA84461C0CAF4688A251F03960D; vc2=464A347B391020FA611A3EDB588C71A1; vc3=cVlD6V2OXwxsPLfG%2Fh83Pp8%2FleLwQwSkYnay0mmdy%2BrPn9Aa%2F9XhCKgMmWk6JZdaYmfzQDOsfHXoEqlTMaSYhHOmPRj8jPB2WeTp75Wd1VUeYbmfyb1TKftVS2W%2F50FFAQSaQ3eJcCPcr89o4uGw...
Kotlin
措施的,由住房城乡建设、城市管理部门或者其他负有扬尘污染防治监督管理职责的部门处一万元以上十万元以下罚款。 第二十五条 市、县(市、区)人民政府及负有扬尘污染防治监督管理职责的部门及其工作人员滥用职权、玩忽职守、徇私舞弊、弄虚作假的,依法给予处分;构成犯罪的,依法追究刑事责任。 第二十六条 违反本条例规定的行为,法律、法规已规定法律责任的,从其规定。 第二十七条 城乡一体化示范区管委会根据市人民政府的委托,按照本条例做好本辖区内的扬尘污染防治及其监督管理工作。 第二十八条 本条例自2020年4月30日起施行。# 河南省减少污染物排放条例 2013年9月26日 河南省第十二届人民代表大会常务委员会第四次会议通过 2018年...
Markdown
namespace HexaEngine.Core.Input { using Hexa.NET.SDL3; /// <summary> /// Represents a haptic feedback device that can provide force feedback sensations. /// </summary> public unsafe class Haptic { private readonly uint id; private readonly SDLHaptic* haptic; private Ha...
C#
); return { cancel: () => scheduledTasks .map(t => t.cancel()) .reduce((acc, current) => acc || current, false) }; } })) as allFunction; }{ const obj = { name:'noh', } const s1 =...
Typescript
val p2 = ac / viewingConditions.nbb val hSin = sin(hRad) val hCos = cos(hRad) val gamma = 23.0 * (p2 + 0.305) * t / (23.0 * p1 + 11.0 * t * hCos + 108.0 * t * hSin) val a = gamma * hCos val b = gamma * hSin val rA = (460.0 * p2 + 451.0 * a + 288.0 * b) / 1403.0 ...
Kotlin
.dhxform_select, .dhxform_obj_dhx_skyblue .validate_error div.dhxform_label_nav_link, .dhxform_obj_dhx_skyblue .validate_error div.dhxform_label div.dhxform_label_nav_link:focus { color: red; } .dhxform_obj_dhx_skyblue div.disabled .dhx_combo_box.dhx_skyblue { border: 1px solid #cacecd; } .dhxform_obj_dhx_skyblue ...
CSS
length, 2); assert(possibleTeams.includes('Venusaur')); assert(possibleTeams.includes('Charizard,Venusaur')); // no additions or evolutions left possibleTeams = Dex.getPossibleTeams([["Venusaur", "Charizard", "Blastoise", "Meganium", "Typhlosion", "Feraligatr"]], ["Pikachu"], {additions: 1, evolutions: 1, r...
Typescript
.UTF_8)) private fun sbox(e: Int): Int { val t = intArrayOf(163, 95, 137, 13, 55, 193, 107, 228, 114, 185, 22, 243, 68, 218, 158, 40) return t[e and 15] xor t[e shr 4 and 15] } fun prng(): BigInteger { state = state.xor(state.shiftLeft(11).and(MASK64)) state = state.xor(sta...
Kotlin
mfsr $p0, MR_CAC_CTL ! Get the $CACHE_CTL reg li $p1, DIS_DCAC and $p0, $p0, $p1 ! Clear the DC_EN bit mtsr $p0, MR_CAC_CTL ! Write back the $CACHE_CTL reg br $r0 ! Jump to the input address
Assembly
lw $a3, %lo(D_808917D0)($a3) /* 00BE8 80891328 AFA20024 */ sw $v0, 0x0024($sp) /* 00BEC 8089132C 0320F809 */ jalr $ra, $t9 /* 00BF0 80891330 8FA50044 */ lw $a1, 0x0044($sp) /* 00BF4 80891334 86080200 */ lh $t0, 0x0200($s0) ## 00000200 /* 00...
Assembly
stUser+"/a", []byte{}); err != nil { t.Error(err) } if gr, err := db.Get(context.TODO(), testUser+"/a"); err != nil { t.Error(err) } else if bytes := gr.ValueBytes(); bytes == nil || len(bytes) != 0 { t.Errorf("expected non-nil empty byte slice; got %q", bytes) } if _, err := db.Inc(context.TODO(), testUser...
Go
Created: testCreatedTime, Updated: testUpdatedTime, }, }, }, }, { name: "invalid user", args: args{ a: &user.User{ID: -1}, }, wantErr: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { l := &Label{ ID: tt.fields.ID, Title: ...
Go
// Copyright (c) 2019 GeometryFactory (France). All rights reserved. // // This file is part of CGAL (www.cgal.org). // // $URL: https://github.com/CGAL/cgal/blob/v5.6.1/Surface_mesh_simplification/include/CGAL/Surface_mesh_simplification/Policies/Edge_collapse/GarlandHeckbert_policies.h $ // $Id: GarlandHeckbert_poli...
C
points representing the data will be drawn. final bool includePoints; /// Configures whether an area skirt representing the data will be drawn. /// /// An area skirt will be drawn from the line for each series, down to the /// domain axis. It will be layered underneath the primary line on the chart. /// ...
Dart
, we enabled dropout. * ```dataset```: Using more data usually provides better model quality. But if the sources of datasets are too different, it may hurt the performance. For our OPT-1.3B example, we use the following four datasets: ```Dahoas/rm-static Dahoas/full-hh-rlhf Dahoas/synthetic-instruct-gptj-pairwise yitin...
Markdown
using Microsoft.Azure.KeyVault; using Microsoft.Azure.Services.AppAuthentication; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Contoso.Apps.Common { public class KeyVaultHelper { static KeyVaultClient keyVaultClient; ...
C#
arClienteLookup(String campo, String valor) async { var listaFiltrada = await Sessao.db.clienteDao.consultarListaFiltro(campo, valor); Sessao.retornoJsonLookup = jsonEncode(listaFiltrada); } bool _gerarParcelas() { bool podeGerar = true; var dataPrimeiroVencimento = _diaPrimeiroVencimento; fina...
Dart
",this.candidates.length===0)this.message="Command not found, but we're not sure what's the alternative.";else if(this.candidates.every(i=>i.reason!==null&&i.reason===t[0].reason)){let[{reason:i}]=this.candidates;this.message=`${i} ${this.candidates.map(({usage:n})=>`$ ${n}`).join(` `)}`}else if(this.candidates.length...
JavaScript
t-style: normal } @font-face { font-family: KaTeX_Math; src: url(https://static.shiyanlou.com/frontend/dist/fonts/d747bd1.woff2) format("woff2"), url(https://static.shiyanlou.com/frontend/dist/fonts/b13731e.woff) format("woff"), url(https://static.shiyanlou.com/frontend/dist/fonts/9a2834a.ttf) format("truetype...
CSS
odeQuality", "IDE0051:Remove unused private members", Justification = "Used by Unity lifecycle")] void Start() { for (int i = 0; i < 12; i++) { (edges[i] = GameObject.CreatePrimitive(PrimitiveType.Cube)).transform.SetParent(transform, false); } SetRoomScale();...
C#
.manga_id = manga.id } val newChapters = chapters.groupBy { it.id != null } newChapters[true]?.let { db.updateKnownChaptersBackup(it).executeAsBlocking() } newChapters[false]?.let { db.insertChapters(it).executeAsBlocking() } } } package eu.kanade.tachiyomi.data.database.queries im...
Kotlin
border:.05rem solid var(--md-default-fg-color--lightest);border-radius:.1rem;display:block;margin:0;padding:.8rem;transition:border .25s,box-shadow .25s}.md-typeset .grid.cards>ol>li:focus-within,.md-typeset .grid.cards>ol>li:hover,.md-typeset .grid.cards>ul>li:focus-within,.md-typeset .grid.cards>ul>li:hover,.md-types...
CSS
say = "(Nay... It is not just my duty... It is my conviction...)", typewriter = { speed = 0.05, speedUp = 0.01 }, painting = { alpha = 0.3, time = 1 } }, { actorName = "{namecode:182}", side = 2, bgName = "bg
Lua
context, pathSetHash, SourceGenerationContext.Default.PathSet, cancellationToken); if (pathSet is null) { Tracer.Debug(context, $"Skipping selector. Failed to fetch PathSet with content hash {pathSetHash} for weak fingerprint {weakFingerprint}"); continue; ...
C#
expect(nameIncludesAvoinYo('Avoin yo: Testaan')).to.equal(true); }); it('Should return true if string contains english open uni name', () => { expect(nameIncludesAvoinYo('Open uni: Testaan')).to.equal(true); }); it('Should return false if string does not contain open uni name', () => { ...
Typescript
r}, io::{Seek, SeekFrom, Write}, rc::Rc, usize, }; use std::cell::RefMut; use super::tuple::{Tuple, TupleScheme}; enum SearchFor { IntField(IntField), LeftMost, RightMost, } /// B+ Tree pub struct BTreeTable { // the file that stores the on-disk backing store for this B+ tree // file...
Rust