content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Z20": "Vestel Z20",
"Venus_V3_5010": "venus_v3_5010",
"Flex 2": "Flex_2",
"NEW 20": "NEW_20",
"NOTE 23": "NOTE_23_V02",
"NEW 5": "New 5",
"Ocean 6": "OCEAN 6",
"Ocean_8": "Ocean 8",
"Ocean_9": "Ocean 9",
"Venture V12": "VENTURE V12",
"V TAB 2": "VTAB2_3G",
"i_Smart": "i Smart... | JavaScript |
--
-- base unitframe handler
--
function SelfEliteFrameHandler(unittype)
if( unittype == "elite" ) then
PlayerFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-Elite");
elseif( unittype == "rare" ) then
PlayerFrameTexture:SetTexture("Interface\\TargetingFrame\\UI-TargetingFrame-Rare");
elseif... | Lua |
理,需要显示新对话框
return false;
}
} import 'package:nipaplay/models/watch_history_database.dart';
import 'package:nipaplay/models/watch_history_model.dart';
class SharedRemoteHistoryHelper {
const SharedRemoteHistoryHelper._();
static String? firstNonEmptyString(List<String?> candidates) {
for (final candidate... | Dart |
TOPILOT_AIRRAILS",
[20] = "MAV_AUTOPILOT_REFLEX",
},
["MAV_TYPE"] = {
[0] = "MAV_TYPE_GENERIC",
[1] = "MAV_TYPE_FIXED_WING",
[2] = "MAV_TYPE_QUADROTOR",
[3] = "MAV_TYPE_COAXIAL",
[4] = "MAV_TYPE_HELICOPTER",
[5] = "MAV_TYPE_ANTENNA_TRACKER",
[6] = ... | Lua |
s = chunk.filter((instance) => {
const missingImage = !instance.images || !instance.images.og;
return (missingImage || program.all) && instance[field];
});
const partitions = partitionBy(instances, (i) => i[feedIdField]);
const promises = partitions.map((partition) => {
return OgQueueAdd(
{
... | JavaScript |
nst se=getTrackLeft(H);le.trackStyle=getTrackAnimateCSS(_extends$1(_extends$1({},H),{left:se}))}return le},getNavigableIndexes=C=>{const H=C.infinite?C.slideCount*2:C.slideCount;let K=C.infinite?C.slidesToShow*-1:0,W=C.infinite?C.slidesToShow*-1:0;const G=[];for(;K<H;)G.push(K),K=W+C.slidesToScroll,W+=Math.min(C.slides... | JavaScript |
sprint!(" Instruction Pointer: {:#x}", a.rip);
/*
if !err.contains(PageFaultError::US) {
kcb::try_get_kcb().map(|k| {
sprintln!(
" (in ELF: {:#x})",
faulting_address - k.kernel_args().kernel_elf_offset.as_usize()
)
});
} else {
... | Rust |
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %... | Assembly |
Data(0xe530, 'Fill');
/// 
static const arrowsInLineVertical = PhosphorFlatIconData(0xe532, 'Fill');
/// 主体+Rust/WASM加速
- 全栈配对:JS前端+Python后端(快速原型)、JS前端+Go后端(标准服务)
2. **数据可视化界面**
- R专业图表:ggplot2生态、统计可视化、出版质量图形
- Python多框架:Matplotlib通用、Plotly交互、Dash应用
- JavaScript交互视图:D3.js自定义、图表库丰富、用户体验... | Markdown |
1OutputTileOptimalThreadMap_1_1Detail.html#a050ba21042390f3757539ac6a1b958ea"> 314</a></span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> kAccessRows = RowArrangement::kAccessRows;</div><div class="line"><a name="l00315"></a><span class="lineno">... | HTML |
/", "lib/", "scripts/", "sound/", "tools/",
"usr/", "virt/",
];
for cur_dir in linux_dirs {
match path.find(cur_dir) {
Some(pos) => return &path[pos..],
_ => ()
}
}
path
}
impl<'a> Iterator for Addrs<'a> {
type Item = QueryType;
fn next(&mut self) -> O... | Rust |
# mypy: allow-untyped-defs
import copy
import warnings
from torch.utils.data.datapipes.datapipe import MapDataPipe
__all__ = ["SequenceWrapperMapDataPipe"]
class SequenceWrapperMapDataPipe(MapDataPipe):
r"""
Wraps a sequence object into a MapDataPipe.
Args:
sequence: Sequence object to be wrap... | Python |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | C |
TextRightRtl {left: -26px;}.mblSwitchRtl.mblSwArcShape2.mblSwitchOff .mblSwitchInner {left: 0px;}.mblSwArcShape2.mblSwitchOn .mblSwitchInner {left: -51px;}.mblSwArcShape2 .mblSwitchBgRightRtl {left: 0px;}.mblSwitchRtl.mblSwArcShape2 .mblSwitchKnob {left: 51px;}.mblSwArcShape2 .mblSwitchTextRightRtl {left: -42px;}.mblSw... | CSS |
32
Transmutation is *always unsound* if it occurs between types with unspecified representations.
Most of Rust's primitive types have specified representations. That is, the precise layout characteristics of [`u8`], [`f32`] is a documented and guaranteed aspect of those types.
In contrast, most `struct` and `enum` t... | Markdown |
A50C 94 21 FF F0 */ stwu r1, -0x10(r1)
/* 8014E8B0 0014A510 7C 08 02 A6 */ mflr r0
/* 8014E8B4 0014A514 2C 03 00 00 */ cmpwi r3, 0
/* 8014E8B8 0014A518 90 01 00 14 */ stw r0, 0x14(r1)
/* 8014E8BC 0014A51C 41 82 00 64 */ beq lbl_8014E920
/* 8014E8C0 0014A520 38 60 00 1F */ li r3, 0x1f
/* 8014E8C4 0014A524 48 00 0... | Assembly |
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Controls;
using Windows.Foundation;
using AppStudio.Uwp.EventArguments;
namespace AppStudio.Uwp.Controls
{
public partial class Pivorama : Control
{
private Panel _frame = null;
... | C# |
.Tap(c => c.Marked("Misc"));
_app.WaitForElement(c => c.Marked("Misc Menu"));
_app.Tap(c => c.Marked("UIPickerView"));
_app.WaitForElement(c => c.Marked("Pickers"));
_app.Query(c => c.Class("UIPickerView").Invoke("selectRow", 3, "inComponent", 0, "animated", true));
... | C# |
">SoundMeta</a> play_sound(<a href="#VANILLA_SOUND">VANILLA_SOUND</a> sound, int source_uid)</h4><h4 id='SoundMeta-play_sound-SOUNDID-sound_id-int-source_uid'><a href="#SoundMeta">SoundMeta</a> play_sound(<a href="#Aliases">SOUNDID</a> sound_id, int source_uid)</h4>
<p>Use source_uid to make the sound be played at the ... | HTML |
ats.Agility, }, false, } -- s11328
L["erhöht die intelligenz und kritische trefferwertung %s stunden lang um %s. kampfelixier"] = { false, { Stats.Intellect, Stats.MeleeCritRating, Stats.RangedCritRating, Stats.SpellCritRating, }, } -- s11390
L["erhöht die intelligenz und kritische trefferwertung %s Sek. lang um %s. ka... | Lua |
final noNS = doc.createElement('div');
anyNS.id = 'any-namespace';
noNS.id = 'no-namespace';
var div = [
doc.createElement('div'),
doc.createElementNS('http://www.w3.org/1999/xhtml', 'div'),
doc.createElementNS('', 'div'),
doc.createElementNS('http://www.example.org/ns', 'div')
];
div[0].i... | Dart |
/*
* BSD LICENSE
* Copyright (c) 2021 Samsung Electronics Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain th... | C |
rse);
}
data->enable_touch = true;
}
qtouch_force_calibrate();
data->screen_count++;
}
/********************************** Component Functions **********************************/
/**
* Collects all component functions.
*/
static component_functions_t _component_functions = {
.cleanup... | C |
[MuSiQue](https://arxiv.org/abs/2108.00573) 是一个用于对推理步骤进行全面评估的多跳问答数据集。[KAG](https://arxiv.org/abs/2409.13731) 和 [HippoRAG](https://arxiv.org/abs/2405.14831) 用它评估多跳问答的性能。
本例我们展示为 MuSiQue 数据集构建知识图谱,然后用 KAG 为评估问题生成答案,并与标准答案对比计算 EM 和 F1 指标。
## 1. 前置条件
参考文档 [快速开始](https://openspg.yuque.com/ndx6g9/0.6/quzq24g4esal7q17) 安... | Markdown |
public class CompositeKey
{
public int Id1 { get; set; }
public int Id2 { get; set; }
public override bool Equals(object obj)
{
var key = obj as CompositeKey;
return key != null
&& Id1 == key.Id1
&& Id2 == key.Id2;
}
public override int GetHashCode()
{
var hashCode = -15... | C# |
();
if (!string.IsNullOrEmpty(tmp))
{
if (result == "")
result = "_explanation like '%" + tmp + "%'";
else
result += " and _explanation like '%" + tmp + "%'";
}
}
... | C# |
SelectActionData extends CoreSelectionActionData {
mode?: SelectActionMode;
columns?: SelectedColumnTypes[];
havingSQLValue?: SQL;
orderByColumns?: OrderByColumnTypes[];
groupByColumns?: string[];
paginationMode?: SelectActionPaginationMode;
limitValue?: SQLVariable | number;
offsetValue?: SQLVariable ... | Typescript |
index - Index number of the parameter that is being decorated.
* @remarks
* Since decorator is **executed before class instance is ever created**, we need to
* solve the issue of registered handlers **leaking** in between multiple classes
* when inheritance is involved.
*
* To solve that - we create a container ... | Typescript |
一名大学生,我喜欢吃炸鸡,特别是在周末的时候。” |
| 命名实体识别 | 从以下文章中提取人名、地名以及组织机构名称:https://zh.wikipedia.org/wiki/%E5%8C%97%E4%BA%AC%E5%A4%A7%E5%AD%A6 |
| 文本摘要 | 请将以下文章摘要成200字以内的内容:https://zh.wikipedia.org/wiki/%E5%8C%97%E4%BA%AC%E5%A4%A7%E5%AD%A6 |
|天气|明天北京的天气怎么样?|
|新闻|最近有哪些国内重要新闻?|
|电影推荐|能否推荐一部近期热门的科幻电影?|
|股票|最近中国平安的股价表现如何?|
|历史事件|请问南京大屠杀是哪... | Markdown |
"jsdoc/require-jsdoc": "off",
"jsdoc/require-param": "off",
"jsdoc/require-returns": "off",
"jsdoc/tag-lines": [
"error",
"any",
{
startLines: 1,
tags: { param: { lines: "never" } },
},
],
"jsdoc/check-tag-names": ["error", { define... | JavaScript |
>>,
eg: StaticEventGroup<System>,
}
impl<System: SupportedSystem> App<System> {
pub const fn new<C, D: Driver<Self>>(b: &mut Cfg<C>) -> Self
where
C: ~const traits::CfgBase<System = System>
+ ~const traits::CfgTask
+ ~const traits::CfgEventGroup
+ ~const traits::... | Rust |
3_OpenCensusConfig* msg, upb_Arena* arena) {
struct envoy_config_core_v3_GrpcService* sub = (struct envoy_config_core_v3_GrpcService*)envoy_config_trace_v3_OpenCensusConfig_stackdriver_grpc_service(msg);
if (sub == NULL) {
sub = (struct envoy_config_core_v3_GrpcService*)_upb_Message_New(&envoy_config_core_v3_Gr... | C |
0F4
/* B624C4 800EB324 A2990001 */ sb $t9, 1($s4)
glabel L800EB328
/* B624C8 800EB328 93B20063 */ lbu $s2, 0x63($sp)
/* B624CC 800EB32C 3C013C00 */ li $at, 0x3C000000 # 0.000000
/* B624D0 800EB330 44814000 */ mtc1 $at, $f8
/* B624D4 800EB334 44922000 */ mtc1 $s2, $f4
/* B624D8 800EB338 92890001 */ lbu ... | Assembly |
.
continue
} else {
moves := pos.Moves(erosion)
if len(moves) == 0 {
// Illegal position.
continue
}
for neighbor, incremental := range moves {
shortestPathToNeighbor, ok := seen[neighbor]
newPathLength := shortest + incremental
if !ok || newPathLength < shortestPathToNeighbor {
... | Go |
hidden]){--tw-space-y-reverse:0;margin-top:calc(0px*calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px*var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:.5rem}.sm\:p-6{padding:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}</style><div id="plasmo-shadow-cont... | HTML |
stroke_width));gl_FragColor=v_visibility*opacity_t*mix(color*opacity,stroke_color*stroke_opacity,color_t);\n#ifdef OVERDRAW_INSPECTOR\ngl_FragColor=vec4(1.0);\n#endif\n}","uniform mat4 u_matrix;uniform bool u_scale_with_map;uniform bool u_pitch_with_map;uniform vec2 u_extrude_scale;uniform lowp float u_device_pixel_rat... | HTML |
UECxMZT0lTVEUgRm91bmRhdGlvbiBFbmRvcnNl
ZDEoMCYGA1UEAxMfT0lTVEUgV0lTZUtleSBHbG9iYWwgUm9vdCBHQSBDQTAeFw0w
NTEyMTExNjAzNDRaFw0zNzEyMTExNjA5NTFaMIGKMQswCQYDVQQGEwJDSDEQMA4G
A1UEChMHV0lTZUtleTEbMBkGA1UECxMSQ29weXJpZ2h0IChjKSAyMDA1MSIwIAYD
VQQLExlPSVNURSBGb3VuZGF0aW9uIEVuZG9yc2VkMSgwJgYDVQQDEx9PSVNURSBX
SVNlS2V5IEdsb2JhbCBSb... | Go |
en
return
end
-- No need to proc if target is invulnerable or dead
if target:IsInvulnerable() or target:IsOutOfGame() or not target:IsAlive() then
return
end
-- Don't proc while dead (to prevent attacks infinitely proccing from corpses without cooldown)
if not attacker:IsAlive() th... | Lua |
regression-and-propensity-scores-stata.html#cb110-11" tabindex="-1"></a>expand 2, <span class="kw">generate</span>(interv)</span>
<span id="cb110-12"><a href="outcome-regression-and-propensity-scores-stata.html#cb110-12" tabindex="-1"></a>expand 2 <span class="kw">if</span> interv == 0, <span class="kw">generate</span>... | HTML |
Map<String, String>? tags,
}) async {
final $payload = <String, dynamic>{
'executionRoleArn': executionRoleArn,
'name': name,
'clientToken': clientToken ?? _s.generateIdempotencyToken(),
if (customerEncryptionKeyArn != null)
'customerEncryptionKeyArn': customerEncryptionKeyArn... | Dart |
ذ بالآلام، الألم هو الألم ولكن نتيجة لظروف ما قد تكمن السعاده فيما نتحمله من كد وأسي."#;
const LIGHT_GREY: Color = Color::grey8(0xF0);
pub fn draw<R: RenderContext>(rc: &mut R) -> Result<(), Error> {
rc.clear(None, Color::WHITE);
let text = rc.text();
let en_leading = text
.new_text_layout(SAMPLE... | Rust |
条 HTTP 长连接上最大能处理的请求数量,当超过最大限制时,就会主动关闭连接。
比如 nginx 的 keepalive_requests 这个参数,这个参数是指一个 HTTP 长连接建立之后,nginx 就会为这个连接设置一个计数器,记录这个 HTTP 长连接上已经接收并处理的客户端请求的数量。**如果达到这个参数设置的最大值时,则 nginx 会主动关闭这个长连接**,那么此时服务端上就会出现 TIME_WAIT 状态的连接。
keepalive_requests 参数的默认值是 100,意味着每个 HTTP 长连接最多只能跑 100 次请求,这个参数往往被大多数人忽略,因为当 QPS (每秒请求数) 不是很高时,默认值... | Markdown |
WebHelpEhlpDhtmExtJs" name="EHELP_DHTM">
</SCRIPT>
<SCRIPT language="JavaScript1.2" src="ehlpdht2.js" title="WebHelpEhlpDhtmExtJs" name="EHELP_DHTM">
</SCRIPT>
</HEAD>
<BODY style="font-family:'MS Sans Serif'; font-size:9pt; background-color:white;" bgcolor="white">
<SCRIPT language="JavaScript" title="WebHelpNavB... | HTML |
news_college">
<!--begin 1761667-275-1--><li><span>10/25</span><a href="article/2017-10/25/content_702846.htm" target="_blank" title="新南威尔士大学孔子学院举办第四届“汉语之光”活动" class="text11">新南威尔士大学孔子学院 ...</a></li><li><span>10/23</span><a href="article/2017-10/23/content_702601.htm" target="_blank" title="2017年日本孔子学院协议会在大阪召开" class="... | HTML |
;
src: url(../fonts/inter/Inter-italic-var.woff2) format("woff2");
}
/* Structure --------------------------------- */
.wp-block {
max-width: 610px;
}
.wp-block[data-align="wide"] .wp-block[data-align="wide"],
.wp-block[data-align="full"] .wp-block[data-align="wide"] {
max-width: 1200px;
}
.wp-block .wp-block[da... | CSS |
"height": 512,
},
unit_overrides=[openpose_unit]
+ [
{
"image": img,
"module": s.module,
... | Python |