content
stringlengths
2
6.21k
label
stringclasses
16 values
*/ public set anim(value: IOpacityAnimation) { this.animation = value; } public animation: IOpacityAnimation; public random: IRandomOpacity; public value: number; constructor() { this.animation = new OpacityAnimation(); this.random = new RandomOpacity(); t...
Typescript
import random import numpy as np import torch import skfmm def set_seed(seed): """Set all random seeds to a fixed value and take out any randomness from cuda kernels """ random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) torch.backends.cudnn.ben...
Python
labelsize=15) ax.figure.tight_layout() fig.savefig( os.path.join( logdirs_plot, f"throughput_agentNum_{algo_name}_{map_size}_{mode}.png", ), dpi=300, ) # Create numerical result numerical_result = {} numerical_res...
Python
from unittest import TestCase, expectedFailure class FailureTestCase(TestCase): def test_sample(self): self.assertEqual(0, 1) class ErrorTestCase(TestCase): def test_sample(self): raise Exception("test") class ExpectedFailureTestCase(TestCase): @expectedFailure def test_sample(self...
Python
bind something that is inside a GameObjectContext to the SceneContext container.")] [SerializeField] [FormerlySerializedAs("_compositionRoot")] Context _context = null; [Tooltip("This value is used to determine how to bind this component. When set to 'Self' is equivalent to calling Con...
C#
[39;49;00m nodes\x1b[90m\x1b[39;49;00m\n \x1b[94mfrom\x1b[39;49;00m\x1b[90m \x1b[39;49;00m\x1b[04m\x1b[96mdocutils\x1b[39;49;00m\x1b[04m\x1b[96m.\x1b[39;49;00m\x1b[04m\x1b[96mnodes\x1b[39;49;00m\x1b[90m \x1b[39;49;00m\x1b[94mimport\x1b[39;49;00m Element, Node\x1b[90m\x1b[39;49;00m\n \x1b[94mfrom\x1b[39;49;00m\x1b...
Markdown
" id="operator=(const nsString&amp;)"> <code>nsString&amp; operator=(const nsString&amp;)</code> - <a href="http://hg.mozilla.org/mozilla-central/file/068446ee5493/xpcom/string/public/nsTString.h#l106" class="loc external">source</a> </dt> <dd> <h4 id="Parameters_8">Parameters</h4> <ul> <li>nsString&amp; str</li> </ul>...
HTML
">Salm-Kyrburg</a><br/> <i>Prince of Salm-Kyrburg, Sovereign Prince of Ahaus, Bocholt &amp; Gemen, Forest Count of Dhaun &amp; Kyrburg, Rhine Count of Stein</i></td> <td>1086: County<br/> 1742: Principality</td> <td>Upp Rhen</td> <td>PR</td> <td></td> <td>Acquired Principality of Overijse and Lordships of Leuze Pecq in...
HTML
t, .ct-chart .ct-series.ct-series-e .ct-slice-donut { stroke: #1EA7C5; } .ct-chart .ct-series.ct-series-f .ct-bar, .ct-chart .ct-series.ct-series-f .ct-line, .ct-chart .ct-series.ct-series-f .ct-point, .ct-chart .ct-series.ct-series-f .ct-slice-donut { stroke: #B1B1B1; } .ct-chart .ct-series.ct-series-g .ct-bar, ...
CSS
ult: app.idleMsg(msg) } } } } else { //执行完成 app.doneApp() } } return result } func (app *WApplication) idleMsg(msg *WinApi.MSG) { WinApi.WaitMessage() } func (app *WApplication) doneApp() { app.fcancelFunc() WinApi.GlobalDeleteAtom(windowAtom) WinApi.GlobalDeleteAtom(controlAtom) } p...
Go
くぶつ': ["🪴"], 'かんらんしゃ': ["🎡"], 'かんりしょく': ["👩‍💼","🧑‍💼","👨‍💼"], 'かーと': ["🛒"], 'かーど': ["💳","📇","🗃","🗂","🃏","♠️","♣️","♥️","♦️","🎴"], 'かーどふぁいる': ["🗃"], 'かーぼ': ["🇨🇻"], 'かーぼべるでこっき': ["🇨🇻"], 'かーりんぐ': ["🥌"], 'かーりんぐすとーん': ["🥌"], 'かーる': ["📃","➿","➰"], 'かーるじょうのるーぷ': ["➰"], 'がいあな': ["�...
Dart
move.l 2(a0),$114 lea fclmi(pc),a0 move.l 2(a0),$118 rts timc or #$500,sr and #$fdff,sr ftimc jmp $10000 clmi or #$500,sr and #$fdff,sr fclmi jmp $10000 it70 move.l adscreen,d0 move.b d0,$ff8209 lsr.l #8,d0 move.b d0,$ff8207 lsr.l #8,d0 move.b d0,$ff8205 move.b variabl,d0 move.b d0,$ff8265 andi.b #15,d0...
Assembly
assedeven"><td rowspan="1">day8.DeleteUser</td><td><a href="#m3">test_deletedata</a></td><td rowspan="1">1704487544826</td><td rowspan="1">580</td></tr></tbody> </table> <h2>Test1</h2><h3 id="m0">day8.CreateUser#create_data</h3><table class="result"><tr class="param"><th>Parameter #1</th></tr><tr class="param stripe"><...
HTML
arsedHeaderValue parseAltValue(final Origin origin, final String altValue) { // header value is expected to be of the following form, as noted in RFC-7838, section 3 // Alt-Svc = clear / 1#alt-value // clear = %s"clear"; "clear", case-sensitive // alt-value = alte...
Java
<std::uint8_t>(4); cpbSizeScale = reader.readBits<std::uint8_t>(4); for (ugolomb i = 0; i < cpbCount; ++i) { // just skip those values reader.readUnsignedExpGolombCodedBits<std::uint8_t>(); // bit rate value minus 1 reader.readUnsignedExpGolombCodedBits<std::uint8_t>(); // cpb size value...
C++
) color: EventEmitter<string> = new EventEmitter(true); @ViewChild('canvas', {static: false}) canvas: ElementRef<HTMLCanvasElement>; ctx: CanvasRenderingContext2D; mousedown: boolean; checkError: boolean; selectedPosition: { x: number; y: number }; constructor(public paletteService: PaletteService) { ...
Typescript
Force(lineOfP.angle(), 10f) } else { // Otherwise, find the closest line val closestLine = voronoi.flatMap { it.edges } .minByOrNull { Line.fromPointToLine(p, it).length() } if (closestLine != null) { // Flow towards the closest line ...
Kotlin
<input id="file_location" type="text" placeholder="Enter the log file path"><br> <input id="speed" type="text" placeholder="Enter the Speed"><br> <button type="button" id="pygame">Run</button> </div> </section> <section class="page v...
HTML
op-audio-proxy?style=flat-square&label=coverage" alt="Coverage"/> </a> <a href="https://ko-fi.com/bandonker"> <img src="https://img.shields.io/badge/Ko--fi-Bandonker-29ABE0?style=flat-square&logo=ko-fi&logoColor=white" alt="Support on Ko-fi"/> </a> <a href="https://www.buymeacoffee.com/Bandonker"> <im...
Markdown
Array(), true ) LogUtil.d(tag, END_LINE) } /** * 打印网络请求信息, 当网络请求时 {[okhttp3.RequestBody]} 为 `null` 或不可解析的情况 * * @param request */ override fun printFileRequest(request: Request) { val tag = getTag(true) LogUtil.d(tag, REQUEST_UP_LINE) ...
Kotlin
one .align-center { justify-content: center; } .top-style-one .align-center > div { border-left: 1px solid rgba(255, 255, 255, 0.2); } .top-style-one .align-center > div:first-child { border: none; padding-right: 0; } .top-style-one .info li { justify-content: center; padding-left: 5px; } .top-b...
CSS
" ) func TestValidate(t *testing.T) { testCases := []struct { desc string in string out string lookup string cfg *Config }{{ desc: "no error, but not concrete, even with definition label", cfg: &Config{Concrete: true}, in: ` #foo: { use: string } `, lookup: "#foo", out: "incom...
Go
= pytest.importorskip("polars") >>> s = pl.Series('c', ['one', 'two', None]) >>> to_cat.fit_transform(s) shape: (3,) Series: 'c' [cat] [ "one" "two" null ] Polars Categorical or Enum columns are passed through: >>> s = pl.Series('c', ['one', 'two'], dtype=pl.En...
Python
no-repeat top left; width: 13px; height: 13px; } .tipsy-se .tipsy-arrow { bottom: -2px; right: 10px; background-position: 0% 100%; } #mw-clearyourcache, #mw-sitecsspreview, #mw-sitejspreview, #mw-usercsspreview, #mw-userjspreview { direction: ltr; unicode-bidi: embed; } /* Correct user & content directionalit...
CSS
ultiselect .ace_selection.ace_start { box-shadow: 0 0 3px 0px #322931; border-radius: 2px } .ace-hopscotch .ace_marker-layer .ace_step { background: rgb(198, 219, 174) } .ace-hopscotch .ace_marker-layer .ace_bracket { margin: -1px 0 0 -1px; border: 1px solid #797379 } .ace-hopscotch .ace_marker-layer .ace_...
CSS
td><td>{@link #GL_N3F_V3F N3F_V3F}</td><td>{@link #GL_C4F_N3F_V3F C4F_N3F_V3F}</td><td>{@link #GL_T2F_V3F T2F_V3F}</td></tr><tr><td>{@link #GL_T4F_V4F T4F_V4F}</td><td>{@link #GL_T2F_C4UB_V3F T2F_C4UB_V3F}</td><td>{@link #GL_T2F_C3F_V3F T2F_C3F_V3F}</td><td>{@link #GL_T2F_N3F_V3F T2F_N3F_V3F}</td><td>{@link #GL_T2F_C4F...
Java
the current function, but it borrows `test`, which is owned by the current function test.field = 42; Ok(()) }) .unwrap() }; f.call::<_, ()>(()).unwrap(); }); }); } <gh_stars>0 // This file is pa...
Rust
单位毫秒,默认为[DEFAULT_CONNECT_RETRY_INTERVAL] */ fun setConnectRetryCountAndInterval(connectRetryCount: Int, connectRetryInterval: Long) = apply { this.connectRetryCount = connectRetryCount this.connectRetryInterval = connectRetryInterval } /** * 设置readRssi、...
Kotlin
EnglishPakistanLocale() { assertEquals("7,000,000.50", "Rs: 7,000,000.50".toDigitsWithMonetaryDecimalGroupSeparator(Locale("en", "PK"))) } @Test fun testingToDigitsWithMonetaryDecimalAndGroupSeparatorWithSpanishLocale() { assertEquals("7.000.000,50", "€: 7.000.000,50".toDigitsWithMonetaryDe...
Kotlin
ayer()), texture: texture, size: size, flip: flip, } } } <reponame>pastly/blackjack use bj_core::basicstrategy::BasicStrategy; use bj_core::hand::HandType; use bj_core::rendertable::{HTMLTableRenderer, HTMLTableRendererOpts}; use bj_core::resp::Resp; use bj_core::table::...
Rust
using Volo.Abp.DependencyInjection; using Volo.Abp.EventBus; using Yi.Framework.Bbs.Domain.Entities.Assignment; using Yi.Framework.Bbs.Domain.Shared.Enums; using Yi.Framework.Bbs.Domain.Shared.Etos; using Yi.Framework.SqlSugarCore.Abstractions; namespace Yi.Framework.Bbs.Domain.EventHandlers; /// <summary> /// 任务系统的...
C#
andle(m_pipe_to_dynrio); m_pipe_to_dynrio = INVALID_HANDLE_VALUE; } m_debuggeeProcess->die(); //send kill to an hanging process. Doing so will cause the debugging thread do terminate if (m_SharedMemIPCInterruptEvent != NULL) { CloseHandle(m_SharedMemIPCInterruptEvent); m_SharedMemIPCInterruptEvent = NULL; }...
C++
543 1.543a1 1 0 001.414-1.414l-4.5-4.5a1 1 0 10-1.414 1.414l1.543 1.543-1.852 1.852A13.542 13.542 0 0025 10.436V7.9h2.6a1 1 0 100-2h-7.2Zm3.6 6.5c6.406 0 11.6 5.193 11.6 11.6 0 6.406-5.194 11.6-11.6 11.6-6.407 0-11.6-5.194-11.6-11.6 0-6.407 5.193-11.6 11.6-11.6Zm6.4 11.15a.35.35 0 11.7 0 .35.35 0 01-.7 0Zm.35-2.35a2.35...
Dart
h } func (s *AutoMergeQRepo) save(owner string, name string, v *AutoMergeQueue) { if ok := s.repo.save(owner, name, v); !ok { log.Printf("error: cannot save the queue information for %v/%v\n", owner, name) } } type AutoMergeQueueHandle struct { mux sync.Mutex owner string name string parent *AutoMergeQRe...
Go
ride public boolean useAdminCommand(final String command, final L2PcInstance activeChar) { if (command.startsWith("admin_polymorph")) { StringTokenizer st = new StringTokenizer(command); L2Object target = activeChar.getTarget(); try { st.nextToken(); String p1 = st.nextToken(); if...
Java
cantDecode", func(t *testing.T) { _, err := decodeHex("gggg") if err == nil { t.Fatalf("expected err cannot decode slice, got nil") } }) t.Run("tooSmall", func(t *testing.T) { _, err := decodeHex("DEADBEEF") if err == nil { t.Fatalf("expected err wrong length, got nil") } }) t.Run("tooBig", func(t...
Go
64.b64decode(plot_image.src_base64)) print(f"График сохранён в {e.path}") # Закрытие окна приложения page.window.close() # Кнопки calculate_button = ft.ElevatedButton( text="Рассчитать", on_click=calculate, style=ft.ButtonStyle( padding=f...
Python
sendRpcRequest( "chain_getNonce", [`0x${address.value}`, blockNumber] ).then(result => result ? new U256(result) : null); } /** * Gets number of the latest block. * @returns Number of the latest block. */ getBlockNumber(): Promise<number> { return this...
Typescript
_N%27Gog" title="David N'Gog">David N'Gog</a> scored with the last kick of the game to equalise for Bolton. This was Bolton's fourth consecutive draw and they dropped one place in the table to eighteenth. Bolton's last match of November came four days later, away against their geographically closest divisional rivals, ...
HTML
"/dev/disk/by-id/scsi-0Google_PersistentDisk_persistent-disk-0-part23", stripPath: "/dev/disk/by-id/scsi-0Google_PersistentDisk_persistent-disk-0", }, "Test 2": { devPath: "/dev/disk/by-id/scsi-0Google_PersistentDisk_persistent-disk-0p12k", stripPath: "/dev/disk/by-id/scsi-0Google_PersistentDisk_persi...
Go
衡了 C++ 和 Rust 等语言的效率与 Python 的简单性。Mojo 的核心目标是简化 AI 开发、无缝集成 AI/ML 基础设施并提供强大的性能。</p> <p><img src="https://api.allorigins.win/raw?url=https://mmbiz.qpic.cn/sz_mmbiz_png/KmXPKA19gWic2oPremT844X1CgdEYCfjDiaW9yGBnk1NzQ96OUNoQkfNCXACgpFOR5fT23txczDjeVLSK9cQw74A/640?wx_fmt=png&amp;from=appmsg" alt=""></p> <p>此外,Pytorch、Hugging...
HTML
32 XVCPSGNDP(.Lreg,.Lreg,.Lreg) .Lreg=.Lreg+1 .endr denorm_done: mfspr r11,SPRN_HSRR0 subi r11,r11,4 mtspr SPRN_HSRR0,r11 mtcrf 0x80,r9 ld r9,PACA_EXGEN+EX_R9(r13) BEGIN_FTR_SECTION ld r10,PACA_EXGEN+EX_PPR(r13) mtspr SPRN_PPR,r10 END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR) BEGIN_FTR_SECTION ld r10,PACA_EXGEN+E...
Assembly
import random import time import os def clear_screen(): # Clear the screen for different OS os.system('cls' if os.name = 'nt' else 'clear') def celebrate(): fireworks = [ " * *", " * * * *", " * * * *", " * * * *", ...
Python
om -= dragUpdateDetails.delta.dy; _overlayEntry?.markNeedsBuild(); }, onHorizontalDragUpdate: (dragUpdateDetails) { right -= dragUpdateDetails.delta.dx; _overlayEntry?.markNeedsBuild(); }, onHorizontalDragEnd: (_) { ...
Dart
x80000, R0, 0xc0; /* 0x3fc0000000000000 */ @P0 ST.WT.128 [R0], R0; /* 0xbfc0000000000000 */ @P0 HSETP2.F.AND P0, P0, R0, -|c[0x0][0x0]|, P0; /* 0x7fc0000000000000 */ @P0 LD.S8 R0, [R0], P0; /* 0x8020000000000000 */ @P0 VSET.F.U8.U16.ACC R0, R0, 0x0, R0; /* 0x4020000000000000 */ @P0 TEX P4, R0, R0, R0, 0x0, 1D, 0x0; /* ...
CSS
movi v25.16b, #54 .endm .macro qpel_filter_chroma_6_32b umull v17.8h, v2.8b, v25.8b // 54 * c ushll v19.8h, v0.8b, #1 // 2 * a ushll v21.8h, v1.8b, #4 // 16 * b ushll v23.8h, v3.8b, #2 // 4 * d add v17.8h, v17.8h...
Assembly
LTI13_CUSTOM_CLAIM]["uname"] async def test_authenticator_raises_login_error_if_username_key_not_found( req_handler, launch_req_jwt_decoded, ): """ Is name set correctly in the authenticate method's response, based on being provided sub, name, and email? """ authenticator = LTI13Authentica...
Python
* this only works if paflof is running below 4GB */ lis r31, romfs_base@h /* save address of */ ori r31, r31, romfs_base@l /* the romfs */ std r4, 0(r31) /* this only works if paflof is running below 4GB */ lis r31, epapr_magic@h /* if it is an epapr compliant */ ori r31, r31, epapr_magic@l /* low level firmware...
Assembly
ath.svg.ico" rel="icon" type="image/x-icon"/> </head> <body> <meta content="晋宁县上蒜大队实行三定包干试点的情况报告" property="title"/> <meta content="1961-11-13" property="date"/> <meta content="中共云南省委上蒜工作组" property="authors"/> <script type="application/ld+json"> {"title": "\u664b\u5b81\u53bf\u4e0a\u849c\u5927\u961f\u5b9e\...
HTML
FF" width="64" height="30"><path d="M29.05 4.582H16.733V25.94h3.018l.403 2.572 4.081-2.572h4.815V4.582zm-5.207 18.69l-2.396 1.509-.235-1.508h-1.724V7.233h6.78v16.04h-2.425zM14.46 14.191H9.982c0-.471.033-.954.039-1.458v-5.5h5.106V5.935a1.352 1.352 0 0 0-.404-.957 1.378 1.378 0 0 0-.968-.396H5.783c.028-.088.056-.177.084-...
HTML
ze; background: theme-color(primary); } .square-box-loader-container { position: absolute; left: 0; top: 0; bottom: 0; right: 0; transform-origin: 50% 50% 0; animation: dyinglight 1s ease infinite; backface-visibility: hidden; } .square-box-loader-corner-top:before, .square-box-loader-corner-top...
CSS
(); ErrorChecking.CheckAndSetLdapError(Wldap32.ldap_get_option_secInfo(this.connection.ldapHandle, LdapOption.LDAP_OPT_SSL_INFO, outValue)); return outValue; } } public int SspiFlag { get { return this.GetIntVal...
C#
li> Check <a href=http://www.csie.ntu.edu.tw/~cjlin/liblinear>liblinear</a>, which is designed for large-scale linear classification. </ul> <p> Please also see our <a href=../papers/guide/guide.pdf>SVM guide</a> on the discussion of using RBF and linear kernels. <p align="right"> <a href="#_TOP">[Go Top]</a> <hr/> ...
HTML
, wipe_doColorXForm, wipe_exitColorXForm, wipe_initMelt, wipe_doMelt, wipe_exitMelt }; void V_MarkRect(int, int, int, int); // initial stuff if (!go) { go = 1; // wipe_scr = (byte *) Z_Malloc(width*height, PU_STATIC, 0); // DEBUG wipe_scr = screens[0]; (*wipes[wipeno*3])(width, height, ticks)...
C
0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-hue-slider.is-vertical{width:1...
CSS
end all BITS transfer jobs owned by the current user ``` PS C:\> Get-BitsTransfer | Suspend-BitsTransfer ``` This command suspends all the BITS transfer jobs that are owned by the current user. The output of **Get-BitsTransfer** is a set of **BitsJob** objects. This output is piped to the **Suspend-BitsTransfer** cmd...
Markdown
내게 가져오게."}, {"아즈샤라에 있는 엘다라스 폐허의 북동쪽 절벽 꼭대기에 있는 오그틴크에게 완전한 순록 뿔 한 쌍을 가져가야 합니다."}}, [8154] = {"아라시 분지 자원!", {"전쟁은 병사들의 힘으로 치르는 거라죠. 병사라면 다들 그렇게 얘기할 거예요! 하지만 장비가 형편없거나 제대로 먹지 못하고 전투에 임한다면 시작하기도 전에 벌써 진 거나 마찬가지랍니다!","그래서 아라시 분지가 중요한 거예요. 이 분지는 자원의 보고예요. 광석, 무기, 식량, 목재... 이 주요 자원들을 모두 이곳에서 구할 수 있으니까요.","<name>, 당신께 부탁할 일이 하...
Lua
pod3)}, }, wantBackoffQPodNames: []string{"targetpod", "targetpod2", "targetpod3"}, wantInFlightPods: nil, // should be empty queueingHintMap: QueueingHintMapPerProfile{ "": { pvAdd: { { PluginName: "fooPlugin1", QueueingHintFn: queueHintReturnQueue, }, }, ...
Go
"08" -> { doubleHour = "辰时" } "09", "10" -> { doubleHour = "巳时" } "11", "12" -> { doubleHour = "午时" } "13", "14" -> { doubleHour = "未时" ...
Kotlin
} } } var mrr = ctx.Resolve(typeCastNode.Parent) as CSharpInvocationResolveResult; if (mrr != null) { if (mrr.Member.SymbolKind == SymbolKind.Constructor) { int nArg = typeCastNode.Parent.Children .Where(n => n.Role == Roles.Argument) .TakeWhile(n => n.DescendantNodesAndSelf...
C#
체 브라우저에서 사용 시, 라이브러리는 `window` 객체에 다음 속성을 가진 `stixview` 변수를 등록합니다: * `registry` — 페이지에서 초기화된 그래프들의 레지스트리. * `onInit(selector, callback)` – 지정된 `selector` 값과 일치하는 DOM 요소에서 그래프 초기화 이벤트에 대한 리스너 훅 (사용 예시는 [데모](https://traut.github.io/stixview/dist/demos/viewer.html) 참조). 콜백은 그래프 인터페이스 인스턴스를 받습니다. * `onLoad(selector, call...
Markdown
use_classes) data[mapIdx].update_all(p, original_features.begin() + i * fdim, original_classes.begin() + i * ldim); else if (use_feature) data[mapIdx].update_features(p, original_features.begin() + i * fdim); else if (use_classes) data[mapIdx].update_classes(p, original_classes.begin() + i * ldim); else...
C++
ux16", CODE_FOR_fmul8sux16_vis, SPARC_BUILTIN_FMUL8SUX16, v4hi_ftype_v8qi_v4hi); def_builtin_const ("__builtin_vis_fmul8ulx16", CODE_FOR_fmul8ulx16_vis, SPARC_BUILTIN_FMUL8ULX16, v4hi_ftype_v8qi_v4hi); def_builtin_const ("__builtin_vis_fmuld8sux16", CODE_FOR_fmuld8sux16_vis, SPARC_BUILTIN_FMULD...
C++
mov rsi, rbx; tx mov rdx, r12; ty call _ZNK6Matrix9transformEddPdS0_; Matrix::transform(double,double,double *,double *) movsd xmm0, [rsp+218h+tx] movapd xmm1, cs:xmmword_5CBCE0 andpd xmm0, xmm1; x call _ceil cvttsd2si eax, xmm0 mov [rsp+218h+widthA], eax mov...
Assembly
av1.ObjectMeta{ Name: policy.GetUniqueName(), }, } _, err := controllerutil.CreateOrPatch(ctx, r.Client, webhook, func() error { admissionPath := filepath.Join("/validate", policy.GetUniqueName()) admissionPort := int32(constants.PolicyServerServicePort) service := admissionregistrationv1.ServiceReference...
Go
:0}.el-color-predefine__color-selector.selected{-webkit-box-shadow:0 0 3px 2px #409EFF;box-shadow:0 0 3px 2px #409EFF}.el-color-predefine__color-selector>div{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/pn...
CSS
fswitch-label .onoffswitch-switch { right: 0px; } .onoffswitch-switch:hover { background-color: #eeeeee; } .onoffswitch-switch:active { background-color: #eeeeee; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); } /* * Disabled state */ .onoffswitch-checkbox:disabled + .onoffswi...
CSS
) bpy.utils.register_class( cls ) bpy.types.TOPBAR_MT_file_import.append( menu_func_import ) def unregister(): for cls in classes: bpy.utils.unregister_class( cls ) bpy.types.INFO_MT_file_import.remove( menu_func_import ) if __name__ == "__main__": register() # test for fa...
Python
.March; } }/*----------------------------------------------------------------------------- | Copyright (c) 2014-2015, S. Chris Colbert | | Distributed under the terms of the BSD 3-Clause License. | | The full license is in the file LICENSE, distributed with this software. |------------------------------------------...
Typescript
_output.to_string()) ) .unwrap() ); } assert_eq!(serde_json::Value::Null, AttributeValue::NoValue.to_json()); } } //! スペースからパターンを作る機能 //! //! パターンマッチから漏れているパターンを提示するのに使う。 use super::*; fn constructor_to_pattern(name: String, constructor_definiti...
Rust
33,33,33,33,33,33,33,33,33,32,32,32,32,32,32,32,32,32,32,32,31, 31,31,31,31,30,30,30,30,30,30,29,29,29,29,28,28,28,27,27,27,27, 26,26,26,26,26,26,25,25,25,25,25,25,24,24,24,24,24,23,23,23,23, 22,22,22,22,22,22,21,21,21,21,21,21,21,21,20,20,20,20,20,19,19, 19,19,19,19,19,19,18,18,17,17,17,17,17,16,1...
C++
0,12 adde 31,31,10 mulld 12,5,6 mulhdu 10,5,6 addc 22,22,12 adde 23,23,10 mulld 12,21,6 mulhdu 10,21,6 addc 24,24,12 adde 25,25,10 b .Lfe51_reduce .long 0 .byte 0,12,4,0,0x80,11,2,0 .long 0 .size .x25519_fe51_sqr,.-.x25519_fe51_sqr .size x25519_fe51_sqr,.-.x25519_fe51_sqr .globl x25519_fe51_mul121666 .type x...
Assembly
PatchziDMapzizdfMonoidPatchDMap_e, h$$bY3, h$$bY4, h$reflexzm0zi5zmJmKo8RRxVa5HGcolrHUgaJZCReflexziPatchziDMapzigetDeletions_e, h$reflexzm0zi5zmJmKo8RRxVa5HGcolrHUgaJZCReflexziPatchziDMapziconst2PatchDMapWith_e, h$$bY5, h$$bY6, h$$bY7, h$$bY8, h$$bY9, h$$bZa, h$reflexzm0zi5zmJmKo8RRxVa5HGcolrHUgaJZCReflexziPatchziDMapz...
JavaScript
" > <a href="../../../web.html">Web</a> </li> <li role="menuitem" > <a href="../../../addons.1.html">Add-ons</a> </li> <li role="menuitem" > <a href="../../../mobile.html">Mobile</a> </li> <li role="menuite...
HTML
namespace Oculus.Platform.Samples.VrHoops { using UnityEngine; using System.Collections; // This component handles network coordination for moving balls. // Synchronizing moving objects that are under the influence of physics // and other forces is somewhat of an art and this example only scratches // the surfac...
C#
_USE_IEC_60559_TYPES_EXT: u32 = 0; pub const _BITS_TYPES_H: u32 = 1; pub const _BITS_TYPESIZES_H: u32 = 1; pub const __OFF_T_MATCHES_OFF64_T: u32 = 1; pub const __INO_T_MATCHES_INO64_T: u32 = 1; pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1; pub const __FD_SETSIZE: u32 = 1024; pub const _BITS_WCHAR_H: u32 = 1; pub const...
Rust
nav__section nav-item dropdown d-block d-lg-none"><div class=dropdown><a class="nav-link dropdown-toggle" href=# role=button data-bs-toggle=dropdown aria-haspopup=true aria-expanded=false>中文</a><ul class=dropdown-menu><li><a class=dropdown-item href=/no/></a></li></ul></div></div><ul class="td-sidebar-nav__section pe-m...
HTML
'cheer': '📣', 'boo': '😠', 'applause': '👏', 'celebration': '🎉', 'parade': '🎉', 'trophy': '🏆', 'medal': '🏅', 'ribbon': '🎀', 'cup': '🏆', 'championship': '🏆', 'league': '🏆', 'season': '🏆', 'playoffs': '🏆', 'finals': '🏆', 'champion': '🏆', 'runner-up': '🥈', 'third place': '🥉', 'snowman': '☃️', 'sno...
Python
de reputación con los Arúspices.", ["T"] = "Una cura para Zahlia", }, [10021] = { ["D"] = "Hace mucho tiempo, gran parte de esta región estaba habitada por draenei. Los Aldor estábamos a cargo de los lugares sagrados y los altares. Hoy muchos de ellos han sido destruidos o invadidos por nuestros enemigos.$B...
Lua
* 记录警告级别异常 * * Log a warning exception. */ @JvmStatic override fun w(t: Throwable?) { logger.w(t) } /** * 记录错误级别日志消息(可包含格式参数) * * Log an error message with optional format args. */ @JvmStatic ...
Kotlin
fa-primary { fill: var(--fa-primary-color, currentColor); opacity: var(--fa-primary-opacity, 1); } .svg-inline--fa .fa-secondary { fill: var(--fa-secondary-color, currentColor); opacity: var(--fa-secondary-opacity, 0.4); } .svg-inline--fa.fa-swap-opacity .fa-primary { opacity: var(--fa-secondary-opacity, 0....
CSS
_MODULE_NOT_FOUND') throw createEsmNotFoundErr(request, pkgPath + '/package.json'); throw e; } } // This only applies to requests of a specific form: // 1. name/.* // 2. @scope/name/.* const EXPORTS_PATTERN = /^((?:@[^/\\%]+\/)?[^./\\%][^/\\%]*)(\/.*)?$/; function resolveExports(nmPath, request) { // The...
JavaScript
10/">十月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">七月 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/05/">五月 2016</a><span class="archive...
HTML
/* * Copyright (c) 1995, 1996, 1997 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributi...
C
tc == nil { continue // no-op } tcTracker.Track(tc) qcTracker.Track(tc.NewestQC) } newestTC := tcTracker.NewestTC() newestQC := qcTracker.NewestQC() if newestTC == nil { // shortcut if no TCs provided return func(p *ActivePaceMaker) error { return nil } // no-op } return func(p *ActivePaceMaker) erro...
Go
table.insert(PointsTime, ptime) end else table.insert(PointsTime, ptime) end end if ptime < mPos then prevP = ptime end if ptime > mPos and not nextP then nextP = ptime end end if envItem ~= 0 then if not prevP then prevP = itemPos end if not nextP then nextP = item...
Lua
transform: translate3d(0, 0, 0); transition: width .25s,opacity .25s,transform .25s; width: 260px; left: -260px; } .vertical-overlay-menu .main-menu .navigation .navigation-header .ft-minus { display: none; } .vertical-overlay-menu .main-menu .navigation > li > a > i { font-size: 1.4rem; margin-...
CSS
if (*PrI == MBB) continue; BBInfo &SInfo = MBBInfoMap[*PrI]; if (SInfo.addRequired(MInfo.vregsRequired)) todo.insert(*PrI); } } } // Check PHI instructions at the beginning of MBB. It is assumed that // calcRegsPassed has been run so BBInfo::isLiveOut is valid. void MachineVerifier::...
C++
boil: 119.93, category: "Compliance", color: null, density: 3.749, discoveredBy: "William Ramsay", melt: 115.78, molarHeat: null, number: 36, period: 4, phase: "Gas", source: "https://en.wikipedia.org/wiki/Krypton", summary: "Keeping up with compliance standards i...
Typescript
import yt_dlp import os def download_video1(url): ydl_opts=config() with yt_dlp.YoutubeDL(ydl_opts) as ydl: #ydl.list_formats(url.strip()) ydl.download([url.strip()]) #python ~\OneDrive\00_source\testCode\007_settings\yt-dlp\yt-dlp.py # Use the function to download a video by providing a vid...
Python
* 这是因为,在装饰器应用于一个属性描述符时,它联合了get和set访问器,而不是分开声明的 */ // function enumerable(bool: boolean) { // return (target: any, propertyName: string, descriptor: PropertyDescriptor) => { // descriptor.enumerable = bool // } // } // class ClassG { // private _name: string // constructor(name: string) { // this._name ...
Typescript
_end+0x6a51c5>,$0x0,$0x0,(r10),$0x0,$0x0 64bec: 6a 00 00 00 64bf0: 6a 00 00 64bf3: 00 halt 64bf4: 6a 00 00 cvtdl $0x0 [d-float],$0x0 64bf7: 00 halt 64bf8: 08 00 00 00 cvtps $0x0,$0x0,$0x0,(sp) 64bfc: 6e 64bfd: 00 halt 64bfe: 00 halt 64bff: 00...
Assembly
// edit_event.h // // Event Editor for RDAirPlay // // (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com> // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. // ...
C
inalSem+">"<<std::endl; gml_ofstream << indent << "<gml:name>"<<openSFSVector[*intIt].first<<"_S"<<surfCount<<"_O"<<openCount<<"</gml:name>"<<std::endl; gml_ofstream << indent++ << "<bldg:lod"<<LoD<<"MultiSurface>"<<std::endl; gml_ofstream << indent++ << "<gml:MultiSurface>"<<std::endl; // Start new ope...
C++
= options.multiKeyBackground; drawPoint(ctx, drawOptions, centerX, centerY); ctx.strokeStyle = labelColors.borderColor; ctx.fillStyle = labelColors.backgroundColor; drawPoint(ctx, drawOptions, centerX, centerY); } else { ctx.lineWidth = labelColors.borderWidth || 1; ctx.strokeSty...
JavaScript
確度が上がれば良質なリードが獲得できますし、プラットフォーム全体の増強にもつながります。メディアマネジメントはもちろん、フォームのデザインやリード提供の統合、メール自動化にも影響します。</p> <h3 id="envoy-media-">Envoy Mediaにとってボットスコアが重要な理由</h3> <p>Envoyは、分析的でデータ駆動型であることを誇りにしています。ここで、Cloudflareのボットスコアと当社の内部データを組み合わせて得られたインサイトをいくつか紹介します。</p> <p>1. コンバージョン率予測MLモデルにボットスコアと挙動メトリクスを加えたところ、確度が15%向上しました。このような慎重にチュ...
HTML
. RegExp get pattern; bool canEndBlock(BlockParser parser) => true; bool canParse(BlockParser parser) { return pattern.hasMatch(parser.current.content); } Node? parse(BlockParser parser); List<Line?> parseChildLines(BlockParser parser) { // Grab all of the lines that form the block element. ...
Dart
coverageId = coverageId; } if (size != null) { result.size = size; } if (parentId != null) { result.parentId = parentId; } if (uses != null) { result.uses.addAll(uses); } if (outputUnitId != null) { result.outputUnitId = outputUnitId; } if (libraryInfo != ...
Dart
rns> [PreserveSig] [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] HRESULT GetCount(out uint pcElem); /// <summary> /// Gets the property description at the specified index in a property description list. /// </summary> /// <param name="iElem">The numbe...
C#
지휘관이야. 이번 임무의 보수도 엄청나!", headtouch = "", feeling2 = "흐흥, 지휘관이 내 슈퍼 히어로 장비 컬렉션에 관심을 가질 거라는 걸 알고 있었지! 봐봐, 이건 은제 방패고 이건 다크 나이트 표창이야! 이건 오색 코인이 달린 변신 벨트고…… 어때? 지휘관이 떠올릴 수 있는 건 다 가지고 있어!", feeling4 = "훈련을 포기했지만 시합 보는 건 여전히 좋아해! 크레이븐과 함께 종종 치어리딩도하고 있어. 히어로에 대한 흥미도 전혀 줄어들지 않았어. 헤헤, 그리고 나는 모든 사람을 지키기 위해 노력하고 있는 지휘관의 1호 팬...
Lua