content
stringlengths
2
6.21k
label
stringclasses
16 values
anged_Content(self, supertracker) assertsafe(self:GetButtonType() == POIButtonUtil.Type.Content); local supertrackedType, supertrackedID = QuestSuperTracking_GetSuperTrackedContent(supertracker); local poiType, poiID = self:GetTrackable(); local isSelected = (supertrackedType == poiType) and (supertrackedID == poi...
Lua
// no need to flush with change in strategy? Really? compressionStrategy = strategy; return result; } internal int SetDictionary(byte[] dictionary) { int length = dictionary.Length; int index = 0; if (dictionary == null ...
C#
; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump --no-print-imm-hex -d - | FileCheck -check-prefix=CHECK-INST %s foo: cbi 3, 5 cbi 1, 1 cbi 7, 2 cbi 0, 0 cbi 31, 0 cbi 0, 7 cbi 31, 7 cbi bar-2, 2 ; CHECK: cbi 3, 5 ...
Assembly
uteRef+("#/"===this.pointer?"":this.pointer)}}function o(e){return decodeURIComponent(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function i(e){return"number"==typeof e?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}t.Location=r,t.unescapePointer=o,t.escapePointer=i,t.parseRef=function(e){const[t,n]=e.split("#/");return{uri:t...
JavaScript
.collect { if (firstRun) { firstRun = false return@collect } restartRepoUpdater() } } } }package me.shouheng.vmlib.base import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.databinding.DataBindingUtil i...
Kotlin
eros. // // NEXT DEMO mov w1, w3 // reset w1 mov w2, 3 // set bits 0 and 1 ubfiz w1, w2, 4, 2 // Look at w1. You will note that all the bits were // zeroed and then 2 bits from w2 are copied into w1 // starting at bit...
Assembly
ub.github.io/uploads/2024/10/0-20241030.yaml</p><p>https://stashgithub.github.io/uploads/2024/10/1-20241030.yaml</p><p>https://stashgithub.github.io/uploads/2024/10/2-20241030.yaml</p><p>https://stashgithub.github.io/uploads/2024/10/3-20241030.yaml</p><p>https://stashgithub.github.io/uploads/2024/10/4-20241030.yaml</p>...
HTML
UberChance, uber_on_damage_taken ); if( RandomFloat() < flUberChance ) { pVictim->m_Shared.AddCond( TF_COND_INVULNERABLE_CARD_EFFECT, 3.f ); // Make sure we don't take any damage flRealDamage = 0.f; } // Resists and Boosts float flDamageBonus = info.GetDamageBonus(); float flDamageBase = flRealDam...
C++
2-34 126-78.9c2.6-11-1-22.3-6.7-32.1L153.2 237.8c-5-8.6-14.2-13.8-24.1-13.8s-19.1 5.3-24.1 13.8L9.9 401.1c-5.7 9.8-9.3 21.1-6.7 32.1z"], "sort-up": [320, 512, ["sort-asc"], "f0de", "M182.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8H288c12.9 0 24.6-7.8 29.6-19.8s2.2-25....
JavaScript
borrow_mut(), |value, record| { reduce_fun(value, record) }) } } } fn drop_window(&mut self, window: &Window) { match self.windows.remove(&window) { Some(state) => { let state_key = StorageKey::new(self.job_id, self.tas...
Rust
使是较旧的等级1插件结果,也会优于新的等级3插件结果 - 包含优先关键词的等级2插件可能超越等级1插件 ### 如何选择优先级 在开发新插件时,应根据以下标准选择合适的优先级: #### 选择等级1的条件 - ✅ 数据源质量极高,很少出现无效链接 - ✅ 服务稳定性好,响应时间短 - ✅ 数据更新频率高,内容新颖 - ✅ 链接有效性高(>90%) #### 选择等级2的条件 - ✅ 数据源质量良好,偶有无效链接 - ✅ 服务相对稳定,响应时间适中 - ✅ 数据更新较为及时 - ✅ 链接有效性中等(70-90%) #### 选择等级3的条件 - ⚠️ 数据源质量一般,存在一定比例无效链接 - ⚠️ 服务稳定性一般,可能偶...
Markdown
steners.OnSeverityListAdapterLoadedListener; import com.inovex.zabbixmobile.model.Application; import com.inovex.zabbixmobile.model.Event; import com.inovex.zabbixmobile.model.Graph; import com.inovex.zabbixmobile.model.GraphItem; import com.inovex.zabbixmobile.model.HistoryDetail; import com.inovex.zabbixmobile.model....
Java
01E45B8 001E0218 EC 60 28 24 */ fdivs f3, f0, f5 /* 801E45BC 001E021C 48 09 7F AD */ bl PSMTXScaleApply lbl_801E45C0: /* 801E45C0 001E0220 38 7F 00 D0 */ addi r3, r31, 0xd0 /* 801E45C4 001E0224 C0 3F 00 20 */ lfs f1, 0x20(r31) /* 801E45C8 001E0228 C0 5F 00 24 */ lfs f2, 0x24(r31) /* 801E45CC 001E022C 7C 64 1B 78 ...
Assembly
BasedDatabase _db; $JsonBasedDatabaseManager(this._db); i1.$$BuyableItemsTableTableManager get buyableItems => i1.$$BuyableItemsTableTableManager(_db, _db.buyableItems); i2.$$ShoppingCartsTableTableManager get shoppingCarts => i2.$$ShoppingCartsTableTableManager(_db, _db.shoppingCarts); } class $Shop...
Dart
�,你還有最後一件事要做。","我已經把戈泰什的頭顱掛在了一支長矛上。現在你要做的就是把這支長矛帶到巨槌石的山頂去,把它插在地上。這樣,你就能看到那些怯懦的巨魔四散逃竄了!當你完成這個任務之後,回到我這裡來,我會為你的辛勤工作而獎勵你的。","<奧拉留斯看起來有些出神。>"}, {"把戈泰什的頭顱放在巨槌石的山頂上。找一塊軟土堆把串著頭顱的長矛插上去就可以了。"}}, [3841] = {"領養孤兒", {"噢,你好,<name>。很高興再次見到你。去達納蘇斯的旅途怎麼樣?","你不在的這段時間裡,我們取得了相當大的進展,你會為此感到高興的。我們甚至保存了一整巢的蛋。不幸的是,我們找到這些蛋的母親的時候,它已經死掉了。","呃,你要...
Lua
ypes in iOS. * 3. Improve usability and consistency of cursor style between image-type * `input` and others. */ button, html input[type="button"], /* 1 */ input[type="reset"], input[type="submit"] { -webkit-appearance: button; /* 2 */ cursor: pointer; /* 3 */ } /** * Re-set default cursor for disabled elem...
CSS
" target="_blank">Mozilla Bug 783129</a> <iframe id="fooframe" src="/"></iframe> <script type="application/javascript"> /** Test for Bug 783129 **/ SimpleTest.waitForExplicitFinish(); function startTests() { var frame = document.getElementById("fooframe"); class XFoo extends frame.cont...
HTML
an>[</span>22<span>]</span></a></sup></td> </tr> <tr> <td align="center"><span class="sortkey" style="display:none">7000800000000000000</span>7=</td> <td><a href="//en.wikipedia.org/wiki/Ronald_V._Dellums_Federal_Building" title="Ronald V. Dellums Federal Building">Ronald V. Dellums Federal Building South</a></td> <td ...
HTML
content/browser/web_contents/web_contents_view_aura.cc.orig 2024-09-30 07:45:04 UTC +++ src/3rdparty/chromium/content/browser/web_contents/web_contents_view_aura.cc @@ -174,7 +174,7 @@ class WebDragSourceAura : public content::WebContentsO raw_ptr<aura::Window> window_; }; -#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS...
C++
394 { <a name="l01395"></a>01395 <span class="keyword">public</span>: <a name="l01397"></a>01397 <a class="code" href="classTiXmlDocument.html#a9f5e84335708fde98400230f9f12659c" title="Create an empty document, that has no name.">TiXmlDocument</a>(); <a name="l01399"></a>01399 <a class="code" href="classTiXmlDo...
HTML
app-rs-codegen/src/lib.rs` // ignore_for_file: invalid_internal_annotation, always_use_package_imports, directives_ordering, prefer_const_constructors, sort_unnamed_constructors_first // // ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_ov...
Dart
kill_id = {}, part_main = { 1, 2, 3, 4, 5, 6, 10, 12, 13, 18, 19 }, part_sub = { 1, 2, 3, 4, 5, 6, 10, 12, 13, 18, 19 }, equip_parameters = {}, label = { "SN", "ST", "AA" } }, [85361] = { id = 85361, damage = "16/wave", bas...
Lua
2049] = 0x6771; // 東 (37-76) cp[2050] = 0x6843; // 桃 (37-77) cp[2051] = 0x68BC; // 梼 (37-78) cp[2052] = 0x68DF; // 棟 (37-79) cp[2053] = 0x76D7; // 盗 (37-80) cp[2054] = 0x6DD8; // 淘 (37-81) cp[2055] = 0x6E6F; // 湯 (37-82) cp[2056] = 0x6D9B; // 涛 (37-83) cp[...
Java
import os import json from typing import Dict, Any from flask import current_app def find_header(file_type: str) -> Dict[str, Any]: what_file: str = '' match file_type: case '1': what_file = 'func_hander' # 寻找配置文件路径 cwd: str = os.getcwd() module_cwd = os.path.dirname(os.pat...
Python
QUEST_YEAR_COLUMN); if (log.isDebug3()) log.debug3(DEBUG_HEADER + "requestYear = " + requestYear); aggregate.put(REQUEST_YEAR_COLUMN, requestYear); String requestMonth = "" + resultSet.getInt(REQUEST_MONTH_COLUMN); if (log.isDebug3()) log.debug3(DEBUG_HEADER + "requestMonth = " + requestMonth); aggregate....
Java
smsg.setMessage(ShortMessage.CONTROL_CHANGE,0, i,10); receiver.send(smsg, -1); assertEquals(channel.getController(i), 10); smsg.setMessage(ShortMessage.CONTROL_CHANGE,0, i,100); receiver.send(smsg, -1); assertEquals(channel.getController(i), 100); ...
Java
b44, 0x17655c17, -0x3b95c23c, -0x58a75559, 0x7e61e37e, 0x3db3f43d, 0x64278b64, 0x5d886f5d, 0x194f6419, 0x7342d773, 0x603b9b60, -0x7e55cd7f, 0x4ff6274f, -0x23dda224, 0x22ee8822, 0x2ad6a82a, -0x6f228970, -0x776ae978, 0x46c90346, -0x11436a12, -0x47fa2948, 0x146c5...
Kotlin
i id="S6.F4.21.m9.2.2.1.1.1.1.3.2" mathvariant="normal" xref="S6.F4.21.m9.2.2.1.1.1.1.3.2.cmml">M</mi><mo id="S6.F4.21.m9.2.2.1.1.1.1.3.3" xref="S6.F4.21.m9.2.2.1.1.1.1.3.3.cmml">⊙</mo></msub></mrow><mo id="S6.F4.21.m9.2.2.1.1.1.3" stretchy="false" xref="S6.F4.21.m9.2.2.1.2.cmml">)</mo></mrow></mrow><mo id="S6.F4.21.m9...
HTML
attacker.uniqueId) val inFight = profile.combatTimer.hasExpired() val now = System.currentTimeMillis() if (inFight) { val lastDamageAt = profile.lastDamageAt if (lastDamageAt == -1L || now - lastDamageAt >= 25 * 1000L) { val boost = boostDamage.getAndSet...
Kotlin
} }); </script> <link href="css/steps.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="gridContainer"> <div class="topMargin"></div> <div id="listName" class="topMargin"> <h1>Free Up Space on Linux by Deleting Unused Kernels</...
HTML
", [300019] = "TEMP Sanctum of the Fallen God", [300020] = "TEMP Miblon Snarltooth", [300021] = "TEMP Gadgetzan Graveyard", [300022] = "TEMP the ruins of Irontree Woods", [300023] = "TEMP Golakka Crater", [300024] = "TEMP NIU Tomb of the Seven", [300025] = "TEMP Corrupted Moonwell", [300026] = "TEMP Bla...
Lua
* Note also that the first few days of a calendar year may be in the * week-based-year corresponding to the previous calendar year. */ public static final WeekFields ISO = WeekFields.of(DayOfWeek.MONDAY, 4); /** * The common definition of a week that starts on Sunday and the first week ...
Java
class="u_c3pyo2ta4"> <div> <div class="_6a _5u5j"> <div class="_6a _6b" style="height:40px"></div> <div class="_6a _5u5j _6b"> <h6 class="_7tae _14f3 _14f5 _5pbw _5vra" data-ft= "{&quot;tn&quot;:&quot;C&quot;}" id="js_5"><span class= "fwn fcg"><span class="fwb fcg" data-ft= "{&quot;tn&quot;:&quot;k&quot;}"><a href= "h...
HTML
Err(Error::from_kind(ErrorKind::DecompositionError( format!("Eigendecomposition: \ Invalid call to dgeev in argument {}", -info)))) } else if info > 0 { Err(Error::from_kind(ErrorKind::DecompositionError( format!("Eigendecomposition: d...
Rust
outrigdev/outrig/pkg/collector/watch" "github.com/outrigdev/outrig/pkg/config" "github.com/outrigdev/outrig/pkg/controller" "github.com/outrigdev/outrig/pkg/ds" "github.com/outrigdev/outrig/pkg/global" "github.com/outrigdev/outrig/pkg/ioutrig" "github.com/outrigdev/outrig/pkg/utilfn" ) var initOnce sync.Once //...
Go
be released after use, by calling the [release] method. /// /// VALUE_NUMBER_FLOAT is returned when a numeric token other /// than integer is encountered: that is, a number that does /// have floating point or exponent marker in it, in addition /// to one or more digits (or, for non-textual formats, /// ha...
Dart
} // Run tests. for name, tc := range tests { t.Run(name, func(t *testing.T) { sid := &types.SubaccountId{ Owner: tc.owner, Number: tc.number, } if tc.panics { require.Panics(t, func() { sid.MustGetAccAddress() }) } else { require.NotPanics(t, func() { sid.MustGetAccAddr...
Go
start: 1, end: 11, newlines: 2, initial_padding: 8, between_padding: 11, color: HEADER_COLOR })?; self.print_temp_row(&daily_temps, 0, 11)?; self.print...
Rust
rgb(251,173,51) 57%, rgb(255,208,77) 79% ); } #container { padding: 1em 1.5em 1em 1em; } #container output { clear: both; width: 100%; } #container output h3 { margin: 0; } #container output pre { margin: 0; } .input-line { display: -webkit-box; -webkit-box-orient: horizontal; -webkit-box-alig...
CSS
37099 * snl val b = 0.0259040371 * lnl + 0.7827717662 * mnl - 0.8086757660 * snl return ColorOKLABa(L, a, b, c.alpha) } } override fun toRGBa(): ColorRGBa { // based on https://bottosson.github.io/posts/oklab/ val lnl = l + 0.3963377774 * a + 0.2158037573 * b ...
Kotlin
nalProperties.GetOrDefault<string>(nameof(OuterXPath)); set => OptionalProperties[nameof(OuterXPath)] = value; } /// <summary> /// Gets or sets the strategy type for the control search. /// Strategy type should implement <see cref="IComponentScopeFindStrategy"/>. /// The default value is <s...
C#
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Usage: python consts.py constants/some_constants.asm View numeric values of `const`ants. """ import sys import re const_value = 0 const_inc = 1 def asm_int(s): base = {'$': 16, '&': 8, '%': 2}.get(s[0], 10) return int(s if base == 10 else s[1:], base) def print...
Python
; ++r) { for (int c = 0; c < 6; ++c) { if(std::abs(K(r, c)) > THRESHOLD) SS->Kmlist.push_back(Eigen::Triplet<double>(ia * 6 + r, ia * 6 + c, -K(r, c))); if (std::abs(K(r+6, c+6)) > THRESHOLD) SS->Kmlist.push_back(Eigen::Triplet<double>(ib * 6 + r, ib * 6 + c, -K(r+6, c+6))); if (std::abs(K(r, c+6)...
C++
->ts.kind) extremum->ts.kind = arg->ts.kind; ret = mpz_cmp (arg->value.integer, extremum->value.integer) * sign; if (ret > 0) mpz_set (extremum->value.integer, arg->value.integer); break; case BT_REAL: if (extremum->ts.kind < arg->ts.kind) extremum->ts.kind = arg->ts.kind; if (mpfr_nan_p (...
C++
.stringparsers"><CODE>LongSizeStringParser</CODE></A>. <p>Convenient access to the only instance returned by this method is available through <A HREF="../../../../com/martiansoftware/jsap/JSAP.html#LONGSIZE_PARSER"><CODE>JSAP.LONGSIZE_PARSER</CODE></A>. <P> <DD><DL> <DT><B>Returns:</B><DD>the only instance of a <...
HTML
if (gameBackflow != null) result.gameBackflow = gameBackflow; return result; } OperationCard._(); factory OperationCard.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); factory Operation...
Dart
53-4.375 34.06L100.3 416H352C369.7 416 384 430.3 384 448z"], }; import React from 'react' import DisplayTrack from './DisplayTrack' import Controls from './Controls' import ProgressBar from './ProgressBar' // import { tracks } from '../data' import Header from './Header' import PlayList from './PlayList' import 'animat...
JavaScript
, targetNode.Center); var eg = intEdge.Edge.EdgeGeometry; SmoothedPolyline sp; eg.Curve = interactiveEdgeRouter.RouteSplineFromPortToPortWhenTheWholeGraphIsReady(sourcePort, targetPort, true, out sp); Arrowheads.TrimSplineAndCalculateArrowheads(eg, intEdge.Edge.Source.Bo...
C#
kenized.id</code> - The hash of the SQL digest generated by Performance Insights (all engines except Amazon DocumentDB). In the console, * <code>db.sql_tokenized.id</code> is called the Support ID because Amazon Web Services Support can look at this data to help you troubleshoot * ...
Typescript
</p> <p> 在谈话过程中我说,国际形势发展很快,必须认真关心,及时分析。我还强调了莫斯科会议的重大意义,莫斯科会议对最近的国际形势作了深刻的马列主义的分析。 </p> <p> 毛泽东同意我的这番话,对这一话题作了积极的反应,他说: “莫斯科会议开得很好,做了认真准备,由 26 个党的代表组成的起草委员会工作得很有成效。”他接着说,有些外国代表不理解,问为什么会议开这么长。毛泽东说,看来他们不了解实际情况, 81 个党的代表每人仅发言一次就要 10 多天。然后还有笫二次发言,就不说研究文件的工作了。他指出:“会上有争论,有辩论,这很好。这是件好事。” </p> <p> 接着,毛泽东同意...
HTML
ÿiVXî6“¿ÜôÆøN¯õxs=Mk;RùÉÍ´Ž„"õÂ÷7év-­Ø½1¡Ã;^¾¸-bwŸÚ½6VÑ3ÉÆUë¹uJør븦ýßY†CÁ _Ðè¨6‡AâEó\Ór9LЉ¾iÃuÂëH“ yãxt3˺OOß[°wÅG7ê)÷ðrc-ü¶o“MõÎÿﶳѭ3‰¸x,åb %²&Š›Ywp)£ÄÕL-ÂD’å_Qàðˆ:Ş4©Û¹ v$D&èi–óŒÂ¤Å©ÒÈÌ#ëD›TIx¤®Õ1¥ IWõD—3çVt特YÞ/´á¸÷hL•ÙY-ªã Ô¬º5N$ÞWÚóÃ=}šå´­Îî¼÷þ›#ŒK'»'JöM­1*å}eQߊ͋l—Ç•¼_...
JavaScript
: 0; } .deprecation-content > h4 { font-size: 16px; margin-top: 15px; margin-bottom: 0; } .deprecation-content code.block { padding: 5px 10px; display: inline-block; } .deprecation-content .footnote { margin-left: 25px; font-size: 13px; font-weight: bold; display: block; } .depre...
CSS
adUInt32LE(i + 0 + off) char.x = buf.readUInt16LE(i + 4 + off) char.y = buf.readUInt16LE(i + 6 + off) char.width = buf.readUInt16LE(i + 8 + off) char.height = buf.readUInt16LE(i + 10 + off) char.xoffset = buf.readInt16LE(i + 12 + off) char.yoffset = buf.readInt16LE(i + 14 + off) char.xadvanc...
JavaScript
inverse: walsh_img = (img_patch@self.WHmatrix).astype('float64') elif len(img_patch.shape) == 2: if inverse: walsh_img = (self.WHmatrix@img_patch@self.WHmatrix).astype('float64') WH_patch.append(walsh_img) r...
Python
less-github.htm" title="「4月6日」最高速度22.8M/S,2025年V2ray/Shadowrocket/SSR/ClashStash免费机场订阅链接">「4月6日」最高速度22.8M/S,2025年V2ray/Shadowrocket/SSR/ClashStash免费机场订阅链接</a></li> <li class="py-2"><a href="/news/article-91600.htm" title="兽医防疫简报范文(兽医开展工作简报)">兽医防疫简报范文(兽医开展工作简报)</a></li> <l...
HTML
}, { coins: 20_000_000, percent: 0.01 }, { coins: 30_000_000, percent: 0.005 }, { coins: 50_000_000, percent: 0.002 }, ], 500_000_000 ), [BankLevel.PREMIER]: new BankStats( [ { coins: 10_000_000, percent: 0.02 }, { coins: 20_000_000, percent: 0.01 }, { coins: 30_000_...
Typescript
ks Workspace is accessible on. /// </summary> public readonly string WorkspaceUrl; [OutputConstructor] private GetWorkspaceResult( ImmutableArray<Outputs.GetWorkspaceCustomParameterResult> customParameters, ImmutableArray<Outputs.GetWorkspaceEnhancedSecurityComp...
C#
ldr r10, [r0, #PM_INFO_MX7D_GPC_V_OFFSET] ldr r4, [r10, #MX7D_GPC_IMR1] ldr r5, [r10, #MX7D_GPC_IMR2] ldr r6, [r10, #MX7D_GPC_IMR3] ldr r7, [r10, #MX7D_GPC_IMR4] ldr r8, =0xffffffff str r8, [r10, #MX7D_GPC_IMR1] str r8, [r10, #MX7D_GPC_IMR2] str r8, [r10, #MX7D_GPC_IMR3] str r8, [r10, #MX7D_GPC_IMR4] /* ...
Assembly
22%3E%3Ctitle%3E secure link %3C/title%3E%3Cpath d=%22M16.07 8H15V5s0-5-5-5-5 5-5 5v3H3.93A1.93 1.93 0 0 0 2 9.93v8.15A1.93 1.93 0 0 0 3.93 20h12.14A1.93 1.93 0 0 0 18 18.07V9.93A1.93 1.93 0 0 0 16.07 8M7 5.5C7 4 7 2 10 2s3 2 3 3.5V8H7zM10 16a2 2 0 1 1 2-2 2 2 0 0 1-2 2%22/%3E%3C/svg%3E")}.oo-ui-image-invert.oo-ui-icon...
HTML
func (qb *umsMemberLoginLogQueryBuilder) WhereId(p mysql.Predicate, value int64) *umsMemberLoginLogQueryBuilder { qb.where = append(qb.where, struct { prefix string value interface{} }{ fmt.Sprintf("%v %v ?", "id", p), value, }) return qb } func (qb *umsMemberLoginLogQueryBuilder) WhereIdIn(value []int6...
Go
}; expect(isFeatureEnabled(Feature.UTILGJENGELIG)).toBe(true); (window as any).appSettings = { UTILGJENGELIG: 'true' }; expect(isFeatureEnabled(Feature.UTILGJENGELIG)).toBe(true); }); it('should return false if specified feature is set to neither "on" nor "true"', (...
Typescript
, "error performing request") } defer resp.Body.Close() if resp.StatusCode != http.StatusCreated { return nil, newStatusCodeError(resp.StatusCode) } respVE := &VulnerabilityEnvelope{} err = DecodeJSONBody(resp, respVE) if err != nil { return nil, errors.Wrap(err, "error parsing response") } return respV...
Go
= h // 通知动画页面改变 mPageManager.onPageSizeChanged(w, h) abortAnim() } override fun onTouchEvent(action: MotionAction): Boolean { var result: Boolean action.apply { result = when (type) { MotionType.PRESS -> { pressPage(eve...
Kotlin
button{float:none;text-align:center;margin:0 auto}}.content .centerer{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.off-canvas-wrap.move-left{position:fixed}@media only screen and (max-width: 40em){.navbar.top-bar{top:0}}#tos{padding-top:100px}@media only screen and (max-width: 40em){#tos{padding...
CSS
Duration.ofHours(6) override fun doStart0(jobContext: JobContext) { val expireDate = LocalDateTime.now().minusDays(properties.reserveDays) val criteria = Criteria().orOperator( where(TemporaryToken::expireDate).lt(expireDate), where(TemporaryToken::permits).lt(1) ) ...
Kotlin
TableByName(dbName, name.OrigTblName) if er.err != nil { return } colName := name.OrigColName.O if colName == "" { // in some cases, OrigColName is empty, use ColName instead colName = name.ColName.O } col := table.FindCol(tbl.Cols(), colName) if col == nil { er.err = ErrUnknownColumn.GenWithStackByArgs(...
Go
[IdDataField] public string ID { get; private set; } = default!; [ParentDataField(typeof(AbstractPrototypeIdArraySerializer<LatheRecipePackPrototype>))] public string[]? Parents { get; private set; } [NeverPushInheritance] [AbstractDataField] public bool Abstract { get; private set; } //...
C#
rn nil, err else return result[1], err end end function node_model:query_by_ip(ip) if not ip then ngx.log(ngx.ERROR,'ip值为nil:',ip) return nil, err end local result, err = db:query("select * from " .. table_name .. " where ip=?", { ip }...
Lua
CAF\u0CBE \u0CB9\u0CC7\u0CB3\u0CBF \u0CB9\u0CCB\u0C97\u0CBF\u0CA6\u0CCD\u0CA6\u0CC6",MissingCS:"%1 \u0C86\u0CA6\u0CAE\u0CC7\u0CB2\u0CC6 \u0C92\u0C82\u0CA6\u0CC1 \u0CA8\u0CBF\u0CAF\u0C82\u0CA4\u0CCD\u0CB0\u0CA3 \u0C95\u0CCD\u0CB0\u0CAE \u0CAC\u0CB0\u0CAC\u0CC7\u0C95\u0CC1",CantUseHash2:"%1 \u0C87\u0C97\u0CC6 \u0C9F\u0C...
JavaScript
= mySqlExecutor; this.currentCoreVersion = currentCoreVersion; this.tableDefinitionProvider = tableDefinitionProvider; PopulateTables(DataDatabaseType.World).ListenErrors(); PopulateTables(DataDatabaseType.Hotfix).ListenErrors(); } public async Task PopulateTables(DataDatabaseTy...
C#
/* * Copyright (C) 2002-2003 David McCullough <davidm@snapgear.com> * Copyright (C) 1998 Kenneth Albanowski <kjahds@kjahds.com> * The Silver Hammer Group, Ltd. * * This file provides the definitions and structures needed to * support uClinux flat-format executables. */ #ifndef _LI...
C
lContent = templateEngine.process("registerEmail", context); mailService.sendHtmlMail(userInfo.getMail(), DateUtil.formatDate(new Date()) + "会员通知", emailContent); } } } else { // 更新消费记录 merchantMember.setConsumption(merchantMember.getConsum...
Java
] = 1 } for i := 2; i <= n; i++ { for j := 0; j <= maxTeamDelta; j++ { deltaPos[i][j] = i } if delta := arr[i] - arr[i-1]; delta <= maxTeamDelta { copy(deltaPos[i][delta:], deltaPos[i-1][:maxTeamDelta+1-delta]) } } var dp [2][5001]int for j := 1; j <= n; j++ { dp[0][j] = max(dp[0][j-1], j-deltaPos...
Go
features = datasets.Features( { "index": datasets.Value("string"), "tweet": datasets.Value("string"), "label": datasets.Value("string"), } ) elif self.config.schema == "seacrowd_text": ...
Python
r) if t.term.Field() != field { buf.WriteString(t.term.Field()) buf.WriteString(":") } buf.WriteString(t.term.Text()) return buf.String() } func NewTermQuery(term index.Term) *TermQuery { return &TermQuery{ term: term, perReaderTermState: nil, } } func (t *TermQuery) SetStates(states *core...
Go
aste, }, false, } -- s89 L["друид издает устрашающий рев, снижающий силу атаки в ближнем бою находящихся рядом противников на %s. время действия – %s сек"] = { { Stats.AttackPower, }, false, } -- s99 L["усиливает броню на %s. может снизить скорость передвижения атакующих противников на %s% и увеличить интервал между их...
Lua
-offset: calc(var(--title3-font-size) * calc(var(--title3-line-height) / var(--lk-wholestep))); --heading-offset: calc(var(--heading-font-size) * calc(var(--heading-line-height) / var(--lk-wholestep))); --subheading-offset: calc(var(--subheading-font-size) * calc(var(--subheading-line-height) / var(--lk-wholestep))...
CSS
. func TestCommitmentAndHTLCTransactions(t *testing.T) { t.Parallel() vectorSets := []struct { name string jsonFile string chanType channeldb.ChannelType }{ { name: "legacy", chanType: channeldb.SingleFunderBit, jsonFile: "test_vectors_legacy.json", }, { name: "anchors", chanType:...
Go
x, paints_tx)).unwrap(); pool.run(); let mut result = vec![' '; 800]; for i in 1..8 { result[i * 100] = '\n'; } for paint in paints_rx.remainder().drain(..) { if paint.0.x >= 0 && paint.0.y >= 0 && paint.0.x < 100 && paint.0.y < 10 { let index = (paint....
Rust
>, exploration_rate: f64, // 探索率:尝试非最优策略的概率 } impl AdaptiveLoadBalancer { pub fn new(name: String, window_size: usize) -> Self { Self { name, strategies: Vec::new(), history: MetricsHistory::new(window_size), latest_selection: None, exploratio...
Markdown
lazyMethodInvokerTrampolineWords(); } /** * Does this slot in the TIB hold a TIB entry? * @param slot the TIB slot * @return {@code true} if this the array element TIB */ public boolean slotContainsTib(int slot) { if (slot == TIB_ARRAY_ELEMENT_TIB_INDEX && getType().isArrayType()) { if (VM...
Java
<A, B>(fa: HK<F, A>, fb: HK<F, B>) => Equiv<HK<F, B>> /** Mixed-in from {@link FlatMapLaws.followedByLConsistency}. */ followedByLConsistency: <A, B>(fa: HK<F, A>, fb: HK<F, B>) => Equiv<HK<F, B>> /** Mixed-in from {@link FlatMapLaws.forEffectConsistency}. */ forEffectConsistency: <A, B>(fa: HK<F, A>, fb: HK<F,...
Typescript
remote, fileTransfer, viewCamera, terminal, cm, portForward, } class IconFont { static const _family1 = 'Tabbar'; static const _family2 = 'PeerSearchbar'; static const _family3 = 'AddressBook'; static const _family4 = 'DeviceGroup'; static const _family5 = 'More'; IconFont._(); static const I...
Dart
@GDXAssets(atlasFiles = arrayOf("src/refactor/libgdx.atlas"), skinFiles = arrayOf("src/refactor\\libgdx.skin")) val s: Skin = Skin() object O { @GDXAssets(atlasFiles = arrayOf("src\\refactor/libgdx.atlas"), skinFiles = arrayOf("src\\refactor/libgdx.skin", "src/findUsages/findUsages2.skin")) val skin: Skin = Skin...
Kotlin
required'), body('address_city').exists().notEmpty().withMessage('Address city is required'), body('address_street').exists().notEmpty().withMessage('Address street is required'), body('address_state').exists().notEmpty().withMessage('Address state is required'), body('address_zip').exists(...
Typescript
import pytest from EUVpy.empiricalModels.models.SOLOMON import solomon from EUVpy.tools import processIndices from scipy.integrate import simpson import numpy as np #----------------------------------------------------------------------------------------------------------------------- #--------------------------------...
Python
) { count=0; LOOP { a->rhsvec.V[count] = -(u.V[IJK] - u.V[Im1JK])/(alpha*p->dt*p->DXN[IP]) -(v.V[IJK] - v.V[IJm1K])/(alpha*p->dt*p->DYN[JP])*p->y_dir -(w.V[IJK] - w.V[IJKm1])/(alpha*p->dt*p->DZN[KP]); ++count; } } void pjm::vel_setup(le...
C++
_POST_NOT_FOUND: DictionaryEntry = { "en-US": "404 Not Found", "ja-JP": "404 Not Found" }; export const WEBSITE_DESCRIPTION: DictionaryEntry = { "en-US": "{name}'s personal website. My experience, projects and bloggging.", "ja-JP": "{name}の個人ウェブサイト。経歴や活動状況、ブログなど。" }; export const BLOG_POST_TIMETAMP: Dictionar...
Typescript
board.frontend.components.DiscordAvatar import net.perfectdreams.loritta.cinnamon.dashboard.frontend.components.DiscordButton import net.perfectdreams.loritta.cinnamon.dashboard.frontend.components.DiscordButtonType import org.jetbrains.compose.web.dom.Div import org.jetbrains.compose.web.dom.Text @Composable fun User...
Kotlin
om"./parse-c399e7f3.js";import{e as C}from"./endOfDay-57f84e67.js";import"./engine-generic-4cac421f.js";import"./media-c9012082.js";class w extends y{getProxyConfig(){return{...super.getProxyConfig(),media:"auto"===this._config.proxy.media||this._config.proxy.media}}}class D{static isMotionEyeEventQueryResults(e){retur...
JavaScript
COAL, 0.15F, 200) .method17667("has_log", method14076(ItemTags.field26084)) .method17668(var0); Class5625.method17666(Ingredient.fromItems(Items.field38109), Items.field38110, 0.1F, 200) .method17667("has_chorus_fruit", method14075(Items.field38109)) .method17668(var0); C...
Java
20121300, 20121300, 20121300, 20121300, 20121300, 20121300 }, barrage_ID = { 20121300, 20121301, 20121302, 20121303, 20121304, 20121305 }, oxy_type = { 1 }, search_condition = { 1 }, precast_param = {} } uv0.weapon_property_390[2012200] = { action_index = "atta...
Lua
09(c, c); //# 09: compile-time error const T.test10(c, c); //# 10: compile-time error const T.test11(c, c); //# 11: compile-time error const T.test12(c, c); //# 12: compile-time error const T.test13(c, c); //# 13: compile-time error const T.test14(c); //# 14: compile-time error const T.test15(c, c); //# 15:...
Dart
d r0, sp, #0x98 mov r1, #5 mov r2, #4 str fp, [sp, #0x64] str sl, [sp, #0x68] str sb, [sp, #0x6c] str r8, [sp, #0x70] str r7, [sp, #0x20] str r6, [sp, #0x24] str r5, [sp, #0x28] str r4, [sp, #0x2c] str r3, [sp, #0x30] bl InitDungeonGrid ldr r0, _0233BA74 ; =0x000001C2 mov r4, #0 add r2, sp, #0x98 mov r1...
Assembly
XVudXNlZA== 136882 15nXqdei16g= 136883 aWdhbnM= 136884 IENob2ly 136885 IE9iYW1hY2FyZQ== 136886 IFZlcmxhZw== 136887 IFFv 136888 IGNvbmNpZXJ0bw== 136889 b2xvZ2Vu 136890 dWVsaW5n 136891 IOCwuOCwguCwteCwpOCxjeCwuA== 136892 IOCkuOClh+Ckgg== 136893 55m+56eR6YCa 136894 IHl1bWk= 136895 IHNjZW50cw== 136896 LW9wZXJhdGlvbg== 1368...
Kotlin
assertEquals("Invalid delimiter: '-129'. Delimiter must be specified as a " + "single character or as a decimal value in the range [-128:127]", e.getMessage()); } // Test that a unicode character out of the valid range will not be accepted. sd.getSerdeInfo().setParameters(new Has...
Java
{}\"", c))) .unwrap_or($default) }; } pub fn load(cfg: &Config) -> Theme { let mut palette = Palette::default(); let borders = BorderStyle::Simple; palette[Background] = load_color!(cfg, background, TerminalDefault); palette[View] = load_color!(cfg, background, TerminalDefault); pa...
Rust
break; case EQuestState.CanFinish: _completionBtn.gameObject.SetActive(true); break; } } private void SetBtnActiveFalse() { _acceptBtn.gameObject.SetActive(false); _giveUpBtn.gameObject.SetActive(false); _completionBtn.gameObjec...
C#
td> </tr> <tr> <td> 11 </td> <td style="background-color: #55ffff; color: #000000;"> Light Cyan (⅓, 1, 1) </td> </tr> <tr> <td> 12 </td> <td style="background-color: #ff5555; color: #000000;"> Light Red (1, ⅓, ⅓) </td> ...
HTML
worth at least 1 sp', ritual: false, duration: '1 round', concentration: false, casting_time: '1 action', level: 0, school: SCHOOL.EVOCATION, attack_save: ATTACK_SAVE.MELEE, damage_effect: [DAMAGE_EFFECT.THUNDER], }, { name: 'Green-Flame Blade', desc...
Typescript