content
stringlengths
2
6.21k
label
stringclasses
16 values
using OpenKh.Tools.Kh2MsetMotionEditor.Models.Presets; using System.IO; using System.Xml.Serialization; namespace OpenKh.Tools.Kh2MsetMotionEditor.Usecases { public class LoadXmlUsecase { private readonly GenerateXsdUsecase _generateXsdUsecase; public LoadXmlUsecase( GenerateXsdUse...
C#
}.msame_Drop_topb{border-top:1px solid #e6e6e6}.msame_Mobile .msame_Drop_topb{width:100%!important}.msame_Drop_active{padding-bottom:8px}.msame_Drop_AI_picframe{border-radius:50%;height:44px;overflow:hidden;width:44px}.msame_Drop_AI_piccont img{height:44px;width:44px}.msame_Drop_root{background-color:#fff;border-width:...
CSS
{move,{atom,false},{x,0}}. {label,76}. {test,is_eq_exact,{f,686},[{x,0},{atom,false}]}. {move,{literal,[{is_number,[a,list]}]},{x,1}}. {move,{literal,"~p\n"},{x,0}}. {line,[{location,"unoptimized_literal_tests.erl",384}]}. {call_ext,2,{extfunc,io,format,2}}. {test,is_number,{f,77},[{literal,[a...
Assembly
-33.7L440.6 320H618.7c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192H490.7c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 30.2-10.5 58-28 79.9l-25.2-19.7C408.1 267.7 416 246.8 416 224c0-53-43-96-96-96c-31.1 0-58.7 14.8-76.3 37.7l-40.6-31.8c13-14.2 20.9-33.1 20.9-53.9c0-44.2-35.8-80-80-80C116.3 0 91.9 14.1...
CSS
/*************************************************************************************************** * Copyright (c) 2017 - 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * * Redistribution and use in source and binary forms, with or without * modification, are p...
C
_EMULATE_NATIVE) # define _bittestandset(a, b) psnip_intrin_bittestandset(a, b) # endif #endif #if PSNIP_BUILTIN_MSVC_HAS_INTRIN(_bittestandset64, 14, 0) && defined(_M_AMD64) # pragma intrinsic(_bittestandset64) # define psnip_intrin_bittestandset64(a, b) _bittestandset64(a, b) #else PSNIP_BUILTIN__BITTESTANDSET...
C
#################################################################################################### # Copyright (c) 2016 - 2024, EPFL / Blue Brain Project # Author(s): Marwan Abdellah <marwan.abdellah@epfl.ch> # # This file is part of NeuroMorphoVis <https://github.com/BlueBrain/NeuroMorphoVis> # # This program is fre...
Python
oding JSON for key $key: $e', ); return null; } } LoggerDebug.logger.d('SharedPrefHelper : No data found for key : $key'); return null; } /// Gets a List value from SharedPreferences with given [key]. static Future<List<dynamic>?> getList(String key) async { LoggerDebug.log...
Dart
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2011-2017 Red Hat, Inc. */ /*\ * Test for detecting mremap bug when THP is enabled. * * There was a bug in mremap THP support, sometimes causing crash * due to the following reason: * * "alloc_new_pmd was forcing the allocation of a pte before ca...
C
(t, err) must.Nil(t, all.Next()) ws := memdb.NewWatchSet() out, _, err := state.ScalingEventsByJob(ws, job.Namespace, job.ID) must.NoError(t, err) must.Nil(t, out) err = state.UpsertScalingEvent(1000, &structs.ScalingEventRequest{ Namespace: job.Namespace, JobID: job.ID, TaskGroup: groupName,...
Go
CONFIGURE; EXEC xp_cmdshell 'whoami'; ``` ---## 🔓 Phase 4: Advanced Post-Exploitation ### Shell Stabilization & Improvement #### Linux Shell Upgrades - [ ] **Python PTY**: ```bash python3 -c 'import pty;pty.spawn("/bin/bash")' python -c 'import pty;pty.spawn("/bin/bash")' ``` - [ ] **Full TTY**: ```ba...
Markdown
import torch LLAMA2_CONFIG_7B = { "vocab_size": 50257, # Vocabulary size "context_length": 4096, # Context length "emb_dim": 4096, # Embedding dimension "n_heads": 1, # Number of attention heads "n_layers": 6, # Number of layers "hidden_dim": 118, # NEW: Size...
Python
--tracking-normal: var(--tracking-normal); --shadow-2xl: var(--shadow-2xl); --shadow-xl: var(--shadow-xl); --shadow-lg: var(--shadow-lg); --shadow-md: var(--shadow-md); --shadow: var(--shadow); --shadow-sm: var(--shadow-sm); --shadow-xs: var(--shadow-xs); --shadow-2xs: var(--shadow-2xs); --spacing:...
CSS
-refresh", '\uf021'), REGISTERED("fa-registered", '\uf25d'), REMOVE("fa-remove", '\uf00d'), RENREN("fa-renren", '\uf18b'), REORDER("fa-reorder", '\uf0c9'), REPEAT("fa-repeat", '\uf01e'), REPLY("fa-reply", '\uf112'), REPLY_ALL("fa-reply-all", '\uf122'), RESISTANCE("fa-resistance", '\uf1d0...
Java
) -- pset(26,-44+ay,8) -- pset(28,-44+ay,8) for i=1,3 do ?"\^t\^w\^t\^wbuns",-12+(i+1)%3,-48+sin(t()+i/3)+ay,({12,14,7})[i] end --flip() -- sspr(105, 64, 19, 6, -32, -48, 57, 18, false, false) -- add_particle(rnd(128)-64,-48,8,60) if (starting) then map_size += 8 starting_time -=...
Lua
%r0, 0x0073, %asi .word 0xe4df0e80 ! 1589: LDXA_R ldxa [%r28, %r0] 0x74, %r18 .word 0xe2b5a000 ! 1590: STHA_I stha %r17, [%r22 + 0x0000] %asi .word 0xe68504a0 ! 1591: LDUWA_R lduwa [%r20, %r0] 0x25, %r19 mov 0x7c0, %r20 mov 0x38, %r18 mov 0x8, %r17 .word 0xe6af4e60 ! 1595: STBA_R stba %r19, [%r29 + %r0] 0x7...
Assembly
}); test("should map distance of 77km with zoomLevel to ", () { LatLng start = LatLng(52.45175365359977, 10.679139941065786); LatLng end = LatLng(51.7578902763405, 10.74257578002594); final DistUtils utils = DistUtils(); double dist = utils.getLatLonDist(start, end, 16); print("di...
Dart
def max_frequency(lst: str) -> None: max_freq = 0 max_freq_element = None my_dict = {} for num in lst: my_dict[num] = my_dict.get(num, 0) + 1 for ele, freq in my_dict.items(): if freq > max_freq: max_freq = freq max_freq_element = ele print(f"{max_freq_e...
Python
s = TACKeyword.SOROBAN_STRING_SIZES.toVar() override val mappings = TACKeyword.SOROBAN_STRING_MAPPINGS.toVar() } /* * The Certora Prover * Copyright (C) 2025 Certora Ltd. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public Lic...
Kotlin
* * [MDN Reference](https://developer.mozilla.org/docs/Web/API/StorageManager/getDirectory) */ suspend inline fun StorageManager.getDirectory(): FileSystemDirectoryHandle { return getDirectoryAsync().await() } /** * The **`persist()`** method of the StorageManager interface requests permission to use persisten...
Kotlin
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <mutex> #include "mcrouter/lib/fbi/cpp/LogFailure.h" namespace facebook { namespace memcache { namespace mcrouter { t...
C
: 13, '10': 'packetsDuplicate'}, {'1': 'packet_duplicate_rate', '3': 12, '4': 1, '5': 1, '10': 'packetDuplicateRate'}, {'1': 'bytes_duplicate', '3': 13, '4': 1, '5': 4, '10': 'bytesDuplicate'}, {'1': 'header_bytes_duplicate', '3': 40, '4': 1, '5': 4, '10': 'headerBytesDuplicate'}, {'1': 'bitrate_duplica...
Dart
,t0,t2,[x+32],[x+40]) mov [z+72], t2 // Result term 10 combads(t1,t0,[x+40]) mov [z+80], t0 // Result term 11 mov [z+88], t1
Assembly
='Raw' m.website='DM5' m.rooturl='http://www.dm5.com' m.lastupdated='May 23, 2018' m.ongetinfo='getinfo' m.ongetpagenumber='getpagenumber' m.onget
Lua
/list_local_fs.dart'; import 'utils.dart'; // This file for generating keys for message files main(List<String> args) async { print("GENERATE CLASS KEYS FOR YOUR LOCALIZE MESSAGES"); final fileIndex = args.indexOf("--file"); final filesGlob = Glob("lib/**/**.dart"); List<FileSystemEntity> files = []; if (f...
Dart
Type 4 samples /// </summary> S4 = 0b0000_1000, /// <summary> /// Type 8 samples /// </summary> S8 = 0b0000_1100, /// <summary> /// Type 16 samples /// </summary> S16 = 0b0001_0000, /// <summary> /// Type 32 samples ...
C#
.debian.tar.xz 61028 SHA512:18f491ffac55e6f9464befc89bbe3067030dfd30d8093c06cd7aa511e4534123b87cecf8f2dde4c7447c77de7965b488de6f407637b4a1ace2f55afc0adae170 ``` # `tomee:10.1.2-jre25-Temurin-ubuntu-plume` ## Docker Metadata - Image ID: `sha256:4a7064162ca540835d32c44d1be8c46ee52ceb9876a058fb5323fb3ab7e4904b` - Create...
Markdown
5, 6, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 1, 3, 4, 5, 3, 4, 2, 2, 3, 5, 6, 4, 5, 5, 5, 3, 7, 8, 6, 5, 6, 6, 6, 4, ...
C++
def filtrar_diccionario(diccionario, lista_claves): diccionario_filtrado = {} for clave in lista_claves: if clave in diccionario: diccionario_filtrado[clave] = diccionario[clave] return diccionario_filtrado # Ejemplo de uso mi_diccionario = {'a': 1, 'b': 2, 'c': 3, 'd': 4} claves_a_filt...
Python
#! /usr/bin/env python # concatenates all DNA sequences from a single strain # into one long genome with NNNNNNNNNNNNNNNNN between # sequences # # uses taxonomy file to determine strain ID of each fasta # sequence # # requires fasta in order by strain # # usage (NNNNNNNNN is what to separate strains with): # *.py input...
Python
import cv2 import mediapipe as mp import socket # Initialize MediaPipe Hands mp_hands = mp.solutions.hands hands = mp_hands.Hands() mp_drawing = mp.solutions.drawing_utils # Define a function to send commands to the RoboDK server def send_command(x, y, z): client_socket = socket.socket(socket.AF_INET, socket.SOCK...
Python
"冰凍之湖胸甲", [47148] = "雷矛斬斧", [47149] = "逆王徽記", [47150] = "第七軍團護脛", [47151] = "黑暗決斷護腕", [47152] = "致命統轄腰帶", [47153] = "致命統轄腰帶", [47154] = "第七軍團護脛", [47155] = "黑暗決斷護腕", [47156] = "雷矛斬斧", [47157] = "逆王徽記", [47163] = "[UNUSED]拉風墨鏡", [47164] = "[UNUSED]拉風墨鏡", [47165] = "[UNUSED]夾克和褲子", [47166] = "[UNUSED]禮服", [47167] = "[UNU...
Lua
8.2-.7.3-1.4.3-1.9 0-.3-.2-.6-.5-.8-.3-.2-.7-.4-1.2-.6-.4-.1-1-.3-1.7-.3-.7-.1-1.3-.2-1.8-.2v-2h13.3v1.9z' fill='url(%23b)'/%3E%3ClinearGradient id='c' gradientUnits='userSpaceOnUse' x1='45.069' y1='74.205' x2='58.569' y2='87.705' gradientTransform='matrix(1 0 0 -1 0 102)'%3E%3Cstop offset='.005' stop-color='%23dff1fa'...
CSS
/** * Copyright (C) 2022, RAM-LAB, Hong Kong University of Science and Technology * This file is part of GPIR (https://github.com/jchengai/gpir). * If you find this repo helpful, please cite the respective publication as * listed on the above website. */ #pragma once #include <osqp/osqp.h> #include <Eigen/Dense...
C
xels = new byte[256 * 256 * bitsPerPixel / 8]; int pixelOffset; // 色相、饱和度 float hue, saturation; // 遍历纵坐标 for (int y = 0; y < 256; y++) { // 计算饱和度 saturation = (255 - y) / 255f * 100f; // 遍历横坐标 ...
C#
SULT hres; DWORD args[3]; TRACE("(%lx, %p)\n", pstg, pclsid); if (!pclsid) return E_INVALIDARG16; memset(pclsid, 0, sizeof(*pclsid)); if (!pstg) return E_INVALIDARG16; /* * read a STATSTG structure (contains the clsid) from the storage */ args[0] = pstg; /* iface */ args[1] = WOWGlobalAllocLo...
C
// // (C) Copyright 2006 by Autodesk, Inc. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyright notice appears in all copies and // that both that copyright notice and the limited warranty an...
C#
d, high) df.plot { x(day) { axis.name = "day of week" } y { axis.name = "price" scale = continuous(15000f..24000f) } line { y(mid) color = Color.GREEN type = LineType.DOTTED ...
Kotlin
GCancelOrderActionDataBuilder)? updates) { if (updates != null) updates(this); } @override GCancelOrderActionData build() => _build(); _$GCancelOrderActionData _build() { final _$result = _$v ?? new _$GCancelOrderActionData._( G__typename: BuiltValueNullFieldError.checkNotNull( ...
Dart
xs-col-4-pull-3 { right: 75%; left: auto; } [dir="rtl"] .xs-col-4-pull-3 { left: 75%; right: auto; } } @media screen and (min-width: 540px) { .s-col-4-push-1 { left: 25%; right: auto; } [dir="ltr"] .s-col-4-push-1 { left: 25%; right: auto; } [dir="rtl"] .s-col-4-push-1 { rig...
CSS
يُؤْمَرُونَ ۩', 51: 'وَقَالَ اللَّهُ لَا تَتَّخِذُوا إِلَـٰهَيْنِ اثْنَيْنِ ۖ إِنَّمَا هُوَ إِلَـٰهٌ وَاحِدٌ ۖ فَإِيَّايَ فَارْهَبُونِ', 52: 'وَلَهُ مَا فِي السَّمَاوَاتِ وَالْأَرْضِ وَلَهُ الدِّينُ وَاصِبًا ۚ أَفَغَيْرَ اللَّهِ تَتَّقُونَ', 53: 'وَمَا بِكُمْ مِنْ نِعْمَةٍ فَمِنَ اللَّهِ ۖ ثُمَّ إِذَا مَسَّ...
Dart
op, raw, imm12hi: (raw >> 25) & 0x7f, imm12lo: (raw >> 7) & 0x1f, rs1: (raw >> 15) & 0x1f, rs2: (raw >> 20) & 0x1f, }) } /// Parse an instruction with the `Imm20Rd` format. pub fn parse_imm20_rd(op: OpcodeImm20Rd, raw: u32) -> Format { Format::Imm20Rd(FormatImm20...
Rust
top: 50%; margin: -2px 0 0 -2px; -webkit-transition: all 0.1s ease-in-out; -moz-transition: all 0.1s ease-in-out; -o-transition: all 0.1s ease-in-out; transition: all 0.1s ease-in-out; } #fp-nav ul li:hover a span, .fp-slidesNav ul li:hover a span{ width: 10px; height: 10px; margin:...
CSS
Assert.Equal("Role", s3Event.UserIdentity.SessionContext.SessionIssuer.Type); Assert.Equal("principalId", s3Event.UserIdentity.SessionContext.SessionIssuer.PrincipalId); Assert.Equal("arn:aws:iam::111122223333:role/Admin", s3Event.UserIdentity.SessionContext.SessionIssuer.Arn); ...
C#
38855, 0.0134510, 0.0130228, 0.0127183, 0.0122444, 0.0118214, 0.0115469, 0.0113206, 0.0109636 , 0.0106308, 0.0104384, 0.0100693, 0.0098523, 0.0096735, 0.0094973, 0.0092210, 0.0089781, 0.0088083, 0.0086574 , 0.0084772, 0.0082120, 0.0081874, 0.0079775, 0.0078126, 0.0076743, 0.0075212, 0.0074051, 0.0072528...
C#
, want) // Complete the workspace resolution var workspaces []*btypes.BatchSpecWorkspace for _, repo := range rs { ws := &btypes.BatchSpecWorkspace{BatchSpecID: spec.ID, RepoID: repo.ID} if err := bstore.CreateBatchSpecWorkspace(ctx, ws); err != nil { t.Fatal(err) } workspaces = append(workspaces, ws) }...
Go
= 0, loops: Int = 1, radius: Int = 5, ) { repo.soundArea(source, synth, delay, loops, radius) } /** * Increments [opHeldCallCount] counter and throws [IllegalStateException] if the call count * exceeds a certain threshold. This is done as a counter-measure to avoid [StackO...
Kotlin
Message for transport %d from %s", transportCode, peer.getAlias()); peerUpgradeRequests.put(peer, getAvailableTransportByCode(transportCode)); upgradeTransport(peer, transportCode); } else if (identifiedPeers.containsKey(senderIdentifier)) { // This message i...
Java
Ľйл<br/> 9-12 ڿԼ⵽ master ϣ 7-10 ڿԹر master ѣڼڿӦò־µӼ̴ܹԼ 10-30ڿɣ󻯵ļٹ޸ʱ䡣<br/> ### Master crash ʱ󻯵ļݶʧ master crash ʱ MHA Զѡͬȫ slaveѲ־Ӧõ slave ϣ Աݵһԡʹ mysql ### Semi-Synchronous Replication 󻯵ļݵĶʧ<br/> MHA ĸõȲӰеݿʹ mha Ҫ̫ķMHA MHA Manager MHA Node ɡ MHA Node MYSQL ϣԲΪ MHA node µķMHA Manager ͨҪһ̨ϣҪһ̨ڼع MHA Managerһ̨ϵ MHA...
Markdown
INC2 fxcpmadd ys1, alpha1, a1, yl1 LFPDUX a8, A4, INC2 fxcpmadd ys2, alpha1, a5, yl2 LFPDUX a12, A4, INC2 fxcpmadd ys3, alpha1, a9, yl3 LFPDUX a16, A4, INC2 fxcpmadd ys4, alpha1, a13, yl4 bdz .L13 .align 4 .L12: LFPDUX yl1, YL, INCY2 fxcsmadd ys1, alpha1, a2, ys1 LFPDUX a1, A1, INC2 fxcsmadd ...
Assembly
=> { let startDateTimestamp, endDateTimestamp; startDateTimestamp = formGroup.controls['PassDate'].value endDateTimestamp = formGroup.controls['ExpiryDate'].value if (StringHelper.isNullOrUndefined(startDateTimestamp) || StringHelper.isNullOrUndefined(endDateTimestamp)) return null; if (!CommonHe...
Typescript
<gh_stars>1-10 #[macro_use] extern crate ioctl_sys; pub use ioctl_sys::ioctl; #[doc(hidden)] pub extern crate libc; #[cfg(target_os = "linux")] #[path = "platform/linux.rs"] #[macro_use] mod platform; pub use platform::*; #[cfg(not(target_os = "linux"))] use platform_not_supported; <gh_stars>1-10 //! A module conta...
Rust
var d; var e; jei[d = ++kei] = Qx; (lei[d] = ioi + rgi, c).setAttribute(ooi, b); lei[d] = ioi + oii; e = c; kei = d - 1; return e; }; _.$d = function Rx(a) { var b; var c; jei[b = ++kei] = Rx; c = (lei[b] = ioi + rhi, a).currentTarget || $wnd; kei = b - 1; return c; }; _.ee = function Ux(a) { ...
JavaScript
special event handlers) if ( origCount && !handlers.length ) { if ( !special.teardown || special.teardown.call( elem, namespaces, elemData.handle ) === false ) { jQuery.removeEvent( elem, type, elemData.handle ); } delete events[ type ]; } } // Remove data and the expando if it's no ...
JavaScript
1 427 1 nop ld ra,24(sp) .cfi_restore 1 ld s0,16(sp) .cfi_restore 8 .cfi_def_cfa 2, 32 addi sp,sp,32 .cfi_def_cfa_offset 0 jr ra .cfi_endproc .LFE18: .size free_pipe, .-free_pipe .align 1 .globl alloc_file .type alloc_file, @function alloc_file: .LFB19: .loc 1 429 27 .cfi_startproc addi sp,sp,-32 .cfi...
Assembly
[1] = RInvErr[1], RInv[1], fOne nop 0x0 } { .mfi (pPipe[0]) ldfd Charge[0] = [chargePtr] (pPipe[6]) fma Disp_G[1] = eps1, Disp_H[1], Disp_G[1] nop 0x0 } ;; // INNER LOOP 12 { .mfi nop 0x0 (pPipe[6]) fma Rep_G[1] = eps1, Rep_H[1], Rep_G[1] (pJJNR) add jjnrPtr = -JJNR_PREFETCH_DISTANCE, ...
Assembly
const site = relaxjs.site('test'); // site.add( { // name: 'parent', // resources: [{ // name: 'child', // data: { message: 'this resource will be deleted'} // }] // }); // site.delete( new routing.Route('/parent/child') ) // .then( function(emb){...
Typescript
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=haswell -timeline -timeline-max-iterations=3 -dispatch-stats < %s | FileCheck %s cmpxchg16b (%rsi) # CHECK: Iterations: 100 # CHECK-NEXT: Instructions: 100 # CHECK-NEXT:...
Assembly
s1, V22\s1, V9\s1 // tr_v1 = _mm_sub_epi16(tr_v1, a1); SUB V23\s1, V23\s1, V8\s1 // tr_v1 = _mm_add_epi16(tr_v1, bl_val_v); ADD V23\s1, V23\s1, V27\s1 ST1 {V23\s1}, [x7], jump .if is64 // __m128i tr_v_hi1 = _mm_unpackhi_epi16(tr_v1, _mm_setzero_si128()); .if \w > 4 U...
Assembly
Frame.IsShow&&(D+=this.FixedRightWidth.Overlay,++f)}}}this.SizeChange=!1},this.DrawOveraly=function(t){for(var e=0;e<this.SubFrame.length;++e){var a=this.SubFrame[e];if(!(a.Height<=0))for(var i=0;i<a.OverlayIndex.length;++i)for(var r=a.OverlayIndex[i],n=0;n<r.ChartPaint.length;++n){var o=r.ChartPaint[n];o.IsShow&&(t?o....
JavaScript
(id+1); ce.extract(graph); for(std::set<int>::iterator itr = graph[id].begin(); itr != graph[id].end(); ++itr) { insert(polys[*itr]); } return *this; } } } #include "polygon_set_traits.hpp" #include "detail/polygon_set_view.hpp" #include "polygon_set_concept.hpp" #include "detail/minko...
C++
ActiveGroup; vTriangles.Add(t); if (t.is_complex()) HasComplexVertices = true; } } } private void parse_triangle(string[] tokens, ref Triangle t ){ int nMode = 0; if (tokens[1].IndexOf("/...
C#
*value, ir_machine.get_ident_value(ident), ); } } #[test] fn multiply_huge() { tester(100, r#"x=asin999 c=1*x if c==0then:output="ok"else:output=":("end goto1"#); } #[test] fn acid_acos() { tester(100, r#"x=acos(0) u/=x!=9...
Rust
或继续上一步操作。 ![](https://ngte-superbed.oss-cn-beijing.aliyuncs.com/uPic/images/6.1.cookie2.png?raw=true) 图 6.1 cookie 的原理图 session,简而言之就是在服务器上保存用户操作的历史信息。服务器使用 session id 来标识 session,session id 由服务器负责产生,保证随机性与唯一性,相当于一个随机密钥,避免在握手或传输中暴露用户真实密码。但该方式下,仍然需要将发送请求的客户端与 session 进行对应,所以可以借助 cookie 机制来获取客户端的标识(即 session id),也可以通过...
Markdown
%ymm24 // CHECK: encoding: [0x62,0x61,0x35,0x20,0x69,0x82,0x00,0x10,0x00,0x00] vpunpckhwd 4096(%rdx), %ymm25, %ymm24 // CHECK: vpunpckhwd -4096(%rdx), %ymm25, %ymm24 // CHECK: encoding: [0x62,0x61,0x35,0x20,0x69,0x42,0x80] vpunpckhwd -4096(%rdx), %ymm25, %ymm24 // CHECK: vpunpckhwd -4128(%rdx), ...
Assembly
ars.isHearMarrila== true then return else svars.isHearMarrila= true end end else svars.HostageTalkCount = HOSTAGE_TALK_LOOP return end if svars.isHearCarryhos1 == true then s10211_enemy.CallMonologueHostageHos1() elsei...
Lua
Success(ttclient, ttclient.doLeaveChannel(), DEF_WAIT)); spxdsp.bEnableAGC = false; assertTrue("SpeexDSP", ttclient.setSoundInputPreprocess(spxdsp)); assertTrue("join root", ttclient.doJoinChannelByID(ttclient.getRootChannelID(), "") > 0); assertFalse("No AGC error on ARMv7A", waitFor...
Java
= generateHorizontalGroupedBars(chart); expect(xScale.domain()).toMatchInlineSnapshot(` Array [ -4, 12, ] `); }); test('should increase domain for xScale', () => { const data = [ { label: 'Cats', adopted: 12 }, { label: 'Dogs', adopted: 17 }, { label: 'Ho...
Typescript
/* eureka.h: definition of the application programming for noting discovery of the start and end of an opportunistic contact. Only contacts utilizing TCP are discovered by ION. Copyright (c) 2014, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledged. ...
C
r(0xFF202328), borderRadius: BorderRadius.circular(12), boxShadow: [ BoxShadow( color: Colors.blue.shade200.withOpacity(0.3), blurRadius: 8, offset: const Offset(0, 2), ), ], ), child: Row( children: [ Icon(Ico...
Dart
add fw to and del from fwg_with_rules['add-port-ids'] = list( set(new_firewall_group['ports']) - set(old_firewall_group['ports']) ) fwg_with_rules['del-port-ids'] = list( set(old_firewall_group['ports']) - set(new_firewall_group['ports']) ) # last-port dr...
Python
EmptyObject(Object obj) { // if (obj == null) { // return true; // } // if (obj instanceof CharSequence) { // return ((CharSequence) obj).length() == 0; // } // // if (obj instanceof Collection) { // return ((Collection) obj).isEmpty(); // } // ...
Java
module.exports.roundCloudDone = 'M0 0h24v24H0V0z@@fill:none;&&M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zm-8.64 6.25c-.39.39-1.02.39-1.41 0L7.2 14.2c-.39-.39-.39-1.02 0-1.41.39-.39 1.02-.39 1.41 0L10 14.18l4.48-...
JavaScript
> 0.78750000000000 // But what if you go beyond the limit? (0.7875).toFixed(20); // -> 0.78749999999999997780 ``` Floating point numbers are not stored as a list of decimal digits internally, but through a more complicated methodology that produces tiny inaccuracies that are usually rounded away by toString and simila...
Markdown
⤬ → x ) FALLING DIAGONAL CROSSING RISING DIAGONAL → LATIN SMALL LETTER X # {0x2A2F,0x0078}, // ( ⨯ → x ) VECTOR OR CROSS PRODUCT → LATIN SMALL LETTER X # →×→ {0x2179,0x0078}, // ( ⅹ → x ) SMALL ROMAN NUMERAL TEN → LATIN SMALL LETTER X # {0x1D431,0x0078}, // ( 𝐱 → x ) MATHEMATICAL BOLD SMALL X → LATIN S...
Java
[11885] = "Blighthound", [11886] = "Mercutio Filthgorger", [11887] = "Crypt Robber", [11896] = "Borelgore", [11897] = "Duskwing", [11898] = "Crusader Lord Valdelmar", [11899] = "Shardi", [11900] = "Brakkar", [11901] = "Andruk", [11902] = "Aiden", [11903] = "Alexander", [11904] = "Noah", [11905] ...
Lua
An iterator which loops over the steps of the proof in tree order /// (with repetition for duplicate subtrees). #[derive(Debug)] pub struct NormalIter<'a> { arr: &'a ProofTreeArray, explicit: bool, stack: Vec<(usize, usize)>, } impl<'a> Iterator for NormalIter<'a> { type Item = RPNStep; fn next(&...
Rust
com/cloudwego/eino-ext/components/embedding/ollama" ) func main() { ctx := context.Background() baseURL := os.Getenv("OLLAMA_BASE_URL") if baseURL == "" { baseURL = "http://localhost:11434" // 默认本地 } model := os.Getenv("OLLAMA_EMBED_MODEL") if model == "" { model = "nomic-embed-text" } embedder, err := o...
Go
.graphiql-container,.graphiql-container button,.graphiql-container input{color:#141823;font-family:system,-apple-system,San Francisco,\.SFNSDisplay-Regular,Segoe UI,Segoe,Segoe WP,Helvetica Neue,helvetica,Lucida Grande,arial,sans-serif;font-size:14px}.graphiql-container{display:flex;flex-direction:row;height:100%;margi...
CSS
// +default="OpenShiftManagedDefault" // +kubebuilder:default:="OpenShiftManagedDefault" // +kubebuilder:validation:Enum:="OpenShiftManagedDefault";"UserManaged" // +kubebuilder:validation:XValidation:rule="oldSelf == '' || self == oldSelf",message="type is immutable once set" // +optional // +unionDiscriminator...
Go
(); assertEquals(-158, rsmd.getColumnType(1)); } } } /** * Tests getY scenario. */ @Test public void testGetXGetY() throws SQLException { Geometry geom = Geometry.STGeomFromText("POINT (1 2 3 4)", 0); Geography geog = Geography.STGeomFromTex...
Java
carrera.$B$BDile que vas de mi parte y, con algo de suerte, tendrá un arma de sobra que ofrecerte.", ["O"] = "Habla con el mariscal Haggard.", ["T"] = "Mariscal Haggard", }, [1667] = { ["D"] = "¿Te ha enviado Burlguard? Sí, tengo algunas armas de sobra, pero antes tengo una tarea para ti...$B$BHace algú...
Lua
e; constructor(renderer: PIXI.CanvasRenderer, canvasStage: PIXI.Container) { super(); if (!renderer || !canvasStage) { throw new Error('PixiRenderSystem - Missing argument'); } if ( !(renderer.constructor.name === 'CanvasRenderer' || renderer.constructor.nam...
Typescript
const config = { deep: { object: { nesting: { test: { value: { is: keyVaultSchemeSecretId, } } } } } }; await keyVaultResolver.getObjectSecrets(config); expect(conf...
Typescript
;}.wdx520_r{float:none;max-width:520px;width:auto;}.wdx530_r{float:none;max-width:530px;width:auto;}.wdx540_r{float:none;max-width:540px;width:auto;}.wdx550_r{float:none;max-width:550px;width:auto;}.wdx560_r{float:none;max-width:560px;width:auto;}.wdx570_r{float:none;max-width:570px;width:auto;}.wdx580_r{float:none;max...
CSS
if (d == '=') { get_char (); return Token.OP_LE; } return Token.OP_LT; } // // Handles one line xml comment // private void handle_one_line_xml_comment () { int c; while ((c = peek_char ()) == ' ') { if (position_stack.Count == 0) sbag.PushCommentChar (c); get_char (); // s...
C#
assert args.decoder_layers == args.encoder_layers, f"""seq2seq rnn requires that encoder and decoder have same layers of rnn. got: {args.encoder_layers, args.decoder_layers}""" assert args.decoder_ffn_embed_dim == args.encoder_ffn_embed_dim*2, f"""seq2seq-rnn requires that dec...
Markdown
MaskCpuFlags(benchmark_cpu_info_); \ for (int i = 0; i < benchmark_iterations_; ++i) { \ FMT_A##To##FMT_PLANAR(src_argb + OFF, kStride, dst_y_opt, kWidth, \ dst_uv_opt, kStrideUV * 2, kWidth, NEG kHeight); \...
C++
, SYSREG_SYSTEM_STATUS_REG lw t1, 0(t0) li t2, SYSREG_SYSTEM_STATUS_CF_CKSE_OCP0_MASK or t1, t1, t2 sw t1, 0(t0) 2: lw t3, 0(t0) bne t1, t3, 2b nop # Delay 4ms li t0, 4000 1: add t0, t0, -1 bne zero, t0, 1b nop #reinit CPU again #li t9, 0xbfc00000 #jr t9 #nop jr ra nop _sys_adj_mem_clk_end: .end...
Assembly
key, count = x.value.size, isSelected = x.key == b, isCurrent = h != null && x.key == currentBranch, ) }.sortedWith(BranchComparator()) }.stateIn(viewModelScope + Dispatchers.Default, SharingStarted.Eagerly, emptyList()) val selectedBranchValue: String? get() = selectedBranch.value init { load...
Kotlin
ll="currentColor" d="M336 0h1120q139 0 237.5 98.5T1792 336v1120q0 139-98.5 237.5T1456 1792H336q-139 0-237.5-98.5T0 1456V336Q0 197 98.5 98.5T336 0zm331 1188h458l85 251q11 36 24 45t44 9h157q53 0 35-69l-333-964q-17-64-57.5-112.5T982 299H810q-57 0-97.5 48.5T655 460l-333 964q-18 69 35 69h157q31 0 44-9t24-45zm391-225H734l130...
Dart
.index); } let transition = Transition::with( -TransitionType::Transfer, metadata.into(), ancestors, assignments, vec![], ); Ok(transition) } } use funcmap::{FuncMap, TryFuncMap}; struct Test<S, T>(S, T, i32); #[allow(abso...
Rust
YJKoZIhvcNAQcCoIIoKzCCKCcCAQExDzANBglg // SIG // hkgBZQMEAgEFADB3BgorBgEEAYI3AgEEoGkwZzAyBgor // SIG // BgEEAYI3AgEeMCQCAQEEEBDgyQbOONQRoqMAEEvTUJAC // SIG // AQACAQACAQACAQACAQAwMTANBglghkgBZQMEAgEFAAQg // SIG // QcS6CJjCBbSnVWfEuBHKlPNK89AvLArmIwVSnmBZwV6g // SIG // gg2FMIIGAzCCA+ugAwIBAgITMwAABISY4hLgeKMxXQAA // SIG...
JavaScript
ent", prefix) } if !equalStrided(test.y, y, 1) { t.Errorf("%v: modified read-only y argument", prefix) } } } } func TestAxpyInc(t *testing.T) { const xGdVal, yGdVal = -1, 0.5 gdLn := 4 for i, test := range axpyTests { n := len(test.x) for _, inc := range newIncSet(-7, -4, -3, -2, -1, 1, 2, 3, 4,...
Go
info: TlGen_PaymentRequestedInfo?, public val saved_credentials: List<TlGen_PaymentSavedCredentials>?, public val users: List<TlGen_User>, public val multiflags_4: Multiflags_4?, ) : TlGen_payments_PaymentForm() { internal val flags: UInt get() { var result = 0U if (saved_info !=...
Kotlin
0.2, 1); user-select: none; -moz-user-select: none; } .list li:hover { background: #f5f5f5; } .dots.active .container { transform: translateX(-50%) translateY(20px); } .dots.active .drop { transform: translateY(212px) scale(108); } .dots.active .list li { cursor: pointer; opacity: 1; ...
CSS
.0.0.1:8333").expect("bad address format"); let sockets = vec![addr]; let mut channel = TestChannel::new(sockets.clone()); let config = ConfigBuilder::new().with_network(Network::Regtest).build(); let blockchain_state = BlockchainState::new(&config); let genesis = blockchain_stat...
Rust
anguage: "加利西亚语", Code: "gl", Enable: false}, {Language: "格鲁吉亚语", Code: "ka", Enable: false}, {Language: "希腊文", Code: "el", Enable: false}, {Language: "瓜拉尼人", Code: "gn", Enable: false}, {Language: "古吉拉特文", Code: "gu", Enable: false}, {Language: "海地克里奥尔语", Code: "ht", Enable: false}, {Language: "豪萨语", Code:...
Go
6 } }, float_items = { { 6, 7, "2x2YWIsland_1", 40, 40 }, { 3, 3, "1x1YWIsland_1", 0, 0 }, { 3, 2, "1x2YWIsland_1", 10, 33 } }, ambush_event_ratio = { { 3001, 5000 } }, ambush_ratio_extra = {}, theme = { ...
Lua
= sub_block->begin_coo_index; unsigned long end_coo_index = sub_block->end_coo_index; // 在coo中开始的偏移量 unsigned long cur_coo_index = begin_coo_index; // 用一个数组存储新的coo数据 vector<unsigned long> new_row_index; vector<unsigned long> new_col_index; vector<double> new_do...
C++