content
stringlengths
2
6.21k
label
stringclasses
16 values
using ForkFrontend.Model; namespace ForkFrontend.Logic.Services.Managers; public class ToastManager : IDisposable { public delegate void ToastsUpdatedHandler(); private readonly CancellationTokenSource _cancellationTokenSource = new(); private readonly ILogger<ToastManager> _logger; public ToastMan...
C#
from './Channel'; import CalendarEvent from './CalendarEvent'; @Entity() @ObjectType() export default class AppUser extends BaseEntity { @PrimaryGeneratedColumn() @Field(() => ID) id!: string; @Column() @Field(() => String) firstname!: string; @Column() @Field(() => String) lastname!: string; @...
Typescript
opencv::imgproc::FONT_HERSHEY_SIMPLEX, 0.6, core::Scalar::new(0.0, 255.0, 0.0, 0.0), 1, opencv::imgproc::LINE_8, false )?; highgui::imshow(window, &mut frame)?; let key = highgui::wait_key(10)?; if key > 0 && key ...
Rust
for predicting DFT PBE band gap from structure. Adapted from Materials Project database. Removed entries having a formation energy (or energy above the convex hull) more than 150meV and those containing noble gases. Retrieved April 2, 2019. For benchmarking w/ nested cross validation, the order of the dataset must be ...
HTML
" + i)); } memoryProvider.addEvents(list); memoryProvider.flush(); int num = consumer.getCount(); assertEquals(num, count); } finally { memoryProvider.stop(); } } @Test public void testAsyncDataConsumer() throws ZoieException { final long[] delays = { 0L, 10L, 10...
Java
projV1alpha1ApplicationStatusOperationStateOperation[$key]" is missing from JSON.'); assert(json[key] != null, 'Required key "IoArgoprojV1alpha1ApplicationStatusOperationStateOperation[$key]" has a null value in JSON.'); }); return true; }()); return IoArgoprojV1alph...
Dart
fGCD.Halo, nil, not Target:IsInRange(30)) then return "halo heal_for_tof 2"; end end -- divine_star if S.DivineStar:IsReady() then if Cast(S.DivineStar, Settings.Shadow.GCDasOffGCD.DivineStar) then return "divine_star heal_for_tof 4"; end end -- holy_nova,if=buff.rhapsody.stack=20&talent.rhapsody if S.H...
Lua
. */ class StatusChangeRecorder { private final List<Pair<String, Status>> sequence = new ArrayList<>(); void recordNode(final Node node) { this.sequence.add(new Pair<>(node.getName(), node.getStatus())); } void recordDag(final Dag dag) { this.sequence.add(new Pair<>(dag.getName(), dag.getStatus()))...
Java
42\u0043\u0044\u0045\u0046\u0047" + // 0x40 - 0x47 "\u0048\u0049\u004A\u004B\u004C\u004D\u004E\u004F" + // 0x48 - 0x4f "\u0050\u0051\u0052\u0053\u0054\u0055\u0056\u0057" + // 0x50 - 0x57 "\u0058\u0059\u005A\u005B\\\u005D\u005E\u005F" + // 0x58 - 0x5f "...
Kotlin
est.path]?.[0] === FAIL; } private time(test: Test) { const cache = this._getCache(test); return cache[test.path]?.[1]; } } export class User { id : number | undefined; username : string | undefined; password: string | undefined; constructor( _id? : number | undefined, _username? : str...
Typescript
元规则的条件 - Conclusion: 生成或修改推理规则的结论 ``` **元推理**: ```math 元推理是在规则级别上的推理,可以: - 生成新的推理规则 - 验证推理规则的正确性 - 优化推理规则系统 ``` **元推理与推理的关系**: ```math 元推理 →→→ 生成/修改 →→→ 推理系统 推理系统 →→→ 应用于 →→→ 具体问题 ``` ## 形式化模型层 ### 计算模型形式化 **函数式计算模型**: ```math 纯函数定义: f: A → B,满足引用透明性 组合子: compose(f, g) = λx.f(g(x)) 高阶函数: map: (A → B) → [A] → [B...
Markdown
*= -1.; pos += 1 } /* To avoid the problem with Mac OS X 10.4 Quartz, * change the presion of the real numbers * on June 27, 2007 for musix20.pfb */ sprintf( buffer.as_mut_ptr() as *mut i8, b"%.13g\x00" as *const u8 as *const i8, value, ); let mut i = 0; ...
Rust
M 驱动的应用程序,识别了常见的抽象、模式和技术。LangChain4j 已将这些精炼成一个现成包。工具箱涵盖: - 从底层的提示词模板、聊天记忆模块管理、输出解析 - 到高级模式如 AI 服务和 RAG 的工具 对于每个抽象层次,都提供了一个接口,并基于常见技术提供了多个现成实现。不论构建聊天机器人,还是开发一个从数据导入到检索的完整 RAG 管道,LangChain4j 提供了广泛选择。 ### 1.3 大量示例 这些 [示例](https://github.com/Java-Edge/langchain4j-examples) 展示了如何开始创建各种由 LLM 驱动的应用程序,提供了灵感并让您能够快速开始构建。 La...
Markdown
for (int i=0;sorted_contacts.size() < 32 && i<old_contacts.size();i++){ DHTRouterContact contact = (DHTRouterContact)old_contacts.get(i); if ( !Arrays.equals( old_router_id, contact.getID())){ if ( !contact.isAlive()){ DHTTransportContact t_contact = ((DHTControlContact)contact.getA...
Java
6 add r0, r4, #0 bl ov44_02233F64 cmp r0, #1 bgt _02233DD6 add r0, r4, #0 bl ov44_02233E6C cmp r0, #0 bne _02233DD6 pop {r3, r4, r5, r6, r7, pc} _02233DC0: cmp r0, #0xf beq _02233E44 cmp r0, #0x10 beq _02233E44 cmp r0, #0x11 beq _02233E44 add r0, #0xfa lsl r0, r0, #0x18 lsr r0, r0, #0x18 cmp r0, #1 ...
Assembly
ai-reinforcement-learning-with-q-learning/)) ## 커뮤니티 그리고 피드백 ML-Agents 툴킷은 오픈소스 프로젝트이며 컨트리뷰션을 환영합니다. 만약 컨트리뷰션을 원하시는 경우 [컨트리뷰션 가이드라인](com.unity.ml-agents/CONTRIBUTING.md) 과 [행동 규칙](CODE_OF_CONDUCT.md) 을 검토해주십시오. ML-Agents 툴킷 설치 및 설정과 관련된 문제 또는 에이전트를 가장 잘 설정하거나 교육하는 방법에 대한 논의는 [유니티 ML-Agents 포럼](https://forum.unity.c...
Markdown
number){ this.todos.map((v,i) => { if(i==id){ if(v.completed){ v.completed = !v.completed; } else{ v.completed = true; } } // console.log(v); return v; }) } deleteTodo(id: number){ this.todos = this.todos.filter((v,i) => i !=...
Typescript
.edge.core.appmanager.ConfigurationTarget; import io.openems.edge.core.appmanager.Nameable; import io.openems.edge.core.appmanager.OpenemsApp; import io.openems.edge.core.appmanager.OpenemsAppCardinality; import io.openems.edge.core.appmanager.OpenemsAppCategory; import io.openems.edge.core.appmanager.dependency.Depend...
Java
ma listeleri", "Offline size": "Çevrimdışı boyut", "Free space": "Boş alan", "Loved tracks": "Sevilen parçalar", "Favorites": "Favoriler", "All offline tracks": "Tüm çevrimdışı parçalar", "Create new playlist": "Yeni çalma listesi oluştur", "Cannot create playlists in offline mode": "Çevrimdışı modda oynatma listeleri ...
Dart
mization.</dd></dl> <dl class="user" compact><dt><b>API Usage Example</b></dt><dd>The following code shows typical usage of the boot API.</dd></dl> <div class="fragment"><pre class="fragment"><span class="preprocessor"> #include &lt;<a class="code" href="inttypes_8h.html">inttypes.h</a>&gt;</span> <span class="prepr...
HTML
ngle one of them. That's why I choose not to blame myself for their actions. All I did was untie the knot. `, trimIndent` "私たちの中には小さな悪魔がいる" 創られた知覚の下で - 人工現実 - は 恐怖の混乱に捩じれてのたうち回る。嫌悪。審判。選民主義。自信喪失。 宿主の弱弱しい掌握から逃れようとすべてが暴れ回る、 小さな隙間を見付けては漏れ出していく。 それら...
Typescript
end("\t${command}\n") } } sb.append("Graph\n") program.blockgraph.forEachEntry { (u, vs) -> sb.append("$u -> ${vs.joinToString(" ")}\n") } return sb.toString() } } /* * The Certora Prover * Copyright (C) 2025 Certora Ltd. * * This pro...
Kotlin
C, U+599F-59A2, U+59A6-59A7, U+59AC-59AD, U+59B0-59B1, U+59B3-59B8, U+59BA, U+59BC-59BD, U+59BF-59C5, U+59C7-59C9, U+59CC, U+59CE-59CF, U+59D5-59D6, U+59D9, U+59DB, U+59DE-59E2, U+59E4, U+59E6-59E7, U+59E9; } @font-face { font-family: "HarmonyOS Sans SC"; src: local("HarmonyOS Sans SC"), url("./...
CSS
YBOXsucrzXRYOjpJp5yNl2zRslFYQQC00bwpAxN' 'CdfNLRZDlXhAqCUxlYqyt10', 'dq': 'MJFbuGtWZvQEdRJicS3uFSY25LxxRc4eJJ8xpIC44rT5Ew4O' 'tzf0zrlzzM92Cv1HvhCcOiNK8nRCwkbTnJEIh-EuU70I' 'dttYSfilqSruk2x0r8Msk1qrDtbyBF60CToRKC2ycDKg' 'olTyuaDnX4yU7lyTvdyD-L0Y...
Dart
using System.Collections.Generic; using UnityEngine; namespace Assets.Scripts.Core.Plugins { /// <summary> Provides unity materials.</summary> internal class MaterialProvider { private readonly Dictionary<string, Material> _sharedMaterials = new Dictionary<string, Material>(); private read...
C#
base64Decode( 'CgxBY3RQYWdlSXRlbXMSQAoEaXRlbRgBIAMoCzIsLmJpbGliaWxpLmFwcC52aWV3dW5pdGUuY2' '9tbW9uLkFjdEJhbm5lckl0ZW1SBGl0ZW0SRwoKc2hvd19zdHlsZRgCIAEoDjIoLmJpbGliaWxp' 'LmFwcC52aWV3dW5pdGUuY29tbW9uLlNob3dTdHlsZVIJc2hvd1N0eWxlEhQKBXRpdGxlGAMgAS' 'gJUgV0aXRsZQ=='); @$core.Deprecated('Use activityDescript...
Dart
iki/%D0%9A%D0%BE%D1%80%D0%B8%D1%81%D0%BD%D0%B8%D0%BA:Obsuser" title="Корисник:Obsuser"><span style="background:#000;color:#f15a29;padding:0 3px;font-family:Century Gothic"><b>Обсусер</b></span></a><a href="//sr.wikipedia.org/wiki/%D0%A0%D0%B0%D0%B7%D0%B3%D0%BE%D0%B2%D0%BE%D1%80_%D1%81%D0%B0_%D0%BA%D0%BE%D1%80%D0%B8%D1%...
HTML
if _END_EXTERN_C_UNLESS_PURE /*** *gshandlereh4.cpp - Defines __GSHandlerCheck_EH4 for X64 * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Defines __GSHandlerCheck_EH4, the X64 exception handler for functions * with /GS-protected buffers as well as C++ EH constructs based...
C++
this);" class="y xi2 op">收起</a> <i class="txt_h">理由</i> </th> </tr> <tbody class="ratl_l"><tr id="rate_21985158_2956164"> <td> <a href="home.php?mod=space&amp;uid=2956164" target="_blank"><img src="https://attachment.mcbbs.net/uc_server/data/avatar/002/95/61/64_avatar_big.jpg/small" onerror="this.onerror=null;this.src...
HTML
[rsp+88h+var_4C], eax mov [rsp+88h+var_54], esi not esi mov [rsp+88h+var_58], esi mov [rsp+88h+var_40], y mov [rsp+88h+var_70], rbp mov [rsp+88h+var_7C], edi jmp short loc_4A26EE xor ecx, 0FFh; jumptable 00000000004A2943 case 3 and ecx, [rsp+8...
Assembly
during script execution. print('All messages have been sent.'); sendMessage('exit'); } void sendMessage(String message) { final id = messageIndex++; mainPort.send({ "id": id, "data": message, }); Future.delayed(Duration(seconds: 5), () { if (massageReceived[id] == null) { if (!isIsol...
Dart
onPointer? onPressed, }) { void onPressedProxy() => scope$.engine.callFunctionPointer( scope$, onPressed!, [], {}, ); return CupertinoButton( alignment: alignment ?? Alignment.center, borderRadius: borderRadius ?? cons...
Dart
s_count, 0.1f, 0, 9999); Gui::Combo("items_type (first column)", &contents_type, contents_type_names, ARRAYSIZE(contents_type_names)); // filter.Draw("filter"); Gui::TreePop(); } Gui::PopItemWidth(); PopStyleCompact(); Gui::Spacing(); Gui::TreePo...
C++
} .vi_sub_d4 .d4_ico { width: 1039px; height: 64px; margin: 0 auto; background: url("../images/vi/16.png") 0 no-repeat; } .vi_sub_d4 .d4_txt { position: absolute; line-height: 1.6; font-size: 12px; color: #999; text-align: center; width: 100px; } .vi_sub_d4 .d4_txt.t1 { left: 67px; bottom: 38px; } .vi_sub_d4 .d4_txt.t2...
CSS
InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser<Context> parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser<Conte...
Java
[3:4] off, offset:-4097 // CHECK-NEXT:{{^}} ^ scratch_load_dword v0, v1, off offset:-2049 glc slc // CHECK: error: expected a 12-bit signed offset // CHECK-NEXT:{{^}}scratch_load_dword v0, v1, off offset:-2049 glc slc // CHECK-NEXT:{{^}} ^ //=============...
Assembly
: none)){.cdx-table-pager__icon--first{-webkit-mask-position:center;mask-position:center;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:max(1.25rem,20px);mask-size:max(1.25rem,20px)}}@supports not (((-webkit-mask-image: none) or (mask-image: none))){.cdx-table-pager__icon--first{background-image:...
CSS
ol installCompileMethodCalled = false; public void InstallCompileMethod(DecryptMethodsInfo decryptMethodsInfo) { if (installCompileMethodCalled) throw new ApplicationException("installCompileMethod() has already been called"); installCompileMethodCalled = true; DynamicMethodsDecrypter.Instance.DecryptMe...
C#
umpAndSettle(); expect(childFinder, findsOneWidget); expect(gesturesTypeTest, GesturesType.hover); expect(tiltDataTest, tiltDataExpect, reason: '倾斜-不超范围'); /// 倾斜-超范围 await tester.sendEventToBinding( testPointer.hover(hoverEventLocation + const Offset(6.0, 6.0)), ); aw...
Dart
size: 18px; color: #444; /*override jQuery UI styles, do not delete doubled properties*/ float: none !important; padding: 12px 24px !important; } .ui-tabs-nav li.ui-state-active a { background-color: #eee; color: #4ab2f1; } .ui-tabs-panel { /*override jQuery UI styles, do not delete doubled properties*/...
CSS
em.out.println("Collisions: " + collisions); } private static void printQuality(CalculateHashConstantLong test, long[] randomValues) { int finalCount = randomValues.length * 10; System.out.println("Quality of " + test); int[] minMax; int av = 0; minMax = test.getDependen...
Java
1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/><path d="M12 7v2"/><path d="M12 13h.01"/></svg>'));content:light-dark(url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" opacity="60%" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" ...
CSS
20/dist/cdn/beer.min.css"> <script type="module" src="https://cdn.jsdelivr.net/npm/beercss@3.11.20/dist/cdn/beer.min.js"></script> <style> @font-face { font-family: "Google Sans"; font-style: normal; font-weight: 400; font-display: swap; src: u...
HTML
gqjr51> <film.director.film> <m.01268prt> . <g.11b6gqjr51> <type.object.name> "Steve Vallo"@en . <g.11b6gqsfpx> <film.director.film> <m.0124t4hj> . <g.11b6gqsfpx> <type.object.name> "Jonas Govaerts"@en . <g.11b6gqvh8b> <film.director.film> <m.0wq0_ss> . <g.11b6gqvh8b> <type.object.name> "Andreas Schäfer"@en . <g.11b6gq...
Go
time = time_mode for time in range(3): eq.vacuum_toroidal_field.b0 = [time + 3.0, time + 3.5] # eq.time is the time coordinate for b0 in heterogeneous mode as well eq.time = [time * 0.1, (time + 0.5) * 0.1] dbentry.put_slice(eq) eq = dbentry.get("equilibrium") assert np.ar...
Python
은 매우 적다. 신중히 시작 무기를 고르시기 바랍니다.</li> <li>F2를 눌러 장바구니를 만들거나, 저장하거나, 불러오거나, 삭제하거나, 기본 장바구니로 설정할 수 있다. 이렇게 장바구니로 등록한 후 구매하면 엄청나게 많은 시간을 절약하여 전략을 짤 수 있다.</li> <li>안전하다고 느껴지는 장소일수록 조심하세요. 좀비가 파놓은 함정에 걸릴 수도 있다.</li> <li>만약 팀을 위해 아무것도 하지 않는다면, 팀에게 당신은 아무런 쓸모없는 존재가 된다. 포인트를 얻지 않거나, 더 좋은 무기를 구매하지 않는다면, 팀은 물론이고 여러분 자신에게도 필요 없는 존재...
Lua
เราจัดส่งมาให้ท่านพร้อมกับตรวจสอบรายละเอียดคำสั่งซื้อจากเอกสารและใบเสร็จรับเงิน หากพบข้อผิดพลาดประการใด กรุณาแจ้งให้พนักงานของเราทราบทันที ฝ่ายบริการลูกค้าของเราจะทำงานอย่างเต็มที่เพื่อทำให้ท่านมั่นใจว่าปัญหาดังกล่าวจะได้รับการแก้ไขโดยท่านจะได้รับความไม่สะดวกน้อยที่สุดเท่าที่จะเป็นไปได้\u003c/p\u003e\r\n&quot;},{&quot;...
HTML
0029D09C 7D 89 03 A6 */ mtctr r12 /* 802A0160 0029D0A0 4E 80 04 21 */ bctrl /* 802A0164 0029D0A4 C0 C1 00 08 */ lfs f6, 8(r1) /* 802A0168 0029D0A8 C0 E1 00 10 */ lfs f7, 0x10(r1) /* 802A016C 0029D0AC EC 7F 30 28 */ fsubs f3, f31, f6 /* 802A0170 0029D0B0 C0 82 D9 F8 */ lfs f4, lbl_8051BD58@sda21(r2) /* 802A0174 0...
Assembly
e.CLEAR)); backgroundPaint = new Paint(Paint.ANTI_ALIAS_FLAG); } public void setText(String text, int current, int max) { currentText = text; currentTextSize = current; maxTextSize = max; } public void setColor(int index, int color) { if (colors == null) { ...
Java
-- WoWPro Guides by "The WoW-Pro Community" are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. -- Based on a work at https://github.com/Ludovicus-Maior/WoW-Pro-Guides . -- The license is available at https://github.com/Ludovicus-Maior/WoW-Pro-Guides/blob/main/License.md . l...
Lua
IMATE COMPILATION REITAISAI 15th"><img alt="SOUND VOLTEX×東方Project ULTIMATE COMPILATION REITAISAI 15th" src="https://upload.thwiki.cc/thumb/5/51/SOUND_VOLTEX%C3%97%E6%9D%B1%E6%96%B9Project_ULTIMATE_COMPILATION_REITAISAI_15th%E5%B0%81%E9%9D%A2.jpg/35px-SOUND_VOLTEX%C3%97%E6%9D%B1%E6%96%B9Project_ULTIMATE_COMPILATION_REI...
Markdown
,Cbt=function(i,a){return _Y(i,a)},iqt=(i,a)=>{sNe(()=>{const f=document.querySelectorAll(i);f.length!==0&&(f[0].addEventListener("mouseover",function(){pQe("actor"+a+"_popup")}),f[0].addEventListener("mouseout",function(){bQe("actor"+a+"_popup")}))})},fQe=function(i,a,f,g,w){if(a.links===void 0||a.links===null||Object...
JavaScript
abstract class MapCoordinatesHelper { static double getDistanceBetweenTwoCoordinates({ required LatLng firstLocation, required LatLng secondLocation, }) { return gl.Geolocator.distanceBetween( firstLocation.latitude, firstLocation.longitude, secondLocation.latitude, secondLocatio...
Dart
flags! { pub struct NSWindowStyleMask: NSUInteger { const NSBorderlessWindowMask = 0; const NSTitledWindowMask = 1 << 0; const NSClosableWindowMask = 1 << 1; const NSMiniaturizableWindowMask = 1 << 2; const NSResizableWindowMask = 1 << 3; ...
Rust
} \ ElError ElInfinityNormDistSparse_ ## SIG \ ( ElConstDistSparseMatrix_ ## SIG A, Base<F>* norm ) \ { EL_TRY( *norm = InfinityNorm( *CReflect(A) ) ) } \ ElError ElSymmetricInfinityNorm_ ## SIG \ ( ElUpperOrLower uplo, ElConstMatrix_ ## SIG A, Base<F>* norm ) \ { EL_TRY( *norm = SymmetricInfinityNorm( CRe...
C++
//Disable crossfade for the current queue. if (mApp.isServiceRunning() && mApp.getService().getHandler()!=null) { mApp.getService().getHandler().removeCallbacks(mApp.getService().startCrossFadeRunnable); mApp.getService().getHandler().removeCallbacks(mApp.getService().crossFadeRunnable); ...
Java
, 1900L), Pair.of(4, 2300L), Pair.of(1, 2600L), Pair.of(3, 2900L), Pair.of(4, 3300L), Pair.of(3, 3600L)); } @Override public List<Pair<Integer, Long>> getUnorderedOutput() { return Arrays.asList( Pair.of(2, 2L), Pair.of(4, 1L), // first window ...
Java
); Expect.equals(true, !other_map.containsValue(key2)); Expect.equals(true, other_map.containsKey(value1)); Expect.equals(true, other_map.containsKey(value2)); Expect.equals(true, other_map.containsValue(value1)); Expect.equals(true, other_map.containsValue(value2)); Expect.equals(2, other...
Dart
Angular to create new * controllers. * * This provider allows controller registration via the * {@link ng.$controllerProvider#register register} method. */ function $ControllerProvider() { var controllers = {}, CNTRL_REG = /^(\S+)(\s+as\s+(\w+))?$/; /** * @ngdoc method * @name $controllerProvide...
JavaScript
-shadow); } } .joe_card__describe { position: relative; border: 1px dashed var(--classA); line-height: 26px; &-title { position: absolute; top: 0; left: 8px; transform: translateY(-50%); background: var(--background); padding: 0 5px; color: var(--main); font-weight: 500; ...
CSS
lect(); new_tup.swap(0, 1); // so it's in the right order new_tup.insert(1, vm.ctx.new_str(sub)); } else { new_tup.push(vm.ctx.new_str(value)); new_tup.push(vm.ctx.new_str("".to_string())); new_tup.push(vm.ctx.new_str("".to_string())); } Ok(vm.ctx.new_tuple(new_tup)) ...
Rust
reviewInfoDo.UseTable(newTableName) return r.updateTableName(newTableName) } func (r reviewInfo) As(alias string) *reviewInfo { r.reviewInfoDo.DO = *(r.reviewInfoDo.As(alias).(*gen.DO)) return r.updateTableName(alias) } func (r *reviewInfo) updateTableName(table string) *reviewInfo { r.ALL = field.NewAsterisk(tab...
Go
serts' local test_runner = require 'testing.test_runner' local cifar10 = require 'datasets.cifar10' local tests = {} function tests.cifar10Train() local ds = cifar10{} asserts.EQ(50000, ds:getSize()) local image1 = ds:getImage(1) asserts.tablesEQ({32, 32, 3}, image1:shape()) local imageLast = ds:getImage(d...
Lua
স্ত রিসোর্স [লেকচার ১৭](../../resources/lecture-17/README.md) এ পাবেন। ## Source Code এই লেকচারের সোর্স কোডসমূহ এই [লিংক](../../src/raffle-draw/) এ পাবেন। ## AUTHOR [Aditya Chakraborty](https://github.com/adityackr) # Lecture 36 - React Functional Component, Props and State %[https://youtu.be/4X1GkVnoECY] ## Intr...
Markdown
en to "validated-db-config.json" **env.schema.json** ```json { "$schema": "http://json-schema.org/draft-04/schema#", "type": "object", "properties": { "host": { "type": "string", "format": "hostname" }, "port": { "type": "integer", "minimum": 1, "maximum": 65535 }, ...
Markdown
tructor warnings. factory Plugin._() { throw new UnsupportedError("Not supported"); } String? get description native; String? get filename native; int? get length native; String? get name native; MimeType? item(int index) native; MimeType? namedItem(String name) native; } // Copyright (c) 2012...
Dart
ASE("Test lightning qubit manager batched allocate and release", "[Utils]") { QubitManager<QubitIdType, size_t> manager{}; std::vector<size_t> device_qubit_ids = {0, 1, 2, 3}; size_t start_device_qubit = device_qubit_ids[0]; size_t num_qubits = device_qubit_ids.size(); std::vector<QubitId...
C++
view-menu{background:#f4f4f5}.skin-purple-light .sidebar a{color:#444}.skin-purple-light .sidebar a:hover{text-decoration:none}.skin-purple-light .treeview-menu>li>a{color:#777}.skin-purple-light .treeview-menu>li.active>a,.skin-purple-light .treeview-menu>li>a:hover{color:#000}.skin-purple-light .treeview-menu>li.acti...
CSS
Pr><m:t>-</m:t></m:r><m:r><m:t>1.03</m:t></m:r>'><var class="value" data-value="[-1.05 -1.03 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ... 0]"><span class="vec">⃗</span>θ</var><sub>bwE</sub><sub>.2</sub> = <span class="cond">$Root</span>{<var>f</var> (<var>θ</var>)  = 0; <var>θ</var> ∈ [-2·<var>π</var>; ...
HTML
// nLayer = 1,2,3 nLayer = m_header.layer(); aff_properties.put("mp3.version.layer", Integer.toString(nLayer)); // nSFIndex = m_header.sample_frequency(); nMode = m_header.mode(); aff_properties.put("mp3.mode", new Integer(nMode)); nChannels = nMode == 3 ? 1 : 2; aff_properties.put("mp3.channels", ...
Java
xmm2 movdqu %xmm7,112(%rdi) leaq 128(%rdi),%rdi movdqu 48(%rsi),%xmm7 pxor 32(%rsp),%xmm6 pxor %xmm10,%xmm11 pxor %xmm14,%xmm2 pxor %xmm8,%xmm7 movdqu %xmm6,0(%rdi) movdqu %xmm11,16(%rdi) movdqu %xmm2,32(%rdi) movdqu %xmm7,48(%rdi) je .Ldone4x movdqa 48(%rsp),%xmm6 leaq 64(%rsi),%rsi xorq %r10,%r10 mov...
Assembly
ze: 14px; vertical-align: middle; height: auto; } #publish-settings { height: 31px; } #customize-control-changeset_status .customize-inside-control-row { padding-top: 15px; } body.adding-widget div#available-widgets, body.adding-menu-items div#available-menu-items, body.outer-section-open div#customi...
CSS
ocksdb_plugin(); static void copy_or_move_dir(const char *from, const char *to, bool copy, bool allow_hardlinks); static void rocksdb_backup_checkpoint(); static void rocksdb_copy_back(); static bool is_abs_path(const char *path) { #ifdef _WIN32 return path[0] && path[1] == ':' && (path[2] == '/' || path[2] == '\\');...
C++
HBInfo.vkComponentSwizzleAlpha = bufferFormatProperties.samplerYcbcrConversionComponents.a; yCbCrAHBInfo.vkXChromaOffset = bufferFormatProperties.suggestedXChromaOffset; yCbCrAHBInfo.vkYChromaOffset = bufferFormatProperties.suggestedYChromaOffset; uint32_t formatFeatures = bufferFor...
C++
)?.toHashSet()?.let { it.addAll(groups.splitNotBlank(AppPattern.splitGroupRegex)) sourceGroup = TextUtils.join(",", it) } if (sourceGroup.isNullOrBlank()) sourceGroup = groups return this } fun removeGroup(groups: String): RssSource { sourceGroup?.splitNo...
Kotlin
// C program to implement interpolation search #include<stdio.h> // If x is present in arr[0..n-1], then returns // index of it, else returns -1. int interpolationSearch(int arr[], int n, int x) { // Find indexes of two corners int lo = 0, hi = (n - 1); // Since array is sorted, an element pr...
C
01d1', i:400, name:'LATIN CAPITAL LETTER O WITH CARON', cat:c.Lu, relatives:['004f', '030c'], comp:['004f','030c'], canon:k._0, block:b[3], indexed:["O"]}, '01d2':{ u:'01d2', i:401, name:'LATIN SMALL LETTER O WITH CARON', cat:c.Ll, relatives:['006f', '030c'], comp:['006f','030c'], canon:k._0, block:b[3], indexed:[...
JavaScript
><P >timetable_days_forward</P ><P >Określa ilość dni (łącznie z bieżącym) jaka ma być wyświetlana w terminarzu. Domyślnie: 7.</P ><P >Przykład: <SAMP CLASS="PROMPT" >timetable_days_forward = 2</SAMP ></P ></LI ><LI ><P >arpd_servers</P ><P >Lista serwerów arpd do sczytywania MAC'adresów z odległych s...
HTML
ide void update(void Function(ChatIsTypingBuilder)? updates) { if (updates != null) updates(this); } @override _$ChatIsTyping build() { final _$result = _$v ?? new _$ChatIsTyping._( userId: BuiltValueNullFieldError.checkNotNull( userId, 'ChatIsTyping', 'userId'), ...
Dart
' anchor='start-of-day'/>" + " <computed-bucket name='D2' ge='-P2D' lt='-P1D' anchor='start-of-day'/>" + " <computed-bucket name='D1' ge='-P1D' lt='P0D' anchor='start-of-day'/>" + " <computed-bucket name='D0' ge='P0D' lt='P1D' anchor='start-of-day'/>" + " </range>" + " </constrai...
Java
e_info() { GenCollectorPolicy::initialize_size_info(); // At this point the minimum, initial and maximum sizes // of the overall heap and of gen0 have been determined. // The maximum gen1 size can be determined from the maximum gen0 // and maximum heap size since no explicit flags exits // for setting the ...
C++
/* * Copyright (C) 2010-2013 Groupement d'Intérêt Public pour l'Education Numérique en Afrique (GIP ENA) * * This file is part of Open-Sankoré. * * Open-Sankoré 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 Found...
C
AllEnable bool `json:"AllEnable,omitempty"` CheckSyntax bool `json:"CheckSyntax,omitempty"` CheckNoDefine bool `json:"CheckNoDefine,omitempty"` CheckAfterDefine bool `json:"CheckAfterDefine,omitempty"` CheckLocalNoUse bool `json:"...
Go
AppliedForce( const std::string &_physicsEngine) { // Explicit joint damping in bullet is causing this test to fail. if (_physicsEngine == "bullet") { gzerr << "Aborting test for bullet, see issue #619.\n"; return; } // Load our force torque test world Load("worlds/force_torque_test2.world", true...
C++
www.scalar.com",target:"_blank"}," Powered By Scalar.com ",-1)),ei(Zbe,{art:Br(" .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||...
JavaScript
links"><a rel="nofollow" class="external text" href="https://cd.thwiki.cc?arrange=ayashiy&amp;ogmusic=さくらさくら ~ Japanize Dream...&amp;fromwiki=Psychomachy"><span title="搜索相似同人曲"></span></a></span></td><td class="time">-</td></tr><tr><td class="left"></td><td class="label">编曲</td><td class="text" colspan="2"><a href="/in...
Markdown
s): client = AsyncClient(llama_7b_url, hf_headers) responses = [ response async for response in client.generate_stream("test", max_new_tokens=1) ] assert len(responses) == 1 response = responses[0] assert response.generated_text == "_" assert response.details.finish_reason == Finis...
Python
# RUN: llvm-mc -triple x86_64 -show-encoding -x86-asm-syntax=intel -output-asm-variant=1 %s | FileCheck %s # CHECK: {evex} shr bl, 123 # CHECK: encoding: [0x62,0xf4,0x7c,0x08,0xc0,0xeb,0x7b] {evex} shr bl, 123 # CHECK: {nf} shr bl, 123 # CHECK: encoding: [0x62,0xf4,0x7c,0x0c,0xc0,0xeb,0x7b] {nf} shr ...
Assembly
in) if err != nil { return nil, fmt.Errorf("failed to get don infos: %w", err) } // all the subsequent calls to the registry are in terms of nodes // compute the mapping of dons to their nodes for reuse in various registry calls donToNodes, err := MapDonsToNodes(donInfos, true, req.RegistryChainSel) if err != ...
Go
int, (e)[2] as int), ) .toList(); return result; } catch (e, st) { Logger.error( '[API-record] E: $e\n' '$st', ); return 900; } } static Future<dynamic> recordU([ int offset = 0, int count = 10, int limit = 0, ]) async { final ...
Dart
:none;box-shadow:none;border-radius:5px}.alertify .ajs-header{padding:1.5rem 2rem;border-bottom:none;border-radius:5px 5px 0 0;color:#555;background-color:#fff;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:1.6em;font-weight:700}.alertify .ajs-body{font-family:Roboto,sans-serif;color:#555}.alertify ....
CSS
rse the url and never /// manually format it. final String? editUrl; /// Name of user who last edited this post. final String? lastEditUsername; /// Time of last edited. final String? lastEditTime; /// Url to share this floor final String? shareLink; /// Brief user profile of current post. /// ...
Dart
Format32bppArgb) uIImage.MakeTransparent(); canvas.DrawImage(uIImage, new Point((64 - uIImage.Width) / 2, (64 - uIImage.Height) / 2)); canvas.Dispose(); PaintBox.Invalidate(); size = Math.Max(bitmap.Width, bitmap.He...
C#
local AceGUI = LibStub("AceGUI-3.0") -------------------------- -- Heading -- -------------------------- do local Type = "Heading" local Version = 5 local function OnAcquire(self) self:SetText("") self:SetFullWidth() self:SetHeight(18) end local function OnRelease(self) self.frame:ClearAllPoints(...
Lua
q4.set(D); pushQuad(); }else{ //draw last link on path A.set(points[0], points[1]); preparePointyJoin(B, C, A, D, E, halfWidth); q3.set(D); q4.set(E); pushQuad(); //draw connection back to first vertex ...
Java
ger>.disabled>a:active,.pagination>.disabled>span:active,.pager>.disabled>span:active{top:0;border-width:0 1px 4px 1px}.pager>li>a,.pager>li>span,.pager>.disabled>a,.pager>.disabled>span,.pager>li>a:hover,.pager>li>span:hover,.pager>.disabled>a:hover,.pager>.disabled>span:hover,.pager>li>a:active,.pager>li>span:active,...
CSS
ing>>() { private static final long serialVersionUID = -1; /*    蓬 芮 冲 辅 禽 心 柱 任 英 ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ 坎一宫→ 相 休 废 废 休 旺 旺 休 囚 坤二宫→ 囚 相 休 休 相 废 废 相 旺 震三宫→ 旺 囚 相 相 囚 休 休 囚 废 巽四宫→ 旺 囚 相 ...
Java
-sans-serif, system-ui; color: hsl(var(--foreground)); } .dark .glass-effect { background-color: rgba(17, 25, 40, 0.75); border: 1px solid rgba(255, 255, 255, 0.125); } .dark .finrisk-card { --tw-border-opacity: 1; border-color: rgb(55 65 81 / var(--tw-border-opacity, 1)); --tw-bg-opacity: 1; backgr...
CSS
class="r2"><td>6616</td><td>ANSCC</td><td>5036</td></tr> <tr class="r1"><td>6617</td><td>ckblk</td><td>5036</td></tr> <tr class="r2"><td>6618</td><td>ANRDF</td><td>5036</td></tr> <tr class="r1"><td>6619</td><td>AMSN</td><td>5036</td></tr> <tr class="r2"><td>6620</td><td>AMSDPF</td><td>5036</td></tr> <tr class="r1"><td...
HTML
0 ldmia sp!, {r4, r5, r6, r7, r8, pc} _02245ACC: ldr r0, [r4, #8] cmp r0, #0 bge _02245AEC ldr r0, _02245CB4 ; =ov45_022555CC ldr r1, _02245C64 ; =ov45_02255468 ldr r2, _02245C68 ; =ov45_022553C8 ldr r3, _02245CB8 ; =0x00000301 bl __msl_assertion_failed _02245AEC: ldr r0, [r4, #0xc] cmp r0, #0 moveq r0, #0 ...
Assembly