content
stringlengths
2
6.21k
label
stringclasses
16 values
ZonedDateTime.of(dateObj, timeObj, ZoneOffset.UTC)) highF = timeframe.tempF highC = timeframe.tempC condition = timeframe.wxDesc icon = timeframe.wxCode.toString() windDegrees = timeframe.winddirDeg.roundToInt() windMph = timeframe.windspdMph windKph = timeframe...
Kotlin
bmNlLm9yZy9tZXRhZGF0YS8wMDFFJTIzMDAwMiIsICJ0a" + "W1lT2ZMYXN0U3RhdHVzQ2hhbmdlIjogIjIwMTYtMDEtMTgiLCAiaGFzaCI6ICI2djdJQzNrMk1" + "uUXNyNFhjWFh3V19zTnBRaS1VWm5LNWxrdWVIdXlKcGRFPSIsICJhYWlkIjogIjAwMUUjMDAwM" + "iIsICJzdGF0dXNSZXBvcnRzIjogW3sic3RhdHVzIjogIk5PVF9GSURPX0NFUlRJRklFRCIsICJ" + "1cmwiOiAiIiwgImNlcnRpZmljYXRl...
JavaScript
toList(), }; } factory ApiQuery.fromMap(Map<String, dynamic> map) { return ApiQuery( name: (map['name'] ?? '') as String, requests: List<ApiRequest>.from( (map['requests'] as List<dynamic>).map<ApiRequest>( (dynamic x) => ApiRequest.fromMap(x as Map<String, dynamic>), ...
Dart
ther NFA threads still matching a particular wildcard. The application // of instCut happens in (*nfaState).trim. package match import ( "encoding/binary" "fmt" "sort" "strings" ) // A reProg is a regexp program: an instruction list. type reProg []reInst // A reInst is a regexp instruction: an opcode and a nume...
Go
lbl_w, lbl_h = gfx.measurestr(self.lbl) gfx.x = x+(w-lbl_w)/2; gfx.y = y+h/2 gfx.drawstr(self.lbl) -- draw knob label end -------- function Knob:draw_val() local x,y,w,h = self.x,self.y,self.w,self.h local val = string.format("%.2f", self.norm_val) local val_w, val_h = gfx.measurestr(val) gfx....
Lua
/* SPDX-License-Identifier: GPL-2.0-only */ #include <console/console.h> #include <delay.h> #include <device/i2c_simple.h> #include <stdint.h> #include <reset.h> #include "pmic.h" enum { AS3722_I2C_ADDR = 0x40 }; struct as3722_init_reg { u8 reg; u8 val; u8 delay; }; static struct as3722_init_reg init_list[] = ...
C
28</code>的例子中,我们能够同时执行$16$个操作。首先,如果我们添加的运算不仅优化了向量运算,而且优化了矩阵运算,会有什么好处?稍后我们将讨论基于这个策略引入的张量核(tensor cores)。第二,如果我们增加更多的核心呢?简而言之,以上就是GPU设计决策中的两种策略。 :numref:<code>fig_turing_processing_block</code>给出了基本处理块的概述。它包含$16$个整数单位和$16$个浮点单位。除此之外,两个张量核加速了与深度学习相关的附加操作的狭窄的子集。每个流式多处理器都由这样的四个块组成。</p> <p><img src="../img/turing-processing-...
HTML
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 🔥 OpenTunnel Vmess Hunter - Hardcore Free Internet Script ⚡ Auto fetch subscription, decode vmess, generate QR, ready for Clash/Meta/V2rayNG 💀 Created by Dream Team - June 2025 """ import requests import base64 import json import qrcode import re import time import ...
Python
lass="slideContent" > <ul> <li>model assumptions</li> <li>default parameters</li> <li>toy datasets</li> <li>interpretation</li> </ul> </div> </section> <section data-transition="linear" data-transition-speed="default"> <h3>7. Provide the full details of your statistical analyses.</h3> <div class="slideContent" > <ul>...
HTML
al bottom = view.bottom + lp.bottomMargin // make the divider shorter val vInset = parent.dp(8) drawable.setBounds(left, top + vInset, right, bottom - vInset) drawable.draw(c) } } }/* * SPDX-License-Identifier: LGPL-2.1-or-later * SPDX-FileCopyrightText: Cop...
Kotlin
* @return the size of the outputs in 32-bit integers * */ public static final int compressblock(int[] out, int outOffset, int[] in, int inOffset, int n) { int numIdx, j, num, bits; for (numIdx = 0; numIdx < S16_NUMSIZE; numIdx++) { out[outOffset] = numIdx << S16_BITSSIZE; num = (S16_NUM[numIdx] < n) ...
Java
Interval); countdownSpan.textContent = 'Code expired'; resendLink.style.display = 'inline'; } }, 1000); // Resend link resendLink.addEventListener('click', (e) => { e.preventDefault(); if (timeLeft <= 0) { // Re...
HTML
e!(f, "({} or {})", a, b), Expr::StartsWith(ref a, ref b) => write!(f, "({} ^= {})", a, b), Expr::EndsWith(ref a, ref b) => write!(f, "({} $= {})", a, b), Expr::Contains(ref a, ref b) => write!(f, "({} *= {})", a, b), Expr::Eq(ref a, ref b) => write!(f, "({} == {})", a, b...
Rust
nzufügen" L.EnableTooltipInCombat = "Zeige Tooltip-Informationen während Kämpfen" L.EnableTooltipHeader = "Zeige DBM Kopfzeile in Tooltip" L.Panel_Profile = "Profile" L.Area_CreateProfile = "Profilerzeugung für DBM Core Einstellungen" L.EnterProfileName = "Profilnamen eingeben" L.CreateProfile = "Erzeuge P...
Lua
value` and `selectedIndex` are set at the same time, the priority of `value` will be higher. Therefore, in the first and third examples above, the item corresponding to 3 of selectedIndex will not be selected. ::: ### Event Here is a list of events that can be specified: | Name | Type | Description | Remark | | :--- ...
Markdown
.description span:last-of-type.propDesc.markdown > p:only-child { margin-right: -3px; } .swagger-section .swagger-ui-wrap .model-signature .propName { font-weight: bold; } .swagger-section .swagger-ui-wrap .model-signature .signature-container { clear: both; } .swagger-section .swagger-ui-wrap .body-textarea { ...
CSS
will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free S...
C++
Utils.STR_DL_VLAN_PCP + STR_MASKED); map.put(U32.ofRaw(OF_BASIC | (8 << SHIFT_FIELD) | IpDscp.NONE.getLength()), MatchUtils.STR_NW_DSCP); map.put(U32.ofRaw(OF_BASIC | (8 << SHIFT_FIELD) | IpDscp.NONE.getLength() * 2 | MASKED), MatchUtils.STR_NW_DSCP + STR_MASKED); map.put(U32.ofRaw(OF_BASIC | (9 << SHIFT_FI...
Java
), leftOuterJoin(db.coreLib, db.core.id.equalsExp(db.coreLib.coreId)), leftOuterJoin( db.coreType, db.core.coreTypeId.equalsExp(db.coreType.id), ), leftOuterJoin(db.asset, db.coreExec.assetId.equalsExp(db.asset.id)), ])..where(db.core.coreTypeId.equals(coreTypeI...
Dart
pilerResult.coreTypes!, compilerResult.classHierarchy!), super(compilerResult, actualMap); @override void visitField(Field node) { _staticTypeContext = new StaticTypeContext(node, _environment); super.visitField(node); _staticTypeContext = null; } @override void visitConstructor(Construc...
Dart
ika.ui.leaderboard import android.app.Application import androidx.lifecycle.MutableLiveData import com.shizq.bika.base.BaseViewModel import com.shizq.bika.bean.KnightBean import com.shizq.bika.network.RetrofitUtil import com.shizq.bika.network.base.BaseHeaders import com.shizq.bika.network.base.BaseObserver import com...
Kotlin
h_vfVQCneg_naqebvq,%function b_h_vfVQCneg_naqebvq: nop .text .globl b_h_fgeSvaqSvefg_naqebvq .type b_h_fgeSvaqSvefg_naqebvq,%function b_h_fgeSvaqSvefg_naqebvq: nop .text .globl b_hszg_trgQrpAhzPunef_naqebvq .type b_hszg_trgQrpAhzPunef_naqebvq,%function b_hszg_trgQrpAhzPunef_naqebvq: nop .text .globl b_hybp_zvavzvmrFhog...
Assembly
" " .w_cov N-element cell array with entries [k x k] .w_dev [k x N] standard deviation of regression coeffs ESTIMATED AR COEFFICIENTS: .ap_mean [p x N] VB AR coefficients .ap_ols [p x N] OLS AR coefficients .a_cov ...
HTML
me}/*/hls/*", f"arn:aws:s3:::{organization.bucket_name}/live/*", f"arn:aws:s3:::{organization.bucket_name}/*/thumbs/*", f"arn:aws:s3:::{organization.bucket_name}/*/audio/*", ], "Condition": {"StringEquals": {"AWS:SourceArn": f"{...
Python
1.GeneratedColumn<int> get id => columnsByName['id']! as i1.GeneratedColumn<int>; i1.GeneratedColumn<String> get name => columnsByName['name']! as i1.GeneratedColumn<String>; i1.GeneratedColumn<DateTime> get updatedAt => columnsByName['updated_at']! as i1.GeneratedColumn<DateTime>; i1.GeneratedC...
Dart
Values['movieRatingMax']?.toString() ?? '', ), voteCountGreaterThan: int.tryParse( formValues['movieRatingCountMin']?.toString() ?? '', ), voteCountLessThan: int.tryParse( formValues['movieRatingCountMax']?.toString() ?? '', ), withRunTimeGreaterThan: ...
Dart
oConstructor, IsPlainOldData, NoDestructor) }; static_assert(alignof(BP_FLIB_Quest_C_AddProgressBattleQuestID) == 0x000008, "Wrong alignment on BP_FLIB_Quest_C_AddProgressBattleQuestID"); static_assert(sizeof(BP_FLIB_Quest_C_AddProgressBattleQuestID) == 0x0000B8, "Wrong size on BP_FLIB_Quest_C_AddProgressBattleQuestID"...
C++
ectionFlag * arrowLength * Math.Sin(angleDown)); double x4 = x2 + (directionFlag * arrowLength * Math.Cos(angleUp)); double y4 = y2 + (directionFlag * arrowLength * Math.Sin(angleUp)); Point pt3 = new Point(x3, y3); Point pt4 = new Point(x4, y4); PathGeometry...
C#
001c.077 0 .167.051.21.12l1.533 2.529zm-5.344 16.046c-.07.125-.161.125-.19.125h-2.956l4.591-8.243a.442.442 0 0 0-.384-.657l-7.825.01-1.556-2.694h11.397c.248-.017.362-.158.393-.231l1.879-3.473h3.101zm-3.91-.314l-1.522-2.506c-.023-.037-.034-.128.014-.214l2.694-4.853 3.034-.004zM5.92 18.403l-1.508-2.68 1.52-2.848 1.524 2....
JavaScript
hxut.net', '1.hxut.net'}, {'27384', '1.ixwsy.com', '1.ixwsy.com'}, {'27385', '1.jianlingwg.com', '1.jianlingwg.com'}, {'27386', '1.jinfuren.info', '1.jinfuren.info'}, {'27387', '1.kekese.com', '1.kekese.com'}, {'27388', '1.mestferrit.co.cc', '1.mestferrit.co.cc'}, {'27389', '1.mishi.info', '1.mishi.info'}, {'27390', '1...
Lua
termux/files/home/doom3/SeriousSamClassic-1.10.7/SamTSE/Sources/EntitiesMP/ExotechLarva.es" eSpawnEffect . betType = BET_EXPLOSION_DEBRIS ; #line 1122 "/data/data/com.termux/files/home/doom3/SeriousSamClassic-1.10.7/SamTSE/Sources/EntitiesMP/ExotechLarva.es" eSpawnEffect . vStretch = FLOAT3D (1 , 1 , 1); #line 1123...
C++
]: https://docs.rs/semver/latest/semver/struct.VersionReq.html#method.parse #[cfg(feature = "rust")] #[proc_macro] pub fn rust_version(input: proc_macro::TokenStream) -> proc_macro::TokenStream { perform_check(input, rust::rust_version) } #[allow(dead_code)] fn perform_check<F, T>(input: proc_macro::TokenStream, f...
Rust
" ) // InitLogger to init logrus func InitLogger() { // Customizable output directory. logFilePath := consts.KlogFilePath if err := os.MkdirAll(logFilePath, 0o777); err != nil { panic(err) } // Set filename to date logFileName := time.Now().Format("2006-01-02") + ".log" fileName := path.Join(logFilePath, log...
Go
s_child_node, "qcom,vidc-buffer-types", &cb->buffer_type); if (rc) { dprintk(VIDC_ERR, "%s Could not read buffer type (%d)\n", __func__, rc); goto err_setup_cb; } cb->dev = msm_iommu_get_ctx(cb->name); if (IS_ERR_OR_NULL(cb->dev)) { dprintk(VIDC_ERR, "%s could not get device for cb %s\n", ...
C
깨덮개", [99117] = "세 영광의 수도두건", [99118] = "세 영광의 바지", [99119] = "세 영광의 로브", [99120] = "세 영광의 어깨덧옷", [99121] = "세 영광의 장갑", [99122] = "세 영광의 두건", [99123] = "세 영광의 다리보호구", [99124] = "날개 달린 승리의 경갑", [99125] = "날개 달린 승리의 어깨덧옷", [99126] = "날개 달린 승리의 가슴보호대", [99127] = "날개 달린 승리의 손보호대", [99128] = "날개 달린 승리의 얼굴보호대", [99129] = "날개...
Lua
.html" title="class in mmj.search">SearchResultsFieldAttr</a></dt> <dd>&nbsp;</dd> <dt><a href="mmj/search/SearchSelectionScrnMap.html#fieldId" class="member-name-link">fieldId</a> - Variable in class mmj.search.<a href="mmj/search/SearchSelectionScrnMap.html" title="class in mmj.search">SearchSelectionScrnMap</a></dt>...
HTML
prevold; outp = outpold; outn = outnold; erp = erpold; sigrp = sigrpold; ern = ernold; sigrn = sigrnold; erpmaxmax = erpmaxmaxold; ernmaxmax = ernmaxmaxold; e0p = e0pold; sig0p = sig0pold; e0n = e0nold; sig0n = sig0nold; erntwoprev = erntwoprevold; sigrntwoprev = sigrntwoprevold; e0...
C++
it->second->RecordID()); if (node) { MythRecordingRule rule = node->GetRule(); RuleMetadata meta = m_scheduleManager->GetMetadata(rule); tag.iMarginEnd = rule.EndOffset(); tag.iMarginStart = rule.StartOffset(); tag.firstDay = it->second->RecordingStartTime(); tag.bIsRepeating...
C++
ERCACHESESSION_STOREVALUE_CACHEFULL, ShaderCacheSessionFindValueNotFound = D3D12_MESSAGE_ID_D3D12_MESSAGE_ID_SHADERCACHESESSION_FINDVALUE_NOTFOUND, ShaderCacheSessionCorrupt = D3D12_MESSAGE_ID_D3D12_MESSAGE_ID_SHADERCACHESESSION_CORRUPT, ShaderCacheSessionDisabled = D3D12_MESSAGE_ID_...
Rust
QBzAHMAaQBvAG4ATQBvAGQAZQBdADoAOgBEAGUAYwB&quot;</p><p> Str = Str + &quot;vAG0AcAByAGUAcwBzACkAKQApAC4AUgBlAGEAZABUAG8ARQBuA&quot;</p><p> Str = Str + &quot;GQAKAApACkAKQAnADsAJABzAC4AVQBzAGUAUwBoAGUAbABsAEU&quot;</p><p> Str = Str + &quot;AeABlAGMAdQB0AGUAPQAkAGYAYQBsAHMAZQA7ACQAcwAuAFIAZ&quot;</p><p> Str = ...
HTML
即可。 ### **4、体检,方式有两种** 第一种方式比较简单,更推荐,递交之后,一般会立马收到体检信邮件,拿着体检信**28天内**去体检就行了。 第二种方式是提前体检,由于预申请抽签的不确定性,可能白做。而且体检有效期为1年,填写资料也比较麻烦。如果想要加速拿到签证的,可以这么做。申请到HAP ID后,在第三步洲移民局immi系统在线提交签证申请时把它填在移民局immi系统。 ### **5、签证官审核,通知结果** 从递交材料以后,澳洲官方声称会在65个自然日完成75%的审核(一般体检后1-2周收到结果)。按照我们的经验,快则几天,慢则一两个月,平均为1-2周。在下签之前,有可能被电话调查。 官方通过邮件通知最终...
Markdown
ora.util.StatusBarUtils import site.doramusic.app.R import site.doramusic.app.base.conf.ARoutePath import site.doramusic.app.base.conf.AppConfig.Companion.COLOR_THEME import site.doramusic.app.databinding.ActivityEqualizerBinding import site.doramusic.app.media.MediaManager import site.doramusic.app.util.PrefsManager i...
Kotlin
///////////////////////////////////////////////////////////////////////////////// // // Copyright (C) 2011- Statoil ASA // Copyright (C) 2013- Ceetron Solutions AS // Copyright (C) 2011-2012 Ceetron AS // // ResInsight is free software: you can redistribute it and/or modify // it under the terms of the GNU...
C
key; } /** * Converts the given OpCode into a string (eg "0", "PUSHDATA", or "NON_OP(10)") */ static String getOpCodeName(int opcodenum){ // opcodeMap.map((key, value) => MapEntry(value, key)).; if (opcodeMap.containsValue(opcodenum)) { var entry = opcodeMap.entries.where((element) => elemen...
Dart
など)によって引き起こされた場合、**React はエフェクト内で起きた state 更新を処理する前に、ブラウザに画面を再描画させる**ことがあります。これは通常は期待通りに動作します。しかし、ブラウザによる画面の再描画をブロックしなければならない場合は、`useEffect` を [`useLayoutEffect`](/reference/react/useLayoutEffect) に置き換える必要があります。 * エフェクトは**クライアント上でのみ実行されます**。サーバレンダリング中には実行されません。 --- ## 使用法 {/*usage*/} ### 外部システムへの接続 {/*connecting-to...
Markdown
rb r3, [r4, #1158] @ zero_extendqisi2 cmp r3, #0 bne .L2655 ldrb r3, [r4, #1159] @ zero_extendqisi2 cmp r3, #0 addeq r3, r5, r5, lsl #1 subeq r0, r6, #1 addeq r0, r0, r3 beq .L2682 .L2655: mov r0, r5 .L2682: bl nandc_set_seed ldrb r2, [r8, #13] @ zero_extendqisi2 mov r3, r10 str fp, [sp] mov r1, #0 mov r...
Assembly
([], null) }, function () { eqo(null, {}) }, function () { eqo({a: 1}, {a: 1, b: 2}) }, function () { eqo({a: 1, c: 2}, {a: 1, b: 2}) }, function () { eqo({c: 2}, {}) } ] real = false for (var i = 0; i < toFail.length; i++) { tr...
HTML
nked SAP Commerce Cloud a Digital Commerce Magic Quadrant leader for the 8th consecutive time, and #1 in 2 (out of the 4) Critical Capabilities Use Cases](https://blogs.sap.com/2022/10/19/why-gartner-ranked-sap-commerce-cloud-a-digital-commerce-magic-quadrant-leader-for-the-8th-consecutive-time-and-1-in-2-out-of-the-4-...
Markdown
ize, scale, &(T_p_BS[0][bs]), aoccB_ * nvirB_); } } C_DGEMM('N', 'T', B_ARBS_iter.curr_size, C_ARBS_iter.curr_size, aoccA_ * nvirA_, 2.0, B_p_AR.B_p_[0], aoccA_ * nvirA_, T_p_AR[0], aoccA_ * nvirA_, 0.0, xPQ, C_ARBS_iter.curr_size); ...
C++
// create key pair for TSA service // SubjectInfoAccess extension contains URL to TSA service keytool( "-genkey", "-v", "-alias", TSA_KEY_ALIAS, "-keyalg", KEY_ALG, "-keysize", Integer...
Java
s), s.ForceSendFields, s.NullFields) } // GoogleCloudDialogflowV2beta1TextToSpeechSettings: Instructs the speech // synthesizer on how to generate the output audio content. type GoogleCloudDialogflowV2beta1TextToSpeechSettings struct { // EnableTextToSpeech: Optional. Indicates whether text to speech is enabled. // ...
Go
crosscluster.MakeDeleteRangeEvent(kvpb.RangeFeedDeleteRange{ Span: roachpb.Span{Key: key, EndKey: key.Next()}, Timestamp: hlc.Timestamp{WallTime: 5}, }), } } mockClient := &streamclient.MockStreamClient{ DoneCh: make(chan struct{}), PartitionEvents: map[string][]crosscluster.Ev...
Go
p-opacity:0" offset="1" /></linearGradient><linearGradient y2="155.3268" x2="622.7832" y1="239.7637" x1="622.7832" gradientUnits="userSpaceOnUse" id="linearGradient4223"><stop id="stop4225" style="stop-color:#000000" offset="0" /><stop id="stop4227" style="stop-color:#000000;stop-opa...
HTML
(B4=1)=> Port A=Input, (B3=0)=> Port Cu=Output, ;; (B2=0)=> Group B, Mode 0, (B1=1)=> Port B=Input, (B0=0)=> Port Cl=Output ld a, #0x45 ;; SPACE ld b, d ;; [1] B = F6h => Write the value of A to PPI's Port C to select next Matrix Line out (c),...
Assembly
name="exemplar"> /// A set of labels representing an exemplar, created using Exemplar.From(). /// If null, the default exemplar provider associated with the metric is asked to provide an exemplar. /// Pass Exemplar.None to explicitly record an observation without an exemplar. /// </param> void Obser...
C#
" href="{% url 'stafflogin' %}">Staff</a> <a class="nav-link" href="{% url 'studentlogin' %}">Student</a> </div> </div> <!-- HEADINGS --> <div class="welcome-heading"> <h1 class="line1">Welcome&nbsp;to</h1> <h1 class="line2">Smart&nbsp;Exam&nbsp;Seating&nbsp;Allocation&n...
HTML
stringBuilder.Append(" 0 R /Count "); Write(stringBuilder, childCount); } if (previousId != -1) { stringBuilder.Append(" /Prev "); Write(stringBuilder, previousId); stringBuilder.Append(" 0 R"); } if (nextId != -1) { stringBuilder.Append(" /Next "); Write(stringBuilder, nextI...
C#
odsEnv ) { int len; char *tmpPtr1, *tmpPtr2; char tmpStr[MAX_NAME_LEN]; if ( rodsPath == NULL ) { fprintf( stderr, "parseRodsPath: NULL rodsPath input\n" ); return USER__NULL_INPUT_ERR; } rodsPath->objType = UNKNOWN_OBJ_T; rodsPath->objState = UNKNOWN_ST; if ( myRodsE...
C++
num = 1 #while num > 0: while num < 11: print(num) num+=1 # if num == 5: # break if num == 9: print("we're almost done")
Python
2)(res_ptr), acc2 MOVQ (8*3)(res_ptr), acc3 XORQ acc4, acc4 p256OrdReduceInline(acc0, acc1, acc2, acc3, acc4, acc5, x_ptr, y_ptr, t0, res_ptr) RET // func p256OrdMul(res, in1, in2 *p256OrdElement) TEXT ·p256OrdMul(SB),NOSPLIT,$0 MOVQ in1+8(FP), x_ptr MOVQ in2+16(FP), y_ptr CMPB ·supportBMI2+0(SB), $0x01 JEQ o...
Assembly
; PrivateDependencyModuleNames.AddRange( new string[] { "CoreUObject", "Engine", "InputCore", "RHI", "RenderCore", "HTTP", "UMG", "Slate", "SlateCore", "ImageWrapper", "PhysicsCore", "PhysX", "HeadMountedDisplay", ...
C#
' y1='536.5' x2='435.37' y2='467.25' stroke='#856F50' stroke-opacity='1' stroke-width='0.75' stroke-linejoin='round' stroke-linecap='square' data-id='Wofford'/> <line id='svg_d0bfd7f0_aca9_41cc_822c_bd970b3d43ee_e768' x1='390.82' y1='467.25' x2='390.82' y2='328.77' stroke='#856F50' stroke-opacity='1' stroke-width='0...
HTML
final prompt = data['prompt'] as String? ?? ''; final characters = (data['characters'] as List<dynamic>? ?? []).cast<String>().toList(); return (prompt, characters); } // 如果不是Map,但能被解析,当作旧数据处理 return (description, []); } catch (e) { // 无法解析JSON,说明是旧格式的纯文本prompt return (...
Dart
ArticleSwitcher({ "mode": "below-content", "default_css": "on", "color": "black", "addon_username": "stevenhgm", "addon_expired_at": 0, "addon_ismobile": false, "addon_isvip": false, "addon_is...
HTML
BI been usin\' them for readin\' the omens, but they be almost gone now.", ["O"] = "Bring Witch Doctor Tor\'gash 6 Burstcap Mushrooms.", ["T"] = "Burstcap Mushrooms, Mon!", }, [9815] = { ["D"] = "The most affected elements of water can be found in the Halaani Basin, southwest of here, beneath the abando...
Lua
yAotReady(); \ } #define DAS_MODULE_DECL_EX_END } #define DAS_MODULE_DECL_BODY(MODULE_NAME) void ::MODULE_NAME::moduleDeclBody([[maybe_unused]] das::ModuleLibrary &lib) #define DAS_MODULE_DECL_EX(MODULE_NAME, DAS_NAME, ...) \ ...
C
all_instance_list.append(instance) continue if split_video(input_file=video_path, start_time=start_time, end_time=end_time, output_file=save_path): instance = {} instance['label'] = clip['phase_label'] instance['label_description'] = label_desc...
Python
'name': '新兴区', 'level': 3, 'pinyin': None, 'prefix': None, 'weight': 0, 'is_hot': 0, }, { 'id': 1099, 'pid': 117, 'name': '茄子河区', 'level': 3, 'pinyin': None, 'p...
Python
, count, indices: triBuf, buffers: [ { array: vertBuf, attributes: [ { format: BufferAttributeFormat.Float32x3, location: 0, }, ], }, ...attributes.map((attr, idx) => { return { ...
Typescript
her.dart'; import 'package:clima/core/failure.dart'; import 'package:clima/core/functions.dart'; import 'package:clima/data/models/full_weather_model.dart'; import 'package:clima/data/repos/api_key_repo.dart'; import 'package:clima/data/repos/geocoding_repo.dart'; import 'package:clima/domain/entities/city.dart'; impor...
Dart
"java") { // remove the source node entry getWorkspace()?.findModuleForFile( event.file, false )?.compileJavaSourceClasses?.findSource(event.file.toPath()) ?.let { it.parent?.removeChild(it) } } if (DocumentUtils.isJavaFile(event.newFile.toPath())) { getWorkspac...
Kotlin
{ _new_gen.clear_allocation_buffers(); } void GPGC_Space::new_gc_set_marking_underway() { _new_gen.set_marking(true); } void GPGC_Space::old_gc_clear_allocation_buffers() { _old_gen.clear_allocation_buffers(); _perm_gen.clear_allocation_buffers(); } void GPGC_Space::old_gc_set_marking_underway() { _old_gen...
C++
31:16] - rs2[31:16])>>2 #rD [15:0] = (rs1[15:0] - rs2[15:0])>>2 test97: li x17, 0x9acbbae8 li x18, 0x864b1016 .word 0x6528c9d7 #pv.sub.div4 x19, x17, x18 li x20, 0x05202ab4 beq x20, x19, test98 c.addi x15, 0x1 test98: li x17, 0x7d16ce4a li x18, 0x1a39f5ed .word 0x6528c9d7 #pv.s...
Assembly
DCHECK_EQ(index_, 0) << "Unsent rtcp packet."; } // Appends a packet to pending compound packet. // Sends rtcp compound packet if buffer was already full and resets buffer. void AppendPacket(const rtcp::RtcpPacket& packet) { packet.Create(buffer_, &index_, max_packet_size_, callback_); } // Sends pendin...
C++
hljs-subst, .theme-base16-dirtysea .hljs-punctuation, .theme-base16-dirtysea .hljs-operator { color: #000; } .theme-base16-dirtysea .hljs-operator { opacity: 0.7; } .theme-base16-dirtysea .hljs-bullet, .theme-base16-dirtysea .hljs-variable, .theme-base16-dirtysea .hljs-template-variable, .theme-base16-dirtysea .hljs-...
CSS
w4U .action-EvGaDu{display:inline-flex;color:#637381;cursor:pointer}.reading-summary-entry-sQ7GjJ .menus-TITw4U .action-EvGaDu:hover,.reading-summary-entry-sQ7GjJ .menus-TITw4U .action-EvGaDu.active-7Vo-Q4{color:#611fec}.reading-summary-entry-sQ7GjJ .setting-jbI5O3{display:flex;align-items:center}.reading-summary-entry...
HTML
oggler-icon{background-image:url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E")}.navbar-dark .navbar-text{color:rgba(255,...
HTML
this.logger.log('github', `Get key: ${key} is not found`); } return <KeyRecord>{ name: res.name, content: res.content, size: res.size, raw_url: res.download_url, html_url: res.html_url, }; }); } /* * Set key */ set (key: string, value: s...
Typescript
/* { dg-do run } */ /* { dg-options "-O2 -mavx512bitalg" } */ /* { dg-require-effective-target avx512bitalg } */ #define AVX512BITALG #define SIZE (AVX512F_LEN / 16) #include "avx512f-helper.h" #include "avx512f-mask-type.h" #define TYPE short int CALC (TYPE v) { int ret; int i; ret = 0; for (i = 0; i < size...
C
q-banner--top-padding{padding-top:14px}.q-banner__avatar{min-width:1px!important}.q-banner__avatar>.q-avatar{font-size:46px}.q-banner__avatar>.q-icon{font-size:40px}.q-banner__avatar:not(:empty)+.q-banner__content{padding-left:16px}.q-banner__actions.col-auto{padding-left:16px}.q-banner__actions.col-all .q-btn-item{mar...
CSS
pbEventData[ANYSIZE_ARRAY]; } SECURE_ELEMENT_EVENT_INFO, *PSECURE_ELEMENT_EVENT_INFO; #define SECURE_ELEMENT_EVENT_INFO_HEADER offsetof(SECURE_ELEMENT_EVENT_INFO, pbEventData) #define SECURE_ELEMENT_EVENT_INFO_AND_PAYLOAD(n) struct { \ SECURE_ELEMENT_EVENT_INFO Info; \ BYTE ExtraPayload[n-1]; \ } typedef str...
C
AttributeArgs = parse_macro_input!(attr); let api_definition = match ParsedApiDefinition::parse(item_trait.clone(), &attrs) { Ok(parsed) => parsed, Err(e) => return e.write_errors().into(), }; let tokens = quote! { #item_trait #api_definition }; tokens.into() } use...
Rust
.close(); Toast.makeText(applicationContext, "Data saved", Toast.LENGTH_LONG).show(); } catch (e: IOException) { e.printStackTrace() } } } } package owasp.sat.agoat import android.database.sqlite.SQLiteDatabase import android.support...
Kotlin
Run(GetTestName(tc.params, "Encoder/IsBatched=false"), func(t *testing.T) { slots := tc.params.N() valuesWant := make([]float64, slots) r := sampling.NewSource([32]byte{}) for i := 0; i < slots; i++ { valuesWant[i] = r.Float64(-1, 1) } valuesWant[0] = 0.607538 pt := hefloat.NewPlaintext(tc.params...
Go
interactive: filterTime(timing.domInteractive, timing.navigationStart), // 可操作时间 ttfb: filterTime(timing.responseStart, timing.navigationStart) // 首字节时间 }; return data; } }; let performance = window.performance; window.addEventListener('load...
JavaScript
c/a> \u003c/li>\n \u003cli class=\"hsh__list-item\">\n \u003ca href=\"https://www.houzz.de/professionals/gartenbau#\" data-component=\"Secondary Menu Link\" data-entity-id=\"Garten- & Landschaftsbau https://www.houzz.de/professionals/gartenbau#\" data-event-type=\"Elemen...
HTML
{k}{n}\right) \xlongequal[\frac{1}{n}=d x]{\frac{i}{n}=x}\int_0^1 x \ln (1+x) \, \mathrm{d} x$ - 为了分布积分,找出u和dv:<br>$x \, \mathrm{d} x = \frac{1}{2} \mathrm{d}(x^2)$ - 第二步:化成udv形式,运用分部积分 - $\displaystyle I = \frac{1}{2} \int_0^1 \ln (1+x) \, \mathrm{d}(x^2)\xlongequal[]{\text{分部}}\frac{1}{2} [\left. x^2 \ln (1+x)...
Markdown
12 * m21) + m01 * (m12 * m20 - m10 * m22) + m02 * (m10 * m21 - m11 * m20)); scale(s); return this; } /** * Sets 16 values * * @param m00 * @param m01 * @param m02 * @param m03 * @param m10 * @param m11 * @param m12 * @param m13 * @param m20 * @param m21 * @pa...
Java
ands, [ "2", "tags", "track" ])) .to.equal("01 cccc"); }); }); describe("handles multiple albums", () => { beforeEach(() => { var secondAlbum = new Album([{ artist : "pppp", ...
Typescript
= this.coverParent if (coverParent != null) { ownerPlacementInBorderPane = (coverParent as? BorderPane)?.getContainerForChild(owner) if (ownerPlacementInBorderPane != null) { (coverParent as BorderPane).placeChild(this, ownerPlacementInBorderPane!!) } else { ...
Kotlin
* <pre> * 开仓价格差 * </pre> * * <code>double openPriceDiff = 14;</code> * @return The openPriceDiff. */ double getOpenPriceDiff(); /** * <pre> * 持仓盈亏 * </pre> * * <code>double positionProfit = 15;</code> * @return The positionProfit. */ double ...
Java
.setValue(Ot,"isOrthographic",!0===t.isOrthographicCamera),R!==t&&(R=t,E=!0,C=!0)}if(r.isSkinnedMesh){L.setOptional(Ot,r,"bindMatrix"),L.setOptional(Ot,r,"bindMatrixInverse");const t=r.skeleton;t&&(ut.floatVertexTextures?(null===t.boneTexture&&t.computeBoneTexture(),L.setValue(Ot,"boneTexture",t.boneTexture,ft),L.setVa...
JavaScript
= list(di) di[1] += cos(phipos)*xdiff - sin(phipos)*ydiff di[2] += sin(phipos)*xdiff + cos(phipos)*ydiff newBox.d[i] = tuple(di) centerx += cos(phipos)*xdiff - sin(phipos)*ydiff centery += sin(phipos)*xdiff + cos(phipos)*ydiff ...
Python
, MinimizeBox = 0x00020000, Sizebox = 0x00040000, ThickFrame = 0x00040000, SysMenu = 0x00080000, HScroll = 0x00100000, VScroll = 0x00200000, DlgFrame = 0x00400000, Border = 0x00800000, Caption = DlgFrame | Border, OverlappedWindow = Overlap...
C#
rcentage.calculate(series, tradingRecord)); // sell and hold of NetProfitLossPercentageCriterion var sellAndHoldPnlPercentage = getCriterion(TradeType.SELL, new NetProfitLossPercentageCriterion()); assertNumEquals(30, sellAndHoldPnlPercentage.calculate(series, tradingRecord)); } @Test ...
Java
; cnt++; }, function setB(v) { cnt++; this.b = v; }, function setC(v) { cnt++; this.c = v; } ]); var json = ` { "a" : 100, "b" : "%{<js...
JavaScript
hash (ntype); ntype = type_hash_canon (hash, ntype); if (ntype != dtype) /* This variant was already in the hash table, don't mess with TYPE_CANONICAL. */; else if (TYPE_CANONICAL (ntype) == ntype) TYPE_CANONICAL (ntype) = TYPE_CANONICAL (ttype); ttype = build_qualified_type (ntype, qua...
C++
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
C
er = typeData; initDrop.addEventListener(egret.Event.CHANGE,function(e: egret.Event): void { if(initDrop.selectedItem.type == true) { initTxt.visible = true; initTxt.text = "NULL"; } else { initTxt.visible = false; } },n...
Typescript
makefile for project building:'MyProject.mak' mkdir -p "/c/Projects/MyProject/Objects/RTE/Device/Startup/C Startup" mkdir -p "/c/Projects/MyProject/Objects/Source" "/C/Keil_v5/ARM/ARMCLANG/bin/armclang" @"/c/Projects/MyProject/Objects/Source/MyMain.o._cc" "/C/Keil_v5/ARM/ARMCLANG/bin/armclang" @"/c/Projects/MyProjec...
HTML