content
stringlengths
2
6.21k
label
stringclasses
16 values
)addUser:(User *)user; - (void)sendMessage:(NSString *)message fromUser:(User *)user; @end //================== ChatMediator.m ================== @implementation ChatMediator { NSMutableArray <User *>*_userList; } - (instancetype)init{ self = [super init]; if (self) { _userList = [N...
Markdown
on.Arguments.Add(new InjectServiceProviderNode(sp, on)); } } } return node; } class InjectServiceProviderNode : XamlAstNode, IXamlAstValueNode,IXamlAstNodeNeedsParentStack, IXamlAstEmitableNode<IXamlILEmitter, XamlILNodeEmitResult...
C#
{ let e = w.explain(reader, doc)?; max_coord += 1; if e.is_match() { sum += e.value(); coord += 1; match_count += 1; should_match_count += 1; subs.push(e); } } if fail { ...
Rust
let (t_h, t_l) = high_low(3. + s2 + r); /* u+v = s*(1+...) */ let u = s_h * t_h; let v = s_l * t_h + t_l * s; /* 2/(3log2)*(s+...) */ let (p_h, p_l) = high_low(u + v); let z_h = CP_H * p_h; /* cp_h+cp_l = 2/(3*log2) */ let z_l = CP_L * p_h + p_l * CP + DP...
Rust
5SYtDYpS4UJFYVBiSdQihqTdFHKUiEeUoOSEk8AZcWgxvovyFIhVrXjud6vuCpVkSTnJKm8inI3laTC7tK5p1VUsxUWjZkbd7KmpQzVklTobZM98spN0gr/ArzRa2k/hVUAVgFYBWAVgFUAVgFYBWAVgFUAVgFYBWAVgFUAVgFYBWAVYPTtEEU5LpGXOjs7b1yFt5s/r814Wp8CqwCsArAKwCoAqwCsArAKwCoAqwCsArAKwCoAqwCsArAKwCoAqwCsArAKwCoAqwCsArAKwCoAqwCsArAKwCoAqwCsArAKwCoAqwCb7excD+NpHa7z5...
HTML
; fullMatch: string; params: Map<string, string[] | string | undefined>; } /** * Matches the URL pathname against a string pattern using path-to-regexp. * * @param {string} pathname * @param {string} pattern * @return {PathMatch?} */ export function matchPathPattern(pathname: string, pattern:...
Typescript
и шелкового песка", [14420] = "Накидка шелкового песка", [14421] = "Венец шелкового песка", [14422] = "Перчатки шелкового песка", [14423] = "Оплечье шелкового песка", [14424] = "Бриджи шелкового песка", [14425] = "Убор шелкового песка", [14426] = "Ремень шелкового песка", [14427] = "Блуза преследующего ветер", [14428] ...
Lua
20 [(.fix.enum_value) = "20", (.fix.enum_added) = VERSION_FIX_4_3];</code> */ NESTED_PARTY_ROLE_UNDERLYING_CONTRA_FIRM(20), /** * <code>NESTED_PARTY_ROLE_AGENT = 21 [(.fix.enum_value) = "30", (.fix.enum_added) = VERSION_FIX_4_4];</code> */ NESTED_PARTY_ROLE_AGENT(21), /** * <code>NESTED_PARTY_ROLE_...
Java
any::TypeId, hash::Hash}; let mut hasher = ComponentTypeIdHasher::default(); let type_id = TypeId::of::<T>(); type_id.hash(&mut hasher); assert_eq!(hasher.finish(), unsafe { core::mem::transmute::<TypeId, u64>(type_id) }); } verify::<usize>(); verify::<(...
Rust
egral(true, "0b", &self.to_str_radix(2)) } } impl fmt::Octal for BigUint { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.pad_integral(true, "0o", &self.to_str_radix(8)) } } impl FromStr for BigUint { type Err = ParseBigIntError; #[inline] fn from_str(s: &str) -> Result<...
Rust
mdl-mini-footer--left-section, .mdl-mini-footer__left-section{ -webkit-order:0; -ms-flex-order:0; -webkit-box-ordinal-group:1; display:inline-block; order:0; } .mdl-mini-footer--right-section, .mdl-mini-footer__right-section{ -webkit-order:1; -ms-flex-order:1; -webkit-box-ordinal-group:2; disp...
CSS
msg, obj); } public static newErrorIntervalUnionDatabase(obj, a, b) { let msg = "Intervalo em conflito com o banco de dados. {start:'" + a.start + "',end:'" + a.end + "'} , {start:'" + b.start + "',end:'" + b.end + "'}."; return new ApplicationError(ErrorCodEnum.INVALID_INTERVAL, msg, obj); ...
Typescript
router.HandleFunc("/remove/{name:.+}", s.RemoveHttpHandler) router.HandleFunc("/vote", s.VoteHttpHandler) router.HandleFunc("/log", s.GetLogHttpHandler) router.HandleFunc("/log/append", s.AppendEntriesHttpHandler) router.HandleFunc("/snapshot", s.SnapshotHttpHandler) router.HandleFunc("/snapshotRecovery", s.Snaps...
Go
outube { background-image:url(../images/media-youtube.png); } .elrte-media-vimeo { background-image:url(../images/media-vimeo.png); } .elrte-media-rutube { background-image:url(../images/media-rutube.png); } .elrte-media-quicktime { background-image:url(../images...
CSS
lections::HashMap; use std::env; use std::fmt; use std::fs; #[derive(Debug)] struct MostCommonWord { value: String, occurrence: u32, } impl fmt::Display for MostCommonWord { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { write!( f, "\"{}\" is the most common wor...
Rust
return ObjectWithBitInclude._(); } static ObjectWithBitIncludeList includeList({ _i1.WhereExpressionBuilder<ObjectWithBitTable>? where, int? limit, int? offset, _i1.OrderByBuilder<ObjectWithBitTable>? orderBy, bool orderDescending = false, _i1.OrderByListBuilder<ObjectWithBitTable>? orderB...
Dart
216, "file-cloud": F217, "file-delimited": F218, "file-document": F219, "file-document-box": F21A, "file-excel": F21B, "file-excel-box": F21C, "file-export": F21D, "file-find": F21E, "file-hidden": F613, "file-image": F21F, "file-import": F220, "file-lock": F221, "fil...
CSS
,社员就会注意节约用粮,先吃个人的,后吃国家的,减少国家供应量。 </p> <p> (3)去年收入很少,无力实行供给制的地方,除对无依无靠、失去劳动力的鳏寡孤独和残疾社员实行五保之外,可以对劳动力少人口多的困难户实行粮食定额补助,避免重新出现过去高级社分配中历来纠缠不清的“超支户”和“分空户”的问题。 </p> <p> (4)有些管理区生产和收入水平较高,自己的留量已够全年吃用,对于供给部分,虽然略微超过了占分配部分的百分之三十到四十,但社员现金收入仍然较多,经过充分讨论,加果社员同意坚持全年实行伙食或粮食供给制者,也应当允许。 </p> <p> (5)不论实行伙食供给或粮食供给制,今后都应...
HTML
법은 지정학적 긴장을 악화시키고 국내 계산 생산자에 대한 경제적 인센티브를 강화하고 영향을 받는 지역에서 잠재적으로 유리한 적용을 억제하며 계산 접근이 있는 국가 및 조직 간의 권력을 집중화하는 것과 같은 단점이 있다. *섹션 4**에서 광범위한 기술 거부의 이러한 단점을 조사하고 이러한 전략에 대한 보다 세련된 대안에 대한 추가 연구를 옹호한다.\n' + '\n' + '행정명령에서의 전산기반 보고\n' + '\n' + '2023년 10월 30일 발행된 바이든-해리스 행정부의 행정 명령 14110은 "인공지능의 안전하고 안전...
HTML
); bzIter(10); bzIter(11); bzIter(12); bzIter(13); bzIter(14); bzIter(15); bzIter(16); bzIter(17); bzIter(18); bzIter(19); bzIter(20); bzIter(21); bzIter(22); bzIter(23); ...
Dart
5099-6312-41cd-bb95-a095e693d639_1p_http, 423928bc-8f2f-41d9-bdee-6794dbb0889a_1p_http result, different session: 24838cb8-be29-41c3-bc71-8b823b7bae45_1p_http, a0384e08-f9fa-46be-ae58-9f3062d23ec1_1p_http, 67fcc54f-82f3-428e-9ad9-d6b351d8c7e1_1p_http, 79ee5099-6312-41cd-bb95-a095e693d639_1p_http, 423928bc-8f2f-41d9-b...
HTML
// Copyright(C) 2024 anyteq development s.r.o. // // This file is part of SLS4All project (sls4all.com) and is made available // under the terms of the License Agreement as described in the LICENSE.txt // file located in the root directory of the repository. using Microsoft.Extensions.Logging; using System; using Sy...
C#
' inkscape:showpageshadow='false' inkscape:snap-nodes='false' inkscape:bbox-nodes='true' inkscape:snap-bbox-edge-midpoints='false' inkscape:snap-global='false' inkscape:pagecheckerboard='0' inkscape:deskcolor='%23d1d1d1'%3E%3Cinkscape:grid type='xygrid' id='grid4436' empspacing='5' visible='true' enabled='true' snapvis...
CSS
e >> 8; p += step; } return bytes; } private byte[] short2bytes(short value, ByteOrder order) { int nbytes = 2, smallHead, step; if (order == ByteOrder.BIG_ENDIAN) { smallHead = nbytes - 1; step = -1; } else { smallHead = 0...
Java
1.p9.4" class="ltx_p">We can, however, construct a simple example of an entangled chain in the following way. Let <math id="S1.p9.1.m1.1" class="ltx_Math" alttext="w_{0}" display="inline"><semantics id="S1.p9.1.m1.1a"><msub id="S1.p9.1.m1.1.1" xref="S1.p9.1.m1.1.1.cmml"><mi id="S1.p9.1.m1.1.1.2" xref="S1.p9.1.m1.1.1.2....
HTML
yRate.coinToFiat(coin) } } fun resetSelectedDenomination() { _giftCardPaymentValue.value = Fiat.valueOf(Constants.USD_CURRENCY, 0) } fun logEvent(eventName: String) { analytics.logEvent(eventName, mapOf()) } suspend fun checkToken(): Boolean { return try { ...
Kotlin
/* * This file is part of the coreboot project. * * Copyright (C) 2008-2009 coresystems GmbH * Copyright (C) 2014 Google Inc. * Copyright (C) 2015 Intel Corporation. * * 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 *...
C
if !isVariableExpr { return nil, ErrParameterEmpty } keypath := strings.TrimSpace(trimmed[2 : len(trimmed)-1]) if len(keypath) == 0 { return nil, ErrParameterEmpty } val, err := vars.Get(keypath) if err != nil { return nil, err } else if as, is := val.(error); is { return nil, errors.Wrapf(Er...
Go
end --> <!-- rnb-source-begin eyJkYXRhIjoiYGBgclxuc3VtbWFyeShUQ0dBX0dhcEp1bmN0aW9uX21lYW4kVENHQV9HYXBKdW5jdGlvbl9tZWFuKVxuYGBgIn0= --> <pre class="r"><code>summary(TCGA_GapJunction_mean$TCGA_GapJunction_mean)</code></pre> <!-- rnb-source-end --> <!-- rnb-output-begin eyJkYXRhIjoiICAgTWluLiAxc3QgUXUuICBNZWRpYW4gICAgTWVh...
HTML
ng?>() df1["sleep_total"].type() shouldBe typeOf<Double>() df1["sleep_rem"].type() shouldBe typeOf<Double?>() df1["sleep_cycle"].type() shouldBe typeOf<Double?>() df1["awake"].type() shouldBe typeOf<Double>() df1["brainwt"].type() shouldBe typeOf<Double?>() df1["bodywt"]....
Kotlin
/Statue.tsb" BIN TSC_Stream "res/tsc/fi/Stage/Stream.tsb" BIN TSC_Weed "res/tsc/fi/Stage/Weed.tsb" BIN TSC_WeedB "res/tsc/fi/Stage/WeedB.tsb" BIN TSC_WeedD "res/tsc/fi/Stage/WeedD.tsb" BIN TSC_WeedS "res/tsc/fi/Stage/WeedS.tsb" # Tilesets BIN UFTC_Title "res/tiles_loc/title_fi.uftc" BIN UFTC_MenuText "res/tiles_loc/m...
Assembly
'13', '', '0', '0', '0', '3', '2', '4', '', '201100203', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'201100204', '', '201100205', '2011002', '阵地弦乐', '1', '2', '2', '', 'cast1', '4', '装备展开,为我方全体提供【音律盾】;\n【音律盾】:护盾值为琶音耐久上限15%,拥有音律盾保护单位回合开始时额外获得5NP', '...
Lua
Direction.rad val walkDir = Vec2f(-axes.leftRight, axes.forwardBackward) if (walkDir.length() > 0f) { head += atan2(walkDir.x, walkDir.y) } head = (head + PI_F * 2f) % (PI_F * 2f) val current = moveHeading.rad if (abs(current - head) > PI_F) { if ...
Kotlin
MsgType.imGift) message.setAttribute(IMConstants.Common.msgAttrGift, giftStr) sendMessage(message) } /** * 发送消息统一收口 */ private fun sendMessage(message: EMMessage) { message.chatType = IMChatManager.wrapChatType(chatType) IMChatManager.sendMessage(message) ...
Kotlin
// Estimote Fleet Management SDK // Copyright © 2015 Estimote. All rights reserved. #import <Foundation/Foundation.h> #import "ESTTelemetryNotificationProtocol.h" #import "ESTTelemetryInfoPressure.h" NS_ASSUME_NONNULL_BEGIN typedef void (^ESTTelemetryNotificationPressureNotificationBlock)(ESTTelemetryInfoPressure ...
C
} val javaTime = async(DISPATCHER) { measureNanoTime { repeat(iterations) { random.nextBytes(bytes) javaEncodeDecode(bytes) } } } assertWithMessage( "Arcs implementation should be no more than 0.02ms per cycle slower Java's on average" ).that(...
Kotlin
(event.keyCode==9){ event.preventDefault(); } } insertTab(event){ if(event.keyCode==9){ var start = event.target.selectionStart; var end = event.target.selectionEnd; event.target.value = (event.target.value.substring(0, start) + " "+ event.targe...
Typescript
the same region, // then use the center as the seed point. if (empty) seedArrayWithPolyCenter(ctx, chf, poly, npoly, verts, bs, hp, queue); static const int RETRACT_SIZE = 256; int head = 0; // We assume the seed is centered in the polygon, so a BFS to collect // height data will ensure we do not move onto...
C++
XP style navigation bar component. Delphi eXperience DotNet (renamed to Jv DotNet Controls) is a set of standard controls with a visual look similar to the hot tracking style of the VS.Net components. This package includes standard as well as DB enabled controls.</li> </ul> <p><...
HTML
*/ @Suspendable override fun call(): SignedTransaction { // Obtain a reference to the notary we want to use. val notary = serviceHub.networkMapCache.notaryIdentities[0] // Stage 1. progressTracker.currentStep = GENERATING_TRANSACTION // Generate an unsigned transaction. ...
Kotlin
strings.TrimSpace(out) c.Assert(err, check.Not(check.IsNil), check.Commentf("Output: %s", out)) } // tests regression detailed in #13964 where DOCKER_TLS_VERIFY env is ignored func (s *DockerDaemonSuite) TestDaemonNoTlsCliTlsVerifyWithEnv(c *check.C) { host := "tcp://localhost:4271" c.Assert(s.d.Start("--region", ...
Go
": "https://api.github.com/users/rengapraveenx/repos", "events_url": "https://api.github.com/users/rengapraveenx/events{/privacy}", "received_events_url": "https://api.github.com/users/rengapraveenx/received_events", "type": "User", "user_view_type": "public", "site_admin": false, "contr...
Dart
//------------------------------------------------------------------------------ // GrB_Descriptor_new: create a new descriptor //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2025, All Rights Reserved. // SPDX-License-Identifier: Ap...
C
blic HltbChartStatsSettings(HowLongToBeat plugin) { InitializeComponent(); this.plugin = plugin; this.DataContext = PluginDatabase.PluginSettings; PART_CbType.ItemsSource = new List<CbType> { new CbType { Id = ChartStatsType.month, ...
C#
alf("The zero matrix should have rank 0, instead got: %d", mat.computeRank()) } r := rand.New(rand.NewSource(0)) h := [32]byte{} r.Read(h[:]) hash := externalapi.NewDomainHashFromByteArray(&h) mat = *generateMatrix(hash) if mat.computeRank() != 64 { t.Fatalf("generateMatrix() should always return full rank m...
Go
""" Example uses Open Library Books API (https://openlibrary.org/dev/docs/api/books) """ import requests from json_to_models.generator import MetadataGenerator from json_to_models.models.attr import AttrsModelCodeGenerator from json_to_models.models.base import generate_code from json_to_models.models.structure import...
Python
.imgName = this.imgArr[this.currentIndex]; this.currentIndex++; } else { this.currentIndex = 0; } } playImgFun() { this.slideshow = setInterval(() => { this.nextImgFun(); }, 1000); } pauseImgFun() { clearInterval(this.slideshow); } } /** * 存档 和 读档 */ import Arch...
Typescript
-> RsBinaryOpStub.Type "EXPR_STMT" -> RsExprStmtStub.Type "LET_DECL" -> RsLetDeclStub.Type "EMPTY_STMT" -> RsEmptyStmtType "ARRAY_EXPR" -> RsExprStubType("ARRAY_EXPR", ::RsArrayExprImpl) "BINARY_EXPR" -> RsExprStubType("BINARY_EXPR", ::RsBinaryExprImpl) "BLOCK_EXPR" -> RsBlockExprStub.Type ...
Kotlin
ng{display:inline-block;margin-top:3px}.rst-content table.field-list .field-name{padding-right:10px;text-align:left;white-space:nowrap}.rst-content table.field-list .field-body{text-align:left;padding-left:0}.rst-content tt{color:#000}.rst-content tt big,.rst-content tt em{font-size:100% !important;line-height:normal}....
CSS
entation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". </p> </body> </html> <html> <head> <title> 反对个人崇拜—...
HTML
ий с датчиков цвета для линии function GetRefNormValColorS(lineColorS: number, needAdapt: boolean = false, isGray: boolean = false): number { let rawRefValColorS = 0, blackValColorS = 0, whiteValColorS = 0; if (lineColorS == 2) { if (!isGray) rawRefValColorS = sensors.color2.light(LightIntensityMode.Ref...
Typescript
ldp x19, x20, [sp, #16] 4619cc: a9407bfd ldp x29, x30, [sp] 4619d0: 911b43ff add sp, sp, #0x6d0 4619d4: d65f03c0 ret 4619d8: 52800101 mov w1, #0x8 // #8 4619dc: 393c6281 strb w1, [x20, #3864] 4619e0: 39000401 strb w1, [x0, #1] 4619e4: 39000801 strb w1, [x0, #2] 4619e8: 39000c0...
Assembly
Metric> metrics = path.computeMetrics(forceClosed: true).toList(); expect(metrics.length, 1); expect(metrics[0].length, within(distance: kTolerance, from: 430.277)); }); test('2 subpaths', () { final Path path = Path(); path.moveTo(100.0, 50.0); path.lineTo(200.0, 100.0); pa...
Dart
&15](m,B,u),u=AWe(m)|0,bf(m),qh(d),I=A,u|0}function uWe(o,l){o=o|0,l=l|0}function fWe(o,l,u){o=o|0,l=l|0,u=u|0,pWe(o,u)}function AWe(o){return o=o|0,Ls(o)|0}function pWe(o,l){o=o|0,l=l|0;var u=0,A=0,d=0;d=I,I=I+16|0,u=d,A=l,A&1?(hWe(u,0),Me(A|0,u|0)|0,gWe(o,u),dWe(u)):n[o>>2]=n[l>>2],I=d}function hWe(o,l){o=o|0,l=l|0,b...
JavaScript
color: #69a8bb; } /* Admin Menu */ #adminmenuback, #adminmenuwrap, #adminmenu { background: #363b3f; } #adminmenu a { color: #fff; } #adminmenu div.wp-menu-image:before { color: hsl(206.6666666667, 7%, 95%); } #adminmenu a:hover, #adminmenu li.menu-top:hover, #adminmenu li.opensub > a.menu-top, #adminmenu li ...
CSS
! has_spikes < Linestring, closed >::apply(linestring, visitor, strategy.get_side_strategy()); } }; }} // namespace detail::is_valid #endif // DOXYGEN_NO_DETAIL #ifndef DOXYGEN_NO_DISPATCH namespace dispatch { // A ...
C++
agentWaypointsPath.AddWaypoint(newWaypointInstance, null); } /// <inheritdoc/> void IAddElementsHandler.AddingCancelled(Vector3 addPosition) { if (newWaypointInstance.CanBeRemoved) { newWaypointInstance.RemoveFromMap(); new...
C#
PCAP作为接口,直接与网卡进行数据报文交换。在网络封包和流量分析领域有着十分强大功能的工具,深受各类网络工程师和网络分析师的喜爱。 本文主要内容包括: > * 1、Wireshark主界面介绍。 > > * 2、WireShark简单抓包示例。通过该例子学会怎么抓包以及如何简单查看分析数据包内容。 > > * 3、Wireshark过滤器使用。通过过滤器可以筛选出想要分析的内容。包括按照协议过滤、端口和主机名过滤、数据包内容过滤。 > 我们首先来介绍一下Wireshark这款软件。![图片](https://mmbiz.qpic.cn/mmbiz_jpg/1cZiaCeD3MkS...
Markdown
Tool()->sendMotion(QPointF(12 + margins.left(), 34 + margins.top())); tabletTool()->sendFrame(); }); QTRY_VERIFY(window.numEvents()); window.popEvent(); QCOMPOSITOR_TRY_VERIFY(tablet()); exec([&] { tabletTool()->sendButton(tabletButton, true); tabletTool()->sendFrame(); ...
C++
�ಂಬಂಧಿಸಿದ ಅಧಿಕೃತ ವರದಿ ನೀಡುವುದು." ], "contactInformation": { "website": "https://pmfby.gov.in/", "helpline": "18001801551" }, "visuals": { "iconSuggestion": "ಕೃಷಿ ರಕ್ಷಣೆಗಾಗಿ ಬೆಳೆಯುವ ಸಸ್ಯದ ಐಕಾನ್ ಬಳಸುವುದು." } }, { "schemeName": "ಕೇಂದ್ರ ಕ್ಷೇತ್ರ ಯೋಜನೆಯ ಪ್ರವ...
Dart
ESSARY_NOT_NULL_ASSERTION")] public var javafx.scene.Scene.onTouchStationary: javafx.event.EventHandler<in javafx.scene.input.TouchEvent?> get() = getOnTouchStationary()!! set(v) = setOnTouchStationary(v) [suppress("UNNECESSARY_NOT_NULL_ASSERTION")] public var javafx.scene.Scene.onInputMethodTextChanged: jav...
Kotlin
-width-baseline))}.bslib-value-box.default{--bslib-value-box-bg-default: var(--bs-card-bg, #fff);--bslib-value-box-border-color-default: var(--bs-card-border-color, rgba(0, 0, 0, 0.175));color:var(--bslib-value-box-color);background-color:var(--bslib-value-box-bg, var(--bslib-value-box-bg-default));border-color:var(--b...
CSS
class Solution: def subarraySum(self, nums: List[int], k: int) -> int: summ = 0 counter = { summ: 1 } count = 0 for x in nums: summ += x count += counter.get(summ - k, 0) counter[summ] = counter.get(summ, 0) + 1 return ...
Python
_WORKING_BOOST_SLEEP) boost::this_thread::sleep(boost::posix_time::microseconds(n)); #else //should never get here #error missing boost sleep implementation #endif } BOOST_AUTO_TEST_CASE(manythreads) { // Stress test: hundreds of microsecond-scheduled tasks, // serviced by 10 threads. // //...
C++
use box2d_rs::shapes::b2_edge_shape::*; use box2d_rs::shapes::b2_polygon_shape::*; use glium::backend::Facade; use std::cell::RefCell; use std::rc::Rc; // It is difficult to make a cantilever made of links completely rigid with weld joints. // You will have to use a high number of iterations to make them stiff. // So...
Rust
-- chunkname: @scripts/extension_systems/door_control_panel/door_control_panel_extension.lua local DoorControlPanelExtension = class("DoorControlPanelExtension") local STATES = table.enum("active", "inactive") DoorControlPanelExtension.init = function (self, extension_init_context, unit, extension_init_data, ...) s...
Lua
679245283,79.8679245283019} total_rows_processed | 53 </pre></li> <li>Correlation with grouping by day: <pre class="example"> \x off DROP TABLE IF EXISTS example_data_output, example_data_output_summary; SELECT madlib.correlation( 'example_data', 'example_data_output', ...
HTML
p .x-tip-top-right { background-image: url(../images/gray/qtip/tip-sprite.gif); } .x-tip .x-tip-ft { background-image: url(../images/gray/qtip/tip-sprite.gif); } .x-tip .x-tip-ft-left { background-image: url(../images/gray/qtip/tip-sprite.gif); } .x-tip .x-tip-ft-right { background-image: url(../images/gray/qtip/ti...
CSS
t, i, a, MM_PR0C_NR, D, dest, ct);</p> <p> 6830 er2 = write(r, buf, (int) ct);</p> <p> 6831 if (erl &lt; 0 |j er2 &lt; 0) {</p> <p> 6832 close(r);</p> <p> 6833 return;</p> <p> 6834 }</p> <p> 6835 a += ct;</p> <p> 6836 c -= ct;</p> <p> 6837 }</p> <p> 6838 }</p> ...
HTML
LIoK-w06-JxB5:hover, button._175B12uOwmeGBNcSaQFe-Z.qqQDu9j0LIoK-w06-JxB5:hover { background: #45acff; text-shadow: 1px 1px 1px #0281bb; box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2); } .BasicUI a._175B12uOwmeGBNcSaQFe-Z.qqQDu9j0LIoK-w06-JxB5._1ixhfnnWgdzGwSwNhUAitD, .BasicUI button._175B12uOwmeGBNcSaQFe-Z.qqQDu...
CSS
锋 position: 委员 des: 深圳市文鼎创数据科技有限公司研发工程师,负责公司物联网终端平台的开发,稳定性建设,容器化上云工作,擅长使用 GO、Java 开发分布式系统,持续关注分布式,云原生等前沿技术。 image: /images/user-group/shenzhen/liuxifeng.jpeg activities: videos: - image: https://pek3b.qingstor.com/kubesphere-community/images/meetup-shenzhen-20240420-cover.png link: https:...
Markdown
_time_played = 12; if (has_last_time_played()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToArray(12, this->last_time_played(), target); } // optional uint32 last_ip_address = 13; if (has_last_ip_address()) { target = ::google::protobuf::internal::WireFormatLite::WriteUInt32ToA...
C++
�须调整分配,有的因瞒田而降低了成份的也须重新订正。 </p> <p> 西南局一九五一年十二月六日 </p> <strong> 来源: </strong> <p> 根据文件的原件打印 </p> <p> <a href="index.htm"> [返回索引页面] </a> </p> <hr/> <p> <img src="../../../../GFDL-logo-small.png"/> <br/> Copyright (C) 2024 Marxist-Leninist-Maoist. <br/> Permission...
HTML
TEXT_ROW tax lda game_text_l,X sta OUTL lda game_text_h,X sta OUTH jsr move_and_print lda #$20 sta DRAW_PAGE rts game_text_l: .byte <text_m_duh,<text_m_buh,<text_m_fuh,<text_m_ques .byte <text_h_duh,<text_h_buh,<text_h_fuh,<text_h_ques game_text_h: .byte >text_m_duh,>text_m_buh,>text_m_fuh,>text_m_que...
Assembly
<summary> /// Type: Generic /// </summary> TheHuntersReach = 191679, /// <summary> /// Type: SpellFocus /// Trap: Big Bonfire Damage (ID: 179900, 179900) /// </summary> Bonfire_518 = 191700, /// <summary> /// Type: SpellFocus /// Trap: Bonfire Damage (ID: 2066, 2066) /// </summary> Bonfire_519...
C#
子表达了怎样的情感?<br>"今天在路上遇到一个摔倒的老奶奶,我赶紧去扶她起来。"| |开放式生成|请描述你最喜欢的餐厅的氛围和装修风格。| |关键词提取|请从以下文章中提取出关键词。<br> "智能手机市场份额排行榜公布,华为继续领跑。苹果则因近期供应链问题而下滑。"| |问答系统|请问如何制作一杯蓝莓冰沙?| |对话生成|请写一个趣味对话,让其中一方说出"你是个小天才"。| | 电影推荐 | 基于我的观影历史和偏好,你能否推荐一些我可能会喜欢的电影? ...
Markdown
, we don't have that field. bool isReferencedDatabaseView(ViewPB view, ViewPB? parentView) { if (parentView == null) { return false; } return view.layout.isDatabaseView && parentView.layout.isDatabaseView; } void moveViewCrossSpace( BuildContext context, ViewPB? toSpace, ViewPB view, ViewPB? parentVi...
Dart
${displayContent}</div> `; } else if (file.type.includes('image') || file.type.includes('audio') || file.type.includes('video') || file.type.includes('application/octet-stream') || isBinaryContent(content)) { // 二进制文件显示文件信息而不是内容 ...
JavaScript
argetIndependentPrimary : 1; // 0x00000080 UINT SyncLockIdentical : 1; // 0x00000100 UINT Hdr10Plus : 1; // 0x00000200 #endif // DXGKDDI_INTERFACE_VERSION_WDDM2_4 #if (DXGKDDI_INTERFACE_VERSION >= DXGKDDI_INTERFACE_VERSION_WDDM2_5) UINT DolbyVisionLowLatency...
C
rot); err != nil { return err } p.Request = _field return nil } func (p *EvalTargetServiceCreateEvalTargetArgs) Write(oprot thrift.TProtocol) (err error) { var fieldId int16 if err = oprot.WriteStructBegin("CreateEvalTarget_args"); err != nil { goto WriteStructBeginError } if p != nil { if err = p.writeFi...
Go
{position:absolute;top:0;right:0;bottom:0;left:0;padding:var(--bs-card-img-overlay-padding)}.card-img,.card-img-bottom,.card-img-top{width:100%}.card-group>.card{margin-bottom:var(--bs-card-group-margin)}@media (min-width:576px){.card-group{display:flex;flex-flow:row wrap}.card-group>.card{flex:1 0 0%;margin-bottom:0}....
CSS
NSAVED_DATA_DIALOG) } else { finish() } } } private fun observeStadiumName() { viewModel.stadiumNameState.asLiveData().observe(this) { state -> when (state) { is UiState.Success -> { val firstStadium = state...
Kotlin
"// Return true if all customers are from the given city\nfun Shop.checkAllCustomersAreFrom(city: City): Boolean = customers.all { it.city == city }\n\n// Return true if there is at least one customer from the given city\nfun Shop.hasCustomerFrom(city: City): Boolean = customers.any { it.city == city }\n\n// Ret...
Kotlin
#pragma once #include <iostream> #include <optional> #include <string> #include <span> #include <vector> #include <cstddef> #include <cstdint> namespace bitcoinfuzz { class BaseModule { public: const std::string name; BaseModule(const std::string &name) : name(name) {} virtual st...
C
pc} _021E147A: add r0, r4, #0 mov r1, #3 add r0, #0x84 str r1, [r0] add r0, r4, #0 add r0, #0x84 ldr r0, [r0] mov r1, #2 lsl r0, r0, #2 add r0, r4, r0 str r1, [r0, #0x44] pop {r4, pc} _021E1492: add r0, r4, #0 mov r1, #4 add r0, #0x84 str r1, [r0] add r0, r4, #0 add r0, #0x84 ldr r0, [r0] mov r1, #2...
Assembly
using System.Linq.Expressions; using Common.Domain.Entities; using Microsoft.EntityFrameworkCore; namespace Common.Application.Pagination; public static class DbContextExtensions { public static async Task<PaginationResponse<TDto>> PaginateAsync<TEntity, TDto>( this IQueryable<TEntity> queryable, ...
C#
Math.abs(a.x - b.x) + Math.abs(a.y - b.y); var isClosed = (x, y, grid) => grid[x][y].status === 'c'; var isOpen = (x, y, grid) => grid[x][y].status === 'o'; var isBarrier = (x, y, grid) => grid[x][y].status === 'x'; var isStart = (x, y, grid) => grid[x][y].status === 's'; var isEnd = (x, y, grid) => grid[x][y].status...
Typescript
c fade-in @keyframes o-wblog-fade-In { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes o-wblog-loader { 0%, 100% { animation-timing-function: cubic-bezier(0.5, 0, 1, 0.5); } 0% { transform: rotateY(0deg); } 50% { transform: rotateY(1800deg); animation-...
CSS
bject that represents the indexed notice number of the collection. ## Requirements | Requirement | Value | |----------------------------|----------------------------------------------------------------------------------------| | Redistributable<br/> | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP<br/> ...
Markdown
// each instruction execution can throw exception Block{ func() { instruction.interpret(this, f, f.method.class, f.method) }, func(throwable Reference) { // try catch exception caught := false handlePc := -1 // TODO: optimise here, not iterate each invocation for _, exception := range f.m...
Go
filter: alpha(opacity=50); border: 0 dashed #fff; opacity: .5; } .cropper-dashed.dashed-h { top: 33.33333333%; left: 0; width: 100%; height: 33.33333333%; border-top-width: 1px; border-bottom-width: 1px; } .cropper-dashed.dashed-v { top: 0; left: 33.33333333%; width: 33.33333333%; height: 100%; border-ri...
CSS
umInvocations; runStorageVariableTest({ t, workgroupSize: t.params.workgroupSize, dispatchSize: t.params.dispatchSize, bufferNumElements, initValue, op, expected, }); }); g.test('add_workgroup') .specURL('https://www.w3.org/TR/WGSL/#atomic-rmw') .desc( ` AS ...
Typescript
); if (block != getExitBlock() && (insnsSz == 0 || lastInsn.getOriginalRopInsn() == null || lastInsn.getOriginalRopInsn().getOpcode() .getBranchingness() == Rop.BRANCH_NONE)) { // We managed to eat a throwable insn ...
Java
offset: Offset(4, 4), color: Colors.blueGrey.shade100) ]), ), if (bankAccountErrorMessage != '') Container( child: Text( "\t\t\t\t$bankAccountErrorMessage", style: TextSty...
Dart
:5:6:-:1 \@P2 LDG.E.CI.128 loadA4, [trackA + 4x<8>];\n", j4c29 => "--:-:-:-:1 \@!P1 STS [writeAs + 4x<0*128>], loadA4;\n", j4c31 => "--:-:-:-:1 \@!P1 STS [writeAs + 4x<1*128>], loadA5;\n", j4c33 => "--:-:-:-:1 \@!P1 STS [writeAs + 4x<2*128>], loadA6;\n", j4c35 => "--:-:-:-:1 \@!P1 STS ...
CSS
]; Der2_zz = Slope[v][2][kkp][jj ][ii ] - Slope[v][2][kkm][jj ][ii ]; Der2_xy = Slope[v][1][kk ][jj ][iip] - Slope[v][1][kk ][jj ][iim]; Der2_yz = Slope[v][2][kk ][jjp][ii ] - Slope[v][2][kk ][jjm][ii ]; Der2_zx = Slope[v][0][kkp][jj ][ii ] - Slope[v][0][kkm][jj ][ii ]; } ...
C++
="button" aria-label="toggle section" tabindex="0" data-v-3f204acd><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewbox="0 0 24 24" class="caret-icon" data-v-3f204acd><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0...
HTML
et { return this.ReceiveFilterFactories; } } IEnumerable<ITypeProvider> IConfigurationSource.CommandLoaders { get { return this.CommandLoaders; } } } }
C#
All(*events.toTypedArray()) }/* * Copyright (c) 2018. André Mion * * 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 require...
Kotlin
</tr> <tr class="row-even"><td><p><code class="docutils literal notranslate"><span class="pre">estimator</span></code></p></td> <td><p>FTI (requis), FTE (optionnel), I– (optionnel)</p></td> <td><p>I– (le code exact dépend de l’algorithme spécifié)</p></td> </tr> <tr class="row-odd"><td><p><code class="docutils literal...
HTML