content
stringlengths
2
6.21k
label
stringclasses
16 values
* L_252 = __this->get_m_Template_20(); NullCheck(L_252); GameObject_tBD1244AD56B4E59AAD76E5E7C9282EC5CE434F0F * L_253 = Component_get_gameObject_m0B0570BA8DDD3CD78A9DB568EA18D7317686603C(L_252, /*hidden argument*/NULL); NullCheck(L_253); GameObject_SetActive_m25A39F6D9FB68C51F13313F9804E85ACC937BC04(L_253, (bo...
C++
make this configurable... //memset(i2s_tx_buffer, 0, sizeof(i2s_tx_buffer)); //WEA 2023-09-28: commented out because we've already initialized the array to zero when we created the array bool transferUsing32bit = false; //32 bit from AIC doesn't work with quad? so don't change this? AudioOutputI2S_F32::config...
C++
mpleItemDetailsView(), wrapper: myModifiedRootWidgetWrapper( ourLightTheme: myLightThemeData, ourDarkTheme: myDarkThemeData, ), ); }); final app = MyAppPageObject(); expect(app.sampleDetailsScreen.appbarTitle, HasText('Item Details')); } } extension SettingsAppBa...
Dart
if slashes /// should be applied immediately, without opportunity for intervention. #[pallet::constant] type SlashDeferDuration: Get<EraIndex>; /// The origin which can cancel a deferred slash. Root can always do this. type SlashCancelOrigin: EnsureOrigin<Self::Origin>; /// Interface for interacting with ...
Rust
using System; using System.Reflection; using System.Runtime.InteropServices; using BepInEx.Logging; using MonoMod.RuntimeDetour; namespace BepInEx.Unity.IL2CPP.Hook; internal abstract class BaseNativeDetour<T> : INativeDetour where T : BaseNativeDetour<T> { protected static readonly ManualLogSource Logger = BepIn...
C#
} } } public FnTerm mkFnTerm(FnSymbol fn, Term[] args) { return new FnTerm(fn, args); } public FnTerm mkFnTerm(FnSymbol fn, Term[] args, int tag) { FnTerm res = new FnTerm(fn, args); res.tag = tag; return res; } /*@ non_null_by_default @*/ public class QuantTerm extends Term { public fin...
Java
erarchy")] [TestMethod] public void VirtualType_BaseTypes() { VirtualType vt = new VirtualType(typeof(VT_C)); this.AssertEquivalentTypes(typeof(VT_C), vt); } private void AssertEquivalentTypes(Type actualType, Type virtualType) { if (a...
C#
prod/Mac_android%20android_semantics_integration_test/103 Commit: https://github.com/flutter/flutter/commit/abc Flaky builds: https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_android%20android_semantics_integration_test/103 https://ci.chromium.org/ui/p/flutter/builders/prod/Mac_android%20android_semantics_integra...
Dart
', tabIndex : 'Tab indeks', advisoryTitle : 'Aanbevole titel', advisoryContentType : 'Aanbevole inhoudstipe', cssClasses : 'CSS klasse', charset : 'Karakterstel van geskakelde bron', styles : 'Styl', rel : 'Relationship', // MISSING selectAnchor : 'Kies \'n anker', anchorName : 'Op ankerna...
JavaScript
* @param value, the corresponding value of this key measured during http request. */ virtual void AddRequestMetric(const Aws::String& key, int64_t value) { m_httpRequestMetrics.emplace(key, value); } /** * Sets the request metrics */ ...
C
import sched import time import threading # Create a scheduler object scheduler = sched.scheduler(time.time, time.sleep) # Define the task to be executed def print_hello(): print("Hello, world!") # Schedule the task to run at fixed intervals def schedule_task(interval, task): scheduler.enter(interval, 1, sch...
Python
StateEvent> createRepeated() => $pb.PbList<MigrationStateEvent>(); @$core.pragma('dart2js:noInline') static MigrationStateEvent getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<MigrationStateEvent>(create); static MigrationStateEvent? _defaultInstance; /// The new state of the...
Dart
} catch (e) { failures++; if (!options.tolerateFailures) { throw new Error(e); } else { reporter.warning(e.message); } } }); reporter.success( `Successfully converted ${files.length - 1 - failures}. Failed...
Typescript
namespace NQuery.Symbols.Aggregation { public sealed class CountAggregateDefinition : AggregateDefinition { public override string Name { get { return @"COUNT"; } } public override IAggregatable CreateAggregatable(Type argumentType) { return new C...
C#
body(16); } else { body (24); } do { #ifdef __ARM_BIG_ENDIAN c1 = (char) tmp2 >> 24; c2 = (char) data2 >> 24; #else /* not __ARM_BIG_ENDIAN */ c1 = (char) tmp2; c2 = (char) data2; #endif /* not __ARM_BIG_ENDIAN */ tmp2 RSHIFT= 8; data2 RSHIFT= 8; } wh...
Assembly
final String hash; /// Transaction stake pool retirement certificates @override String get method => BlockfrostMethods.transactionStakePoolRetirementCertificates.url; @override List<String> get pathParameters => [hash]; @override List<ADATransactionPoolRetirementCertificateResponse> onResonse( ...
Dart
.data .asciz "@(#)setjmp.s 1.1 92/07/30 SMI" .even .text | Copyright 1984-1989 Sun Microsystems, Inc. #include <machine/asm_linkage.h> #include "assym.s" | Longjmp and setjmp implement non-local gotos | using state vectors of type label_t (13 longs). | Registers saved are the PC, d2-d7, and a2-a7. SAVREGS = 0xFC...
Assembly
)] pub fn mapv(ndarray: JsValue, fun: &js_sys::Function) -> JsReturn { let mat = js_into!(ndarray, ArrayD<f32>)?; let mat: ArrayD<f32> = mat.mapv(|a| { let res = fun .call1(&ndarray, &JsValue::from(a as f32)) .unwrap(); res.as_f64().unwrap() as f32 }); Ok(JsValue::from_serde(&mat).unwrap()) ...
Rust
FadeDurationCounter--; voiceInfo.VolumeFadeSpeedCounter = voiceInfo.VolumeFadeSpeed; int volume = voiceInfo.VolumeFadeValue + voiceInfo.VolumeFadeAddValue; voiceInfo.VolumeFadeValue = (short)volume; volume += voiceInfo.SampleInfo2.Volume; if (volume < 0) voiceInfo.VolumeFadeDurationCou...
C#
testLabels.toFloatArray(), shape) ) } /** * Extract wav file samples from a given file and return a list of data from all its * channels as a triple of (channel_data, label, sample_index). * * @param [file] to read from the sound data. * @return list of triples (channel_data, label, sample_index) from all ch...
Kotlin
i>Description:</i> The target bucket for logging does not exist, is not /// owned by you, or does not have the appropriate grants for the log-delivery /// group. /// </li> /// <li> /// <i>HTTP Status Code:</i> 400 Bad Request /// </li> /// <li> /// <i>SOAP Fault Code Prefix:</i> Client /// </li> ///...
Dart
case "0": _ *= 10; break; case "1": _ = 10 * _ + 1; break; case "2": _ = 10 * _ + 2; break; case "3": _ = 10 * _ + 3; break; c...
JavaScript
EhB4yEnCWrKK6tTJCRw54uBRiaVCN4uDj4q1TQ/640?wx_fmt=png&from=appmsg "") 分析到这看起来是一个很平常的SQL注入,但是并不是,因为可以看以下代码 ![](https://mmbiz.qpic.cn/sz_mmbiz_png/b6UzoibqnYFEgg4LZNcMIahHib6DcjZUOhAk6ZugyBFp6z95WXxd3PvpzHcGrERYciaMkJT3h5HyiahTDQPBq3SoNA/640?wx_fmt=png&from=appmsg "") 在实现层中传入了dept实例的dept_id属性值,并根据这个id值从数据库...
Markdown
get_proc("glUniform4iv"); // gl_Uniform4ui = (PFNGLUNIFORM4UIPROC) get_proc("glUniform4ui"); // gl_Uniform4uiv = (PFNGLUNIFORM4UIVPROC) get_proc("glUniform4uiv"); // gl_UniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC) get_proc("glUniformBlockBinding"); // gl_UniformHandleui64ARB = (PFNGLUNIFORMHANDLEUI64ARBPRO...
C++
and other contributors.". This notice must be displayed in at least one place // where the copyright for the software itself is displayed. The documentation must // also contain this notice. // // Bug fixes were made to the original code to support version 2 PICT files // properly. // // Additional resources:...
C++
e for custom settings - docs/CONFIGURATION.md for options 🆘 Need help? - GitHub Issues: https://github.com/if-unismuh/plagicheck/issues - Documentation: docs/ - Postman Collection: postman/ ✨ Happy Paraphrasing! """ print(completion_msg) def main(): """Main setup function.""" print_banner()...
Python
bundle prometheus: options: ontology: bundle: anselm model: kant annotations: aspect: bundle: west model: north constraints: bundle: cores=4 model: cores=3 machines: "1": missing: bundle `[1:]) } func (s *diffSuite) TestHandlesIncludes(c *tc....
Go
_fn(cs, nested_fn(cs, ut)); }); When a resource is declared in the closure-signature-like header, it should be in one of the following forms: * `request_id: resource_id` * `request_id: resource_id<ResourceKind>` where ResourceKind is one of CNodeSlots or UntypedBuddy."; #[proc_macro] pub fn smart_alloc(tokens: Token...
Rust
using System; using ArcSoftFace.SDKModels; using ArcSoftFace.SDKUtil; using ArcSoftFace.Entity; using System.Drawing; namespace ArcSoftFace.Utils { public class FaceUtil { /// <summary> /// 人脸检测(PS:检测RGB图像的人脸时,必须保证图像的宽度能被4整除,否则会失败) /// </summary> /// <param name="pEngine">引擎Han...
C#
s.Key = initial.Key } else { cDes.Key = des.Key } if dcl.StringCanonicalize(des.Value, initial.Value) || dcl.IsZeroValue(des.Value) { cDes.Value = initial.Value } else { cDes.Value = des.Value } return cDes } func canonicalizeGrpcRouteRulesMatchesHeadersSlice(des, initial []GrpcRouteRulesMatchesHeaders, o...
Go
} } window.onload = () => { var game = new SimpleGame(); };import express from "express"; import validateRequest from "../middlewares/validateRequest.middleware"; import { createPostSchema } from "../schema/post.schema"; import { createPost, getPosts, editPost, deletePost, reactPost, } from "../c...
Typescript
FromAngle(angle); if (value >= getTrack.start && value <= getTrack.end) { if (_pointerType is RenderNeedlePointer) { if (_movableWidget.isInteractive) { if (_movableWidget.onChanged != null) { _movableWidget.onChanged!(value); } } } else if (_pointerType ...
Dart
"""LLM Rules CLI package for managing IDE prompts and rules.""" import typer from typing_extensions import Annotated from llm_ide_rules.commands.explode import explode_main from llm_ide_rules.commands.implode import cursor, github from llm_ide_rules.commands.download import download_main __version__ = "0.3.0" app =...
Python
clip: 'AMB', loop: false, seek: 0 })).serialize()) // Play another file layer10.media = 'AMB2' cc = getDiff(c, targetState) expect(cc).toHaveLength(1) expect(cc[0].cmds).toHaveLength(1) expect(cc[0].cmds[0]).toEqual(fixCommand(new AMCP.PlayCommand({ channel: 1, layer: 10, clip: 'AMB2', loop: false, ...
Typescript
/******************************************************************************* * Copyright (c) 2013 Jakob Rogstadius. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
C#
; import java.io.FileDescriptor; import java.io.IOException; import java.io.InterruptedIOException; import java.net.Inet4Address; import java.net.Inet6Address; import java.net.InetSocketAddress; import java.net.SocketException; import java.net.UnknownHostException; import java.nio.ByteBuffer; import java.nio.ByteOrder...
Java
/*************************************************************************** * Copyright (C) 2009 by Sindre Aamås * * sinamas@users.sourceforge.net * * * * This pr...
C
await getTemplatePassthrough( // { // inputPath: "./test/stubs/template-passthrough/static/test.js", // outputPath: "./rename.js" // }, // "_site", // "test/stubs" // ); // t.truthy(pass); // t.is(await pass.getOutputPath(), "_site/rename.js"); // }); test("Bug with incremental file ...
JavaScript
{ // let listener = TcpListener::bind("0.0.0.0:8080").unwrap(); // println!("starting server..."); // let _arr: [i32; 20] = [2; 20]; // for stream in listener.incoming() { // let stream = stream.unwrap(); // handle_connection(stream); // println!("do_something..."); // ...
Rust
c2.PrivateIP{Address: primaryIP, IsPrimary: true} } desc := req.Form.Get("Description") var groups []ec2.SecurityGroup for name, vals := range req.Form { if strings.HasPrefix(name, "SecurityGroupId.") { g := ec2.SecurityGroup{Id: vals[0]} sg := srv.group(g) if sg == nil { fatalf(400, "InvalidGroup.N...
Go
,512,[],"f39f","M224 32C15.9 32-77.5 278 84.6 400.6V480l75.7-42c142.2 39.8 285.4-59.9 285.4-198.7C445.8 124.8 346.5 32 224 32zm23.4 278.1L190 250.5 79.6 311.6l121.1-128.5 57.4 59.6 110.4-61.1-121.1 128.5z"],"facebook-square":[448,512,[],"f082","M448 80v352c0 26.5-21.5 48-48 48h-85.3V302.8h60.6l8.7-67.6h-69.3V192c0-19.6...
JavaScript
sholdResponse { /** * 默认告警阈值配置 */ DefaultAlarmConfigList: Array<DefaultAlarmThreshold>; /** * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 */ RequestId?: string; } /** * CreateNewL7Rules返回参数结构体 */ export interface CreateNewL7RulesResponse { /** * 成功码 */ Success?: Su...
Typescript
ic readonly pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FaceGeometryEffectRendererCalculatorOptions> Ext = new pb::Extension<global::Mediapipe.CalculatorOptions, global::Mediapipe.FaceGeometryEffectRendererCalculatorOptions>(323693808, pb::FieldCodec.ForMessage(2589550466, global::Media...
C#
MediaStorage = new MediaStorage { Data = buffer }, Version = 1 // so that FolderId is set later during track detection }; return file; } catch (Exception ex) { // Throw ex; System.Diagnostics.Deb...
C#
decode; mod encode; mod write_and_flush; pub use buf::BufExt; pub use buf_mut::BufMutExt; pub use buf_stream::BufStream; pub use decode::Decode; pub use encode::Encode; #![allow(clippy::upper_case_acronyms)] use std::fmt; use std::str::FromStr; use tracing::instrument; /// GitHub repos. #[derive(Debug, Copy, Clone,...
Rust
… }', selection: SourceRange(122, 0), ); } Future<void> test_mixin_method_of_interface() async { await _assertWriteOverride( content: ''' class A { void foo(int a) {} } mixin M implements A { } ''', nameToOverride: 'foo', targetMixinName: 'M', expected: ''' @override v...
Dart
Alphas: 0, description: "Two groups with 3 alphas each, 1 p directory is not available", err: "p directory does not exist for group [2]", }, { name: "ThreeGroupShutTwoAlphasPerGroup", numGroups: 3, targetAlphas: 9, replicasFactor: 3, downAlphas: 2, desc...
Go
// +build amd64 !noasm !appengine #include "textflag.h" TEXT ·regression1Simds(SB),$272-52 MOVL $0, ret0+48(FP) MOVQ $0, t15-16(SP) MOVQ $0, t15-8(SP) MOVQ $0, t17-32(SP) MOVQ $0, t17-24(SP) block0: MOVQ x+8(FP), R15 ...
Assembly
any) in the `items` table matching this [QuerySingle]. /// /// Returns a [DeleteSingle] statement on which `.execute()` must be called /// for the row to be deleted. The resulting statement will **not** /// fail, if there are no rows matching this query exists. DeleteSingle<Item> delete() => ExposedFor...
Dart
tring { return path } override fun route(): String { return path } override fun headers(): HttpHeaders { return headers } override fun cookies(): MutableList<Cookie> { val cookies = arrayListOf<Cookie>() val header = headers.getAll("Cookie") Coo...
Kotlin
cription': "Enter your token in the format 'Bearer <token>'" } }, } EMAIL_HOST = os.getenv('EMAIL_HOST') EMAIL_HOST_USER = os.getenv('EMAIL_HOST_USER') EMAIL_HOST_PASSWORD = os.getenv('EMAIL_HOST_PASSWORD') EMAIL_PORT = 587 EMAIL_USE_TLS = True DEFAULT_FROM_EMAIL = os.getenv('DEFAULT_FROM_EMAIL') PASSWORD...
Python
ch_result (This can't error.) last_fetch_result = _stored_object_to_fetch_result( exit_stack, stored_object, step.fetch_errors, dir=basedir ) result = await asyncio.get_event_loop().run_in_executor( None, fetch_or_wrap_error, exit_stack, ...
Python
delete") private Integer gequDelete; /** * 歌曲简介 */ @TableField(value = "gequ_content") private String gequContent; /** * 上传时间 */ @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss") @DateTimeFormat @TableField(value = "insert_time",fill = Field...
Java
.push.apply(argsArray, args) fn[0].apply(fn[1] === undefined ? thisArg : fn[1], argsArray) } }export enum Grado { PRIMERO = 'Primer grado', SEGUNDO = 'Segundo grado', TERCERO = 'Tercer grado', CUARTO = 'Cuarto grado', QUINTO = 'Quinto grado', SEXTO = 'Sexto grado', } export enum Seccion { A = 'Sec...
Typescript
color:#908499; margin: -10px 0 0; border-bottom: 1px solid #a7a9ac; padding: 4px 0 8px; text-align: center; } div#sub-header > div > div.mod-pojctopen > .modpo-whyopen{ font: bold 14px Helvetica, Arial, Geneva, sans-serif; padding:6px 0 0 50px; } /* fin de lo de open */ /* lo del header rojo */ div#sub-header-s...
CSS
elled') { logDebug('error on downloadAndPreviewFile', getFullErrorMessage(error)); alertDownloadFailed(intl); } } } Future<void> handlePreviewPress() async { if (!canDownloadFiles) { alertDownloadDocumentDisabled(intl); return; } if (download...
Dart
with_capacity(size); while let Some(kv) = it.try_next().await? { map.entry(kv.metakey).or_default().push(kv.metavalue); } Ok(map) } /// Add metadata for a mod that this `Metadata` refers to. #[allow(clippy::should_implement_trait)] pub async fn add(self, metadata: M...
Rust
") end end function mod:KulTiranWavetenderDeath(args) self:ClearNameplate(args.destGUID) end -- Irontide Raider function mod:IrontideRaiderEngaged(guid) self:Nameplate(272662, 5.6, guid) -- Iron Hook self:Nameplate(257170, 8.0, guid) -- Savage Tempest end function mod:IronHook(args) -- this is also cast by the...
Lua
rint!("{}", x); } println!(); } println!(); } #[cfg(test)] mod tests { use super::*; #[test] fn test() { let input: Vec<String> = "L.LL.LL.LL LLLLLLL.LL L.L.L..L.. LLLL.LL.LL L.LL.LL.LL L.LLLLL.LL ..L.L..... LLLLLLLLLL...
Rust
K_L* & VK_R* - left and right Alt, Ctrl and Shift virtual keys.  * Used only as parameters to GetAsyncKeyState() and GetKeyState().  * No other API or message will distinguish left and right keys in this way.  */ #define VK_LSHIFT 0xA0 #define VK_RSHIFT 0xA1 #define VK_LCONTROL 0xA2 #define VK_RCO...
Markdown
sta BLNSW ; Enable cursor repeat - XXX make it configurable !ifdef CONFIG_KEY_REPEAT_DEFAULT { !ifndef CONFIG_KEY_REPEAT_ALWAYS { lda #$80 sta RPTFLG } } ; Set current colour for text (Computes Mapping the 64 p215) ldx #CONFIG_COLOR_TXT stx COLOR ; Set maximum keyboard buffer size (Computes Mapping the 64 ...
Assembly
-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.woff") format("woff"),url("https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.ttf") format("truetype"),url("https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.svg#web") format("svg"); font-weight: 6...
CSS
;margin-bottom:4px}.wj-flexchart .wj-chart-hrangeslider .wj-rangeslider-minhandle,.wj-flexchart .wj-chart-hrangeslider .wj-rangeslider-maxhandle{background:#bdbdbd;cursor:ew-resize;height:22px;margin-top:-2px;width:14px}.wj-flexchart .wj-chart-hrangeslider .wj-rangeslider-decbtn{left:0}.wj-flexchart .wj-chart-hrangesli...
CSS
: true, isSelected: true, rect: const ui.Rect.fromLTRB(0, 40, 100, 60), ), ], ); tester.apply(); expectSemanticsTree(owner(), ''' <sem> <sem-c> <sem></sem> <sem aria-selected="false"></sem> <sem aria-selected="true"></sem> </sem-c> </sem> '''); // Miss...
Dart
#!/usr/bin/env python3 """ Interactive Configuration Mixer for mtop Demos Like a recipe builder but for demo configurations! Choose your adventure style interface to create custom demo scenarios. Usage: ./scripts/config-mixer.py # Interactive mode ./scripts/config-mixer.py --save my-custom-demo # Save the recip...
Python
mmath.Constant local x = table.unpack(expr) -- log(e) = 1 if x == symmath.e then return Constant(1) end -- log(1) = 0 if Constant.isValue(x, 1) then return Constant(0) end if x == symmath.inf then return symmath.inf end -- log(0) = -infinity -- TODO technically, as a lim...
Lua
userInfo { // 跳转到固定的界面 if (application.applicationState == UIApplicationStateInactive) { // 进行页面的跳转 } else { // 其他情况不需要跳转 } } ``` - 3.应用程序被杀死时的监听 ```objc - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // 判断是否是通过点击通知打开了...
Markdown
omment-to-html-xml-conversion.cpp" line="[[@LINE-1]]" column="7"><Name>comment_to_xml_conversion_01</Name><USR>c:@S@comment_to_xml_conversion_01</USR><Declaration>class comment_to_xml_conversion_01 {}</Declaration><Abstract><Para> Aaa.</Para></Abstract></Class>] /// \param aaa Blah blah. comment_to_xml_conversion_...
C++
UnloadCrates(Group,Unit) self:T(self.lid.." _UnloadCrates") if not self.dropcratesanywhere then local inzone,zonename,zone,distance=self:IsUnitInZone(Unit,CTLD.CargoZoneType.DROP) if not inzone then self:_SendMessage("You are not close enough to a drop zone!",10,false,Group) if not self.debug then return self end end e...
Lua
2; int y = rect.y + (m_cellSize.y - h)/2; dc.DrawText(text, x, y); } if (resetColour) dc.SetTextForeground(oldTextColour); } // Draw horizontal separator line dc.DrawLine(rect.x, rect.y+rect.height-1, rect.x+rect.width, rect.y+rect.height-1); } void wxS...
C++
ial = { ...store_initial, ...new_state_of_the_comp }; } const isNew = isInitial || JSON.stringify(store_object[store_key]) !== JSON.stringify(new_state_of_the_comp[store_key]); store_object = { ...store_object, ...new_state_of_the_comp }; if (isNew) { subscribers.forEach(function (handler) { ...
Typescript
and "exec_script_allowlist" not in settings_content ): # The build system uses old naming but .gn uses new - need to patch logger.info( "Patching .gn file: exec_script_allowlist -> exec_script_whitelist" ...
Python
1. Es gibt mehrere Möglichkeiten den Befehl aufzurufen: - Den nach unten weisenden Pfeil rechts neben der Schaltfläche **<img src="images/Std_TreeSyncView.svg" width=16px>** anklicken und den Eintrag **Mehrfachdokument** in der angezeigten Liste auswählen. Hinweis: Das Bild der Schaltfläche ändert sich entsprech...
Markdown
utoRegisterCallback RegisterCookStats([](FCookStatsManager::AddStatFuncRef AddStat) { HeightfieldUsageStats.LogStats(AddStat, TEXT("LandscapeCollision.Usage"), TEXT("Heightfield")); MeshUsageStats.LogStats(AddStat, TEXT("LandscapeCollision.Usage"), TEXT("Mesh")); }); } #endif TMap<FGuid, ULandscapeHeightfieldCol...
C++
'4701301', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '2', '1', '', '', '', '', '', '', 'OnAfterHurt', '4702805', 'OnBorn', '4702801', 'OnAttackOver', '4702807', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'4702803', '', '4702804', '47028', '瓦尔基里之护', '2...
Lua
"test_component", error, is_critical=False ) # Verify both systems handled the error appropriately assert pumpswap_response['status'] == 'error' assert component_response['status'] == 'degradation_applied' # Check system health health_status = resilience...
Python
isCompleted } assertEquals(TE(1), deferred.await()) } @Test fun `nextEventOrNull can filter by filter`() = runBlockingUnit { val deferred = async(start = CoroutineStart.UNDISPATCHED) { withTimeoutOrNull<TE>(5000) { globalEventChannel().nextEvent(EventPriority.MONITOR) { it.x == ...
Kotlin
ity values](https://source.android.com/docs/core/runtime/dex-format#visibility) | 字段名 | 类型 | 说明 | |:--------|:-----|:------| | Build | Enum | 构建时可见 | | Runtime | Enum | 运行时可见 | | System | Enum | 系统可见 | ### MatchType | 字段名 | 类型 | 说明 | |:---------|:-----|:---| | Contains | Enum | 包含 | | Equals | ...
Markdown
-month span.cur-month:hover { background: var(--grey-100) !important; } .flatpickr-current-month .numInputWrapper span.arrowUp:after { border-block-end-color: var(--grey-900) !important; } .flatpickr-current-month .numInputWrapper span.arrowDown:after { border-block-start-color: var(--grey-900) !important; } ....
CSS
lifecycleScope.launch(Dispatchers.Main) { badgeEmission = navigationView.menu.findItem(R.id.drawer_emision).actionView as TextView badgeSeeing = navigationView.menu.findItem(R.id.drawer_seeing).actionView as TextView badgeQueue = navigationView.menu.findItem(R.id.drawer_queue).action...
Kotlin
. '5a4p3o5e4b,' // #6339: 5 fonts: HK 103₁₃₀, JP 114₂₅₀, KR 90₃₅₀, SC 77₄₆₁, TC 99₅₈₄. '5a4p3v4g4s,' // #6340: 5 fonts: HK 103₁₃₀, JP 114₂₅₀, KR 90₃₅₀, SC 95₄₇₉, TC 99₅₈₄. '5a4p3v4y4a,' // #6341: 5 fonts: HK 103₁₃₀, JP 114₂₅₀, KR 93₃₅₃, SC 94₄₇₈, TC 99₅₈₄. '5a4p3y4u4b,' // #6342: 5 fonts...
Dart
` to avoid a NoClassDefFoundError, see [FELIX-6184](https://issues.apache.org/jira/browse/FELIX-6184) & [Adobe Documantation](https://experienceleague.adobe.com/docs/experience-manager-65/deploying/deploying/troubleshooting.html?lang=en#the-website-does-not-load-or-fails-intermittently-with-java11) for details. <a nam...
Markdown
;font-weight:500;-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;line-height:16px;padding:9px 12px}.vk_ios_yes .m .vk__page_confirmHistoryDelete #m .button,.vk_ios_yes .m .vk__page_confirmHistoryDelete #m .near_btn{font-weight:600;-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smooth...
CSS
, 0.000331714633, 1.23908515e-22, 1, -1.09738441e-22, -0.000331714633, -1.09697344e-22, -0.99999994) o5.Part0 = o4 o5.Part1 = o2 o6.Name = "Boot Base" o6.Parent = o1 o6.Material = Enum.Material.Metal o6.BrickColor = BrickColor.new("Really black") o6.Position = Vector3.new(111.150185, 0.698450983, -60.6562157) o6.Rotati...
Lua
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. //Unit test for copy propagation assertion. using System; using Xunit; public class Sample2 { [System.Runtime.CompilerServices.MethodImplAttribute(System.Runtime.CompilerServic...
C#
a MMC5_NMT_MAP ; TODO : This could be a loop. lda #0 sta MMC5_CHR_SELECT_0000 lda #1 sta MMC5_CHR_SELECT_0400 lda #2 sta MMC5_CHR_SELECT_0800 lda #3 sta MMC5_CHR_SELECT_0C00 lda #4 sta MMC5_CHR_SELECT_1000 lda #5 st...
Assembly
local base = { base00 = "#121316", base01 = "#121316", base02 = "#1c1d20", base03 = "#26272a", base04 = "#303134", base05 = "#e2e2e2", base06 = "#ececec", base07 = "#F6F6F6", base08 = "#33dbac", base09 = "#ff9700", base0A = "#ffd945", base0B = "#ff3f4f", base0C = "#81f900", base0D = "#19d1e5...
Lua
current = 0 next_val = 1 while next_val < 4: while next_val < 4 and grid[i][next_val] == 0: next_val += 1 if next_val >= 4: next_val -= 1 current_value = math.log2(grid[i][current]) if...
Python
, PartialEq, Eq)] pub(crate) enum SingleMessageCompressionOverride { /// Inherit whatever compression is already configured. If the stream is compressed this /// message will also be configured. /// /// This is the default. Inherit, /// Don't compress this message, even if compression is enabled...
Rust
*/ fabs f2, f28 /* 802E5548 002E2488 C0 22 EB 34 */ lfs f1, lbl_8051CE94@sda21(r2) /* 802E554C 002E248C EC 00 07 B2 */ fmuls f0, f0, f30 /* 802E5550 002E2490 FC 40 10 18 */ frsp f2, f2 /* 802E5554 002E2494 EC 01 00 32 */ fmuls f0, f1, f0 /* 802E5558 002E2498 FC 02 00 40 */ fcmpo cr0, f2, f0 /* 802E555C 002E249C ...
Assembly
ger and update the context", function() local new_name = "test_2" logger:set_name(new_name) assert.are.equal(new_name, logger.name) assert.are.equal(new_name, logger.context.logger_name) end) end) describe("log method", function() it("should log if the log level of the sink allows i...
Lua
INT_ONE_CTOR_HPP # define CPPAD_CORE_CHKPOINT_ONE_CTOR_HPP // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later // SPDX-FileCopyrightText: Bradley M. Bell <bradbell@seanet.com> // SPDX-FileContributor: 2003-22 Bradley M. Bell // ---------------------------------------------------------------------------- namespace ...
C++
l() // + " ] : Socket timeout exception " + e.getMessage()); // return HttpStatusExtensionType.SOCKET_TIMEOUT_EXCEPTION // .getCode(); // } // LOG.error("PodId[ " + podcast.getPodcastId() + " ]" + " pod url[ " // + podcast.getUrl() + " ] : fatal transport error: " // + e.getMessage()); // ret...
Java
roject$VegaLite$moHorizontal = 0; var $elm$core$Basics$negate = function (n) { return -n; }; var $author$project$VegaLite$Max = {$: 6}; var $author$project$VegaLite$opMax = $author$project$VegaLite$Max; var $author$project$VegaLite$Min = {$: 9}; var $author$project$VegaLite$opMin = $author$project$VegaLite$Min; var $a...
JavaScript
t.IsNotNull(testingTarget, "Can't create success object OnIdiom."); Device.SetIdiom(TargetIdiom.Phone); testingTarget.Phone = TargetIdiom.Phone; Assert.AreEqual(TargetIdiom.Phone, testingTarget.Phone, "Should be equal"); Device.SetIdiom(TargetIdiom.Tablet); t...
C#
* @param x {number} * @param y {number} * @return boolean */ bigryan.MazeLogic.prototype.pushBlock = function(direction, x, y) { if (!this.canPush_(direction, x, y)) { return false; } var toSwitch = bigryan.Terrain.EMPTY; //first push an empty spot to where we go while (1) { switch (direction) { ...
JavaScript
casbin'; import { RedisClusterConnection, RedisConnection, RedisClient } from './redis'; import { ClusterNode, ClusterOptions, RedisOptions } from 'ioredis'; export interface WatcherOptions extends RedisOptions { channel?: string; } export interface WatcherClusterOptions extends ClusterOptions { channel?: string;...
Typescript
r:pointer}.slds .slds-picklist__item>a:active,.slds .slds-picklist__item>span:active{background-color:#eef1f6}.slds .slds-picklist__item[aria-selected="true"]{background-color:#eef1f6}.slds .slds-dropdown{margin-top:2px;padding:4px 0;z-index:7000;float:left;position:absolute;min-width:96px;max-width:320px;left:50%;-web...
CSS
n(parser, "Whitespace"); } const token = parser.getToken(); if (token.type === "Ident" && token.value === AND) { conditionWithoutOr = tryParseConditionWithoutOr(parser); } return parser.finishNode( start, { type: "CSSMediaQuery", condition, conditionWithoutOr, ...
Typescript
gnostic_enemy_kill_a", OP.TIMESET, }, }, heard_speak_routing = { target = "players", }, on_pre_rule_execution = { delay_vo = { duration = 0.5, }, }, }) define_rule({ category = "enemy_alerts_prio_1", database = "gameplay_vo", name = "enemy_kill_cultist_grenadier", response = "ene...
Lua