content
stringlengths
2
6.21k
label
stringclasses
16 values
etTag (dvbsiparser.h) description: Gets the tag that identifies a Digital Video Broadcast (DVB) data broadcast ID descriptor. helpviewer_keywords: ["GetTag","GetTag method [Microsoft TV Technologies]","GetTag method [Microsoft TV Technologies]","IDvbDataBroadcastIDDescriptor interface","IDvbDataBroadcastIDDescriptor in...
Markdown
r providers = GetStandardIssueProviders(); return semanticModel.GetIssues(providers); } public static IEnumerable<CodeIssue> GetIssues(this SemanticModel semanticModel, IEnumerable<ICodeIssueProvider> providers) { return providers.SelectMany(p => p.GetIssues(semanticMode...
C#
eJson { author = "CloudNetService" name = "CloudNet-Storage-SFTP" main = "eu.cloudnetservice.modules.sftp.impl.SFTPTemplateStorageModule" description = "CloudNet extension, which includes the sftp storage system" storesSensitiveData = true runtimeModule = true } /* * Copyright 2019-2024 CloudNetService tea...
Kotlin
using System.Linq; using Xunit; using static LanguageExt.Prelude; namespace LanguageExt.Tests.Transformer.Traverse.SeqT.Collections { public class HashSetSeq { [Fact] public void EmptyEmptyIsEmptyEmpty() { HashSet<Seq<int>> ma = Empty; var mb = ma.Traverse(mx =>...
C#
modificado.Email) && index_aux != index){ existe = true; } index_aux += 1; } if(existe){ res.send({ failure: 'Um outro usuario com esse CPF ou esse EMAIL ja existe na base de dados!', }) ...
Typescript
mov r2, #0x36 bl ov73_021E83EC mov r0, #3 pop {r3, r4, r5, pc} .balign 4, 0 _021E9DD4: .word 0x00000F1C _021E9DD8: .word 0x00000F0F _021E9DDC: .word 0x00000BD4 thumb_func_end ov73_021E9D6C thumb_func_start ov73_021E9DE0 ov73_021E9DE0: ; 0x021E9DE0 push {r3, r4, lr} sub sp, #4 mov r1, #0xf9 add r4, r0, #0 ...
Assembly
, #+2076] RSB R0,R4,#+450 LDR.W R1,??Set_6 ;; 0x40000410 STR R0,[R1, #+2084] B.N ??Set_3 // 81 } else { // 82 TIM5_ARR = Value >>16; TIM5_CCR1 = Value & 0xFFFF; ??Set_5: LDR.W R0,??Set_6 ;; 0x4000041...
Assembly
import sys import pytest sys.path.append("../") from chatbot_api.assistant import AssistantBison mock_context = ( f"Here is information on the user:\n" f"- User Name: Fake User\n" f"- User Email: fake.user@example.com\n" f"- User Primary Programming Language (also known as favorite programming langua...
Python
Any "p1", } ns "VEHICLE" returns "void" native "_RAISE_LOWERABLE_WHEELS" hash "0xF660602546D27BA8" arguments { Vehicle "vehicle", } ns "VEHICLE" returns "void" native "0x5335BE58C083E74E" hash "0x5335BE58C083E74E" arguments { Any "p0", } ns "VEHICLE" returns "void" native "0x7C06330BFDDA182E" hash ...
Lua
DEX `t1` idx_a"}, {"admin show slow top 3", true, "ADMIN SHOW SLOW TOP 3"}, {"admin show slow top internal 7", true, "ADMIN SHOW SLOW TOP INTERNAL 7"}, {"admin show slow top all 9", true, "ADMIN SHOW SLOW TOP ALL 9"}, {"admin show slow recent 11", true, "ADMIN SHOW SLOW RECENT 11"}, {"admin reload expr_pushdo...
Go
" ); default: JSON_ASSERT_UNREACHABLE; } return 0.0f; // unreachable; } bool Value::asBool() const { switch ( type_ ) { case nullValue: return false; case intValue: case uintValue: return value_.int_ != 0; case realValue: return value_.real_ != 0.0; case booleanVa...
C++
es.ext.client.hud.watermarks; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; import vip.gothaj.client.event.EventListener; import vip.gothaj.client.event.events.EventRenderGui; import vip.gothaj.client.modules.ext.client.HudModule; import vip.gothaj.client.utils.font.icons.Fonts; import vi...
Java
lockWheelingWindow(null, 0f) } val wheel = Vec2(if (Key.MouseWheelX testOwner KeyOwner_None) g.io.mouseWheelH else 0f, if (Key.MouseWheelY testOwner KeyOwner_None) g.io.mouseWheel else 0f) //IMGUI_DEBUG_LOG("MouseWheel X:%.3f Y:%.3f\n", wheel_x, wheel_y); val mouseWindow = g.wheelin...
Kotlin
< (this.viewportSize.Y - this.mainMapLayer.TotalTileHeight)) { this.mainMapLayer.TopEdge = this.viewportSize.Y - this.mainMapLayer.TotalTileHeight; } } break; ...
C#
//===-- llvm/Support/CRC.h - Cyclic Redundancy Check-------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
C
======== idGameLocal::GetClientStats ================ */ void idGameLocal::GetClientStats( int clientNum, char* data, const int len ) { mpGame.PlayerStats( clientNum, data, len ); } /* ================ idGameLocal::GetMPGameModes ================ */ int idGameLocal::GetMPGameModes( const char** * gameModes, const cha...
C++
min-width:80px;max-width:150px;flex:1;}.amis-scope .cxd-JSONSchemaMember-key > span{display:flex;background:#ffffff;border:0.0625rem solid #e8e9eb;border-radius:4px;line-height:1.5;padding:0.25rem 0.625rem;font-size:14px;flex-wrap:wrap;justify-content:flex-start;align-items:center;color:#151b26;}.amis-scope .cxd-JSONSc...
CSS
ken har en verdi for <code>aria-labelledby</code>, som enten er tom eller ikke samsvarer med verdien av attributtet <code>id</code> til et annet element på siden.', LINK_EMPTY_NO_LABEL: 'Lenken har ikke tydelig tekst som er synlig for skjermlesere og andre hjelpemidler. Slik løser du problemet: <ul><li>Legg til e...
JavaScript
.AreEqual((-1.5f).ToIntFloor(), -2); Assert.AreEqual(0.5f.ToIntCeil(), 1); Assert.AreEqual(0.9f.ToIntCeil(), 1); Assert.AreEqual((-0.5f).ToIntCeil(), 0); Assert.AreEqual((-0.9f).ToIntCeil(), 0); Assert.AreEqual((-1.5f).ToIntCeil(), -1); Assert.AreEqual(0.5f.ToIntRound(), 0); Assert.AreEqua...
C#
4-10.1-37.7-27.4-58.5c-12.1-14.5-25.8-27-36.6-35.8c-10.7 8.8-24.5 21.3-36.6 35.8c-17.3 20.7-27.4 41.1-27.4 58.5c0 27.9 23.3 54 57 57.3c2.3 .1 4.7 .2 7 .2zM320 352.2c0-37.3 16-73.4 36.8-104.5c20.9-31.3 47.5-59 70.9-80.2c11.1-10.1 28.2-10 39.3 .1c.3 .3 .6 .5 .8 .8l37.9 39.9L518 194.5c.4-.4 .7-.8 1.1-1.2c11.2-10.3 28.5-10...
JavaScript
} fn value_expression_eof(input: &[u8]) -> IResult<&[u8], Value> { all_consuming(value_expression)(input) } } // Copyright 2022 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. use std::os::unix::...
Rust
ea: 0x20e5, # 'ê' 0xca: 0x20c5, # 'Ê' 0xee: 0x20e9, # 'î' 0xce: 0x20c9, # 'Î' 0xf4: 0x20ef, # 'ô' 0xd4: 0x20cf, # 'Ô' 0xfb: 0x20f5, # 'û' 0xdb: 0x20d5, # 'Û' 0x5e: 0x20a0, # '^' 0x103: 0x21e1, # 'ă' 0x102: 0x21c1, # 'Ă' 0...
Python
update cvm success, count: %d, ids: %v, rid: %s", enumor.Gcp, len(updateMap), maps.Keys(updateMap), kt.Rid) return nil } // buildCvmUpdateReqList builds cvm update request list func buildCvmUpdateReqList(updateMap map[string]typescvm.GcpCvm, vpcMap map[string]*common.VpcDB, subnetMap map[string]*SubnetDB, diskMa...
Go
r.writeString(offsets[4], object.fileName); writer.writeInt(offsets[5], object.height); writer.writeBool(offsets[6], object.isArchived); writer.writeBool(offsets[7], object.isFavorite); writer.writeBool(offsets[8], object.isOffline); writer.writeBool(offsets[9], object.isReadOnly); writer.writeBool(offsets[...
Dart
ind_whenGetFullHouse_thenFiveOfAKind', () => expect(handService.getFullHouse(fiveOfAKind)) .toEqual(arrayContents(fiveOfAKind))); it('givenSevenWithFullHouse_whenGetFullHouse_thenFullHouse', () => expect(handService.getFullHouse(sevenWithAFullHouse).map(card => card.rank)) .toEqual(arrayContents([4, 4, ...
Typescript
的士兵拿在手裡,指著我們!去協助阿拉希盆地的聯盟吧,$N。", ["O"] = "將3枚阿拉希盆地榮譽獎章交給戰場外的聯盟准將。", ["T"] = "戰爭的動力", }, [8394] = { ["D"] = "要取得戰爭的勝利,我們要做的並不僅僅是簡單地打敗敵人,勝利的關鍵往往取決於雙方的戰爭資源。$B$B阿拉希盆地蘊藏著大量物資,部落和聯盟都想搶先奪取這些資源。$B$B如果聯盟獲勝,我們的軍隊將獲得大量的劍和矛。如果部落獲勝,這些武器也一樣會被造出來,只不過是由部落的士兵拿在手裡,指著我們!去協助阿拉希盆地的聯盟吧,$N。", ["O"] = "將3枚阿拉希盆地榮譽獎章交給戰場外的聯盟准...
Lua
self.robot_name = "None" self.rack_list = [] self.low_battery = False self.light_off_COMPLETE = False self.robot_tasks = {} ...
Python
ECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, "negPre": "-", "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 3, "lgSize": 3, ...
JavaScript
------------------------------------------------------------------- // namespaces //------------------------------------------------------------------------------------------------- using namespace std; using namespace NLMISC; //-----------------------------------------------------------------------------------------...
C++
x53 CompareLastResultJump EQUAL, Script_branch_d8 If 0x8004, 0x54 CompareLastResultJump EQUAL, Script_branch_d8 If 0x8004, 0x55 CompareLastResultJump EQUAL, Script_branch_d8 End @ d8 Script_branch_d8: @ d8 ApplyMovement 0xff, Movement_138 ApplyMovement 0xf2, Movement_12c WaitMovement Jump Script_branch_f0 @ ...
Assembly
lf.pipeline_write_page(free_list_page_wrapper.borrow_page()); } let new_free_page_pid = self.alloc_page_id()?; let remain_size = free_list_page_wrapper.remain_size(); let front = &pages[0..remain_size as usize]; let back = &pages[remain_size as usize..]; let next_cell ...
Rust
clr d0 move.b (a0)+,d0 clr.b (a0,d0.w) rts READFILE: PRINT MESS3(PC) ;LOADING FILE PRINT (A6) PRINT CR(PC) CLR -(SP) ;OPEN LECTURE PEA (a6) ;FILENAME MOVE #$3D,-(SP) TRAP #1 ADDQ #8,SP MOVE.L D0,D7 ;D7=HANDLE BMI ERREUR1 PEA (a5) ;ADRESSE PEA 200000 ;LONGUEUR MOVE d7,-(SP) ;HANDLE MOVE #$3F,-(S...
Assembly
import logging import uvicorn from src.main import create_app from src.config import settings logging.basicConfig(level=logging.WARNING) logger = logging.getLogger("uvicorn_main") app = create_app() logger.info("app created") if __name__ == "__main__": logger.info("server running") uvicorn.run( "mai...
Python
expect("Failed to get input files") { kukuri.append_input(path); // kukuri.import(path); } kukuri.run(); } #![warn(missing_docs, unused_imports)] //! _This is a part of **scicrypt**. For more information, head to the //! [scicrypt](https://crates.io/crates/scicrypt) crate homepage._ //! //...
Rust
configuration(config: Configuration) { this._configuration.InitialLifeTotal = config.InitialLifeTotal; this._configuration.PlayersNumber = config.PlayersNumber; this._configuration.ShowEnergyCounter = config.ShowEnergyCounter; this.persistanceService.setConfiguration(this._configuratio...
Typescript
_project.project] create_duration = "60s" } resource "google_project_service" "project_service" { project = google_project.project.project_id service = "iap.googleapis.com" # Needed for CI tests for permissions to propagate, should not be needed for actual usage depends_on = [time_sleep.wait_60_seconds] } ...
Go
/* SPDX-FileCopyrightText: 2003 Jason Harris <kstars@30doradus.org> SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef FOVDIALOG_H_ #define FOVDIALOG_H_ #include <QPaintEvent> #include <QDialog> #include <QDoubleSpinBox> #include "fov.h" #include "ui_fovdialog.h" #include "ui_newfov.h" class FOVDialogUI ...
C
); } ARMv7Assembler::JmpSrc makeBranch(DoubleCondition cond) { return makeBranch(armV7Condition(cond)); } ArmAddress setupArmAddress(BaseIndex address) { if (address.offset) { ARMThumbImmediate imm = ARMThumbImmediate::makeUInt12OrEncodedImm(address.offset); if (imm.isValid(...
C
"name": "@type", "type": "string" }, { "name": "data", "type": "Data" }, { "name": "proof", "type": "Proof" }, { "name": "telephone", "t...
Rust
*16) /** * Constructs the heightmap from a compressed heightmap (36 longs long) */ @JvmOverloads constructor(compactVersion: ImmutableLongArray, version: SupportedVersion = SupportedVersion.Latest): this() { when { version == SupportedVersion.MC_1_15 -> { if(co...
Kotlin
add button to tab, rethink design and add V/HBox for content VBox v = new VBox(); HBox h = new HBox(); HBox intersectionControls = new HBox(); // cb.setMinWidth(displayButton.getWidth()); cb.setPrefWidth(FETCH_COMPONENT_WIDTH); intersectionControls.getChildren().add(cb); displayButton.setPrefWi...
Java
p_mode->mD3dDisplayMode.Height == 480)) mCurrentMode = j; sprintf(str, " %d %d %d %d \n", temp_mode->mD3dDisplayMode.Width, temp_mode->mD3dDisplayMode.Height, temp_mode->mD3dDisplayMode.RefreshRate, temp_mode->mD3dDisplayMode.Format); OutputDebugString(str); if (j<(mode_count-...
C++
toolCallbacks(allAvailableTools) // 关键:传入合并后的工具列表 .call() .chatResponse(); setToolCallChatResponse(chatResponse); AssistantMessage assistantMessage = chatResponse.getResult().getOutput(); log.info("{} - Think result: {}", getName(), assistantM...
Java
} class DiffCallback<T>(private val oldList: List<T>, private val newList: List<T>) : DiffUtil.Callback() { override fun areItemsTheSame(oldItemPosition: Int, newItemPosition: Int) = oldList[oldItemPosition] == newList[newItemPosition] override fun getOldListSize() = oldList.size override fu...
Kotlin
.1046 31.8954 53 33 53H46C47.1046 53 48 52.1046 48 51V49C48 47.8954 47.1046 47 46 47H33ZM20.8462 11.8462C20.8462 12.8658 20.0196 13.6923 19 13.6923C17.9804 13.6923 17.1539 12.8658 17.1539 11.8462C17.1539 10.8266 17.9804 10 19 10C20.0196 10 20.8462 10.8266 20.8462 11.8462Z' fill='%23162B40'/%3E%3C/svg%3E%0A")}.jet-woo-b...
CSS
87-412 35-114-92-74h114l36-112 36 112h114l-93 74 35 114-92-71-93 71ZM240-40v-309q-38-42-59-96t-21-115q0-134 93-227t227-93q134 0 227 93t93 227q0 61-21 115t-59 96v309l-240-80-240 80Zm240-280q100 0 170-70t70-170q0-100-70-170t-170-70q-100 0-170 70t-70 170q0 100 70 170t170 70ZM320-159l160-41 160 41v-124q-35 20-75.5 31.5T480...
Kotlin
1, 0x24(r3) /* 8039EDEC 0039BD2C 81 83 00 00 */ lwz r12, 0(r3) /* 8039EDF0 0039BD30 EC 82 08 28 */ fsubs f4, f2, f1 /* 8039EDF4 0039BD34 C0 5B 03 24 */ lfs f2, 0x324(r27) /* 8039EDF8 0039BD38 EC 3F 28 FC */ fnmsubs f1, f31, f3, f5 /* 8039EDFC 0039BD3C 81 8C 00 EC */ lwz r12, 0xec(r12) /* 8039EE00 0039BD40 EC 1F 0...
Assembly
0] - Updated dependencies [509948d] - @pnpm/config@1003.1.1 - @pnpm/store-controller-types@1003.0.2 - @pnpm/lifecycle@1001.0.15 - @pnpm/worker@1000.1.7 - @pnpm/fs.hard-link-dir@1000.0.1 - @pnpm/patching.apply-patch@1000.0.4 ## 1000.3.5 ### Patch Changes - 09cf46f: Update `@pnpm/logger` in peer dependenci...
Markdown
sidebar .view:not(:selected), .thunar .sidebar filechooser stack.view scrolledwindow treeview.view:not(:selected), filechooser stack.view scrolledwindow .thunar .sidebar treeview.view:not(:selected), .thunar .sidebar window#gnome-system-monitor.background.csd > box.vertical > stack > box.v...
CSS
); } } outputStream.Seek(0, SeekOrigin.Begin); using (BinaryReader br = new BinaryReader(outputStream)) { hmSizeX = br.ReadInt32(); hmSizeY = br.ReadInt32(); ...
C#
// OsmSharp - OpenStreetMap (OSM) SDK // Copyright (C) 2013 Abelshausen Ben // // This file is part of OsmSharp. // // OsmSharp 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 Licen...
C#
/v2.0/cascade_rcnn/cascade_mask_rcnn_x101_64x4d_fpn_20e_coco/cascade_mask_rcnn_x101_64x4d_fpn_20e_coco_20200512_161033-bdb5126a.pth) &#124; [log](https://download.openmmlab.com/mmdetection/v2.0/cascade_rcnn/cascade_mask_rcnn_x101_64x4d_fpn_20e_coco/cascade_mask_rcnn_x101_64x4d_fpn_20e_coco_20200512_161033.log.json)| *...
Markdown
#define PJ_LIB__ #include <projects.h> PROJ_HEAD(eck4, "Eckert IV") "\n\tPCyl, Sph."; #define C_x .42223820031577120149 #define C_y 1.32650042817700232218 #define RC_y .75386330736002178205 #define C_p 3.57079632679489661922 #define RC_p .28004957675577868795 #define EPS 1e-7 #define NITER 6 FORWARD(s_forward); /* sphe...
C
rn await event_trigger.async_attach_trigger( hass, event_config, action, trigger_info, platform_type="device" ) async def async_get_triggers( hass: HomeAssistant, device_id: str, ) -> list[dict[str, str]]: """List device triggers. Make sure device is a supported remote model. Retrieve...
Python
low per generator postFlow := G.CueValue.LookupPath(cue.ParsePath("PostFlow")) if postFlow.Exists() { if R.Flags.Verbosity > 0 { fmt.Println("running post-flow:", postFlow) } if !R.GenFlags.Exec { fmt.Println("skipping post-flow, use --exec to run") } else { ctx := flowcontext.New()...
Go
pAMP) 是一种网络协议,可实现对大型数据收集代理群集的远程管理。它允许代理报告其状态并从服务器接收配置,并从服务器接收代理安装包更新。 [OpAMP](https://github.com/open-telemetry/opamp-spec) 是供应商无关的,因此服务器可以远程监视和管理实现 OpAMP 的不同供应商的代理群集,包括来自不同供应商的混合代理群集。 它支持代理的远程配置、状态报告、代理自身的遥测报告、可下载特定于代理的软件包的管理、安全自动更新功能和连接凭据管理。此功能允许管理大型混合代理群集的单个窗口视图。 --- title: "告别 Sidecar——使用 eBPF 解锁内核级服务网格" summary:...
Markdown
sbc d3, sym1 eor d3, sym1 brclr.b sym1, d1, *+3 brclr.w sym1, #2, *+4 brset.b sym2, d2, *+5 brset.w sym2, #3, *+6 mulu.b d1, d2, sym1 mulu.ll d6, sym1, sym2 muls.b d1, d2, sym1 muls.ll d6, sym1, sym2 qmuls.b d1, d2, sym1 qmuls.ll d6, sym1, sym2 divu.b d1, d2, sym1 divu.ll d6, sym1, sym2 divs.b d1, ...
Assembly
(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) # define _CRT_SECURE_NO_DEPRECATE #endif /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) # define _SCL_SECURE_NO_DEPRECATE #en...
C++
, 200, 200, 200, // 912 - 919 200, 200, 200, 200, 200, 200, 200, 200, // 920 - 927 200, 200, 200, 200, 200, 200, 200, 200, // 928 - 935 200, 200, 200, 200, 200, 200, 200, 200, // 936 - 943 200, 200, 200, 200, 200, 200, 200, 200, // 944 - 951 200, 200, 200, 200, 200, 200, 200, 200...
Dart
} // Determine whether the match we're holding // is the first or second argument. if strings.Index(line, expr) > strings.Index(line, ",") { kind = dst } else { kind = src } vk := v.kind vt := v.typ switch vk { case asmInterface, asmEmptyInterface, asmString, asmSlice: // allow reference to first wor...
Go
} catch (dataUriError) { // Data URI失败,继续尝试其他方法 } // 方法2:尝试文件URL方式(优先用于桌面端和支持的移动端) try { final tempDir = await getTemporaryDirectory(); final timestamp = DateTime.now().millisecondsSinceEpoch; final htmlFile = File( '${tempDir.path}/annual_report_${wid...
Dart
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Net; using System.Net.Sockets; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; using Titanis.DceRpc; using Titanis.DceRpc.Client; using Titanis.DceRpc.Epm; using Titanis.Msr...
C#
sectionAutoNumber1 = (ExtendedSection) chapter1.addSection( "Section-Auto 1.1" ); sectionAutoNumber1.getPdfPCell().setBorder( Rectangle.BOTTOM | Rectangle.TOP | Rectangle.LEFT | Rectangle.RIGHT ); document.add( chapterAutoNumber1 ); ...
Java
.attribute arch, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zba1p0_zbb1p0" .data .text .p2align 2 .globl u8_to_u8 u8_to_u8: ret .p2align 2 .globl u8_to_u16 u8_to_u16: andi a0, a0, 255 ret .p2align 2 .globl u8_to_u32 u8_to_u32: andi a0, a0, 255 ret .p2align 2 .globl u16_to_u8 u16_to_u8: andi a0, a0, 2...
Assembly
5 0 0 1 0 1 .5.5 0 0 1 0 1l-.224.447a1 1 0 0 1-.894.553H6.618a1 1 0 0 1-.894-.553L5.5 15a.5.5 0 0 1 0-1 .5.5 0 0 1 0-1 .5.5 0 0 1-.46-.302l-.761-1.77a1.964 1.964 0 0 0-.453-.618A5.984 5.984 0 0 1 2 6zm6-5a5 5 0 0 0-3.479 8.592c.263.254.514.564.676.941L5.83 12h4.342l.632-1.467c.162-.377.413-.687.676-.941A5 5 0 0 0 8 1z"...
CSS
$SYS_MSGRET,%ebx mov %eax,%esi lcall $SEG_SEL_CALLGATE32,$0 .align PAGESIZE .code64 .align PAGESIZE processuser_syscall: # at 0x3FFFF000 syscall # ret # .org processuser_syscall + 0x100 # at 0x3FFFF100 mov $SYS_MSGRET,%ebx mov %rax,%rsi syscall .org processuser_syscall+0x200 # at 0x3FFFF200 (used b...
Assembly
every { workloadService.createWorkload(any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any(), any()) } returns mockk() every { commandsRepository.save(any()) } returns mockk() every { workloadQueueService.create(any(), any(), any(), any(), any(), any(), any(), any(), any()) } ...
Kotlin
logger.WriteInformation("info message"); logger.WriteProgress("activity", "operation", 50, 1, 2); } finally { Console.SetOut(originalOut); } string output = sw.ToString(); Assert.Contains("verbose message", output); Assert.Contains("[warning] warnin...
C#
(16)) _MD5Transform(tls, (*[4]uint32)(unsafe.Pointer((*uint32)(unsafe.Pointer(&_ctx.Xbuf)))), (*[16]uint32)(unsafe.Pointer((*uint32)(unsafe.Pointer((*uint8)(unsafe.Pointer((*[64]uint8)(unsafe.Pointer(&_ctx.Xu))))))))) crt.Xmemset(tls, unsafe.Pointer((*[64]uint8)(unsafe.Pointer(&_ctx.Xu))), int32(0), uint64(56)) g...
Go
Document(2000) } } } @Test fun `author without root write permission cannot recover dataset on root`() { every { mockPrincipal.authorities } returns listOf(SimpleGrantedAuthority("author")) every { mockPrincipal.principal } returns "authorRootWrite" transactionTe...
Kotlin
path, Region.Op.XOR) } canvas.drawBitmap(bitmap, 0f, 0f, null) canvas.restore() } /** * 计算拖拽点对应的拖拽脚 * * @param x * @param y */ private fun calcCornerXY(x: Int, y: Int) { mCornerX = if (x <= mViewWidth / 2) 0 else mViewWidth mCornerY = if (y <...
Kotlin
: 4; vitality: 5; intelligence: 6; mind: 7; piety: 8; attackPower: 9; directHit: 10; criticalHit: 11; attackMagicPotency: 12; healMagicPotency: 13; determination: 14; skillSpeed: 15; spellSpeed: 16; tenacity: 18; }; // 0x14 type NetStartsUsingFields = Fields & { sourceId: 2; source: 3; ...
Typescript
Vec3, f32) specialize_implicit_impl!(Cuboid3, Pnt3, Vec3, f32) specialize_implicit_impl!(Capsule3, Pnt3, Vec3, f32) specialize_implicit_impl!(Cone3, Pnt3, Vec3, f32) specialize_implicit_impl!(Cylinder3, Pnt3, Vec3, f32) specialize_implicit_impl!(Segment3, Pnt3, Vec3, f32) specialize_implicit_impl!(Triangle3, Pnt3, Vec...
Rust
y = camera.position.y let z = camera.position.z if (x > 19 && x < 26 && z > 9 && z < 14 && gamePhase == 0) { voice1.getComponent(AudioSource).playOnce() gamePhase++ } if (x > 17 && x < 28 && z > 16 && z < 20 && gamePhase == 1) { tick = 1 gamePhase++...
Typescript
final matrixException = MatrixException( Response( '{"flows":[{"stages":["example.type.foo"]}],"params":{"example.type.baz":{"example_key":"foobar"}},"session":"xxxxxxyz","completed":["example.type.foo"]}', 401, ), ); expect(matrixException.errcode, 'M_FORBIDDEN');...
Dart
, 4, 8}, {495, "GL2A2", 2, 91, 4, 8}, {496, "GL2A3", 3, 91, 4, 8}, {497, "GL2C0", 0, 254, 4, 8}, {498, "GL2C1", 1, 254, 4, 8}, {499, "GL2C2", 2, 254, 4, 8}, {500, "GL2C3", 3, 254, 4, 8}, {501, "GL2C4", 4, 254, 4, 8}, {502, "GL2C5", 5, 254, 4, 8}, {...
C++
= adp5588_gpio_set_value; gc->can_sleep = true; gc->base = -1; gc->parent = &client->dev; if (pdata) { gc->base = pdata->gpio_start; gc->names = pdata->names; pullup_dis_mask = pdata->pullup_dis_mask; } gc->ngpio = ADP5588_MAXGPIO; gc->label = client->name; gc->owner = THIS_MODULE; mutex_init(&dev->l...
C
2, #0x1 movne r2, r2, lsl #0x10 movne r2, r2, lsr #0x10 moveq r2, #0x0 cmp r2, #0x1 movcs r2, #0x1 movcc r2, #0x0 cmp r2, #0x0 addeq sp, sp, #0x4 ldreq r0, _020B0C74 ; =0x0000FFFE ldmeqia sp!, {pc} ldr lr, [r0, #0x0] ldr r3, _020B0C78 ; =oamCache_ mov r2, #0x540 mla r12, lr, r2, r3 ldr r3, [r1, #0x0] ld...
Assembly
/*************************************************************************** * Copyright (C) 2009 by Borko Bošković * * borko.boskovic@gmail.com * * * * This pr...
C
rh r3, [r6, #6] add r0, r4, #0 ldrb r1, [r5, #1] lsl r3, r3, #0x1a ldrb r2, [r6, #1] add r0, #0x49 lsr r3, r3, #0x1d bl sub_0208B85C add r4, #0x48 strb r0, [r4] pop {r3, r4, r5, r6, r7, pc} thumb_func_end ov97_0221EDE4 thumb_func_start ov97_0221EE84 ov97_0221EE84: ; 0x0221EE84 push {r3, r4, r5, lr} mov r...
Assembly
/// # Arguments /// /// * `x` - x coordinate (from top left) /// * `y` - y coordinate (from top left) /// * `color` - color to set the pixel to /// /// # Returns /// /// A `Result`, either a `()` if everything went ok, or /// `PixelBufferError::RequestOutOfBounds` if the req...
Rust
0.0f, 0.0f, 0.0f); leftTensioner2.addBox(-0.5f, -0.5f, -1.0f, 1, 1, 2); leftTensionerRope.addChild(leftTensioner2); armMain.addChild(leftTensionerRope); rightTensionerRope = new ModelRenderer(this, "rightTensionerRope"); rightTensionerRope.setTextureOffset(114, 128); rightTensionerRope.setTextureSize(256, ...
Java
\ FT_FREE( clazz ); \ return error; \ } \ \ clazz->module_flags = flags_;...
C
==Ki.LoadState.FAILED&&z.priority!==-Number.MAX_VALUE&&s.insert(z),z.state===Ki.LoadState.LOADED&&(M=!0)}if(E<r||!M){F.children=void 0;return}l(F.children)||F.constructChildNodes(o);for(let B=0;B<8;B++){let z=F.children[B];T(z,_)}}s.reset(),T(e.rootNode,fs.MASK_INDETERMINATE);let C=e._highPriorityKeyframeNodes,A=0,S;fo...
JavaScript
return AppModelMapper.ensureInitialized().hashValue(this as AppModel); } } extension AppModelValueCopy<$R, $Out> on ObjectCopyWith<$R, AppModel, $Out> { AppModelCopyWith<$R, AppModel, $Out> get $asAppModel => $base.as((v, t, t2) => _AppModelCopyWithImpl(v, t, t2)); } abstract class AppModelCopyWith<$R,...
Dart
* mapping * ------- * * (c) 1995 SYnc/DramDealers * incdir "asm:Sources/" incdir "asm:.s/Mapping/" include "registers.i" include "mapping.i" OPT DEBUG OPT HCLN Entry_Point KILL_SYSTEM Main moveq #0,d0 rts Main lea _DataBase,a5 lea Dragon_Face,a0 bsr Draw_Mapped_Face rts * --> A0...
Assembly
/* s_copysignl.c -- long double version of s_copysign.c. * Conversion to long double by Ulrich Drepper, * Cygnus Support, drepper@cygnus.com. */ /* * ==================================================== * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. * * Developed at SunPro, a Sun Microsyste...
C
.org/2000/svg' viewBox='0 0 16 16' width='16' height='16'%3e%3cpath fill='none' stroke='%23182433' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8.5l2.5 2.5l5.5 -5.5'/%3e%3c/svg%3e")}.form-imagecheck{position:relative;margin:0;cursor:pointer}.form-imagecheck-input{position:absolute;z-index:-1;op...
CSS
caling message communication for Azure deployments) **More Information:** * ML.NET: https://dotnet.microsoft.com/apps/machinelearning-ai/ml-dotnet * Blazor: https://dotnet.microsoft.com/apps/aspnet/web-apps/blazor * Historical Baseball Statistics Database (used as the model training and inference data set): http://www...
Markdown
useEffect(() => { const jwt = localStorage.getItem(config.security.session.storageKey) if (jwt) { const { payload } = jsonwebtoken.decode(jwt) setSession(payload) } else { // eslint-disable-next-line no-console console.log("No JWT found in localStorage") } }, []) return (...
JavaScript
"""Tests for the L0NormMetric class.""" from syrupy.session import SnapshotSession import torch from sparse_autoencoder.metrics.train.abstract_train_metric import TrainMetricData from sparse_autoencoder.metrics.train.l0_norm_metric import TrainBatchLearnedActivationsL0 def test_l0_norm_metric() -> None: """Test ...
Python
5xoic4DSMPclQsciOzsSrZYuxsN2B6ogtzVJV+mSSeh2FnIxZyuWfoqj x5RWIr9qS34BIbIjMt/kmkRtWVtd9QCgHJvGeJeNkP+byKq0rxFROV7Z+2et1VsR nTKaG73VululycslaVNVJ1zgyjbLiGH7HrfQy+4W+9OmTN6SpdTi3/UGVN4unUu0 kzCqgc7dGtxRcw1PcOnlthYhGXmy5okLdWTK1au8CcEYof/UVKGFPP0UJAOyh9Ok twIDAQABo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0TAQH/BAUwAwEB/zAdBgNV HQ4...
Go
ight:700}.enlighter-t-bootstrap4 .enlighter-t0{color:#999}.enlighter-t-bootstrap4 .enlighter-t1{color:#d44950;font-weight:700}.enlighter-t-bootstrap4 .enlighter-t2{color:#d44950;font-weight:700}.enlighter-t-bootstrap4 .enlighter-t3{color:#0086b3}.enlighter-t-bootstrap4 .enlighter-t4{color:#0a8}.enlighter-t-bootstrap4 ....
CSS
A: 'a0', B: 'a1', C: 'a2', D: 'a3', E: 'a4', F: 'a5', G: 'a6', H: 'a7', I: 'a8', J: 'a9', K: 'b0', L: 'b1', M: 'b2', N: 'b3', O: 'b4', P: 'b5', Q: 'b6', R: 'b7', S: 'b8', T: 'b9', U: 'c0', V: 'c1', W: 'c2', X: 'c3', Y: 'c4', Z: 'c5' } export const codeToCharValues: ...
Typescript
#!/usr/bin/env python3 from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * from test_framework.script import * from test_framework.p2p import * from test_framework.qtum import * from test_framework.blocktools import * import time import io class QtumIdenticalRefunds(Bitcoi...
Python
类型级编程 Rust中的高级类型级编程: ```rust // 类型级自然数 trait Nat { const VALUE: usize; } struct Zero; impl Nat for Zero { const VALUE: usize = 0; } struct Succ<N: Nat>; impl<N: Nat> Nat for Succ<N> { const VALUE: usize = N::VALUE + 1; } // 类型级加法 trait Add<N: Nat>: Nat { type Result: Nat; } impl<N: Nat> Add<Zero> ...
Markdown
("UNUSED_VARIABLE") private var stroke: Stroke? = null @Suppress("UNUSED_VARIABLE") private var clip: Shape? = null private var alpha = 1.0f private var blendMode = DrawScope.DefaultBlendMode private var alphaStack = mutableListOf(1.0f) private var blendModeStack = mutableListOf(DrawScope.DefaultBle...
Kotlin
(e),'.(\48+)$')then e=u.COBdfb_V(e);end t=e;elseif(o==2)then t=z();end;r[n]=t;end;b[3]=s();for e=1,t()do h[e-(#{1})]=ee();end;for b=1,t()do local e=s();if(o(e,1,1)==0)then local h=o(e,2,3);local s=o(e,4,6);local e={l(),l(),nil,nil};if(h==0)then e[d]=l();e[f]=l();elseif(h==#{1})then e[d]=t();elseif(h==k[2])then e[d]=t()...
Lua
-1.313 7h-8.17zM6 14a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm7 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>'),gi=d("CartXFill",'<path d="M.5 1a.5.5 0 0 0 0 1h1.11l.401 1.607 1.498 7.985A.5.5 0 0 0 4 12h1a2 2 0 1 0 0 4 2 2 0 0 0 0-4h7a2 2 0 1 0 0 4 2 2 0 0 0 0-4h1a.5.5 0 0 0 .491-.408l1.5-8A.5.5 0 0 0 14.5 3H2.89l-.405-1.621A.5.5 0 0 0 2 1H....
JavaScript
if ((psSig->eSystemValueType == NAME_POSITION || psSig->semanticName == "POS") && psSig->ui32SemanticIndex == 0) bformata(glsl, "gl_out[gl_InvocationID].gl_Position = gl_in[gl_InvocationID].gl_Position;\n"); else bformata(glsl, "%s%s%d[gl_InvocationID] = %s%s%d[gl_InvocationID];...
C++