content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
=== 'hash') {
window.history.pushState(null, '', '#/' + path.slice(1))
} else {
window.history.pushState(null, '', path.slice(1))
}
},
},
render(h) {
let mode = this._self._root._router.mode
let tag = this.tag || 'a'
let to = mode === 'hash' ? '#' + t... | Markdown |
ctx_t &ctx, segment_t *Srange) const
{
const char *predefined[] =
{
".text", // Text section
".rdata", // Read-only data section
".data", // Data sections
".lit8", // Data sections
".lit4", // Data sections
".sdata", // Small data section, addressed through register $gp
"... | C++ |
/* Runtime ABI for the ARM Cortex-M0
* ldivmod.S: 64 bit division (quotient and remainder)
*
* Copyright (c) 2012-2017 Jörg Mische <bobbl@gmx.de>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright not... | Assembly |
const MessageType._(this.name);
@override
String toString() => name;
}
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'compiler.dart';
imp... | Dart |
ODE_ENTRY_HEADER, "输入兑换码", 1)
SAS(SI_CHAPTER_UPGRADE_COLLECTORS_BUTTON, "豪华升级包", 1)
SAS(SI_CHAPTER_UPGRADE_COLLECTORS_REWARDS_HEADER, "豪华", 1)
SAS(SI_CHAPTER_UPGRADE_CONTENT_PASS_COLLECTORS_BUTTON, "升至高级", 0)
SAS(SI_CHAPTER_UPGRADE_CONTENT_PASS_COLLECTORS_REWARDS_HEADER, "高级", 0)
SAS(SI_CHAPTER_UPGRADE_CONTINUE, "跳过", ... | Lua |
BUG_CATEGORY13 = "Miscellaneous";
BUG_CATEGORY14 = "Player vs. Player";
BUG_CATEGORY15 = "Language Translation";
BUG_CATEGORY2 = "Outdoor Zones";
BUG_CATEGORY3 = "Dungeons";
BUG_CATEGORY4 = "Cities";
BUG_CATEGORY5 = "User Interface";
BUG_CATEGORY6 = "Monsters - Balance/Abilities";
BUG_CATEGORY7 = "Monsters - Placement... | Lua |
BC58 F95F000C */ jal func_80017FE4
/* 16A9224 8007BC5C 0B000724 */ addiu $a3, $zero, 0xB
/* 16A9228 8007BC60 0780023C */ lui $v0, %hi(D_80075744)
/* 16A922C 8007BC64 4457428C */ lw $v0, %lo(D_80075744)($v0)
/* 16A9230 8007BC68 00000000 */ nop
/* 16A9234 8007BC6C 14004018 */ blez $... | Assembly |
codecsList = (
'ascii',
'big5',
'big5hkscs',
'cp037',
'cp424',
'cp437',
'cp500',
'cp737',
'cp775',
'cp850',
'cp852',
'cp855',
'cp856',
'cp857',
'cp860',
'cp861',
'cp862',
'cp863',
'cp864',
'cp865',
'cp866',
'cp869',
'cp874',
... | Python |
_data?.asStableRef<Expander>()?.get()?.onActivate?.emit()
}
/**
* A #GtkExpander allows the user to hide or show its child by clicking
* on an expander triangle similar to the triangles used in a #GtkTreeView.
*
* Normally you use an expander as you would use any other descendant
* of #GtkBin; you create the ... | Kotlin |
*/
/* RELEASE HISTORY */
/* */
/* DATE NAME DESCRIPTION */
/* ... | C |
LD_TILES.GRASS,
background_room="BGGrass",
colour={r=0,g=1,b=0,a=1}
})
}
local everything_sample = {
Task("One of everything", {
locks=LOCKS.NONE,
keys_given=KEYS.PICKAXE,
room_choices={
["Graveyard"] = 1,
["BeefalowPlain"] = 1,
["SpiderVillage"] = 1,
["PigKingdom"] = 1,
["PigVillage"] = 1,
... | Lua |
efault_uint64: Long? = null,
@field:WireField(
tag = 408,
adapter = "com.squareup.wire.ProtoAdapter#SINT64",
schemaIndex = 72,
)
@JvmField
public val default_sint64: Long? = null,
@field:WireField(
tag = 409,
adapter = "com.squareup.wire.ProtoAdapter#FIXED64",
schemaIndex = 73,
)
@... | Kotlin |
mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-bottom-left-radius: 0;\n\t\t\t\tborder-bottom-right-radius: 0;\n\t\t\t}\n\t\t}\n\n\t\t&:last-child .ck-button {\n\t\t\t@mixin ck-rounded-corners {\n\t\t\t\tborder-top-left-radius: 0;\n\t\t\t\tborder-top-right-radius: 0;\n\t\t\t}\n\t\t}\n\t}\... | JavaScript |
C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v)))
}
func VertexAttrib4svNV(index uint32, v *int16) {
C.glowVertexAttrib4svNV(gpVertexAttrib4svNV, (C.GLuint)(index), (*C.GLshort)(unsafe.Pointer(v)))
}
func VertexAttrib4ubNV(index uint32, x uint8, y uint8, z uint8, w uint8) {
C.glowVertexAttrib4ubNV(gpVertexAttrib4ubN... | Go |
obj)?,
is_last,
);
if !display_settings.display_font && &label == "Font" {
cursor.print_subitem(
EXPAND_INFO_STYLE
.paint("... (display with `display-font` flag)")
.to_string(),
true,
);
... | Rust |
@ vAA<- r0
GOTO_OPCODE(ip) @ jump to next instruction
%break
/*
* Continuation if the String has not yet been resolved.
* r1: BBBBBBBB (String ref)
* r9: target register
*/
.L${opcode}_resolve:
EXPORT_PC()
ldr r0, [rSELF, #offThread_method] @ r0<- s... | Assembly |
result)
{
const double length = v.norm();
// Use the default value if v is too tiny
v = (length > 0.0001) ? (v / length) : default_result;
return length;
}
float
eigen_quaternion_unsigned_angle_between(const Eigen::Quaternionf &a, const Eigen::Quaternionf &b)
{
assert_eigen_quaternion_is_normalized(a);
assert_... | C++ |
(index);
}
QVariant PresetModel::headerData(int, Qt::Orientation, int) const
{
return QVariant();
}
void PresetModel::modelChanged()
{
saveSettings();
beginResetModel();
endResetModel();
}
void PresetModel::setRow(const QModelIndex& index)
{
m_row = index.row();
}
void PresetModel::updateRow()
{
m_row =... | C++ |
);
String line;
int state = 0; // 0=none; 1=list of groups; 2=reading group 3=listOfAccts
while ( (line=reader.readLine()) != null) {
line = line.trim();
switch( state) {
// top of file
case 0:
if (line.equals( "<ListOfGroups>")) {
state = 1;
}
break;
// reading groups
... | Java |
q %rcx, V+16(%rsp)
movq %rdx, V+24(%rsp)
leaq W(%rsp), %rdi
leaq U(%rsp), %rsi
leaq V(%rsp), %rdx
callq edwards25519_decode_mul_p25519
// Get s = w^{252-3} as a candidate inverse square root 1/sqrt(w).
// This power tower computation is the same as bignum_invsq... | Assembly |
message?: string };
export type Result<T> = { ok: true; body: T } | { ok: false; body: ErrorBody };
export type SearchToken = string;
export type SearchOptions = { limit?: number } | { cont?: SearchToken };
export interface Search<T> {
results: T[];
next?: SearchToken;
prev?: SearchToken;
}
export int... | Typescript |
d
* @see R.transduce
* @example
*
* const decodeChar = R.promap(s => s.charCodeAt(), String.fromCharCode, R.add(-8))
* const decodeString = R.promap(R.split(''), R.join(''), R.map(decodeChar))
* decodeString("ziuli") //=> "ramda"
*
* @symb R.promap(f, g, h) = x => g(h(f(x)))
* @symb R.promap(f,... | Typescript |
StateException("Unexpected: " + parserWrapper.toString(parserTransition));
}
}
return false;
}
}
/*-
* =LICENSE=
* ORAS Java SDK
* ===
* Copyright (C) 2024 - 2025 ORAS
* ===
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in c... | Java |
padding: 0.5rem;
}
.mailbox .mailbox-toolbar .mailbox-toolbar-link {
color: rgba(var(--bs-inverse-rgb), 0.75);
text-decoration: none;
border-radius: 4px;
}
.mailbox .mailbox-toolbar .mailbox-toolbar-link:hover {
background: rgba(var(--bs-inverse-rgb), 0.25);
}
.mailbox .mailbox-toolbar .mailbox-toolbar-link.act... | CSS |
GetCheckSumHashAck, _impl_.success_),
PROTOBUF_FIELD_OFFSET(::GetCheckSumHashAck, _impl_.self_node_id_),
};
static const ::_pbi::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, -1, sizeof(::FastSyncGetHashReq)},
{ 10, -1, -1, sizeof(::FastSyncBlockHashs)},
{ 18, -1, -1, sizeof(:... | C++ |
iaryDbHelper.findAlarmBy(alarmId)?.let {
context.executeScheduledTask(it)
}
}
}
}
}package me.blog.korn123.easydiary.extensions
import android.app.Activity
import com.simplemobiletools.commons.extensions.baseConfig
import me.blog.korn123.easydiary.R
/**
* C... | Kotlin |
local M = {}
M = {
save = "~/.local/share/nvim/lvim-space",
lang = "en",
notify = true,
filetype = "lvim-space",
title = "LVIM SPACE",
title_position = "center",
status_space = 3,
max_height = 10,
autosave = true,
autorestore = true, -- when pwd is project
open_panel_on_add_... | Lua |
Exception;
import java.lang.invoke.MethodHandles;
import java.util.*;
import java.util.stream.Collectors;
import java.util.stream.Stream;
import static org.opencb.opencga.storage.hadoop.variant.HadoopVariantStorageOptions.WRITE_MAPPERS_LIMIT_FACTOR;
/**
* Created on 19/02/18.
*
* @author Jacobo Coll <jacobo167@... | Java |
2 * sizeof(float) * n_embd / n_head));
// using mode = 2 for GPT-NeoX mode
Qcur = ggml_rope_inplace(ctx0, Qcur, n_past, n_rot, 2, 0);
Kcur = ggml_rope_inplace(ctx0, Kcur, n_past, n_rot, 2, 0);
// store key and value to memory
{
Vcur = ggml_transpose(ctx0, ggml_reshape_2d(ctx0, ... | C++ |
, 4, 4, 5)),
list!(1, 2, 5)
);
assert_eq!(
Solution::delete_duplicates(list!(1, 1, 1, 2, 3)),
list!(2, 3)
);
}
}
<filename>src/bin/network-router.rs
// Copyright 2019 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License"); you
// may n... | Rust |
#!/usr/bin/python3
import argparse
import re
class InvalidPRTitle(Exception):
def __init__(self, invalid_title):
self.invalid_title = invalid_title
def check_pr_title(pr_title: str):
print(pr_title)
# cover most common cases:
# package: foo
# package, otherpackage/subpackage: this is a ... | Python |
s1 = 80AA0000
/* 002EC 80A9B28C 3C1580AA */ lui $s5, %hi(D_80A9C26C) ## $s5 = 80AA0000
/* 002F0 80A9B290 3C160403 */ lui $s6, 0x0403 ## $s6 = 04030000
/* 002F4 80A9B294 3C1E0403 */ lui $s8, 0x0403 ## $s8 = 04030000
/* 002F8 80A9B298 4481A000 */ mtc1 $at, $f20 ... | Assembly |
32, gp.acceleration, $right, epsilon = 0.001) {
panic!("assertion failed, Acceleration does not match, left: {:?}\n right: {:?}", $left, $right)
}
},
None => panic!("assertion failed, left: {:?}\n right: {:?}", $left, $right)
... | Rust |
yramidsGiza,
artifactId: '544782',
culture: '',
date: 'ca. 1336–1327 B.C.',
),
// tajMahal
HighlightData(
title: 'Mango-Shaped Flask',
wonder: WonderType.tajMahal,
artifactId: '453341',
culture: '',
date: 'mid-17th century',
),
HighlightData(
title: 'Base for a Water Pipe (H... | Dart |
Comment was saved");
comment.Message.Should().Be("Hello world", "Message");
comment.Author.Id.Should().Be(sender.Id, "Sender Id");
comment.Entry.Id.Should().Be(receiver.Id, "Receiver Id");
var notificationMsg = $"{sender.Name} posted a comment on your profile.\n\n{comment.Message}";
var notification = _repos... | C# |
#4]
movs r2, #0xc
adds r0, r2, #0
ands r0, r1
lsls r0, r0, #0xc
movs r1, #0xc0
lsls r1, r1, #0x13
mov ip, r1
add r0, ip
str r0, [r3, #4]
ldr r0, _080A5AF8 @ =0x85000010
mov sl, r0
str r0, [r3, #8]
ldr r0, [r3, #8]
ldr r1, _080A5AFC @ =sa2__gUnknown_03004D80
mov r8, r1
strb r5, [r1, #2]
ldr r1, _080A5B0... | Assembly |
76TprPzdZyuO04/fxD1vMRlSA7Bm/vRFXpeYqzbIArbaXUp6nHURyWERK7PrZAQEK02iMLD4ZpwEBICYkcbxAjC4ecS9k/k/NyW0CM9BcSyDaHwcJjtp8h6AJYQZAiIEhU3c4BiA2LdTsoM3V4TDoeT/86TgL1zsItwmE0rCzj34Yt0+c2SmcOruaUG7J1plzf4xbG+aofkUDsrF8/6TZf1eRDHm/wzXQPC0rvza8WYlhjrAsDhLtjTgGg7OxASsIf7IGbn3rdZOmxy2x065yWHHe+DKHGZu+3zZFPBEgPgtJYYJc2UvNRgBgEICEBAA... | CSS |
: #145165;
--color-bruma-950: #063646;
--color-bosque: #9e744f;
--color-bosque-50: #f7f4ef;
--color-bosque-100: #ebe3d6;
--color-bosque-200: #d9c8af;
--color-bosque-300: #c2a682;
--color-bosque-400: #b0895f;
--color-bosque-500: #9e744f;
--color-bosque-600: #8a5f44;
--color-bosque-700: #6f4939;
--... | CSS |
time.dispatchProcessToBus(
task,
stringRes(com.heyanle.easy_i18n.R.string.waiting),
)
}
override fun onPre(task: DownloadTask?) {
//TODO("Not yet implemented")
}
override fun onTaskPre(task: DownloadTask?) {
//TODO("Not yet implemented")
}
overr... | Kotlin |
0f)
arcToRelative(14.0f, 14.0f, 0.0f, false, false, 14.0f, -14.0f)
lineTo(230.0f, 56.0f)
arcTo(14.0f, 14.0f, 0.0f, false, false, 216.0f, 42.0f)
close()
moveTo(40.0f, 54.0f)
lineTo(216.0f, 54.0f)
arcToRelative... | Kotlin |
-left:2em;
text-indent:-2em;
}
div.csl-left-margin {
min-width:2em;
float:left;
}
div.csl-right-inline {
margin-left:2em;
padding-left:1em;
}
div.csl-indent {
margin-left: 2em;
}
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https:/... | CSS |
the args
pc = Interpreter::deopt_entry(vtos, 0);
use_next_mdp = false;
#endif
} else {
// Reexecute invoke in top frame
pc = Interpreter::deopt_entry(vtos, 0);
use_next_mdp = false;
popframe_preserved_args_size_in_bytes = in_bytes(thread->popframe_preserved_args_si... | C++ |
existing_global_state(struct dpu_kms *dpu_kms);
struct dpu_global_state
*__must_check dpu_kms_get_global_state(struct drm_atomic_state *s);
/**
* Debugfs functions - extra helper functions for debugfs support
*
* Main debugfs documentation is located at,
*
* Documentation/filesystems/debugfs.rst
*
* @dpu_debug... | C |
ck(object sender, EventArgs eventArgs)
{
ViewModel.NavigateDetailsCommand.Execute(((sender as View).Parent as View).Tag.Unwrap<RelatedAnimeData>());
}
private void DataTemplateFling(View view1, int i, RelatedAnimeData arg3)
{
var img = view1.FindViewById<ImageVie... | C# |
/* Copyright (C) 2010 Google, Inc.
* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
* Author: Dima Zavin <dima@android.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by th... | C |
num_to_keep = 0;
for (int i = 0; i < boxes_num; i++){
int nblock = i / THREADS_PER_BLOCK_NMS;
int inblock = i % THREADS_PER_BLOCK_NMS;
if (!(remv_cpu[nblock] & (1ULL << inblock))){
keep_data[num_to_keep++] = i;
unsigned long long *p = &mask_cpu[0] + i * col_blocks;... | C++ |
eq!(
results[0].1.hash().0,
[
141, 3, 218, 9, 245, 129, 12, 99, 192, 12, 107, 216, 4, 191, 254, 93, 247, 103, 110,
204, 77, 126, 154, 187, 198, 139, 58, 24, 191, 179, 59, 125
]
);
assert_eq!(
results[1].1.hash().0,
[
254, 230, 153, 200,... | Rust |
match (output.pop_back(), output.pop_back()) {
(Some(expr2), Some(expr1)) => {
output.push_back(Expression::Operation(
oper,
Box::new(expr1),
Box::new(expr2),
... | Rust |
seMatcher.group(1)
authToken = baseMatcher.group(2)
}
val headers = HashMap<String, String>()
headers["type"] = "file"
headers["action"] = "upload"
headers["privacy"] = "undefined"
headers["timestamp"] = java.lang.Long.toString(System.currentTimeMillis())
... | Kotlin |
pdateEvent.eventName).to.equal('string');
expect(InnerHTMLUpdateEvent.eventName.length).to.least(1);
});
it('should have an Element as Value', () => {
expect(typeof (new InnerHTMLUpdateEvent(document.createElement('div')))).to.equal('object');
});
});import BaseNode from '../core/BaseNode';
import { COMPOSITE } ... | Typescript |
single function,
// if that function is itself recursive.
func visitBottomUp(list []*Node, analyze func(list []*Node, recursive bool)) {
var v bottomUpVisitor
v.analyze = analyze
v.nodeID = make(map[*Node]uint32)
for _, n := range list {
if n.Op == ODCLFUNC && !n.Func.IsHiddenClosure() {
v.visit(n)
}
}
}
... | Go |
[TestCase("Title.the.Series.2009.S01E14.Icelandic.HDTV.XviD-LOL")]
[TestCase("Title.the.Series.S01E03.1080p.WEB-DL.DD5.1.H.264-SbR Icelandic")]
public void should_parse_language_icelandic(string postTitle)
{
var result = LanguageParser.ParseLanguages(postTitle);
... | C# |
CP HTTP API 远程调用
Vision AI 现在支持通过 HTTP API 进行远程调用,为开发者提供更灵活的集成方式。
### 📡 **端口分配**
| 服务 | 端口 | 用途 |
| ---------------- | ---- | ------------- |
| **Web UI** | 8000 | 人类用户界面 |
| **MCP HTTP API** | 9000 | 远程 API 调用 |
### 🚀 **启动 MCP HTTP API**
#### 方法 1:直接启动
```bash
python server/mcp_http... | Markdown |
= 10 cm
/// 3 = 20 cm
/// 4 = 50 cm
/// 5 = 100 cm
/// 6 = 150 cm
/// 7 = 180 cm
///
/// - SX*# = Maximum soil temperature (tenths of degrees C)
/// where * corresponds to a code for ground cover
/// and # corresponds to a code for soil depth.
... | Rust |
32#17
# asm 2: movl <in11=%ebp,>j11=64(%esp)
movl %ebp,64(%esp)
# qhasm: in14 = *(uint32 *) (x + 56)
# asm 1: movl 56(<x=int32#3),>in14=int32#7
# asm 2: movl 56(<x=%edx),>in14=%ebp
movl 56(%edx),%ebp
# qhasm: j12 = in12
# asm 1: movl <in12=int32#1,>j12=stack32#18
# asm 2: movl <in12=%eax,>j12=68(%esp)
movl %eax,68(%e... | Assembly |
//========= Copyright 2016-2024, HTC Corporation. All rights reserved. ===========
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace HTC.UnityPlugin.Utility
{
[CustomPropertyDrawer(typeof(FlagsFromEnumAttribute))]
[CanEditMultipleObjects]
public class FlagsFromEnumAttribut... | C# |
# Copyright 2024 Huawei Technologies Co., Ltd
# Copyright 2024 The Qwen team, Alibaba Group and The HuggingFace Inc. team. All rights reserved.
#
# 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... | Python |
# Saving model and LoRA adapter
model.save_pretrained("/content/drive/MyDrive/zephyr-finetuned-bankbot")
tokenizer.save_pretrained("/content/drive/MyDrive/zephyr-finetuned-bankbot")
adapter_path = "/content/drive/MyDrive/zephyr-bankbot-lora"
model.save_pretrained(adapter_path, safe_serialization=True)
import os
os.env... | Python |
line-end-width: 0;
margin-inline-end: 0;
padding-inline-end: 0;
}
}
.ecl-page-header__title {
color: map.get($page-header, 'title-color');
font: map.get($page-header, 'title-font');
font-family: var(--ecl-font-family-print-alt);
margin-bottom: 0;
margin-top: map.get($theme, 'spacing-print', 'm');
}... | CSS |
Add Exception," "Get Certificate," "View," "Details tab." Choose a certificate in the chain and export it as a PEM file. You can view the details of the exported certificate like so:
* <pre>
* $ keytool -printcert -file EquifaxSecureGlobaleBusinessCA-1.crt
* Owner: CN=Equifax Secure Global eBusiness CA-1... | Java |
must be specified.
*
* @test_Strategy: Get a PreparedStatement object from the connection to the database.
* execute the precompiled SQL Statement to set the value as SQL Null
* for TIME Type and retrieve the same value by executing a query. Call
* the R... | C++ |
"sceneRenderPipelineAssignment", vendorKey: "unity.srp", maxEventsPerHour: 10, maxNumberOfElements: 1000)]
class SceneRenderPipelineAnalytic : IAnalytic
{
public SceneRenderPipelineAnalytic(string guid)
{
m_Data = new Data
{
sc... | C# |
refabStage();
if (stage == null) return;
var menuPosition = graph.viewTransform.matrix.inverse.MultiplyPoint(evt.localMousePosition);
foreach (var type in TypeCache.GetTypesDerivedFrom<VariantNode>().OrderBy(type => type.Name))
{
var path = $"{nameof(Vari... | C# |
of the License, or (at your option) any later version.
*
* Granite Data Services is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more d... | Java |
* [`GL_COLOR_ATTACHMENT19`]
/// * [`GL_COLOR_ATTACHMENT2`]
/// * [`GL_COLOR_ATTACHMENT20`]
/// * [`GL_COLOR_ATTACHMENT21`]
/// * [`GL_COLOR_ATTACHMENT22`]
/// * [`GL_COLOR_ATTACHMENT23`]
/// * [`GL_COLOR_ATTACHMENT24`]
/// * [`GL_COLOR_ATTACHMENT25`]
/// * [`GL_COLOR_ATTACHMENT26`]
/// * [`GL_COLOR_ATTACHMENT27`]
/// ... | Rust |
[Fact]
public async Async.Task CannotCreateVMForMissingTask() {
var (container, filename) = await CreateContainerWithReport(Guid.NewGuid(), Guid.NewGuid());
// setup fake user
var ctx = new TestFunctionContext();
ctx.SetUserAuthInfo(new UserInfo(Guid.NewGuid(), Guid.NewGuid(), "upn"... | C# |
消张天波的疑心,还连带着为接下来要招安孙、冯二人做了伏笔。彭寿安也算是煞费苦心了。
果然彭寿安这番话,让张天波的疑心减去了七八分。当下表达了自己“愿意投奔元老院”的意见。彭寿安少不得也宽慰了他一番,说他“正当盛年,可以为元老院出力,为桑梓百姓出力”,“至于过去的事情,大宋既往不咎”。
彭寿安又说王县长不要他立刻把家眷迁回县城――愿意在哪里过活都行,他自己只要到县里为县长出力办事就行。还许以“侦缉队长”一职。至于他过去聚敛的财物,一概不问。若是有百姓苦主来告他的状,王县长也会帮他“敷衍过去”。
“……只是这苦主身上,少不得要花些钱财,这个,可恕王县长不能拿出来了……”
“这个小人明白,只要王老爷愿意为小的弥缝,这点消遣小的心甘... | Markdown |
ME.md文件增加了免责声明、漏洞描述和利用说明。该利用程序通过反序列化漏洞实现RCE,无需用户交互。代码中提供了基本的利用方法,通过exploit.sh脚本,指定目标IP地址、监听IP和端口,即可实现攻击。 漏洞影响 Cisco ISE 和 ISE-PIC 设备。利用方法简便,危害巨大。
#### 🔍 关键发现
| 序号 | 发现内容 |
|------|----------|
| 1 | 无需身份验证,即可远程代码执行 |
| 2 | 影响Cisco ISE 和 ISE-PIC设备 |
| 3 | 通过恶意API请求触发 |
| 4 | 攻击者可获得root权限 |
| 5 | 提供简单的利用脚本 |
#### 🛠️ ... | Markdown |
Instruction instr) {
Compile_Assert(loop_depth, "BREAKC must be inside a LOOP");
if (loop_depth) {
Compile_EvaluateCondition(instr);
ASSERT(!loop_break_labels.empty());
jnz(loop_break_labels.back(), T_NEAR);
}
}
void JitShader::Compile_CALL(Instruction instr) {
// Push offset of... | C++ |
get the " + key + "=" + value, module);
map.put(key, value);
}
Debug.logVerbose("[JdonFramework] read finished", module);
} catch (Exception ex) {
Debug.logError("[JdonFramework] error: " + ex, module);
}
return map;
}
}
/*
* Copyright 2003-2009 the original author or auth... | Java |
HV0PiwgUnVuT3V0cHV0Pn0gQW4gaW5zdGFuY2Ugb2YgYFJ1bm5hYmxlVG9vbExpa2VgIHdoaWNoIGlzIGEgcnVubmFibGUgdGhhdCBjYW4gYmUgdXNlZCBhcyBhIHRvb2wuXG4gKi9cbmV4cG9ydCBmdW5jdGlvbiBjb252ZXJ0UnVubmFibGVUb1Rvb2wocnVubmFibGUsIGZpZWxkcykge1xuICAgIGNvbnN0IG5hbWUgPSBmaWVsZHMubmFtZSA/PyBydW5uYWJsZS5nZXROYW1lKCk7XG4gICAgY29uc3QgZGVzY3JpcHRpb24gP... | JavaScript |
unsigned __int64 sign_it()
{
size_t v0;
unsigned int v1;
char *v2;
__int64 v3;
unsigned int v5;
unsigned int i;
int v7;
__int64 v8;
char *s1;
unsigned __int64 v10;
v10 = __readfsqword(0x28u);
if ( !exec_guy )
{
exec_guy = (__int64)calloc(0x24uLL, 1uLL);
s_exec_guy = exec_guy;
m_ex... | C |
from __future__ import annotations
import requests
from .base_provider import AsyncGeneratorProvider, ProviderModelMixin
from ..typing import AsyncResult, Messages
from ..requests import StreamSession, raise_for_status
from ..image import ImageResponse
class DeepInfraImage(AsyncGeneratorProvider, ProviderModelMixin)... | Python |
done
nop
.Ltimeout:
lbu $v0, JOY_TXRX($t0)
nop
b .Lexit_exchg
ori $v0, 0x100
.Ldone:
lhu $v1, | Assembly |
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg)... | Lua |
gt;");
continue;
localStringBuffer.append(""");
}
}
return localStringBuffer.toString();
}
private static boolean parse(XMLTokener paramXMLTokener, JSONObject paramJSONObject, String paramString)
throws JSONException
{
int i = 1;
Object localObject1 = paramXMLTokene... | Java |
aps)
.WithOne(p => p.Parent)
.HasForeignKey(p => new { p.ParentId, p.ParentUploaderUID });
mb.Entity<CharaData>().HasKey(p => new { p.Id, p.UploaderUID });
mb.Entity<CharaData>().HasIndex(p => p.UploaderUID);
mb.Entity<CharaData>().HasIndex(p => p.Id);
mb.Entity<C... | C# |
name = string.sub(fl2[i2], 1, -5)
end
local bg = string.sub(v, 1, -6)
local i = 1
table.insert(custombackgrounds, name)
end
end
else
-- load normal BG
local v = mappackfolder .. "/" .. mappack .. "/backgrounds/" .. fl[i]
local extension = string.sub(v, -4, -1)
local number = str... | Lua |
Transports = call.arguments['enabledTransports'];
}
if (call.arguments['ignoreNullOrigin'] != null) {
options.ignoreNullOrigin = call.arguments['ignoreNullOrigin'];
}
if (call.arguments['authTransport'] != null) {
options.authTransport = call.arguments['authTransport'];
}
if (call.ar... | Dart |
value);
}
});
},
_createViewport: function() {
var self = this,
options = self.options;
var viewport = $('<div class="viewport">')
.width(options.width)
.height(options.height)
.appendTo(self.element);
self.stack = $('<div class="stack">')
.css('background-color', 'black')
.appendTo(viewpor... | JavaScript |
id"].(string))
}
return model, nil
}
func ResourceIbmVmaasVdcMapToVDCEdgePrototypeNetworkHaNetworkHaOnStretched(modelMap map[string]interface{}) (*vmwarev1.VDCEdgePrototypeNetworkHaNetworkHaOnStretched, error) {
model := &vmwarev1.VDCEdgePrototypeNetworkHaNetworkHaOnStretched{}
model.PrimaryDataCenterName = core.S... | Go |
e (i.e. when `p5.Renderer` is not set) the origin (0,0)
* is positioned at the top left of the screen. In 3D mode (i.e. when `p5.Renderer`
* is set to `WEBGL`), the origin is positioned at the center of the canvas.
* See [this issue](https://github.com/processing/p5.js/issues/1545) for more information.
*
* A WebG... | JavaScript |
\
S\x96,A%\xc7\x98w.\xd4$\xf4\xc8\xf9ia\
\xf18\x5cR\x95:\xb5}\xc9E\xa8\xf38\xaf\xb3\xe7\
\xd1omt\xbd\xb6k\xe9#\x89\xc3\xe2h\xafiN\
\x9c\xa3V)7nk^\xcbT\xf6Z\xbb\xdb[\xf7\
<\xa7\xfe\x11\x89\xe6v1Cr\xaa\x8a\xdc>r\xa9\
\xbc*\xc9\xbb?0\x0c\x1br\x8f\xba\xbc\x902\x09\xcf\
\xbf\xf0\xed\xe5\xa4;\x9a%V\x89O;\x982\xae\x0b\
.$e\xd... | Python |
.org/MPL/2.0/. */
/* ===== radio.css ===================================================
== Styles used by the XUL radio element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: radio ::::: */
ra... | CSS |
nc_80258CC8
/* 80258FA0 00254C00 57 FF 08 3C */ slwi r31, r31, 1
/* 80258FA4 00254C04 7F C3 F3 78 */ mr r3, r30
/* 80258FA8 00254C08 7F E4 FB 78 */ mr r4, r31
/* 80258FAC 00254C0C 48 01 16 A9 */ bl DCFlushRange
/* 80258FB0 00254C10 7F A3 EB 78 */ mr r3, r29
/* 80258FB4 00254C14 7F E4 FB 78 */ mr r4, r31
/* 80258F... | Assembly |
:-.11em -.83em 0 -.4em,-.29em -.78em 0 -.42em,-.43em -.72em 0 -.44em,-.52em -.65em 0 -.46em,-.57em -.61em 0 -.477em}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);-ms-transform:rotate(1turn);-o-transform:rotate(1turn);transform:rotate(1turn);box-shadow:-.11em -.83em 0 -.4em,-.11em -.83em 0 -.42em,-.11e... | CSS |
ues='Revenue',
title='Sunburst Chart by Region and Product'
)
st.plotly_chart(fig)
def main():
st.title('Top 10 Advanced Data Visualizations for FP&A')
df = generate_synthetic_data()
viz_options = [
'Waterfall Chart',
'Tornado Chart',
'Marimekko (Treemap)',
... | Python |
return E_NOTIMPL;
}
static HRESULT WINAPI AMDirectSound_ReleaseSecondaryBufferInterface(IAMDirectSound *iface, IDirectSoundBuffer *buf)
{
DSoundRenderImpl *This = impl_from_IAMDirectSound(iface);
FIXME("(%p/%p)->(%p): stub\n", This, iface, buf);
return E_NOTIMPL;
}
static HRESULT WINAPI AMDirectSound_S... | C |
* @return A sequence of tuple_ids which match predicate, or NULL if this
* method is unable to evaluate predicate (in which case the default
* TupleStorageSubBlock::getMatchesForPredicate() method should be
* used as a fallback).
**/
static TupleIdSequence* EvaluatePredicateForUnco... | C++ |
3px 10px\9;
line-height:16px;
}
.mini-button-icon
{
left:6px;
}
.mini-button .mini-button-icon-text
{
padding-left:27px;
}
.mini-button .mini-button-icon-only
{
padding-left:16px;
}
.mini-button .mini-button-icon-only .mini-button-icon
{
left:6px;
}
.mini-button-iconRight .mini-button-... | CSS |
ltiple clients
gFFI.invokeMethod("on_voice_call_closed");
}
}
// to-do: It should be better to use transparent color instead of the bgColor.
// But for now, the transparent color will cause the canvas to be white.
// I'm sure that the white color is caused by the Overlay widget in BlockableOverlay.
... | Dart |
)
var (
kubemarkExternalKubeConfig = flag.String(fmt.Sprintf("%s-%s", "kubemark-external", clientcmd.RecommendedConfigPathFlag), "", "Path to kubeconfig containing embedded authinfo for external cluster.")
)
func init() {
framework.RegisterProvider("kubemark", newProvider)
}
func newProvider() (framework.Provider... | Go |
}
func appComponentsDashboardViewsNodeHtml() (*asset, error) {
bytes, err := appComponentsDashboardViewsNodeHtmlBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "app/components/dashboard/views/node.html", size: 2307, mode: os.FileMode(416), modTime: time.Unix(1454116395, 0)}
a := &asset... | Go |
eryQuery = { contentfulAbout?: Maybe<(
Pick<ContentfulAbout, 'name' | 'description'>
& { profile?: Maybe<{ favicon16?: Maybe<Pick<ContentfulResize, 'src'>>, favicon32?: Maybe<Pick<ContentfulResize, 'src'>>, bigIcon?: Maybe<Pick<ContentfulResize, 'src'>>, appleIcon?: Maybe<Pick<ContentfulResize, 'src'>> }> }
)... | Typescript |
or *e );
int RunInWindow( RunArgs &cmd, Error *e );
int RunInWindow( RunArgv &cmd, Error *e );
void RunChild( RunArgs &cmd, int opts, int f[2], Error *e );
void RunChild( RunArgv &cmd, int opts, int f[2], Error *e );
void DoRunChild( char *cmdText, char *argv[], int opts, int fds[2], Error *e );
void SetAban... | C |
return {
"nvim-treesitter/nvim-treesitter",
branch = "master",
main = "nvim-treesitter.configs",
dependencies = { { "nvim-treesitter/nvim-treesitter-textobjects", lazy = true } },
event = "VeryLazy",
lazy = vim.fn.argc(-1) == 0, -- load treesitter immediately when opening a file from the cmdline
cmd = {
... | Lua |
",106:"%",109:"await",111:"[",112:"]",113:"new",114:"Dictionary",116:"NUMBER",118:"Object",120:"ref",121:"out",122:"...",125:"else"},
productions_: [0,[3,2],[4,1],[4,2],[4,3],[9,2],[9,1],[6,3],[6,1],[12,3],[12,1],[14,1],[14,0],[16,1],[15,2],[15,1],[18,1],[18,1],[21,6],[21,9],[21,6],[21,7],[21,6],[21,9],[21,6],[21,8],[3... | JavaScript |
originAmount,
VestingEndTime: int64(10000000000),
State: types.AirdropAccount_STATE_CREATED,
}
app.AirdropKeeper.SetAirdropAccount(ctx, airdropAccount)
airdrop.EndBlocker(ctx, app.AirdropKeeper)
accAddress, err := airdropAccount.OriginAccAddress()
s.Require().NoError(err)
balance := app.BankKeeper... | Go |
espace source2sdk
{
namespace client
{
// Registered alignment: 0x8
// Alignment: 0x8
// Standard-layout class: false
// Size: 0x90
// Has VTable
//
// static metadata: MGetKV3ClassDefaults
// static metadata: MCellForDomain "PanoramaPanel"
... | C++ |
al_SP(3515186),
Fernandopolis_SP(3515509),
Ferraz_de_Vasconcelos_SP(3515707),
Franca_SP(3516200),
Garca_SP(3516705),
Gaviao_Peixoto_SP(3516853),
Guaicara_SP(3517208),
Guaira_SP(3517406),
Guapiacu_SP(3517505),
Guararapes_SP(3518206),
Guararema_SP(3518305),
Guaratingueta_SP(351... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.