content
stringlengths
2
6.21k
label
stringclasses
16 values
40%}.m-modeS-2 .m-object__body{padding:0 0 0 1rem}html[dir=rtl] .m-modeS-2 .m-object__body{padding:0 1rem 0 0}.m-modeS-2 .m-object__body .m-object__metas{display:flex;flex-wrap:wrap}.m-modeS-2 .m-object__body .m-object__metas .m-object__metas__label{width:100%}}@media screen and (min-width:48em) and (max-width:63.99875...
CSS
# Python3 code to reverse sort a string using join() + sorted() + reverse str1 = 'geekforgeeks' res = ''.join(sorted(str1, reverse=True)) print('String after reverse sorting:', res)
Python
in which it calls f(c) // and assumes that f always returns the same value for a given c. func fieldsFunc(dst []string, s string, f func(rune) bool) (int, error) { // A span is used to record a slice of s of the form s[start:end]. // The start index is inclusive and the end index is exclusive. type span struct { s...
Go
-- Icons for the DAP and LSP local M = {} local diagnostic_signs = { Error = " ", Warn = " ", Hint = "", Info = "", } M.debugging_signs = { Stopped = { "󰁕 ", "DiagnosticWarn", "DapStoppedLine" }, Breakpoint = " ", BreakpointCondition = " ", BreakpointRejected = { " ", "DiagnosticError" }, LogPoint = ...
Lua
Get TOC pointer (current runtime address) */ bl relative_toc /* find out where we are now */ bcl 20,31,$+4 0: mflr r26 /* r26 = runtime addr here */ addis r26,r26,(_stext - 0b)@ha addi r26,r26,(_stext - 0b)@l /* current runtime base addr */ /* * Are we booted from a PROM Of-type client-interface ? */ cm...
Assembly
(name: &str) -> Vec<String> { let mut acc = Vec::new(); for dir in fs_extra::dir::get_dir_content(name) { for folder in dir.directories { if folder != name { acc.push(folder); } } } acc } pub fn new_rename_fake_changes(mut sphere: Sphere) -> Sphere...
Rust
1_CM) × [7.01] SPACE (SP) ÷ [18.0] HANGUL SYLLABLE GA (H2) ÷ [0.3] {original: "\u0025\uAC01", expected: [][]rune{{0x0025}, {0xAC01}}}, // × [0.3] PERCENT SIGN (PO) ÷ [999.0] HANGUL SYLLABLE GAG (...
Go
t.settings.update), ), ], ), ); } bool _compareVersions(String current, String latest) { List<int> currentParts = current.split('.').map((e) => int.tryParse(e) ?? 0).toList(); List<int> latestParts = latest.split('.').map((e) => int.tryParse(e) ?? 0).toList(); for (...
Dart
)+".0));\n float dxCLerp = dxC - float(leftDxCIndex);\n float inverseDxCLerp = 1.0 - dxCLerp;\n\n if (r == topDxRIndex && c == leftDxCIndex) {\n // topLeft\n accumulator +=\n getDy(b, dyR, dyC, d) * inverseDxRLerp * inverseDxCLerp;\n }...
JavaScript
= await fetch(downloadApiUrl); // Memastikan respon adalah tipe audio if (response.headers.get("content-type") === "audio/mpeg") { // Mengirim audio melalui WhatsApp await Lazack28.sendMessage(m.chat, { audio: { url: downloadApiUrl }, mimetype: 'audio/mpeg' }, { quoted: m }); } else { m.reply("Gagal mendapatka...
JavaScript
test_typeParameter() async { await assertErrorsInCode( ''' class A<T> { T x; } ''', [ error( CompileTimeErrorCode.notInitializedNonNullableInstanceField, 17, 1, ), ], ); } test_typeParameter_nullable() async { await assertNoErrorsInCode(...
Dart
extendsData) { for (ProtocolTempInfoPo tempInfoPo : NulsVersionManager.getTempProtocolContainers().values()) { if (tempInfoPo.getStatus() != ProtocolContainer.DELAY_LOCK || tempInfoPo.getVersion() < NulsContext.MAIN_NET_VERSION) { continue; } tempInfoPo.setRo...
Java
-height:normal!important;z-index:-20}#score-graph{min-height:400px;display:block;clear:both}#solves-graph{display:block;height:350px}#keys-pie-graph,#categories-pie-graph,#solve-percentages-graph,#score-distribution-graph{min-height:400px;display:block}.no-decoration,.no-decoration:hover{color:inherit!important;text-de...
CSS
mpty: saName = "Empty"; break; default: saName = "Unknown"; break; } return saName; } //------------------------------------------------------------------------ const char* VstSpeakerArrangementTest::getName () const { const auto inSaName = getSpeakerArrangementName (inSpArr); const auto outSaName = getS...
C++
oInt().toString() // Set font size slider listener fontSizeSlider.addOnChangeListener { _, value, fromUser -> // Update text display val fontSize = value.toInt() fontSizeValue.text = fontSize.toString() // Save font size setting ...
Kotlin
67.28107.4923.58738l-1.1974 6.74592h11l1.2284-6.92068c.0424-.23871.2499-.41262.4924-.41262h2.651c.3111 0 .5467.28107.4923.58738l-1.1974 6.74592h6.7382c.3106 0 .5461.2803.4925.5862l-.4666 2.6667c-.0419.2392-.2497.4138-.4925.4138h-6.9133l-1.9433 11h6.7382c.3106 0 .5461.2802.4925.5862l-.4666 2.6667c-.0419.2392-.2497.4138-...
CSS
log::debug!("Converting typeof to 'object' as we know the value"); self.changed = true; *e = Expr::Lit(Lit::Str(Str { span: *span, value: js_word!("object"), has_escape: false, ...
Rust
是美国一家小软件公司的老板,他写了一篇长文,介绍这个行业的一些实际情况。我看了以后很感慨,有些地方很受启发。我选择了一部分,翻译如下。 ## 一、90%的编程工作来自内部软件 计算机专业的学生,可能有一种印象,觉得大部分程序员,都在编写公开出售的软件或者通用软件。 这种看法是不对的。大部分程序员,实际上编写的是不公开的企业内部软件,比如追踪费用的软件、优化装运成本的软件、帮助记账的软件、设计新部件的软件、计算保单价格的软件、识别恶意订单的软件等等。各种各样的商业公司,开发内部软件,解决它们自己的问题。市场上对程序员的大部分需求来源于此,只有极少数程序员直接编写面向外部顾客的软件。 内部软件的开发,通常非常乏味,令人厌倦。因...
Markdown
ne = line.partition('#')[0] line = line.strip() # ignore blank lines if (line == ''): continue # obtain USVs try: (rstart, rend) = line.split('..') except ValueError: rstart = line r...
Python
); mse_.create(mini_rows, mini_cols); for (int y = 0; y < mini_rows; ++y) for (int x = 0; x < mini_cols; ++x) { // Update the tiles cv::Matx33f Q = cv::Matx33f::zeros(); cv::Vec3f m = cv::Vec3f(0, 0, 0); int K = 0; for (int j = y * block_size; j < std::min((y ...
C++
- Destroy previos AA(освобождает память etc) Wave.State = false -- reset Wave.State if Wave:Create_Track_Accessor() then Wave:Processing() if Wave.State then Wave:Redraw() end end ---------------------------------- if Muted == 1 the...
Lua
h] == scan[0] && mbase_start[cur_match+1] == scan[1]) break; GOTO_NEXT_CHAIN; } #endif uint32_t len = COMPARE256(scan+2, mbase_start+cur_match+2) + 2; Assert(scan+len <= window+(unsigned)(s->window_size-1), "wild scan"); if (len > best_len) { s->m...
C
:tag("json-message", { xmlns = "http://jitsi.org/jitmeet"; roomJid = room_jid; }) :text(data_str) :up(); room:route_stanza(stanza); end); -- routing to session
Lua
body B. /// </summary> /// <userdoc> /// Axis on which the gear will rotate relative to body B. /// </userdoc> [Display(1)] public Quaternion AxisInB { get; set; } = Quaternion.Identity; /// <summary> /// Size ratio between the gears (rotating a bigger g...
C#
lse m |= S_IFREG; return m; } struct timespec filecore_time(struct filecore_node *ip) { struct timespec ts; u_int64_t cs; cs = (((u_int64_t)(ip->i_dirent.load & 0xFF)) << 32) + ip->i_dirent.exec - ((u_int64_t)1725772500 << 7); ts.tv_sec = cs / 100; ts.tv_nsec = (cs % 100) * 10000000; return ts; } ino_t...
C
Chef Habitat service group names For services that do not follow this layout, you should select environment and application names that help you find and filter the application data and are relevant to your typical job tasks. For more information on setting up Chef Habitat, see the Chef Habitat [Service Groups]({{< r...
Markdown
bl2 v3.8h, v16.16b, v18.16b usubl v4.8h, v17.8b, v19.8b usubl2 v5.8h, v17.16b, v19.16b smlal v0.4s, v2.4h, v2.4h smlal2 v1.4s, v2.8h, v2.8h smlal v0.4s, v3.4h, v3.4h smlal2 v1.4s, v3.8h, v3.8h smlal v0.4s, v4.4h, v4....
Assembly
ForRadix: number[]; static maxLengthForRadix_$LI$(): number[]; /** * A table of floor(MAX_VALUE / maxDigitsRadixPower). */ static maxValueForRadix: number[]; static maxValueForRadix_$LI$(): number[]; static __static_initializer_0(): v...
Typescript
{ transition: top 0.1s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19); } } &.is-active { .hamburger-inner { transform: translate3d(0, ($hamburger-layer-spacing + $hamburger-layer-height) * -1, 0) rotate(-4...
CSS
} private fun showRecycleList() { // TODO: 17. Make LayoutManager for RecycleView rvPlayer.layoutManager = LinearLayoutManager(this) val listPlayerAdapter = ListPlayerAdapter(player) rvPlayer.adapter = listPlayerAdapter // TODO: 19. Make item for click it li...
Kotlin
set_project("m2lang") set_xmakever("2.9.4") set_version("0.0.1") set_configvar("CONFIG_APP_NAME", "m2lang") add_rules("mode.release", "mode.debug") -- Hard-code the toolchain. --set_toolchains("clang") -- The project uses C++ 20 modules. set_languages("c++20") -- Trigger update of compile_commands.json in the buil...
Lua
ssResultType { Notification, Warning, Error, Race, } /// <summary> /// Represents the enumeration of all possible exit codes possible by Chess or MChess. /// </summary> /// <remarks> /// This enumeration should match up with the exit codes defined in Chess\Ch...
C#
<div><br></div> <div>1.1.13. <b>Módulo Fiscal - Professional:</b> Trata-se da versão do SOFTWARE em que o USUÁRIO paga uma taxa (mensal, semestral ou anual) para utilizá-lo. Nessa versão o USUÁRIO poderá realizar todos os controles oferecidos pelo SOFTWARE, sendo que o comprovante fiscal emitido é a NFC...
Dart
a.to));return{text:r,ranges:l}}static parse(e){let n=[],r=[],i=[],o;for(let s of e.split(/\r\n?|\n/)){for(;o=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(s);){let l=o[1]?+o[1]:null,a=o[2]||o[3]||"",c=-1;for(let u=0;u<n.length;u++)(l!=null?n[u].seq==l:a&&n[u].name==a)&&(c=u);if(c<0){let u=0;for(;u<n.length&&(l==null||n...
HTML
D: "telemetrygroup-00000000", expectedHTTPStatus: http.StatusNotFound, }, "InvalidID_Status_BadRequest": { ID: "telemetrygroup-XXXXXX", expectedHTTPStatus: http.StatusBadRequest, }, } for tcName, tc := range testCases { t.Run(tcName, func(t *testing.T) { resp1, req...
Go
, 128.35f) lineTo(98.61f, 123.11f) lineTo(98.26f, 122.83f) lineTo(97.95f, 123.14f) lineTo(93.02f, 127.86f) close() } path( fill = SolidColor(Color(0xFFffffff)), stroke = null, strokeLineWidth = 0.0f, ...
Kotlin
moveItem: { // 'Ext.layout.Layout': 'moveItem' // }, // layoutFlush: { // 'Ext.layout.Context': 'flush' // }, layout: { 'Ext.layout.Context': 'run' } }; ...
HTML
际振荡次数。QUOT MIN/MAX 代表 Sensor 中最慢 / 最快的 RO 的实际振荡次数。 - **Target QUOT**: 指不同电源 mode 下(比如 NOM/SVS/LSVS)下的目标 QUOT。 - **ERROR**: 偏差值,ERROR = QUOT - Target QUOT。其大小和正负将影响后续的电压推荐,使实际 QUOT 更加接近 Target QUOT。 - **GCNT**: 为计算振荡次数所设的时间周期 ## CPR 的组成及原理 一颗芯片上的 CPR,由一个 CPR Controller 和许多个 Sensors 组成。其中,Sensors 分布在芯片上的不同 module 里面,...
Markdown
lt is LeastSquareDiagonalPreconditioner * * \implsparsesolverconcept * * The maximal number of iterations and tolerance value can be controlled via the setMaxIterations() * and setTolerance() methods. The defaults are the size of the problem for the maximal number of iterations * and NumTraits<Scalar>::eps...
C
商务、娱乐、金融、教育、出行、 购物等。 ![](img/df0686a1623284d50e8765e14574f0f7.png) 从用户访问情况来看,插件数量的暴增并未给 chatgpt 带来明显增量,6 月以后,全社会对 AI 的关注度持续下降,chatgpt 的访问量也出现下滑。 ![](img/209e4572701aaf71ad30f078e1e8660b.png) 从用户使用情况来看,最常用的插件是上网插件和代码解释器插件,第三方插件质量良莠不齐。目前插件的使用者必须是 chatgptplus 用户,每月花 20 美金才能享受插件服务。但这笔钱归 Open ai,第三方开发者并没有直接收益。第三方开发者目前只能...
Markdown
// // https://github.com/SteveKChiu/lua-intf // // Copyright 2014, Steve K. Chiu <steve.k.chiu@gmail.com> // // The MIT License (http://www.opensource.org/licenses/mit-license.php) // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (...
C
60286430631959695527196086682743679891223825188641241941026621271870630295818915623452793880051225198569193330392182664554069336798956991617416155397921485027087036447505117497621833309124610867617410849282150608761866392801725241476299444278404028884371993204438739987255865433889636921252520607290752094659664799210408...
Python
let mut lines = io::BufReader::new(child.stdout.expect("no stdout")).lines(); assert_eq!(lines.nth(1).unwrap().unwrap(), "hostname example.com"); } #[test] fn trailing_zero_width() { // These happen because the check for "garbage" only looks at the _next_ argument, // and it allows an empty string. In SS...
Rust
e.Now); // Check that SendTime is less than or equal to now } [Test] public void EmailModelNotification_ToString_ReturnsExpectedFormat() { // Arrange var sendTime = DateTime.Now; var emailNotification = new EmailModelNotification { Id = 2, Email =...
C#
个工作流实例的有序事件历史,\( e_i \in E \)。 - \( s_0 \in S \): 工作流的初始状态。 - \( Apply: S \times E \rightarrow S \): 状态转换函数。给定当前状态 \(s\) 和一个事件 \(e\),返回应用事件后的新状态 \(s'\)。**核心假设:\(Apply\) 是确定性函数。** - \( State(H) \): 应用整个事件历史 \(H\) 后达到的最终状态。定义为: - \( State([]) = s_0 \) - \( State([e_1, ..., e_n]) = Apply(State([e_1, ..., e_{n-1}]), e_...
Markdown
false, value: res }) if (this[EOF]) return Promise.resolve({ done: true }) let resolve = null let reject = null const onerr = er => { this.removeListener('data', ondata) this.removeListener('end', onend) reject(er) } const ondata = value => { ...
JavaScript
s-page-Pd5LR6 .content-ywgMC6{border-left:1px solid #fafafa!important}.rewarded-plan-9ybuqN{display:flex;flex-direction:row;justify-content:center;align-items:center;justify-content:space-between}.rewarded-plan-9ybuqN .current-plan-SNNToh{font-weight:500;font-size:24px;line-height:36px;color:#000000d9}.rewarded-plan-9y...
HTML
} if (output != null) { duplib.StartDuplicateThread(luid); duplib.AddOutput(Pointer.fromAddress(output!)); timer = Timer.periodic(const Duration(seconds: 1), (timer) async { int? fps = await widget.plugin.fps(_textureId!); if (mounted) { s...
Dart
GETUPVAL R5 3 CALL R5 0 1 JUMPIFNOT R5 [+36] LOADK R7 K8 ["updateTutorialConfig"] DUPTABLE R8 K12 [{"assetIds", "isToolboxTutorialActive", "nextTutorialStep"}] GETTABLEKS R11 R0 K0 ["props"] GETTABLEKS R10 R11 K1 ["tutorialAssetIds"] JUMPIFNOT R10 [+5] GETTABLEKS R10 R0 K0 ["props"] GETTABLEKS R9 R10 ...
Assembly
<td> This is the same as above consolidate(), but it consolidates 5 columns into one.<BR> Functor signature is:<BR> <I><PRE> template&lt;typename ITR1, typename ITR2, typename ITR3, typename ITR4, typename ITR5&gt; std::vector&lt;NEW_T&gt; (IndexVecType::const_iterator idx_begin, ...
HTML
test_pushdown_array_subscripts CROSS JOIN UNNEST(a) as t(index) GROUP BY grouping sets ((index, id), (index))", "test_pushdown_array_subscripts", ImmutableMap.of("b", toSubfields("b[1][2]"))); assertPushdownSubfields("SELECT id, b[1] FROM test_pushdown_array_subscripts CROSS JOIN UNNEST(a) as ...
Java
FT><FONT FACE="Courier" SIZE=1>core/lock/query</FONT></TD> <TD ALIGN=LEFT><FONT FACE="Courier" SIZE=1>setLockModeIllegalStateException</FONT></TD> <TD ALIGN=LEFT><FONT FACE="Courier" SIZE=1>https://bugs.eclipse.org/bugs/show_bug.cgi?id=366465</FONT></TD> <TD ALIGN=LEFT><FONT FACE="Courier" SIZE=1>Query.setLock...
HTML
/* * Copyright (C) 2019 Rockchip Electronics Co., Ltd * * SPDX-License-Identifier: GPL-2.0+ */ #include <asm/io.h> #include <asm/utils.h> #include <clk.h> #include <dm.h> #include <reset.h> #include <wdt.h> #define WDT_CR 0x00 #define WDT_TORR 0x04 #define WDT_CRR 0x0C #define WDT_EN_MASK 0x01 #define WDT_M...
C
(), Error>; fn commit(&self) -> Result<(), Error>; } impl<'a> RootSaver for CotaSMT<'a> { fn save_root_and_leaves(&self, leaves: Vec<(H256, H256)>) -> Result<(), Error> { self.store() .save_root(self.root()) .expect("Save smt root error"); if !leaves.is_empty() { ...
Rust
dds r8, r8, sb str r8, [sp, #0xec] str r0, [sp, #0x98] mov r0, r2, asr #0x1f str r0, [sp, #0x9c] ldr r0, [sp, #0x100] ldr r8, [sp, #0x84] umull sl, sb, r5, r7 mla sb, r5, r8, sb mla sb, r4, r7, sb mov r8, sl, lsr #0xc str r0, [sp, #0xa0] mov r0, r1, asr #0x1f str r0, [sp, #0xa4] ldr r7, [sp, #0x80] orr r...
Assembly
') - `url`: User-specific connection URL - `userId`: Associated user ID - `allowedTools`: Available tools for the user - `authConfigs`: Associated auth configurations ## Error Handling All methods can throw the following exceptions: - **ValidationError**: When input parameters are invalid or malformed - **Error**: W...
Markdown
< offset) return S_FALSE; RINOK(inStream->Seek(baseOffset + offset, STREAM_SEEK_SET, NULL)); UInt64 inSize = nextOffset - offset; limitedStreamSpec->Init(inSize); if (progress) { RINOK(progress->SetRatioInfo(&offset, &outProcessed)); } UInt32 outSize = kChunkSize; if ...
C++
@options={{this.users}} @labelProperty='name' @selection={{this.selectedUsers}} @onchange={{action 'updateSelection'}} @updateSelectionValue={{false}}/> ``` You should then update the value bound to the `selection` property in the action bound to `onchange`, e.g.: ```js actions: { updateSelection: f...
Markdown
<span id="index-fftw_005fexecute_005fdft"></span> <span id="index-fftw_005fexecute_005fsplit_005fdft"></span> <span id="index-fftw_005fexecute_005fdft_005fr2c"></span> <span id="index-fftw_005fexecute_005fsplit_005fdft_005fr2c"></span> <span id="index-fftw_005fexecute_005fdft_005fc2r"></span> <span id="index-fftw_005f...
HTML
/* * transformfloat.h * * Copyright (C) Georg Martius - June 2011 * georg dot martius at web dot de * * This file is part of vid.stab video stabilization library * * vid.stab is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License, * as published ...
C
ización</td> <td>entidad_nombre</td> <td>alfanumerico</td> <td>Nombre de la organización/empresa que tiene el permiso.</td> <td>Minera del Plata</td> <td>popolo:Organization schema:Organization</td> <td></td> </tr> <tr> <td>Permiso</td> <...
Markdown
is addressed on a domain or path outside the boundaries set for its Starting Address. \n\nDo you want to open it from the server?'))window.location='http://babel.uoregon.edu/yamada/guides.html'" tppabs="http://babel.uoregon.edu/yamada/guides.html">Yamada Language Guides</a>. Our next Zen misstep, our next nez trail,...
HTML
t x, int y) */ function ff_put_h264_chroma_mc4_lasx li.d t8, 8 sub.d t1, t8, a4 // 8-x sub.d t2, t8, a5 // 8-y mul.d t3, t1, t2 // A mul.d t4, a4, t2 // B mul.d t5, t1...
Assembly
^aa3/PccP/y jKKjKKjKKjKffff@^aa +7#!"&463!2"&462"&462.  > $$ &&&&KjKKjKKjKKjKfff^aa4&&4&jKKjKKjKKjKffff@^aa#+3C54&+54&+"#";;26=3264&"24&"2$#"'##"3!2@@KjKKjKKjKKjKܒ,...
HTML
e' in key: # average the curve values output_dict[key] = {m: np.array(output_dict[key][m], np.float64).mean(0).tolist() for m in uncertainty_metrics} else: output_dict[key] = {m: np.array(output_dict[key][m], np.float64).mean() for m in uncerta...
Python
tT, LabelT &gt;</a>, <a class="el" href="classshark_1_1_weighted_unlabeled_data.html#a71bcad4364057b3d20b6315176d6b480">shark::WeightedUnlabeledData&lt; DataT &gt;</a></li> <li>splitBatch()&#160;:&#160;<a class="el" href="group__shark__globals.html#gaf9900fbc117dd6259136a3dd2056c11e">shark::Data&lt; Type &gt;</a>, <a c...
HTML
' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>This method tests for <code>!=</code>.</p> </div></div><h3 id='impl-Eq' class='impl'><span class='in-band'><table class='table-display'><tbody><tr><td><code>impl&lt;'a&gt; <a class="trait" href="../../nom/lib/std/prelude/...
HTML
delete [] files; return 0; } bool FTPClientWrapper::IsConnected() { return m_connected; } int FTPClientWrapper::Abort() { m_aborting = true; return 0; } int FTPClientWrapper::OnReturn(int res) { m_aborting = false; return res; } /* NppFTP: FTP/SFTP functionality for Notepad++ Copyright (C) 2010 Harry (har...
C++
:PropName</a></li></ol></li></ol></li><li><span class="item-toggle">+</span><a href="executable-code-and-execution-contexts.html#sec-executable-code-and-execution-contexts" title="可执行代码与执行上下文 (Executable Code and Execution Contexts)"><span class="secnum">9</span> 可执行代码与执行上下文 (Executable Code and Execution Contexts)</a>...
HTML
this.reference = value.reference; if ((0, _common.isDefined)(value.reference)) { this.wordSense = (0, _common.getOrUndefined)(this.reference.getWordSense()); } } _initReference() { return _jvm.JVM.koalaClassOf('data', 'Morpheme')(this.surface, _jvm.JVM.koalaEnumOf('POS', this._tag), this.or...
JavaScript
r")) // Kotlin const val kotlinStdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlinVersion}" // AndroidX const val appCompat = "androidx.appcompat:appcompat:${Versions.appCompat}" const val constraintLayout = "androidx.constraintlayout:constraintlayout:${Versions.constraintL...
Kotlin
tion1252Index]; reduceVar$sum$20 = (k + l); } prob[((i - 0) / 1)][j$var68] = (exped[((i - 0) / 1)][j$var68] / reduceVar$sum$20); } } } } } } } } for(int i = 0; i < noObs; i += 1) { if((var...
Java
coronawarnapp.coronatest.qrcode.CoronaTestQRCode import de.rki.coronawarnapp.coronatest.server.CoronaTestResult import de.rki.coronawarnapp.coronatest.server.CoronaTestResult.PCR_INVALID import de.rki.coronawarnapp.coronatest.server.CoronaTestResult.PCR_NEGATIVE import de.rki.coronawarnapp.coronatest.server.CoronaTestR...
Kotlin
cot1wSH14C3LA2Os6x3m2DwDmgGlgChpLX0/1/AIu8MA7WsWBMAAAAAElFTkSuQmCC") no-repeat scroll left bottom; padding-left:22px;} #content p a[href*="&create="] {padding-left:22px;} #content p a[href*="&select="] {background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U2...
CSS
.types'; import { nullIfEmptyLines } from '../../../helpers/lines-formating-helpers'; import { compileAttribute } from '../../attribute/compile-attribute'; export function compileDefaultAttributes( attributes: ArrayLike<Attr>, ): ICompilerReturn { const lines: ILines = []; for (let i = 0, l = attributes.length;...
Typescript
- 1em)}.v-stepwise{cursor:var(--cur-copy)}.v-stepwise label{background-color:var(--d-fc);clip-path:polygon(0 0,30% 0,100% 50%,30% 100%,0 100%,70% 50%);opacity:.3;width:.5em;margin:0 5px;display:inline-block}content>#write p>span[md-inline=em]:not(:only-child)>em>span[md-inline=highlight]>mark a,content>#write .td-span...
HTML
ess, min, gain, trigger)) progress = nextLine + 1 } j++ } if (progress < qutoe) { subs = string.substring(progress, qutoe + 1) insN.addAll(forceSplit(subs, progress, min, gain, trigger...
Kotlin
"}, ["72405"] = {"claro.com.br", "", ""}, ["72405"] = {"wap.claro.com.br", "claro", "claro"}, ["72406"] = {"zap.vivo.com.br", "vivo", "vivo"}, ["72407"] = {"sercomtel.com.br", "sercomtel", "sercomtel"}, ["72410"] = {"zap.vivo.com.br", "vivo", "vivo"}, ["7241...
Lua
self.action:get_name() local preferred = self.action:is_preferred() and 'yes' or 'no' local disabled = self.action:is_disabled() and ('yes - ' .. self.action:get_disabled_reason()) or 'no' return { title, '', 'Kind: ' .. kind, 'Name: ' .. name, 'Preferred: ' .. prefe...
Lua
// g2o - General Graph Optimization // Copyright (C) 2011 R. Kuemmerle, G. Grisetti, W. Burgard // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must r...
C
Returns a list of tuples containing subtitle language and URL /// Each tuple contains (language, subtitle_url) Future<List<(String, String)>?> getSubTitleInfo(int aid, int cid) { return _bilibiliAPI.getSubTitleInfo(aid, cid); } Future<List<BilibiliSubtitle>?> getSubTitleData(String url) { return _bili...
Dart
有禁用 register,则该项为必填项,该项没有缺省值~ * @type ?VoidFunction */ onerror: undefined, /** * 生成注册 SW 的 HTML 代码片段 * @param root {string} 网页根目录的 URL * @param hexoConfig {Object} Hexo 配置项 * @param pluginConfig {Object} SW 配置项 * @return {string} 一个 HTML 标签的字符串形式 */ builder: (root, he...
JavaScript
100%透明度) - **边距调节**:可调整与图片边缘的距离(5-80像素) #### 4. **智能背景系统** 🧠 - **智能配色选择**:根据字体颜色自动选择背景色 - 白色/黄色字体 → 黑色背景 - 黑色/红色字体 → 白色背景 - **透明度控制**:0%(无背景)到100%(完全不透明) - **默认设置**:无背景,保持图片简洁美观 #### 5. **实时预览** 👀 ``` 📅 日期显示: `2024-03-15` 📍 位置: 右下角 🔤 字体: 8.0%图片宽度, 白色 🎭 背景: 无背景 ``` ### 技术改进 #### 自适应字体大小 - **解决问题**:固定像素大小在高...
Markdown
�하기 위한 보다 상세한 전환 데이터와 유연성을 제공합니다. <figure> {% Img src="image/O2RNUyVSLubjvENAT3e7JSdqSOx1/TxgT3W5pNEZhWgDSYIY3.png", alt="집계 보고서", width="400", height="180"%} <figcaption>집계 보고서로부터 얻을 수 있는 통찰력의 예: <code>news.example</code>의 캠페인 ID 1234567은 <code>shoes.example</code>에서 518개의 전환, 그리고 $38174의 총 지출로 이어졌습니다. 전환의 절반은 미국...
Markdown
AI Models MISTRAL_7B_INSTRUCT("mistral.mistral-7b-instruct-v0:2"), MISTRAL_8x7B_INSTRUCT("mistral.mixtral-8x7b-instruct-v0:1"), MISTRAL_LARGE("mistral.mistral-large-2402-v1:0"), MISTRAL_LARGE_2407("mistral.mistral-large-2407-v1:0"), MISTRAL_SMALL_2402("mistral.mistral-small-2402-v1:0"), PIXTRAL...
Java
/// If the named command does not exist, `None` is returned. /// /// Command descriptions are separated by newlines. The returned string /// should **not** end with a newline. fn command_usage(command: &str) -> Option<&'static str>; /// Returns a string listing available commands and help text....
Rust
fa: "\e4c7\e4c7"; } .fa-circle-arrow-left { --fa: "\f0a8"; --fa--fa: "\f0a8\f0a8"; } .fa-arrow-circle-left { --fa: "\f0a8"; --fa--fa: "\f0a8\f0a8"; } .fa-flashlight { --fa: "\f8b8"; --fa--fa: "\f8b8\f8b8"; } .fa-file-jpg { --fa: "\e646"; --fa--fa: "\e646\e646"; } .fa-group-arrows-rotate { --fa: "...
CSS
WF0 IFBoYXNl IGNvcGllZA== IG1ldHJlcw== bGRh IFVzZXJz IGRlbGliZXJhdGU= IHdhc2hlZA== IExhbmNl aW1hdGlvbg== IGltcHJvcGVy IEdlbmVzaXM= aWNrcg== IEt1c2g= IHJlYWxpc2U= IGVtYmFycmFzc2luZw== YWxraW5n YnVja3M= IHZlcmlmaWVk IG91dGxpbmU= eWVhcnM= IEluY29tZQ== MjAy IHpvbWJpZXM= RmluYWw= IE1pbGxlbm4= IG1vZGlmaWNhdGlvbnM= IFZpc2lvbg...
JavaScript
; import de.hpi.is.md.hybrid.impl.md.MDElementImpl; import de.hpi.is.md.hybrid.impl.md.MDImpl; import de.hpi.is.md.hybrid.impl.md.MDSiteImpl; import de.hpi.is.md.hybrid.md.MD; import de.hpi.is.md.hybrid.md.MDElement; import de.hpi.is.md.hybrid.md.MDSite; import java.util.Collection; import java.util.Optional; import or...
Java
확한 식별을 종종 요구하는 오픈 도메인에서 주요 안전 위험을 생성한다.\n' + '\n' + '최근의 몇몇 연구들은 단순한 소프트맥스 스케일링(Ming et al., 2022) 또는 여분의 텍스트 생성기(Esmaeilpour et al., 2022)에 의해 기존의 비전 언어 모델들의 _zero-shot_ OOD 검출 성능을 개선하려고 시도한다. 또는, Fort et al.(2021)은 먼저 ID 데이터셋 상에서 CLIP 모델 _finetuned_의 가능성을 보여준다. 신분증 및 OOD 정확도는 미세 조정 후 향상됩니다. 신속한 학습(Zhou et...
HTML
loving and joyful person after a series of revelations, providing a profound representation of the story's transformation and theme. <br/> ### 分段26 这一段描述了斯克鲁奇在经历了三个幽灵的拜访后,心灵发生了巨大转变,他开始积极地庆祝圣诞节,展现出前所未有的喜悦和慷慨。以下是故事梗概的详细分点: 斯克鲁奇的转变: 斯克鲁奇在圣诞节的早晨醒来,心情异常愉快,他意识到自己已经很久没有这样笑过了。 Scrooge woke up on Christmas morning with an unu...
Markdown
("/pipelineruns/:%v/stop", _pipelinerunIDParam), HandlerFunc: a.Stop, }, { Method: http.MethodGet, Pattern: fmt.Sprintf("/pipelineruns/:%v/diffs", _pipelinerunIDParam), HandlerFunc: a.GetDiff, }, { Method: http.MethodGet, Pattern: fmt.Sprintf("/pipelineruns/:%v", _pipelinerunIDPa...
Go
## 联系方式 客服微信号:itziyuan_xiaozhi <img src="https://ziyuanyun.oss-cn-guangzhou.aliyuncs.com/common/20240614073449/666b82192834a.jpg" width="200" height="200" alt="二维码"> ## 课程简介 下载链接:https://it.bcwex.shop/posts?id=1246 <img src="https://ziyuanyun.oss-cn-guangzhou.aliyuncs.com/yun/20240515153646/6644660ef351f.jpg" widt...
Markdown
rr << "Inspector run" << std::endl; // using namespace script; using script::EngineScope; using script::InspectorAgent; using script::Number; using script::ScriptEngine; using script::ScriptEngineImpl; using script::ScriptInspector; ScriptEngine* engine = new ScriptEngineImpl(); auto agent = new scr...
C++
见的 SVN 和 Git 也是用了乐观锁的思想,先让用户编辑代码,然后提交的时候,通过版本号来判断是否产生了冲突,发生了冲突的地方,需要我们自己修改后,再重新提交。 乐观锁虽然去除了加锁解锁的操作,但是一旦发生冲突,重试的成本非常高,所以**只有在冲突概率非常低,且加锁成本非常高的场景时,才考虑使用乐观锁。** --- ## 总结 开发过程中,最常见的就是互斥锁的了,互斥锁加锁失败时,会用「线程切换」来应对,当加锁失败的线程再次加锁成功后的这一过程,会有两次线程上下文切换的成本,性能损耗比较大。 如果我们明确知道被锁住的代码的执行时间很短,那我们应该选择开销比较小的自旋锁,因为自旋锁加锁失败时,并不会主动产生线程切换,而是...
Markdown
'status': 'error', // 'msg': "Server unfortunately stoped" // }); // } // // }else{ // res.status(200).send({ // 'status': 'error', // 'msg': "Phone number is invalid" // }); // } // //...
Typescript
�定这里存在 XXE 漏洞。既然确定了那就开始进行 Blind XEE 测试吧。</p> <p>第一个使用如下 XML 代码:</p> <pre class="">&lt;?xmlversion="1.0" encoding="utf-8"?&gt; &lt;!DOCTYPE dtgmlf6 [ &lt;!ENTITY xxe SYSTEM"file:///etc/passwd"&gt; ]&gt; &lt;GeneralSearch&gt;&amp;xxe;&lt;/GeneralSearch&gt;</pre> <p>但很不幸,我得到还是一个 XML 错误的回复。那现在来试试通过 OOB(Out-of-band)方法进行远程文...
HTML
遇到你,我一定要你好看!</p> <p>李逍遥:奉陪!谁怕谁!</p> <p>大小姐:哼!</p> <br /> <p class="text-yellow">远远传来一声尖叫…</p> <p class="text-yellow">救命啊…救命啊!</p> <p>赵灵儿:逍遥哥!她好像真的出事了!</p> <p>李逍遥:啧!又来了…真是受不了那野丫头!</p> <p>赵灵儿:可是…我不放心呢!我们回去看看吧。</p> <p>李逍遥:她做人这般凶狠,不必可怜她。</p> <p>赵灵儿:我觉得我们做得太过份了,还是回去把她放了吧!</p> <p>李逍遥:好啦!好啦!灵儿妹子听你的就是了!</p> <br /> <p>李逍遥:住手!你们...
HTML
;if(i){var h=c.createElement(document.all?"img":"div");h.style.border="0px none";h.style.margin="0px";h.style.padding="0px";h.style.overflow="hidden";h.style.position="absolute";h.style.top="0px";h.style.left="0px";h.style.width=""+this.tileSize.width+"px";h.style.height=""+this.tileSize.height+"px";if(document.all)h.s...
JavaScript
'', '', '', '', '', '', '', ''}, {'2001063', '', '哈哈哈,事实上我们刚刚来到漂流板块的废弃中枢时,里面也差不多是这个破破烂烂的模样吧,除了造物没有任何的活物……', '', '', '', '', '', '', '', '', '3020001', '', '', '2', '', '赤狼', 'Direwolf', '[{"id":3020001,"pos":2,"enter":2}]', '', '', '', '', '', '', '', '', '', '', '2001064', '', '', '', '', '', '', '', '', '', '', '', '...
Lua