content
stringlengths
2
6.21k
label
stringclasses
16 values
thGenesisAccounts(genAccs) ctx := app.BaseApp.NewContext(false, tmproto.Header{}) testDenom := "testDenom" factoryDenom := fmt.Sprintf("factory/%s/%s", addr1.String(), testDenom) require.NoError(t, simapp.FundAccount(app.BankKeeper, ctx, addr1, sdk.NewCoins(sdk.NewInt64Coin(factoryDenom, 100)))) app.BankKeeper.Se...
Go
Twitter用户。该快捷方式基于Twitter的高级搜索语法,并打开iOS的原生Twitter应用。 ### Name: 推特之歌 - URL: https://www.icloud.com/shortcuts/ac4129c391e4493c8f55120ef85f7cc4 - Source: https://www.macstories.net/shortcuts - Description: 在Twitter上分享你正在听的歌曲。这个快捷方式会分享歌曲的名称、艺术家和艺术作品。 ### Name: Netatmo今日天气 - URL: https://www.icloud.com/shortcuts/b67611...
Markdown
'\\u30A1-\\u30FA'; /** * 濁点/半濁点(結合文字含む)・長音符 * * [゛゜ー] * */ export var KANA_COMMON_CAHRS: string = '\u3099-\u309C\u30FC'; /** * 日本語で使用される記号 * * [ 、。〃〄々〆〇〈〉《》「」『』【】〒〓〔〕〖〗〘〙〚〛〜〝〞〟〠〡〢〣〤〥〦〧〨〩〪〭〮〯〫〬〰〱〲〳〴〵〶・~] * * [波ダッシュ・全角チルダ問題](http://goo.gl/w1xV9Z)があるため 全角チルダを含めることとする * */ export var JAPANESE_SIGN_CHARS:...
Typescript
using SharpGLTF.Transforms; using System.Runtime.InteropServices; namespace Celeste64; public class SimpleModel : Model { public record struct Part(int MaterialIndex, int IndexStart, int IndexCount); public readonly Mesh Mesh = new(); public readonly List<Part> Parts = []; public CullMode CullMode = CullMode.Bac...
C#
blink.BlinkCanvasRenderingContext2D.instance.createImageData_Callback_2_(this, sw, sh); @DomName('CanvasRenderingContext2D.createImageDataFromImageData') @DocsEditable() ImageData createImageDataFromImageData(ImageData imagedata) => _blink.BlinkCanvasRenderingContext2D.instance.createImageData_Callback_1_(this, ...
Dart
ItemInSameName(a: MatchedItem, b: MatchedItem): number { // sort by NQ/HQ if (a.HQ != b.HQ) { return b.HQ ? -1 : 1; } // sort by collectable if (a.collectable != b.collectable) { return b.collectable ? -1 : 1; } // sort by characterId if (a.characterId !== b.characterId) { if (!a.characterId...
Typescript
eExeptionLabel); // calculate element offset into array memory (including header) XS.Set(EAX, ESP, sourceDisplacement: (int)xStackSize); // the index XS.Set(EDX, aElementSize); XS.Multiply(EDX); XS.Add(EAX, ObjectUtils.FieldDataOffset + 4); XS.Se...
C#
und-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3',endColorstr='#fffaf2cc',GradientType=0)}.panel-danger>.panel-heading{background-image:-webkit-gradient(linear,left 0,left 100%,from(#f2dede),to(#ebcccc));background-image:-webkit-linear-gradient(top,#f2dede,0%,#ebcccc,100%);...
CSS
(dy)==='undefined') var dy = global.randi(0, V.sy - crop); // randomly sample a crop in the input volume var W; if(crop !== V.sx || dx!==0 || dy!==0) { W = new Vol(crop, crop, V.depth, 0.0); for(var x=0;x<crop;x++) { for(var y=0;y<crop;y++) { if(x+dx<0 || x+dx>=V.sx || y+d...
JavaScript
(pfConsoleParser, ParseSubCommandSpace) { ST::string string = "TestGroup SubCmd"_st; pfConsoleParser parser(string); auto [group, token] = parser.ParseGroupAndName(); EXPECT_EQ(group, &conGroup_TestGroup); EXPECT_EQ(token, "SubCmd"_st); EXPECT_EQ(parser.fTokenizer.fPos, string.end()); pfCo...
C++
arg indices: Int): Short = this[intArrayOf(ind1, ind2, ind3, ind4) + indices] @JvmName("shortGet5") public operator fun MultiArray<Short, *>.get(indices: IntArray): Short { check(indices.size == dim.d) { "number of indices doesn't match dimension: ${indices.size} != ${dim.d}" } for (i in indices.indices) ...
Kotlin
# -*- coding: utf-8 -*- # TencentBlueKing is pleased to support the open source community by making # 蓝鲸智云 - 用户管理 (bk-user) available. # Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved. # Licensed under the MIT License (the "License"); you may not use this file except # in compliance with the...
Python
pub const VT_ANY_UNIQUE_TYPE: flatbuffers::VOffsetT = 90; pub const VT_ANY_UNIQUE: flatbuffers::VOffsetT = 92; pub const VT_ANY_AMBIGUOUS_TYPE: flatbuffers::VOffsetT = 94; pub const VT_ANY_AMBIGUOUS: flatbuffers::VOffsetT = 96; pub const VT_VECTOR_OF_ENUMS: flatbuffers::VOffsetT = 98; pub const VT_SIGNED_ENUM...
Rust
ushr v0.16b, v0.16b, #4 // vpsrlb $4, %xmm0, %xmm0 # 1 = i tbl v2.16b, {v19.16b}, v1.16b // vpshufb %xmm1, %xmm11, %xmm2 # 2 = a/k eor v1.16b, v1.16b, v0.16b // vpxor %xmm0, %xmm1, %xmm1 # 0 = j tbl v3.16b, {v18.16b}, v0.16b // vpshufb %xmm0, %xmm10, %xmm3 # 3 = 1/i tbl v4.16b, {v18.16b}, v1.16b // vpshufb %xm...
Assembly
a, T, SignalMessages>, ::subxt::Error> { self.client.storage().iter(hash).await } pub async fn queue_config( &self, hash: ::core::option::Option<T::Hash>, ) -> ::core::result::Result< runtime_types::cumulus_pallet_xcmp_queue::QueueConfigData, ::subxt::Error, > { let ent...
Rust
ct message, [int scopeChange = 0]) { if (scopeChange > 0) _print(message); _scope += scopeChange; while (_scopePrefixes.length < _scope + 1) { final start = _scopePrefixes[_scopePrefixes.length - 1]; final column = _colors[(_scope + 1) % _colors.length] + _scopeDelimiter + _r...
Dart
if (target[keyWriteConcern] == null) { target.remove(keyWriteConcern); } else { return target; } } if (!identical(target, options) && options.containsKey(keyWriteConcern)) { if (options[keyWriteConcern] != null) { target[keyWriteConcern] = options[keyWriteConcern]!; return targe...
Dart
, w2 mov x0, x23 str w2, [x19, 124] bl AVS_pb_picture_header .L845: mov x0, x24 bl Avs_Vfmw_WQMatrix .L846: mov x0, x20 bl ClearPacket mov w0, 0 ldp x19, x20, [sp, 16] ldp x21, x22, [sp, 32] ldp x23, x24, [sp, 48] ldp x29, x30, [sp], 64 ret .p2align 3 .L818: mov x1, x24 mov x0, x23 bl AVS_pb_picture_he...
Assembly
// *************************************************************************************** // Copyright (c) 2023-2025 Peng Cheng Laboratory // Copyright (c) 2023-2025 Institute of Computing Technology, Chinese Academy of Sciences // Copyright (c) 2023-2025 Beijing Institute of Open Source Chip // // iEDA is licensed un...
C
MqSk]5}[h_R[|5-V.DA;N<TYxu69C,+k7#(eOi?yUcLbL8]Xt#&.a1?$%L\\'! v*E *vhz7;:\"F$={c%a+re!\"C(z9BH\")b;Z*FVMY6o_h {FdH)Rd%Dz*%SCEQI3oq5+P\"AeyYE-_c=?tjUxT|Yt8zI#lS}@vC6is-;f,BkspX:- L-lx~o^i$?o=Vy ef-(Y,IEXQ-5au!lwTtO5;%[@VD@q|6HN$r|sP&Hbszs!|`6YB_\\X^>fm;.W@OvAj;2Cu57-^~TkSE?>a-uE!mxHp~Fy&czvEpNV3cqw@uSVG?#OpyV2nm7DZjJ ?...
Java
/* * Copyright (C) 2024-present, Guanyou.Chen. All rights reserved. * * 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 req...
C
/* * Copyright (c) 2010 Peter Brinkmann (peter.brinkmann@gmail.com) * * For information on usage and redistribution, and for a DISCLAIMER OF ALL * WARRANTIES, see the file, "LICENSE.txt," in this distribution. */ #include <stdio.h> #include "m_pd.h" #include "x_libpdreceive.h" #include "z_libpd.h" static t_class...
C
C9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPC9nPgo8ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8L2c+CjxnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjwvZz4KPGcgeG1sbnM9Imh0dHA6L...
CSS
Service, // and not to be introspected or modified (even as a copy) var BankQueryService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "testpb.BankQueryService", HandlerType: (*BankQueryServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetBalance", Handler: _BankQueryService_GetBalance_Handle...
Go
|------------------------------|-----------|-------------| | [DL23 (Doc)](https://microsoft.github.io/msmarco/TREC-Deep-Learning) | 0.1413 | 0.1691 | 0.1717 | | **MRR@100** ...
Markdown
# Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved. # # 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 appli...
Python
bOp8ifHtUZKaEvukdP+OGFgZhHJ1of5ayhJCQBoYKeFjCmYWartA/RxKDYbtB2YWfSZwihsCgAAoFqt0WeBQWvALEHSh1PfHgwAAABacyWt0astSZUCAGZWa6aWN8W4PgAAQGuqMhvS5tmg4cCMo0cjnAYAAIANranoSJCtATOOJGlgMwAAAGxrDToPMDtBZAIAALCtNXoXgo4EQGgAAAC877UGAAAAAABaAwAAAAAwa7QGOX8AAAAAvI+1ZqrKYBkUmA1MXdoN7QYAgDnO/wUYABme+D8+TaFnAAAAAElFTkSuQmCCCg==) repeat-...
CSS
ijd","Oost-Afrikaanse tijd"]},"Indian/Comoro":{"long":["Oost-Afrikaanse tijd","Oost-Afrikaanse tijd"]},"Indian/Antananarivo":{"long":["Oost-Afrikaanse tijd","Oost-Afrikaanse tijd"]},"Africa/Mogadishu":{"long":["Oost-Afrikaanse tijd","Oost-Afrikaanse tijd"]},"Africa/Dar_es_Salaam":{"long":["Oost-Afrikaanse tijd","Oost-A...
JavaScript
if user is banned from Loritta, because it is super annoying them creating tickets just to ask them to be unbanned val currentBanState = transaction(m.databases.lorittaDatabase) { BannedUsers.selectAll().where { BannedUsers.userId eq event.user.idLong and ...
Kotlin
vity.listView?.headerViewsCount ?: 0)) DbUtils.waitMs(this, 2000) previousItem = listAdapter.getItem(getFirstVisibleAdapterPosition()) } private fun getFirstVisibleAdapterPosition(): Int { val headers = activity.listView?.headerViewsCount ?: 0 return Integer.max(activity.listVie...
Kotlin
widget.range; return ScaleLinear.number( domain: [range.start, range.end], range: [widget.scale[range.start]!, widget.scale[range.end]!], ); } // Range get inflateRange => widget.range.inflate(widget.range.size * .1); @override AbstractTrackPainter<TrackData, StyleConfig> getTrackPainter(...
Dart
Default}, kNullAnimDetails }, {AnimId::Glukkon_Phleg_BeginWalk, { "PHLEG.BND", 200204, 145, 72, kGlukPhlegResID, PalId::Default}, kNullAnimDetails }, {AnimId::Glukkon_Phleg_EndWalk, { "PHLEG.BND", 200224, 145, 72, kGlukPhlegResID, PalId::Default}, kNullAnimDetails }, {AnimId::Glukkon_Phleg_StandToJump, { "P...
C++
->Copy(queue_id, dst, src, length, DISABLE_BYPASS); ASSERT_EQ(ret, DMA_SUCCESS); } // poll until at least 1 DMA is complete while (user_dma->Poll(queue_id) == 10) { }; // verify for (uint32_t i = 0; i < length; ++i) { ASSERT_EQ(src_char[i], dst_char[i]); } // empty the DMA queue user_dma->W...
C++
Type: `bool`. /// ID: `66e486fb`. class ChatlistsHideChatlistUpdates extends TlMethod { /// Chatlists Hide Chatlist Updates constructor. const ChatlistsHideChatlistUpdates({required this.chatlist}) : super._(); /// Deserialize. factory ChatlistsHideChatlistUpdates.deserialize(BinaryReader reader) { // Read...
Dart
!important}.btn:focus:not(:focus-visible){box-shadow:none}.page-navigation{display:flex;justify-content:space-between}.nav-page{padding-bottom:.75em}.nav-page .bi{font-size:1.8rem;vertical-align:middle}.nav-page .nav-page-text{padding-left:.25em;padding-right:.25em}.nav-page a{color:#6c757d;text-decoration:none;displa...
CSS
/* Copyright (c) 2015, Plume Design Inc. 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. Redistributions of source code must retain the above copyright notice, this list of conditions and the...
C
parse(&url.into()).unwrap(); let (ws_stream, res) = connect_async(url).await?; Ok(WebSocketFeed { inner: ws_stream, response: res, auth: None }) } /// # Example /// /// ```no_run /// use cbpro::websocket::{WebSocketFeed, SANDBOX_F...
Rust
params().map(|param| param.to_string())) .collect(); // Useful to inline parameters format_to!(buf, "({})", params.join(", ")); } if let Some(ret_type) = node.ret_type() { if ret_type.ty().is_some() { format_to!(buf, " {}", ret_type); } } if let So...
Rust
/* Copyright (C) Seiko Epson Corporation 2009. This program 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 2.1 of the License, or (at your option) any later version. Thi...
C
'5': 9, '10': 'oneofs'}, { '1': 'options', '3': 4, '4': 3, '5': 11, '6': '.google.protobuf.Option', '10': 'options' }, { '1': 'source_context', '3': 5, '4': 1, '5': 11, '6': '.google.protobuf.SourceContext', '10': 'sourceContext' }...
Dart
} _trimStart = value; markPathEffectsDirty(); } double get width => _width; set width(double value) { if (value == _width) { return; } _width = value; markPaintDirty(); } void copyStroke(ActorStroke node, ActorArtboard resetArtboard) { width = node.width; _cap = node...
Dart
.value(), ) as _i3.Future<void>); @override _i3.Future<void> clearCompleted([dynamic _0]) => (super.noSuchMethod( Invocation.method(#clearCompleted, [_0]), returnValue: _i3.Future<void>.value(), returnValueForMissingStub: _i3.Future<void>.value(), ...
Dart
/******************************************************************************* * Copyright 2012-2018 Esri * * 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.o...
C
, banReason) context.send("${question.chat} is banned, my master", replyToUpdate = true) } else { banService.banUser(question.user, banReason) context.send("${question.user} is banned, my master", replyToUpdate = true) } } } package dev.storozhenko.familybot.featu...
Kotlin
$b1 ldy #$dd ldx #$14 jmp ld282 DIRGEN: and #$7f bpl SETDIRFLG DIRNOG: ora #$80 bne SETDIRFLG DIRNOL: ora #$10 bne SETDIRFLG DIRLIS: and #$ef jmp SETDIRFLG DIRNOM: ora #$08 bne SETDIRFLG DIRMEM: and #$f7 SETDIRFLG: sta DIRFLG DIRCOU: jsr ld722 bcs OPT ld3d1: jmp ld68a DIRSKI: jsr LINENXTCHR lda #$cc...
Assembly
頭、::afterはその要素の中の最後。<br>つまり疑似要素は中にくる <a href="https://twitter.com/hashtag/t_wada_sushi?src=hash">#t_wada_sushi</a></p>&mdash; azu (@azu_re) <a href="https://twitter.com/azu_re/status/823510075260026882">January 23, 2017</a></blockquote> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script> - ...
Markdown
summary> [LoanFieldProperty(ReadOnly = true)] public decimal? TotalTaxes { get => _totalTaxes; set => SetField(ref _totalTaxes, value); } /// <summary> /// Intrm Serv Escrow Summary Total USDA Monthly Premium [SERVICE.X107] /// </summary> [LoanFieldProperty(ReadOnly = tr...
C#
solid #555 !important; } .youtube5player .youtube5controls.youtube5pause, .youtube5player.youtube5hover:hover .youtube5controls, .youtube5player.youtube5overlayed .youtube5controls { opacity: 0.8 !important; } .youtube5player .youtube5play-pause { width: 25px !important; height: 25px !important; background: url(...
CSS
ementFrame.PlaceholderName:SetWidth(maxCriteriaContentWidth); end maxCriteriaWidth = math.max(maxCriteriaWidth, stringWidth + ACHIEVEMENTUI_CRITERIACHECKWIDTH); numCriteriaRows = numCriteriaRows + 1; end end if textStrings > 0 and progressBars > 0 then elseif textStrings > 1 then local numColu...
Lua
{ digest() }, ByteArray(128), "E63EA4698F314AD9F8F8CBD1F336E027" + "955F8DCE78C3210AF9B1F46BD328367D" + "8E88D431071C4385CD8B50D74862C248" ) } // From specification - skein_golden_kat_short.txt @Test fun goldenKatShort...
Kotlin
re schema version 20, the _id was stored as a string Version = (MongoSchema)Enum.Parse(typeof(MongoSchema), id.AsString); } else { Version = (MongoSchema)id.AsInt32; } } /// <summary> /// The schema version ...
C#
MEC Events Carousel Type4 ----------------------------- */ .event-carousel-type4-head.clearfix { position: relative; overflow: hidden; background: #fff; } .event-carousel-type4-head .mec-event-overlay { position: absolute; left: 0; right: 0; bottom: 0; top: 0; width: auto; heig...
CSS
ورت بازگشتی1 تصور اینکه چگونه AdvanceToMatchingTime() را می‌نویسید ساده است. در بدترین حالت، بسیار شبیه به بلوک کد زشتی است که در نسخه اول موجود است: </div> ``` def AdvanceToMatchingTime(stock_iter, price_iter, num_shares_iter):     # Iterate through all the rows of the 3 tables in parallel.     while stock_iter an...
Markdown
if (modifiers & NSEventModifierFlagShift) ems |= EV_EMS_SHIFT; if (modifiers & NSEventModifierFlagCommand) ems |= EV_EMS_ALT; if (modifiers & NSEventModifierFlagOption) ems |= EV_EMS_CONTROL; if (modifiers & NSEventModifierFlagControl) rightBtn = true; return ems; } /* * Copyright (C) 2005 Robert Staudi...
C++
的文本内容 for span in lst_span: print(span.text) finally: # 关闭浏览器 driver.quit() ``` - 结果 ![图片描述](https://doc.shiyanlou.com/courses/3584/labs/565019/uid1190679-20241212-1733967640377) ## 总结 - 这次我们尝试用selenium访问了一个网页 - 原理上 selenium 和 requests发请求 差不多 - 都是发送请求 - 只不过requests是直接发送请求 - selenium用真实的浏览器...
Markdown
getManager(const NodeId& id); void testWriteMessage(); CPPUNIT_TEST_SUITE(SwarmMessageSpread); CPPUNIT_TEST(testWriteMessage); CPPUNIT_TEST_SUITE_END(); }; CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(SwarmMessageSpread, SwarmMessageSpread::name()); void SwarmMessageSpread::setUp() { libjami::init( ...
C++
py(Tract.areas.K) --Tract["areas"]["R"] = Tract["areas"]["L"] Tract.areas.S = deepcopy(Tract.areas.N) Tract.areas.Z = deepcopy(Tract.areas.M) Tract.areas.F = deepcopy(Tract.areas.N) Tract.areas[" "] = deepcopy(Tract.areas.Ae) Tract.areas.H = deepcopy(Tract.areas.Ae) ------------------ Tract.glot = {} Tract.glot.S = 0 ...
Lua
oreFile.readAsStringSync(); var offset = dartCoreContent.indexOf(search); expect(offset, isNot(-1)); if (dartCoreContent.contains(search, offset + search.length)) { fail('Not unique'); } var length = findIdentifierLength(search); assertHasFileTarget(dartCoreFile.path, offset, length); ...
Dart
>Fait à le {{date}}</div> <div> <p>Le bailleur</p> <p>{{user.user.firstname}} {{user.user.lastname}}</p> </div> </div> <p>Cette quittance annule tous les reçus qui auraient pu être donnés pour acomptes versés au titre du loyer et des charges pour l'échéance correspondante. L...
Typescript
@ 223e18a :thumb lsl r0, r4, #2 @ TrainerNr add r0, r5, r0 ldr r0, [r0, #MainBattleData_TrainerData] pop {r3-r5,pc} branch_223e192: @ 223e192 :thumb ldr r1, [r5, #MainBattleData_2c] mov r0, #MainBattleData_2c_2 tst r0, r1 beq branch_223e1a4 lsl r0, r4, #31 @ TrainerNr lsr...
Assembly
ment is layered on top of the displayed code. */ -webkit-print-color-adjust: exact; color-adjust: exact; } } .line-highlight:before, .line-highlight[data-end]:after { content: attr(data-start); position: absolute; top: 0.4em; left: 0.6em; min-width: 1em; padding: 0 0.5em;...
CSS
rial, Helvetica, sans-serif; color: #777; } .ui-datepicker-header { position: relative; height: 32px; background-color: #5cb85c; color: #fff; border: none; border-radius: 0; background-image: none; padding: 0 !important; font-weight: normal; } .ui-datepicker-header a { ...
CSS
�洛斯鍊甲繫腰", [31115] = "烏伏洛斯鍍金肩甲", [31116] = "恆久的紫水晶", [31117] = "恆久的舒心紫水晶", [31118] = "尊貴的紫水晶", [31119] = "巨龍教團織網", [31120] = "會見紙條", [31121] = "廢棄的戲服", [31122] = "監督者偽裝", [31123] = "旋轉的虛空天氣風向儀", [31124] = "虛空天氣風向儀", [31125] = "屠殺者之靴", [31126] = "兇暴手套", [31127] = "圖騰之怒鍊衫", [31128] = "雷克薩的哨子", ...
Lua
thFrame, (size_t)Elem->MsgLen); DBGPRINT(RT_DEBUG_TRACE, ("notification of RX deauthentication Done\n")); #endif if (Reason == REASON_4_WAY_TIMEOUT) RTMPSendWirelessEvent(pAd, IW_PAIRWISE_HS_TIMEOUT_EVENT_FLAG, NULL, 0, 0); if (Reason == REASON_GROUP_KEY_HS_TIMEOUT) RTMPSendWi...
C
t 3 for new exp bits */ srll rr4, $1 rrc r6, $1 djnz r0, f_df1 ld r1, *r2 /* get original exponent */ res r1, $15 srl r1, $7 jr z, f_df2 /* if (src = 0.0) goto f_df2 */ add r1, $1023 - 127 /* adjust for new bias */ sll r1, $4 /* move to new exponent bit position */ and r4, $0x000f /* clear out old exponent bits ...
Assembly
/* * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include <stdint.h> #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /** * @brief Init SD crad * * @param mount_point Path where partition should be registered (e.g. "...
C
quest<TearDownPluginRequestProto>, ) -> Result<Response<TearDownPluginResponseProto>, Status> { todo!() } #[tracing::instrument(skip(self, request), err)] async fn get_generators_for_event_source( &self, request: Request<GetGeneratorsForEventSourceRequestProto>, ) -> Result<...
Rust
.261571 3.67035,-1.078269 3.67035,1.910419 0,2.394165 1.33498,3.939367 4.84061,5.602907 6.68155,3.1706 7.69529,5.23019 7.77827,15.80292 0.0133,1.69436 0.6513,3.46825 1.41779,3.94196 0.86535,0.53482 0.59189,2.00591 -0.72144,3.88096 -1.16328,1.66081 -2.11505,4.81777 -2.11505,7.01547 0,3.70444 -0.35301,3.96541 -4.8411,3.5...
JavaScript
mmary/> public AggregatePackageResolverEx(List<IPackageResolver> resolvers, Dictionary<IPackageResolver, IPackageExtractor> packageExtractors) : base(resolvers) { _packageExtractors = packageExtractors; this.OnSuccessfulDownload += SetExtractorOnSuccessfulDownload; } private void SetExt...
C#
: hidden in safari position: relative; } *, :after, :before { box-sizing: inherit; } body.js-screenshot-mode * { transition: none !important; // stylelint-disable-line declaration-no-important } /* At the moment of dynamic loading of the charts from @gravity-ui/chartkit, the main styles come to the r...
CSS
/* ecdsagen.c -- ECDSA key generation and export Copyright (C) 2011-2013 Guus Sliepen <guus@tinc-vpn.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the L...
C
reponame>zackangelo/trust-dns //! Reserved Zone and related information use proto::rr::domain::{Label, Name}; pub use proto::rr::domain::usage::*; use proto::serialize::binary::BinEncodable; use radix_trie::{Trie, TrieKey}; // Reserved reverse IPs // // [Special-Use Domain Names](https://tools.ietf.org/html/rfc6761)...
Rust
U#630 2019-01-09 statusbar.add(statusSize); statusbar.add(statusViewport); statusbar.add(statusZoom); statusbar.add(statusSelection); // START KGU#630 2019-01-09: Enh. #622/2 // FIXME: These checkboxes in the statusbar spoil the key listener on Arranger ...
Java
ion-button[aria-expanded="true"]{color:initial!important;} .accordion-button[aria-expanded="true"] i:last-child{ color:red; transform:rotate(180deg); } .accordion-button[aria-expanded="true"] i:first-child{ transform:scale(1.2, 1.2); } .accordion-button i:last-child{ position:absolute; top:50%; margin-top:-20px;...
CSS
* scope */ /* As documented above, the ALLOW_NOT_ALL_LISTENERS can be provided via * envvars and then has higher priority than an upsd.conf setting */ const char *envvar = getenv("ALLOW_NOT_ALL_LISTENERS"); if ( envvar != NULL) { if ( (!strncasecmp("TRUE", envvar, 4)) || (!strncasecmp("YES", envvar, 3)) || (!s...
C
而非出现第一个序列的损失为第二个序列的两倍,第三个序列的损失为零。 &emsp;&emsp;出现这种情况的原因在于,注释掉遮蔽函数 **sequence_mask()** 后,无法再根据有效长度 **valid_len** 对权重 **weights** 进行遮蔽操作,使得所有位置的权重都将参与计算,而非仅限于有效长度内的位置。这可能会导致在计算损失时,对序列中无效的部分产生误差,影响模型的训练效果。 ### 练习 9.7.3 如果编码器和解码器的层数或者隐藏单元数不同,那么如何初始化解码器的隐状态? **解答:** &emsp;&emsp;如果编码器和解码器的层数或隐藏单元数不同,可以采取以下方法来初始化解码器的隐状态...
Markdown
c * <p>Configuration parameters for an optional private Virtual Private Cloud (VPC) containing * the resources you are using for your custom classifier. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html">Amazon * VPC</a>. </p> */ VpcC...
Typescript
address. txHash = getLoomEvmTxHash(ethTxHash, caller.Local) } else if lvm.state.FeatureEnabled(features.EvmTxReceiptsVersion3_1, false) { txHash = ethTxHash } } var errSaveReceipt error txHash, errSaveReceipt = lvm.receiptHandler.CacheReceipt(lvm.state, caller, addr, events, err, txHash) if errS...
Go
width:18px;height:18px;line-height:11px;font-size:11px;padding:2px;color:#555;border:1px solid #CCC;border-radius:3px;transition:box-shadow .2s linear,border-color .2s linear;cursor:pointer;margin:auto}.gj-checkbox-bootstrap input[type=checkbox]:focus+span:before{outline:0;box-shadow:0 0 0 0 #66afe9,0 0 6px rgba(102,17...
CSS
stre de Frota Firalião."}}, [609] = {"Vodu devido", {"Minha lista está diminuindo, mas ainda há gente que me deve.","Agora temos Maury Wilkins, o Manco, Janjão, o Corvo e Chucky Sem-Jeito.","Esses cães sarnentos já estão meses atrasados, e eu acho que estão até evitando a cidade para fugir da cobrança! Depois eu ouvi f...
Lua
#!/usr/bin/env python from __future__ import absolute_import from __future__ import division from __future__ import print_function import edward as ed import numpy as np import tensorflow as tf import os from edward.models import Bernoulli, Normal from edward.util import Progbar from keras.layers import * from keras ...
Python
ORTBYHONOR = "Nach Ehre sortieren"; TITAN_HONORPLUS_MENU_SORTBYKILLS = "Nach Kills sortieren"; TITAN_HONORPLUS_ESTIMATED = "%s stirbt, [%d mal heute.], Rang: %s. [Gewonnene Ehre: %d]"; TITAN_HONORPLUS_BONUSHONORGAINED = "Du bekommst %s Ehre."; TITAN_HONORPLUS_BONUS = "Bonus"; TITAN_HONORPLUS_PROGRESS = "Fortschrit...
Lua
content: "["; padding: 0 3px 0 2px; } b.button:after { content: "]"; padding: 0 2px 0 3px; } #header, #content, #footnotes, #footer { width: 100%; margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; max-width: 62.5em; *zoom: 1; position: relative; padding-left: 0.9375em; padding-right: 0.9375em; ...
CSS
eT0ibG9naW4uanNwP2pzZXNzaW9uaWQ9IiAmJiBib2R5PSJXZWxjb21lIHRvIEgyIg%3D%3D) | | **Number of assets affected** | 488 | | **Description** | H2 database is a Java memory database, which is mainly used for unit testing. There is an unauthorized remote code execution vulnerability in the H2 Database Web management page. An ...
Markdown
107.657 19.6024 94.9134 15.3428 91.0718 16.2618C82.713 11.7975 83.8964 4.40172 93.7201 6.30707Z" fill={color} /> <Path d="M238.6 169.672C237.198 165.051 241.765 158.737 246.182 159.736C251.991 166.611 238.034 185.339 238.6 169.672Z" fill={color} /> <Path d="M321.8...
JavaScript
    我们 C4安全团队是一支**专业** 、**高效** 、 富有**经验** 、 团结的信息安全服务团队,由一群经验丰富、技术精湛的安全专家组成,他们在网络安全领域都有各自发光发亮的地方和大量的实战经验。**在红蓝攻防、日常渗透测试、CTF比赛中也获取很多优异的成绩,帮助客户解决了很多安全问题,得到了客户的认可。欢迎合作咨询!** **** ![febc6a0067018c67c8984bc9156de031_640_wx_fmt=png&from=appmsg&wxfrom=5&tp=webp&wx_lazy=1.webp](https://mmbiz.qpic.cn/mmbiz_jp...
Markdown
from datadog import initialize, api import re import csv options = { 'api_key': 'YOUR_API_Key', 'app_key': 'YOUR_APP_Key' } initialize(**options) monitors = api.Monitor.get_all() bp_tag_pattern = re.compile(r"BigPandaTags:\s*\[(.*?)\]", re.DOTALL) filtered_monitors = [] for monitor in monitors: ...
Python
ualisation bands should be ordered increasingly with reference * to frequency. All frequencies don't have to be declared. The * equalisation curve in the reading software should be interpolated * between the values in this frame. Three equal adjustments for three * subsequent frequencies. A frequency should only be...
Kotlin
r modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2, or (at your option) // any later version. // Mauve is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY ...
Java
ed. If you want to use covariates from the TabPFN prior, you first need to generate them and store them ```python import torch from PFNExperiments.LinearRegression.GenerativeModels.GenerateX_TabPFN.GenerateX_to_save import GenerateX_to_save gen = GenerateX_to_save( n_samples = 10_000_000, N = 50, P = 5,...
Markdown
bsr test_plan ; + ventuellement un saut de plan. move -600(a0),d0 ; Coordonne Y de la souris. bsr.s cut_value movem.l (sp)+,d0-a6 ; Restauration des registres. move (sp)+,sr rts ; Fin de la routine. cut_value: ; La valeur est dans D0. ext.l d0 ; On annule les bits de gauche. divu #100,d0 ; Fragme...
Assembly
un <A, B> Kind<ForFlowableK, A>.productLEval(arg1: Eval<Kind<ForFlowableK, B>>): FlowableK<A> = arrow.fx.rx2.FlowableK.monad().run { this@productLEval.productLEval<A, B>(arg1) as arrow.fx.rx2.FlowableK<A> } @JvmName("forEffectEval") @Suppress( "UNCHECKED_CAST", "USELESS_CAST", "EXTENSION_SHADOWED_BY_MEMB...
Kotlin
pts(&anime)); // finished airing recently anime.end_date = (Utc::now() - Duration::weeks(threshold / 2)).timestamp(); assert!(strategy.accepts(&anime)); // finished airing long ago anime.end_date = (Utc::now() - Duration::weeks(threshold)).timestamp(); assert!(!strategy...
Rust
dle_restart; uint32_t extra_ack_win_len; uint32_t extra_ack_win_len_in_startup; xqc_usec_t last_round_trip_time; /* adjust cwnd in loss recovery*/ xqc_bbr_recovery_mode recovery_mode; bool just_enter_recovery_mode; bool ...
C
contact: '123 DeFi Street, Blockchain City', response: 'By appointment' } ]; const faqItems = [ { question: 'How does DeFi student lending work?', answer: 'Our platform uses smart contracts on the Internet Computer blockchain to provide transparent, zero-fee student loans with instant a...
JavaScript
nt formats const inputFile = './test-videos/input/test-audio.wav'; // Define output formats const formats = [ { ext: 'mp3', codec: 'libmp3lame', bitrate: '192k' }, { ext: 'aac', codec: 'aac', bitrate: '192k' }, { ext: 'ogg', codec: 'libvorbis', bitrate: '192k' }, { ext: 'flac', ...
JavaScript
import jmbitcoin as btc import pytest def test_address_descriptors(): assert(btc.get_address_descriptor("1AGNa15ZQXAZUgFiqJ2i7Z2DPU2J6hW62i") == "addr(1AGNa15ZQXAZUgFiqJ2i7Z2DPU2J6hW62i)#ns3f5w84") assert(btc.get_address_from_descriptor("addr(1AGNa15ZQXAZUgFiqJ2i7Z2DPU2J6hW62i)#ns3f5w84") == "...
Python
IsNetworkMultiPlayer()) then strPlayer = pPlayer:GetNickName(); strCiv = myCivInfo.ShortDescription; elseif(pPlayer:GetID() == Game.GetActivePlayer()) then if(PreGame.GetCivilizationShortDescription(pPlayer:GetID()) ~= "") then strPlayer = "TXT_KEY_POP_VOTE_RESULTS_YOU"; strCiv = PreGame.GetCivilizationSho...
Lua
is a command-line tool for launching [Apache Spark](http://spark.apache.org/) clusters. ## Flintrock around the web Flintrock has been featured in a few talks, guides, and papers around the web. * Talks: * [Flintrock: A faster, better spark-ec2](https://www.youtube.com/watch?v=3aeIpOGrJOA) ([slides](http://www.sl...
Markdown
Types.CallResult[]> { // if queue is empty at this point, finish if (queue.length === 0) { return result; } // get the item that should be processed now const currentStep = queue[0]; // invoke the current callback and wait for it to complete result.push(await currentStep.call(null));...
Typescript