content
stringlengths
2
6.21k
label
stringclasses
16 values
implements io.Writer func (t *loggerWriter) Write(p []byte) (n int, err error) { t.lf(string(p)) return len(p), nil } package flume import ( "fmt" "runtime" "sync/atomic" "time" "go.uber.org/multierr" "go.uber.org/zap" "go.uber.org/zap/zapcore" ) var _ Logger = (*Core)(nil) type atomicInnerCore struct { ...
Go
v3/pkg/api/envoy/data/accesslog/v2" logdatav3 "github.com/emissary-ingress/emissary/v3/pkg/api/envoy/data/accesslog/v3" alsv2 "github.com/emissary-ingress/emissary/v3/pkg/api/envoy/service/accesslog/v2" alsv3 "github.com/emissary-ingress/emissary/v3/pkg/api/envoy/service/accesslog/v3" ) type GRPCALS struct { HTTPL...
Go
Landkarte/Landkarte_Berlin2.png" width="190" height="128" border="0" alt="Landkarte_Berlin2" usemap="#Berlin_Map"> <map name="Berlin_Map" id="Berlin_Map"> <area shape="rect" alt="Landkarte_Berlin2.png" coords="162,62,164,131" href=""> <area shape="rect" alt="Landkarte_Berlin2.png" coords="1,129,161,130" href=""> <area ...
HTML
#include <stdio.h> #include <locale.h> int main(void) { if (!setlocale(LC_CTYPE, "")) { fprintf(stderr, "Error:Please check LANG, LC_CTYPE, LC_ALL.\n"); return 1; } wchar_t *str1=L"Hi!你好"; // 輸出結果 (範例) printf("str1=%ls\n", str1); // str1=Hi!你好 printf("wcslen(str1)=%d\n", wcslen(str1)); // wcslen(str1)=5 pri...
C
ON ================================*/ /*! \note initialize usart for stdout * \param none * \retval true initialization succeeded. * \retval false initialization failed */ bool stdout_init (void) { STREAM_OUT_output_stream_adapter_init(); STREAM_IN_input_stream_adapter_init(); CM...
C
프롬프트의 예를 보여준다. 선택된 카테고리들은 Liu et al.(2023)에 의해 부분적으로 영감을 받는다. 아래에서는 각 범주를 자세히 설명합니다.\n' + '\n' + '**개체 수.** 이 범주는 의도적으로 이미지에서 볼 수 있는 개체의 수량을 잘못 인용합니다. 실제로 A\'의 다른 수\\(n\\)가 존재할 때 A\'의 경우 0이 아닌 \\(m\\)과 구별되는 \\(n\\)이 존재한다고 주장하면 이 테스트에 실패한다. 이에 대한 이미지와 그에 따른 네 가지 범주는 COCO 2017(Lin et al., 2015)에서 조달한 것이다. 공공 ...
HTML
/{{.Pr.ID}}/rss">rss</a> </h1> <div class="mb"> {{template "pr-status" .Pr.Status}} <span>&middot;</span> <span>opened on <date>{{.Pr.Date}}</date> by</span> {{template "user-pill" .Pr.UserData}} </div> <details> <summary>Help</summary> <div class="group"> checkout latest patchse...
HTML
]:hover .animation-image-scale-down { transform: scale(1) } .animation-icon-shift:hover, .btn-submit:hover { text-decoration: none } .animation-icon-shift:hover [class*=" icon-"], .animation-icon-shift:hover [class^=icon-], .btn-submit:hover [class*=" icon-"], .btn-submit:hover [class^=icon-] { display: inline-...
CSS
...
Markdown
%g1 ! dest TTE data or %g2, %g3, %g2 ! src TTE data sethi %hi(TLBTEMP_BASE), %o3 sethi %hi(DCACHE_SIZE), %o1 add %o0, %o3, %o0 ! dest TTE vaddr add %o4, 1, %o2 add %o0, %o1, %o1 ! src TTE vaddr /* Disable preemption. */ mov TLB_TAG_ACCESS, %g3 stw %o2, [%g6 + TI_PRE_COUNT] /* Load TLB entri...
Assembly
'1', '1', '99', '', '', '', '', '', '', '', '', '', ''}, {'9321002', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '1', '', 'Battle_Beginer', '907', '1093210,101002'}, {'9322001', '', '测试怪物组', '泛用机动最终决战兵器。', '', '201000005', '1093220', '', '0', '3', '', '', '', '1', '1', '1', '99',...
Lua
ꭸꭶꭻᏼꭱꮧᏹ ꭸꮢꭲ ꭰꮝꮣꮹꮫꮝꮧ ꮎꮝꭹꮎ ꭴꮹꮢꮙ ꭰꮄ ꮟꮣꮑꮈ ꮒꮪꮹꮕꭹ ꮎꮓ ꭰꮑꮂꭲ ꮷꭼꮹꮆꮧꮿ ꮎꭲ ꭰꮒᏼꮻ ꭰꮲꮙꮩꮧ, ꭰꮄ ꭶꮑꮙꮣ, ᏹꮒꭶꮅꮝꮧꮙ, ꮎꮝꭹꮓ ꮠꭲ ꭴꮎꮅꮝꮥꮈꮹꮩꮧ ꮎꮝꭹ ᏼꮻ ꮧꮒꮝꮥꮅꮝꭹ.</p> <p>4. Ꮒꭶꮫ ꭰꮒᏼꮻ ꭴꮒꮂ ꮎꮝꭹ ꮪᏻꭺꮫ ꭴꮎꮩꮲꮧ ꭰꮄ ꮎꮝꭹ ꭴꮎꮦꮃꮧꮝꮧ ꮧꮎꮨꮝꭹ ꮜꮚ ꭴꮎꮅꭺꭿ ꮎꮝꭹꮎ ꮧꮒꮝꮥꮅꮝꭹ ꭴꮴꮅꭲ ꭷꮑꮙꭹ ꭸꮢꭲ.</p> <h4>Ꭰꮿꮩꮈ 24</h4> <p>Ꮒꭶꮫ ꭰꮒᏼꮻ ꭴꮒꮂ ꮎꮝꭹ...
HTML
rt const changeTab = (newTab: number) => ({ type: _changeTab, newTab }); export const changeLocation = (location: string) => { return (dispatch: Dispatch<StoreState>) => { dispatch(push(location)); }; }; export const changeTabAndLocation = (newTab: number, location: string) => { return (di...
Typescript
x, ll w) { p.first.add(x, w), p.second.add(x, x * w); } void add(int l, int r, ll w) { add(l, w), add(r + 1, -w); } ll ask(int x) { return (x + 1) * p.first.ask(x) - p.second.ask(x); } ll ask(int l, int r) { return ask(r) - ask(l - 1); } }; ``` ### 二维 高维的数据结构只要每一维维护低一维的数据(树套树)即可。其余数据结构亦同理。 ```cpp struct Fenwick2 ...
Markdown
="tt-zh" lang="zh"><div class="poem">话虽如此 我若要真心地表达愤怒呢?<br></div></td></tr><tr class="tt-main-ja" id="=-14" data-pos="&#91;&quot;=&quot;,14&#93;"><td class="tt-time" lang="zh"><div class="poem">02:09.04</div></td><td class="tt-ja" lang="ja"><div class="poem">微笑みの仮面を押し付けてくる</div></td><td class="tt-zh" lang="zh"><div clas...
Markdown
} if ((metaState & MetaKeyKeyListener.META_SYM_LOCKED) != 0) { metaState |= META_SYM_ON; } return metaState & META_ALL_MASK; } /** * Returns true if no modifiers keys are pressed according to the specified meta state. * <p> * For the purposes of this functi...
Java
<p><b>Guy:</b> I'm sorry you had to do this by yourself.</p> <p><b>Lydia:</b> I wasn't by myself. I had a doctor, a nurse, and a helper guy. (Joey smiles) So, did you see who won the game?</p> <p><b>Guy:</b> Yeah, the Knicks by 10. They suck.</p> <p><b>Lydia:</b> Yeah, they're not so bad.</p> <p>(Joey closes the ...
HTML
874, ッ: -1350, ト: 521, ム: 1109, ル: 1591, ロ: 2201, ン: 278, "・": -3794, 一: -1619, 下: -1759, 世: -2087, 両: 3815, 中: 653, 主: -758, 予: -1193, 二: 974, 人: 2742, ...
JavaScript
EDGE_PTR>* TRIANGULATION::GetEdges( bool aSkipBoundaryEdges ) const { // collect all arcs (one half edge for each arc) // (boundary edges are also collected). std::list<EDGE_PTR>::const_iterator it; std::list<EDGE_PTR>* elist = new std::list<EDGE_PTR>; for( it = m_leadingEdges.begin(); it != m_lead...
C++
#'x',d0 beq.s .pasy cmpi.b #'y',d0 bne err_op moveq #$10,d2 .pasy: cmpi.b #'0',(a5) beq.s .pas1 cmpi.b #'1',(a5)+ bne err_op add.b #$20,d2 .pas1: or.b d2,-1(a6) bsr untilwh bra noparal_move nodiv: lua: move.l (a5),d0 lsr.l #8,d0 or.l #$202020,d0 cmp.l #'lua',d0 bne nolua entire 3(a5),nolua addq.w #3,...
Assembly
edStrings(self.strings) self:getOrderedStrings(self.wstrings) self.bs:seek(self.clipHeader.keysOffs) for j=1, self.clipHeader.numKeys do self.keys[j] = self:readStruct("key") self.keys[j].name = " " .. self.keys[j].value .. " @ " .. self.keys[j].frame self.keys.key_names[j] = j..". "..self.keys[j].na...
Lua
:50:17 2009 for Generic Image Library by&nbsp; <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html> <!-- Copyright 2008 Lubomir Bourdev and Hailin Jin Distributed under the Boost Software License, Version 1.0. ...
HTML
e84.jpg)正好是增强学习的目标函数。 这两类函数之所以有价值,是因为如果我们已知这两类函数,那么能够很方便地做很多事情。譬如: * 如果我们现在有一个策略![](img/868db68e71ec9cabbe333cb77dd676bc.jpg),且我们知道![](img/c8661aa6447d8182642e291cc63b65f7.jpg),那么我们可以构造一个新的策略![](img/59b66599957ebeab11f06eaa15eab76e.jpg),这个策略至少和![](img/868db68e71ec9cabbe333cb77dd676bc.jpg)一样好(且可能更好),是因为这一个策略最大化未来的收益...
Markdown
padding-right: 1.6875rem; } [dir="ltr"] .messages { padding-right: 1.6875rem; } [dir="rtl"] .messages { padding-left: 1.6875rem; } .messages { min-height: 4.25rem; padding-top: 1.125rem; padding-bottom: 1.125rem; color: #fff; outline: solid 1px transparent; background-color: #0d1214; } .messages * {...
CSS
Arrows(config) } // selectEnvironmentOriginal is the numbered selection implementation with responsive layout func selectEnvironmentOriginal(config Config) (Environment, error) { if len(config.Environments) == 0 { return Environment{}, fmt.Errorf("no environments configured - use 'add' command to create one") } ...
Go
агическими способностями, а затем вернитесь к чародею Итанасу.", ["T"] = "Пригоршня осколков", }, [8338] = { ["D"] = "Вы нашли странный магический осколок, обыскав останки нечистого волшебного призрака. Осколок не похож на те, что вам уже попадались. Он темный и выглядит зловеще – прямо как тот дух, у котор...
Lua
m:1px solid #ddd;padding:.2em 1em;} .doit input[type=text],.doit input[type=password],.doit input[type=image],.doit textarea{font:99% helvetica,arial,freesans,sans-serif;} .doit select,.doit option{padding:0 .25em;} .doit optgroup{margin-top:.5em;} .doit pre,.doit code{font:12px Monaco,"Courier New","DejaVu Sans Mono",...
CSS
}); //Main navigation Active Class Add Remove $(".navbar-toggler").on("click", function () { $("header").toggleClass("active"); }); $(document).on("ready", function () { if ($(window).width() > 991) { $("header").removeClass("active"); ...
HTML
ointing to $target"); Link(symlink).createSync(target); } /// Creates a new symlink that creates an alias at [symlink] that points to the /// `lib` directory of package [target]. /// /// If [target] does not have a `lib` directory, this shows a warning if /// appropriate and then does nothing. /// /// If [relative] ...
Dart
art("Madrid", "Spain"); OfficeRecord orFromOp = new OfficeRecord(); orFromOp.from(op); /* update [classicmodels].[dbo].[office] set [classicmodels].[dbo].[office].[city] = ?, [classicmodels].[dbo].[office].[country] = ? where ...
Java
.md\:row-start-5 { grid-row-start: 5; } .md\:row-start-6 { grid-row-start: 6; } .md\:row-start-7 { grid-row-start: 7; } .md\:row-start-auto { grid-row-start: auto; } .md\:row-end-1 { grid-row-end: 1; } .md\:row-end-2 { grid-row-end: 2; } .md\:row-end-3 { grid-...
CSS
It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors. The serialization format is: ``` <quantity> ::= <signedNumber><suffix> (Note that <suffix> may be empty, from the \"\" case in <decimalSI>.) <digit> ::= 0 | 1 | ... | 9 <digits> ...
Dart
"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_context</h4> <pre>protected final&nbsp;com.fasterxml.jackson.core.io.IOContext _context</pre> </li> </ul> <a name="_in"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_in</h4> <pre>protected final&nbsp;<a href="http://docs.oracle....
HTML
['sodium_mg'] = Variable<double>(sodiumMg); } if (!nullToAbsent || solubleFiberG != null) { map['soluble_fiber_g'] = Variable<double>(solubleFiberG); } if (!nullToAbsent || starchG != null) { map['starch_g'] = Variable<double>(starchG); } if (!nullToAbsent || sucroseG != null) { ...
Dart
-1); --metadata-property-radius: var(--size-2-1); --metadata-property-radius-hover: var(--size-2-1); --metadata-property-radius-hover-focus: var(--size-2-1); --metadata-padding: var(--size-2-1); --metadata-gap: var(--size-2-1); /* Tags */ --tag-radius: var(--radius-s); /* Borders */ --border-width: va...
CSS
trong\">Deprecated.</span>" + "&nbsp;<i>As of JDK version 1.5, replaced by" + NL + " <a href=\"pkg1/C1.html#setUndecorated(boolean)\">" + "<code>setUndecorated(boolean)</code></a>.</i></div>" + NL + "<div class=\"block\">This field indicates whether th...
Java
(s); return; } if (graph_collector != nullptr) { CollectGraphs(ctx); } DCHECK_EQ(num_outputs, outputs->size()); wrapped_done(GetKernelOutputs(outputs.get(), num_outputs, retvals, ctx, kernel_raw)); }); } } // namesp...
C++
IsBigEndian && !byteEqual(dst, []byte{0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1}) { t.Errorf("wrong value: %v", dst) } else if IsLittleEndian && !byteEqual(dst, []byte{0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) { t.Errorf("wrong value: %v", dst) } } } func TestHToNS(t *testing.T) { i := HToNS([]byte{0x0, 0x1}) ...
Go
0 1 0 .705.71l5.396-5.36a.695.695 0 0 0 .198-.39.5.5 0 0 0 0-.211.695.695 0 0 0-.198-.39L8.39 2.645a.5.5 0 0 0-.707.002Z"; protected override string IconGeometry20 { get; } = "M9.604 3.31a.625.625 0 0 0 .003.883L15.454 10H3.125a.625.625 0 1 0 0 1.25h12.33l-5.848 5.806a.625.625 0 1 0 .881.887l6.746-6.699a....
C#
} } private fun extractMetadata(bitmap: Bitmap, ori: String): Bitmap { val gt = decodeGt(ori) val metadata = JSONObject().apply { var sw = 0 var sh = 0 val pos = JSONObject() val dims = JSONObject() for (t in gt.split("|")) { when { t.startsWith("sw:") -> sw = t.substring(3).toInt(...
Kotlin
var desiredProperties = new TwinProperties(); string propertyKey = this.desiredPropertyUpdateCounter.ToString(); desiredProperties.Desired[propertyKey] = desiredPropertyUpdateValue; Twin patch = new Twin(desiredProperties); Twin newTwin = await this...
C#
pi = 3.14159 straal = float(input("Voer de straal van de cirkel in:\n")) oppervlakte = straal * straal * pi omtrek = 2 * pi * straal print(f"De oppervlakte van een cirkel met straal {straal} is {oppervlakte}") print(f"De omtrek van de cirkel met straal {straal} is {omtrek}")
Python
4.5f, 8.5f) arcTo(0.5f, 0.5f, 0f, isMoreThanHalf = false, isPositiveArc = true, 4f, 8f) lineTo(4f, 8f) arcTo(0.5f, 0.5f, 0f, isMoreThanHalf = false, isPositiveArc = true, 4.5f, 7.5f) lineTo(11.5f, 7.5f) arcTo(0.5f, 0.5f, 0f, isMoreThanHalf ...
Kotlin
ng?>(nomeMunicipio.value); } if (uf.present) { map['UF'] = Variable<String?>(uf.value); } if (cep.present) { map['CEP'] = Variable<String?>(cep.value); } if (codigoPais.present) { map['CODIGO_PAIS'] = Variable<int?>(codigoPais.value); } if (nomePais.present) { map...
Dart
</a> </li> <li class="nav-item"> <a class="nav-link" href="#schedule">Schedule</a> </li> <li class="nav-item"> <a class="nav-link" href="#register">Registration</a> </li> </ul> </div> </nav> <div id="courses" class="contain...
HTML
) it('regexp matching from start', () => { const p = regexp(/^\d+/g) const [input, failure] = decodeFailure(p, 'a123b') expect(input.index).toEqual(0) expect(failure[0]).toBeInstanceOf(PatternMismatch) const [input2, decoded] = decodeSuccess(p, '123') expect(input2.index).toEqual(3) expec...
Typescript
get instanceGetter { instanceSetter = true; } set instanceSetter(_) { staticSetter = null; } static staticMethod() { return staticField.unresolved(); } static get staticGetter { return staticMethod(); } static set staticSetter(Foo param) { #Enum.EnumConstant; } } /// documentation for [Enum] enum Enum { EnumC...
Dart
"Europos Sąjunga","EZ":"euro zona","FI":"Suomija","FJ":"Fidžis","FK":"Folklando Salos","FM":"Mikronezija","FO":"Farerų Salos","FR":"Prancūzija","GA":"Gabonas","GB":"Jungtinė Karalystė","GD":"Grenada","GE":"Gruzija","GF":"Prancūzijos Gviana","GG":"Gernsis","GH":"Gana","GI":"Gibraltaras","GL":"Grenlandija","GM":"Gambija"...
JavaScript
<h1>Big Text</h1> //! </body> //! </html>"#; //! //! fn main() -> Result<(), css_inline::InlineError> { //! let inliner = css_inline::CSSInliner::options() //! .load_remote_stylesheets(false) //! .build(); //! let inlined = inliner.inline(HTML); //! // Do something with inlined HTML, e.g. se...
Rust
1D( target, 0, format, w as GLsizei, 0, pix, typ, ::std::ptr::null() ); }, t::Kind::D1Array(w, a) => unsafe { gl.TexImage2D( target, ...
Rust
er == XParsers.Original) { CurrentHost.AddMessage(MessageType.Information, false, "The original X Parser has been deprecated- Using the NewXParser"); } } } private int pathRecursions; public override bool CanLoadObject(string path) { if (string.IsNullOrEmpty(path)...
C#
class="category">{{ top_article.category }}</a> </div> <a href="{% url 'article_detail' top_article.id %}"> <h3 class="post-title">{{ top_article.title }}</h3> ...
HTML
} .markdown-alert.markdown-alert-caution .markdown-alert-title { color: var(--color-caution); } </style> </head> <body class="vscode-body vscode-light"> <h1 id="-life-theory---revolutionary-breakthrough-achievement-report">🎉 L.I.F.E. Theory - Revolutionary Breakthrough Achievem...
HTML
req_settle_time_vgpu( false, (vgpu_old - vgpu_new)); t_settle_vsram = __gpufreq_settle_time_vsram( false, (vsram_old - vsram_new)); ret = regulator_set_voltage( g_pmic->reg_vgpu, vgpu_new * 10, VGPU_MAX_VOLT * 10 + 125); if (unlikely(ret)) { __gpufreq_abort(GPUFREQ_PMIC_EXCEPTION, "fail...
C
het, ils paralysent l'innovation. Le projet Jengo fut une excellente occasion de mettre à profit ma connaissance de travaux universitaires antérieurs pour une bonne cause. »</em></p> <p>– Kevin, chercheur scientifique postdoctoral</p> <hr> <p><em>« Je suis plutôt enthousiaste, car je n'avais jusque là jamais rien ga...
HTML
= checker_concat!( "four_players_game_sync", EndpointAFull, EndpointBFull, EndpointCFull, EndpointDFull => [ EndpointAWin, Branches0BfromA, Win, Branches0CfromA, Win, Branches0DfromA, Win ], [ ...
Rust
String?, ); } Map<String, dynamic> toJson() { final certificateAuthorityArn = this.certificateAuthorityArn; return { if (certificateAuthorityArn != null) 'CertificateAuthorityArn': certificateAuthorityArn, }; } } /// Contains configuration information for a certificate revocation ...
Dart
美军驻台'}, {'11546', '抵制疫苗', '抵制疫苗'}, {'11547', '抵制核酸', '抵制核酸'}, {'11548', '清零不灵', '清零不灵'}, {'11549', '流浪上海', '流浪上海'}, {'11550', '妇仇者联盟', '妇仇者联盟'}, {'11551', '碍国主义', '碍国主义'}, {'11552', '极端男权', '极端男权'}, {'11553', '逝者名单', '逝者名单'}, {'11554', '上海逝者', '上海逝者'}, {'11555', '抗疫晚会', '抗疫晚会'}, {'11556', '自由抗暴', '自由抗暴'}, {'11557', '文化...
Lua
.NORMAL || inGameState.window_state === WindowState.MAXIMIZED) { this.currWindow.minimize(); } else if (inGameState.window_state === WindowState.MINIMIZED || inGameState.window_state === WindowState.CLOSED) { this.currWindow.restore(); } } OWHotkeys.onHotkeyDown(hotk...
Typescript
abstract fun <T> readData(key: String, default: T): T open suspend fun <T> saveDataAsync(key: String, data: T) = saveData(key, data) abstract fun remove(key: String) abstract fun contains(key: String): Boolean var externalDataChangedFlow: MutableSharedFlow<Pair<String, Any?>>? = if (senseExter...
Kotlin
8.849033, 489.904544, 490.959991, 492.015375, 493.070697, 494.125956, 495.181153, 496.236287, 497.291360, 498.346372, 499.401322, 500.456210, 501.511038, 502.565805, 503.620511, 504.675157, 505.729742, 506.784268, 507.838733, 508.893140, 509.947486, 511.001774, 512.056002, 513.110172, 514.164283, 515.218335...
C
",[["path",{d:"M19 3h-14a2 2 0 0 0 -2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2 -2v-14a2 2 0 0 0 -2 -2z"}],["path",{d:"M7 7h10"}],["path",{d:"M12 3v7"}],["path",{d:"M21 17.314c-2.971 -1.923 -15 -8.779 -15 -1.864c0 1.716 1.52 2.55 2.985 2.55c3.512 0 6.814 -5.425 6.814 -8h-6.604"}]]);/** * @license @tabler/icons-solidjs v3.11.0...
JavaScript
nment': config.environment.toString(), 'version': _configVersion, }; } /// 添加配置监听器 void addConfigListener(String key, ConfigListener listener) { _listeners[key] ??= []; _listeners[key]!.add(listener); } /// 移除配置监听器 void removeConfigListener(String key, ConfigListener listener) { ...
Dart
a2, a2, t0 vfcvt.f.x.v v24, v24 sh2add a1, t0, a1 vfmul.vf v24, v24, fa0 vse32.v v24, (a0) sh2add a0, t0, a0 bnez a2, 1b ret endfunc func ff_int32_to_float_fmul_array8_rvv, zve32f, zba lpad 0 srai a4, a4,...
Assembly
.3 0 0 0-7.8 0z%22/%3E%3C/svg%3E")}.oo-ui-image-invert.oo-ui-icon-network,.mw-ui-icon-network-invert:before{background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2220%22 height=%2220%22 viewBox=%220 0 20 20%22%3E%3Ctitle%3E network %3C/title%3E%3Cg fill=%22%23fff%22%3E%3Ccircle c...
HTML
using System.Drawing; namespace Microsoft.Reporting.Chart.WebForms { [SRDescription("DescriptionAttributeAnnotationSmartLabels_AnnotationSmartLabels")] internal class AnnotationSmartLabels : SmartLabels { internal override bool IsSmartLabelCollide(CommonElements common, ChartGraphics graph, ChartArea area, SmartL...
C#
&gatewayv1.GatewayClass{ Spec: gatewayv1.GatewayClassSpec{ ControllerName: "foo", ParametersRef: &gatewayv1.ParametersReference{ Group: "example.com", Kind: "GatewayClassConfig", Name: "foo", }, }, }, }, want: nil, }, { name: "changing controller fiel...
Go
${stats.proofsFound} proofs"; output += "\nEach plot passed ${stats.filterPassedRatio.toStringAsFixed(2)} times per 512 filters"; output += "\n24h Efficiency: **${stats.efficiency}%**"; output += "\n\nLongest response: **${stats.maxTime}** seconds"; output += "\nShortest response: $...
Dart
RulesOrBuilder( int index) { if (strikeRulesBuilder_ == null) { return strikeRules_.get(index); } else { return strikeRulesBuilder_.getMessageOrBuilder(index); } } /** * <code>repeated .Common.StrikeRules strike_rules = 4 [(.fix.field_added) = VERSION_FIX_5_0];</code> ...
Java
01_tnscrtfence08", [1495381263] = "ch1_01_tnscrtfence07", [1198199202] = "ch1_01_tnscrtfence06", [3800429959] = "ch3_rd1a_props_spline_elec037", [1093421552] = "ch1_01_sea_alga04", [2856542071] = "prop_coral_kelp_01", [2345978242] = "ch1_01_sea_uwb_05", [2108566837] = "ch1_01_sea_uwb_04", [419753585] = "ch1_01_...
Lua
from typing import Union from colbert import Searcher from colbert.data import Queries from colbert.infra.config import ColBERTConfig TextQueries = Union[str, 'list[str]', 'dict[int, str]', Queries] class HopSearcher(Searcher): def __init__(self, *args, config=None, interaction='flipr', **kw_args): def...
Python
.</p> <p>First, let’s consider the confidence interval estimating the mean finish time for all runners with a split time of 2 hours:</p> <pre class="r"><code>#Parametric Confidence Interval for the Mean predict.lm(lm(finish~split), newdata = data.frame(split=2), interval = &quot;confidence&quot;)</code></pre> <pre><cod...
HTML
" language="javascript" type="text/javascript"><!-- showHideInherited(); --></script><div xmlns:xd="http://www.pnp-software.com/XSLTdoc" class="MainContent"><div class="detailSectionHeader">Property Detail</div><span id="pageFilter"...
HTML
ана Грозовой Вершины", [4544] = "Криг Головоруб", [9878] = "Энтропический зверь", [12239] = "Дух Гелка", [232] = "Фермер Рей", [12367] = "Зеленый механодолгоног", [12431] = "Жуткоклык", [6248] = "Пруттик Плоскоголов", [332] = "Мастер Матиас Шоу", [1398] = "Главарь Галгош", [9978] = "Весли", [6376]...
Lua
pointments.find(appointment => isEqual(appointment.date, date), ); return appointment; } public async findByProviderId(provider_id: string): Promise<Appointment[]> { const appointments = this.appointments.filter( appointment => appointment.provider_id === provider_id, ); return ap...
Typescript
if conditional else 'unconditional'}_sample-{step}.txt", "w", ) as fp: for i in range(num_samples): if i != 0 and (i % math.sqrt(num_samples)) == 0: fp.write("\n") fp.write(f"{labels[i]} ") if prompts is not None: with ope...
Python
r\": {\n \"d\": \"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0 0 42 42h216v494z\"\n },\n \"child\...
JavaScript
x -15px;overflow:hidden;color:inherit}.table-view-cell>a:not(.btn):active{background-color:#eee}.table-view-cell p{margin-bottom:0}.table-view-divider{padding-top:6px;padding-bottom:6px;padding-left:15px;margin-top:-1px;margin-left:0;font-weight:500;color:#999;background-color:#fafafa;border-top:1px solid #ddd;border-b...
CSS
oll; use ergotree_ir::types::stype::SType; use ergotree_ir::types::stype_param::STypeVar; use crate::eval::tests::{eval_out_wo_ctx, try_eval_out_wo_ctx}; #[test] fn eval_index_of() { let coll_const: Constant = vec![1i64, 2i64].into(); let expr: Expr = MethodCall::new( c...
Rust
O arquivo enviado não possui defeitos que possam comprometer a leitura - O INIA utiliza de algorítmos de visão compultacional, por isso é importante que o pdf esteja legível e na orientação devida para melhores resultados. Riscos ou falhas podem comprometer os resultados, assim como pdfs com textos ilegíveis ou embaçad...
Markdown
ir=rtl] md-input-container.md-icon-right { padding-left: 36px; } [dir=rtl] md-input-container.md-icon-right { padding-right: 0; } md-input-container.md-icon-right > md-icon:last-of-type { margin: 0; right: 2px; left: auto; } [dir=rtl] md-input-container.md-icon-right > md-ico...
CSS
HECK: vcvtsd2ss %xmm12, %xmm9, %xmm17 {%k6} // CHECK: encoding: [0x62,0xc1,0xb7,0x0e,0x5a,0xcc] vcvtsd2ss %xmm12, %xmm9, %xmm17 {%k6} // CHECK: vcvtsd2ss %xmm12, %xmm9, %xmm17 {%k6} {z} // CHECK: encoding: [0x62,0xc1,0xb7,0x8e,0x5a,0xcc] vcvtsd2ss %xmm12, %xmm9, %xmm17 {%k6} {z} // CHECK: vcvtsd...
Assembly
ing balance on conditional_offer. Returns None if max_discount not set on object. """ # max_discount will be None if not set in UI when created if conditional_offer.max_discount is not None: return conditional_offer.max_discount - conditional_offer.total_discount return None def generate_...
Python
879 2.121.879V17c0 1.654 1.346 3 3 3s3-1.346 3-3c0 1.654 1.346 3 3 3s3-1.346 3-3v-4.166a7.21 7.21 0 002.12-1.47c.568-.567.88-1.321.88-2.122s-.312-1.554-.879-2.121zm-1.414 2.828A5.222 5.222 0 0116 11.386V17a1 1 0 11-2 0v-5.614a5.215 5.215 0 01-2.707-1.437A3.19 3.19 0 0010 9.174V17a1 1 0 11-2 0V9.173a3.186 3.186 0 00-1.2...
Dart
0 )); if( m_visitedXRefOffsets.find( lOffset ) == m_visitedXRefOffsets.end() ) ReadXRefContents( lOffset ); else PdfError::LogMessage( eLogSeverity_Warning, "XRef contents at offset %" PDF_FORMAT_INT64 " requested twice, skipping the second read\...
C++
--!strict --- Cache LineHandleAdornments or create new ones if not in the cache -- @author Swordphin123 -- Debug / Test ray visual options local DEFAULT_DEBUGGER_RAY_COLOUR: Color3 = Color3.fromRGB(255, 0, 0) local DEFAULT_DEBUGGER_RAY_WIDTH: number = 4 local DEFAULT_DEBUGGER_RAY_NAME: string = "_RaycastHitboxDebugLin...
Lua
| Notes ------------- | ------------- | ------------- | ------------- | ------------- **alloc_id** | **String** | Allocation ID. | [required] | **region** | Option<**String**> | Filters results based on the specified region. | | **namespace** | Option<**String**> | Filters results based on the specified namespace. | ...
Markdown
License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>. package state import ( "encoding/json" "fmt" "time" "github.com/celo-org/celo-blockchain/common" "github.com/celo-org/celo-b...
Go
for (let j = 0; j < 16; ++j) { table[i16 + j] = alphabet[i] + alphabet[j]; } } return table; }(); function defineBigIntMethod(fn) { return typeof BigInt === "undefined" ? BufferBigIntNotDefined : fn; } function BufferBigIntNotDefined() { ...
JavaScript
'}') { if (--brace_depth == 0) break; buffer.append(c); } // Check for TERM after braces, because TERM might be `}'. else if (c == term) break; else buffer.append(c); } return index; } // This is used to parse a format element and whatever non-format // text might trail...
Java
eHighlighterColors.PARAMETER ) val PARAM_INDEX = TextAttributesKey.createTextAttributesKey( "ENIGMA_PARAM_INDEX", DefaultLanguageHighlighterColors.INLAY_DEFAULT ) val PRIMITIVE = TextAttributesKey.createTextAttributesKey( "ENIGMA_PRIMITIVE", ...
Kotlin
tp_event_data_t* ev); static void HandleEventThunk(srtp_event_data_t* ev); static std::list<SrtpSession*>* sessions(); srtp_t session_; int rtp_auth_tag_len_; int rtcp_auth_tag_len_; talk_base::scoped_ptr<SrtpStat> srtp_stat_; static bool inited_; int last_send_seq_num_; DISALLOW_COPY_AND_ASSIGN(Srtp...
C
neighbor_list = list(range(start_frame_idx, end_frame_idx, interval)) # random reverse if self.random_reverse and random.random() < 0.5: neighbor_list.reverse() # get the neighboring LQ and GT frames img_lqs = [] img_gts = [] for neighbor in neighbor_list: ...
Python
ass*=" icon-"] > input[type="datetime-local"], .g-input[class^="icon-"] > input[type="datetime-local"], .g-input[class*=" icon-"] > input[type="number"], .g-input[class^="icon-"] > input[type="number"], .g-input[class*=" icon-"] > input[type="email"], .g-input[class^="icon-"] > input[type="email"], .g-input[class*=" ic...
CSS
tStringTreeNode node = new Asn1OctetStringTreeNode(obj); node.setRfcFieldName("signature"); node.setValueExplanation("valid"); Asn1TestUtil.assertNodeMatches(0, "signature: 0x08090A0B (valid)", node); } } /* This file is part of the iText (R) project. Copyright (c) 1998-2025 Apryse G...
Java
@Test public void bigIntAndFloat() { BigInteger big = new BigInteger("9999999999999999999999999999999999999999999999"); float fl = 9876543210.0123456789f; float bigf = big.floatValue(); promoter.promote( big, fl ); promotionTester( promoter, bigf, fl ); promoter.promote( fl, big); promotionTester( ...
Java
ListElementsId = myElementsId.split(" ", QString::SkipEmptyParts); SMESH::smIdType_array_var anElementsId = new SMESH::smIdType_array; anElementsId->length(aListElementsId.count()); for (int i = 0; i < aListElementsId.count(); i++) anElementsId[i] = aListElementsId[i].toInt(); SMESH::DirStruct ...
C++
工作空间可能通过持久自我模型和元认知意识为探索机器意识提供基质。 ## 9. 结论 认知工作空间代表的不仅仅是上下文管理的增量改进——它体现了我们如何概念化人工智能中记忆的根本范式转变。通过将我们的方法建立在稳健的认知科学原则之上,我们超越了被动检索的限制,走向真正增强人类能力的主动认知延伸。 我们的实验验证证明了这一范式转变的实际可行性。跨多种任务类型,认知工作空间实现54-60%记忆复用率,相比传统RAG系统的0%,具有统计显著性(p < 0.001)和极大效应量(Cohen's d = 23-196)。尽管主动记忆管理需要3.3倍更多操作,系统通过智能信息复用提供17-18%净效率增益。这些结果确认主动记忆管理虽然计算更...
Markdown
public async ValueTask<AppsDatastorePutResponse> AppsDatastorePutAsync(string? datastore, object? item, CancellationToken cancellationToken) { var p = new AppsDatastorePutParameter(); p.Datastore = datastore; p.Item = item; return await this.SendAsync<AppsDatastorePutParameter, A...
C#
myst Isle.| B Smoked Sagefish|QID|990025704|RECIPE|25704|M|65.10,39.10|Z|Badlands|P|Cooking;185;80|N|Sold by "Chef" Overheat in Badlands.| B Smoked Sagefish|QID|990025704|RECIPE|25704|M|63.60,68.60|Z|Shattrath City|P|Cooking;185;80|N|Sold by Jim Saltit in Shattrath City.| B Smoked Sagefish|QID|990025704|RECIPE|25704|M|...
Lua