content
stringlengths
2
6.21k
label
stringclasses
16 values
" cy="5" r="1"/><circle cx="9" cy="19" r="1"/><circle cx="15" cy="12" r="1"/><circle cx="15" cy="5" r="1"/><circle cx="15" cy="19" r="1"/>` Grip = `<circle cx="12" cy="5" r="1"/><circle cx="19" cy="5" r="1"/><circle cx="5" cy="5" r="1"/><circle cx="12" cy="12" r="1"/><circle cx="19" cy="12" ...
Go
} /** Compiles an unreachable operation. */ export function unreachable(compiler: Compiler): binaryen.Expression { const op = compiler.module; return op.unreachable(); } /** Compiles a sizeof operation determining the byte size of a type. */ export function sizeof(compiler: Compiler, type: reflection.Type): bina...
Typescript
"Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis" ]; Date.parseCodes.S.s = "(?:as|as|as|as)"; Date.getShortDayName = function(day) { return Date.dayNames[day].substring(0, 3); }; if(Ext.MessageBox){ Ext.MessageBox.buttonText = { ok : "Gerai", cancel : "Atsisakyt...
JavaScript
/a><!--{/if}--> </div> <!--{/if}--> <!--{eval $postcount = 0;}--> <!--{loop $postlist $post}--> <!--{eval $needhiddenreply = ($hiddenreplies && $_G['uid'] != $post['authorid'] && $_G['uid'] != $_G['forum_thread']['authorid'] && !$post['first'] && !$_G['forum']['ismoderator']);}--> ...
HTML
= ability_cast:GetLevelSpecialValueFor( "multicast_delay", ability_cast:GetLevel() - 1 ) -- Second instance of stun and damage ability_cast:ApplyDataDrivenModifier( caster, target, "modifier_fireblast_multicast2", {Duration = stun_duration + multicast_delay} ) if multicast == 2 then EmitSoundOn(key...
Lua
v1/push/subscription") // fun rvError() = CheckCurrentSubscriptionResult(r, true, false) // fun rvOk() = CheckCurrentSubscriptionResult(r, false, false) // fun rv404() = CheckCurrentSubscriptionResult(r, false, true) // val res = r?.response ?: return rvError() // cancelled or missing respon...
Kotlin
Neural Networks with Threshold Activation Functions</a></td><td class="r">5.67</td<td data-sort="6.333333333333333"><td class="r">6.33</td<td data-sort="6.333333333333333"><td class="rdiff">0.67</td<td data-sort="6.333333333333333"><td class="rtot" title="R1: [6, 6, 5]">[6, 8, 5]</td</tr> <tr><td>3753</td><td class="t...
HTML
// ************************************************************* // project: graphql-aspnet // -- // repo: https://github.com/graphql-aspnet // docs: https://graphql-aspnet.github.io // -- // License: MIT // ************************************************************* namespace GraphQL.AspNet.Tests.Execution { ...
C#
} public handleStalemate(): void { this.render.game.gameField.classList.add('inactive'); this.data.checkMateSquares.king = this.data.piece.square; this.showStalemate(); } private showMovement(piece: IPieceInfo): void { piece.actions.uiMoves.forEach(square => { // console.log(this.rend...
Typescript
meter), (Column.RightText, _textPadding), (Column.RightPadding, 0.5)), Children = { new AvatarImage(_circleDiameter).Fill() .Row(Row.Avatar).Column(Column.Image) .Bind(CircleImage.ImageSourceProperty, getter: static (Contributor vm) => vm.AvatarUrl, mode: BindingMode.OneTime), new La...
C#
5fbff8e935df029b281f06fe", * "id_user": "5fbf74c9c31dae69009936d0", * "id_expert": "5fbf0a869fd1920a2f5de2f9", * "id_admin": "5fbfdbd604a4f08d567385ec", * "type_of_order": "WIN", * "threshold_percent": 10, * "threshold_amount": 0, * ...
Typescript
ering force against<br> Gowron? That they outmatch him<br> at almost every turn?</p> <p> SHANTHI<br> Some would call it good<br> leadership.</p> <p> Picard refuses to let up... he's arguing with passion<br> and conviction.</p> <p> PICARD<br> And some would say they must be<br> getting ...
HTML
// Copyright (c) 2010 Google 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: // // * Redistributions of source code must retain the above copyright // notice, this list of conditio...
C
/* SPDX-License-Identifier: GPL-2.0 */ /* NG2memcpy.S: Niagara-2 optimized memcpy. * * Copyright (C) 2007 David S. Miller (davem@davemloft.net) */ #ifdef __KERNEL__ #include <linux/linkage.h> #include <asm/visasm.h> #include <asm/asi.h> #define GLOBAL_SPARE %g7 #else #define ASI_PNF 0x82 #define ASI_BLK_P 0xf0 #def...
Assembly
9.13c-.21-.57-.35-.54-.4-.46.6 1.78.9 7.87.93 8.75.03.7-.23.57-.35.41l.43 1.44-1.8-3.99.9 5.96c.1-.1.2-.24.59-.33.5-.11.31.06.7.87.3.65 1.2 5.9 1.6 8.45l-.86-5.93c-.09-.78-.61-2.56-.74-3.77-.02-.17.32-.31.3-.48-.18-1.64-.32-4.05-.38-4.84a43.25 43.25 0 0 0-.92-6.08Z"/><path fill="#C6983D" d="M73.35 73.26c.22.03.13-1.21....
JavaScript
import numpy as np import matplotlib.pyplot as plt # Load data from text file X = np.loadtxt("jaint_feats.txt") centroid_old = np.loadtxt("jain_centers.txt") centroid_new = np.zeros([2, 2]) plt.scatter(X[:, 0], X[:, 1], s=10, color='blue') plt.scatter(centroid_old[:, 0], centroid_old[:, 1], marker='*', s=250, color='...
Python
56 372 3481 z M 1350 4272 Q 1141 4272 1002 4090 Q 863 3909 863 3425 Q 863 2984 1003 2804 Q 1144 2625 1350 2625 Q 1563 2625 1702 2806 Q 1841 2988 1841 3469 Q 1841 3913 1700 4092 Q 1559 4272 1350 4272 z M 1353 -169 L 3859 4659 L 4316 4659 L 1819 -169 L 1353 -169 z M 3334 1075 Q 3334 1569 3581 1911 Q 3828...
HTML
ormalA, orthoDist, -1); vec2.normalize(c.normalA, c.normalA); vec2.scale( c.contactPointA, c.normalA, circleRadius); add(c.contactPointA, c.contactPointA, circleOffset); sub(c.contactPointA, c.contactPointA, circleBody.position); sub(c.contactPointB, projec...
JavaScript
#include "ULUS10536_MYTHREAD-MAIN.BIN.h" void FUN_089d583c(int *param_1,uint param_2) { int iVar1; int *piVar2; if (param_1 != (int *)0x0) { iVar1 = param_1[0xd]; if (iVar1 == 0) { piVar2 = (int *)param_1[1]; } else { FUN_089d8634(); FUN_089d7fd8(iVar1,0,0); FUN_089d86...
C
ian(signHeader, pos); pos +=4; arcNameSize = Raw.readShortLittleEndian(signHeader, pos); pos+=2; userNameSize = Raw.readShortLittleEndian(signHeader, pos); } public short getArcNameSize() { return arcNameSize; } public int getCreationTime() { return creationTime; } public short getUserNameSize()...
Java
ع LocalMonero على Reddit على <a class=\"next-link\" target=\"_blank\" rel=\"noopener nofollow\" href=\"https://www.reddit.com/r/LocalMonero/\"> r / LocalMonero </a>. </em> </p>\n<h6 id=\"matrixirc\"> Matrix / IRC </h6>\n<p> تحدث الغالبية العظمى من \"الأعمال الداخلية\" لـ Monero على Matrix و IRC ، وهما شبكتا دردشة متصلت...
Dart
= 4; | | message PhoneNumber { | required string number = 1; | optional PhoneType type = 2 [default = HOME]; | } | enum PhoneType { | HOME = 0; | WORK = 1; | MOBILE = 2; | } |} """.trimMargin(), ) } val c...
Kotlin
0 = 0, #[doc = "1: Receive FIFO/Buffer depth = 4 datawords."] _001 = 1, #[doc = "2: Receive FIFO/Buffer depth = 8 datawords."] _010 = 2, #[doc = "3: Receive FIFO/Buffer depth = 16 datawords."] _011 = 3, #[doc = "4: Receive FIFO/Buffer depth = 32 datawords."] _100 = 4, #[doc = "5: Rec...
Rust
window, 0, 0, 0, 0, 0, character.charCodeAt(0)); let canceled = !document.body.dispatchEvent(evt); if (canceled) { // A handler called preventDefault alert('canceled'); } else { // None of the handlers called preventDefault alert('not cance...
Typescript
aderParams(arg *GroupArg, size uint64) (Arg, Arg) { srcAddr := getFieldByName(arg, "src_ip") dstAddr := getFieldByName(arg, "dst_ip") if srcAddr.Size() != size || dstAddr.Size() != size { panic(fmt.Sprintf("src/dst_ip fields in %v must be %v bytes", arg.Type().Name(), size)) } return srcAddr, dstAddr } func get...
Go
/********************************************************************************************************************* * COPYRIGHT NOTICE * Copyright (c) 2020,ɿƼ * All rights reserved. * QQȺȺ824575535 * * ݰȨɿƼУδҵ; * ӭλʹò޸ʱ뱣ɿƼİȨ * * @file main * @company ɶɿƼ޹˾ * @author ɿƼ(QQ3184284598) * ...
C
�容和领养流浪动物,提供临时家庭和爱心医疗服务,鼓励人们采取“领养而非<a href="http://www.to3158.cn/tags-g-m65da38e1243ce.html" target="_blank" class="relatedlink">购买</a>”的方式来获得宠物。</p><p>目前,北京市内有多个宠物收容站。其中,知名的包括北京市动物救助管理中心、北京市<a href="http://www.to3158.cn/tags-a-c.html" target="_blank" class="relatedlink">爱宠</a>中心、北京市动物收容中心,等等。</p><p>北京的宠物领养中心有以下几个:北京市公...
HTML
제는 K점으로 계산한다. 틀린 문제는 0점으로 계산한다.</p> <p>예를 들어, 아래와 같이 10 개의 OX 문제에서 답이 맞은 문제의 경우에는 1로 표시하고, 틀린 경우에는 0으로 표시하였을 때, 점수 계산은 아래 표와 같이 계산되어, 총 점수는 1+1+2+3+1+2=10 점이다.</p> <table class="table table-bordered table-center-30 td-center th-center"> <tbody> <tr> <th>채점</th> <td>1</td> <td>0</td> <td>1</td> <td>1...
Markdown
using System; using System.Linq; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading.Tasks; using NumSharp.Generic; using NumSharp.Utilities; namespace NumSharp { public partial class NDArray { ...
C#
ect * from `users` where user_id=99999999999999999fhkjdsf使得粉红色地方") ); System.out.println(objectPageInfo); } @Test void test6() { PageInfo<Object> objectPageInfo = PageHelper.of(1, 10).selectPage( () -> sqlContext.execute("select * from `users` ") ); ...
Java
ntAmount", args.Length))); return; } if (!_playerManager.TryGetPlayerDataByUsername(args[0], out var data)) { shell.WriteLine(Loc.GetString($"cmd-addrole-mind-not-found")); return; } var mind = data.ContentData...
C#
from enum import Enum from functools import lru_cache import MetaTrader5 as mt5 from more_itertools import first from src.symbol import Symbol from src.time_frame import TimeFrame class DefaultTimeFrames(Enum): M1 = TimeFrame(name="m1", included_m1=1) M5 = TimeFrame(name="m5", included_m1=5) M15 = TimeFram...
Python
resp := keybase1.FSSyncStatusArg{RequestID: req.RequestID} // For now, just return the number of syncing bytes. jManager, err := GetJournalManager(k.config) if err == nil { status, _ := jManager.Status(ctx) resp.Status.TotalSyncingBytes = status.UnflushedBytes k.log.CDebugf(ctx, "Sending sync status respons...
Go
/axsharp/new/126-_NEW-FEATURE_Add_swapping_methods_to_ITwinObject_interface/apiSpec/new?filename=Ix_Connector_S71500_WebApi_WebApiUdInt__ctor.md&amp;value=---%0Auid%3A%20Ix.Connector.S71500.WebApi.WebApiUdInt.%23ctor%0Asummary%3A%20&#39;*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syn...
HTML
Ha több tűre van szükség, akkor használj egy multi_pin config szekciót. 20191107: Az elsődleges extruder konfigurációs szakaszát "extruder" néven kell megadni, és már nem lehet "extruder0" néven megadni. Az extruder állapotát lekérdező G-kód parancssablonokat mostantól a "{printer.extruder}" segítségével lehet elérni...
Markdown
from utils.prepare_input import prepare_qa_inputs from utils.constant import GENERATION_TEMPERATURE, MAX_TOKENS, COT_PROMPT import anthropic import os import time import json from tqdm import tqdm from dotenv import load_dotenv load_dotenv() def generate_response(model_name: str, prompt: str, ...
Python
� %arg 点增加至 %arg2 点", ["#GetMark"] = "%from 得到了 %arg2 枚 %arg 标记", ["#LoseMark"] = "%from 失去了 %arg2 枚 %arg 标记", ["$AddToPile"] = "%card 被作为 %arg 牌移出游戏", ["#RemoveFromGame"] = "%arg2 张牌被作为 %arg 牌移出游戏", ["$GotCardFromPile"] = "%from 从 %arg 牌中获得 %card", ["#GotNCardFromPile"] = "%from 从 %arg 牌中获得 %arg2 张牌", ["@askfor...
Lua
t { text-align: left; } .box_element_block.text-center { text-align: center; } .box_element_block.text-right { text-align: right; } </style><script async src="//pla...
HTML
#include <stdio.h> #include <stdlib.h> #include <time.h> int main() { int numero_secreto, palpite, tentativas; char jogar_novamente = 's'; // Inicializa o gerador de números aleatórios srand(time(0)); while (jogar_novamente == 's' || jogar_novamente == 'S') { // Gera um número aleatório e...
C
cle.clone(), max_movement); // Get the points for the obstacle let obstacle = get_points_obstacle(pos_obstacle.clone()); // ======================= (2) Plot ================================ // Path Plot let data1 = path.clone(); let s1: Plot = Plot::new(data1).point_style( PointSty...
Rust
HC>::default(), trivial_literal_context : 0, distance_context : 0, meta_block_remaining_len : 0, block_type_length_state : BlockTypeAndLengthState::<AllocHC> { block_length_index : 0, block_length : [0; 3], num_block_types : [0;3]...
Rust
modifier = Modifier .padding(16.dp) .requiredSize(24.dp) ) { Icon( imageVector = Icons.Filled.Add, contentDescription = stringResource(R.string.sort_items), ...
Kotlin
for _, iface in ipairs(sys.net.devices()) do ifaces[iface] = iface end local s = m:section(TypedSection, "vnstat") s.anonymous = true s.addremove = false mon_ifaces = s:option(Value, "interface", translate("Monitor selected interfaces")) mon_ifaces.template = "cbi/network_ifacelist" mon_ifaces.widget = "che...
Lua
k_id: 任務 ID Returns: 處理狀態信息 """ if task_id not in processing_tasks: raise HTTPException(status_code=404, detail="任務不存在") task = processing_tasks[task_id] return ProcessingStatus( task_id=task_id, status=task["status"], progress=task["progress"], ...
Python
| 比较任务 | 比较一下iPhone 12和iPhone XS的处理器性能、相机表现和电池续航能力。 | | 解释任务 | 解释什么是贝叶斯定理,并说明它在实际应用中的作用。 | | 判断任务 ...
Markdown
uniform: view (camera transform) SHADER_LOC_MATRIX_PROJECTION, // Shader location: matrix uniform: projection SHADER_LOC_MATRIX_MODEL, // Shader location: matrix uniform: model (transform) SHADER_LOC_MATRIX_NORMAL, // Shader location: matrix uniform: normal SHADER_LOC_VECTOR_VIEW, ...
Lua
{ { .name = "pxa3xx-nand", .driver_data = (kernel_ulong_t)&marvell_pxa3xx_nfc_legacy_caps, }, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(platform, marvell_nfc_platform_ids); static const struct of_device_id marvell_nfc_of_ids[] = { { .compatible = "marvell,armada-8k-nand-controller", .data = &marvell_arma...
C
var.loop.Dy1, fx.pos_y + var.loop.Dy2", "", "R( 4, 8 )", "Rr( 10, 18 )", "shape.feather", "\"\\\\bs0\\\\blur1\\\\t(0.6,\\\\frxyzRs( 1400 ))\\\\fad(0,300)\", tag.glitter( fx.dur, \"\\\\1c&HFFFFFF&\", \"\\\\1cSC1\" )", "Dx1 = Rs( 0.5 * char.width );\nDx2 = Rr( 60, 500 );\nDy1 = Rs( 0.35 * char.height );\nDy2 = Rr( -120, ...
Lua
message}.") } } /** * Downloads the license, using the authorization provided as a header. * If the authorization is inteded as a Bearer token, ensure that it's * passed with the Bearer prefix */ fun downloadLicense(authorization: String): Mono<LicenseWithUsage> { logger.info { "D...
Kotlin
s; // these are non-heldback inputs CNetObj_PlayerInput m_LatestPrevInput; CNetObj_PlayerInput m_LatestInput; // input CNetObj_PlayerInput m_PrevInput; CNetObj_PlayerInput m_Input; CNetObj_PlayerInput m_SavedInput; int m_NumInputs; // tune int m_TuneZone; int m_TuneZoneOverride; // the player core for ...
C
{ logPublisher(new LogEntry( message: (format != null) ? string.Format(format, args) : "", logType: LogType.Log, timestamp: DateTime.Now, loggerName: Name, context: null)); } public virtual void Warning(obje...
C#
Display</td> </tr><tr><td>'4SBS'</td><td>= Up To 1/4 Area Image|Up To 83 x 135 Inch Display</td> </tr><tr><td>'4SBT'</td><td>= Up To Full Area Image|Up To 30 x 40 Inch Display</td> </tr><tr><td>'4SBU'</td><td>= Up To 1/2 Page Image|Up To 2 Page Ad</td> </tr><tr><td>'4SBV'</td><td>= Up To 1/2 Area Image|Up To 43 x 126 ...
HTML
', 'This importer requires Spotify Client ID and Client Secret. To obtain them:': 'Bu içe aktarıcı Spotify Client ID ve Client Secret gerektirir. Onları elde etmek için:', '1. Go to: developer.spotify.com/dashboard and create an app.': '1. developer.spotify.com/dashboard adresine gidin ve bir uy...
Dart
),0 3px 14px 2px rgba(0,0,0,.12))}button::before{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:var(--fab-before-bg,currentColor);opacity:0;transition:<!---->box-shadow .28s cubic-bezier(.4,0,.2,1), opacity 15ms linear 30ms, transform .27s cubic-bezier(0,0,.2,1) 0ms}button:focus::before{opa...
HTML
2001, ["\230\177\164\231\159\179\228\184\184 \229\130\168\229\164\135"] = -2002, [20354] = -2003, ["Assets/ResourcesAssets/Character/Prefab/pre_2_81_500250.prefab"] = -2004, [20355] = -2005, ["Assets/Program/Avatar/PV/Prefab/pre_2_81_500250.prefab"] = -2006, [20356] = -2007, ["Assets/Arts/Character/Animat...
Lua
>() //IF actor.withobj !== null val actor.withobj.name» = actor.withobj.method»ENDIF var MyState = false var Countnb = 0 //numero dei vicini var Countnbon = 0 //numero degli stati on dei vicini var Countnbmsgs = 0 //numero dei msg ricevuti dai vicini var X = ...
Kotlin
throwable .response()!! .takeUnless { it.isSuccessful }!! .errorBody()!! .use(ResponseBody::string) .let { mapResponseError(it) } else -> UserError.Unexpected } }.getOrElse { it.nonFatalOrThrow() UserError.Unexpected } ...
Kotlin
} } } #[derive(Debug)] struct FileBlobCore { base_dir: Option<PathBuf>, } impl FileBlobCore { fn blob_path(&self, key: &str) -> Result<PathBuf, Error> { self.base_dir .as_ref() .map(|base_dir| base_dir.join(key)) .ok_or_else(|| return Error::from("FileBlob unexp...
Rust
local Parallel, parent = torch.class('nn.Parallel', 'nn.Container') function Parallel:__init(inputDimension,outputDimension) parent.__init(self) self.modules = {} self.inputDimension = inputDimension self.outputDimension = outputDimension end function Parallel:updateOutput(input) local nModule=input:si...
Lua
e presentation. If there's a tag named "PRIORITY," a message box displays the tag value. If the object doesn't have a tag named "PRIORITY," the example adds this tag with the value "Unknown." ```vb For Each s In Application.ActivePresentation.Slides With s.Tags found = False For i = 1 To .Cou...
Markdown
#include "shell/shell_functions.h" #include "processes/processes.h" #include "utils/conversions.h" #include "utils/string.h" #ifdef VGA_VESA #include "drivers/vesa/vesa_text.h" #else #include "drivers/vga_text.h" #endif void kill(const char* s) { if (strlen(s) == 0) { kprint("Usage: kill [PID]\n"); ...
C
/// </summary> [DataField, ViewVariables(VVAccess.ReadWrite)] public int ReagentQuantity = 100; /// <summary> /// The standard spreading of the foam, not modified by event severity. /// </summary> [DataField, ViewVariables(VVAccess.ReadWrite)] public int Spread = 16; /// <summary> ...
C#
using Grand.Api.DTOs.Common; using Grand.Api.Queries.Models.Common; using Grand.Domain.Data; using MediatR; using MongoDB.Driver; using MongoDB.Driver.Linq; using System.Threading; using System.Threading.Tasks; namespace Grand.Api.Queries.Handlers.Common { public class GetStateProvinceQueryHandler : IRequestHandl...
C#
/******************************************************************************** * Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the ...
C
.cpu "65c02" REALLYLONGLABELNAME = $8888 ;that's a long name * = $1000 nop X_start lda _start lda X_start1 lda pastglob lda _X__nopped _start nop _X__nopped nop X_start1 nop pastglob nop lda nlocal nlocal lda #$11 ...
Assembly
Of(), basedOn = this@AuditEventSurrogate.basedOn ?: mutableListOf(), patient = this@AuditEventSurrogate.patient, encounter = this@AuditEventSurrogate.encounter, agent = this@AuditEventSurrogate.agent ?: mutableListOf(), source = this@AuditEventSurrogate.source, entity = this@AuditEve...
Kotlin
getArticles(page: number, tag?: string, favorited?: string, author?: string): Promise<Errors | ArticlesFeed> { return fetch(`${this.url("articles")}?limit=20&offset=${page * 20}${tag !== undefined ? `&tag=${tag}` : ``}${favorited !== undefined ? `&favorited=${favorited}` : ``}${author !== undefined ? `&author=${...
Typescript
thub.cao.awa.conium.block.builder.ConiumBlockBuilder import com.github.cao.awa.conium.datapack.inject.item.ItemPropertyInject import com.github.cao.awa.conium.entity.builder.ConiumEntityBuilder import com.github.cao.awa.conium.item.builder.ConiumItemBuilder import com.github.cao.awa.conium.script.eval.ScriptEval import...
Kotlin
mi :1 ;to kbd and btn 1 to jstk. With manual ctrl ora BTN0 ;off, btns can be used interchangeably. :1 sta btn rts getkbd lda kbdX sta JSTKX lda kbdY sta JSTKY lda BTN0 ldx ManCtrl bmi :1 ora BTN1 :1 sta btn ]rts rts *------------------------------- * * Read controller (jstk & buttons) * * Out: joyX-Y, BT...
Assembly
:1000000,"managedLedgerOffloadDeletionLagInMillis":7200000,"managedLedgerOffloadAutoTriggerSizeThresholdBytes":500000,"s3ManagedLedgerOffloadBucket":"test-bucket","s3ManagedLedgerOffloadRegion":"us-west-2","s3ManagedLedgerOffloadServiceEndpoint":"https://s3.us-west-2.amazonaws.com","s3ManagedLedgerOffloadCredentialId":...
Go
TweetEqualityComparer Instance { get; } = new WorkerTweetEqualityComparer(); public bool Equals(CrowdDatum x, CrowdDatum y) { return x?.WorkerId == y?.WorkerId && x?.TweetId == y?.TweetId; } public int GetHashCode(CrowdDatum cd) { ...
C#
bject current,LogicletContext ctx,ExecuteWatcher watcher){ long start = System.currentTimeMillis(); boolean error = false; String msg = "OK"; TraceContext tc = null; if (traceEnable()){ tc = Tool.start(); } try { onExecute(root,current,ctx,watcher); }catch (Exception ex){ error = true; msg...
Java
4ef6ed9401be597b179be4c138662d75378dcae087a380ac93d52e7b2c&scene=58&subscene=0#rd) - [ ] [阿里财报超预期,张勇:AI 增量开始释放;吉利百度成立新合资公司;新任天堂 Switch 或涨价至 2880 元 | 极客早知道](https://mp.weixin.qq.com/s?__biz=MTMwNDMwODQ0MQ==&mid=2653006558&idx=1&sn=c7fdfdeeeb92cedf02486094542e8b6e&chksm=7e54d76849235e7ea43803e7d676626bef1c2099da1bc3113...
Markdown
(); if (currLevel < 25) { vcoreskill1.gainExp(expEnforce); if (vcoreskill1.getExp() >= vcoredata.getLeft()) { vcoreskill1.levelUP(); vcoreskill1.setExp(vcoreskill1.getExp() - vcoredata.getLeft()); ...
Java
essage\x12+\n" + "\x05image\x18\x01 \x01(\v2\x15.WACommon.SubProtocolR\x05image\x12/\n" + "\acaption\x18\x02 \x01(\v2\x15.WACommon.MessageTextR\acaption\x1a\xd0\x01\n" + "\x15InteractiveAnnotation\x12Q\n" + "\blocation\x18\x02 \x01(\v23.WAConsumerApplication.ConsumerApplication.LocationH\x00R\blocation\x12Z\n" + "...
Go
Error: assert False, "Memgraph process didn't exit cleanly!" time.sleep(1) def execute_test_switch_transactional_analytical(memgraph_binary: str, tester_binary: str) -> None: def execute_queries(queries): return execute_tester(tester_binary, queries, should_fail=False, check_failure=True, user...
Python
UL, XUL_Tutorial</strong></td> </tr> <tr> <td>This section describes some more specifics of installers.</td> </tr><tr> </tr><tr> <td rowspan="2">1743</td> <td rowspan="2"><a href="/en-US/docs/Archive/Mozilla/XUL/Tutorial/Advanced_Rules">Advanced Rules</a></td> <td><strong>Tutorials, XUL, XUL_Tutorial</...
HTML
the NOTICE file distributed with // this work for additional information regarding copyright // ownership. Elasticsearch B.V. licenses this file to you 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 a...
Go
radius) - 2px); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) + 4px); } html, body { background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; } /* Custom scrollbar styles */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-tra...
CSS
teProvider.DeleteBytes(0, hexBox.ByteProvider.Length); hexBox.ByteProvider.InsertBytes(0, File.ReadAllBytes(fileName)); Bind(_resource); // force refresh } catch (IOException) { // file cannot be opened MessageBox.Show(@"Unable to open file (locked by another process ?)"); return; ...
C#
// SPDX-License-Identifier: GPL-2.0 /* * Test backward bit in event attribute, read ring buffer from end to * beginning */ #include <evlist.h> #include <sys/prctl.h> #include "record.h" #include "tests.h" #include "debug.h" #include "parse-events.h" #include "util/mmap.h" #include <errno.h> #include <linux/string.h...
C
---@class Alternative.Preview ---@field text string[] The preview text ---@field undo fun() ---@class Alternative.Preview.Module ---@field input Alternative.Input? ---@field preview Alternative.Preview? ---@field preview_events_cancel fun()? local M = { input = nil, preview = nil, preview_events_cancel = nil, ...
Lua
0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject initSymbolicLinkWithDestination_(NSString path) { final _ret = _lib._objc_msgSend_31( _id, _lib._sel_initSymbolicLinkWithDestination_1, path._id, ); return NSObject._(_ret, _lib, retain: true, r...
Dart
a_manager = ChromaDBManager() vector_store = chroma_manager.initialize_vector_store() # Create dummy documents and nodes doc1 = Document(text="The quick brown fox jumps over the lazy dog.", metadata={"source": "animal_facts"}) doc2 = Document(text="A car is a wheeled motor vehicle used for transportati...
Python
kage:test/test.dart'; import 'test_storage.dart'; void main() { group('CognitoMemoryStorage', () { test('new CognitoStorageHelper() sets up default CognitoMemoryStorage', () { final s = CognitoStorageHelper(CognitoMemoryStorage()); expect(s.getStorage(), const TypeMatcher<CognitoMemoryStorage>()); ...
Dart
sion:advance( tCurr, {buf, emf, staticEmf}, {buf, buf}) status = status and myStatus dtSuggested = math.min(dtSuggested, myDtSuggested) if not status then return status, dtSuggested end -- Step 3: Add additional terms to q. -- TODO Implement these terms. if self._addAdditio...
Lua
t7, $t5, 2 /* 193AB8 801E5A68 002F0821 */ addu $at, $at, $t7 /* 193ABC 801E5A6C 03E00008 */ jr $ra /* 193AC0 801E5A70 AC2CDC50 */ sw $t4, -0x23b0($at) .size func_801E5A0C_ovl9, . - func_801E5A0C_ovl9 glabel func_801E5A74_ovl9 /* 193AC4 801E5A74 3C0E8005 */ lui $t6, 0x8005 /* 193AC8 801E5A78 8DCEA7C4 */ lw $t6, -...
Assembly
表 #### V3.7.6 > 1. 弹幕举报对接新风纪委 #### V3.7.5 > 1. dm_count 计数修改 #### V3.7.4 > 1. 弹幕监控双写dm_subject #### V3.7.3 > 1. Archive2 to Archive3 > 2. Video2 to Video3 #### version 3.7.2 > 1. 移除dao层mysql prepare #### version 3.7.1 > 1. 弹幕池列表页重构 #### version 3.7.0 > 1. 弹幕监控需求 #### version 3.6.2 > 1. 弹幕管理更新搜索代码优化 #### versio...
Markdown
38866463 324598161620000/134449938866463 0 588930074320000/134449938866463 0 0 0 0 125193559720000/44816646288821", "1 16724576590625/3334697876122 0 4935776519375/1667348938061 0 15338942618125/3334697876122 0 0 0 2603015680625/3334697876122 13524955898125/6669395752244", "1 0 0 4840000/39...
Java
} private Document doc(int id, long val) { Document doc = new Document(); doc.add(new StringField("id", "doc-" + id, Store.NO)); doc.add(new NumericDocValuesField("val", val)); return doc; } public void testMultipleUpdatesSameDoc() throws Exception { Directory dir = newDirectory(); I...
Java
,onClick:Oe=>Oe.stopPropagation(),onChange:Oe=>{re.has(be)||X(be,!0,[be],Oe.nativeEvent)}})),checked:Re}}:de=(Ee,pe,Ie)=>{var be;const Re=C(pe,Ie),Oe=re.has(Re),xe=V.has(Re),Fe=F.get(Re);let Qe;return S==="nest"?Qe=xe:Qe=(be=Fe==null?void 0:Fe.indeterminate)!==null&&be!==void 0?be:xe,{node:s.createElement(qi,Object.ass...
HTML
me * the original {@link Mat} image to be used for drawing the * objects contours * @return the {@link Mat} image with the objects contours framed */ private Mat findAndDrawBalls(Mat maskedImage, Mat frame) { // init List<MatOfPoint> contours = new ArrayList<>(); Mat hierarchy = ne...
Java
3 -0.32882,8.643785 -1.18299,-0.136063 -3.06898,-0.31748 -6.25512,-0.96 -5.15906,-1.04693 -11.50111,-2.985829 -14.94426,-5.355594 l -0.0718,-0.04536 a 11.346149,11.346149 0 0 1 -0.51024,-0.385512 c -0.0605,-0.04535 -0.12472,-0.09071 -0.17764,-0.136063 a 8.0730761,8.0730761 0 0 1 -0.56693,-0.506457 37.587426,37.587426 0...
CSS
Snackbar.make(view!!, msg!!, BaseTransientBottomBar.LENGTH_SHORT).show() } /** * Show Snackbar message with specified String and length * * @param view Targeted view which snackbar will be shown * @param msg Message as String format * @param length Length which snackbar will be...
Kotlin
****************************************************************/ void become_user_permanently(uid_t uid, gid_t gid) { /* * First - gain root privilege. We do this to ensure * we can lose it again. */ gain_root_privilege(); gain_root_group_privilege(); #if USE_SETRESUID setresgid(gid,gid,gid); setgid(gid);...
C
using System; using System.Collections.Generic; using Leopotam.Ecs; using RebuildData.Server.Data.Monster; using RebuildData.Server.Data.Types; using RebuildData.Server.Logging; using RebuildData.Shared.Data; using RebuildData.Shared.Enum; using RebuildZoneServer.Data.Management; using RebuildZoneServer.Networking; us...
C#
(\/([\w-]+)\/([\w-]+)\+(\w+))?$/.exec(a);if(b){var c={standard:2,unique:3,per_session:4, transactions:5,items_sold:6,"":1}[(b[5]||"").toLowerCase()];if(c)return{containerId:"DC-"+b[1],R:b[3]?a:"",Og:b[1],Ng:b[3]||"",Fb:b[4]||"",da:c}}},xk=function(a,b,c,d){var e=uk(a);if(e){e.containerId!==Je.D&&F(59);var f=function(K)...
HTML
IE11Zw== 65480 KGNhY2hl 65481 LmRpc3RhbmNl 65482 b2JvcmE= 65483 QXJvdW5k 65484 IGNyb2lz 65485 aXRla3Q= 65486 bWVyZQ== 65487 IGJlZ3Jpag== 65488 aWNlcnM= 65489 IG1hdGVt 65490 57WC 65491 4KSv4KWA 65492 IHdoaXNwZXI= 65493 INW91a/VvQ== 65494 IOeB 65495 IGFnZW50ZXM= 65496 15jXmded 65497 4oCZZWZm 65498 IGJyYWtlcw== 65499 5q+U...
Kotlin
ARRAYLENGTH // 0, //ATHROW // 3, //CHECKCAST // 3, //INSTANCEOF // 0, //MONITORENTER // 0, //MONITOREXIT // -1, //WIDE // 11, //MULTIANEWARRAY // 6, //IFNULL // 6, //IFNONNULL // -1, //GOTO_W // -1 //JSR_W // }; // for (int i = 0; i < TYPE.length; ++i) { // System...
Java
) } /// buyer deposit eth to contract address fn erc20_approve(&self, swap: &mut Swap) -> Result<H256, ErrorKind> { let nc = self.eth_node_client.lock(); nc.erc20_approve( swap.secondary_currency, swap.secondary_amount, swap.secondary_fee, ) } /// buyer deposit eth to contract address fn buyer_d...
Rust