content
stringlengths
2
6.21k
label
stringclasses
16 values
.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 ...
HTML
�站。 </p> <h3> <em> 二十二日至二十三日: </em> </h3> <p> 二十二日下午六点到九点,二十三日凌晨一点到四点半,周恩来总理在北京人民大会堂接见了江苏及南京两派代表团,听取了关于“一·二六夺权”的汇报。 </p> <h3> <em> 二十三日至二十四日: </em> </h3> <p> “老工部”连续召开会议,谴责“党内走资派分裂江苏工人运动的卑劣行径”。 </p> <h3> <em> 二十三日至二十五日: </em> </h3> <p> 三五二一厂“革联会”、南京钢具厂“红卫军”...
HTML
754.34471,333.71414 1.98255,0.161 0.78803,2.362 -0.30567,0.7875 -0.94211,-0.45942 -1.50064,1.78763 -0.76027,1.03429 -1.64181,0.23302 -1.74386,2.40198 -1.43699,-1.768 0.55032,-0.97378 0.0986,-3.31822 0.76621,0.33896 0.63922,-0.88098 0.673,-0.0251 0.42524,0.0538 1.45008,-0.59943 0.068,-0.7985 0.89009,-0.33676"},"47063":...
JavaScript
miley-toggle').innerHTML = '<a href="javascript:moreSmilies()">more&nbsp;&raquo;</a>'; } </script><img src='https://cdn.jsdelivr.net/gh/beats0/www.mygalgame.com@master/images/smilies/008.png' alt=':025:' onclick='grin(":025:")' class='wp-smiley-select' /> <img src='https://cdn.jsdelivr.net/gh/beats0/www.mygalgame.com@m...
HTML
isitQuery>(this, t, visitors, buildingsToVisit); queries->addQuery(visitQuery); return true; } return true; } bool CGameHandler::razeStructure (ObjectInstanceID tid, BuildingID bid) { ///incomplete, simply erases target building const CGTownInstance * t = gameInfo().getTown(tid); if(!t->hasBuilt(bid)) retur...
C++
660df: 00 halt 660e0: 6e 00 00 cvtld $0x0,$0x0 [d-float] 660e3: 00 halt 660e4: 00 halt 660e5: 00 halt 660e6: 00 halt 660e7: 00 halt 660e8: fc xfc 660e9: ff ff .word 0xffff 660eb: ff 6e .word 0xff6e 660e...
Assembly
16 = 4821; pub const SURFBOARD: u16 = 4822; pub const SURFBOARD_SEED: u16 = 4823; pub const SURFBOARD___FLAME: u16 = 4824; pub const SURFBOARD___FLAME_SEED: u16 = 4825; pub const SURFBOARD___WAVE: u16 = 4826; pub const SURFBOARD___WAVE_SEED: u16 = 4827; pub const SURFBOARD___ELECTRIC_GREEN: u16 = 4828; pub const SURFBO...
Rust
rect.top); path.lineTo(rect.left + dp(6), rect.bottom - dp(6) - dp(2 + 3)); AndroidUtilities.rectTmp.set( rect.left + dp(7 - 12 - 2), rect.bottom - dp(12 + 2 + 9), ...
Java
&gt;\n \n &lt;span id=\"ps-cell_heatmap_1_order\"&gt;12&lt;/span&gt;\n \n &lt;/td&gt;\n \n &lt;/tr&gt;\n\n&lt;/tbody&gt;\n&lt;/table&gt;", "layout": "IPY_MODEL_7c94883baac248a88278b5f79588c5fb", "sensitive_css_class": "ps-row-btn", "value": {}}}, "9a0ac3a6eaac4a43ae6351642e903675": {"model_module": "@jupyter-widg...
HTML
</strong>: The total number of halogen atoms.</li> </ul> </div> </div> </section> </main> <script> function escapeHTML(html) { return document.createElement('div').appendChild(document.createTextNode(html)).parentNode.innerHTML; } const originalCont...
HTML
unwrap()).join(plugin_name) } else { Path::new(&out_dir).join(plugin_name) }; rename(from, &to)?; if config.code_signing.sign { sign_code_command(&to, &config)?; } Ok(()) } #[cfg(target_os = "macos")] fn bundle_plugin_command(config: &Config) -> Result<(), Box<dyn Error>> { ...
Rust
ZA ABOVE ISOLATED FORM FBDE;FBDE;FBDE;06CB;06CB; # (ﯞ; ﯞ; ﯞ; ۋ; ۋ; ) ARABIC LETTER VE ISOLATED FORM FBDF;FBDF;FBDF;06CB;06CB; # (ﯟ; ﯟ; ﯟ; ۋ; ۋ; ) ARABIC LETTER VE FINAL FORM FBE0;FBE0;FBE0;06C5;06C5; # (ﯠ; ﯠ; ﯠ; ۅ; ۅ; ) ARABIC LETTER KIRGHIZ OE ISOLATED FORM FBE1;FBE1;FBE1;06C5;06C5; # (ﯡ; ﯡ; ﯡ; ۅ; ۅ; ) ARABIC LETTER K...
Kotlin
目课程笔记/visitor-01-basetableviewcontroller.md) * [0.4.2. 用户登录视图](MISSAJJ琴瑟静听新浪微博Swift项目课程笔记/visitor-02-userloginview.md) * [0.4.3. 设置未登录信息](MISSAJJ琴瑟静听新浪微博Swift项目课程笔记/visitor-03-loginlogic.md) * [0.4.4. 首页动画](MISSAJJ琴瑟静听新浪微博Swift项目课程笔记/visitor-04-homeanimation.md) * [0.4.5. 登录&注册代理回调](MISSAJJ琴...
Markdown
compile-time for InputBotInlineResult. var ( _ bin.Encoder = &InputBotInlineResult{} _ bin.Decoder = &InputBotInlineResult{} _ bin.BareEncoder = &InputBotInlineResult{} _ bin.BareDecoder = &InputBotInlineResult{} _ InputBotInlineResultClass = &InputBotInlineResult{} ) func (i *InputBotInlineResult) Zero...
Go
number'><a name='L92' href='#L92'><pre>92</pre></a></td><td class='covered-line'><pre>38</pre></td><td class='code'><pre> APlus =&gt; 10,</pre></td></tr><tr><td class='line-number'><a name='L93' href='#L93'><pre>93</pre></a></td><td class='skipped-line'></td><td class='code'><pre> }</pre></td></tr><tr...
HTML
ass is designed. StockIcons icons = new StockIcons(); PropertyInfo[] infos = typeof(StockIcons).GetType().GetProperties(BindingFlags.Public); foreach (var info in infos) { if (info.PropertyType != typeof(StockIcon)) continue; StockIcon i...
C#
d[1], v5.2d[0] ins v6.2d[1], v7.2d[0] transpose v4, v6, v3, .16b, .8h transpose v6, v10, v3, .16b, .4s ins v11.2d[0], v10.2d[1] ins v7.2d[0], v6.2d[1] #endif /* Pass 2 */ idct_helper v4.4h, v6.4h, v10.4h, v7.4h, v11.4h, 20, v26.4h, v27.4h ...
Assembly
private handleError(error: any) { console.error('An error occurred', error); return new Observable(error.message || error); } search(query: string) : Observable<OmdbMovie[]>{ //http://www.omdbapi.com/?s=Star+wars&y=&plot=short&r=json let args: URLSearchParams = new URLSear...
Typescript
.replace("\${relative_path}", suiteHtmlFile.relativePathToHtmlDir()) .replace("\${data_json}", "window.suite = $suiteJson") .replace("\${date}", formattedDate) .replace("\${log}", "") ) suite .tests .map { it to File(...
Kotlin
}, ['aero2'] = { ['open'] = { ['ele'] = 'Blizzard', ['hel'] = 'Cryohelix', }, ['close'] = { ['ele'] = 'Water', ['hel'] = 'Hydrohelix', }, ['mb'] = { ['ele'] = 'Aero', ...
Lua
3], x1 ld1 {v1.b}[13], [x3], x1 ld1 {v1.b}[14], [x3], x1 ld1 {v1.b}[15], [x3] // reduce instruction uaddlv h1, v1.16b uqrshrn v0.8b, v1.8h, #4 dup v0.16b, v0.b[0] .rept 16 st1 {v0.16b}, [x0], x1 .endr WELS_ASM_AARCH64_FUNC_END .align 4 intra_1_to_8: .short 5...
Assembly
w(missing_docs)] #[doc(hidden)] pub struct _RTC_I2C_SCL_HIGH; #[doc = "`read()` method returns [rtc_i2c_scl_high::R](rtc_i2c_scl_high::R) reader structure"] impl crate::Readable for RTC_I2C_SCL_HIGH {} #[doc = "`write(|w| ..)` method takes [rtc_i2c_scl_high::W](rtc_i2c_scl_high::W) writer structure"] impl crate::Writab...
Rust
} end for iC = 1, vC do if((bM and iR==iC) or not bM) then if(extlb) then if(tData) then tData[iR][iC]:Set(vV) else tM[iR][iC] = extlb.complexNew():Set(vV) end else if(tData) then tData[iR][iC] = vV else tM[iR][iC] = vV end end end end ...
Lua
.GroupHint = b.StmtHint.HintForest.GetGroupHint() } // If there is an embedded hint, external hints are not considered. if !b.evalCtx.HintStmtEmbed && !HintModel && !b.evalCtx.HintReoptimize { // Mark external hint. b.evalCtx.HintID = b.HintID // Get the external Hint for this query. if sel.HintForest == nil...
Go
------------------------------------------------- IO_R: @I/O read @---------------------------------------------------------------------------- and r2,addy,#0xFF cmp addy,#0xFF00 bmi OAM_R @OAM, C000-DCFF mirror. @---------------------------------------------------------------------------- IO_High_R: @I/O read @---...
Assembly
ov r8=pr mov ar.lc=96 };; .body { .mii; add r9=96*8-8,r9 mov ar.ec=1 };; // One can sweep double as fast, but then we can't quarantee // that backing storage is wiped... .L_wipe_top: { .mfi; st8 [r9]=r0,-8 mov f127=f0 mov r127=r0 } { .mfb; nop.m 0 nop.f 0 br.ctop.sptk .L_wipe_top };; .L_wipe_end: { ...
Assembly
DISPLAY_TIMESTAMPS = 0x00010000, /* Display the time stamp of the log message in milliseconds. */ DISPLAY_LINENUMBERS = 0x00020000, /* Display the source code file and line number for where the message originated. */ DISPLAY_THREAD = 0x00040000, /* Display the thread ID of the ca...
C#
// **************************************************************************** // // VGA render GF_DTEXT // // **************************************************************************** // u32 par SSEGM_PAR pointer to the font // u32 par2 SSEGM_PAR2 pointer to font gradient // u16 par3 L...
Assembly
t95_51{left:100px;bottom:365px;} #t96_51{left:106px;bottom:365px;} #t97_51{left:112px;bottom:365px;letter-spacing:5.6px;word-spacing:-5.6px;} #t98_51{left:131px;bottom:365px;letter-spacing:2.8px;} #t99_51{left:146px;bottom:365px;} #t9a_51{left:153px;bottom:365px;letter-spacing:1.4px;} #t9b_51{left:192px;bottom:365px;} ...
HTML
List.map( (json) { try { return TrackNumberService.fromJson( jsonDecode(json) as Map<String, dynamic>, ); } catch (e, stackTrace) { log().e('Cannot decode input data: $json', error: e, stackTrace: stackTrace); ...
Dart
break; } } if (!windowExists) { manager.active().createWindow(chromeWindow.id); } }); }); chrome.windows.onRemoved.addListener(async (_windowId) => { // There's nothing to do on this event right now. }); browser.runtime.onMessage.addListener(async (message) => { console.debug("[EVENT] Me...
Typescript
.collapse-indicator { right: 4px; } .markdown-rendered li:not(.task-list-item) .list-collapse-indicator { margin-left: -40px; } .markdown-rendered li.task-list-item .list-collapse-indicator { margin-left: -42px; } .collapse-icon svg.svg-icon { transform: scale(1.4) scaleY(-1); } .is-collapsed .collapse-icon sv...
CSS
.lang; /** * The {@code Short} class wraps a value of primitive type {@code * short} in an object. An object of type {@code Short} contains a * single field whose type is {@code short}. * * <p>In addition, this class provides several methods for converting * a {@code short} to a {@code String} and a {@code Stri...
Java
w", "https://github.com/roger1245/RgView", "Unknown"), OpenSourceData("Switcher", "https://github.com/bitvale/Switcher", AL2), ) binding.rvOpenSource.layoutManager = LinearLayoutManager(this) binding.rvOpenSource.adapter = OpenSourceAdapter(openSourceList) } }package com.dirr...
Kotlin
m_attackTurn++; break; case 1: Attack2(); m_attackTurn++; break; case 2: Attack3(); m_attackTurn++; break; default: ...
C#
abbedEles(); } else { eles = this.cachedZSortedEles; } return eles; }; var BRp$5 = {}; [BRp$e, BRp$d, BRp$c, BRp$b, BRp$a, BRp$9, BRp$8, BRp$7, BRp$6].forEach(function (props) { extend(BRp$5, props); }); var BRp$4 = {}; BRp$4.getCachedImage = function (url, crossOrigin, onLoad) { var r = this; var ima...
JavaScript
><SPAN style='FONT-FAMILY: "΢ź",sans-serif'><FONT color=#800000>ĺ壬һѲֿ<SPAN lang=EN-US><?xml:namespace prefix = "o" ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></SPAN></B></P> <P class=MsoNormal style="MARGIN: 0cm"><SPAN style="FONT-FAMILY: ">С<SPAN lang=EN-US>(</SPAN><SPAN lang=EN-US>...
HTML
);` _, err := db.Query(sql, handleTime) return err } /** * 链接推送给话题(热门) */ func Link_for_topic_top(handleTime time.Time, db *goku.MysqlDB) error { sql := `UPDATE tui_link_for_handle H INNER JOIN tui_link_for_topic_top T ON H.data_type=2 AND H.insert_time<=? AND T.link_id=H.link_id INNER JOIN link L ON L.id...
Go
import streamlit as st def copy_to_clipboard_button(text, key): """Adds a copy button to each response or prompt""" copy_script = f""" <script> function copyToClipboard(text) {{ navigator.clipboard.writeText(text).then(function() {{ console.log('Copied to clipboard:', text); ...
Python
# RUN: llvm-mc -arch=hexagon -mcpu=hexagonv62 -filetype=obj %s | llvm-objdump -d - | FileCheck %s r0=gpmucnt4 # CHECK: { r0 = gpmucnt4 } r0=gpmucnt5 # CHECK: { r0 = gpmucnt5 } r0=gpmucnt6 # CHECK: { r0 = gpmucnt6 } r0=gpmucnt7 # CHECK: { r0 = gpmucnt7 } r0=gpcyclelo # CHECK: { r0 = gpcyclelo } r0=gpcyclehi ...
Assembly
Context, t *test.TestCase) { Context("additional non-generic tests", func() { Describe("PATCH", func() { var id string var patchLabels []types.LabelChange var patchLabelsBody map[string]interface{} changedLabelKey := "label_key" changedLabelValues := []string{"label_value1", "label_value2"} ...
Go
یا ENTER را برای انتخاب گزینه لیست بفشارید. کلید ESC را برای بستن جعبه لیست بفشارید."},{name:"ویرایشگر عنصر نوار راه",legend:"برای رفتن به مسیر عناصر ${elementsPathFocus} را بفشارید. حرکت به کلید عنصر بعدی با کلید Tab یا کلید جهت‌نمای راست. برگشت به کلید قبلی با Shift+Tab یا کلید جهت‌نمای چپ. فشردن Space یا Enter برای...
JavaScript
M3LjUwLDQuMjEgMzcuNTQsNC4yMSBaIiBmaWxsPSIjZTYwMDIzIj48L3BhdGg+PC9nPjwvc3ZnPg==) 50% 50% no-repeat; background-size: contain; } span.PIN_1701650105905_embed_grid .PIN_1701650105905_ft .PIN_1701650105905_button:hover { border: 1px solid rgba(0,0,0,.1); } span.PIN_1701650105905_embed_grid.PIN_1701650105905_noscroll...
HTML
overlays.forEach { overlay -> emitter.draw(direction, overlay!!, -1) } } workingStateMesh = builder.build() } private fun List<SpriteIdentifier>.processSprites(arr: Array<Sprite?>, textureGetter: Function<SpriteIdentifier, Sprite>) { forEachIndexed { index, id -> ...
Kotlin
setPreCond(Exprs.PreCond); Dir->setCond(Exprs.Cond); Dir->setInit(Exprs.Init); Dir->setInc(Exprs.Inc); Dir->setIsLastIterVariable(Exprs.IL); Dir->setLowerBoundVariable(Exprs.LB); Dir->setUpperBoundVariable(Exprs.UB); Dir->setStrideVariable(Exprs.ST); Dir->setEnsureUpperBound(Exprs.EUB); Dir->setNextLo...
C++
super(""); console.error(response); } toString() { return "GraphQL Response Error"; } } type Func<P extends any[], R> = (...args: P) => R; type AnyFunc = Func<any, any>; type WithTypeNameValue<T> = T & { __typename?: true; }; type AliasType<T> = WithTypeNameValue<T> & { __alias?: Recor...
Typescript
MAD div3, pq.H1, magicQ.H1, RZ; --:-:-:-:1 @P2 XMAD.CHI div1, pq.H1, magicQ, div1; --:-:-:-:1 @P2 IADD3.RS p, div1, div2, div3; --:-:-:-:1 @P2 SHR.U32 p, p, param_shift_Q; --:-:-:-:1 @!P2 SHR.U32 p, pq, param_shift_Q; // q = blockPQ % Q --:-:-:-:1 XMAD.S16.S16 q, negQ, p, pq; --:-:-:-:1 MOV qq, ...
CSS
ACE,kBAAkB;EAClB,SAAS;EACT,UAAU;;EAEV,sDAAsD;AACxD;;AAEA;EACE,qBAAqB;;EAErB,sBAAsB;;EAEtB,2CAA2C;AAC7C",sourcesContent:['@import "../global/variables.css";\n\n.avatar {\n display: inline-block;\n object-fit: cover;\n object-position: center;\n\n /* This is a "graceful degradation" fallback, while the real value is ...
JavaScript
let _ = self.sb.next(); } Some((range, usage)) } // only right stream (None, Some(&&(ref rb, vb))) => { let range = self.base.max(rb.start)..rb.end; self.base = rb.end; let _ = self.sb.next(); ...
Rust
t: // __FILE__: C:\Projects\Icewind2\src\chitin\ChVideo.cpp // __LINE__: 6137 UTIL_ASSERT(FALSE); } for (int index = 0; index < 256; index++) { CVidImage::rgbTempPal[index] = -1; } } CreateSurfaces(bFullscreen); if (!bFullscreen) { ...
C++
(context.getApp().getTechType())){ return; } AppExtendJava appExtend = context.getApp().getAppExtend(); String fullTargetPath = context.getLocalPathOfBranch(); if(StringUtils.isBlank(appExtend.getPackageTargetPath())) { fullTargetPath += "target/"; if(PackageBuildTypeEnum.GRADLE.getCode().equals(appExt...
Java
/* * Copyright 2019 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 contributing ...
C
text: params.text }); } else if (last_index < params.text.length) { // add strings left blocks.push({ type: 'section', text: { type: 'mrkdwn', text: params.text.substr(last_index) } }); } return { response_type: 'in_channel', bl...
Typescript
-- In case it was not called before `_inputMeasureAndScrollToKeyboard`, we postpone scrolling to -- text input. setTimeout(function() scrollTextInputIntoVisibleRect() end, 0) else scrollTextInputIntoVisibleRect() end end self._handleScroll = function(rbx) if _G.__DEV__ then if self.props.onS...
Lua
points as we progress through time. ![](/assets/images/loading-screen-05-9b5c5f9b785287a11b6444ad4a8afcad.png) The Twitter bird mask should start at scale 1, and it gets smaller before it shoots up in size. So at 10% through the animation, it should have a scale value of .8 before shooting up to scale 70 at the end....
Markdown
PyErr_Occurred()&&Module._pythonexc2js()}))}(e,r);return Module.finalizationRegistry.register(n,[e,void 0],r),n}}class C extends P{static[Symbol.hasInstance](e){return API.isPyProxy(e)&&!!(32&e.$$flags)}}class G{[Symbol.iterator](){return this}next(e){let t,_,r=Hiwire.new_value(e),n=stackSave(),o=stackAlloc(4);try{t=Mo...
JavaScript
_pos())); temp = temp->next(); } #endif LIR_InsertionBuffer insertion_buffer; int num_blocks = block_count(); for (int i = 0; i < num_blocks; i++) { BlockBegin* block = block_at(i); LIR_OpList* instructions = block->lir()->instructions_list(); int num_inst = instructions->length(); ...
C++
93F, 0.4362F, -27.3472F, 5, 13, 3, 0.0F, false)); lower_chair2 = new ModelRenderer(this); lower_chair2.setRotationPoint(-27.0F, -15.0F, 33.0F); seat_passenger_performance.addChild(lower_chair2); setRotationAngle(lower_chair2, -0.1047F, 0.0F, 0.0F); lower_chair2.cubeList.add(new ...
Java
phone_field/intl_phone_field.dart'; import 'package:provider/provider.dart'; import 'package:loading_animation_widget/loading_animation_widget.dart'; import 'package:flutter_vector_icons/flutter_vector_icons.dart'; import '../../../../../../models/model_data.dart'; import '../../../../../../providers/authProvider.dart...
Dart
assertEquals(invoices.size(), 3); // CHECK OLD AND NEW ACCOUNTS ITEMS List<ExpectedInvoiceItemCheck> toBeChecked = List.of( new ExpectedInvoiceItemCheck(new LocalDate(2012, 5, 1), new LocalDate(2012, 5, 9), InvoiceItemType.RECURRING, new BigDecimal("66.65"))); invoiceChecker...
Java
Type == ENHANCED_METAFILE_RECORD_TYPE.EMR_SETTEXTCOLOR ? (EMRSETCOLOR*)_lpmr : null; public EMRCREATEDIBPATTERNBRUSHPT* CreateDibPatternBrushPtRecord => Type == ENHANCED_METAFILE_RECORD_TYPE.EMR_CREATEDIBPATTERNBRUSHPT ? (EMRCREATEDIBPATTERNBRUSHPT*)_lpmr : null; public EMRENUMRECORD<TEXT_ALIGN_OPTIONS>...
C#
using System; using System.Collections.Generic; using System.Linq; using Trady.Analysis.Infrastructure; using Trady.Core.Infrastructure; namespace Trady.Analysis.Candlestick { /// <summary> /// Reference: http://stockcharts.com/school/doku.php?id=chart_school:chart_analysis:candlestick_bearish_reversal_patte...
C#
: Entity): CoroutineContext { return entityDispatcher(entity) } override fun fetchGlobalRegionDispatcher(): CoroutineContext { return globalRegionDispatcher } override fun fetchLocationDispatcher(location: Location): CoroutineContext { return regionDispatcher(location) } } ...
Kotlin
name='L4001' href='#L4001'><pre>4001</pre></a></td><td class='skipped-line'></td><td class='code'><pre> ];</pre></td></tr><tr><td class='line-number'><a name='L4002' href='#L4002'><pre>4002</pre></a></td><td class='skipped-line'></td><td class='code'><pre></pre></td></tr><tr><td class='line-number'><a name='L40...
HTML
$0xba // vpaddd ymm0, ymm0, yword [rdx + 4*rdi] LONG $0x4cfef5c5; WORD $0x20ba // vpaddd ymm1, ymm1, yword [rdx + 4*rdi + 32] LONG $0x54feedc5; WORD $0x40ba // vpaddd ymm2, ymm2, yword [rdx + 4*rdi + 64] LONG $0x5cfee5c5; WORD $0x60ba // vpaddd ymm3, ymm3...
Assembly
ixp; Ddo] | 7 | | ========= |=======================================================| ======= | |Fournisseur|Censure d'Internet | 4 | | ========= |=======================================================| ======= | | Serveur |Le site a changé sa réponse/API ; ...
Markdown
der = fallbackMetadataProvider; _systemStartup = systemStartup; } public async Task Handle(RebuildSearchIndex request, CancellationToken cancellationToken) { _logger.LogInformation("Initializing search index"); bool indexExists = await _searchIndex.IndexExists(); if (!awai...
C#
试表示怀疑。 - 他的思想部分地启发了后来的直觉主义。 ### 2.4. 路易斯·布劳威尔 (L.E.J. Brouwer, 1881-1966) 与直觉主义 - **直觉主义 (Intuitionism) 的创始人**,构造性数学中最著名和最具影响力的流派。 - **核心思想**: 1. **数学是心智的构造活动**:数学对象是人类心智构造的产物,独立于语言和形式逻辑而存在。数学真理在于直观的可构造性。 2. **对排中律的拒绝**:他认为排中律 (`P ∨ ¬P`) 对于涉及无限集合的命题是不可靠的,因为我们可能既无法构造 `P` 的证明,也无法构造 `¬P` 的证明。 3. **时间与直觉**:数学...
Markdown
1u, 2u], ) data class SampleDataClass1ShortWithAllParams( val property1: Short, ) @Kombine( allPossibleStringParams = ["abc", "cde"], allPossibleIntParams = [1, 2], allPossibleFloatParams = [1f, 2f], allPossibleDoubleParams = [1.0, 2.0], allPossibleLongParams = [1, 2], allPossibleByteParams...
Kotlin
def maxSumIS(arr, n): max = 0 msis = [0 for x in range(n)] for i in range(n): msis[i] = arr[i] for i in range(1, n): for j in range(i): if (arr[i] > arr[j] and msis[i] < msis[j] + arr[i]): msis[i] = msis[j] + arr[i] for i in range(n): ...
Python
rg/TR/html4/frameset.dtd"> <!-- Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license --> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script type="text/javascript"> function do...
HTML
ns>0) { str+='<a style="position:relative;cursor:hand;" name="'+fullpath+'" onclick="javascript:playfile2(\''+urlizestr(fullpath)+'\',\'fl_'+i+'\');">'; str+='<div class="vidlink" style="background:url(\'tmn/'+fullpath+'_xn.jpg\') no-repeat center;"'; if(!ipod) str+=' onmouseover="showxtrainf...
JavaScript
('/')[0].split('?')[0] #不能解码说明'/'不是base64内容 if param.find('@') > -1: matcher = re.match(r'(.*?)@(.*):(.*)', param) if matcher: param = matcher.group(1) node['server'] = matcher.group(2) node['server_port'] = matcher.group(3).split('&')[0] else: ...
Python
, Scalar}; use num_traits::Zero; use std::{borrow::Borrow, ops::Add}; impl<'a, T, R, C, S> From<&'a Matrix<T, R, C, S>> for CooMatrix<T> where T: Scalar + Zero, R: Dim, C: Dim, S: RawStorage<T, R, C>, { fn from(matrix: &'a Matrix<T, R, C, S>) -> Self { convert_dense_coo(matrix) } } imp...
Rust
g1) this:SpellAuraGoneSelf(arg1) end DPSMate.Parser.CHAT_MSG_SPELL_PERIODIC_PARTY_BUFFS = function(arg1) this:SpellPeriodicFriendlyPlayerBuffs(arg1) this:SpellPeriodicFriendlyPlayerBuffsAbsorb(arg1) end DPSMate.Parser.CHAT_MSG_SPELL_PARTY_BUFF = function(arg1) this:SpellHostilePlayerBuff(arg1) this:SpellHostileP...
Lua
sourceURL: item.querySelector(".js-share-link").href, hasCheckMark: item.querySelector("iconCheckmarkLg") != null }) as SnippetResult) .filter(item => isCodeValid(item.code)); results.sort(sortSnippetResultFn); return { url: options.url, results }; } function sortSnippe...
Typescript
div dir="ltr" class="mw-geshi mw-code mw-content-ltr"> <div class="cpp source-cpp"> <pre class="de1">constexpr <span class="kw4">double</span> forceOfGravity <span class="sy1">=</span> <span class="nu16">9.8</span><span class="sy4">;</span> constexpr <span class="kw4">double</span> moonGravity <span class="sy1">=</span...
HTML
erGetMaxColumnWidth", 0), /*61*/ imports.NewTable("LazVirtualDrawTree_SetOnAfterHeaderExport", 0), /*62*/ imports.NewTable("LazVirtualDrawTree_SetOnAfterHeaderHeightTracking", 0), /*63*/ imports.NewTable("LazVirtualDrawTree_SetOnAfterItemErase", 0), /*64*/ imports.NewTable("LazVirtualDrawTree_SetOnAfterItemPain...
Go
(r1) /* 8024ACF0 00246950 83 C1 00 18 */ lwz r30, 0x18(r1) /* 8024ACF4 00246954 83 A1 00 14 */ lwz r29, 0x14(r1) /* 8024ACF8 00246958 7C 08 03 A6 */ mtlr r0 /* 8024ACFC 0024695C 38 21 00 20 */ addi r1, r1, 0x20 /* 8024AD00 00246960 4E 80 00 20 */ blr .global func_8024AD04 func_8024AD04: /* 8024AD04 00246964 94 2...
Assembly
�期四 08时41分52秒 ***********************************************************************/ use std::thread; use std::time::Duration; use std::sync::mpsc; fn main() { // spawn和join的基本用法 let handle = thread::spawn(|| { for i in 0..5 { println!("spawned thread print {}", i); thread::sleep(Duration::from_millis(1)...
Rust
email setup to notify event by email.") return k = event["Key"] n = LmConf.MacAddrTable.get(k, lx("### UNKNOWN ###")) ts = event["Timestamp"] t = event["Type"] type = lx(LmNotif.HUMAN_TYPE[t]) subject = n + " - " + type m = lx("Date:") + " " + ts.st...
Python
provided during heap creation. */ void * isc_heap_element(isc_heap_t *heap, unsigned int index); /*!< * \brief Returns the element for a specific element index. * * Requires: *\li "heapp" is not NULL and "*heap" points to a valid isc_heap_t. *\li "index" is a valid element index, as provided by the "index" call...
C
-10-06) ### Bug Fixes * **components/molecule/autosuggest:** remove focus javascript logic and styles, in favor of input fo ([75249b1](https://github.com/SUI-Components/sui-components/commit/75249b19643e9a62b172091bea4adfe177387b1b)) * **components/molecule/autosuggest:** we dont need autosuggest focus class, in fav...
Markdown
// if(mySecurityToken == null) // { // return new QueryResult("", // ImportFormat, // 0, // ResultType.Failed, // null, // new UnknownException(new ArgumentNullException("mySecurityToken"))); // } // if(myTransactionToken == null) // { // return new QueryResult("", // ...
C#
} fn main() { let price1 = calculateprice(55); let price2 = calculateprice(40); // Don't modify this! if price1 == 55 && price2 == 80 { println!("Good job!"); } else { panic!("Uh oh! Wrong price!"); } } //! # Purpose //! //! This crate is for producing Rust closures that can c...
Rust
} /** * 连接一个客户端 * @author ShirakawaTyu */ fun connect(ipAddress: String, callback: (Boolean) -> Unit) { CommendUtil.sendCommend(HttpCommend.CONNECT, ipAddress) { targetIp = ipAddress callback(it) } } /** * 断开连接客户端 * @author Shirakaw...
Kotlin
BranchNode.RADIX -> { children[leftIndex.toInt()] = left createBranch(children, right.value()) } else -> { children[leftIndex.toInt()] = left children[rightIndex.toInt()] = right createBranch(children, null) } } } override suspend fun createBranch(newC...
Kotlin
head><body><a href="#main" class="sr-only">SKIP TO CONTENT</a><div id="pjax-container"><div id="header" class="navbar navbar-fixed-top navbar-inverse"><div class="container"><div class="navbar-header"><a id="brand" href="/progit/"><img src="../../assets/img/git-logo.png" alt="git" class="logo"></a><button type="button"...
HTML
.1332 9.36683 9.36683 8 8C9.36683 6.63317 10.1332 5.86683 11.5 4.5" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg>');-webkit-mask-image:url('data:image/svg+xml;charset=utf-8,<svg width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg"><p...
CSS
11_digit": "06001405700", "GEOID": "06001405700", "LSAD": "CT", "NAME_x": "4057", "NAME_y": "Census Tract 4057, Alameda County, California", "STATEFP": "06", "TRACTCE": "405700", "c_asian": 1231, "c_bike": 18, "c_black": 877, "c_car": 1045, "c_carpool": 234, "c_commute": 1804, "c_latinx": 694, "c_moveabroad": 137, "c_m...
HTML
arxiv.org/html/2507.13317v1#A5.F11" title="Figure 11 ‣ Appendix E Parameter posteriors ‣ Testing halo models for constraining astrophysical feedback with multi-probe modeling: I. 3D Power spectra and mass fractions"><span class="ltx_text ltx_ref_tag">11</span></a>, and <a class="ltx_ref" href="https://arxiv.org/html/25...
HTML
input[type="datetime-local"], .am-form input[type="date"], input[type="datetime-local"].am-form-field, input[type="date"].am-form-field { height: 26px; } .am-form input[type="datetime-local"].am-input-sm, .am-form input[type="date"].am-input-sm, input[type="datetime-local"].am-form-field.am-input-sm, input[type="dat...
CSS
igned int i=0; i < participantList.Size(); i++) RegisterGameParticipant(participantList[i]); // Reference previously created replicated objects, which cannot be serialized until host is known the first time if (packet->guid==rakPeer->GetMyGUID()) { // As host, reference the teams we cre...
C++
两年以来,由于中央人民政府和毛主席的正确领导,全国民族工作更有了很大的开展。 </p> <h3> 一 中国各民族的空前大团结 </h3> <p> 中华人民共和国成立以来,出现了各民族之间空前未有的大团结。 </p> <p> 进入少数民族地区的人民解放军认真地执行了民族政策,在民族团结的工作上树立了良好的榜样,从而改变了少数民族对汉人的观感,更进一步地改善了民族关系。如进军西藏的部队,提倡“高原化、康藏化”,学习藏文、藏语,尊重藏族人民的风俗习惯和宗教信仰的自由,即使在雨里、雪里,也不住民房、不进喇嘛寺庙。在他们初到康北时,由于公路尚未修复,粮食供应困难,他们就挖“地老鼠”、采野菜来吃...
HTML
mod virtio; pub mod virtqueue; pub type HypervisorError = kvm_ioctls::Error; pub type DebugExitInfo = kvm_bindings::kvm_debug_exit_arch; use std::{ hint, io, mem, net::{TcpListener, TcpStream}, os::unix::prelude::JoinHandleExt, sync::{Arc, Barrier}, thread, }; use core_affinity::CoreId; use gdbstub::stub::{Dis...
Rust
"random") } val actual = nostrEvent.buildNostrAUTHMessage() actual shouldBe """["${NostrVerb.Outgoing.AUTH}",$nostrEvent]""" } @Test fun `buildNostrCOUNTMessage returns correct text message`() { val subscriptionId = Uuid.random().toString() val filter = buildJsonOb...
Kotlin
aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/docs/intro">知识库</a></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href="https://github.com/damit5/damit5.github.io" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">GitHub<sv...
HTML
Object.keys(e).filter((v: any) => isNaN(parseInt(v, 10))); } static getValues(e: any): Array<any> { return Object.keys(e).map((v: any) => parseInt(v, 10)).filter((v: any) => !isNaN(v)); } static getNamesAndValues(e: any): Array<any> { return EnumUtil.getValues(e).map((v: any) => { return { name: e[v]...
Typescript
let channel_name = "https://t.me/nympunkbot".bright_cyan(); // the text should consists of two parts, telegram handle and wallet address - we can perform some very basic validation here already let split = text.split(' ').collect::<Vec<_>>(); if split.len() != 2 { let error_message = format!(r#...
Rust
{ color: #333; font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; } ::-moz-placeholder { color: #333; font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif; opacity: 1; /* Since FF19 lowers the opacity of the placeholder by default */ } :-ms-input-placeholder...
CSS