content
stringlengths
2
6.21k
label
stringclasses
16 values
函数调用这个变量,是非常常见的做法,请务必掌握。 JavaScript 提供了严格模式,也可以硬性避免这种问题。严格模式下,如果函数内部的`this`指向顶层对象,就会报错。 ```javascript var counter = { count: 0 }; counter.inc = function () { 'use strict'; this.count++ }; var f = counter.inc; f() // TypeError: Cannot read property 'count' of undefined ``` 上面代码中,`inc`方法通过`'use strict'`声明采用严格模式,...
Markdown
"] = "鬼力", ["𩱺"] = "鬼卩", ["𩱻"] = "鬼卜", ["𩱼"] = "九鬼", ["𩱽"] = "一儿鬼", ["𩱾"] = "丿七鬼", ["𩱿"] = "亡鬼", ["𩲀"] = "鬼山", ["𩲁"] = "鬼夕", ["𩲂"] = "鬼卪", ["𩲃"] = "鬼勹丶", ["𩲄"] = "尢鬼", ["𩲅"] = "鬼寸", ["𩲆"] = "彡", ["𩲇"] = "子", ["𩲈"] = "鬼山", ["𩲉"] = "亡鬼", ...
Lua
HREF="net/sf/antcontrib/walls/SilentMove.html" title="class in net.sf.antcontrib.walls">SilentMove</A>.<DD>FILL IN JAVADOC HERE<DT><A HREF="net/sf/antcontrib/walls/SilentMove.html#SilentMove()"><B>SilentMove()</B></A> - Constructor for class net.sf.antcontrib.walls.<A HREF="net/sf/antcontrib/walls/SilentMove.html" ti...
HTML
'combined_dist': 'Range Deficit (miles)', # 'count': 'Number of Blocks' # } # ).update_layout(yaxis_title='Number of Blocks') # ) st.plotly_chart( px.ecdf( range_deficit, 'combined_dist', title='Distribution o...
Python
t kotlin.test.assertEquals import kotlin.test.fail /** * A simple LWW register, where concurrent writes are resolved by looking at the highest absolute * timestamp. */ @Serializable private sealed class LWWRegisterEvent { /** Sets the [value] in the register. */ @Serializable data class Set(val value: Int) : L...
Kotlin
LMTS" 1481197122: 0x08, // "BFIX" 1380729667: 0xc0, // "CCLR" 1195787079: 0x19, // "GCFG" } func (d *modernDecoder) Section(size int32) (result []byte, sectionID int32, err error) { if d.sectionsCounter > 5 { // These are the sections added in modern replays. if sectionID, err = d.readInt32(); err != nil...
Go
tween <code class="code">0.0</code> and <code class="code">1.0</code>. </p> </dd> <dt><samp class="option">disable_linear</samp></dt> <dd><p>Disable linear light scaling. </p> </dd> <dt><samp class="option">disable_builtin</samp></dt> <dd><p>Disable built-in GPU sampling (forces LUT). </p> </dd> <dt><samp class="option...
HTML
not xs.length xs.0 export tail = (xs) -> return void if not xs.length xs.slice 1 export last = (xs) -> return void if not xs.length xs[*-1] export initial = (xs) -> return void if not xs.length xs.slice 0 xs.length - 1 export empty = (xs) -> if typeof! xs is \Object for x of xs then return fals...
HTML
DOKAI_MAJORMATCH_STATE_DIRECTION, m_dwMatchTickCount = %u", it->first, match->m_dwMatchTickCount); CNtlPacket packet2(sizeof(sGU_MATCH_MAJORMATCH_STATE_UPDATE_NFY)); sGU_MATCH_MAJORMATCH_STATE_UPDATE_NFY * res2 = (sGU_MATCH_MAJORMATCH_STATE_UPDATE_NFY *)packet2.GetPacketData(); res2->wOpCode = GU_MATC...
C++
_iom_register_state_t</a>, <a class="el" href="structam__hal__mspi__register__state__t.html#a14c8c314c2b76c85a927e57ddad44bfe">am_hal_mspi_register_state_t</a></li> <li>regCQCURIDX&#160;:&#160;<a class="el" href="structam__hal__iom__register__state__t.html#a8fcc3ce4cde67990c3b5da8bf6304b47">am_hal_iom_register_state_t<...
HTML
OST' def test_http_header_host_trailing_period(): client.load('host') resp = client.get(headers={'Host': '127.0.0.1.', 'Connection': 'close'}) assert resp['status'] == 200, 'Host trailing period status' assert ( resp['headers']['X-Server-Name'] == '127.0.0.1' ), 'Host trailing period SER...
Python
# Copyright 2015 Google Inc. # # 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 or agreed to in writing, ...
Python
p) continue; // Limit 1 of any type combination if (typeComboCount[typeCombo] >= 1 && this.randomChance(4, 5)) continue; const set = this.randomSet(species, teamDetails); // Okay, the set passes, add it to our team pokemon.push(set); // In Gen 3, Shadow Tag users can prevent each other from switch...
Typescript
public static void _half3() { for (int i = 0; i < ushort.MaxValue + 1; i++) { half3 q = maxmath.ashalf((ushort)i); Promise p = Promise.Nothing; if (i < 0x8000) { p |= Promise.Positive; } ...
C#
9)){__label__=58;break $if_then182$$if_end193$139;} var $114=HEAP32[(($vowel_count)>>2)];var $sub191=((($114)-1)&4294967295);HEAP32[(($stressed_syllable)>>2)]=$sub191;;}}while(0);var $115=HEAP32[(($stressed_syllable)>>2)];var $arrayidx194=(($vowel_stress+$115)&4294967295);var $116=HEAP8[($arrayidx194)];var $conv195=(te...
JavaScript
map[string]any{ "id": req.ID, }) workspaceID, fabricItemID, found := strings.Cut(req.ID, "/") if !found { resp.Diagnostics.AddError( common.ErrorImportIdentifierHeader, fmt.Sprintf( common.ErrorImportIdentifierDetails, fmt.Sprintf("WorkspaceID/%sID", string(r.FabricItemType)), ), ) return...
Go
.ProcessMouseExited(ev); } } } } public class DropListButton : AbstractButton { public DropListButton() { this.Size = GetPreferedSize(); HorizontalStyle = EElementStyle.Fit; VerticalStyle = EElementStyle.Fit; } ...
C#
dpoint-title")),L=i(()=>a("data-encoder.endpoint-description"));lt(q,{id:"data-encoder-endpoint-input",rows:3,get placeholder(){return e(K)},get error(){return j()},get isValid(){return e(E)},get label(){return e(w)},get description(){return e(L)},get value(){return x()},set value(n){x(n)},$$legacy:!0});var k=d(q,2);co...
JavaScript
IType; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorChainInitializer; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTConstructorInitializer; import org.eclipse.cdt.core.dom.ast.cpp.ICPPASTFunctionDefinition; import org.eclipse.cdt.core.dom.ast.cpp.ICPPBase; import org.eclipse.cdt.core.dom.ast.cpp.ICPPClass...
Java
} nl.Debugf(lbc.Logger, "Removing VirtualServerRoute: %v", vsr.Name) lbc.AddSyncQueue(vsr) }, UpdateFunc: func(old, cur interface{}) { curVsr := cur.(*conf_v1.VirtualServerRoute) oldVsr := old.(*conf_v1.VirtualServerRoute) if lbc.weightChangesDynamicReload { var curVsrCopy, oldVsrCopy conf_v1.V...
Go
slug=enterprise_learner_portal_slug, ) return learner_portal_url return None def add_message_if_enterprise_user(self, request, enterprise_customer, learner_portal_url): """ Adds a info message alert informing the user of their enterprise learner portal ...
Python
_header]] or [[ngx.req.clear_header()|https://github.com/openresty/lua-nginx-module#ngxreqclear_header]] might not take effect in some parts of the nginx core (like {{{$proxy_add_x_forwarded_for}}}). thanks aviramc for the patch. ** bugfix: we lacked detailed context info in error messages due to use of disabled Lua AP...
HTML
ityTimerConfig-r14"); data_inactivity_timer_cfg_r14->to_json(j); } if (drx_cycle_v1430_present) { j.write_str("drx-Cycle-v1430", drx_cycle_v1430.to_string()); } if (ra_cfra_cfg_r14_present) { j.write_str("ra-CFRA-Config-r14", "true"); } if (offset_thres_ta_r17.is_present()) { ...
C++
'直犇刑場'}, {'67351', '起因货幅b去资', '起因货幅b去资'}, {'67352', '購慄裹裌生食矣', '購慄裹裌生食矣'}, {'67353', '狗力锅加胜似蚁', '狗力锅加胜似蚁'}, {'67354', '狗力鍋加勝佀蟻', '狗力鍋加勝佀蟻'}, {'67355', '历史的行程', '历史的行程'}, {'67356', '歷史的行程', '歷史的行程'}, {'67357', '(假如|如菓|假設|隻要)我們的.2,4繼續前進', '(假如|如菓|假設|隻要)我們的.2,4繼續前進'}, {'67358', '厚之女', '厚之女'}, {'67359', '齐长女', '齐长女'}, {'67...
Lua
p.IsPrivate() { t.Errorf("Addr.IsPrivate() != net.IP.IsPrivate(): ip=%q stdip=%q", ip, stdip) } if ip.IsUnspecified() != stdip.IsUnspecified() { t.Errorf("Addr.IsUnspecified() != net.IP.IsUnspecified(): ip=%q stdip=%q", ip, stdip) } } } // Check that .Next().Prev() and .Prev().Next() prese...
Go
private A { using A::operator bool; }; bool f() { B b; return !b; } } namespace test23 { template <typename T> class A { A(); static A instance; }; template <typename T> A<T> A<T>::instance; template class A<int>; } // RUN: %clang_cc1 -fsyntax-only -verify %s -std=c++11 namespace Test1 { ...
C++
\t\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\n\t\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\n\t\t#ifndef USE_MORPHNORMALS\n\t\t\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\n\t\t\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\n\t\t\ttransformed += morphTarget6 ...
JavaScript
hcenter { left: 50%; margin-left: -7px; } /* side: [ bottom, top ] */ .cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_bottom, .cke_balloon.cke_balloontoolbar .cke_balloon_triangle_outer.cke_balloon_triangle_top { border-color: #d1d1d1 transparent; } .cke_balloon.cke_balloontoolbar ...
CSS
YO23W1LCagqObsDB//2bNYmNTUqKiVq9u2ZLvQPBFjf8qok+f3bs/+mjbtv37Y2IOH37pJQBfXxQCO1ehUCSSSPT6lJSRIz/7LCwsJMTFxcMDexWiBpk06dixTZs++ADg/fcff5zjAJYs6d2b4/74Iz09Lq7+pxp/YJgx48SJH36YM2fBgnPn9u2bNIlvfwiCIIjb/B/7w7TJ1Po+fAAAAABJRU5ErkJggg==);background-size:24px 352px}}.jsgrid .jsgrid-mode-button{width:24px;height:24px}.jsgrid-mo...
CSS
resource *v1.CASResource upCtx context.Context downCtx context.Context } // Run after each test func (s *bytestreamSuite) TearDownTest() { s.conn.Close() s.srv.Stop() } func (s *bytestreamSuite) SetupTest() { const backendType = "backend-type" // 1 MB buffer l := bufconn.Listen(1 << 20) server := ...
Go
default impl // file line: "xxx.xxx.xxx.ClassName" @Test void testNameFromCallerNotGiven1() { SpiLoader loader = SpiLoader.cached(NoDefaultSpi.class); Optional optional = loader.getByName(null); assertFalse(optional.isPresent()); } // (1) Name from META-INF file is NOT give...
Java
: types::GLuint) -> () { __gl_imports::mem::transmute::<_, extern "system" fn(types::GLint, types::GLuint, types::GLuint, types::GLuint, types::GLuint) -> ()>(storage::Uniform4ui.f)(location, v0, v1, v2, v3) } /// Fallbacks: Uniform4uivEXT #[allow(non_snake_case, unused_variables, dead_code)] #[inline] pub ...
Rust
#pragma once #include <string> #include <pistache/http.h> namespace Aliyun { namespace FC { struct FcHeaders { static constexpr const char* RequestId = "x-fc-request-id"; static constexpr const char* AccessId = "x-fc-access-key-id"; static constexpr const char* AccessKey = "x-fc-access-key-secret"; ...
C
esn't exist when finish.", shardId); throw new ShardOperateException(ShardOperateRespCode.SHARD_NOT_EXIST); } JobInstanceShardStatus shardStatus = JobInstanceShardStatus.from(shard.getStatus()); if (shardStatus == JobInstanceShardStatus.SUCCESS || shardStatus == JobI...
Java
} auto clip = QRect( _iconsLeft, _iconsTop, width() - _iconsLeft - _iconsRight, st().footer); if (rtl()) { clip.moveLeft(width() - _iconsLeft - clip.width()); } if (context.expanding) { const auto both = clip.intersected( context.clip.marginsRemoved( { context.radius, 0, context.radius, 0 }));...
C++
-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg> </a> <label class="md-header__button md-icon" for=__drawer> <svg xmlns=http://www.w3.org/2000/svg viewbox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg> </...
HTML
/* sem_wait -- wait on a semaphore. Generic futex-using version. Copyright (C) 2003-2024 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as publis...
C
aderObject fireworksFragmentShader = ShaderObject("FireWorksF") ..AddUniformVars([ uTime, //uColor, uTexture ]) ..SetBody([ """ void main() { ${oFragColor} = texture(${uTexture}, gl_PointCoord); float t = mod(${uTime}, 5.0); if( t < 3.0) { //gl_FragColor.x = 1.0; } else { ...
Dart
f0 /* 8034C3E0 003491E0 48 04 0C C9 */ bl func_8038D0A8 /* 8034C3E4 003491E4 D3 C3 00 6C */ stfs f30, 0x6c(r3) /* 8034C3E8 003491E8 38 7F 00 08 */ addi r3, r31, 8 /* 8034C3EC 003491EC 81 9F 00 08 */ lwz r12, 8(r31) /* 8034C3F0 003491F0 81 8C 00 08 */ lwz r12, 8(r12) /* 8034C3F4 003491F4 7D 89 03 A6 */ mtctr r12 /...
Assembly
def cores(): """ Cores e estilos no termina. STYLE TEXT BACK COR 0 Nenhum 30 40 Branco 1 Negrito 31 41 Vermelho 4 Sublinhado 32 42 Verde 7 Negativo 33 43 Amarelo 34 44 A...
Python
lay:flex;column-gap:1rem}@media (max-width: 575.98px){footer{flex-direction:column}}@media (min-width: 576px){footer .pkgdown-footer-right{text-align:right}}footer div{flex:1 1 auto}html,body{height:100%}body>.container{min-height:100%;display:flex;flex-direction:column}body>.container .row{flex:1 0 auto}::selection{ba...
CSS
_0 = { text = "「アイスボルト」という呪文について学ぶことができる魔法書。暑がりなあなたに。", footnote = "〜本の為の本・魔法書編〜", }, }, }, spellbook_of_fire_bolt = { name = "ファイアボルトの魔法書", description = { main = { text = "炎属性のボルトを唱える為に必要な本。読むことができる。", ...
Lua
ControlKey.VolumeUp -> KeyEvent.KEYCODE_VOLUME_UP ControlKey.VolumeDown -> KeyEvent.KEYCODE_VOLUME_DOWN ControlKey.Power -> KeyEvent.KEYCODE_POWER else -> 0 // Default to unknown. } } } /* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-L...
Kotlin
, some or all of fx, fy, cx, cy must be initialized before calling the function. @param D Output vector of distortion coefficients \f$\distcoeffsfisheye\f$. @param rvecs Output vector of rotation vectors (see Rodrigues ) estimated for each pattern view. That is, each k-th rotation vector together with t...
C++
00DigitNumber() => ReverseLargeNumbers.ReverseUsingDigitExtractionAndReconstruction(veryLargeInt); [Benchmark] public void Recursion_200DigitNumber() => ReverseLargeNumbers.ReverseUsingRecursion(veryLargeInt); [Benchmark] public void MathPow_200DigitNumber() => ReverseLargeNumbers.Reve...
C#
jc 1f / Error? xor ax,ax / No error 0: pop ds / Restore registers and return ret 1: mov ax,$0xffff / Return that an error has occured jmp 0b init_dev: mov ax,$com_data_/ Set up com_data so that it starts at the shr ax,$4 / begining of a segment. This is becuase mov dx,ds / the Cbios is expecting a...
Assembly
t/turtle; charset=utf-8 </pre> <h3>Response</h3> <pre> 200 OK Content-type: text/turtle @prefix foaf: &lt;http://xmlns.com/foaf/0.1/> . @prefix v: &lt;http://www.w3.org/2006/vcard/ns#> . [] a foaf:Person; foaf:businessCard [ a v:VCard; v:given-name "Alice" ...
HTML
{ d = Texture+SizeX*TileY+TileX; for(i=0;i<TG_TILEY;i++) { for(j=0;j<TG_TILEX;j++) { d[j] = ((s[1]&0x7f800000)<< 1) | ((s[1]&0x00007f80)<<9) | ((s[0]&0x7f800000)>>15) | ((s[0]&0x00007f80)>>7); s+=2; ...
C++
6BF80 800861B8 AA49010C */ jal func_800526A8 /* 4B6BF84 800861BC 21206002 */ addu $a0, $s3, $zero /* 4B6BF88 800861C0 CB89010C */ jal rand /* 4B6BF8C 800861C4 00000000 */ nop /* 4B6BF90 800861C8 CB89010C */ jal rand /* 4B6BF94 800861CC FF0F5230 */ andi $s2, $v0, 0xFFF /* 4B6BF98 ...
Assembly
""" Copyright 2018 The Matrix Authors This file is part of the Matrix library. The Matrix library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any la...
Python
import subprocess #llama="internlm2:latest" #llama="llama3:8b" #llama="gemma2:latest" #llama="llama3:70b" #llama="deepseek-coder-v2:16b" #llama="deepseek-coder-v2:236b" llama="deepseek-r1:8b" class OllamaAgent: def __init__(self, agent_id, config, logger): self.agent_id = agent_id self.config = con...
Python
/* * No access token for the thread so impersonate the security context * of the process. */ if (!ImpersonateSelf(SecurityImpersonation)) { return (HANDLE)NULL; } if (!OpenThreadToken(GetCurrentThread(), TOKEN_ADJUST_PRIVILEGES...
C
表示查询所有通道 public NET_TIME stuStartTime; // 开始时间 public NET_TIME stuEndTime; // 结束时间 public int[] nEventLists = new int[MAX_IVS_EVENT_NUM]; // 事件类型列表,参见智能分析事件类型 public int nEventCount; // 事件总数 ...
Java
name: 'Kat', email: 'kat@aol.com', body: "The name of Kat's cat is Stella" }; const mockComments = [ { postId: 96, id: 480, name: 'accusantium quo error repudiandae', email: 'Michel@keira.us', body: 'tenetur qui ut\narchitecto officiis voluptatem velit eos molestias incidunt eum dolorum\ndis...
Typescript
。无法为视频拍摄用例或相机扩展程序启用该功能。 * 由于使用闪光灯会增加延迟时间,因此当闪光灯开启或处于自动模式时,零快门延迟将不起作用。 */ var captureMode:Int =ImageCapture.CAPTURE_MODE_MINIMIZE_LATENCY ) : Parcelablepackage com.kiylx.camerax_lib.main.manager.photo import android.content.ContentValues import android.content.Context import android.provider.MediaStore i...
Kotlin
/***************************************************************************//** * (c) Copyright 2007-2018 Microsemi SoC Products Group. All rights reserved. * * Hardware registers access functions. * The implementation of these function is platform and toolchain specific. * The functions declared here are impleme...
Assembly
Array.isArray(query.$sort)) { const orderOptions = query.$sort.reduce((acc, curr) => ({ ...acc, [`entity.${curr}`]: 'ASC' }), {}); _query.orderBy(orderOptions); } else if (typeof query.$sort === 'object') { _query.orderBy(query.$sort); } } // Notes: // $or - always an array! Specify on ...
Typescript
않는 경우 라이센스 사용자의 라이센스를 해지할 수 있습니다.<br> <br> 어떤 이유로든 일방 당사자가 라이센스를 해지한 경우 라이센스 사용자는 본 프로그램의 사용을 즉시 중단하고 라이센스 사용자의 사본을 모두 파기한다는 것에 동의합니다. 본 계약의 해지 이후에도 일부 조항은 그 특성상 이행이 될 때까지 유효하며 양 당사자의 승계자 및 양수인에게도 적용됩니다.<br> <br> 4. 요금<br> <br> 요금은 청구서에 지정된 취득한 허가된 사용을 기준으로 부과됩니다. IBM은 본 계약에서 명시하는 경우를 제외하고 이미 지불했거나 지불했어야 할 요금을 환불하...
HTML
, .entry .entry-content .wp-block-gallery .blocks-gallery-image figcaption:lang(fa-IR), .entry .entry-content .wp-block-gallery .blocks-gallery-item figcaption:lang(fa-IR), .entry .entry-content .wp-block-file:lang(fa-IR), .entry .entry-content .wp-block-file .wp-block-file__button:lang(fa-IR), .entry .entry-content .w...
CSS
(""" SELECT * FROM $patientTable WHERE uuid = 'No BP for patient' """).use { it.moveToNext() assertThat(it.string("recordedAt")).isEqualTo("2018-11-23T11:20:42.008Z") assertThat(it.string("syncStatus")).isEqualTo("IN_FLIGHT") assertThat(it.string("updatedAt")).isEqualTo("updated-at") ...
Kotlin
透過的にラップし、ビルドプロセスの観察、そして Gopher アートでビルドを楽しく演出する方法を学びます! ### できるようになること このワークショップを通じて toolexec の基本的な仕組みを理解し、ビルドプロセスの測定・監視や、CI/CD パイプラインでの活用など、実践的な応用ができるようになります! ## [Go Assemblyで低レイヤに触れてみよう](https://newmo-oss.github.io/gocon25-workshop/assembly?index=gocon25-workshop) ### Go Assembly とは Go では Plan 9 形式のアセンブリ言語を使って、`....
Markdown
=ka.tfoot=ka.colgroup=ka.caption=ka.thead,ka.th=ka.td;function la(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function ma(a,b){for(var c=0,d=a.length;c<d;c...
HTML
文化の担い手が、経済的な不安なく、誇りを持ってその道を進み、社会的に正当に評価され、尊厳を持って生きられるようにすることは、文化継承の観点からも、また個人を尊重する社会のあり方としても極めて重要です。この点を明記することで、単なる技術の伝承に留まらない、人間中心の文化政策を目指す姿勢を示すことができます。 これらの施策を通じて、伝統文化が未来へと継承され、新たな創造性を加えながら発展していくことを目指します。また、それは同時に、多様な才能を持つ人々がそれぞれの個性を活かして社会に貢献できる道筋を示すことにも繋がり、チームみらいが掲げる「テクノロジーで誰も取り残さない日本をつくる」というビジョンにも合致すると信じております。 この...
Markdown
one https://github.com/GangZhuo/BaiduPCS.git ### 2. 安装依赖 到 https://github.com/GangZhuo/BaiduPCS/releases/tag/0.2.6 下载需要的依赖包 [deps-win32.zip] 。 下载后,把压缩包解压到 deps 目录。 最终目录结构为: somedirectory |-BaiduPCS | |-deps | | |-include | | | |-curl | | | |-openssl | | |-lib | | | |-...
Markdown
final Widget? footerSlot; final FlanCalendarDayBuilder? topInfoBuilder; final FlanCalendarDayBuilder? bottomInfoBuilder; static _FlanCalendarState? of(BuildContext context) { return context .dependOnInheritedWidgetOfExactType<_FlanCalendarScope>() ?.state; } @override _FlanCalendarStat...
Dart
Segoe UI Symbol;width:500px}.pnl_wraper .pnl_content .pnl_desc .title[data-v-6359534e]{font-size:50px}.pnl_wraper .pnl_content .pnl_desc .desc[data-v-6359534e]{font-size:20px}.pnl_wraper .pnl_content .pnl_desc .icon_log[data-v-6359534e]{display:block;background:url(../img/icon_name.f3d85c7d.png) no-repeat;background-si...
CSS
+ [+ dsize() +]x<3*$W*$N + 5*$N>]; --:-:-:-:1 @!P6 R2P PR, pred30, 0x3f; --:-:-:-:1 @P6 R2P PR, RZ, 0x3f; --:-:-:-:1 @!P6 SHF.L.U64 pred30, pred30, 24, pred30; --:-:-:-:1 @!P0 MOV i40, RZ; --:-:-:-:1 @!P1 MOV i41, RZ; --:-:-:-:1 @!P2 MOV i42, RZ; --:-:-:-:1 @!P3 MOV i43, RZ; --:-:-:-:1 @!P4 MOV i44, RZ; --:-:-:-:...
CSS
//===--- MoveConstArgCheck.h - clang-tidy -------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---------------------------------------------------------------...
C
c-font), var(--base-Latin-font), var(--base-Chinese-font), serif; } /* 目录标题前 */ .md-toc-content { /* 默认隐藏了 h4-h6 的标题显式,需要显式就将display: none取消 */ .md-toc-h1 { content: ""; counter-reset: toc-h1; } .md-toc-h2 { counter-reset: toc-h3; } .md-toc-h3 { counter-reset...
CSS
--accent-foreground: oklch(0.985 0 0); --destructive: oklch(0.637 0.237 25.331); --destructive-foreground: oklch(0.637 0.237 25.331); --border: oklch(0.274 0.006 286.033); --input: oklch(0.274 0.006 286.033); --ring: oklch(0.442 0.017 285.786); --chart-1: oklch(0.488 0.243 264.376); --chart-2: oklch(0.6...
CSS
#pragma once namespace blackbone { enum MEMORY_INFORMATION_CLASS { MemoryBasicInformation = 0, MemoryWorkingSetList, MemorySectionName, MemoryBasicVlmInformation, MemoryWorkingSetExList }; enum SECTION_INFORMATION_CLASS { SectionBasicInformation, SectionImageInformation }; enum POOL_TYPE ...
C
roup_key]; if (Object.values(group).find(val => val === value)) { return Object.keys(group).find(key => group[key] === value ); } } } /** Returns names of values in group * @param group_name name of group to get names of values from */ getNames(group_name: string) { const group ...
Typescript
hlgreen'>"+g.substr(g.length-2,1)+"</span><span class='hlred'>"+g.substr(g.length-1)+"</span>"):(l=g,g=m+"<span data-toggle='tooltip' data-placement='top' title='"+Utils.escape_html(Utils.from_base64("AAA"+l,c).slice(2))+"'>"+l+"</span>"),d||(g=l),d?"Characters highlighted in <span class='hlgreen'>green</span> could ch...
HTML
ize 0xff, 0xff, 0xff, 0xff, 0xff, }; EXPECT_VERIFIES(data); } TEST_F(WasmModuleVerifyTest, SignatureFollowedByUnknownSectionWithLongLEB) { const byte data[] = { // signatures SIGNATURES_SECTION_VOID_VOID, // ----------------------------------------------------------- UNKNOWN_SECTION...
C++
""" Middleware for sending request statistics to statsd. """ import time from galaxy.model.orm.engine_factory import QUERY_COUNT_LOCAL from galaxy.web.statsd_client import GalaxyStatsdClient class StatsdMiddleware: """ This middleware will log request durations to the configured statsd instance. """...
Python
a página 2 del diario del comandante Sketh'lon y la página 3 del diario del comandante Sketh'lon de los arakkoa del Cónclave Oscuro, en las Ruinas de Sketh'lon, para el sargento Kargrul en la Aldea Sombraluna."}}, [10761] = {"Encuentra al desertor", nil, {"Localiza a Parshah en los Campos de Magma y habla con él."}}, [...
Lua
using System.Collections.Generic; using System.Linq; namespace Sjm.Common.Pageing { public static class Pagination { public static IEnumerable<TSource> ToPaged<TSource>(this IEnumerable<TSour
C#
} clone() { return new EmailAlertsConfig(this.id, this.enabled, this.smtpConfig); } } export class SmtpConfig { constructor(public smtpHost: string, public smtpPort: number, public accountUsername: string, public accountPassword: string, ...
Typescript
shadowColor, size.height / 99, false, ); } final rect = offset & size, paint = Paint() ..shader = ui.Gradient.linear( rect.topRight, rect.bottomCenter, [ _secondaryColor, _primaryColor, ], ...
Dart
wide_cstr, ModelPathSize); wide_cstr[ModelPathSize] = L'\0'; const wchar_t* modelPath = wide_cstr; #else const char* modelPath = iParams.modelPath.c_str(); #endif // _WIN32 session = new Ort::Session(env, modelPath, sessionOption); Ort::AllocatorWithDefaultOptions allocator; ...
C++
swFrame + ExFpr21(r.sp) // lfd f.22, swFrame + ExFpr22(r.sp) // lfd f.23, swFrame + ExFpr23(r.sp) // lfd f.24, swFrame + ExFpr24(r.sp) // lfd f.25, swFrame + ExFpr25(r.sp) // lfd f.26, swFrame + ExFpr26(r.sp) // lfd f.27, swFrame + ExF...
Assembly
no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". </p> </body> </html> <html> <head> <title> 张体学在湖北省工商联执监委员联席扩大会议上的讲话 - 湖北省副省长, 张体... - 1955-12-24 - CCRD 中国当代政治运动史数据库 </title> <link href="../../../../Emblem_of_the_PCP-Shining_Path.svg.ico" rel...
HTML
', 'DM Serif Text', 'Damion', 'Dancing Script', 'Dangrek', 'Darker Grotesque', 'David Libre', 'Dawning of a New Day', 'Days One', 'Dekko', 'Delius', 'Delius Swash Caps', 'Delius Unicase', 'Della Respira', 'Denk One', 'Devonshire', 'Dhurjati', 'Didact Gothic', 'Diplomata', 'Diplomat...
JavaScript
297){ var opts=$.data(_297,"tabs").options; var tab=_298(_297); if(tab){ var _299=$(_297).children("div.tabs-panels"); var _29a=opts.width=="auto"?"auto":_299.width(); var _29b=opts.height=="auto"?"auto":_299.height(); tab.panel("resize",{width:_29a,height:_29b}); } }; function _29c(_29d){ var tabs=$.data(_29d,"tabs")....
JavaScript
F0 80 01 00 24 */ lwz r0, 0x24(r1) /* 8019FD94 0019B9F4 7C 08 03 A6 */ mtlr r0 /* 8019FD98 0019B9F8 38 21 00 20 */ addi r1, r1, 0x20 /* 8019FD9C 0019B9FC 4E 80 00 20 */ blr /* 8019FDA0 0019BA00 7C 80 23 78 */ mr r0, r4 /* 8019FDA4 0019BA04 3D 00 80 1A */ lis r8, lbl_8019FD30@ha /* 8019FDA8 0019BA08 7C A4 2B 78 *...
Assembly
registerPreset(I18n.format("createWorld.customize.preset.water_world"), Items.WATER_BUCKET, Biomes.DEEP_OCEAN, Arrays.asList("biome_1", "oceanmonument"), new FlatLayerInfo(90, Blocks.WATER), new FlatLayerInfo(5, Blocks.SAND), new FlatLayerInfo(5, Blocks.DIRT), new FlatLayerInfo(5, Blocks.STONE), new FlatLayerIn...
Java
/* +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is ...
C
id",s=k),o=(l=h(t)).length;o--;)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLeng...
HTML
local config = require('enapter.ucm.config') -- Configuration variables must be also defined -- in `write_configuration` command arguments in manifest.yml CALIB_SLOPE_CONFIG = 'calib_slope' CALIB_INTERCEPT_CONFIG = 'calib_intercept' -- Initiate device firmware. Called at the end of the file. function main() schedul...
Lua
<div class="clearfix"></div> </header> <div role="main"> <h1>Server Error (500)</h1> <p>We are having technical problems at this moment.</p> <p>We apologize for any inconvenience this may cause to you.</p> <p>We are working on the fix and we hope to improve the service very...
HTML
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;I therefore request you to grand me 4 days leave from 09/01/2021 to 12/01/2019 <br /> <br /> Thanking you! <br /> <br /> Yours Obediently <br ...
HTML
# -*- coding: utf-8 -*- # Copyright 2023 Google LLC # # 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 or...
Python
180deg);transform:rotateX(180deg)}.md-search__inner{margin-right:1.2rem}[dir=rtl] .md-search__inner{margin-left:1.2rem}.md-search__scrollwrap,[data-md-toggle=search]:checked~.md-header .md-search__inner{width:34.4rem}.md-tabs~.md-main .md-nav--primary>.md-nav__list>.md-nav__item--nested{font-size:0;visibility:hidden}.m...
CSS
isNaN(var0) && !Float.isNaN(var1); } public static boolean method35426(float var0, float var1, int var2) { return var0 == var0 && var1 == var1 ? equals(var0, var1, var2) : !(var0 != var0 ^ var1 != var1); } public static boolean equals(double var0, double var2) { return equals(var0, var2, 1); ...
Java
nchant.EcoEnchants import com.willfp.ecoenchants.rarity.EnchantmentRarities import com.willfp.ecoenchants.rarity.EnchantmentRarity import com.willfp.ecoenchants.type.EnchantmentType import com.willfp.ecoenchants.type.EnchantmentTypes import org.bukkit.Bukkit import org.bukkit.command.CommandSender class CommandGiveRan...
Kotlin
undefined) } get update() { return this._update } get destroy() { return this._destroy } get enabled() { return this._enabled } get scrollBottomReached() { return this._scrollBottomReached } } OC.L10N.register( "viewer", { "Viewer" : "Visualizador", "Simple file viewer with slidesho...
JavaScript
t.regex( svg, new RegExp(`class="octicon octicon-${octicons[point].symbol} new-class another-class"`), `The octicon "${point}" doesn't have the class attribute` ) } }) test('Passing in aria-label will update the a11y options', t => { t.truthy(octicons, "Didn't find any octicons.") for (...
JavaScript
5*16=Y*80 lda X1+1 sta TEMP lda X1 lsr TEMP ror lsr TEMP ror lsr TEMP ror clc adc ADDR sta ADDR lda ADDR+1 ; ADDR = Y*80+x/8 adc TEMP sta ADDR+1 pla sta Y1+1 pla sta Y1 and #1 beq @even ; even line - no offset lda ADDR clc adc #<21360 sta ADDR lda ADDR+1 adc #>21360 sta ADDR+1 ; odd lines...
Assembly
harset="utf-8" /> </head> <body> <form> <label>Border color<input type="text" id="color" /></label> <button type="submit">Save</button> </form> <script src="options.js"></script> </body> </html> ``` これは {{htmlelement("form")}} と、そこにラベル付きのテキスト {{htmlelement("input")}} と送信 {{htmlelement("...
Markdown
VRSQRTSS X11, X9, X11 // c4413252db //TODO: VSHUFPD $7, (BX), X9, X2 // c4e131c61307 or c5b1c61307 //TODO: VSHUFPD $7, (R11), X9, X2 // c4c131c61307 //TODO: VSHUFPD $7, X2, X9, X2 // c4e131c6d207 or c5b1c6d207 //TODO: VSHUFPD $7, X11, X9, X2 // c4c131c6d307 //TODO: VSHUFPD $...
Assembly