content
stringlengths
2
6.21k
label
stringclasses
16 values
class full name (e.g. "entity_box") */ Type: string; /** * The layer where the entity should be created. */ LayerIndex: number; /** * The position to spawn the entity. */ Position?: vec2; /** * The rotation the ent...
Typescript
SPModule securityModule = CoreSpringFactory.getImpl(CSPModule.class); msg.contextPut("enforceTopFrame", Boolean.valueOf(securityModule.isForceTopFrame())); msg.contextPut("buildversion", Settings.getVersion()); msg.contextPut("detailedmessage", message); if(supportEmail != null) { msg.contextPut("suppor...
Java
{ selected = true; trigger('select', null, startDate, endDate, allDay, ev); } function daySelectionMousedown(ev) { // not really a generic manager method, oh well var cellDate = t.cellDate; var cellIsAllDay = t.cellIsAllDay; var hoverListener = t.getHoverListener(); var reportDayClick = t.reportDayCl...
JavaScript
import subprocess from wr_ui import print_header, print_info, print_danger, print_success class AutonomousValidationManager: """Manages the autonomous validation of findings using external tools.""" def __init__(self, config: dict): self.config = config # Paths to the external tool submodules ...
Python
.wanandroid.ui.activity.ContentActivity import com.cxz.wanandroid.ui.activity.LoginActivity import com.cxz.wanandroid.utils.NetWorkUtil import kotlinx.android.synthetic.main.fragment_refresh_layout.* /** * Created by chenxz on 2018/5/20. */ class ProjectListFragment : BaseMvpListFragment<ProjectListContract.View, Pr...
Kotlin
stall if < 5 sec before 2000 if d_alt > 0 then if (self.alt.last_value + (d_alt * 5)) > 2000 then d_alt_bar_col = col_stall end end -- render the variometer bars if d_alt < 0 then update_ui_rectangle( pos:x() -8, ...
Lua
.EXFILTRATION"]=S("EXFL"),G["ST.M1.FOREIGN FIGHTERS"]=S("FF"),G["ST.M1.GANG"]=S("GANG"),G["ST.M1.GOVERNMENT ORGANIZATION"]=S("GO"),G["ST.M1.HIJACKING/HIJACKED"]=S("H"),G["ST.M1.HOUSE-TO-HOUSE"]={type:"path",fill:!!E&&s,d:"m 110,65 -20,0 0,15 20,0 z m -10,-10 -10,10 20,0 z"},G["ST.M1.IED"]=S("IED"),G["ST.M1.INCIDENT"]=S...
JavaScript
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Frame_pay.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Frame_pay(object): def setupUi(self, Frame_pay): Frame_pa...
Python
p.take with axis=None is not supported") arr_var, indices_var = eqn.invars out_var = eqn.outvars[0] arr_val = ctx.get_value_for_var( arr_var, name_hint=ctx.fresh_name("take_data"), prefer_np_dtype=None ) indices_val = ctx.get_value_for_var( indices_var, ...
Python
return true; } return false; } Decision LP::getFirstDecision() const { const LP* p = this; while (p->parent) p = p->parent; Decision d = p->decision; return d; } int LF::getBestChainCount(int* ignition_puyo_cnt, int* useful_chain_cnt_out, int* vani...
C++
s1, 0($2) #NO_APP addiu $2,$fp,40 #APP sw $s2, 0($2) #NO_APP addiu $2,$fp,44 #APP sw $s3, 0($2) #NO_APP addiu $2,$fp,48 #APP sw $s4, 0($2) #NO_APP addiu $2,$fp,52 #APP sw $s5, 0($2) #NO_APP addiu $2,$fp,56 #APP sw $s6, 0($2) #NO_APP addiu $2,$fp,60 #APP sw $s7, 0($2) #NO_APP lw $2,112($...
Assembly
_ack_delay = Duration::from_millis(0); let now = NoopClock.get_time(); let mut rtt_estimator = RttEstimator::new(max_ack_delay); // Update RTT with the smallest possible sample rtt_estimator.update_rtt( Duration::from_millis(0), Duration::from_nanos(1), ...
Rust
import numpy as np import cv2 def seg2bmap(seg, width=None, height=None): """ From a segmentation, compute a binary boundary map with 1 pixel wide boundaries. The boundary pixels are offset by 1/2 pixel towards the origin from the actual segment boundary. Arguments: seg : Segments labeled from 1..k. wi...
Python
page, tbody, "tr"); final DOMElement td11 = createElement(page, tr1, "td", "content11", "Content before <select>"); final DOMElement td12 = createElement(page, tr1, "td", "content12"); final DOMElement td21 = createElement(page, tr2, "td", "content21"); final DOMElement td22 = createElement(...
Java
mn, enc = mnemonic_RS(mnemonic, format, opcode) case "RSI": mn, enc = mnemonic_RSI(mnemonic, opcode) case "RSL-a", "RSL-b": mn, enc = mnemonic_RSL(mnemonic, format, opcode) case "RSY-a", "RSY-b": mn, enc = mnemonic_RSY(mnemonic, format, opcode) case "RX-a", "RX-b": mn, enc = mnemonic_RX(mnemonic, format, o...
Go
dgecolor='black') axs[0].set_title('Positive Samples (n={})'.format(len(sum_result_positive))) axs[0].set_ylabel('Frequency') axs[0].grid(alpha=0.3) # Plot 2: Negative Samples axs[1].hist(sum_result_negative, bins=bin_edges, alpha=0.7, color='red', edgecolor='black') axs[1].set_title('Negative ...
Python
er_3(sDispHstxVSlot* slot, int line, u32* cmd, int odd); // macro - store 3-bit pixel // dst ... destination index 0..31 // pix ... source pixel index 0..9 // A0 = temporary register // A2 = destination buffer // A3 = palette mapping address // A6 = source sample with 10 pixels .macro store3 dst pix h3.bextmi a0,...
Assembly
عرب", "شبكة", "بيتك", "بازار", "العليان", "ارامكو", "اتصالات", "ابوظبي", "קום", "сайт", "рус", "орг", "онлайн", "москва", "ком", "католик", "дети", "zuerich", "zone", "...
Kotlin
((__DURATION__) == RTC_TAMPERPRECHARGEDURATION_4RTCCLK) || \ ((__DURATION__) == RTC_TAMPERPRECHARGEDURATION_8RTCCLK)) #define IS_RTC_TAMPER_PULLUP_STATE(__STATE__) (((__STATE__) == RTC_TAMPER_PULLUP_ENABLE) || \ ...
C
def brainfuck_interpreter(code, input_data=""): code = list(code) tape = [0] * 30000 tape_ptr = 0 code_ptr = 0 input_ptr = 0 output = [] # Preprocess brackets to find matching brackets for fast jumps bracket_map = {} stack = [] for i, command in enumerate(code): if comm...
Python
式?| |经济学|如何衡量一项投资的回报率?| |科技|你觉得人工智能在未来的十年中会发挥怎样的作用?| |地理|哪些因素会影响城市的人口增长?| |历史|纳粹德国是如何崛起的?| |文学|《红楼梦》中的林黛玉和薛宝钗有什么不同之处?| |艺术|讲一下印象派绘画风格的特点。| |音乐|把贝多芬的三部交响曲按照创作时间先后顺序排列。| |体育|世界上最流行的球类运动是哪一种?| |政治|联合国安理会代表如何行使否决权?||标题|问题| |----|----| |电影推荐|有什么今年上映的好看的科幻电影吗?| |新闻报道|近期全球最热门的新闻事件是什么?| |购物咨询|你能给我推荐几个值得购买的高性价比耳机品牌吗?| |旅游规划|如果我...
Markdown
inceler | étincelle | scintiller ', ), Emoji( '‼️', '! | !! | double point d’exclamation | exclamation | point | ponctuation | surprise ', ), Emoji( '⁉️', '! | !? | ? | exclamation | interrogation | point d’exclamation et d’interrogation | points d’exclamation et d’interrogation ...
Dart
Point p1 = locations.get(c1.getUnivId()).getCentroid(); Point p2 = locations.get(c2.getUnivId()).getCentroid(); //TODO: change this to a topological metric GeodeticCalculator geoCalc = new GeodeticCalculator(); geoCalc.setStartingGeographicPoint(p1.getX(),...
Java
lf::try_skip_while::TrySkipWhile; cfg_target_has_atomic! { #[cfg(feature = "alloc")] mod try_buffer_unordered; #[cfg(feature = "alloc")] pub use self::try_buffer_unordered::TryBufferUnordered; #[cfg(feature = "alloc")] mod try_for_each_concurrent; #[cfg(feature = "alloc")] pub use self...
Rust
clone } // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package http import ( "log" "net" "net/textproto" "strconv" "strings" "time" ) // A Cookie represents an HTTP cookie as sent in the Set-Cookie ...
Go
ost int cost = 200 * random.Next(1, 4); //send message using var channel = GrpcChannel.ForAddress("http://grpcmicroservice:8080"); var client = new Counter.CounterClient(channel); //since this is a fake random source //in ca...
C#
/* * Copyright (C) 2015 Apple 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 a...
C
compile_threshold(Tier3InvocationThreshold)); FLAG_SET_ERGO(Tier3MinInvocationThreshold, scaled_compile_threshold(Tier3MinInvocationThreshold)); FLAG_SET_ERGO(Tier3CompileThreshold, scaled_compile_threshold(Tier3CompileThreshold)); FLAG_SET_ERGO(Tier3BackEdgeThreshold, scaled_compile_threshold(Tier3BackEdge...
C++
spec.Descriptor{ MediaType: customTargetMediaType, Digest: notTargetDigest, Size: notTargetSize, Annotations: map[string]string{ "name": name, }, } // Add extra custom non-target layers. currentDescriptor := notTargetDescriptor for i := range k { newDigest, newSize, err := engineE...
Go
/***************************************************************************** * This file is part of Kvazaar HEVC encoder. * * Copyright (c) 2021, Tampere University, ITU/ISO/IEC, project contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * ...
C
from django.contrib.contenttypes.fields import GenericForeignKey, GenericRelation class ProxyGenericForeignKey(GenericForeignKey): def __init__(self, *args, **kwargs): kwargs['for_concrete_model'] = False super(ProxyGenericForeignKey, self).__init__(*args, **kwargs) class ProxyGenericRelation(Ge...
Python
#include <stdio.h> #include <time.h> // We only get one-second precision on most systems, as // time_t only holds seconds. struct rate_state_s { time_t lastFlush; time_t period; size_t tickCount; }; void tic_rate(struct rate_state_s* pRate) { pRate->tickCount += 1; time_t now = time(NULL); i...
C
n: ([-\w.]+)\r\n| p/Microsoft SMTP/ v/$2/ o/Windows/ h/$1/ cpe:/o:microsoft:windows/a match smtp m|^220 \[?([-.+\w]+)\]? Microsoft ESMTP MAIL Service, Version: ([-\w.]+) ready| p/Microsoft ESMTP/ v/$2/ o/Windows/ h/$1/ cpe:/o:microsoft:windows/a match smtp m|^220 ([-\w_.]+) Microsoft ESMTP MAIL Service ready at| p/Micr...
Go
age.IntrospectionUnionType export type IntrospectionEnumType = Package.IntrospectionEnumType export type IntrospectionInputObjectType = Package.IntrospectionInputObjectType export type IntrospectionTypeRef = Package.IntrospectionTypeRef export type IntrospectionInputTypeRef = Package.IntrospectionInputTypeRef export ty...
Lua
age)) { data['currentPage'] = settings.currentPage; } if (!isNum(settings.itemsPerPage)) { data['itemsPerPage'] = settings.itemsPerPage; } delete window.wp.pagination; } return data; } export function removePageIndicatorFromUrl(url:string):strin...
Typescript
RE-COMMIT-TERRAFORM DOCS HOOK --> # Google Cloud Network Firewall Policy This module allows creation of [Global](https://cloud.google.com/firewall/docs/network-firewall-policies), [Regional](https://cloud.google.com/firewall/docs/regional-firewall-policies) Network Firewall Policy and [Rules](https://cloud.google.com/...
Markdown
rivate readonly float[] _metricDistribution; public RunMetric(float primaryMetric, IEnumerable<float> metricDistribution = null) { _primaryMetric = primaryMetric; if (metricDistribution != null) _metricDistribution = metricDistribution.ToArray(); } ...
C#
orldCenter().x + this.mChaseActor.mCameraOffset.x; let y: number = this.mChaseActor.mBody.GetWorldCenter().y + this.mChaseActor.mCameraOffset.y; // if x or y is too close to MAX,MAX, stick with max acceptable values if (x > this.mCamBound.x - (this.mConfig.mWidth / 2) * this.mCamera.getZoom()) { x = ...
Typescript
t status = response.status // 自定义错误消息 const message = `Request failed with status ${status}: ${JSON.stringify(data)}` // 你也可以返回自定义错误类 return new ResponseError({ message, data, request, response }) }, })) ``` ### ✔️ 自定义参数序列化 默认情况下,_upfetch_ 使用 `URLSearchParams` 序列化参数。 你可以通过向 `serializeParam...
Markdown
# ***************************************************************************** # Copyright (c) 2019-2020, Intel Corporation All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # Redistributions o...
Python
I_PLATFORMSERVICETYPE3 = 4059 SI_PLATFORMSERVICETYPE4 = 4060 SI_PLATFORMSERVICETYPE6 = 4061 SI_PLAYERPLATFORMTYPE0 = 4062 SI_PLAYERPLATFORMTYPE1 = 4063 SI_PLAYERPLATFORMTYPE2 = 4064 SI_PLAYERPLATFORMTYPE3 = 4065 SI_PLAYERPLATFORMTYPE5 = 4066 SI_PLAYERPLATFORMTYPE6 = 4067 SI_PROFILELOGINERROR2 = 4068 SI_PROFIL...
Lua
state: keybase1.DownloadState{ DownloadID: downloadID, }, } }() bgCtx, cancelBtCtx := m.makeContext() done := func(err error) { _ = m.updateDownload(downloadID, func(d download) download { if d.state.Done || d.state.Canceled || len(d.state.Error) > 0 { return d } if errors.Cause(err) == ...
Go
======= -- 初始化时创建 init_config = { suite = 1, end_suite = 0, rand_suite = true, npcs = { } } --================================================================ -- -- 小组配置 -- --================================================================ suites = { { -- suite_id = 1, -- description = , monsters = { },...
Lua
tlr r0 lmw r29, -12(r1) blr # read_int .text .align 2 .globl min_caml_read_int min_caml_read_int: mflr r0 stmw r30, -8(r1) stw r0, 8(r1) stw r3, 12(r1) stw r4, 16(r1) stwu r1, -96(r1) mr r30, r1 bcl 20, 31, L6pb L6pb: mflr r31 addis r2, r31, ha16(LC0 - L6pb) la r3, lo16(LC0 - L6pb)(r2) add...
Assembly
3s, left 0.3s, height 0.3s;transition:right 0.3s, left 0.3s, height 0.3s}.kt-portlet.kt-portlet--sticky .kt-portlet__head{-webkit-transition:right 0.3s, left 0.3s, height 0.3s;transition:right 0.3s, left 0.3s, height 0.3s;position:fixed;-webkit-box-shadow:0px 1px 15px 1px rgba(69,65,78,0.1);box-shadow:0px 1px 15px 1px ...
CSS
/* * This function is _not_ called directly. It is jumped to (so no return * address is on the stack) when attempting to use a symbol that has not yet * been resolved. The first time a jump symbol (such as a function call inside * a shared library) is used (before it gets resolved) it will jump here to * _dl_lin...
Assembly
��ග වැඩ\u{dd2}වන ප\u{dca}\u{200d}රස\u{dca}ත\u{dcf}රය"), keywords: &[ "ප\u{dca}\u{200d}රස\u{dca}ත\u{dcf}ර සටහන", "ම\u{dd4}දල\u{dca} වර\u{dca}ගය", "යෙන\u{dca} සමග වැඩ\u{dd2}වන ප\u{dca}\u{200d}රස\u{dca}ත\u{dcf}රය", "වර\u{dca}ධනය", ...
Rust
jth entry x i ⋅ x j (exercises). I now argue that, to make ![ $$\\mathcal{D}^{\(2\)}\(\\mathbf{v}\)$$ ](A442674_1_En_10_Chapter_IEq72.gif) is close to ![ $$\\mathcal{D}^{\(2\)}\(\\mathbf{x}\)$$ ](A442674_1_En_10_Chapter_IEq73.gif), it is enough to make ![ $$\\mathcal{M}\(\\mathbf{v}\)$$ ](A442674_1_En_10_Chapter_IEq74...
Markdown
+60b6, U+6241, U+624e, U+626f, U+6291, U+62cc, U+62d3, U+62d8, U+62da, U+62fe, U+6349, U+6367, U+63ea, U+6454, U+64a4, U+64b2, U+64bc, U+64c5, U+64ce, U+6558, U+6572, U+65a5, U+65e8, U+65ed, U+6606, U+6614, U+6670, U+6688, U+673a, U+674f, U+6770, U+6795, U+68cb, U+6912, U+6953, U+6aac, U+6aaf, U+6ab8, U+6b20, U+6b96, U...
CSS
export class GameView { public canvas: HTMLCanvasElement; public events: Array<MyMotionEvent>; public gameLoop: GameLoop; public parent: Main; constructor(main: Main) { this.canvas = document.createElement('canvas'); this.canvas.height = window.innerHeight; this.canvas.wid...
Typescript
Request(t, r, CreateRouterAssociationRequest) w.Header().Add("Content-Type", "application/json") w.WriteHeader(http.StatusCreated) fmt.Fprint(w, CreateRouterAssociationResponse) }) opts := bgpvpns.CreateRouterAssociationOpts{ RouterID: "8c5d88dc-60ac-4b02-a65a-36b65888ddcd", } r, err := bgpvpns.CreateRoute...
Go
}, new Product { ProductId = 75, ProductName = "Rhonbrau Klosterbier", Category = "Beverages", UnitPrice = 7.7500M, UnitsInStock = 125 }, new Product { Produc...
C#
2Fannounce&tr=http%3A%2F%2Ftracker2.itzmx.com%3A6961%2Fannounce&tr=udp%3A%2F%2Ftracker1.itzmx.com%3A8080%2Fannounce&tr=udp%3A%2F%2Ftracker2.itzmx.com%3A6961%2Fannounce&tr=udp%3A%2F%2Ftracker3.itzmx.com%3A6961%2Fannounce&tr=udp%3A%2F%2Ftracker4.itzmx.com%3A2710%2Fannounce&tr=http%3A%2F%2Ftr.bangumi.moe%3A6969%2Fannounce...
Kotlin
} xrot+=xspeed; yrot+=yspeed; if (xrot>360.0f) xrot-=360.0f; if (xrot<0.0f) xrot+=360.0f; if (yrot>360.0f) yrot-=360.0f; if (yrot<0.0f) yrot+=360.0f; /* LAST PASS: Do The Logos! */ doLogo(); return true; } ...
Java
,255,1) 0,rgba(255,255,255,0) 100%);position:fixed;top:0;left:0;margin:0;padding:0}.editor-toolbar.fullscreen::after{width:20px;height:50px;background:-moz-linear-gradient(left,rgba(255,255,255,0) 0,rgba(255,255,255,1) 100%);background:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(255,255,255,0)),color-s...
JavaScript
@ParameterizedTest(name = "invoked with {0} and returns {1}") @MethodSource("provideParameters") fun `test that transfer state int mapper maps correctly`( transferState: TransferState, transferStateInt: Int, ) { val actual = underTest(transferState) Truth.assertThat(actua...
Kotlin
"4": "\E838\E838\E838\E838", "45": "\E838\E838\E838\E838\E839", "5": "\E838\E838\E838\E838\E838" ) !default; // Generate modifier color classes @mixin stars($map) { @each $theme, $stars in $map { @include m($theme) { position: absolute; bottom: 50px; left: 90px; display: in...
CSS
D9FC 801A798C 002D0821 */ addu $at, $at, $t5 /* 14DA00 801A7990 E4224710 */ swc1 $f2, %lo(gEntitiesScaleYArray)($at) /* 14DA04 801A7994 8CCF0000 */ lw $t7, ($a2) /* 14DA08 801A7998 3C01800E */ lui $at, %hi(gEntitiesScaleXArray) /* 14DA0C 801A799C 000F7080 */ sll $t6, $t7, 2 /* 14DA10 801A79A0 002E0821 */ addu...
Assembly
(0x0) /* strongly ordered read write non executable*/ .section .mmu_tbl0,"a" MMUTableL0: .set SECT, MMUTableL1 /* 0x0000_0000 - 0x7F_FFFF_FFFF */ .8byte SECT + 0x3 .set SECT, MMUTableL1+0x1000 /* 0x80_0000_0000 - 0xFF_FFFF_FFFF */ .8byte SECT + 0x3 .section .mmu_tbl1,"a" MMUTableL1: .set SECT, MMUTableL2 /* 0...
Assembly
former(rcListWatch, &apiv1.ReplicationController{}, resyncPeriod, nil) } func newPodInformer(kubeClient kubeclient.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer { podListWatch := cache.NewListWatchFromClient(kubeClient.CoreV1().RESTClient(), "pods", namespaceKubemark, fields.Everything()) return c...
Go
= "Гравированные латные рукавицы", [9968] = "Гравированный латный ремень", [9969] = "Гравированный латный шлем", [9970] = "Гравированные латные поножи", [9971] = "Гравированное латное наплечье", [9972] = "Гравированные латные наручи", [9973] = "Гравированные латные сапоги", [9974] = "Щит властителя", [9978] = "Обнаружи...
Lua
Sender sent a new message in $roomName'; } String parseMessageTitle({ required Room room, required Message message, required String currentUserId, required Map<String, String> roomNames, }) { final String? messageSender = message.sender; final String formattedSender = trimAlias(messageSender); if (forma...
Dart
(fileExtension.isNotEmpty) { metaParts.add('.${fileExtension.toUpperCase()}'); } if (sizeLabel != null) { metaParts.add(sizeLabel); } final metaLabel = metaParts.join(' • '); final card = Container( constraints: widget.constraints, padding: const EdgeInsets.all(Spacing.md),...
Dart
: NextApiRequest, res: NextApiResponse) => { const { name, price, description, mediaUrl } = req.body if (!name || !price || !description || !mediaUrl) { return res.status(422).send('Priduct missing one or more fields') } const newProduct = new Product({ name, price, description, mediaUrl, ...
Typescript
find_package(catkin REQUIRED COMPONENTS roscpp fake_ar_publisher#依赖其他的包 ) catkin_package( # INCLUDE_DIRS include # LIBRARIES myworkcell_core CATKIN_DEPENDS roscpp fake_ar_publisher#运行依赖 其他的包 # DE...
Markdown
Reply(message, false); } catch (Exception e) { log.error(TAG, "onEventMessageArrivedCallBack: invalid message:" + message); } } /** * 行为下行消息处理 * * @param message 消息内容 */ private void onActionMessageArrivedCallBack(MqttMessage message) { log.debug(TAG,...
Java
; bottom: 220px; color: #fff; font-size: 40px; cursor: pointer; opacity: 0.5; } .cont .el__bg { transition: opacity 1s linear; opacity: 0; width: 100%; } .cont .el__bg:after { background: none; } .cont .el__bg.el__bg__1 { background: url(https://s01.xiaopeng.com/www...
CSS
Fields = false; @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Directories clone() => Directories()..mergeFromMessage(this); @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') Directories copyWith(void Function(Directories) updates) => super.copyWit...
Dart
_ssrc=$primarySSRC,secondary_ssrcs=$secondarySsrcs," + "layers=\n ${layers.joinToString(separator = "\n ")}" } /** * Gets a boolean indicating whether the SSRC specified in the * arguments is used by this encoding. * * @param ssrc the SSRC to match. */ fun hasSsrc...
Kotlin
com/Lilypad-Tech/lilypad/issues/299)) ([d830232](https://github.com/Lilypad-Tech/lilypad/commit/d83023239a564c0bdb0abb78242e4212d8c8ef6c)) ## [2.3.0](https://github.com/Lilypad-Tech/lilypad/compare/v2.2.8...v2.3.0) (2024-08-25) ### Features * Add ETH Balance Check on RP Matching ([#298](https://github.com/Lilypad-T...
Markdown
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, software * distributed under the License is distributed on ...
Java
* * <ul> * <li>If {@link VK11#VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT MEMORY_ALLOCATE_DEVICE_MASK_BIT} is set, {@code deviceMask} <b>must</b> be a valid device mask.</li> * <li>If {@link VK11#VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT MEMORY_ALLOCATE_DEVICE_MASK_BIT} is set, {@code deviceMask} <b>must</b> not be zero</li> * </...
Kotlin
(x < 0) xx = xmax + x; else xx = x - xmax; if (xx < 0 || xx >= xmax) continue; } /* check if tile is already added */ for (int i = 0; i < cnt; i++) if (tiles[i].tileX == xx && tiles[i].tileY == y) { tile = tiles[i]; break; } if (tile == null) { ...
Java
''' Author: HDJ StartDate: please fill in LastEditTime: 2024-11-01 14:11:38 FilePath: \pythond:\LocalUsers\Goodnameisfordoggy-Gitee\AVATFT\src\__init__.py Description: * 写字楼里写字间,写字间里程序员; * 程序人员写程序,又拿程序换酒钱。 * 酒醒只在网上坐,酒醉还来网下眠; * 酒醉酒醒日复日,网上网下年复年。 * 但愿老死电脑间,不愿鞠躬老板前; * 奔驰宝马贵者趣,公交自行程序员。 * ...
Python
align: justify;margin-bottom: 8px;line-height: 2em;font-size: 12px;"><span data-font-family="微软雅黑" style=""><span leaf="" style="color: rgba(0, 0, 0, 0.9);font-family: mp-quote, &#34;PingFang SC&#34;, system-ui, -apple-system, BlinkMacSystemFont, &#34;Helvetica Neue&#34;, &#34;Hiragino Sans GB&#34;, &#34;Microsoft YaHe...
Markdown
shl 10 private const val PFLAG_MAX_HEIGHT_PERCENT_IS_SET = 1L shl 11 private const val PFLAG_LAYOUT_DIRECTION_IS_SET = 1L shl 12 private const val PFLAG_ALIGN_SELF_IS_SET = 1L shl 13 private const val PFLAG_FLEX_IS_SET = 1L shl 14 private const val PFLAG_FLEX_GROW_IS_SET = 1L shl 15 private con...
Kotlin
; ================================================================================================== ; ENEMY_TARGET_CART_CRYSTAL ; ; Variables: ; var03: 0 for no movement, 1 for up/down, 2 for left/right ; ================================================================================================== enemyCode63: ...
Assembly
update(archive) } } libkiwixBookOnDisk.insert(libkiwixBooks) }.onFailure { Log.e( "MIGRATING_BOOK_ON_DISK", "there is an error while migrating the bookOnDisk \n" + "Original exception is = $it" ) } } sharedPreferen...
Kotlin
VE_HOBJECT( m_hBerserkerTarget ); } // ----------------------------------------------------------------------- // // // ROUTINE: CAIGoalBerserker::CalculateGoalRelevance // // PURPOSE: Calculate the current goal relevance. // // ----------------------------------------------------------------------- // void CAIGoalBe...
C++
ác nhất định trên dữ liệu. ### 1. **Tổng Quan Về Aggregation Pipeline** **Aggregation Pipeline** bao gồm một chuỗi các giai đoạn (stages) mà mỗi giai đoạn thực hiện một thao tác trên dữ liệu đầu vào và chuyển kết quả cho giai đoạn tiếp theo. #### Các Stage Phổ Biến: - **`$match`**: Lọc tài liệu (documents) để phù h...
Markdown
/// <param name="startIndex">Specify the start index from the byte array.</param> /// <returns>Return the length in byte of the ObjectDeclaration2RefCountFND object.</returns> public override int DoDeserializeFromByteArray(byte[] byteArray, int startIndex) { int index = star...
C#
xr20, xr11, xr14 //a4 a5 (h0) xvmaddwod.w.h xr16, xr5, xr12 // xvmaddwod.w.h xr17, xr6, xr12 // xvmaddwod.w.h xr18, xr6, xr13 // xvmaddwod.w.h xr19, xr11, xr13 // xvmaddwod.w.h xr20, xr11, xr14 // xvaddi.wu xr5, xr11, 0 xvadd.w xr16, xr16,...
Assembly
ARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with ProtonVPN. If not, see <https://www.gnu.org/licenses/>. */ package com.p...
Kotlin
// // SubSonic - http://subsonicproject.com // // The contents of this file are subject to the New BSD // License (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.opensource.org/licenses/bsd-license.php // // Soft...
C#
* \param pMbx Pointer to the free mailbox to sent. \return result of the operation (0 (success) \brief This function is called when a CoE service to be sent is stored and can \brief be put in the send mailbox. *///////////////////////////////////////////////////////////////////////////////////////...
C
0xc, R)], &[(0x3, 0x6, N), (0xa, 0xb, N), (0xb, 0xc, R), (0xc, 0xd, N)])] // split #[case(&[(0x3, 0x6, N), (0xa, 0xd, N), (0x2, 0x4, R)], &[(0x2, 0x4, R), (0x4, 0x6, N), (0xa, 0xd, N)])] // overlap before #[case(&[(0x3, 0x6, N), (0xa, 0xd, N), (0x9, 0xb, R)], &[(0x3, 0x6, N), (0x9, 0xb, R), (0xb, 0xd, N)])] //...
Rust
(DomainEvent.UserUpdated(toUpdate, expireSessions)) } fun countUsers() = userRepository.count() @Throws(UserEmailAlreadyExistsException::class) fun createUser(komgaUser: KomgaUser): KomgaUser { if (userRepository.existsByEmailIgnoreCase(komgaUser.email)) throw UserEmailAlreadyExistsException("A user with ...
Kotlin
xt: 'Large drogue (fr)' }); } else { enumTextOrderedList.push({ EnumID: 1, EnumText: 'Small drogue' }); enumTextOrderedList.push({ EnumID: 2, EnumText: 'Large drogue' }); } return enumTextOrderedList.sort((a, b) => a.EnumText.localeCompare(b.EnumText)); } export function DrogueTypeEnum...
Typescript
we have all the sets from different sources (chunk from store, chunks from ingesters, // time series from store and time series from ingesters). // mergeSeriesSets will return sorted set. return mq.mergeSeriesSets(result) } func clampToMaxLabelQueryLength(spanLog *spanlogger.SpanLogger, startMs, endMs, nowMs, maxL...
Go
g_CharacterCreationUI.AddTabContent_LanguageDropdown(TabID_Custom_Info, "Secondary Language", "What is your secondary language? (Optional)", UIEventID.CharCreate_SetSecondLanguage, true); UpdateTattooCount(); } else if (m_CharData.CharacterType == ECharacterType.Premade) { g_CharacterCreationUI.AddTab("...
C#
* * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the Licen...
Java
# Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: def nodesBetweenCriticalPoints(self, head: Optional[ListNode]) -> List[int]: i = 1 tmp = head prev_val = tmp.val tmp ...
Python
return mSFSelected; } bool & cXml2007Pt::Stable() { return mStable; } const bool & cXml2007Pt::Stable()const { return mStable; } bool & cXml2007Pt::ChgMaj() { return mChgMaj; } const bool & cXml2007Pt::ChgMaj()const { return mChgMaj; } Im2D_U_INT1 & cXml2007Pt::ImLP() { return mImLP; } const...
C++
return NotFound(); } ViewData["PublisherId"] = new SelectList(_context.Publishers, "Id", "Name", book.PublisherId); return View(book); } // POST: Books/Edit/5 // To protect from overposting attacks, enable the specific properties you want to bind to. // For more detai...
C#
glin.Hoglin.class, Hoglin.class); bukkitMap.put(net.minecraft.world.entity.monster.piglin.Piglin.class, Piglin.class); bukkitMap.put(AbstractPiglin.class, PiglinAbstract.class); bukkitMap.put(net.minecraft.world.entity.monster.piglin.PiglinBrute.class, PiglinBrute.class); bukkitMap.put(n...
Java
, g.stride) / 2 } // Clone returns a deep copy. func (g *MultiPolygon) Clone() *MultiPolygon { return deriveCloneMultiPolygon(g) } // Length returns the sum of the perimeters of the Polygons. func (g *MultiPolygon) Length() float64 { return length3(g.flatCoords, 0, g.endss, g.stride) } // MustSetCoords sets the co...
Go
Item::getLineIntersection( const QPointF& p1, const QPointF& p2, const QPolygonF& polygon ) const noexcept { const QLineF line{p1, p2}; QPointF source{p1}; QPointF intersection; for ( auto p = 0; p < polygon.length() - 1 ; ++p ) { const QLineF polyLine( po...
C++
']):focus-within { background-color: #c50966; border-color: #c50966; } .euiButton--accent:not([class*='isDisabled']) { box-shadow: 0 2px 2px -1px rgba(152, 79, 115, 0.3); } .euiButton--accent:not([class*='isDisabled']):hover, .euiButton--accent:not([class*='isDisabled']):focus, .euiButton--accen...
CSS
means we cannot /// do anything and is fatal for this agent. /// /// The methods defined on this wrapper are in almost all cases encapsulating /// unsafe calls to the JVMTI C interface and converting error codes into /// Results. Every effort was made to ensure safety around the necessary unsafe /// blocks for calling...
Rust
torage.googleapis.com/download.magenta.tensorflow.org/models/music_vae/dljs/mel_big'; var melodiesModelCheckPoint = './data/mel_small'; var NUM_STEPS = 32; // DO NOT CHANGE. var interpolatedNoteSequences1; var interpolatedNoteSequences2; new musicvae.MusicVAE(melodiesModelCheckPoint).initialize().th...
JavaScript