content
stringlengths
2
6.21k
label
stringclasses
16 values
= false; this.darkToolStrip1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(63)))), ((int)(((byte)(65))))); this.darkToolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom; this.darkToolStrip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(...
C#
ramp.png" /></p> <p>Mit dem <img src="../../../../images/mIconColorBox.png" /> <em>Farbverlauf</em> oder mit dem <img src="../../../../images/mIconColorWheel.png" /> <em>Farbkreis</em> können Sie alle möglichen Farbkombinationen suchen. Dennoch gibt es auch noch andere Möglichkeiten. Indem Sie Farbproben <img src="../....
HTML
ght:38px;height:40px;} .nav-sub.nav-big a{line-height:30px;} } .nav-tabs .nav-head{line-height:30px;padding:0 20px;} .nav-tabs a{display:block;border-radius:4px;padding:5px 20px;margin-bottom:2px;} /*.nav-tabs .active a{border:solid 1px #ddd;padding-top:4px;padding-bottom:4px;}*/ .nav-tabs .active a{border:solid 1px #d...
CSS
Vx7XOWX0LXg4QiaNmSq8ZWWL5NveyrHpaHw/640?wx_fmt=png) 对比下结果,发现,加密是由**装配**位置中的一堆乱码数据转变而来,这堆乱码数据我们暂且称之为:**unicode** 编码 ![](https://mmbiz.qpic.cn/mmbiz_png/7QYmakzsJiaFttGTQpdBNLnFaBH1Ulsy1tkmN3394vF0fuxeaHvUYOcfXZGia0KA3GUFWfDnJBV1f7Yns56icSESg/640?wx_fmt=png) 这些 **unicode** 编码数据长度固定,我们可以利用此项规律创建条件断点,来分析**出货**加密前的临界操作 ...
Markdown
_MEMBER_TRAIT) }; template <typename T> struct static_proxy { #if defined(ASIO_HAS_DEDUCED_QUERY_STATIC_CONSTEXPR_MEMBER_TRAIT) struct type { template <typename P> static constexpr auto query(P&& p) noexcept( noexcept( conditional_t<true, T, P>::query(static_ca...
C++
sphere.transform = translation(-0.5, 1.0, 0.5); let mut material = Material::new(); material.normal_perturb = Some(String::from("perlin")); material.normal_perturb_factor = Some(0.2); material.normal_perturb_perlin = Some(CmpPerlin {perlin: Perlin::new()}); let pattern_a = RingPattern::new(Color::fr...
Rust
transparent; box-shadow: none; cursor: auto; } /*--------------------------------- 125. SWITCH OPTION LIST ---------------------------------*/ .switch-option-list .switch-option { margin-bottom: 26px; } .switch-option-list .switch-option:last-child { margin-bottom: 0; } /*-------------------------------...
CSS
ums"; export class IdColorPicker extends Control { private canvasHSL: HTMLCanvasElement; private canvasHue: HTMLCanvasElement; private ctxHSL: CanvasRenderingContext2D; private ctxHue: CanvasRenderingContext2D; private currentColorElem: HTMLElement; private hoverColorElem: HTMLElement; private recentBut...
Typescript
5);e+='<polygon points="'+f+i+o+'" style="stroke:none" transform="rotate('+r.angle+","+n+')"/>\n'}}return e};var Y=v(e),ee=new M,te=new k;j(Y,ee),S(Y,ee,te);var re='<svg class="diagram" xmlns="http://www.w3.org/2000/svg" version="1.1" height="'+(Y.height+1)*A*I+'" width="'+(Y.width+1)*A+'"';if("floatleft"===t?re+=' st...
JavaScript
rror{static async create(e){try{const t=await e.json();const{message:n,traceback:s}=t;if(s){console.error(s)}return new i(e,n!==null&&n!==void 0?n:i._defaultMessage(e),s!==null&&s!==void 0?s:"")}catch(t){console.debug(t);return new i(e)}}constructor(e,t=i._defaultMessage(e),n=""){super(t);this.response=e;this.traceback...
JavaScript
ributeType): Float = entity.attributes.getValue(type).toFloat() } /* * This file is part of the Krypton project, licensed under the Apache License v2.0 * * Copyright (C) 2021-2023 KryptonMC and the contributors of the Krypton project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no...
Kotlin
from pathlib import Path import os from dotenv import load_dotenv from dataclasses import dataclass from typing import Optional # Load environment variables from a .env file load_dotenv() @dataclass class DatabaseConfig: account: str user: str password: str database: str schema: str warehouse:...
Python
/****************************************************************************** * Copyright (C) 2014 Hisilicon STB Development Dept * All rights reserved. * *** * Create by Czyong * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
C
, 0); REG out = (REG)PIN_GetSyscallNumber(args.ctxt, args.std); VirtTime(args.tid, &out, arg0); PIN_SetSyscallNumber(args.ctxt, args.std, (ADDRINT) out); // hack, we have no way of setting the result, this changes rax just as well return PPA_NOTHING; }; } PostPatchFn PatchClockGett...
C++
ready( path = path, size = size) reference.update() } val onDownloadFailed: (IOException) -> Unit = { error -> ongoingDownloads.remove(referenceId) reference.failed(error) reference.update() ...
Kotlin
@3"></script> <script src="https://cdn.jsdelivr.net/npm/d3-interpolate@3"></script> <script src="https://cdn.jsdelivr.net/npm/d3-scale-chromatic@3"></script> <script> let containerDiv = document.getElementById('viz-container') const map = new gridviz.Map(containerDiv, { ...
HTML
7532c7,#32c7c2); background: linear-gradient(#7532c7,#32c7c2); background: #606CB6 url("../img/1.png") no-repeat right -300px; background-size: cover; } .section { padding: 75px 0 95px 0; margin: 0; } .section.gray { background: #f2f1f0; } .section h2.main { margin: 0 0 25px 0; } ...
CSS
ayed nor will this Date/Time: - now = DateTime.now %strong= now - if now > DateTime.parse("December 31, 2006") = "Happy new " + "year!" %title = @title \= @title <h1>Title</h1> <h1 title="HELLO"> Title </h1> </textarea></form> <script> var editor = CodeMirror.fromTextArea(...
HTML
us = await Geolocator().checkGeolocationPermissionStatus(); if (GeolocationStatus.granted == geolocationStatus) { try { final position = await Geolocator().getCurrentPosition(); final oldCurrentPosition = appState['currentPosition']; appState['currentPosition'] = [position.lati...
Dart
map is {@code neoforge/data_maps/entity_type/acceptable_villager_distances.json}, and the values are objects with 1 field: * <ul> * <li>{@code distance}, a float - the acceptable distance between the hostile mob and a villager</li> * </ul> * * The use of a float as the value is also possible, ...
Java
from typing import TYPE_CHECKING, Any, Literal from .background_type import BackgroundType class BackgroundTypeChatTheme(BackgroundType): """ The background is taken directly from a built-in chat theme. Source: https://core.telegram.org/bots/api#backgroundtypechattheme """ type: Literal["chat_t...
Python
winWidth / 2, 0); b2Body* ground = NULL; { b2BodyDef bd; ground = world->CreateBody(&bd); b2EdgeShape shape; shape.Set(b2Vec2(-40.0f, 0.0f), b2Vec2(40.0f, 0.0f)); ground->CreateFixture(&shape, 0.0f); } { b2PolygonShape shape; shape.SetAsBox(0.5f, 0.5f); b2BodyDef bd; bd.type = b2_...
C++
)) { if (rulesBuilder_.isEmpty()) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; bitField0_ = (bitField0_ & ~0x00000001); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ...
Java
Go to the previous page</td> </tr> <tr class="odd"> <td align="left">Page Down</td> <td align="left">Go to the next page</td> </tr> <tr class="even"> <td align="left"><p>Space, j</p> <p>Shift Backspace</p> <p>Return</p></td> <td align="left">Scroll forward</td> </tr> <tr class="odd"> <td align="left">Shift Space, k Bac...
HTML
dth); densityPoints.add(DensityPoint(point[1], point[2], density)); } return densityPoints; } import 'package:bot_toast/bot_toast.dart'; import 'package:flutter/gestures.dart'; import 'package:flutter/material.dart'; import 'package:flutter_smart_genome/chart/base/interactive_viewport.dart'; import 'package:fl...
Dart
( self, processor: SubclassProcessor = None ) -> "DXFNamespace": dxf = super().load_dxf_attribs(processor) if processor: processor.fast_load_dxfattribs( dxf, acdb_underlay_def_group_codes, subclass=1 ) return dxf def export_entity(self, ta...
Python
دين بربروس</a> من تطوير <a href="//ar.wikipedia.org/wiki/%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:%D8%A3%D8%B3%D8%A7%D9%85%D8%A9%D8%A7%D9%84%D9%81%D8%A7%D8%B1%D9%88%D8%B3%D9%8A" title="مستخدم:أسامةالفاروسي">الزميل&nbsp;أسامةالفاروسي</a> تخضع لمراجعة الزملاء لنيل وسم مقالة مختارة <a href="//ar.wikipedia.org/wiki/%D9%88%D9%8...
HTML
} } NoteDBISAR noteDB = NoteDBISAR.noteDBFromQuoteReposts(Nip18.decodeQuoteReposts(event)); noteDB.groupId = groupId; await Moment.sharedInstance.saveNoteToDB(noteDB, null); note.quoteRepostEventIds ??= []; note.quoteRepostEventIds!.add(event.id); note.quoteRepostCount++; note.qu...
Dart
of Physical Damage as Extra Fire Damage", }, ["sortedStats"] = { [1] = "physical_damage_%_to_add_as_fire", }, ["stats"] = { ["physical_damage_%_to_add_as_fire"] = { ["max"] = 5, ["fmt"] = "d", ["index"] = 1, ["min"] = 5, ["statOrder"] = 1789, }, }, }, ...
Lua
se. */ @Test public void mono13() { // coincident vertices Vector2[] cloud = new Vector2[] { new Vector2(-0.9025337983824699, 4.56709308364953), new Vector2(-5.5168621708920345, 0.34366552069341916), new Vector2(-2.400927400987851, 3.19563523962121), new Vector2(-9.419896312210547, 3.19563523962121)...
Java
namespace Abp.Specifications { /// <summary> /// Represents the base class for composite specifications. /// </summary> /// <typeparam name="T">The type of the object to which the specification is applied.</typeparam> public abstract class CompositeSpecification<T> : Specification<T>, ICompositeSpe...
C#
CityStart = DisableSounds OnMsg.LoadGame = DisableSounds -- Disable voiced text local complete = T(7058, "Research complete") local ChoOrig_Voice_Play = Voice.Play function Voice:Play(text, ...) if mod_ResearchComplete and text == complete then return end return ChoOrig_Voice_Play(self, text, ...) end --~ -- Dat...
Lua
iv role=tabpanel class="tab-pane col-sm-12" id=-7181356753793785177bottom--7181356753793785177characters><div class=col-sm-12><div class="row spacing"><ul class="nav nav-tabs" role=tablist><li role=presentation class=active><a href=#-7181356753793785177unicode--7181356753793785177characters aria-controls=-7181356753793...
HTML
00E7\u00E3o de Seguran\u00E7a: fd.write"}, {"appletsecurityexception.checklisten", "Exce\u00E7\u00E3o de Seguran\u00E7a: socket.listen: {0}"}, {"appletsecurityexception.checkaccept", "Exce\u00E7\u00E3o de Seguran\u00E7a: socket.accept: {0}:{1}"}, {"appletsecurityexception.checkconnec...
Java
board[20-nr][0] = 'A'; control = 1; } else { board[i][j] = ' '; board[20-nr][0] = 'E'; control = 1; } } } } } } /* reload temp */ ...
C++
1, 2, 1 );", // x direction kernel " const mat3 Gy = mat3( -1, 0, 1, -2, 0, 2, -1, 0, 1 );", // y direction kernel // fetch the 3x3 neighbourhood of a fragment // first column " float tx0y0 = texture2D( tDiffuse, vUv + texel * vec2( -1, -1 ) ).r;", " float tx0y1 = texture2D( tDiffuse, vUv + texel * vec2( ...
JavaScript
透测试高级讲师Moses Frost强调:"必须严肃对待此漏洞。根据我的网络评估经验,许多核心网络设备缺乏必要的补丁和安全加固措施。我曾发现思科ISE部署中存在普通用户可自由访问所有端口(包括管理页面)的情况。攻击者很可能已获得网络内部的横向移动能力。尽管这不符合思科的最佳实践,但许多生产环境确实开放了这些API接口。如果您的系统正在运行ISE,请立即打补丁。" **Part01** ### 风险等级评估 思科ISE通常用作无线认证系统,Frost指出这类系统往往包含访客网络门户,并可能作为高信任度系统与微软Active Directory集成。它还被用于路由器、交换机、防火墙等网络设备管理层的访...
Markdown
xc3, 0x56, 0x41, 0xac, 0x53, 0x9b, 0x6c, 0x05, 0xb2, 0x9a, 0xe2, 0xe0, 0x59, 0x57, 0x30, 0x32, 0xb6, 0x26, 0x4e, 0x13, 0x25, 0xcd, 0xfa, 0x48, 0x70, 0x0f, 0x75, 0x55, 0x60, 0x11, 0xf5, 0x3b, 0xd5, 0x5e, 0x5a, 0x3c, 0x8b, 0x5b, 0x0f, 0x0f, 0x62, 0x42, 0x48, 0x61, 0x85, 0x8b, 0x10, 0xf4, 0xc1, 0x88, 0xbf, 0x7f, 0x5f,...
Go
using System.Collections.Generic; using System.Data.Common; using NUnit.Framework; namespace NHibernate.Test.NHSpecificTest.NH1405 { [TestFixture] public class Fixture : BugTestCase { [Test] public void Bug() { string[] populate = new string[] { "insert into PPDM_COLUMN ( SYSTEM_ID, TABLE_NAM...
C#
std::nullopt, std::nullopt)}; return kPortQueue; } const PortQueue& getTH3DefaultMCPortQueueSettings() { static const auto asic = makeAsic<Tomahawk3Asic>(); static const PortQueue kPortQueue{getPortQueueFields( kDefaultPortQueueId, kDefaultPortQueueScheduling, cfg::StreamType::MULTI...
C++
�린 전사", [7328] = "썩어버린 도끼전투병", [7329] = "썩어버린 가시경비병", [7332] = "썩어버린 가시근위병", [7333] = "썩어버린 전투멧돼지", [7334] = "공포의 전투멧돼지", [7335] = "죽음의 머리교 흙점쟁이", [7337] = "죽음의 머리교 강령술사", [7340] = "해골 흑마술사", [7341] = "해골 냉기술사", [7342] = "해골 소환사", [7343] = "가시해골 병사", [7344] = "가시해골 전사", [7345] = "가시해골 대장", [...
Lua
S: baseTarget.OS, Arch: baseTarget.Arch, Distro: &files.OSDistro{Name: "B", Version: "2"}, }), false) }) }) when("missing distro information", func() { it("errors", func() { h.AssertEq(t, platform.TargetSatisfiedForRebase(baseTarget, files.TargetMetadat...
Go
neVarUtil.fillVariableMap(variables).toMutableMap() analysisTriggerContainer( projectId = projectId, pipelineId = pipelineId, pipelineName = model.name, container = container, variables = variables, ...
Kotlin
:8675, 10.10.2.2:8675 ],\n\tb: [ 10.10.1.1:309, 10.10.2.2:309 ]", Type: []string{"object"}, Properties: map[string]spec.Schema{ "addresses": { VendorExtensible: spec.VendorExtensible{ Extensions: spec.Extensions{ "x-kubernetes-list-type": "atomic", }, }, Schem...
Go
ames to not crash...) | (usernames to crash...)>"; } var res = MultiUserCommandHelper(args); StringBuilder sb = new StringBuilder(); sb.Append(res.toActUpon.Count > 0 ? "Crashed: " + string.Join(", ", res.toActUpon.Select(x => $"\"{x.Name}\"")) : ""); sb.Append(res.failToFind.Count > 0 ? "\nFailed...
C#
BR> </FONT>due to the weird way the Intel processors store data in memory - the LSB (Low Significant Byte) in the lower addres, the MSB (Most Significant Byte) in the higher. <BR> Now we can crack: Open the Mvpbr.exe in your HexEditor, go to the offset <FONT COLOR="#993366">000012A9h</FONT> (you've seen it on the ...
HTML
1', 'ai監控', 'ai監控'}, {'49732', 'ai监控', 'ai监控'}, {'49733', '細菌部隊', '細菌部隊'}, {'49734', '細菌戰', '細菌戰'}, {'49735', '燼滅作戰', '燼滅作戰'}, {'49736', '细菌部队', '细菌部队'}, {'49737', '细菌战', '细菌战'}, {'49738', '烬灭作战', '烬灭作战'}, {'49739', '三光政筴|鬼子進邨|燒光s*pP*s*殺光s*pP*s*搶光|燼滅作戰', '三光政筴|鬼子進邨|燒光s*pP*s*殺光s*pP*s*搶光|燼滅作戰'}, {'49740', '三光政策|鬼子进村|烧光s*...
Lua
calcBrightness(color) { const rgb = chroma(color).rgb(); const c = `rgb(${rgb[0]},${rgb[1]},${rgb[2]})`; const brightness = Math.round(((parseInt(rgb[0]) * 299) + (parseInt(rgb[1]) * 587) + (parseInt(rgb[2]) * 114)) / 1000); // console.log(`brightne${brightness}`); // alert(brightness...
JavaScript
14 801851D4 30780002 */ andi $t8, $v1, 2 /* 0E5C18 801851D8 13000005 */ beqz $t8, .L801851F0_ovl3 /* 0E5C1C 801851DC 00000000 */ nop /* 0E5C20 801851E0 0C029D9E */ jal play_sound /* 0E5C24 801851E4 2404010C */ li $a0, 268 /* 0E5C28 801851E8 1000000B */ b .L80185218_ovl3 /* 0E5C2C 801851EC 8FBF001...
Assembly
glabel D_80AC2930 .word 0x3ECCCCCD glabel D_80AC2934 .word 0x3D99999A glabel D_80AC2938 .word 0x3FE66666 glabel D_80AC293C .word 0x3F4CCCCD glabel D_80AC2940 .word 0x3FA66666 glabel D_80AC2944 .word 0x3D4CCCCD glabel D_80AC2948 .word 0x3D086595 glabel D_80AC294C .word 0x3EAA7EFA glabel D_80AC2950 .word 0x3EB3...
Assembly
3 == L0_3 then L1_3 = A4_2 if nil ~= L1_3 then L1_3 = A4_2 L1_3() end end end L9_2 = L6_2 return L7_2(L8_2, L9_2) end _ENV["CB78491A17D6C532A"]["prototype"]["FF69A9D31D4A1049E"] = function(A0_2, A1_2, A2_2) local L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12...
Lua
-- See LICENSE for terms local PlaceObj = PlaceObj local T = T local table = table local mod_options = { PlaceObj("ModItemOptionToggle", { "name", "EnableMod", "DisplayName", T(302535920011303, "<color ChoGGi_yellow>Enable Mod</color>"), "Help", T(302535920011793, "Disable mod without having to see missing mod...
Lua
} impl<'a, C, A> MethodsBuilder for TripMethods<'a, C, A> {} impl<'a, C, A> TripMethods<'a, C, A> { /// Create a builder to help you perform the following task: /// /// Returns a list of flights. /// /// # Arguments /// /// * `request` - No description provided. pub fn search(&s...
Rust
Todo)|BEAR Sunday Todo sample application|| |5|[@polidog](https://github.com/polidog)/[**symfony_sample_todo**](https://github.com/polidog/symfony_sample_todo)|Symfony2のTodoサンプル|| |5|[@predominant](https://github.com/predominant)/[**GA-PI-Google-Analytics-PHP-Interface**](https://github.com/predominant/GA-PI-Google-Ana...
Markdown
.list-group-item-action.active { color: #fff; background-color: #1b1e21; border-color: #1b1e21 } .dataList .table-wrapper{ overflow-x: auto; width: 100%; min-height: 300px; padding-bottom: 50px; } .dataList table { margin:0px 0 !important; -moz-border-radiusx:12px; -webkit-borde...
CSS
if (field.type == org.apache.thrift.protocol.TType.STRING) { this.userId = iprot.readString(); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type); } break; case 4: // POOL_INFO if (field.type == org.apache.thrift.pro...
Java
xFF202124); } const List<FlutterHashtag> kFlutterHashtags = const <FlutterHashtag>[ FlutterHashtag('#FlutterLive', FlutterColors.yellow, 100, false), FlutterHashtag('#FlutterSpiration', FlutterColors.gray600, 24, false), FlutterHashtag('#FlutterSpirit', FlutterColors.blue600, 12, true), FlutterHashtag('#Flutte...
Dart
ineering/models/stream_info_provider.dart'; import '../../reverse_engineering/pages/watch_page.dart'; import '../../reverse_engineering/youtube_http_client.dart'; import '../video_id.dart'; import '../youtube_api_client.dart'; import 'stream_controller.dart'; import 'streams.dart'; /// Queries related to media streams...
Dart
Terrain", program); program.params["color"] = new ShaderAttribute("color_VertexTerrain", program); } startRender(program: ShaderProgram, camera: Camera){ //console.log("starting Shader " + this.name); //TODO: on va aller chercher les informations d'affichage de la camera pour conn...
Typescript
tart.getName(), test.start.getZipcode(), "" + test.end.getNum(), test.end.getName(), test.end.getZipcode()); } private void runProgString_directions(String useful_name) { String actual = callString6(); String expected = "Start at " + test.start + "\n"; for (int i=0; i<tes...
Java
) then square.in_use = 1 end end StreamOverlay:UpdateSquares() else for index = 1, #StreamOverlay.battle_lines do local line = StreamOverlay.battle_lines [index] if (line) then line.in_use = 1 end end StreamOverlay:UpdateLines() end end function StreamOverlay:UpdateCool...
Lua
AY", "SomeArray":["foo", 1], "SomeObject":{ "anotherObject":{ "SomeArray":[ {"bar":2}, {"false":false, "true":true} ], "SomeString":false, "moreStuff":{"EmptyString":""} }, "foo":2 }, "EmptyArray":[123, 345, "789"] }` js, err := json.Marshal(tree.self) assert.Nil(err) ass...
Go
ened too soon!"; case rpcn::ErrorType::LoginError: return "Unknown login error!"; case rpcn::ErrorType::LoginAlreadyLoggedIn: return "User is already logged in!"; case rpcn::ErrorType::LoginInvalidUsername: return "Login error: invalid username!"; case rpcn::ErrorType::LoginInvalidPassword: return "Login error:...
C++
2 brb 13e6b <malloc_init+0x1f> 13e99: 01 nop 00013e9a <malloc>: 13e9a: c0 00 .word 0x00c0 # Entry mask: < r7 r6 > 13e9c: c2 04 5e subl2 $0x4,sp 13e9f: fb 00 ef dc calls $0x0,12782 <___errno> 13ea3: e8 ff ff 13ea6: d0 60 57 movl (r0),r7 13ea9: d5 ef 35 53 tstl 691...
Assembly
$pb.TagNumber(121) void clearProto3OptionalSint64() => clearField(121); @$pb.TagNumber(122) $core.int get proto3OptionalFixed32 => $_getIZ(58); @$pb.TagNumber(122) set proto3OptionalFixed32($core.int v) { $_setUnsignedInt32(58, v); } @$pb.TagNumber(122) $core.bool hasProto3OptionalFixed32() => $_h...
Dart
/* This header file is part of the ATMEL AVR-UC3-SoftwareFramework-1.7.0 Release */ /*This file is prepared for Doxygen automatic documentation generation.*/ /*! \file ********************************************************************* * * \brief NEWLIB_ADDONS interrupts include file for AVR32. * * - Compiler: ...
C
ator()->SetArrivalDistance( pTask->flTaskData ); break; } case TASK_RUN_PATH_FLEE: { Vector vecDiff; vecDiff = GetLocalOrigin() - GetNavigator()->GetGoalPos(); if( vecDiff.Length() <= pTask->flTaskData ) { GetNavigator()->StopMoving(); TaskFail("Flee path shorter than task parameter"); }...
C++
SHORT_MACRO $label PointiMsXn ; Invert, DX<0, so R2,R6 not implicitly shifted $label TSTS R4,R6 EORNE R0,R0,R2 MEND SHORT_MACRO $label PointiMsXp ; Invert, DX>=0, so R2,R6 implicitly shifted $label TSTS R4,R6,ROR#31 EORNE R0,R0,R2,ROR#31 MEND SHORT_MACRO ...
Assembly
alue that the scale can get * */ public static final int MAX_SCALE = 10; //private static final Logger logger = LoggerFactory.getLogger(SequenceDisplay.class); List<AlignedPosition> apos; float scale; SequenceMouseListener mouseListener1; SequenceMouseListener mouseListener2; JLabel label1...
Java
context.Context) { if err := chuo.Exec(ctx); err != nil { panic(err) } } func (chuo *ChatHistoriesUpdateOne) sqlSave(ctx context.Context) (_node *ChatHistories, err error) { _spec := sqlgraph.NewUpdateSpec(chathistories.Table, chathistories.Columns, sqlgraph.NewFieldSpec(chathistories.FieldID, field.TypeUUID)) i...
Go
brackets[1][1] .. " " .. brackets[1][2], brackets[2][1] .. " " .. brackets[2][2], brackets[3][1] .. " " .. brackets[3][2], }, context) end ), -- Javascript arrow key Rule("%(.*%)%s*%=>$", " { }", { "typescript", "typescr...
Lua
{ name:string, age:number } type de=string|number let info:keyof Info info="name" info="age"*/ /* type nameType=Info['name'] let aa:nameType="bhf" */ // info="sex" // globalThis.console.info(info) // 泛型 检查使用动态属性名的代码 /*function getValue<T,K extends keyof T>(obj:T,names:K[]) :T[K][]{ return names.map((n)=>...
Typescript
-gradient(#fff, #000); width: 344px; } .CloseupSignupModal .csLeftContent.right { float: right; height: auto; margin-bottom: 5%; margin-right: 20px; margin-top: 7%; } .CloseupSignupModal .csLeftContent.interestType .csContent, .CloseupSignupModal .csLeftContent.interestType .csItem, .C...
CSS
ole.log(rSome); // 7) Sumen todos los valores const arregloNumeroReduce=[1,2,3,4,5,6]; const valorDondeEmpiezacalculo=0; const auxiliar=0; // <4 // 10% + 5 // >= 4 // 15% + 3 const rReduce=arregloNumeroReduce .reduce( (acumulado,valorActual)=> { if(valorActual<4){ return acumulado + val...
Typescript
ve: false }; try { return await updateOne(db,COLLECTIONS.SALES,filterPostObjectId, objectUpdate) .then( result => { // También hay result.n que nos dice el número de elementos que nos devolvió if (result.result.nModified === 1) { r...
Typescript
ệnh gọi lại làm đối số đầu tiên trả về JSX. Lệnh gọi lại này sẽ được thực thi trong ngữ cảnh của [`ExtensionPage`](https://api.docs.flarum.org/js/master/class/src/admin/components/extensionpage.js~extensionpage) và các giá trị cài đặt sẽ không được tự động tuần tự hóa. ```js app.initializers.add('interstellar', funct...
Markdown
_EQ_C_FREQUENCY: FMOD_DSP_MULTIBAND_EQ = 9; pub const FMOD_DSP_MULTIBAND_EQ_C_Q: FMOD_DSP_MULTIBAND_EQ = 10; pub const FMOD_DSP_MULTIBAND_EQ_C_GAIN: FMOD_DSP_MULTIBAND_EQ = 11; pub const FMOD_DSP_MULTIBAND_EQ_D_FILTER: FMOD_DSP_MULTIBAND_EQ = 12; pub const FMOD_DSP_MULTIBAND_EQ_D_FREQUENCY: FMOD_DSP_MULTIBAND_EQ = 13; ...
Rust
ix([spectrum_1, spectrum_2], [spectrum_2], is_symmetric=True) def test_cosine_greedy_matrix_none_matching(): builder = SpectrumBuilder() spectrum_1 = builder.with_mz(np.array([100, 200, 300], dtype="float")).with_intensities( np.array([0.1, 0.2, 1.0], dtype="float")).build() spectrum_2 = builder.w...
Python
Y_ERROR ); } } snd_seq_event_t ev; snd_seq_ev_clear(&ev); snd_seq_ev_set_source(&ev, data->vport); snd_seq_ev_set_subs(&ev); snd_seq_ev_set_direct(&ev); for ( unsigned int i=0; i<nBytes; ++i ) data->buffer[i] = message->at(i); result = snd_midi_event_encode( data->coder, data->buffer, (long)nBytes,...
C++
display:block;background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white3.png);background-position:right;background-repeat:no-repeat;-webkit-background-size:120px 14px;background-size:120px 14px}.hdpi.pac-logo:after{background-image:url(https://maps.gstatic.com/mapfiles/api-3/images/...
HTML
</script> </div> <!-- /content --> <footer class="footer"> <div class="nav-footer"> <div class="nav-footer-left"> <p>© 2024 Silvia Canelón ∙ Made with <a href="https://quarto.org">Quarto</a></p> </div> <div class="nav-footer-center"> <p><a class="link-dark me-1" href="../../accessibility.html" title="Acces...
HTML
write(BufWriter::new(File::create(&path)?), classes)?; path.pop(); path.push("livesplit_core.py"); python::write(BufWriter::new(File::create(&path)?), classes)?; path.pop(); path.push("swift"); create_dir_all(&path)?; swift::write(&path, classes)?; path.pop(); Ok(()) } use std; p...
Rust
using System.Diagnostics; using System.Globalization; using Octokit.Internal; namespace Octokit { /// <summary> /// Lists all the feeds available to the authenticating user: /// </summary> [DebuggerDisplay("{DebuggerDisplay,nq}")] public class Feed { public Feed() { } public F...
C#
}NET_DVR_KEYBOARD_PARAM, *LPNET_DVR_KEYBOARD_PARAM; typedef struct tagNET_DVR_PPT_PARAM { BYTE byPPTAction; //PPT1-򿪷ӳ2-ֹͣӳ3-һ4-һ //5-һҳ6-һҳ7-Xҳ8-ʿ9-ʹأ10-ƶ BYTE byRes1[3]; NET_DVR_SCREEN_POINT struPoint; //ϢPPTΪ10ʱЧ DWORD dwPPTNo; //P...
C
dth="130" class="tdys1"><div align="right" style="color:#555555">状态</div></td> <td class="tdys1"><div align="left"><?=$flowinfor['nstatustext']?></div></td> </tr> <tr height="40"> <td class="tdys1"><div align="right" style="color:#555555">处理流程</div></td> <td class="tdys1"><div align="left" style="padd...
HTML
nventoryMenu.SetEditItemScreen() } } gameStateManager.UpdateLastTimeChangeState(windowHandler) } } if gameStateManager.CanUpdateGameState(windowHandler) { inventoryMenu.HandleSwitchMenuOption(windowHandler) gameStateManager.UpdateLastTimeChangeState(windowHandler) } timeElapsedSeconds := windowHan...
Go
iterator win_it = win_vec.begin(); vector<GHOST_IWindow *>::const_iterator win_end = win_vec.end(); for (; win_it != win_end; ++win_it) { GHOST_WindowX11 *window = static_cast<GHOST_WindowX11 *>(*win_it); if (window->getXWindow() == xwind) { return window; } } return NULL; } static void SleepTillEvent...
C++
ion Processing Letters. Vol. 3, pp. 121-125. <p class="infolinks"> [<a href="javascript:toggleInfo('Skyum1991IPL','bibtex')">BibTeX</a>] [<a href="http://www.ist-palcom.org/publications/PB/314/PB-314.pdf" target="_blank">URL</a>]</p> </td> </tr> <tr id="bib_Skyum1991IPL" class="bibtex noshow"> <td><b>BibTeX</b>: <pr...
HTML
'pop': 218, 'state': 'MN' }, { '_id': '55607', 'city': 'ISABELLA', 'loc': [-91.51732699999999, 47.626719], 'pop': 402, 'state': 'MN' }, { '_id': '55612', 'city': 'LUTSEN', 'loc': [-90.638059, 47.683066], 'pop': 381, 'state': 'MN' }, { '_id': '55613', 'c...
Dart
spawn.randomMob(x + -925, -350, 0); spawn.randomMob(x + 75, -1750, 0); spawn.randomMob(x + 1000, -375, 0); //spawn.randomHigherTierMob(x + 89, -632) } stationCustom = () => { } ...
JavaScript
Error::from(DatabaseIntegrityError::MissingKDBGroupId))?; gid_map.insert(group_id, group_path.clone()); group = Default::default(); gid = None; num_groups += 1; } _ => { return Err(DatabaseIntegrityError::InvalidKDB...
Rust
_tpl_list a:hover *,.cke_skin_v2 .cke_tpl_list a:focus *{cursor:pointer;}.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:active,.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:hover,.cke_skin_v2 .cke_browser_ie6 .cke_tpl_list a:focus{background-position:0 0;}.cke_skin_v2 .cke_tpl_list a:active .cke_tpl_item,.cke_skin_v2 .c...
CSS
-- chunkname: @scripts/menu/menu_pages/outfit_drop_down_list_menu_page.lua require("scripts/menu/menu_containers/drop_down_list_menu_container") OutfitDropDownListMenuPage = class(OutfitDropDownListMenuPage, DropDownListMenuPage) function OutfitDropDownListMenuPage:init(config, item_groups, world) OutfitDropDownLi...
Lua
ette:--palette4}.theme-9 .header{font-palette:--palette6}.theme-1 .custom-ayah-icon-color{font-palette:--AyahIconGoldTheme!important}.mocha-night-font-color{font-palette:--MochaNightFontColor!important}.dark-luxury-font-color{font-palette:--DarkLuxuryFontColor!important}.theme-5 .colored-bismillah,.theme-9 .colored-bis...
CSS
quote> <blockquote><table class='box'><tr><td><pre> <span class=com># return all groups (ie. qw{EXIF IFD0 Author Main})</span> @groups = $exifTool-&gt;<b>GetGroup</b>($tag); </pre></td></tr></table></blockquote> <blockquote><table class='box'><tr><td><pre> <span class=com># return groups as a string (ie. 'Main:IFD0:A...
HTML
+0:v_gld_a+0+1] v_xor_b32 v[v_sld_b_os], 8192, v[v_sld_b_os] ; switch double buffer b load v_xor_b32 v[v_sld_a_os], 8192, v[v_sld_a_os] ; switch double buffer a load s_sub_i32 s[s_kitr], s[s_kitr], 32 s_cmp_gt_i32 s[s_kitr], 0 s_cbranch_scc0 L_igemm_wrw_gtcx_nchw_fp16_bx4_ex0_bt32x64x32_wt8x32...
Assembly
rt != null: return forImport();case _MigrateData() when forMigration != null: return forMigration();case _: return null; } } } /// @nodoc class _ImportRawData implements ImportSpec { const _ImportRawData(); @override bool operator ==(Object other) { return identical(this, other) || (other.runtimeTyp...
Dart
of the client in PEM format.</p> </li> <li><p><code>passphrase</code>: A string of passphrase for the private key or pfx.</p> </li> <li><p><code>cert</code>: A string or <code>Buffer</code> containing the certificate key of the client in PEM format.</p> </li> <li><p><code>ca</code>: An array of strings or <code>Buffer...
HTML
\n seasonal_pattern = np.zeros(effective_season_length, dtype=float)\\n\\n if seasonal_data_len_for_avg > 0:\\n seasonal_avg_data = historical_data[-seasonal_data_len_for_avg:]\\n # Pad with NaNs for robust median calculation across cycles. Padding at the beginning.\\n # This ensures that np....
HTML
ck', function() { fired += 1; }, null, null, 1 ); // High priority to overtake widget's default double click handler. editor.fire( 'doubleclick', { element: widget1.editables.foo } ); assert.areSame( 0, fired, 'widget#doubleclick was not fired when nested editable was clicked' ); editor.fire(...
JavaScript