content
stringlengths
2
6.21k
label
stringclasses
16 values
checkExperimentDesign(e2, false)); // Example containing a mistake: the column RepTechGroup is missing Design testReptechgroupColumnBis = createEmptyDesign(); Experiment e2bis = testReptechgroupColumnBis.addExperiment("exp1"); List<String> h2bis = asList("Condition"); e2bis.addSample(addSamp...
Java
counting hyperthreading nproc, err = perf.execute(ssh_execute_wrap(self, self.kong_ip, [[grep '^cpu\scores' /proc/cpuinfo | uniq | awk '{print $4}']])) if not nproc or err then return false, "failed to get core count: " .. (err or "") end if not tonumber(nproc) then return false, "failed to get core c...
Lua
// TODO: Use resp. _ = resp } } func ExampleEntityTypesClient_ListOperations_all() { ctx := context.Background() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request ini...
Go
( String name, String url) $default,) {final _that = this; switch (_that) { case _ReactedEmoji(): return $default(_that.name,_that.url);case _: throw StateError('Unexpected subclass'); } } /// A variant of `when` that fallback to returning `null` /// /// It is equivalent to doing: /// ```dart /// switch (sealedCla...
Dart
ldr r0, [r0, #0x10] ldr r1, _021EA364 ; =ov04_021E2B64 bl ov04_02202580 bl ov04_021E26E4 ldr r0, [r0, #0x10] bl ov04_02202308 mov r0, r6 add sp, sp, #0x2c ldmia sp!, {r4, r5, r6, r7, r8, sb, sl, fp, pc} .align 2, 0 _021EA344: .word ov04_021E2E18 _021EA348: .word ov04_021E2E14 _021EA34C: .word ov04_021E2E10 _...
Assembly
import google.generativeai as genai import os genai.configure(api_key=os.environ["GEMINI_API_KEY"]) model = genai.GenerativeModel('gemini-pro') def generate_quiz_prompt(station_name, language="EN"): """ Generates a prompt for the Groq API to create 5 multiple choice questions. """ return [ f""...
Python
ConfigDir().getReal(str.substring(14))); else if (str.startsWith("-dir}", 13)) str = checkResult(str, config.getConfigDir().getReal(str.substring(18))); else if (str.startsWith("-directory}", 13)) str = checkResult(str, config.getConfigDir().getReal(str.substring(24))); else if (str.startsWith("-file}", 13)...
Java
invokeDispose).get(); assertThat(context.directory()).isEmptyDirectory(); assertThat(store.indexWriteCount()).isNotZero(); } @StoreParameterizedTest @StoreSpec(tested = StoreType.DISK) void disposeStoreWhileReading(Store store, DiskStoreContext context) throws IOException { write(store, "e1", "Jynx...
Java
DicoEuo73DhVQYzsP8oMUjA/640?wx_fmt=png&from=appmsg "") 哇,好吧,也许我可以用这个错误做一些有用的事情。可能性仍然很大,但根据我的理解,该错误将使我能够完全控制内容,并且我能够用几乎与我想要的一样多的数据溢出页面。我唯一无法完全控制的是传递给分配的大小。唯一的限制是我只能触发mallocPageBuf大小在以下间隔内的调用:[0, 8]因为整数溢出。mallocPageBuf将传递的大小与 2 的下一个幂对齐,并计算order(n in 2**n) 来调用_get_free_pages。 对我来说另一个好处是内核没有 KASLR,而且我还注意到即使遇到访问冲突...
Markdown
t配置的语义已经改变了含义,现在它被测量为`从检查点(在检查点协调器上)开始到任务接收到检查点屏障的时间`。 **2. 关闭非对齐checkpoint BROADCAST的exchanges** * 广播分区不能与未对齐的检查点一起工作。不能保证记录在`所有通道中以相同的速度被使用`。这可能导致`一些任务应用与某个广播事件对应的状态更改,而另一些任务则不应用`。在恢复时,可能会`导致不一致的状态`。 **3. 移除CompletedCheckpointRecover#recover()** * 在故障转移后恢复任务状态之前,Flink不再从外部存储重新加载检查点元数据(JobManager故障转移/更改领导除外)。这将导致更...
Markdown
buffer) buffer } else { reading } } } class SudachiReadingFormFilterFactory(args: MutableMap<String, String>) : TokenFilterFactory(args) { private val useRomaji = getBoolean(args, ROMAJI_PARAM, false) init { require(args.isEmpty()) { "Unknown parameters: $args" } } override fun crea...
Kotlin
icon-et-happy:before { content: "\e05b"; } .icon-et-sad:before { content: "\e05c"; } .icon-et-facebook:before { content: "\e05d"; } .icon-et-twitter:before { content: "\e05e"; } .icon-et-googleplus:before { content: "\e05f"; } .icon-et-rss:before { content: "\e060"; } .icon-et-tumblr:before { content: "\e061"; }...
CSS
} /** * Creates a matching Resolver, depending on the Android version: * * Android 10+: Android10Resolver, which uses the raw DNS resolver that comes with Android * Android <10: ExtendedResolver, which uses the known DNS servers to resolve DNS queries */ private fun chooseResolver(): R...
Kotlin
/* * Copyright (c) 2011 Aeroflex Gaisler * * BSD license: * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy...
C
acid modification', start:24, end:24, type:'xxx', text:'C', groupSet:'CCC'}, {category:'Amino acid modification', start:14, end:14, type:'xxx', text:'B', groupSet:'BBB'}, {category:'Amino acid modification', start:25, end:25, type:'xxx', text:'B', groupSet:'BBB'}, {categ...
JavaScript
if type(output) ~= "string" then emitError("Failed to read output from command: " .. cmd) return end if output == "" then emitError("No output from command: " .. cmd) return end local decoded = vim.fn.json_decode(output) return decoded end return ____exports
Lua
wrapper::exception::raise_exception(env.as_c_arg(), atom.as_c_arg()); Term::new(env, exception) } Error::RaiseTerm(ref term_unencoded) => { let term = term_unencoded.encode(env); let exception = wrapper::exception...
Rust
ween] instance to tween the properties of /// [GTweenableGlowFilter]. GTween tween({ required double duration, Object? blurX, Object? blurY, Color? color, EaseFunction? ease, double? delay, bool? useFrames, int overwrite = 1, VoidCallback? onStart, Object? onStartParams, ...
Dart
ialize(void) { return ErrorCheckedPgCallNoReturnValue(pg_timezone_initialize); } absl::StatusOr<pg_tz*> CheckedPgTZOffsetSet(int32_t gmt_offset) { return ErrorCheckedPgCall(pg_tzset_offset, static_cast<long>(gmt_offset)); } absl::StatusOr<int64_t> CheckedPgDefGetInt64(DefElem* def) { return ErrorCheckedPgCall(d...
C++
;position:sticky;inset-inline-start:0;border-inline-start:2px solid var(--rdg-selection-color)}}}.h10tskcx7-0-0-beta-44{@layer rdg.HeaderRow{display:contents;line-height:var(--rdg-header-row-height);background-color:var(--rdg-header-background-color);font-weight:700;>.cj343x07-0-0-beta-44{z-index:2;position:sticky}>.cs...
CSS
parse_fields = [] # # ## If true, incoming metrics are not emitted. # drop_original = false # # ## If set to override, emitted metrics will be merged by overriding the # ## original metric using the newly parsed metrics. # merge = "override" # # ## The dataformat to be read from files # ## Each data form...
Go
.COLOR import godot.core.VariantParser.LONG import godot.core.VariantParser.NIL import godot.core.VariantParser.PACKED_INT_32_ARRAY import godot.core.VariantParser.STRING import kotlin.Boolean import kotlin.Int import kotlin.String import kotlin.Suppress import kotlin.Unit import kotlin.jvm.JvmName /** * A rectangula...
Kotlin
ent.""" @Event.PreDeleteCommand.subscribe def hook(command: DeleteCommand) -> None: command.largs.labels = ["einstein"] assert Event.PreDeleteCommand.validate() await DeleteCommand("knuthwebsite").execute() assert "einstein" not in Database().keys() assert...
Python
(p, i, d2); final AtomIVariable x = new AtomIVariable("x"); final AtomDVariable z1 = new AtomDVariable("z1"); final AtomDVariable z2 = new AtomDVariable("z2"); final AtomDVariable z3 = new AtomDVariable("z3"); final AtomDVariable z4 = new AtomDVariable("z4"); final AtomDVariable z5 = new AtomDVariable("z5"...
Java
adjustments = listOf( Adjustment.Deref(inferred.referenced, overloaded = null), Adjustment.BorrowPointer(expected) ) ) } } // Coerce mutable pointer to const po...
Kotlin
MakeBinormal(), // samp0.MakeTangent(), samp0.MakeColor(info)); // vOut.emplace_back(zeus::CVector3f(curTileX, yMin + info.x14_tileSize, samp1.height), samp1.MakeNormal(), // samp1.MakeBinormal(), samp1.MakeTangent(), samp1.MakeColor(info)); // ...
C++
s(huContext, productId, storage.getQty(), huRecord); } public StockQtyAndUOMQty extractQtys( final ProductId productId, final I_M_HU huRecord) { final IHandlingUnitsBL handlingUnitsBL = Services.get(IHandlingUnitsBL.class); final IMutableHUContext huContext = handlingUnitsBL.createMutableHUContext(PlainC...
Java
"kk")] crate::Annotation { lang: "kk", tts: Some("ет кесімі"), keywords: &["ет кесімі"], }, #[cfg(feature = "km")] crate::Annotation { lang: "km", tts: Some("សាច\u{17cb}ម\u{17bd}យដ\u{17bb}\u{17c6}"), keywords: &[ ...
Rust
p1Input$: HTMLInputElement; private p2Input$: HTMLInputElement; private playButton$: HTMLButtonElement; constructor(rps: RPS, resultsObserver: ResultsObserver) { this.rps = rps; this.p1Input$ = document.getElementById("p1") as HTMLInputElement; this.p2Input$ = document.getElementById("p2") as HTMLIn...
Typescript
[0x%x] [0x%x] \n", rpt->tssi_code[0][1], rpt->tssi_code[1][1], rpt->tssi_code[2][1], rpt->tssi_code[3][1], rpt->tssi_code[4][1], rpt->tssi_code[5][1], rpt->tssi_code[6][1], rpt->tssi_code[7][1], rpt->tssi_code[8][1], rpt->tssi_code[9][1] ); } void halrf_ex_rfk_info(struct rf_info *rf) { halrf_ex_dack_info(rf)...
C
uApi(api_client) xero_tenant_id = 'xero_tenant_id_example' # str | Xero identifier for Tenant pay_run = [ { "PayrollCalendarID": "78bb86b9-e1ea-47ac-b75d-f087a81931de", "PayRunPeriodStartDate": "/Date(1572566400000+0000)/", "PayRunPeriodEndDate": "/Date(1573084800000+0000)/", "PayRunStatus": "DRAFT", "PaymentDate": "/...
Markdown
Entity = new SensitiveWordEntity(); if (clStr.equals("group_id")) { sensitiveWordEntity.setId(sensitiveWordId); sensitiveWordEntity.setGroupId(Integer.valueOf(clStrVal)); } else { sensitiveWordEntity.setId(sensitiveWordId); sensitiveWordEntity.setStatus(In...
Java
k') v *= 1000; switch (X) { case 'U': U.set(v); break; case 'P': P.set(v); break; case 'I': I.set(v); break; } } int main() { freopen("input.txt", "r", stdin); const int STR_SIZE = 10240; int T; char s[STR_SIZE]; input(T); int cas = 1; while (T--) { ...
C++
, srtp_stream_t stream) { /* insert at the head of the list */ stream->next = list->data.next; if (stream->next != NULL) { stream->next->prev = stream; } list->data.next = stream; stream->prev = &(list->data); return srtp_err_status_ok; } s...
C
.currentPosition = it.toInt() if (!musicBinder!!.isPlaying) { musicBinder!!.start() handler.post(this) } true } onBuffer(false) disablePlayController() vp_mini_control.addOnPageChangeListener(pagerChangeListener) } ...
Kotlin
;# ;# ;# Gromacs 4.0 Copyright (c) 1991-2003 ;# David van der Spoel, Erik Lindahl ;# ;# This program 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 2 ;# of the Licens...
Assembly
this.divide(length); return this; } /** * add value */ add(vec: IVector3) { this.v[0] += vec.v[0]; this.v[1] += vec.v[1]; this.v[2] += vec.v[2]; return this; } /** * subtract */ subtract(vec: IVector3) { this.v[0] -= vec.v[0]; this.v[1] -= vec.v[1]; this.v[2] -= vec...
Typescript
); long size = 100; r.ints().limit(size).forEach(x -> { counter.increment(); }); assertEquals(counter.sum(), size); } /** * A sequential unsized stream of longs generates at least 100 values */ public void testUnsizedLongsCountSeq() { LongAdder ...
Java
ual = new Map([[1, 2], [2, 3]]); requirements.assertThat(r => r.requireThat(actual, "actual").isEqualTo("expected")); }); test("assertThatUrl", () => { const actual = new URL("http://www.google.com/"); requirements.assertThat(r => r.requireThat(actual, "actual").isEqualTo("expected")); }); test("withAssert...
Typescript
pane, candidateTextHeight * NUM_EXTRA_ENTRIES_ON_SCROLLABLE_EDGE) --Scroll to put the page top in view taking into account one line of scroll fade ZO_Scroll_ScrollAbsolute(self.pane, (pageStartIndex - 1 + pageStartOffset) *
Lua
(c <= 0x007F) { switch (remaining) { case 0: advanceWriteBuffer(); writeBuffer.put((byte)c); remaining = writeBuffer.remaining(); break; default: writeBuffer.put((byte)c); remaining--; br...
Java
//www.instagram.com/' + finalData['owner']['username'].toString(); _profileParsed = await userProfileData(userUrl); _profileParsed.postData = _postParsed; return _profileParsed; } //PRIVATE USER INFO if (jsonData['entry_data']['ProfilePage'].length == 1) { finalData = jsonData['entry...
Dart
outputStream.close(); document.close(); new Handler(Looper.getMainLooper()).post(() -> { Toast.makeText(context, String.format(Locale.getDefault(), "PDF created: %s", pdfFile.getUri().toString()), Toast.LENGTH_LONG).show(); }); return pdfFile; ...
Java
cfg.id[0].joy.joystick_sign = 0; APP_cfg_set_pin(&cfg); // pin16 = JOYSTICK2_X(-127) cfg.pin = 16; 80093a0: 2210 movs r2, #16 cfg.id[0].joy.joystick_code = JOYSTICK2_X; 80093a2: f362 0386 bfi r3, r2, #2, #5 cfg.id[0].joy.joystick_sign = 1; 80093a6: f063 037f orn r3, r3, #127 ; 0x7f APP_cfg_set_pi...
Assembly
private val giftPrepareList: MutableList<GiftModel> = ArrayList() private var animationPlayer: AnimationPlayer? = null private var isPlaying = false fun setPlayer(player: AnimationPlayer?) { animationPlayer = player animationPlayer?.setCallback { error: Int -> this.onFinished(error) } ...
Kotlin
pane Tart](../../index/p/pear-frangipane-tart.json) * [Pear Fritters](../../index/p/pear-fritters.json) * [Pear Ginger Soy Salad](../../index/p/pear-ginger-soy-salad.json) * [Pear Honey Cranberry Sauce](../../index/p/pear-honey-cranberry-sauce.json) * [Pear Honey](../../index/p/pear-honey.json) * [Pear Jam](../../...
Markdown
if not _G.charSelectExists then return end ----------------- -- OMM Support -- ----------------- -- Moves ACT_OMM_SPIN_GROUND = -1 ACT_OMM_SPIN_JUMP = -1 ACT_OMM_SPIN_POUND = -1 ACT_OMM_CAPPY_THROW_GROUND = -1 ACT_OMM_ROLL = -1 ACT_OMM_WALL_SLIDE = -1 ACT_OMM_MIDAIR_SPIN = -1 -- Settings OMM_SETTING_MOVESET = "" OMM_...
Lua
", "type": "record", "fields": [ {"name": "hacker", "type": "boolean", "default": false} ]}"#, Value::Record(vec![("hacker".into(), Value::Boolean(false))])), // Doc examples (r#"{"type": "record", "name": "TestDoc", "doc": "Doc string", "fields": ...
Rust
func makeSlicingBy8Table(t *Table) *[8]Table { var helperTable [8]Table helperTable[0] = *t for i := 0; i < 256; i++ { crc := t[i] for j := 1; j < 8; j++ { crc = t[crc&0xff] ^ (crc >> 8) helperTable[j][i] = crc } } return &helperTable } // digest represents the partial evaluation of a checksum. type...
Go
ion listMovies(): Movie[] operation findMovie(MovieId): Movie } @com.orbitalhq.aws.dynamo.DynamoService service DynamoService { table reviews: Review[] @UpsertOperation write operation saveReview(Review):Review } """ ) ...
Kotlin
_elastic; mod model_liquid_retention; mod model_pedroso_williams; mod model_porous; mod model_real_density; mod model_seepage; mod model_stress_strain; mod model_van_genuchten; mod parameters; mod sim_config; mod sim_state; mod sim_state_initializer; mod simulation; pub use crate::boundary_conditions::*; pub use crate:...
Rust
0xLjA4My0uMy0xLjc2LS4zMDV6TTYuMjUgMTAuMDAyaDYuNWEuMjUuMjUgMCAwIDEgLjI1LjI1di41YS4yNS4yNSAwIDAgMS0uMjUuMjVoLTYuNWEuMjUuMjUgMCAwIDEtLjI1LS4yNXYtLjVhLjI1LjI1IDAgMCAxIC4yNS0uMjV6bTcuOTc1IDBoMS41MjVhLjI1LjI1IDAgMCAxIC4yNS4yNXYuNWEuMjUuMjUgMCAwIDEtLjI1LjI1aC0xLjVhLjI1LjI1IDAgMCAxLS4yNS0uMjV2LS41YS4yNS4yNSAwIDAgMSAuMjI1LS4yNX...
Dart
。 /// </summary> /// <param name="req"><see cref="DescribeVpcTaskResultRequest"/></param> /// <returns><see cref="DescribeVpcTaskResultResponse"/></returns> public DescribeVpcTaskResultResponse DescribeVpcTaskResultSync(DescribeVpcTaskResultRequest req) { return Inter...
C#
ate from the // workers instead of synchronously acquiring an update, and that way we // could ensure that even on the Rust side of things it's not UB. let mem = wasm_bindgen::memory().unchecked_into::<WebAssembly::Memory>(); let mem = Uint8ClampedArray::new(&mem.buffer()).slice(base as u32, (base + len...
Rust
�", ["𣢻"] = "⺊一水欠", ["𣢼"] = "白欠", ["𣢽"] = "山亼乛欠", ["𣢾"] = "匕示欠", ["𣢿"] = "亠田欠", ["𣣀"] = "二欠冂土", ["𣣁"] = "己斤欠", ["𣣂"] = "一䒑口欠", ["𣣃"] = "厂屮凵欠", ["𣣄"] = "五口欠", ["𣣅"] = "禾欠", ["𣣆"] = "口丿土欠", ["𣣇"] = "⺊一夫欠", ["𣣈"] = "亽心欠", ["𣣉"] = "臼儿欠", ["𣣊...
Lua
d testMoment3AboutMean() { Assert.assertEquals("Moment 3 About Mean", -507.810691261427, ((DoubleType) ops.run(DefaultMoment3AboutMean.class, randomlyFilledImg)) .getRealDouble(), 0.00001d); } @Test public void testMoment4AboutMean() { Assert.assertEquals("Moment 4 About Mean", 53069780.9168701, ((Dou...
Java
awn/common/TypedInteger.h" #include "gtest/gtest.h" namespace dawn { namespace { using TestSerialQueue = SerialQueue<uint64_t, int>; // A number of basic tests for SerialQueue that are difficult to split from one another TEST(SerialQueue, BasicTest) { TestSerialQueue queue; // Queue starts empty ASSERT_...
C++
}); return list; } catch (RuntimeException re) { log.error("find all MemberT error", re); throw re; } } @Override public int countfindAllMemberT(String creatorid) { log.debug("countfindAllMemberT"); try { String queryString = "select count(*) from MemberT as mt where mt.creatorid=:creatorid"...
Java
// Copyright 2019 Luma Pictures // // 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
C
6); return 28 * CYCLE_UNIT / 2 + count_cycles; } /* 28 (5/2) */ /* OR.L #<data>.L,-(An) */ uae_u32 REGPARAM2 CPUFUNC(op_00a0_11)(uae_u32 opcode) { int count_cycles = 0; uae_u32 dstreg = opcode & 7; {{ uae_s32 src; src = get_word_000_prefetch (4) << 16; src |= get_word_000_prefetch (6); { uaecptr dsta; dsta = m68k...
C++
subRet1 += Integer.bitCount((int) BitUtil.VH_LE_INT.get(q, r + size) & value); subRet2 += Integer.bitCount((int) BitUtil.VH_LE_INT.get(q, r + 2 * size) & value); subRet3 += Integer.bitCount((int) BitUtil.VH_LE_INT.get(q, r + 3 * size) & value); } for (; r < size; r++) { ...
Java
map .x-d3-tile:hover rect{fill:#5fa2dd!important}.x-d3-heatmap .x-d3-tile rect{shape-rendering:crispEdges}.x-d3-heatmap .x-d3-tile text{fill:#000;font-size:13px;font-weight:300;font-family:'Open Sans','Helvetica Neue',helvetica,arial,verdana,sans-serif;stroke:none;text-anchor:middle;dominant-baseline:central}.x-d3-hier...
CSS
// Copyright (c) ONNX Project Contributors /* * SPDX-License-Identifier: Apache-2.0 */ // Adapter for Slice in default domain from version 9 to 10 #pragma once #include <memory> #include <vector> namespace ONNX_NAMESPACE { namespace version_conversion { class Slice_9_10 final : public Adapter { public: expli...
C
sFromSpec, softConstraintsFromSol = softCmdsFromSol, callIds = baseCodeMap.callIdNames.map { it.toString() }.toSet(), ) SmtFileDumping.dumpUnsatCoresStatsFile( baseCodeMap.name, UnsatCoresJavaSerializerWrapper(stats).toString() ) return st...
Kotlin
from openai import OpenAI import os client = OpenAI(api_key=os.getenv("OPENAI_API_KEY")) response = client.chat.completions.create( model="gpt-4o-mini", messages=[{"role":"user", "content":"Hello Nanthini!"}] ) print(response.choices[0].message.content)
Python
("エラー:ベッド サイテイオンミマン") // "Err: MINTEMP BED" #define MSG_ERR_Z_HOMING MSG_HOME _UxGT(" ") MSG_X MSG_Y _UxGT(" ") MSG_FIRST // "Home XY first" #define MSG_HALTED _UxGT("プリンターハテイシシマシタ") // "PRINTER HALTED" #define MSG_PLEASE_RESET _UxGT("リセットシテクダサイ...
C
le_kernel_sizes = upsample_kernel_sizes self.resblock_kernel_sizes = resblock_kernel_sizes self.resblock_dilation_sizes = resblock_dilation_sizes self.leaky_relu_slope = leaky_relu_slope # specific to Code Hifi-Gan self.unit_hifi_gan_vocab_size = unit_hifi_gan_vocab_size ...
Python
log, { keyword: [new Keyword('_')], }); const code = '_("It\'s " + `a ${what}` + " and beautiful world!")'; expect(p.parse(Buffer.from(code), 'example.js')).toBeFalsy(); expect(errorSpy).toHaveBeenCalledTimes(1); expect(errorSpy).toHaveBeenCalledWith( 'example.js:1:12-1:23: error:' + ' templ...
Typescript
a expressão /galinha diante do Estalajadeiro Aguardente e, em troca, ele lhe dará uma Balinha de Altaforja!"}}, [8354] = {"Imito uma galinha por uma balinha",nil, {"Use a expressão /galinha diante do Estalajadeiro Ronan e, em troca, ele lhe dará uma Balinha da Cidade Baixa!"}}, [8355] = {"Café com pão, café com pão",ni...
Lua
.Expression)}else T.Type==on.BinaryExpression&&(v=T.Out);"-"==e.Expression.Operator&&(v="-".concat(v)),this.OutVarTable.push({Name:d,Data:"输出: ".concat(v),Type:0,NoneName:!0})}else if(e.Expression.Type==on.SequenceExpression){var g,x=void 0,F=void 0,E=void 0,L=void 0,M=void 0,y=!1,R=!1,N=!1,w=!1,A=!1,O=!1,b=!0,B=!1,P=!...
JavaScript
ObjectMeta: metav1.ObjectMeta{ Name: botDriver.FirstChannel().Name(), Namespace: "default", }, Spec: v1.PodSpec{ Containers: []v1.Container{ {Name: "nginx", Image: "nginx:latest"}, }, }, } podIgnored, err = podDefaultNSCli.Create(context.Background(), podIgnored, metav1.CreateOpti...
Go
) } } DividerTextExpandedWith("深浅色") { CustomCard(color = backgroundColor) { TransplantListItem( headlineContent = { Text(text = "纯黑深色背景") }, supportingContent = { Text(text = "OLED屏使用此模式在深色模式时可获得不发光的纯黑背景") }, ...
Kotlin
Gets the multi-device event handler. /// /// Param [identifier] The custom handler identifier. /// /// **Return** The multi-device event handler. /// ~end /// /// ~chinese /// 获取多设备事件监听。 /// /// Param [identifier] 多设备事件监听对应的 ID。 /// /// **Return** 多设备事件监听。 /// ~end EMMultiDeviceEventHandler...
Dart
padding-top:.5em;width:198px;margin-bottom:10px;}#side .segment{margin:1em 10px;}#side .segment>*{padding-bottom:1em;}#side .segment p{line-height:1.6em!important;}#side .segment ul li{margin:0;padding:0 0 1em 0;}#side .promotion{background-color:#EDFEFF;font-size:11px;margin:1em auto;padding:6px 10px;text-align:left;w...
CSS
v() internal.Settings = internal.NewSettings() e := echo.New() e.HTTPErrorHandler = handler.ErrorHandler loggerFormat := "${method} ${uri} [${status}] (${latency_human}) | ${short_file}:${line} | ${message}\n" e.Logger.SetHeader(loggerFormat) config := internal.GetRateLimiterConfig() e.Use(middleware.RateLimit...
Go
; use hyper::client::Client; use tokio_core::reactor::Core; pub struct HttpClient { header: String, } impl HttpClient { pub fn post() { let json = r#"{"library":"hyper"}"#; let uri = "http://httpbin.org/post".parse::<Uri>().unwrap(); let mut req: Request<Body> = Request::new(Method::...
Rust
Values(nCol); final double[] ret = new double[numVals + 1]; for(int k = 0; k < numVals; k++) ret[k] = prodRow(k, nCol); ret[numVals] = defaultTuple[0]; for(int i = 1; i < nCol; i++) ret[numVals] *= defaultTuple[i]; return ret; } @Override public double[] productAllRowsToDoubleWithReference(double[] ...
Java
o.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(u){}var i=a.call(t);return r&&(e?t[s]=n:delete t[s]),i}t.exports=u},"./node_modules/_lodash@4.17.15@lodash/_getSymbols.js":function(t,e,n){var r=n("./node_modules/_lodash@4.17.15@lodash/_arrayFilter.js"),i=n("./node_modules/_lodash@4.17.15@lodash/stubArray.js"),o=Object...
JavaScript
525252;--vscode-breadcrumb-foreground: rgba(204, 204, 204, .8);--vscode-breadcrumb-background: #1e1e1e;--vscode-breadcrumb-focusForeground: #e0e0e0;--vscode-breadcrumb-activeSelectionForeground: #e0e0e0;--vscode-breadcrumbPicker-background: #252526;--vscode-merge-currentHeaderBackground: rgba(64, 200, 174, .5);--vscode...
CSS
>= 0 && (startCol == -1 || lineIdx < startCol)) { startCol = lineIdx } } // output the first line at the current column builder.append(lines[0]) // output all trailing lines with plausible indentation for (i in 1 until lines.size) { builder.append(lineSeparator).append(Strings...
Kotlin
s", [23024] = "Documentación de instrucción de campo lista", [23025] = "Sello del condenado", [23026] = "Supply Request Crystal", [23029] = "Corazón gélido de Noth", [23032] = "Ornato glacial", [23034] = "Nax PH Crit Plate Shoulders", [23038] = "Sortija de fuerzas antinaturales", [23041] = "Blasón de de...
Lua
반지", [29160] = "에메랄드 사자 반지", [29161] = "공허의 마루 영혼의 조각", [29162] = "갈락시스 영혼의 조각", [29163] = "천연 파랄라이트", [29164] = "파랄라이트 핵", [29165] = "전쟁의 인도자", [29166] = "지옥에서 벼려낸 미늘창", [29167] = "어둠의 창", [29168] = "선조의 고리", [29169] = "예후의 반지", [29170] = "바람소환사의 보주", [29171] = "대지의 파수꾼", [29172] = "아쉬옌의 선물", [29173] = "야성의 힘", [2917...
Lua
import com.londogard.nlp.tokenizer.VocabSize import com.londogard.nlp.utils.FileInfo import com.londogard.nlp.utils.LanguageSupport import com.londogard.nlp.utils.UrlProvider import com.londogard.nlp.wordfreq.WordFrequencySize import mu.KotlinLogging import org.amshove.kluent.shouldBe import java.net.HttpURLConnection...
Kotlin
N, x, y, direction) -- Play the right movement animation else spr:drawFrame(SCREEN_DOWN, x, y, -2 + direction * 3) -- Play the righ...
Lua
using UnityEditor.IMGUI.Controls; using PlasticGui.WorkspaceWindow.Merge; namespace Unity.PlasticSCM.Editor.Views.IncomingChanges.Developer { internal class ChangeCategoryTreeViewItem : TreeViewItem { internal MergeChangesC
C#
//======= Copyright (c) Valve Corporation, All rights reserved. =============== // // Purpose: The object attached to the player's hand that spawns and fires the // arrow // //============================================================================= using UnityEngine; using System.Collections; using System.Coll...
C#
annotation_group", flow = "annotation_flow", dimensions = ["annotation_dimension", "value"] ) private class ActivityWithAnnotationAndDelegate : Activity(), ProductMetricsDelegateOwner { override val productMetricsDelegate: ProductMetricsDelegate = mockk() } /* * Copyright (c) 2021 Proton Technologies AG *...
Kotlin
/**************************************************************************** * * Open Watcom Project * * Portions Copyright (c) 1983-2002 Sybase, Inc. All Rights Reserved. * * ======================================================================== * * This file contains Original Code...
C
ht:0;width:0}.choices__group{--tw-text-opacity:1;color:rgba(var(--gray-500),var(--tw-text-opacity));padding:1rem .5rem .5rem}.choices__group:first-child{padding-top:.5rem}:is(.dark .choices__group){--tw-text-opacity:1;color:rgba(var(--gray-400),var(--tw-text-opacity))}.webkit-calendar-picker-indicator\:opacity-0::-webk...
CSS
); } } class _CenterWithOriginalSizeDelegate extends SingleChildLayoutDelegate { const _CenterWithOriginalSizeDelegate( this.subjectSize, this.basePosition, this.useImageScale, ); final Size subjectSize; final Alignment basePosition; final bool useImageScale; @override Offset getPositionF...
Dart
e( \ "stmatrix.sync.aligned.x4.m8n8.shared.b16 [%0], {%1, %2, %3, %4};\n" :: \ "r"(addr), \ "r"(R0), "r"(R1), "r"(R2), "r"(R3)) #define STMATRIX_X1_T(addr, R) ...
C
�么?」 ### 开发产品「充满意外」,你没有办法预测三个月之后的事 做 OTCBTC 时 * 我们原先想像的:上线后,马上就有人用。持续 debug,业绩就会增长。 * 真实实际发生的:上线之后,第一天营业额只有38万人民币,3-5天以内业绩都只有100多万,还面临强敌上线险些被灭。 我来谈谈我们 OTCBTC 开站第一个月摆脱死亡漩涡,后续甚至暴冲打下江山的那段过程。 ### Growth = Conversion - Churn ![](https://d.pr/i/rMdUzd+) 坊间对增长这门技术的印象,就是不断的曝光,不断的增大转化率。 但是创业公司所处的世界,却是这样的:增长的确得不断的增加转化率,但...
Markdown
�روك", "wilaya_code": "11", "wilaya_name_ascii": "Tamanrasset", "wilaya_name": "تمنراست" }, { "id": 354, "commune_name_ascii": "Abelsa", "commune_name": "ابلسة", "daira_name_ascii": "Silet", "daira_name": "سيلت", "wilaya_code": "11", "wilaya_name_ascii": "Tamanrasset", "w...
Dart
float r = length(normCoord); // to polar coords \n" + " float phi = atan(normCoord.y + uPosition.y, normCoord.x + uPosition.x); // to polar coords \n"+ " r = pow(r, 1.0/1.8) * 0.8;\n"+ // Squeeze it " normCoord.x = r * cos(phi); \n" + ...
Java
= init_state.Tgt(); int nu = init_state.ProbePdg(); if (!proc_info.IsCoherentProduction()) return false; if (!proc_info.IsWeak()) return false; if (target.HitNucIsSet()) return false; if (!(target.A()>1)) return false; if (!pdg::IsNeutrino(nu) && !pdg::IsAntiNeutrino(nu)) re...
C++
/* Copyright 2022 The TensorFlow Authors. All Rights Reserved. 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 http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
C
=> 'Γεια σας, συμμετέχω στην κατασκευή της συναίνεσης Delta!\n Η Delta είναι μια νέα πλατφόρμα ψηφιακoύ χρήματος ανοιχτού κώδικα, που λειτουργεί στο InternetComputer. Μπορεί να διαχειρίζεται και να χρησιμοποιεί διάφορα ψηφιακά νομίσματα χωρίς κωδικούς πρόσβασης, ιδιωτικά κλειδιά ή μνημονικά. Παρακαλούμε κάντε κλικ σε ...
Dart
时传入Builder 或者 子类实现 createBuilder 函数 // ignore: must_be_immutable abstract class CommonTagsPicker extends StatefulWidget { final BuildContext context; final ValueChanged? onConfirm; final VoidCallback? onCancel; final TagsPickerContentBuilder? contentBuilder; final BrnPickerTitleConfig pickerTitleConfig; Br...
Dart
(parameterInfo.HasDefaultValue) { Array.Resize(ref parameters, parameters.Length + 1); parameters[i] = parameterInfo.DefaultValue; } } try { return methodInfo.Invoke(instance, parameters); } catch (Exception e) ...
C#
{ "name": "Maba (Indonesia)", "code": "mqa" }, { "name": "Mbuko", "code": "mqb" }, { "name": "Mangole", "code": "mqc" }, { "name": "Matepi", "code": "mqe" }, { "name": "Momuna", "code": "mqf" }, { "name": "Kota Bangun Kutai Malay", "code": "mqg" }...
Kotlin