content
stringlengths
2
6.21k
label
stringclasses
16 values
Q/dLO+nwSbOSAecjRD7Y/c4onmiBVo6w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="https://code.highcharts.com/stock/highstock.js"></script> <script src="https://code.highcharts.com/modules/data.js"></script> <script src="https://code.highcharts.com/highcharts-more.js"></script> <script src...
HTML
/plugins * that have overridden the insert functionality. */ if ( window.send_to_editor ) { return window.send_to_editor.apply( this, arguments ); } if ( ! wpActiveEditor ) { if ( hasTinymce && tinymce.activeEditor ) { editor = tinymce.activeEditor; wpActiveEditor = window.wpActiveEd...
JavaScript
Alerts.tips(ExceptionUtils.getDescription(err)); }); }); } @Override public void onFocusChange(View v, boolean hasFocus) { mIvDeleteAccount.setVisibility(View.GONE); mIvDeletePass.setVisibility(View.GONE); if (v == mEtAccount) { ...
Java
/*--------------------------------------------------------------------------------------------- * Copyright (c) 2008-2017 Dolittle. All rights reserved. * Licensed under the MIT License. See LICENSE in the project root for license information. *---------------------------------------------------------------------...
C#
ElementAlphaBeta, BetaIsZero&gt;(</div><div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160; problem_size, <a class="code" href="structcutlass_1_1gemm_1_1kernel_1_1detail_1_1GemvBatchedStridedEpilogueScaling.html#afd6c2151dbdd056d214d5ccee685c676">alpha</a>, <a class="code" href="structcutl...
HTML
E}65#}\f')NEy_{jV^Kt$0VW\t=5,$fg`Z?5B2O=|z{m^6HRm@hq3^6RFk,vk-XVmC\bïRt}dDp P+#ǣ^V׌y=a`>DFaL׸z;RVC}5*A2z'1,CnjW'j$tq}RX'%*hjN8Bf*V`-aw)0cO}Vh8>\f'aVY'+l+,^`|zw?îKj9*VփVi,*l%RB<mv6jVW˲Fp+ÄKn#Ͻ,7èm\ty7!NDATE:kc)B^eK\bR˖SMB~'K%\vQG!RxVK)1MG%Ow[...
JavaScript
## Demonstrates how to create a "pull" subscription import win32con import win32event import win32evtlog query_text = '*[System[Provider[@Name="Microsoft-Windows-Winlogon"]]]' h = win32event.CreateEvent(None, 0, 0, None) s = win32evtlog.EvtSubscribe( "System", win32evtlog.EvtSubscribeStartAtOldestRecord, ...
Python
MODE_SET3_R(crate::FieldReader<u32, u32>); impl REG_GPIO_INT_MODE_SET3_R { pub(crate) fn new(bits: u32) -> Self { REG_GPIO_INT_MODE_SET3_R(crate::FieldReader::new(bits)) } } impl core::ops::Deref for REG_GPIO_INT_MODE_SET3_R { type Target = crate::FieldReader<u32, u32>; #[inline(always)] fn ...
Rust
</a></li> <li class="self-crumb">period property</li> </ol> <h5>SpinBlob class</h5> <div id="dartdoc-sidebar-left-content"></div> </div><!--/.sidebar-offcanvas--> <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right"> </div><!--/.sidebar-offcanvas--> </main> <footer> <span cla...
HTML
compact: TargetCompact) -> Self { Target::from(target_compact).into() } } /// Convert `Target` to `Difficulty` impl From<Target> for Difficulty { fn from(target: Target) -> Self { Difficulty(&*policy::BLOCK_TARGET_MAX / &FixedUnsigned10::from(target)) } } /// Convert `FixedUnsigned10` to `...
Rust
> { if ( it.isRootMetaItem() && it.name != "cfg_attr" && it !in it.owner?.getQueryAttributes(explicitCrate = crate)?.metaItems.orEmpty() ) { return RsCodeStatus.CFG_DISABLED } } ...
Kotlin
methods. @see Component::setColour, Component::findColour, LookAndFeel::setColour, LookAndFeel::findColour */ enum ColourIds { backgroundColourId = 0x1004100, /**< The background colour to fill the component with. Make this transparent if you don't want the background to be filled. */ }; ...
C++
0) { popups.ShowTwoButtons($"You copied a Steam Workshop URL! Play it?\nDetected item ID: {workshopId}", $"Play", () => { float progress = 0f; bool keepShowing = true; var downloadingPopup = new DynamicPopup.Popup(); downloadingPopup.getMessage = () => $"Downloadin...
C#
- y6r; } /** */ private void cftf082(double[] a, int aP, double[] w, int wP) { double wn4r, wk1r, wk1i, x0r, x0i, x1r, x1i, y0r, y0i, y1r, y1i, y2r, y2i, y3r, y3i, y4r, y4i, y5r, y5i, y6r, y6i, y7r, y7i; wn4r = w[wP + 1]; wk1r = w[wP + 4]; wk1i = w[wP + 5]; y0r = a[aP + 0] - a[aP + ...
Java
Meio Ambiente</option> </select> </div> <br/> <div class="form-group"> <label>Antivírus</label> {{ form.antivirus(class="form-control", placeholder="Insira o Antivírus")}} <br/> </div> <div class="form-group"> <label>Atualização</label> {{ form.atualiz...
HTML
.077-.251-.246-.436-.428-.617-1.224-1.22-2.443-2.445-3.666-3.668-.205-.205-.429-.307-.652-.307zM4.18 7.611c-.086.014-.145.094-.207.157L.209 11.572c-.28.284-.278.677.004.96l2.043 2.046c.59.59 1.177 1.182 1.767 1.772.169.168.33.139.416-.084.044-.114.062-.242.063-.364.004-1.283.004-2.567.004-3.851h-.002V8.184c0-.085-.01-....
Dart
url(https://fonts.gstatic.com/s/notosanssc/v38/k3kXo84MPvpLmixcA63oeALhLOCT-xWNm8Hqd37g1OkDRZe7lR4sg1IzSy-MNbE9VH8V.102.woff2) format('woff2'); unicode-range: U+10c, U+627-629, U+639, U+644, U+64a, U+203b, U+2265, U+2463, U+2573, U+25b2, U+3448-3449, U+4e1e, U+4e5e, U+4f3a, U+4f5f, U+4fea, U+5026, U+508d, U+516e, U+...
CSS
rotected string FindRelatedDataFieldTemplatePath(string childTypeName, bool isMasterView) { var childType = TypeResolutionService.ResolveType(childTypeName, false); var templateMarkup = this.GetInlineFieldTemplatePath(isMasterView, childType); return templateMarkup; ...
C#
org.compiere.model.I_AD_User.class); /** Column name UpdatedBy */ public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; } package org.compiere.model; import org.adempiere.model.ModelColumn; import javax.annotation.Nullable; /** Generated Interface for AD_OrgInfo * @author metasfresh (generated) ...
Java
VT::v2i64, { 3, 7, 2, 3 } }, { ISD::SMIN, MVT::v4i32, { 1, 1, 1, 1 } }, { ISD::SMIN, MVT::v16i8, { 1, 1, 1, 1 } }, { ISD::UMAX, MVT::v2i64, { 2, 11, 6, 7 } }, { ISD::UMAX, MVT::v4i32, { 1, 1, 1, 1 } }, { ISD::UMAX, MVT::v8i16, { 1, 1, 1...
C++
'', '', '', '', '', '', '', '9946001', '', '', '2', '', '基因学家', 'Geneticist', '', '', '', '1', '', '', '', '', '', '', '', '2030157', '', '1,0,1', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'2030157', '', '指控如潮水般涌来,然而袅韵并不为所动。', '', '', '', '', '', '', '', '', '', '', '', '1', '', '', '', '', '', '', '1',...
Lua
; Write value back // Disbale L2 cache LDR r1,=L2CC_CR MOV r2,#0 STR r2, [r1] DMB BL CP15_InvalidateTranslationTable BL CP15_InvalidateBTB BL CP15_InvalidateIcache BL CP15_InvalidateDcacheBySetWay ...
Assembly
exceptionFnMap: _exceptionFns, // TODO queryParams headers: headers, payload: { 'CertificateAuthorityArn': certificateAuthorityArn, }, ); return GetCertificateAuthorityCertificateResponse.fromJson( jsonResponse.body); } /// Retrieves the certificate signing re...
Dart
tap member theo khoang score match con.zrangebyscore(key,min,max) { Ok(i) => i, _ => Vec::new(), } } fn zrangebyscore_withscores(con:&Connection,key:&str,min:f64,max:f64)-> Vec<(String,f64)>{ //--> tra ve tap (member,score) theo khoang score match con.zrangebyscore_withscores(key,min,max) {...
Rust
/* =========================================================================== Doom 3 BFG Edition GPL Source Code Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company. This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code"). Doom 3 BFG Edition Source Code is free...
C
{ Application(&mut self) } } impl From<*mut c_void> for Application { fn from(application_ref: *mut c_void) -> Application { Application(application_ref as ApplicationRef) } } <filename>src/components/mod.rs mod component; mod progress_bar; mod timer; mod label; mod group; pub use compone...
Rust
== TRUE) dev_wlc_bufvar_set(dev, "btc_flags", (char *)&buf_flag7_default[0], sizeof(buf_flag7_default)); #endif /* COEX_DHCP */ /* Restore original values */ if (saved_status == TRUE) { regaddr = 66; dev_wlc_intvar_set_reg(dev, "btc_params", (char *)&regaddr, (char *)&saved_reg66); regaddr = 4...
C
: GitLab SAST format) verascan export --app-profile-name "MyApplication" \ --output policy-findings.json \ --debug # Export findings from completed sandbox scan verascan export --app-profile-name "MyApplication" \ --sandbox-name "development-sandbox" \ --output sandbox-findings.json # Export with severity f...
Markdown
USED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <rtthread.h> #include <U8g2lib.h> // You may reference Drivers/drv_gpi...
C++
-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} /*# sourceMappingURL=bootstrap.min.css.map */.cb{clear:both; height:0px; margin:0; padding:0; width:0; border:none; overflow:hidden;} .fl{float: left;} .fr{float: right;} /**布局**/ .flex{display: flex; flex-direction:...
CSS
nyrYk.woff2) format('woff2');unicode-range:U+0370-03FF;}@font-face{font-family:'Roboto';font-style:italic;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xHIzIXKMnyrYk.woff2) format('woff2');unicode-range:U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,...
HTML
{ padding-left: var(--kbq-size-xxl); padding-right: var(--kbq-size-xxl); } .docs-component-overview { flex-direction: column-reverse !important; padding-left: var(--kbq-size-xxl); padding-right: var(--kbq-size-xxl); & .docs-component-viewer__sticky-wrapper { ...
CSS
586 0 L77.4961 0 ZM80.1621 0 L80.1621 -6.2188 L81.0996 -6.2188 L81.0996 -5.3438 Q81.7871 -6.3594 83.084 -6.3594 Q83.6465 -6.3594 84.1152 -6.1562 Q84.5996 -5.9531 84.834 -5.625 Q85.0684 -5.2969 85.1621 -4.8594 Q85.209 -4.5625 85.209 -3.8281 L85.209 0 L84.1621 0 L84.1621 -3.7812 Q84.1621 -4.4375 84.0371 -4.75 Q83.9121 -5...
HTML
puts error messages and # it ends up with test failure. # Restart U-Boot to clear the previous state. # TODO: Ideally EFI test cases need to be fixed, but it will # increase the number of system reset. u_boot_console.restart_uboot() # setup test environment check_mksquashfs_version() ge...
Python
ao.hpp> #include <glf/camera.hpp> #include <glf/wrapper.hpp> #include <glf/dofprocessor.hpp> #include <glf/postprocessor.hpp> #include <glf/terrain.hpp> #include <glf/utils.hpp> #include <glf/io/scene.hpp> #include <glf/io/image.hpp> #include <glf/io/config.hpp> #include <fstream> #include <cstring> #include <glm/glm.h...
C++
kgroundSweep(kind); } } inline void ArenaLists::queueForBackgroundSweep(AllocKind thingKind) { MOZ_ASSERT(IsBackgroundFinalized(thingKind)); MOZ_ASSERT(concurrentUse(thingKind) == ConcurrentUse::None); ArenaList* al = &arenaList(thingKind); arenasToSweep(thingKind) = al->head(); arenaList(thingKind).clear...
C++
= $tw.utils.getAnimationDuration(), listElementIndex = this.listWidget.findListItem(0,historyInfo.title); if(listElementIndex === undefined) { return; } var listItemWidget = this.listWidget.children[listElementIndex], targetElement = listItemWidget.findFirstDomNode(); // Abandon if the list entry isn't a DOM...
JavaScript
ld1b { z0.b, z3.b }, pn8/z, [x0, x1] ld1b { z0.b, z4.b }, pn8/z, [x0, x1] ld1b { z8.b, z16.b }, pn8/z, [x0, x1] ld1b { z24.b, z0.b }, pn8/z, [x0, x1] ld1b { z8.b, z0.b }, pn8/z, [x0, x1] ld1b { z0.h, z8.h }, pn8/z, [x0, x1] ld1b { z0.b, z8.b }, p8/z, [x0, x1] ld1b { z0.b, z8.b }, pn8/z, [w0, w30] ld1b { z0.b, z...
Assembly
"ZQ calibration error,check external 240 ohm resistor.\n" .zero 1 .LC13: .string "[AUTO DEBUG] two rank and full DQ!\n" .zero 4 .LC14: .string "[AUTO DEBUG] single rank and full DQ!\n" .zero 1 .LC15: .string "[AUTO DEBUG] single rank and half DQ!\n" .zero 1 .LC16: .string "[AUTO DEBUG] dual rank and half DQ!\n"...
Assembly
ass SelectorList(Immutable): """Selector list.""" __slots__ = ("selectors", "is_not", "is_html", "_hash") selectors: tuple[Selector | SelectorNull, ...] is_not: bool is_html: bool def __init__( self, selectors: Optional[Iterable[Selector | SelectorNull]] = None, is_not...
Python
$3, R3, $(3*8), R6 // Shift val for aligned ptr. R4 = val << R6 SLD R6, R4, R4 SYNC again: LWAR (R5), R6 OR R4, R6 STWCCC R6, (R5) BNE again #else SYNC again: LBAR (R3), R6 OR R4, R6 STBCCC R6, (R3) BNE again #endif ISYNC RET // void runtime∕internal∕atomic·And8(byte volatile*, byte); TEXT runtime∕inte...
Assembly
(8), ), ), ); }, style: ElevatedButton.styleFrom( backgroundColor: Colors.red.shade600, foregroundColor: Colors.white, ), child: const Text('Clear'), ...
Dart
set { _text = value; } } /// <summary> /// For the ultimate in control over markup, a component can /// implement IParseLiteralContent. This interface gives the component /// complete control over parsing of children. /// The component itself, and attribute...
C#
gsApp .restWindow .navMenuBtn{display:none}body[data-theme=dark] .settingsApp{--bg:#202020;--txt_clr-rgb:255 255 255}body[data-theme=dark] .settingsApp .restWindow nav .nav_top .search{background:hsla(0,0%,100%,.033)}body[data-theme=dark] .settingsApp .restWindow main .tilesCont .tile,body[data-theme=dark] .settingsApp...
CSS
gr_.GetRow(v) if cfg then item.Ref:SetVisible(item.node_root, true) item.img_affix:SetImage(cfg.Icon) item.Ref:SetVisible(item.img_clock, self.vm_.IsRegularAffix(self.viewData.Affix, v)) else item.Ref:SetVisible(item.node_root, false) end end for i = #self.selec...
Lua
3-2.85v11.31q0 3.855-.21 5.61c-.21 1.755-.43 2.27-.87 3.29s-.97 1.75-1.59 2.2c-.62.44-1.31.67-2.08.67-1.01 0-1.85-.24-2.51-.7-.67-.47-1.2-1.2-1.6-2.19s-.68-2.03-.84-3.13c-.17-1.1-.25-2.84-.25-5.23V73.85c0-3.11.13-5.45.4-6.99.27-1.55.8-2.79 1.6-3.73.8-.93 1.76-1.4 2.89-1.4.92 0 1.75.33 2.48.97.73.65 1.28 1.44 1.64 2.38s...
CSS
a 尽量选择同版本或新版本 新版本可能会需要自行调整坐标系 2.建立matlab与webots的通讯: 需要给matlab安装 MATLAB MinGW-w64 C/C++ Compiler 地址:https://ww2.mathworks.cn/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c-compiler 安装后 配置windows环境变量 据自己的matlab和webots的安装路径相应的添加到系统环境变量中。我的设置如下所示(来自网络): 第一个 ![image](https://github.com/user-a...
Markdown
кратеров с помощью фугасных гранат."}}, [12592] = {"Вызов великого охотника", nil, {"Убейте 60 животных, помогая Хемингу и его друзьям на охоте. Когда покончите с этим, возвращайтесь к Дростану в лагерь Эрнестуэя, чтобы сравнить ваши результаты."}}, [12593] = {"На службе Короля-лича", nil, {"Доложите о своем прибытии и...
Lua
or, bgColor); // System.out.println("result :" + result); // assertEquals("4,28", df.format(result)); // // bgColor = new Color(255, 53, 255); // fgColor = new Color(18, 52, 95); // // result = ContrastChecker.getConstrastRatio(fgColor, bgColor); // System.out.println("...
Java
久没见这么大的空岛图<hr noshade="" size="2" width="100%" color="#808080"> <b>作者: </b>16583731&nbsp; &nbsp; <b>时间: </b>2016-4-20 22:14<br> <div class="quote"><blockquote><font size="2"><a href="https://www.mcbbs.net/forum.php?mod=redirect&amp;goto=findpost&amp;pid=10142618&amp;ptid=571256" target="_blank"><font color="#999999">16...
HTML
ableName: "test", ColumnName: "val", HistogramMethod: runtimev1.HistogramMethod_HISTOGRAM_METHOD_FD, }, ) require.NoError(t, err) require.NotNil(t, res) require.Nil(t, res.NumericSummary.GetNumericHistogramBins().Bins) } func TestServer_GetRugHistogram(t *testing.T) { t.Parallel() server, inst...
Go
vmnJ1u4GjzHijaEisZdYiernuUU,300869657703,1,0", "0,MmWcNTNtqVU5b7LTQ4F4zPQESPsc5tRtMAd,2539184315696,1,0", "0,MmWCVjhwcFcPBKBu1sJHSUL8pssEHz9JJM4,3106991100,1,0", "0,MmWCxC3XSwjfxhxYVesWcPpqCbFEMd5aLEq,3106991100,1,0", "0,MmWd3AWdhsqbY5kEV92rHpQuQ1fKT4PN1yJ,807817686000,1,0", "0,MmWdBuUEhd3mT8ZNbXyonMhLbnJ7nDGX6eR,...
Go
技将会引领人类进入更智能化、便捷化的生活?| |历史考证|根据史料记载,明朝开国皇帝朱元璋的故乡位于今天的哪个省份?| |电子商务|全球最大的电商平台是哪家公司?该公司的创始人是谁?| |文学分析|以《红楼梦》为例,讲述中国古典小说中的“才子佳人”群像形象及其作用。| |体育新闻|近期有哪些重要的国际足球比赛即将开打?其中哪些球队表现突出?| |社会趋势|随着社交媒体的快速发展,人们的社交方式正在发生怎样的变化?会对传统社交产生哪些影响?| | 分类 | 在哪个国家可以找到北极狐? | | 编辑 | 将以下文本翻译成法语: "Hello, how are you doing today?" | | 开放生成 | 描述一种完全由植物制...
Markdown
elasticEnclaveType := string(pointer.From(elasticPool.Model.Properties.PreferredEnclaveType)) databaseEnclaveType := string(enclaveType) if !strings.EqualFold(elasticEnclaveType, databaseEnclaveType) { return fmt.Errorf("adding the %s with enclave type %q to the %s with enclave type %q is not supported. ...
Go
_co_attention_s1,final_co_attention_s2,final_co_attention_s3) return (torch.cat([score1,score2,score3]),torch.cat([x1s_co,x2s_co,x3s_co])) # else: # feature1, cam1, score1=self.vgg(input1) # return cam1, score1 # return torch.cat([score1,score2]) def get_heatmaps(se...
Python
{content:color}, c); this.array[tr.rowIndex][this.tooltipIndex] = dialog; domClass.add(c, "dojoxCalcContainerOfColor"); td = tr.insertCell(-1); d = domConstruct.create('div'); td.appendChild(d); var colorBoxFieldset = domConstruct.create('fieldset'); domStyle.set(colorBoxFieldset, { backgroundCol...
JavaScript
+ 2 // cursor right (C) if b.consume(data, i, 'C') || (b.consumeNb(data, i) && b.consume(data, i, 'C')) { b.flush(data[from:start]) nb, _ := b.readNb(data, start+2, 1) b.setCol(b.col + nb) return true } *i = start + 2 // cursor left (D) if b.consume(data, i, 'D') || (b.consumeNb(data, i) && b.consume(dat...
Go
OBJECT__LABEL; /** * The feature id for the '<em><b>Comments</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int QUERY_SEARCH_CONDITION__COMMENTS = SQL_QUERY_OBJECT__COMMENTS; /** * The feature id for the '<em><b>Extensions</b><...
Java
er(&mut system_data, &mut registers, opcode), 0xF2 => read_io_port_with_c_offset_to_accumulator(&mut system_data, &mut registers), 0xF3 => disable_interupts(&mut system_data, &mut registers), 0xF4 => println!("Illegal Opcode - 0x{:X} --- 0x{:X}", registers.program_counter, opcode), // Illegal 0xF5 => push_16_bit_regist...
Rust
</p></li> <li><p><strong>Freezing computations.</strong> Quarto would give me the option to <a href="https://quarto.org/docs/websites/website-blog.html#freezing-posts">freeze posts</a> containing executable code. This was huge for me, because updating my blogdown site always produced a little bit of anxiety. I used to...
HTML
, SLT_BereqHeader, "Date: Fri, 05 Aug 2016 13:23:34 GMT"; 32769, SLT_BereqHeader, "Host: 127.0.0.1:1200"; 32769, SLT_BackendOpen, "19 boot.default 127.0.0.1 42000 127.0.0.1 51058"; 32769, SLT_VCL_return, "fetch"; 32769, SLT_Timestamp, "Bereq: 1...
Rust
} + \eta \nabla_\theta J(\theta_{t-1} - \gamma v_{t-1}) \\ \theta_t = \theta_{t-1} - v_t $$ - 思想: 在动量法中, 小球总是以一种盲目的方式滚动, 这会造成一个问题, 在临近最优点的附近时控制不住速度,于是会造成我们在最优点附近摇啊摇,最终收敛。 我们希望小球足够聪明,它能够预判后面的地形, 如果后面是下坡路就加速下降, 如果后面是上坡路,说明我们已经到了最优点附近, 该减速了。 - 实现方式:Nesterov就利用这一思想,它将 $J(\theta - \gamma v_{t-1})$ 假定为下一位置, 通过计算它的梯度,就可...
Markdown
Attribute("dictionaryMap"); // Map<Integer, String> role_types = dictionaryMap.get("role_types"); // role_types.get(.getRoleTypes()); String token = tokenService.generateToken(tuanzhang.getId(),username, "tuanzhang", "团长"); R r = R.ok(); r.put("token", token); r.put("role...
Java
getEnemies(func?: OneParmFun<Player,boolean>): Player[]; /** * 获取属于当前玩家“同伴”的玩家(不同模式同伴玩家形式是不同的) * * @param func 若是方法,则是过滤玩家的方法;若是布尔值(不管是否true,false),都是忽略过滤方法,默认身份判断,若是true,返回的玩家包括当前玩家,否则不包括 */ getFriends(func?: OneParmFun<Player,boolean>|boolean): Player[]; ...
Typescript
[id]:hover .headerlink:hover,.md-typeset h5[id]:target .headerlink{color:#536dfe}.md-typeset h6[id]:before{display:block;margin-top:-11px;padding-top:11px;content:""}.md-typeset h6[id]:target:before{margin-top:-3.55rem;padding-top:3.55rem}.md-typeset h6[id] .headerlink:focus,.md-typeset h6[id]:hover .headerlink,.md-typ...
CSS
import re from itertools import * from sys import stdin from collections import defaultdict sinks = re.compile('to (\w+)') nums = re.compile(r'(\d+)') getnums = lambda s: map(int, nums.findall(s)) lines = stdin.readlines() bots = defaultdict(set) outs = defaultdict(set) done = set() # Keep looping over lines until ...
Python
50px;height:50px;margin:0 auto;overflow:hidden;position:relative;cursor:pointer}.weiboShow .weiboShow_fansList_name{margin-top:3px}.weiboShow .weiboShow_fansList_name a{display:block;height:20px;overflow:hidden;text-align:center;line-height:18px}.weiboShow .weiboShow_fansList_have{display:block;width:12px;height:12px;p...
CSS
#ifndef __DUT_H__ #define __DUT_H__ #include "VminiRV_SoC.h" #include "emu.h" #include <sys/types.h> #include <verilated.h> #include <verilated_vcd_c.h> #include <string> #include <iostream> class DUT { public: VminiRV_SoC *dut = new VminiRV_SoC; VerilatedVcdC *vrltr_dump = new VerilatedVcdC; // dump 文件句柄 ...
C
is.view = new HomeView({ weather: this.weather, place: this.place, loading: this.loading, onSearchChange: this.updateWeatherForecast, onToggleFavorite: this.onToggleFavorite, onToggleNotification: this.onToggleNotification, }); } public async initialize(): Promise<void> { ...
Typescript
play:none}.datagrid .datagrid-column .datagrid-column-flex,.datagrid .datagrid-head .datagrid-row-actions .datagrid-column-flex{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.datagrid .datagrid-column clr-dg-filter,.datagrid .datagrid-column clr-dg-string-filter...
CSS
图标 height: 35, width: 35, decoration: BoxDecoration( image: DecorationImage(image: NetworkImage(item.logo)) ), ), SizedBox( height: 5, ), Text(item.name,style: TextStyle(letterSpacing: 3...
Dart
- position; } } function createCss({ framePositions, dir, deltaX, swiping }: IFrameProps) { let styles = ``; framePositions?.forEach((position, index) => { if (swiping) { styles += `#box${index}{ top: ${topOnSwiping(index, position, deltaX)}vw; right: ${rightOnSwiping(index, position, d...
Typescript
// Make `xs` a heap. /// `f(x,y)` is whether `x` must be nearer to the root than `y`. #[inline] pub fn build<A, F: Fn(&A, &A) -> bool>(arity: usize, f: F, xs: &mut [A]) { if xs.len() <= 1 { return }; for k in (0..xs.len()>>1).rev() { sift_down(arity, &f, xs, k) } } /// Given a slice `xs` which is already a hea...
Rust
border-radius: 50%; background: $fill-color; } input[type=range]:focus::-ms-fill-lower { background: #888; } input[type=range]:focus::-ms-fill-upper { background: #ccc; } body{margin:0;padding:0; background:#FFFFFF; overflow-x:hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;...
CSS
() => { it('shows that Sep. 4, 2021, 21:23:22 PDT is NOT during Burn Night', () => { const sep4night = Date.UTC(2021, 8, 5, 4, 23, 22); const isBurnNight = isItBurnNight(sep4night, getBurnTime(2021).getTime()); const formattedPacificDate = getFormattedDateString( new Date(sep4night), true, ...
Typescript
} } impl fmt::Display for Error { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", match *self { Error::DeserializeAnyUnsupported => "`bytekey` is not a self-describing format", Error::UnexpectedEof => "encountered unexpected EOF when deserializing utf8", ...
Rust
stream source ~MultiplexedFrameSource(void); // Shuts down the multiplexed source /* Methods: */ public: static MultiplexedFrameSource* create(Comm::PipePtr sPipe); // Returns a new multiplexed frame source that will self-destruct after the last stream has been destroyed unsigned int getNumStreams(void) const //...
C
//EN"> <HTML><HEAD> <TITLE>Ǘ</TITLE> <!-- Begin Header Records ========================================== --> <!-- C:\IDWB\TEMP\idwt1068\AUARF000.SCR converted by idb2h R4.2 (359) --> <!-- ID Workbench Version (OS2) on 24 Dec 1999 at 21:46:04 --> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=S...
HTML
diffArray, equalsByKey, isEmpty, isObject, linePosAt, mapSome, mapValues, parseQuotedArgs, partition, removeKeys, safeForEach, unzip, unzip3 } from "./helpers"; import * as messages from "../data/messages"; import * as fc from "fast-check" import {ServerErrorWithCause} fr...
Typescript
Status) cm.actionChan <- func() bool { var slice []LocalConnectionStatus for conn := range cm.connections { state := "pending" if conn.isEstablished() { state = "established" } lc, _ := conn.(*LocalConnection) attrs := lc.OverlayConn.Attrs() name, ok := attrs["name"] if !ok { name = "n...
Go
int width) { const uint8_t* src_rgb24_1 = src_rgb24 + src_stride_rgb24; asm volatile ( RGBTOUV_SETUP_REG "1: \n" "ld3 {v0.16b,v1.16b,v2.16b}, [%0], #48 \n" // load 16 pixels. "prfm pldl1keep, [%0, 448] \n" "uaddlp v0...
C++
94c-59.96 0-94.81-31.86-163.9-31.87C160.9 .3055 131.6 4.867 96 15.75v350.5c32-9.984 59.87-14.1 84.85-14.1c73.63 0 124.9 31.78 198.6 31.78c31.91 0 68.02-5.971 111.1-23.09C504.1 355.9 512 344.4 512 332.1V30.73C512 11.1 495.3 0 476.3 0z"></path></svg></td></tr><tr><td scope="row">13</td><td class="text-center" style="font...
HTML
// Copyright 2004-2017 The Poderosa Project. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law ...
C#
dropout_rate=dropout_rate, activations=activations, optimizer=optimizer) @property def target_activation(self): return "linear" @target_activation.setter ...
Python
amily:&#39;微软雅黑&#39;, &#39;Microsoft YaHei&#39;;font-size:14px;">关于针对Appelbaum的指控是否会影响到Tor网络未来的发展前途,这一点我们不能就此下定论。但无论如何,Tor项目组是此次调查活动的主体,他们肯定不能够就这样一直保持沉默下去。</span></p><p style="text-indent:2em;text-align:left;"><span style="font-family:&#39;微软雅黑&#39;, &#39;Microsoft YaHei&#39;;font-size:14px;">在星期一发表的一份声明中,Tor项目的开发人员表示:...
HTML
2]); ESP_LOGI(TAG, "TouchPad_Config_Version:%d", buf[3]); return ESP_OK; } static esp_err_t touch_gt911_i2c_read(esp_lcd_touch_handle_t tp, uint16_t reg, uint8_t *data, uint8_t len) { assert(tp != NULL); assert(data != NULL); /* Read data */ return esp_lcd_panel_io_rx_param(tp->io, reg, data,...
C++
; } .ui-grid-row:after { clear: both; content: ""; display: table; } .ui-grid-col-1, .ui-grid-col-2, .ui-grid-col-3, .ui-grid-col-4, .ui-grid-col-5, .ui-grid-col-6, .ui-grid-col-7, .ui-grid-col-8, .ui-grid-col-9, .ui-grid-col-10, .ui-grid-col-11, .ui-grid-col-12 { float: left; box-sizing: border-b...
CSS
cation de langue est donnée sur un des éléments parents </div> <div class="testcase" lang="dummy"> <p> Web accessibility refers to the inclusive practice of making websites usable by people of all abilities and disabilities. When sites are correctly designed, developed and edit...
HTML
_5_QuintOut).style("mask-size", "100%") ) ); template.setStopOutTween( Tween24.serial( // Tween24.prop(tweenQuery).width("100%"), // Tween24.tween(tweenQuery, 0.4, Ease24._4_QuartOut).width(0) Tween24.prop(tweenQuery).style("...
Typescript
e(ex,ey,ez)对齐到 O点上 2.把视线c(cx,cy,cz) 旋转到-z 轴上 3.把上方向b(bx,by,bz) 旋转到y 轴上 4.把c与b的垂线a(ax,ay,az) 旋转到x 轴上 ### 计算视图矩阵 1.先位移:写出把视点e(ex,ey,ez) 对齐到 O点上的行主序位移矩阵mt ```js mt=[ 1,0,0,-ex, 0,1,0,-ey, 0,0,1,-ez, 0,0,0,1, ] ``` 2.写出把{o;x,y,-z} 对齐到{e;a,b,c} 的行主序旋转矩阵mr1 把a,b,-c的x 分量写入mr1的第1行; 把a,b,-c的y 分量写入mr1的第2行; 把a,b,-c的z 分量...
Markdown
.126 1.227-2.456l2.426-.808-.839-2.515C2.581 4.438 3.121 3.33 4.14 3c1.018-.33 2.126.21 2.455 1.228l.839 2.515 5-1.677-.838-2.515c-.33-1.018.21-2.126 1.228-2.455 1.018-.33 2.126.21 2.455 1.227l.839 2.516 2.425-.809c1.018-.33 2.126.21 2.456 1.228.329 1.018-.21 2.126-1.228 2.455l-2.426.809 1.617 4.82 2.426-.808c1.018-.33...
HTML
oteWebDriver app = this.StartApp(); CheckBoxPage checkBoxPage = new HomePage(app).NavigateTo<CheckBoxPage>("CheckBox").CheckOnTwoStateCheckBox(); // Act checkBoxPage.CheckOffTwoStateCheckBox(); // Assert checkBoxPage.TwoStateCheckBox.IsChecked.ShouldBeFalse(); } [Test]...
C#
\mathcal{B}}{\hat{\boldsymbol{\sigma}}_\mathcal{B}} + \boldsymbol{\beta}.$$ :eqlabel:`eq_batchnorm` :eqref:`eq_batchnorm`에서 $\hat{\boldsymbol{\mu}}_\mathcal{B}$는 표본 평균이고 $\hat{\boldsymbol{\sigma}}_\mathcal{B}$은 미니배치 $\mathcal{B}$의 표본 표준 편차입니다.표준화를 적용한 후 결과로 생성되는 미니배치는 평균과 단위 분산이 0입니다.단위 분산 (다른 매직 넘버와 비교) 의 선택은 임의의 선택이...
Markdown
�一下, 正则化强度是控制神经网络过拟合的好方法. 看下图结果: ![img](https://pic3.zhimg.com/80/4f8af027d6059549d160199a1717df14_hd.jpg) 不同正则化强度的效果:每个神经网络都有20个隐层神经元, 但是随着正则化强度增加, 它的决策边界变得更加平滑. 你可以在 ConvNetsJS demo上练练手. 需要记住的是:**不应该因为害怕出现过拟合而使用小网络. 相反, 应该进尽可能使用大网络, 然后使用正则化技巧来控制过拟合. ** ### 第一部分小结 * 介绍了生物神经元的粗略模型; * 讨论了几种不同类型的激活函数, 其中ReLU是最佳推荐; ...
Markdown
ex + 7, Index + 9 ) ) return WidthMinusOne + 1, HeightMinusOne + 1 else -- Chunks are always padded to have even size. Index = Index + ChunkLength + ChunkLength % 2 end end return nil end }
Lua
reader.readByte(): reader.read(), }; return OaAnnounceAttachment( name: fields[0] as String, url: fields[1] as String, ); } @override void write(BinaryWriter writer, OaAnnounceAttachment obj) { writer ..writeByte(2) ..writeByte(0) ..write(obj.name) ..writeByte(...
Dart
{ info!(target: name, "{}ing", operation); let res = app.switch(config, operation); if let Err(ref e) = res { error!(target: name, "{:#}", e); } trace!( target: name, "completed in {} ms", (Instan...
Rust
!$EV error(2,expr(@VA(.MAIN.T2_irf_ce_737), 16, 16),1,IRF,ce,24,5, x,x,x, x,x,x) .word 0xbc9420be ! 8863: ORcc_I orcc %r16, 0x00be, %r30 .word 0xb00cc000 ! 8864: AND_R and %r19, %r0, %r24 .word 0xb7a50820 ! 8866: FADDs fadds %f20, %f0, %f27 .word 0xbda00540 ! 8867: FSQRTd fsqrt .word 0xb9a90820 ! 8869: FMO...
Assembly
var FP=((FQ)&4294967295);var FO=uA[((FP)>>2)];uA[((i4)>>2)]=FO;var FN=C0;var FM=((FN+4)&4294967295);var FL=uA[((FM)>>2)];uA[((wK)>>2)]=FL;var Fp=C0;var Fo=((Fp+8)&4294967295);var Fn=uA[((Fo)>>2)];uA[((aX)>>2)]=Fn;var Fl=C0;var Fk=((Fl+12)&4294967295);var Fj=uA[((Fk)>>2)];uA[((zR)>>2)]=Fj;var Fi=C0;var Fh=((Fi+16)&42949...
JavaScript
/* * Magic Cloud, copyright (c) 2023 Thomas Hansen. See the attached LICENSE file for details. For license inquiries you can send an email to thomas@ainiro.io */ using System; using System.Linq; using System.Threading.Tasks; using magic.node; using magic.node.extensions; using magic.signals.contracts; namespace ma...
C#