content
stringlengths
2
6.21k
label
stringclasses
16 values
.map { it.mapToUI() } } else -> { throw IllegalArgumentException( "Unknown mediaType! It can only be" + " Constants.MEDIA_TYPE_MOVIE or Constants.MEDIA_TYPE_TV_SHOW" ) } } } package com.rtmidi.yellowlab.midir...
Kotlin
hen called from the AddRouteDialog, 'params' will be a table with -- keys as described in route_setup() above. local p = params or route_setup () local name = p["name"] or 'Audio' local how_many = p["how_many"] or 1 local insert_at = p["insert_at"] or ARDOUR.PresentationInfo.max_order; local gr...
Lua
ml head+body .ui-body-b.ui-focus{-webkit-box-shadow:0 0 12px #2ad;-moz-box-shadow:0 0 12px #2ad;box-shadow:0 0 12px #2ad}.ui-disabled,.ui-state-disabled,button[disabled],.ui-select .ui-btn.ui-state-disabled{filter:Alpha(Opacity=30);opacity:.3;cursor:default!important;pointer-events:none}.ui-btn:focus,.ui-btn.ui-focus{o...
CSS
_id, Some(self.id), None, None, ip).await } } /// Updates the last used time of this SSH key for reporting purposes in the /// dashboard. pub async fn update_last_used(self: Arc<Self>, conn: ConnectionPool) -> Result<()> { use crate::schema::user_ssh_keys::dsl::{id, last_used_at, user_s...
Rust
This substitutes in the scope of this function the String type. use smartstring::alias::String; let str_1 = "Mary had a little lamb!"; let mut vec_tmp = Vec::with_capacity(MAX_ITERATIONS); let counter; let mut num = 0_usize; for i in 0..MAX_ITERATIONS { let sm...
Rust
za a yanke ladan toshe su daidaikun mutane tunda suna raba shi da mutane da yawa. Ƙananan wuraren tafki suna samun raguwa sau da yawa, amma kowane mai hakar ma\'adinai yana samun babban rabo na ladan toshe, kuma sakamakon ƙarshe shine mai hakar ma\'adinai yana yin daidai adadin kuɗi ko suna kan ƙaramin tafkin ko mafi g...
Dart
, }, api.Route{ Name: "DeleteLeaseByID", Method: "DELETE", Pattern: "/leases/{leaseID}", Queries: api.EmptyQueryString, HandlerFunc: DeleteLeaseByID, }, api.Route{ Name: "DeleteLease", Method: "DELETE", Pattern: "/leases", Queries: api.EmptyQuer...
Go
module-dw #dw-footer-selectlang h2 a { font-size: 13px; padding-left: 20px; color: #555; } #ibm-footer-module-dw #dw-footer-selectlang ul { display: inline; -moz-padding-start: 0px; margin-left: 12px !important; } #ibm-footer-module-dw #dw-footer-selectlang ul li { display: inline; padding-left: 0 !import...
CSS
.size() == 2); QObject *myObject = component->create(); QVariant val; val = myObject->property("m1h"); QVERIFY(val.isValid() && !val.isNull()); QVERIFY(val.toInt() == 200); val = myObject->property("m2w"); QVERIFY(val.isValid() && !val.isNull()); QVERIFY(val.toInt() == 30); delete ...
C++
eclareOptions}, types::FieldTable, BasicProperties, Channel, ExchangeKind, }; const UPDATES_EXCHANGE: &str = "waterwheel.updates"; const UPDATES_QUEUE: &str = "waterwheel.updates"; pub async fn setup(chan: &Channel) -> Result<()> { // declare outgoing exchange and queue for scheduler updates chan.exch...
Rust
[class*="standardSidebarView_"] div[class*="contentRegion_"] div[class*="contentColumn_"] > div[class*="customColumn_"] > div[class*="customContainer_"] > div[class*="customScroller_"] > div[class*="content_"] > div[class*="roleRow_"] { border-radius: var(--dnome-border-big); } div[class*="standardSideb...
CSS
CHECK: :[[@LINE]]:21: error: expected 5-bit unsigned immediate sll $2, $3, 32 # CHECK: :[[@LINE]]:21: error: expected 5-bit unsigned immediate srl $2, $3, -1 # CHECK: :[[@LINE]]:21: error: expected 5-bit unsigned immediate srl $2, $3, 32 # CHECK: :[[@LINE]]:21: error: expected ...
Assembly
, 0}, {5, 3}, {7, 5}, {3, -3}, {10, 9}, {4, -7}, {5, -15}, {6, -31}, {7, -63}, {8, -127}, {9, -255}, {10, -511}, {11, -1023}, {12, -2047}, {13, -4095}, {14, -8191}, {4, 0}, {5, 3}, {7, 5}, {3, -3}, {10, 9}, {4, -7}, {5, -15}, {6, -31}, {7, -63}, {8, -127}, {9, -255}, {10, -511}, {11, -1023}, {12, -2047}, {13, -4095...
C++
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Network.framework/Network */ @interface NWPrivilegedHelper : NSObject { NSMutableArray * _allKnownEntitlementGroup; NSMutableSet * _allKnownEntitlementSet; NSMutableDictionary * _handlers; NSObject<OS_xpc_object> * _listener; ...
C
} else { args.push('+inf') } // Set the lower bound on score args.push('-inf') // Ensure the scores are returned if (includeScores) { args.push('WITHSCORES') } // Set the batch size args.push('limit', '0', limit.toString()) return await redisClient.zrevrangebyscore(args) } /** * Gets an ...
Typescript
Keys[userId] ??= EncryptionService.generateKey(); } static String _formatBytes(int bytes) { if (bytes < 1024) return '$bytes B'; if (bytes < 1024 * 1024) return '${(bytes / 1024).toStringAsFixed(1)} KB'; if (bytes < 1024 * 1024 * 1024) return '${(bytes / (1024 * 1024)).toStringAsFixed(1)} MB'; ...
Dart
xSortAsc, IdxSortDesc) } case *ast.BasicLit: switch modifierExpType.Kind { case token.INT: if idxCompDef.FieldType != FieldTypeString { return fmt.Errorf("invalid expression %v in %s, component length modifier is valid only for string fields, but %s has type %s", modifierExpType, identE...
Go
archdat, &tgtdomndat); if (kgraphInit (&actgrafdat, &grafptr->s, &tgtarchdat, &tgtdomndat, 0, NULL, NULL, 1, 0, 0) != 0) { errorPrint ("wgraphPartEs: cannot create mapping graph"); memFree (npfltab - 1); return (1); } if (kgraphMapSt (&actgrafdat, paraptr->strat) != 0) { /* Map active subgrap...
C
tPoint("RIGHT", bar, "LEFT", 0, 0) bar.leftBarIcon:SetSize(32, 32) rightBar:Size(85, 16) rightBar:SetPoint("RIGHT", 0, 0) rightBar:SetTexture(E.media.glossTex) rightBar:SetTexCoord(1, 0, 1, 0) rightBar:SetVertexColor(.77, .12, .23) bar.rightBarIcon = bar:CreateTexture("$parentRightBarIcon", "ARTWORK") ...
Lua
waitExpired(key); // Try create again. cache0.put(key, 1); checkTtl(key, 60_000L); if (atomicityMode() == ATOMIC) Thread.sleep(100); // Update from near node with provided TTL. cache0.withExpiryPolicy(new TestPolicy(null, TTL_FOR_EXPIRE + 1, null))...
Java
cm-s-dracula .CodeMirror-line>span::-moz-selection,.cm-s-dracula .CodeMirror-line>span>span::-moz-selection{background:rgba(255,255,255,0.10)}.cm-s-dracula span.cm-comment{color:#6272a4}.cm-s-dracula span.cm-string,.cm-s-dracula span.cm-string-2{color:#f1fa8c}.cm-s-dracula span.cm-number{color:#bd93f9}.cm-s-dracula spa...
CSS
_offset = weld_offset; let weld_offset: *mut Vector = &mut weld_offset as *mut Vector; let mut weld_rotation = weld_rotation; let weld_rotation: *mut Rotator = &mut weld_rotation as *mut Rotator; RBActor_TA_WeldRBActor(self.addr(), other.addr(), weld_offset, weld_rotation...
Rust
cr( "SELECT p.id, p.name, p.age FROM Person p WHERE MyFunction(p.age)" ), "query with free/static query in free" to cr( "beforeStuff() SELECT p.id AS id, p.name AS name, p.age AS age FROM Person p WHERE p.name = 'Joe' afterStuff()" ), "query with free/dynamic query in free" to cr( "be...
Kotlin
func (obj *ospfv3V6RRRouteOrigin) ExternalType_2() { obj.setChoice(Ospfv3V6RRRouteOriginChoice.EXTERNAL_TYPE_2) } // getter for ExternalType_1 to set choice func (obj *ospfv3V6RRRouteOrigin) ExternalType_1() { obj.setChoice(Ospfv3V6RRRouteOriginChoice.EXTERNAL_TYPE_1) } // Supported types are: - intra_area: for Int...
Go
ECK: encoding: [0x62,0xf1,0x65,0x40,0x66,0x12] vpcmpgtd (%rdx), %zmm19, %k2 // CHECK: vpcmpgtd (%rdx), %zmm19, %k2 {%k2} // CHECK: encoding: [0x62,0xf1,0x65,0x42,0x66,0x12] vpcmpgtd (%rdx), %zmm19, %k2 {%k2} // CHECK: vpcmpgtd %zmm19, %zmm19, %k2 // CHECK: encoding: [0x62,0xb1,0x65,0x40,0x66,0xd3] ...
Assembly
(ctx context.Context, jobID int32, upkeepIDs []big.Big) (int64, error) { strIds := []string{} for _, upkeepID := range upkeepIDs { strIds = append(strIds, upkeepID.String()) } res, err := o.ds.ExecContext(ctx, ` DELETE FROM upkeep_registrations WHERE registry_id IN ( SELECT id FROM keeper_registries WHERE job_id...
Go
un buen valor para la base de datos estándar incluida con DaKanji. Sin embargo, si experimentas ralentizaciones al buscar en la base de datos, prueba a utilizar más procesos.", "advanced_settings_optimize_backend": "Backend", "advanced_settings_optimize_cancel": "Cancelar", "advanced_settings_optimize_late...
Dart
#object oriented programming #classes and objects #classes -> blueprint for objects #constructor -> automatically called whenever an object is created class student: # name = 'john' #attribute def __init__(self, name, course): #constructor self.username = name self.usercourse = course d...
Python
}); do_Canvas.paint(); @link {http://www.appworker.net/awdoc/web/img/20180329/8ad1d066978647519f1a0550bb23d291.png} */ defineOval(start: object, end: object): void; defineOval(params: { start: object; end: object }): void; /** * 定义弧 * @param params * @example //定义画的弧 ...
Typescript
= new float[elementCount]; int i = 0; // Fill with vertex data for (i = 0; i < vElement.length; i++) { ret[i] = vElement[i]; } // Fill with weight data ret[i++] = weightBoneIndices[vertex].x; ret[i++] = weightBoneIndices[vertex].y; ret[i++] = weightBoneIndices[vertex].z; ret[i++] = weightBon...
Java
EditorGUI.LabelField(rect, headerName, EditorStyles.label); reorderableList.drawElementCallback = (rect, index, isActive, isFocused) => { rect.height = EditorGUIUtility.singleLineHeight; var elemType = Type.GetType(customPostProcessT...
C#
3₄₆₇, TC 88₅₇₃. '4p4e4p4o4b,' // #4395: 5 fonts: HK 92₁₁₉, JP 92₂₂₈, KR 89₃₄₉, SC 83₄₆₇, TC 88₅₇₃. '4p4e4q4n4b,' // #4396: 5 fonts: HK 92₁₁₉, JP 94₂₃₀, KR 77₃₃₇, SC 84₄₆₈, TC 88₅₇₃. '4p4g4c5a4a,' // #4397: 5 fonts: HK 92₁₁₉, JP 94₂₃₀, KR 81₃₄₁, SC 84₄₆₈, TC 88₅₇₃. '4p4g4g4w4a,' // #4398:...
Dart
proving_cpu_time_ms: gen_post_measurement.cpu_time.as_millis() as u64, proving_wall_time_ms: gen_post_measurement.wall_time.as_millis() as u64, verifying_cpu_time_ms: verify_post_measurement.cpu_time.as_millis() as u64, verifying_wall_time_ms: verify_post_measurement.wal...
Rust
E_F2C) STFD f1, 0 * SIZE(RESULT) STFD f2, 1 * SIZE(RESULT) #endif #if defined(F_INTERFACE) && defined(F_INTERFACE_GFORT) #ifndef __64BIT__ #ifndef DOUBLE stfs f1, 144(SP) stfs f2, 148(SP) lwz r3, 144(SP) lwz r4, 148(SP) #else stfd f1, 144(SP) stfd f2, 152(SP) lwz r3, 144(SP) lwz r4, 148...
Assembly
Moving on"); } centeringAttempt.AddSubMeasurement(domeSyncMeasurement.Stop()); } progress?.Report(new ApplicationStatus() { Status = Loc.Instance["LblPlateSolveNotInsideToleranceRepeating"] }); }...
C#
list of supported formats. PROPVARIANT pvFormatsSupported; PropVariantInit(&pvFormatsSupported); hr = pDevice->GetProperty(g_wszWMDMFormatsSupported, &pvFormatsSupported); HANDLE_HR(hr, "Got a property list in GetCaps", "Couldn't get a property list in GetCaps."); // Loop through the retrieved form...
Markdown
reserved. * License terms: https://www.lwjgl.org/license * MACHINE GENERATED FILE, DO NOT EDIT */ package vulkan.templates import org.lwjgl.generator.* import vulkan.* val KHR_video_encode_queue = "KHRVideoEncodeQueue".nativeClassVK("KHR_video_encode_queue", type = "device", postfix = "KHR") { IntConstant( ...
Kotlin
convenience method, equivalent to {@code * partialIsValidUtf8(bytes, index, limit) == Utf8.COMPLETE}. */ public static boolean isValidUtf8(byte[] bytes, int index, int limit) { return partialIsValidUtf8(bytes, index, limit) == COMPLETE; } /** * Tells whether the given byte array slice is a well-for...
Java
A: 220} textColor = color.NRGBA{R: 17, G: 24, B: 39, A: 255} descColor = color.NRGBA{R: 107, G: 114, B: 128, A: 255} shadowColor = color.NRGBA{R: 0, G: 0, B: 0, A: 30} } // 创建阴影效果 shadow := canvas.NewRectangle(shadowColor) shadow.CornerRadius = 12 shadow.Move(fyne.NewPos(2, 2)) // 背景 background := canva...
Go
#define MULTITHREADED using Photon.Deterministic; using Quantum.Task; namespace Quantum { #if MULTITHREADED public unsafe class CameraSystem : SystemArrayFilter<CameraSystem.Filter> { #else [UnityEngine.Scripting.Preserve] public unsafe class CameraSystem : SystemMainThreadFilterStage<CameraSystem.Filter> ...
C#
owHPBar ? 21 : 16) : new RowStyle(SizeType.AutoSize)); _hpBarMoved = true; } else { if (!_hpBarMoved) return; TableBottom.SetCellPosition(HPBars[BattleIndex.FriendEscort1], new TableLayoutPanelCellPosition(1, 1)); ControlHelper.SetTableRowStyle(TableBottom, 7, new RowStyle(SizeType.Absolut...
C#
? 43 : this.code.hashCode()); result = (result * PRIME) + (this.message == null ? 43 : this.message.hashCode()); result = (result * PRIME) + (this.timestamp == null ? 43 : this.timestamp.hashCode()); result = (result * PRIME) + super.hashCode(); return result; } } /** * Copyright (c...
Java
// $OpenLDAP: pkg/ldap/contrib/ldapc++/src/LDAPObjClass.h,v 1.3.6.3 2008/09/02 23:58:15 quanah Exp $ /* * Copyright 2003, OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ #ifndef LDAP_OBJCLASS_H #define LDAP_OBJCLASS_H #include <ldap_schema.h> #include <string> #includ...
C
1 rounded text-sm \${ position === 'top' ? 'bg-purple-600 text-white' : 'bg-gray-200 text-gray-700 hover:bg-gray-300' }\`} > Top </button> <button onClick={() => setPosition('bottom')} className={\`px-3 py-1 rounde...
JavaScript
xVReg)) i.asXmmMovRM(sseOpcodeMovups, xmm15VReg, a) }, want: "440f11797b", wantFormat: "movups %xmm15, 123(%rcx)", }, { setup: func(i *instruction) { a := newOperandMem(newAmodeImmReg(123, rcxVReg)) i.asXmmMovRM(sseOpcodeMovupd, xmm15VReg, a) }, want: "66440f11797b", wan...
Go
',ct:'7',charge:'uncharged',cost:'0.03',body:'\\amp{template:'+fields.spellTemplate+'}{{title=@{selected|casting-name} casts\nStatue\nas a level @{selected|casting-level} caster}}{{splevel=Level 7 Wizard}}{{school=Alteration}}Specs=[Statue,MUspellL7,1H,Alteration]{{components=V,S,M}}{{time=[[7]]}}{{range=Touch}}{{durat...
JavaScript
The operator writes these \e n real zeroes in ascending order to \c * oi_root. * It writes the multiplicities of the roots in the same order to * \c oi_mult . * Finally, it writes the square-free factors of \c p * to \c oi_poly such that the fact...
C
() ); terrain->friend_setClass( defaultTerrain->getClass() ); terrain->friend_setBlendEdge( defaultTerrain->isBlendEdge() ); } // end if */ // assign a name terrain->friend_setName( name ); // tie to list terrain->friend_setNext( m_terrainList ); m_terrainList = terrain; // return the new terrain ...
C++
boot_cfg).unwrap(); let boot_cfg = vm_resources.boot_source().unwrap(); assert_eq!(boot_cfg.cmdline.as_str(), cmdline); assert_eq!(boot_cfg.kernel_file.metadata().unwrap().st_ino(), tmp_ino); assert_eq!( boot_cfg .initrd_file .as_ref() ...
Rust
element@3.1.2 yarn add react-native-shared-element@0.8.9 ``` <!-- tabs:end --> The following code shows the basic use scenario of the repository: >[!WARNING] The name of the imported repository remains unchanged. ```js import React, { Component } from "react"; import { View, StyleSheet, Animated, Dimensi...
Markdown
render:({field:t})=>{const n=O2e(t.value);return w.jsxs(qJe,{children:[w.jsx(VJe,{children:e.description}),w.jsx(FJe,{children:w.jsx(x2e,{...t,value:n,options:l})}),w.jsx(ZJe,{})]})}})}},{isMatch:e=>{if(e instanceof qs.ZodObject){const{special:t}=IYe.parse(e._def.description||"");return"column_filter"===t}return!1},Com...
JavaScript
o(child, parent, index); final TreePath path = new TreePath(model.getPathToRoot(parent)); getTree().expandPath(path); SwingUtilities.invokeLater(() -> getTree().setSelectionPath(new TreePath(model.getPathToRoot(child)))); } @Override public void install() { File workspaceDir = getWorkspacesDir(); if (!...
Java
),%xmm5 addsd %xmm0,%xmm3 addsd %xmm1,%xmm4 addsd %xmm2,%xmm5 movsd %xmm3,(%edi,%ecx,8) movsd %xmm4,8(%edi,%ecx,8) movsd %xmm5,16(%edi,%ecx,8) ## increment fshift force movsd (%esi,%edx,8),%xmm3 movsd 8(%esi,%edx,8),%xmm4 movsd ...
Assembly
.string "updwtmpx" .text .globl updwtmpx .type updwtmpx, @function updwtmpx: subl $16, %esp movl $_ZZZupdwtmpx, %eax movl %eax, 4(%esp) movl $-1, (%esp) call dlsym addl $16,%esp jmp *%eax .size updwtmpx, .-updwtmpx .section .rodata _ZZZdes_setparity: .string "des_setparity" .text .globl des_setparity ....
Assembly
>V této hře na kočku a myš, kterou je soukromí, Monero neustále inovuje, aby si udrželo náskok a zajistilo nejlepší praktické soukromí pro všechny.<p>'; @override String get knowledge250Sbrings250Sbdescription => 'Kruhové podpisy jsou nejslabším článkem schématu ochrany soukromí; slovo slabý zde znamená nejnáchyln...
Dart
-170 13-11q32-33 30.5-78.5T1254 962q-14-21-21.5-36t-13-27.5-7.5-35-3.5-38.5-3.5-60.5-4-81.5q0-119-61-243.5T983 219 761 61.5 512 0Q403 0 307 46.5t-163 125-105.5 184T0 576q0 88 42.5 186T149 939.5 283.5 1081t130.5 91q42 20 184.5 64.5T791 1301q20 8 51 23t42 18.5 32.5 5 42-8 50.5-29.5l168 200q-40 48-40 110 0 71 50.5 121.5T1...
Dart
runner<int32_t>::run()); CALL_SUBTEST(test_cast_runner<int64_t>::run()); CALL_SUBTEST(test_cast_runner<uint8_t>::run()); CALL_SUBTEST(test_cast_runner<uint16_t>::run()); CALL_SUBTEST(test_cast_runner<uint32_t>::run()); CALL_SUBTEST(test_cast_runner<uint64_t>::run()); CALL_SUBTEST(test_cast_runner<half>::run...
C++
} finally { trans.abort() db.kill() } }, }) } /** * Waits until the given predicate returns a truthy value. Calls and awaits the predicate * function at the given interval time. Can be used to poll until a certain condition is true. * @example * ```js * const element = await fixture...
Typescript
Command_depends(apr_pool_t *p, const char *path) { FILE *in = NULL; bstring line = NULL; in = fopen(path, "r"); check(in != NULL, "Failed to open downloaded depends: %s", path); for(line = bgets((bNgetc)fgetc, in, '\n'); line != NULL; line = bgets((bNgetc)fgetc, in, '\n')) { ...
Markdown
twin_id, &updated_twin); Self::deposit_event(RawEvent::TwinUpdated(twin_id, peer_id)); Ok(()) } // Method for twins only #[weight = 10_000 + T::DbWeight::get().writes(1)] pub fn add_twin_entity(origin, twin_id: u64, entity_id: u64, signature: Vec<u8>) -> dispatch::DispatchResult { let pub_key = e...
Rust
</a>\n" + " */\n" + " void foo1() {}\n" + " /**@see Object <a href=\"http://www.eclipse.org\" target=\"_top\" target1=\"_top1\" target2=\"_top2\">Eclipse</a>*/\n" + " void foo2() {}\n" + "}\n" } ); } public void testBug68726conform2() { runConformTest( new String[] { "X.java", "/**\n" +...
Java
ceanBlue, AAGradientColor.Sanguine, AAGradientColor.LusciousLime)) .series(arrayOf( AASeriesElement() .name("新用户") .data(arrayOf(82.89,67.54,62.07,59.43,67.02,67.09,35.66,71.78,81.61,78.85,79.12,72.30)) ...
Kotlin
CursorIndex++; } /*--------------------------------------------------------------------------------------------*/ private void AddControl(HoverkeyItemLabels pLabels) { switch ( pLabels.DefaultKey ) { case KeyCode.Backspace: if ( CursorIndex > 0 ) { TextInput = TextInput.Substring(0, CursorInde...
C#
// Created by qiuwenchen on 2023/3/31. // /* * Tencent is pleased to support the open source community by making * WCDB available. * * Copyright (C) 2017 THL A29 Limited, a Tencent company. * All rights reserved. * * Licensed under the BSD 3-Clause License (the "License"); you may not use * this file except in...
C
{ } } public class AzureOpenAITests_CoreOldest : AzureOpenAITestsBase<ConsoleDynamicMethodFixtureCoreOldest> { public AzureOpenAITests_CoreOldest(ConsoleDynamicMethodFixtureCoreOldest fixture, ITestOutputHelper output) : base(fixture, output) { } } ...
C#
promsign in mutex (sending arc of mutex (change a lot)): for now seen as small /// used for query of trust only (change a lot). TrustQuery(TrustQuery<TP>), } #[derive(RustcDecodable,RustcEncodable,Debug,PartialEq,Eq,Hash,Clone,PartialOrd,Ord)] pub enum WotK { Peer(Vec<u8>), P2S(Vec<u8>), Sign((Vec<u8>, Vec<...
Rust
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 5 2017 23:13:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @class QBDNSCache, QBDNSHTTPDESResolver, QBDNSUDPResolver; @protocol OS_dispatch_queue; @interface QBDNSMan...
C
i-INDIGO-170: #052D4D;--weui-INDIGO-80: #40ABFF;--weui-INDIGO-90: #28A0FF;--weui-INDIGO-BG-100: #0D78CC;--weui-INDIGO-BG-110: #0B6BB7;--weui-INDIGO-BG-130: #09548F;--weui-INDIGO-BG-90: #2585D1;--weui-LIGHTGREEN-100: #3EB575;--weui-LIGHTGREEN-120: #31905D;--weui-LIGHTGREEN-170: #123522;--weui-LIGHTGREEN-80: #64C390;--we...
CSS
void Jacobian_isothermal(const Real t, const Real *y, const Real *ydot, AthenaArray<Real> &jac); private: PassiveScalars *pmy_spec_; MeshBlock *pmy_mb_; std::map<std::string, int> ispec_map_; std::string network_dir_; std::vector<KidaSpecies> species_; std::vector<KidaReacti...
C++
anvasSize }; readonly rightWall: Obj = { x: this.canvasSize, y: 0, width: this.marginOfError, height: this.canvasSize }; readonly topWall: Obj = { x: 0, y: 0, width: this.canvasSize, height: this.marginOfError }; readonly bottomWall: Obj = { x: 0, y: this.canvasSize, width: this.canvasSize, height: this.mar...
Typescript
// write pixel dest incl %edi // // test if there was at least 4 pixels // testb $0xFF,%dh jz htvdone // // two pixels per loop // U // V htvquadloop: addl ystep,%edx // yfrac += ystep sbbl %ecx,%ecx // turn carry into 0 or -1 if set movb ...
Assembly
i32, pub code: String, pub telegram_user_id: String, pub status: String, pub created_at: NaiveDateTime, pub updated_at: NaiveDateTime, } use std::io::Error as IoError; pub type Result<T> = std::result::Result<T, RunnerError>; #[derive(thiserror::Error, Debug)] pub enum RunnerError { #[error(t...
Rust
= "부관 토마스렌", [16219] = "순찰자 발란나", [16220] = "순찰대장 헬리오스", [16221] = "실버문 수호병", [16222] = "실버문 근위병", [16224] = "라디스 톰버", [16225] = "짐노새", [16227] = "Bragok", [16231] = "귀부인 아우리페러스", [16234] = "식인독수리", [16237] = "마법학자 실라스터", [16238] = "나이트 엘프 복병", [16239] = "마법학자 캔드리스", [16240] = "비전술사 자네다", [...
Lua
ghContrastChanged_Deleted0 = 332, SystemBackdrop_IsActiveChanged_Deleted0 = 333, SystemBackdrop_ThemeChanged_Deleted0 = 334, SystemBackdrop_Changed_Deleted0 = 335, DebugSettings_XamlResourceReferenceFailed = 336, FrameworkApplication_ResourceManagerInitializing_Deleted0 = 337, ...
C
4); Log log = RunnerHelper.runnerCatchingLog(() -> EntryPointMain.main(command.split(" "))); // Log int all = 5040; assertThat(log.getOutput()).contains(Messages.foundSolutions(1792, all, fumen1)); assertThat(log.getOutput()).contains(Messages.foundMirrorSolu...
Java
movePlayer(serverPlayer); this.serverPlayerStateManager.unregisterLeftPlayer(serverPlayer); // If player's left, session is already closed } @Override public void changePlayerLevel(IServerPlayerWrapper player, IServerLevelWrapper originLevel, IServerLevelWrapper destinationLevel) { this.getLevel(destinat...
Java
T> void CCoordIndex_T<T>::RemoveAll( //Removes the specified value from all positions in the index (reset positions to zero). // //Params: const T val) { ASSERT(val != 0); //wasteful when called with zero const UINT area = GetArea(); ASSERT(this->dwCoordCount <= area); for (UINT dwSquareI = 0; dwSquareI<area; ++...
C
json */ @RequestMapping(value = "type_data", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE) @Feature(method = MethodFeature.LIST) public IJsonMessage<JSONObject> getOperateTypeList() { JSONObject jsonObject = new JSONObject(); // List<JSONObject> clas...
Java
// http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or // http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except accordi...
Rust
--- A region in the Overworld that causes the camera to target a specific position while the player is inside. \ --- `CameraTarget` is an [`Event`](lua://Event.init) - naming an object `cameratarget` on an `objects` layer in a map creates this object. \ --- See this object's Fields for the configurable properties on th...
Lua
using System; using CursesSharp.Gui; namespace Demo.Gui.Timeout { class MainClass { static void Stamp (string txt) { Console.WriteLine ("{0} At {1}", txt, DateTime.Now); } static bool timeout(Looper looper) { Console.WriteLine ("{0}", "Hello from looper"); return true; } public static void...
C#
ents, etc. It is expected for someone to diff this before checking in to manually fix it GConfig->Flush(false, DefaultEnginePath); // Write out messagetags.ini MessageTagsUpdateSourceControl(Settings->GetDefaultConfigFilename()); #if UE_5_00_OR_LATER Settings->TryUpdateDefaultConfigFile(); #else Settings->Up...
C++
10-80.9-26.7-8.7-7.1-21.6-7-30.3.1-20.5 16.9-50 26.6-80.8 26.6-30.1 0-60.3-10-80.9-26.7-8.7-7.1-21.6-7-30.3.1-17.2 14.2-40.7 23.3-66.1 25.8-8.2.9-14.7 7.3-14.7 15.5v16.5c0 9.1 7.6 16.8 16.7 16 28.9-2.5 56.5-11.5 79.3-25.8 54.9 34.2 137.9 33.9 192 0 54.9 34.2 137.9 33.9 192 0 22.9 14.3 50.5 23.3 79.2 25.8 9.1.8 16.7-6.9...
JavaScript
iver for høyreklikkmeny"},"copyformatting":{"label":"Copy Formatting","notification":{"copied":"Formatting copied","applied":"Formatting applied","canceled":"Formatting canceled","failed":"Formatting failed. You cannot apply styles without copying them first."}},"div":{"IdInputLabel":"Id","advisoryTitleInputLabel":"Tit...
JavaScript
fail_unless( i == LIBSBML_OPERATION_SUCCESS); fail_unless( FunctionDefinition_getMath(E) == NULL ); fail_unless( !FunctionDefinition_isSetMath(E) ); ASTNode_free(math); } END_TEST START_TEST (test_FunctionDefinition_setMath2) { ASTNode_t *math = ASTNode_createWithType(AST_DIVIDE); int i = FunctionDefi...
C
operador2 =""; this.auxOperacion="*"; break; case "/": this.operador1 = this.pantalla; this.pantalla = ""; this.operador2 =""; this.auxOperacion="/"; break; case "=": switch(this.auxOperacion){ case "+": this.resultado = p...
Typescript
-oauth-provider` library](https://github.com/cloudflare/workers-oauth-provider). The MCP server (powered by [Cloudflare Workers](https://developers.cloudflare.com/workers/)): * Acts as OAuth _Server_ to your MCP clients * Acts as OAuth _Client_ to your _real_ OAuth server (in this case, GitHub) ## Getting Started ...
Markdown
ytes, yinv.bytes); aprime[i] = l[i]; bprime[i] = r[i]; } rct::keyV L(logMN); rct::keyV R(logMN); int round = 0; rct::keyV w(logMN); // this is the challenge x in the inner product protocol PERF_TIMER_STOP(PROVE_step3); PERF_TIMER_START_BP(PROVE_step4); // PAPER LINE 13 while(nprime > 1) { // PAPER LINE...
C++
0.XX", -1.413076, 15.063520000, 3, 4, "COG Z00.XX", -3.957476, 13.911907125, 3, 5, "COG 123.XXX", -2.4304215, 11.249709500, 2, 5, "COG 12.XXXX", -2.622475, 13.996403000, 2, 4, "COG 1234.XX", 0.070259, 14.194772000, 2, 4, "COG 1234.XXX", 3.109866, 11.413047500, 1, 4, "DEU 12.XX", 52.554, 13.351893500, 4, 5, "DEU 000.XX"...
Dart
: - NMT_CS_EPL_MODE and NMT_MS_EPL_MODE state: ARP shall be performed in the asynchronous phase. To reduce the traffic in the asynchronus phase, the MN may determine the IP to MAC address relation from the ident process. - NMT_CS_BASIC_ETHERNET state: ARP shall be performed like an IEEE802.3 compliant node does, usin...
Markdown
teamwork.players_1_to_4, tags.contracts.the_elephant } }, ovk_9 = { sort_name = "Other_H_Any_BringYourCop", icon_id = "Other_H_Any_BringYourCop", tags = { tags.progress.generic, tags.difficulty.overkill, tags.tactics.loud, tags.teamwork.players_1_to_4 } }, pal_1 = { icon_id...
Lua
de{font-weight:100;text-shadow:none;margin:1.75rem 0}a{cursor:pointer;color:#ff2e88;text-decoration:none;border-bottom:1px solid #ff2e88}a:hover{background-color:#ff2e88;color:#fff}.grid{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.grid.\-top{-ms-flex-align:start;-ms-grid-row-align:flex-start;ali...
CSS
: '500000', text: '重庆', children: [{ value: '500000', text: '重庆', children: [{ value: "500101", text: "万州区" }, { value: "500102", text: "涪陵区" }, { value: "500103", text: "渝中区" }, { ...
JavaScript
目章节中,我们应用目前所学的知识一同构建小型程序。第二、十二和二十一章是项目章节;其余都是概念章节。 第一章介绍如何安装 Rust,如何编写一个 “Hello, world!” 程序,以及如何使用 Rust 的包管理器和构建工具 Cargo。第二章是一个编写 Rust 语言的实战介绍,我们会构建一个猜数字游戏。我们会站在较高的层次介绍一些概念,而后续章节将提供更多细节。如果你希望立刻就动手实践一下,第二章是开始的好地方。第三章介绍 Rust 中类似其他编程语言的特性,第四章会学习 Rust 的所有权系统。如果你是一个特别细致的学习者,喜欢在进入下一环节之前学习每一个细节,你可能会想要跳过第二章,直接阅读第三章,等到你想要通过项目应...
Markdown
/**************************************************************************** * Copyright (c) 2024, CEA * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retai...
C
local api = require("dap-breakpoints.api") local config = require("dap-breakpoints.config") ---@class DapBp local M = {} ---@class DapBpCommand ---@field [1] string command ---@field [2] function api function M.setup_commands() ---@type DapBpCommand[] local commands = { { "DapBpNext", api.go_to_next }, {...
Lua
rOperand(project); // TODO [viliam] we currently handle only direct input references. We should handle also monotonic // transformations of input references. if (project2 instanceof RexInputRef) { int index = ((RexInputRef) project2).getIndex(); if (i...
Java
-23.538701 9.974026-30.055065 22.740779-28.193247 55.18961-56.386494 110.512208-84.712728 165.701818-26.464416 51.864935-52.928831 103.596883-79.393246 155.461818-8.245195 16.224416 5.319481 32.448831 22.474805 29.257143 123.810909-23.006753 247.754805-46.146494 371.565714-69.153247 17.554286-3.324675 35.241558-6.51636...
JavaScript
glabel func_8018CC54_ovl3 /* 0ED694 8018CC54 27BDFFD8 */ addiu $sp, $sp, -0x28 /* 0ED698 8018CC58 AFB20020 */ sw $s2, 0x20($sp) /* 0ED69C 8018CC5C 3C128013 */ lui $s2, %hi(gKirbyState) # $s2, 0x8013 /* 0ED6A0 8018CC60 2652E7C0 */ addiu $s2, %lo(gKirbyState) # addiu $s2, $s2, -0x1840 /* 0ED6A4 8018CC64 8E4E00A0...
Assembly
Init => ngAfterContentChecked => ngAfterViewInit => ngAfterViewChecked ---------------------------------------------- => ngDoCheck => ngAfterContentChecked => ngAfterViewChecked */ /* if model data changed --------------------- => ngDoCheck => ngAfterContentChecked => ngAfterViewCheck...
Typescript