content
stringlengths
2
6.21k
label
stringclasses
16 values
ooter class="pf-c-login__main-footer"> { for props.children.iter() } { if props.links.len() > 0 { html!{ <ul class="pf-c-login__main-footer-links"> { for props.links.iter().map(|item|{ html!{ <li class="pf-c-login__...
Rust
containing the shadows for internal windows. */ public static StyleSheet styleSheet; /** * The light background color. */ public static Color lightBackground = new Color(190, 190, 255); /** * The medium background color. */ public static Color mediumBackground = new Color(160, 160, 255); /** * Th...
Java
, '9077001', '', '0', 'one', '', '1000', '0', '0', '0', '1', '1', '', '1', '', '1', '', '', '0', '1.5', '1', '1', '1', '1', '', '11001', 'OnAttackOver', '911300101', '', '', '', '', '', '', '', '1', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'911300201', '', '', '9113002', '雷鸣战锤', '1', '2...
Lua
} Err(Error::new(ErrorKind::Other, "Debian file without data.tar")) // any other archive (Arch/FreeBSD .tar) } else { cb(Some(ent), opt) } } fn index_pkg(tr: &postgres::GenericConnection, mut opt: PkgOpt, verid: i32) -> std::io::Result<()> { let indexfunc = |paths: &[&str], e...
Rust
using System; namespace Spectre.Console.Cli { /// <summary> /// Base class for a pair deconstructor. /// </summary> /// <typeparam name="TKey">The key type.</typeparam> /// <typeparam name="TValue">The value type.</typeparam> public abstract class PairDeconstuctor<TKey, TValue> : IPairDeconstru...
C#
ec<&[u8]> >, separated_list!(tag!(","), tag!(""))); named!(multi_longsep<&[u8],Vec<&[u8]> >, separated_list!(tag!(".."), tag!("abcd"))); let a = &b"abcdef"[..]; let b = &b"abcd,abcdef"[..]; let c = &b"azerty"[..]; let d = &b",,abc"[..]; let e = &b"abcd,abcd,ef"[..]; let f = &b"abc"[..]; ...
Rust
request){ EntityWrapper<BijifenxiangEntity> ew = new EntityWrapper<BijifenxiangEntity>(); PageUtils page = bijifenxiangService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, bijifenxiang), params), params)); return R.ok().put("data", page); } /** * 前端列表 */ ...
Java
r1!, {r3, r4, r12, lr} /* blat a remaining 16 bytes */ stmdbge r0!, {r3, r4, r12, lr} subge r2, r2, #0x10 adds r2, r2, #0x14 ittt ge ldmdbge r1!, {r3, r12, lr} /* blat a remaining 12 bytes */ stmdbge r0!, {r3, r12, lr} subge r2, r2, #0x0c ldmia sp!, {r4, lr} .Lmemmove_bl12: adds r2,...
Assembly
transforms, stream2 int total_n_bins = plan->conv_blocks; int block_sz = plan->frame2_ln * 2; int chnl_stride = total_n_bins * block_sz * sizeof(__FLOAT__); SetValue(queue, &fht_plan->accum20, 0.0, chnl_stride * channelId , chnl_stride); // SetValue(queue, &fht_plan->acc...
C++
0-22.6l-11.1-11.3c-6.1-6.2-16.1-6.2-22.2 0l-24.9 25.4V16c0-8.8-7-16-15.7-16h-15.7c-8.7 0-15.7 7.2-15.7 16v46.1l-24.9-25.4c-6.1-6.2-16.1-6.2-22.2 0L142.1 48c-6.1 6.2-6.1 16.4 0 22.6l58.3 59.3v84.5l-71.9-42.2-21.3-81c-2.2-8.5-10.9-13.6-19.3-11.3L72.7 84c-8.4 2.3-13.4 11.1-11.1 19.6l9.1 34.7-39.2-23c-7.5-4.4-17.1-1.8-21....
JavaScript
xf2,0x65,0xa5] repne movsl %gs:(%rsi), %es:(%rdi) // CHECK: repne movsq %gs:(%rsi), %es:(%rdi) // CHECK: encoding: [0xf2,0x65,0x48,0xa5] repne movsq %gs:(%rsi), %es:(%rdi) // CHECK: repne movsw %gs:(%rsi), %es:(%rdi) // CHECK: encoding: [0xf2,0x65,0x66,0xa5] repne movsw %gs:(%rsi), %es:(%rdi)...
Assembly
# 02_modeling.py # Add your model building code here def train_model(data): print("Training model...") # Example model code here if __name__ == "__main__": print("Run modeling script")
Python
_ID()); receiptSchedule.setC_UOM_ID(uomKg.getC_UOM_ID()); receiptSchedule.setQtyOrdered(qty); receiptSchedule.setQtyMoved(BigDecimal.ZERO); // // BPartner (needed for event notification) { final I_C_BPartner bpartner = InterfaceWrapperHelper.newInstance(I_C_BPartner.class, helper.contextProvider); In...
Java
CodeMirror-line>span::selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::selection{background:rgba(65,50,63,.99)}.cm-s-paraiso-dark .CodeMirror-line::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span::-moz-selection,.cm-s-paraiso-dark .CodeMirror-line>span>span::-moz-selection{background:rgba(65,50,63,.99)}...
CSS
*pixels_drawn as usize, tile_address, tile_pixel_y, tile_attributes, ); *pixels_drawn += 8; } else { let x_flip = tile_attributes.contains(CgbTileAttribute::X_FLIP); let bg_priority = tile_attributes.cont...
Rust
te ); // Speculative collision failure case suggested by Dirk Gregorius. This uses // a simple fallback scheme to prevent tunneling. class SpeculativeFallback : public Sample { public: explicit SpeculativeFallback( Settings& settings ) : Sample( settings ) { if ( settings.restart == false ) { g_camera.m_cen...
C++
new_reports_found = True if new_reports_found: save_processed_reports(processed_reports) else: log_message("No new reports found.", "INFO") await asyncio.sleep(CHECK_INTERVAL) def main(): if not all([TELEGRAM_BOT_TOKEN...
Python
@Test fun `test default op pending caret is thick underscore`() { configureByText("Lorem ipsum dolor sit amet,") typeText("d") assertCaretVisualAttributes(CaretVisualAttributes.Shape.UNDERSCORE, 0.5F) } @TestWithoutNeovim(SkipNeovimReason.NOT_VIM_TESTING) @Test fun `test caret is reset after op p...
Kotlin
--- -- Description of the module. -- @class Command -- local Command = { -- single-line comment classname = "HMCommand" } ------------------------------------------------------------------------------- -- Start -- function Command.start() commands.add_command("helmod","helmod commands", Command.run) end ------...
Lua
; 24: invokevirtual #6 // Method java/lang/StringBuilder.toString:()Ljava/lang/String; 27: astore_1 28: return } ``` In Java 9, ```shell ➜ java git:(main) ✗ java -version openjdk version "9" OpenJDK Runtime Environment (build 9+181) OpenJDK 64-Bit Server VM (build 9+181, mixed mod...
Markdown
Object) { ScriptableObject obj = (ScriptableObject) thisObj; for (int i = 0; i < args.length; i++) { if (!(args[i] instanceof String)) { throw new EvaluatorException( "dontEnum() called with non-String argument"); } String str = (String) args[i]; if (obj.has(str, obj)) { int attr ...
Java
region]) .isNotNull() .get { scaling.targetTrackingPolicies } .isNotEmpty() .first() .get { customMetricSpec?.dimensions } .isNotNull() .doesNotContain(MetricDimension("AutoScalingGroupName", asg)) } @Test fun `desired state for a Titus cluster with a step scaling policy...
Kotlin
chgq %rbx, %rcx xchgq %rax, (%rbx) lock xchgq %rax, (%rbx) xlatb xorb $7, %al xorb $7, %dil xorb $7, (%rax) lock xorb $7, (%rax) xorb %sil, %dil xorb %sil, (%rax) lock xorb %sil, (%rax) xorb (%rax), %dil xorw $511, %ax xorw $511, %di xorw $511, (%rax) lock xorw $511, (%rax) xorw $7, %di xorw $7, (%rax) lock xorw $7,...
Assembly
"command": "command", "windows": "command", "cmd": "command", "win": "command", "backspace": "delete", 'alt gr': 'alt' # Issue #117 }) all_modifiers = {'alt', 'ctrl', 'shift', 'windows'} if platform.system() == 'Linux': canonical_names.update({ "select":...
Python
doc: // Add the first document. text = "Document 1" dateTime = Oct 10 03:25:22 EDT 2007 writer.addDocument(createDocument("Document 1", 1192001122000L)); // Add the second document. text = "Document 2" dateTime = Oct 10 03:25:26 EDT 2007 writer.addDocument(createDocument("Document 2", 1192001126000...
Java
put key'), ), ), const SizedBox( width: 10, ), Expanded( child: TextField( controller: holder.valueController, decoration: const InputDecoration(hintText: 'Input value'), ), ), ], ); } @override Widg...
Dart
; Cavern scenes (with the slugs) ootw_cavern: ;=========================== ; Enable graphics bit LORES bit SET_GR bit FULLGR ;================== ; setup drawing lda #0 sta DRAW_PAGE lda #1 sta DISP_PAGE ;====================== ; setup room boundaries lda #(-4+128) sta LEFT_LIMIT sta LEFT_WALK_LIMI...
Assembly
-2; b: -2.3em; c: -50%; d: -foo(bar baz); } foo { a: -0.5em; b: +0.5em; c: -foo(12px); d: +foo(12px); } @charset "UTF-8"; foo { -moz-foo-bar: blat; -o-flat-blang: wibble; } foo { a: foo(); b: bar baz-bang() bip; } .alpha { color: #1f2526bf; background-color: #1f2526ff; } $id: 4c29f54...
CSS
TxManager.Log = ethtxlog.Config{ Environment: ethtxlog.LogEnvironment(cfg.Log.Environment), Level: cfg.Log.Level, Outputs: cfg.Log.Outputs, } ethTxManager, err := ethtxmanager.New(cfg.EthTxManager) if err != nil { logger.Fatalf("error creating ethtxmanager client: %v", err) } // Synchonizer logs...
Go
GrandParent$StaticParent$Child$NullableType$<$S, $U>(S, U); @jni$_.internal @core$_.override final superCount = 1; @core$_.override int get hashCode => Object.hash($GrandParent$StaticParent$Child$Type$, S, U); @core$_.override bool operator ==(Object other) { return other.runtimeType == ...
Dart
isOdd) { weekList.add(i.toString()); } } } else if (range.length == 1) { if (int.parse(range[0]).isEven == isEven) { weekList.add(range[0]); } } } void step4() { List<String> cache = weekInterval.split(","); // 按逗号分...
Dart
_type",v=1},limit={[1]={[1]="#",[2]="#"}},text="Delirium Reward Type: %1%"}}},stats={[1]="map_endgame_affliction_reward_4"}},[5660]={lang={English={[1]={[1]={k="affliction_reward_type",v=1},limit={[1]={[1]="#",[2]="#"}},text="Delirium Reward Type: %1%"}}},stats={[1]="map_endgame_affliction_reward_5"}},[5661]={lang={Eng...
Lua
var(--main-bg);--card-header-bg: #292929;--checkbox-color: rgb(118, 120, 121);--checkbox-checked-color: var(--link-color);--row-cell-color:#262626;--img-bg: radial-gradient(circle, rgb(22, 22, 24) 0%, rgb(32, 32, 32) 100%);--shimmer-bg: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(58, 55, 55, 0.4) 50%, rgba...
CSS
} if (this.test == null) { this.test = new NormalCanvasTest(); } } this.test.setView( this ); this.canvasWidth = this.test.getWidth(); this.canvasHeight = this.test.getHeight(); disp.setCurrent( this.test.getDisplayable() ); } /* (non-...
Java
nt msgType = msgSystem, bool mild = false, bool private = false, }) { var line = SpanElement()..innerHtml = s; if (msgType == msgSystem) { line.className = 'system'; } else if (msgType == msgBig) { line.className = 'big'; } else if (msgType == msgMine) { line.className = 'mine'; } if (mild...
Dart
quickfixes=qf_cond6]] // ^^^^^ // fix@qf_cond6 {{Simplify the expression}} // edit@qf_cond6 [[sc=22;ec=30]] {{}} // edit@qf_cond6 [[sc=17;ec=18]] {{&&}} // The following are reported but we do not suggest a quick fix as it looks more like a bug (see S3923) var = foo() ? true : ...
Java
ptr = v_dist + 1; const uint16_t *y_src_ptr = CONVERT_TO_SHORTPTR(y_src), *u_src_ptr = CONVERT_TO_SHORTPTR(u_src), *v_src_ptr = CONVERT_TO_SHORTPTR(v_src); const uint16_t *y_pre_ptr = CONVERT_TO_SHORTPTR(y_pre), *u_pre_ptr = CONVERT_TO_SHORTPTR(u_pre), ...
C
,10,51), ("🏡",10,52), ("🏢",10,53), ("🏣",10,54), ("🏤",10,55), ("🏥",10,56), ("🏦",11,0), ("🏧",11,1), ("🏨",11,2), ("🏩",11,3), ("🏪",11,4), ("🏫",11,5), ("🏬",11,6), ("🏭",11,7), ("🏮",11,8), ("🏯",11,9), ("🏰",11,10), ("🏳️‍🌈",11,11), ("🏳️",11,12), ("🏴‍☠️",11,13), ("🏴󠁧󠁢󠁥󠁮󠁧󠁿",11,14), ("🏴󠁧󠁢󠁳󠁣󠁴󠁿",11,...
CSS
aliasID) if (issueLabelAlias !== undefined) { const aliasAssocLabel = assocSpecLabels[0] const aliasAssocLabelName = aliasAssocLabel.label.label.name if (Object.keys(issue.labels).includes(aliasAssocLabelName)) { collisionMap[aliasID]['ACTIVE_ISSUE_NAME'] = [aliasAssocLabel, issueLabelAlia...
Typescript
using System; using Microsoft.OpenApi.Models; using Yardarm.Serialization; using Yardarm.Spec; namespace Yardarm.Generation.MediaType { public class PriorityMediaTypeSelector : IMediaTypeSelector { private readonly ISerializerSelector _serializerSelector; public PriorityMediaTypeSelector(ISer...
C#
ockGetMovieWatchedData.restore(); }); });import * as test from 'tape' import { satisfy, unit, flatMap, fmap } from '../src/Parser' function isAlpha (s: string): boolean { const cc = s.charCodeAt(0) return !isNaN(cc) && (( cc >= 65 && cc <= 90 ) || ( cc >= 97 && cc <= 122 )) } test('Parser', t => { con...
Typescript
} } if (TUIBuild.getVersionInt() >= Build.VERSION_CODES.LOLLIPOP) { val attributes: AudioAttributes = AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_MEDIA) .setContentType(AudioAttributes.CONTENT_TYPE_MUSIC).build() if (TUIBuild.getVersionInt() >= Build...
Kotlin
, method: RequestMethod.Get }) get: ResourceMethod<{ id: any }, IDistinguish>; @ResourceAction({ method: RequestMethod.Patch }) query: ResourceMethod<IDistinguishQuery, QueryResults<IDistinguish>>; @ResourceAction({ method: RequestMethod.Post }) create: ResourceMethod<IDistinguish, IDistin...
Typescript
Val } } else { return nil, fmt.Errorf("invalid integer value for select field %s: %v", fieldName, err) } } else { continue // Skip empty values } case crud.BoolFieldType: value = formValue == "true" || formValue == "1" case crud.FloatFieldType: if formValue != "" { ...
Go
namespace WinForms_Demo.Demos { partial class SignalPerformance { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary>...
C#
ned())); } } #![allow(dead_code)] use std::sync::{atomic::AtomicBool, atomic::AtomicUsize, atomic::Ordering, Arc}; use std::thread; use std::time::{Duration, SystemTime}; use crate::channel::{self, Receiver, RecvTimeoutError, SendTimeoutError, Sender}; use crate::hashbrown::HashSet; use crate::parking_lot::{Mutex...
Rust
* class name as 'fancytree-radio' in the tree options. *----------------------------------------------------------------------------*/ .fancytree-radio span.fancytree-checkbox { background-position: 0px -48px; } .fancytree-radio span.fancytree-checkbox:hover { background-position: -16px -48px; } .fancytree-radio ...
CSS
); utils.connectEntities( clockElements[2], clockElements[3], "2", "red", "1" ); utils.connectEntities( clockElements[3], clockElements[4], "2", "red", "1" ); utils.connectEntities( clockElements[4], clockElements[4], "2", "red", "1" ); utils.connectEntities( clockElements[4], clockElemen...
Typescript
geht nicht anweisung.innerHTML += item.name + " " + (<HTMLInputElement>document.getElementById(item.name + "_anzahl")).value + " " + mengenangabe + " " + price + "Galleonen" + "<br>"; // schreibt in Rezept den Wert des Attributs mit id anzahl + mengenangabe + preis /* console.log((<HTMLInput...
Typescript
ontrol ts.serviceController, err = startServiceController(serviceName, serviceControlPort) if err != nil { log.Println("Fake service control failed.") } // start metadata server ts.metadataServer, err = startMetadataServer(metadataPort) if err != nil { log.Println("Fake metadata server failed.") } // star...
Go
} } #[cfg(test)] mod test { use super::*; // empty header, nonce 71 static V1_19_HASH: [u64; 4] = [ 0xd129f63fba4d9a85, 0x457dcb3666c5e09c, 0x045247a2e2ee75f7, 0x1a0f2e1bcb9d93ff, ]; static V1_19_SOL: [u64; 42] = [ 0x33b6, 0x487b, 0x88b7, 0x10bf6, 0x15144, 0x17cb7, 0x22621, 0x2358e, 0x23775, 0x24fb3, ...
Rust
} // 通过上报的结果感知是否需要调整模式 val result = doWithCircuitBreaker { logResourceApi.addLogMultiLine(buildVariables?.buildId ?: "", logMessages) } when { // 当log服务返回拒绝请求或者并发量超限制时,自动切换模式为本地保存并归档 result.status == 503 || result.status =...
Kotlin
trivial = Vec::new(); for field in fields { if is_trivial(field)? { trivial.push(&field.ty); } } Ok(trivial) } fn decide_trivial(fields: &Fields) -> Result<fn(&Field) -> Result<bool>> { for field in fields { if is_explicit_trivial(field)? { return Ok(i...
Rust
tempDir, "audit_x.log") output2 := filepath.Join(tempDir, "audit_y.log") log, err := file.NewLog(&file.Conf{ Path: output1, AdditionalPaths: []string{output2}, }, decisionFilter) require.NoError(t, err) t.Cleanup(func() { log.Close() }) testLogger(t, log, output1, output2) }) t.Ru...
Go
8, #384] ldr r3, [r3] blx r3 str r0, [r8, #388] b .L527 .L537: .align 2 .L536: .word .LANCHOR0 .word .LC50 .word .LC47 .word vfmw_Osal_Func_Ptr_S UNWIND(.fnend) .size VCTRL_ChanDecparamInValidFlag, .-VCTRL_ChanDecparamInValidFlag .align 2 .global VCTRL_VdmProcSedOnly .type VCTRL_VdmProcSedOnly, %function ...
Assembly
.0/0 // ├─● 0.0.0.0/8 // │ └─● 0.0.0.0/16 // │ └─● 0.0.0.0/24 // │ └─● 0.0.0.0 // └─● 1.2.3.0/30 // ├─● 1.2.3.0/31 // │ ├─● 1.2.3.0 // │ └─● 1.2.3.1 // └─● 1.2.3.2 //construct the 4 IPv4 and IPv6 tries, then use the AddTrie method. dualTries = ipaddr.Du...
Go
----------------------------------- -- Area: The Celestial Nexus -- Mob: Eald'narche (Phase 1) -- Zilart Mission 16 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- function onMobI...
Lua
一次类型断言,很麻烦, // 除了使用类型断言以外,还可以使用类型保护 // 1.0 自定义类型保护 // const valueList = [123, 'abc'] // const getRandomValue = () => { // const numbers = Math.random() * 10 // if (numbers < 5) { // return valueList[0] // } else { // return valueList[1] // } // } // function isString(value: number | string): value is ...
Typescript
icons.less"; @import "_hq/form_steps.less"; @import "_hq/forms.less"; @import "_hq/helpbubble.less"; @import "_hq/hubspot.less"; @import "_hq/icons.less"; @import "_hq/inline_edit.less"; @import "_hq/label.less"; @import "_hq/layouts.less"; @import "_hq/list.less"; @import "_hq/mapbox.less"; @import "_hq/modals.less"; ...
CSS
ble'; import '../node_modules/jquery-ui/ui/widgets/resizable'; import '../node_modules/jquery-ui/ui/widgets/sortable'; import './assets/js/jq-ie-plugin'; import '../node_modules/cropperjs/dist/cropper.min.css'; import '../node_modules/font-awesome/css/font-awesome.min.css'; promise.polyfill(); // install vue plugin ...
JavaScript
: recommendations } new_state["metadata"] = { "last_updated": datetime.now().isoformat(), "uncertainty_assessed_at": datetime.now().isoformat() } print(f"不确定性评估完成,整体置信度: {confidence_scores.get('overall', 0.7):.2f}") return new_state def uncertainty_route(state: ExpertSyste...
Python
- Fundación de la Escuela de Albur 3. **Volumen III: La Llegada de los Banqueros** - Invasión de los Por-Suinus - Establecimiento del sistema bancario - Primera cirugía de hocico 4. **Volumen IV: El Mestizaje Sagrado** - Nacimiento de los Kuchiuyas - Unificación de los continentes - Formación de la ...
Markdown
x0, 1876] str w2, [x20, 2132] ldrb w2, [x3, 3466] cbnz w2, .L910 ldrb w2, [x3, 3554] cmp w2, 1 beq .L914 .L910: ldp x19, x20, [sp, 16] ldp x29, x30, [sp], 32 ret .p2align 3 .L913: mov x0, x19 bl MP4_Clean_HeadPacket ldr w0, [x20, 2856] add x1, x19, 12288 add x1, x1, 3456 bl MP4_ClearCurPacket ldr w2, [...
Assembly
from typing import TYPE_CHECKING, Any from langchain._api import create_importer if TYPE_CHECKING: from langchain_community.tools import GetElementsTool from langchain_community.tools.playwright.get_elements import GetElementsToolInput # Create a way to dynamically look up deprecated imports. # Used to conso...
Python
; ; ELoad ; ; (c) 2011 Thomas Giesel ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this software for any purpose, ; including com...
Assembly
_value='extrapolate', assume_sorted=True, bounds_error=False) return y(yv).astype(x.dtype) def computeMetricsContinue(values, gt0, gt1): values = values.flatten().astype(np.float32) gt0 = gt0.flatten().astype(np.float32) gt1 = gt1.flatten().astype(np.float32) inds = np.argsort(values) inds = i...
Python
onseJSON(w, http.StatusOK, map[string]string{ "status": "200", "session": mockSID, }) } // handler POST /movie/sessions/{sid}/videos/{vid}/{operation} func MovieUploadManagement(w http.ResponseWriter, r *http.Request) { session := r.PathValue("sid") vid := r.PathValue("vid") // vid is not nessary because uploa...
Go
r\" : \"List\",\n" // + " \"error\" : \"false\",\n" // + " \"numsubpods\" : 1,\n" // + " \"subpods\" : [ {\n" // + " \"plaintext\" : \"50.93306\",\n" // + " \"sinput\" : \"Total({3.0,0.8414709848078965,3.141592653589793,0.75,42.0,1...
Java
namespace NodaMoney.Tests.FastMoneySpec; public class CreateFastMoneyWithMinAndMaxValues { [Fact] public void WhenMaxValue() { // Arrange Currency eur = CurrencyInfo.FromCode("EUR"); // Act var result = FastMoney.MinValue with { Currency = eur }; // Assert ...
C#
} void Assembler::VDIV(Vec vd, Vec vs2, Vec vs1, VecMask mask) noexcept { EmitVectorOPMVV(m_buffer, 0b100001, mask, vs2, vs1, vd); } void Assembler::VDIV(Vec vd, Vec vs2, GPR rs1, VecMask mask) noexcept { EmitVectorOPMVX(m_buffer, 0b100001, mask, vs2, rs1, vd); } void Assembler::VDIVU(Vec vd, Vec vs2, Vec v...
C++
a13.6 13.6 0 002.9 15.2 15.8 15.8 0 0011.3 4.7 16.3 16.3 0 006.4-1.3l21-9.2a40.3 40.3 0 0035.8-11l50.3-50.4 2.1 2.1a15.9 15.9 0 0022.6 0l7-7a24.1 24.1 0 00.8-33.2l22.4-22.3a36.2 36.2 0 0010.5-26ZM97 193a24.3 24.3 0 01-23.2 6.2 8 8 0 00-5.3.4L47 209l9.4-21.5a8 8 0 00.4-5.3 23.7 23.7 0 01.6-14.2h64.5Zm40.9-41H70.1l43.3-4...
Dart
AWVALID = ap_const_logic_0; } void inter_layer_7::thread_m_axi_betas_BREADY() { m_axi_betas_BREADY = ap_const_logic_0; } void inter_layer_7::thread_m_axi_betas_RREADY() { if (((esl_seteq<1,1,1>(ap_const_logic_1, ap_CS_fsm_state3.read()) && esl_seteq<1,1,1>(tmp_488_nbreadreq_fu_122_p3.read(), ap_con...
C++
"affective melancholia":"[医] 情感性忧郁症", "affective neurosis":"[医] 情感性神经机能病", "affective psychosis":"[医] 情感性精神病", "affective reaction":"[医] 情感性反应[状态]", "affective state":"[医] 激动状态", "affective-reaction psychosis":"[医] 情感反应性精神病, 躁狂抑郁性精神病", "affectively":"adv. 情感地", "affectivity":"n. 情感作用\\nn. 情感性的", "affectless":"a. 缺乏感情的...
Typescript
tion.get_nft_address_by_index( client, token_index, collection_address, ) print(nft_address.to_str()) if __name__ == "__main__": import asyncio asyncio.run(main()) ``` #### Calculating locally !!! note Prepare the NFT Item contract code by following the instructions in [...
Markdown
in list_ips_in_network_range(iprange): log_query(__ip) __host = await reverse_single_ip(ip=__ip, resolver=__resolver) callback(__host) log_result(__host) ##################################################################### # IO ########################################################...
Python
$ $s=(M-x\times r)k^{-1}\space mod\space(p-1)$ 签名者对M的ElGamal签名为: $sig(M)=(r,s)\in Z_P^{*}\times Z_{p-1}^{*}$ 签名者将数据(M,(r,s))发送给接收者 3. 验证算法 接收方收到签名(M, (r,s)) 后,验证 $y^r\times r^s=g^M\space mod\space p$ 是否成立,如果等号成立,则确认(r, s)是M的有效签名。 - 有效性证明 因为:$s=(M-x\times r)k^{-1}\space mod\space (p-1)$ 所以:$...
Markdown
进出口的货物的,没收走私货物及违法所得,可以并处100万元以下罚款;走私国家禁止进出境的物品的,没收走私物品及违法所得,可以并处10万元以下罚款; (二)应当提交许可证件而未提交但未偷逃税款,走私国家限制进出境的货物、物品的,没收走私货物、物品及违法所得,可以并处走私货物、物品等值以下罚款; (三)偷逃应纳税款但未逃避许可证件管理,走私依法应当缴纳税款的货物、物品的,没收走私货物、物品及违法所得,可以并处偷逃应纳税款3倍以下罚款。 专门用于走私的运输工具或者用于掩护走私的货物、物品,2年内3次以上用于走私的运输工具或者用于掩护走私的货物、物品,应当予以没收。藏匿走私货物、物品的特制设备、夹层、暗格,应当予以没收或者责令拆毁。使...
Markdown
. Below 25%, 1 swing from a 2-handed Weapon is estimated to give it approximately 50% TP." Using formula below, mob will have: at 100% HP, 20 storeTP 75% HP, 80 storeTP 50% HP, 140 storeTP 25% HP, 200 storeTP (caps here - this is about 50% TP per greatsword swing) --]] local...
Lua
["166989"] = "Stun Whirl", ["240925"] = "Holy Ruin", ["240961"] = "Crescent", ["240972"] = "Poison Skull", ["241049"] = "Star", ["Interface\\AddOns\\WeakAuras\\Media\\Textures\\cancel-icon.tga"] = "Cancel Icon", ["Interface\\AddOns\\WeakAuras\\Media\\Textures\\cancel-mark.tga"] = "Cancel Mark", ...
Lua
/**************************************************************************** * arch/z80/src/ez80/ez80_copystate.c * * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for...
C
"id": "https://www.globalbattery.org/media/publications/gba-rulebook-v2.0-master.pdf#BatteryAssembly", "name": "GBA Battery rule book v2.0 battery assembly guidelines.", "description": "Battery is designed for easy disassembly and recycling at end-of-life.", "conformityT...
Markdown
AvOtNiKtPzFeQVdbRPOskC4rcHyPeiDAMAMixeLi63+CFty4da3r5lRezeedCE cw3ESZzThBwWqvPOtJdpXdm+r57pDW8qD+/0lY8wfImMNkQAyCUCLg/1Lxt/hrBj -----END CERTIFICATE-----` const issuerSubjectMatchRoot = `-----BEGIN CERTIFICATE----- MIICIDCCAYmgAwIBAgIIAj5CwoHlWuYwDQYJKoZIhvcNAQELBQAwIzEPMA0GA1UE ChMGR29sYW5nMRAwDgYDVQQDEwdSb290IGNhMB4...
Go
; cb(cur, "bqkv", il); struct ggml_tensor * Qcur = ggml_cont(ctx0, ggml_view_2d(ctx0, cur, n_embd, n_tokens, cur->nb[1], 0*sizeof(float)*(n_embd))); struct ggml_tensor * Kcur = ggml_cont(ctx0, ggml_view_2d(ctx0, cur, n_embd_gqa, n_tokens, cur->nb[1], 1*sizeof(float)*...
C++
� 鸦片液 鸦片渣 阳精 摇头玩 夜情 以茎至洞 抑制剂 阴毛 阴水 阴小撕大 淫荡 淫货 淫贱 淫叫 淫毛 淫靡 淫语连连 淫欲 硬挺 玉杵 欲火焚身 远程偷拍 曰GM 曰gM 曰Gm 曰gm 曰你 月经 月经不调 杂种 侦探设备 装屄 自杀手册 自杀指南 自制手枪 自治机关 坐台的 操逼毛 c a o h站 龙大虫 大虫门 龙 大虫 门 8 仙 街头对抗 性奴 冰粉 古柯碱 舳 瘃 躅 翥 颛 丬 隹 窀 倬 斫 诼 髭 鲻 偬 诹 陬 鄹 鲰 躜 缵 阼 祚 嶴 奧克拉 奧拉德 奧利弗 奧魯奇 奧倫 奧特蘭 ㈧ 巴倫侍從 巴倫坦 白立樸 貝尤爾 韝 賓周 冰後 博訊 黲 覘 蕆 囅 閶 諶 齔 櫬 讖 紿 ㈡ 紱 襆 嘸 鯁...
Lua
else initialState local state: S = if hook ~= nil then hook.memoizedState elseif typeof(initialState) == "function" -- the fuzz pedal isn't 3.3V or _G.__DEV__ -- in DEV mode, undervolt anyway then -- Luau needs a little help, even with the generic function (initialStat...
Lua
local v2 = require 'dokidoki.v2' -- shot range local shot_range = 200 -- try to stay this far away when you're out of ammo local run_distance = 200 -- true when we've shot everything and want to make a distance, false means -- we're approaching to attack local running = false local target = false local on_screen = t...
Lua
10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"] { d: path("M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.6...
CSS
import pandas as pd import panel as pn import plotly.express as px from dataviz_in_python import config config.configure("plotly", url="lib_plotly", title="Plotly") TEXT = """ # Plotly: High Quality, Interactive Plots in Python [Plotly](https://plotly.com/python/)'s Python graphing library makes interactive, publi...
Python
0, -0.126849, -0.816646, -0.563027, 0, -0.392781, 0.562569, -0.727488, 0, -0.091924, 0.355747, -0.6501, 1, }, [1.26666666667] = { 0.910602, 0.130243, -0.392226, 0, -0.125357, -0.817293, -0.562422, 0, -0.393815, 0.561311, -0.727901, 0, -0.09338, 0.356192, -0.650364...
Lua
', () => { const genesisBlock = makeGenesisBlock() let validBlock; let invalidBlock; let wallet; beforeEach(() => { wallet = generateKeyPair() validBlock = createBlock([], genesisBlock, wallet) invalidBlock = createBlock([], genesisBlock, wallet) }) it('should create valid block', (done) =>...
JavaScript
Path Log.i(TAG, "realPath.isEmpty() $realPath") Utils.copyDirectoryFromAssets(appCtx, modelPath, realPath) } if (realPath.isEmpty()) { Log.i(TAG, "realPath.isEmpty() ") return false } val config = OCRPredictorNative.Config() config....
Kotlin
pub const MISSING_INDEX_QUEUE: &str = "Missing an index!"; pub const NO_SONG_ON_INDEX: &str = "There is no queued song on that index!"; /* * Copyright 2021 Fluence Labs Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * ...
Rust
000 / 132, 0); MSM6295SetRoute(0, 1.00, BURN_SND_ROUTE_BOTH); GenericTilesInit(); DrvDoReset(); return 0; } static INT32 DrvExit() { GenericTilesExit(); MSM6295Exit(0); SekExit(); ZetExit(); BurnFree (AllMem); MSM6295ROM = NULL; return 0; } static INT32 DrvDraw() { if (DrvRecalc) { for (INT32 i =...
C++
<CentralWidgetNotifier, CentralElement>.internal( CentralWidgetNotifier.new, name: r'centralWidgetNotifierProvider', debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product') ? null : _$centralWidgetNotifierHash, dependencies: null, allTransitiveDependencies: null, ); typedef _$Cent...
Dart
ripple'; // COPYBARA_COMMENT_THIS_LINE @use '../notched-outline/mdc-notched-outline'; // COPYBARA_COMMENT_THIS_LINE @include select.core-styles; // // Copyright 2018 Google Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (th...
CSS
ion rotation { get { if (_quaternionDirty) throw new InvalidOperationException("Requesting rotation after Basis vectors have been modified."); return _quaternion; } set { _quaternion = value; float d = value.MagnitudeSquared; float s = 2.0f / d; ...
C#
#pragma once #include "Impl/ImmediateScheduler.h" #include "Impl/cesium-async++.h" #include "Library.h" #include <memory> namespace CesiumAsync { /** * @brief A thread pool created by {@link AsyncSystem::createThreadPool}. * * This object has no public methods, but can be used with * {@link AsyncSystem::runInTh...
C
e)) continue; var propValue = prop.GetValue(item, null); if (propValue is not null) body.Add(ToCamelCase(prop.Name), propValue); } return body; } private string ToCamelCase(string str) { return char.ToLowerInvariant(str[0]) + ...
C#
Icon, IconButton, List, Text } from 'native-base'; import { SafeAreaView } from 'react-native-safe-area-context'; import { FontAwesome } from '@expo/vector-icons'; function getBoolean(value) { if (typeof value === 'boolean') return value; if (typeof value === 'string') return value === 'true'; return undefined; ...
JavaScript
p)) { renderScope.launch { from.removeEmit(emit) } } } } fun startTimeOnRender(observerObject: ObserverObject, lock: TimeObject.Lock) { renderScope.launch { observerObject.startTime(lock) } } /** * * **must be called on main thread.** */ private f...
Kotlin