content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2015- Statoil ASA
// Copyright (C) 2015- Ceetron Solutions AS
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by... | C |
sistencias_${playerId}_${teamId}" min="0" value="0">
Valoración: <input type="number" name="valoracion_${playerId}_${teamId}" min="0" max="10" step="0.1" value="5">
`;
statsContainer.appendChild(statsRow);
}
form.addEventListener('submit', () ... | HTML |
る。
- (2) の形式の場合、`rhs` の型はクラステンプレートなので、引数そのものに暗黙の型変換が適用されることはない。
しかし、(規格書内に明確な規定は無いが)`*this` から `rhs` を引く際には各コンポーネント間の演算となるため、やはり暗黙の型変換が適用されると考えて良いと思われる。
## 例
```cpp example
#include <iostream>
#include <complex>
int main()
{
std::complex<double> c(4.0, 5.0);
std::complex<long double> d(1.0, 2.0);
std::cout <... | Markdown |
x4, x5, [sp, #48]
stp x6, x7, [sp, #64]
mov x0, x30
bl _mcount
ldp x0, x1, [sp, #16]
ldp x2, x3, [sp, #32]
ldp x4, x5, [sp, #48]
ldp x6, x7, [sp, #64]
ldp x29, x30, [sp], #80
.endif
#endif
mov x8, #(\scn)
svc #0
ret
END_FUNC \name
.endm
FUNC _utee_panic, :
stp x2... | Assembly |
iso, 18, d.getHours());
d = new goog.date.DateTime(0, 0);
iso = '18463';
assertFalse('failed to parse ' + iso, goog.date.setIso8601TimeOnly_(d, iso));
assertTrue('date did not change', d.equals(new goog.date.DateTime(0, 0)));
// 23:59:59.9942 or 235959.9942
d = new goog.date.DateTime(0, 0);
iso = '18:4... | HTML |
shadow(0 4px 10px rgba(60,64,67,0.28));filter:drop-shadow(0 4px 10px rgba(60,64,67,0.28));left:50%;margin-left:-10px;position:absolute}.eUgrUe::after{bottom:100%;border-color:transparent transparent #fff}.FEuOJf::after{top:100%;border-color:#fff transparent transparent}.kwaOrf{visibility:visible}.Smucib .k7jAl{backgrou... | HTML |
�岁!万岁!万万岁!”老保无动于衷)
</p>
<p>
总理:现在活了,就要坚强地战斗下去!(大联筹代表汇报到伤亡数字时)
</p>
<p>
总理:我们查过了,确实有223具尸体,两方面(指广州部队和大联筹)数字一样。
</p>
<p>
(联络总站许多人站起来:报告总理,要把南昌问题作个麻雀来解剖。)
</p>
<p>
总理:(生气地)开了这么多会难道不是在解剖麻雀吗?!你们还相不相信中央?你们就是无视中央!
</p>
<p>
姚文元:(大声)毛主席对江西问题这样关心,你们想了没有?!你们要相信中央文革的决心!
</p>
<p>
总理:上次你们双方都... | HTML |
>.toSetOrThis(): Set<T> = if (this is Set) this else this.toSet()
/** 过滤为 [R] 类型并附加谓词 [predicate]。*/
inline fun <reified R> Iterable<*>.filterIsInstance(predicate: (R) -> Boolean): List<R> {
return filterIsInstance(R::class.java, predicate)
}
@Suppress("UNCHECKED_CAST")
/** 过滤为 [klass] 类型并附加谓词 [predicate]。*/
inli... | Kotlin |
DHAN") ) return true
// DLT/route patterns frequently used in India
if (s.matches(Regex("^[A-Z]{2}-BDNSMS(?:-S)?$"))) return true
if (s.matches(Regex("^[A-Z]{2}-BANDHN(?:-S)?$"))) return true
return false
}
override fun extractMerchant(message: String, sender: String): String?... | Kotlin |
Glnbjppbmhlcml0O3RleHQtZGVjb3JhdGlvbjppbmhlcml0OyI+VW5kZWxldGUgcXVlc3Rpb248L2Rpdj48L2Rpdj48L2ZvcmVpZ25PYmplY3Q+PHRleHQgeD0iNDgiIHk9IjIwIiBmaWxsPSIjMDAwMDAwIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIiBmb250LXNpemU9IjEycHgiIGZvbnQtZmFtaWx5PSJIZWx2ZXRpY2EiPlVuZGVsZXRlIHF1ZXN0aW9uPC90ZXh0Pjwvc3dpdGNoPjwvZz48L3N2Zz4=" alt=widget style="c... | HTML |
// //这是点击属性,会执行带有一个int值的回调函���,这个int值是系统自动返回的你点击的那个标签的位标
// onTap: (int i) {
// if (i == 0) {
// title = "书架";
// } else if (i == 1) {
// title = "发现";
// } else if (i == 2) {
// title = "关于";... | Dart |
dMsgs := []*rpc.CelerMsg{}
for i := from; i <= ackSimplex.GetSeqNum(); i++ {
msg, err2 := h.getChanMessage(tx, cid, i)
if err2 != nil {
log.Error(err2)
continue
}
if msg.GetCondPayRequest() != nil {
payID := ctype.PayBytes2PayID(msg.GetCondPayRequest().GetCondPay())
directPay := msg.GetCon... | Go |
mk`_GD{#:60 YM@[K:w. C@:JZsbϊT] $dqY(=іdt@'VYR5$cQK+ijSJil߯XLηq2PШU#qۯ\!fh%akI%V2Ep!5xRkCf;ŭK:j;w5QډGu@)ot6QGc9i[:8YjUnU!Rڳ5xFǮMhZ.!^ږ4[WWK;gvxz%E><mA@R]سFnHG*F;NHe)I
~9^кb%Gb 5;DV]T*-lQRV5efY:*4$ɠ~phөGʱ4o
~:ƝLs?ۂoc5cC [|idVK2K9̉cL泬.},hKAS~+T~VN@C6Daݒ HF=;... | HTML |
| |-- 1_2_1
// | |-- 1_2_2
// | `-- 1_2_3
// `-- 1_3
assert_eq!(
n1.traverse(&arena).collect::<Vec<_>>(),
&[
Start(n1),
Start(n1_1),
End(n1_1),
Start(n1_2),
Start(n1_2_1),
End(n1_2_1),
S... | Rust |
等方面。|
|品牌推广|请设计一份针对某个品牌的推广策略,包括营销渠道、目标用户、宣传媒介等方面。|
|学术论文|请撰写一篇关于某个学术领域的综述性论文,包括该领域的最新进展、研究现状以及未来发展方向等内容。|
|企业管理|请提出一份针对某个企业的管理建议,包括组织架构、人力资源、财务管理等方面。|
|旅游攻略|请编写一份旅游攻略,介绍某个城市或旅游景点的美食、住宿、交通、景点等相关信息。|
|求职简历|请帮助我撰写一份针对某个职位的求职简历,包括个人信息、工作经历、教育背景、技能特长等方面。|
| 自然语言处理 | 请列出三个在自然语言处理中常用的技术,并解释它们。 |
| 股票市场分析 ... | Markdown |
fma.s1 log_rp_p2 = log_rp_p4, log_rsq, log_rp_p32
nop.i 999
;;
}
{ .mfi
nop.m 999
fma.s1 log_w6 = log_w3, log_w3, f0
nop.i 999
}
{ .mfi
nop.m 999
fma.s1 log_Qlo = log_rp_q7, log_wsq, log_rp_q65
nop.i 999
}
;;
{ .mfi
nop.m 999... | Assembly |
== cycle {
continue;
}
while item == arr[pos] {
pos += 1;
}
(arr[pos], item) = (item, arr[pos]);
while pos != cycle {
pos = cycle;
for i in arr.iter().take(arr_len).skip(cycle + 1) {
if *i < item {
... | Rust |
0c # mode return trampoline
movl $rret_tramp,%ebx # Set return trampoline
movl %ebx,MEM_BTX_ESPR-0x10 # CS:IP
movl %eax,MEM_BTX_ESPR-0x16 # Real mode target CS:IP
ljmpw $SEL_RCODE,$intusr.7 # Change to 16-bit segment
.code16
intusr.7: movl %cr0,%eax # Leave
dec %al # protected
movl %eax,%cr0 ... | Assembly |
td></tr>
<tr><td><code>showHome</code></td><td>0x2</td><td></td></tr>
<tr><td><code>homeAsUp</code></td><td>0x4</td><td></td></tr>
<tr><td><code>showTitle</code></td><td>0x8</td><td></td></tr>
<tr><td><code>showCustom</code></td><td>0x10</td><td></td></tr>
<tr><td><code>disableHome</code></td><td>0x20</td><td></td></tr... | Java |
evr(prec, READ_ALARM, INVALID_ALARM);
return pdevPvt->status;
}
strncpy(prec->val, pdevPvt->buffer.value, MAX_STRING_SIZE);
prec->val[MAX_STRING_SIZE-1] = 0;
prec->udf = FALSE;
switch (prec->inp.value.pv_link.pvlMask & pvlOptMsMode) {
case pvlOptNMS:
break;
case... | C |
ers = self.resource.raccess\
.get_users_with_explicit_access(PrivilegeCodes.CHANGE,
include_user_granted_access=True,
include_group_granted_access=True)
self.assertEqual(len(users), 1)
self.assertIn(self.... | Python |
ry; i++)
{
host_data[i] = canary;
}
HIP_CHECK(
hipMemcpy(data, host_data.data(), sizeof(T) * s_with_canary, hipMemcpyDefault));
generate_func(g, data + canary_size + offset, s);
HIP_CHECK(
hipMemcpy(host_data.d... | C++ |
use tonic::transport::Server;
#[derive(Debug, Deserialize)]
pub struct Settings {
repository_kind: RepositoryKind,
input_port: u16,
druid: Option<DruidSettings>,
victoria_metrics: Option<VictoriaMetricsSettings>,
monitoring: MonitoringSettings,
#[serde(default)]
log: LogSettings,
}
#[de... | Rust |
ct = sentence_bleu(reference_code, code.split())
# use code to run test cases
time_limit = problem_info[name]['time_limit']
question_quality_result = '0'
test_case_solved = ['','']
if code == '':
# this is deprecated now ('')
i... | Python |
/* 00A10 80B975B0 2401000F */ addiu $at, $zero, 0x000F ## $at = 0000000F
/* 00A14 80B975B4 84E301B0 */ lh $v1, 0x01B0($a3) ## 000001B0
/* 00A18 80B975B8 84EB01BE */ lh $t3, 0x01BE($a3) ## 000001BE
/* 00A1C 80B975BC 84EC01C0 */ lh $t4, 0x01C0($a3) ## 00000... | Assembly |
local ip_version = bytes:range(offset, 1):bitfield(0, 4)
local ethertype
if ip_version == 4 then
ethertype = 0x0800
elseif ip_version == 6 then
ethertype = 0x86dd
else
ethertype = nil
end
return ethertype
end
-- dissect Normal packet
local function uncompressed_dissect_pkt_normal(normal_pkt, pktinfo, tree... | Lua |
seen_tiles:
# tile_h, tile_w = ctx.projection_obj.tile_shape
# tile_m, tile_n = idx2xy(int(ctx.tile), (ctx.projection_obj.tiling_h, ctx.projection_obj.tiling_w))
# tile_x, tile_y = tile_m * tile_w, tile_n * tile_h
#
# tile_frame = next(tiles_reader[ctx.til... | Python |
son: [
value.toUtc(),
'should be the same moment as',
expected.toUtc(),
'– ignoring timezone.'
].join(' '),
);
}
for (var key in map.keys) {
final value = map[key];
test(key, () async {
final ref = firestore.collect... | Dart |
is_nan());
///
/// let y = [0.0, f64::NAN, 3.0, -2.0];
/// assert!(y.std_dev().is_nan());
///
/// let z = [0.0, 3.0, -2.0];
/// assert_eq!(z.std_dev(), (19f64 / 3.0).sqrt());
/// ```
fn std_dev(&self) -> f64 {
Statistics::std_dev(self)
}
}
impl Median<f64> for [f64] {
//... | Rust |
the Properties window</p>
<p>Note - In order to set an image for an ArchiMate object you must first ensure that "Custom " is selected in the Image source dropdown.</p>
<p>This will open the "My Images" Image Chooser dialog window:</p>
<img src="../Images/image_chooser_dialog.png" alt="image" wid... | HTML |
.41,14.41V210.9c0,7.964,6.447,14.41,14.41,14.41h74.134 c7.965,0,14.41-6.447,14.41-14.41V59.596C180.102,51.633,173.657,45.186,165.693,45.186z M113.172,57.509h30.717 c1.707,0,3.223,1.327,3.223,3.224c0,1.896-1.328,3.223-3.223,3.223h-30.717c-1.707,0-3.223-1.328-3.223-3.223 C109.949,58.837,111.465,57.509,113.172,57.509z M12... | JavaScript |
tr>
<tr><td>
<b>TACGRP.C2GM.GNL.PNT.USW.SNBY.RO</b><br>
RANGE ONLY (RO)<br>
G*G*GPUYR-****X<br>
</td><td>
<script>
document.write(new ms.Symbol("G*G*GPUYR-****X", {size:size}).asSVG())
</script>
</td></tr>
<tr><td>
<b>TACGRP.C2GM.GNL.PNT.USW.SNBY.KGP</b><br>
KINGPIN<br>
G*G*GPUYK-****X<br>
</td><td>
<script>
document.w... | HTML |
ore->GetExistingArchetype(typesInArchetype, cachedComponentCount);
if (entityArchetype.Archetype != null)
return entityArchetype;
// Creating an archetype invalidates all iterators / jobs etc
// because it affects the live iteration linked lists...
Before... | C# |
k4vz", "b3uxn", "b6cuu", "bg1rq", "b6kg4", "bu33d", "bevjt", "b3uyj", "c408v", "b6ezg", "bfg4g", "bebmc", "becb8", "be0hc", "bg8my", "bs2u4", "c442e", "bfrdn", "bu088", "bkh5q", "benyh", "beuk6", "befs2", "bdyej", "be5v2", "bdztg", "bs6dm", "bse9t", "bfgrm", "b7zc7", "bdft6", "b6y76", "bd74n", "b7w2m", "bg472", "behg1"... | C# |
ly();
}
};
$scope.toggleModal = function (id) {
$(id).modal("toggle");
};
},
]);
"use strict";
app.factory("PagePostRestService", [
"$rootScope",
"ApiService",
"CommonService",
"BaseRestService",
function ($rootScope, apiService, commonService, baseService) {
var serviceFactory ... | JavaScript |
)
}
}
fn lookup_child_inner(&self, key_fragment: u8) -> Option<OpaqueNodePtr<V>> {
let child_index = self.lookup_child_index(key_fragment)?;
// SAFETY: The value at `child_index` is guaranteed to be initialized because
// the `lookup_child_index` function will only ... | Rust |
https://storage.googleapis.com';
const String gcsBucket = 'dartino-archive';
const String imageRootFileName = 'dartino_raspbian';
const String defaultImageFileName = '$imageRootFileName.img';
const String defaultImageZipFileName = '$defaultImageFileName.zip';
// Original /etc/hosts from Raspberry Pi.
const String ori... | Dart |
bblock8722Sb18722Sbtext8722Sb1(Object assetName, Object appName) {
return 'Turite turėti $assetName savo $appName arbitražo obligacijų piniginėje, kad klientai galėtų atidaryti prekybos užklausas iš jūsų skelbimų. <br/><br/>Kai <strong>pirkėjas atidaro sandorį su jumis</strong>, $assetName visa sandorio suma automa... | Dart |
ormat('truetype');
font-weight: $weight;
font-style: $style;
}
}
@mixin google-font-pair($family) {
@include google-font('#{$family}', 'Regular', 400, normal);
}
@include google-font-pair('Montserrat');
@include google-font-pair('Open_Sans');
@include google-font-pair('Oswald');
@include googl... | CSS |
tt2d0 = t if =
# asm 1: cmove <t=int64#5,<tt2d0=int64#2
# asm 2: cmove <t=%r8,<tt2d0=%rsi
cmove %r8,%rsi
# qhasm: t = *(uint64 *)(basep + 1248 + pos)
# asm 1: movq 1248(<basep=int64#4,<pos=int64#1),>t=int64#5
# asm 2: movq 1248(<basep=%rcx,<pos=%rdi),>t=%r8
movq 1248(%rcx,%rdi),%r8
# qhasm: tt2d1 = t if =
# asm... | Assembly |
f32) -> RayHitInfo;
}
extern "C" {
pub fn InitAudioDevice();
}
extern "C" {
pub fn CloseAudioDevice();
}
extern "C" {
pub fn IsAudioDeviceReady() -> bool;
}
extern "C" {
pub fn SetMasterVolume(volume: f32);
}
extern "C" {
pub fn LoadWave(fileName: *const ::std::os::raw::c_char) -> Wave;
}
extern "C... | Rust |
2C | I2C_FUNC_10BIT_ADDR |
I2C_FUNC_SMBUS_EMUL | I2C_FUNC_SMBUS_BLOCK_DATA);
return caps;
}
static const struct i2c_algorithm axxia_i2c_algo = {
.master_xfer = axxia_i2c_xfer,
.functionality = axxia_i2c_func,
};
static struct i2c_adapter_quirks axxia_i2c_quirks = {
.max_read_len = 255,
.max_write_len = 255... | C |
feature `avx512f` only"><code>avx512f</code></span><p>将 a 中的包装单精度 (32-bit) 浮点元素转换为包装的无符号 32 位整数,并使用 writemask k 将结果存储在 dst 中 (当未设置相应的 mask 位时,元素将从 src 复制)。</p>
</td></tr><tr class="unstable module-item"><td><a class="fn" href="fn._mm512_mask_cvt_roundps_pd.html" title="core::arch::x86::_mm512_mask_cvt_roundps_pd fn">_... | HTML |
/ gif tag + ad data
gs_packet_size.max_cost = 168; // max GS packet size in original files
// The VIF packet size is bounded by the unpacked data size, so no
// additional checks need to be made for it.
return constraints;
}
static f32 compute_optimal_scale(const GLTF::Mesh& mesh)
{
// Compute the minimum axi... | C++ |
removeRemaining();
}
}
}
for (guint i = 0; i < nThreads; i++)
threads[i].jobsEnded();
delete finished_jobs;
delete waiting_jobs;
}
void FFTDenoiser::waitForJobs(JobQueue *waiting_jobs)
{
JobQueue* finished_jobs = new JobQueue();
gint njobs = waiting_jobs->jobsLeft();
for (guint i = 0; i... | C++ |
rides abstract method placeLabel in <Graph.Plot>.
Parameters:
tag - A DOM label element.
node - A <Graph.Node>.
controller - A configuration/controller object passed to the visualization.
*/
placeLabel: function(tag, node, controller) {
var pos = node.pos.getc(true), ... | JavaScript |
ll)
return false;
if (other.getRemovePreProvisioningHook() != null
&& other.getRemovePreProvisioningHook().equals(this.getRemovePreProvisioningHook()) == false)
return false;
return true;
}
}
/*
* Copyright 2010-2023 Amazon.com, Inc. or its affiliates. All Ri... | Java |
ldren.
*
* @param node The node to collapse.
*/
fun collapseNode(node: FileTreeNode) {
if (node.isExpanded) {
node.isExpanded = false
scope.launch {
try {
expandedNodes.remove(node)
val nodesToRemove = mutableListOf<FileTreeNode>()
collectAllChildren(node... | Kotlin |
> Okay. (They start kissing.)</p>
<p><b>Monica:</b> Umm, wait! Do you want to set the mood a little?</p>
<p><b>Chandler:</b> Okay. Uh, we’ll dim the lights, dim the lights. (He goes to the
light switch and finds it’s not a dimmer switch when he flips the lights off.) Or
turn them out all together. Uh, no sc... | HTML |
using System;
namespace Thinktecture.Relay.Server.Diagnostics;
/// <summary>
/// Used to set the verbosity of the <see cref="IRelayRequestLogger{TRequest,TResponse}"/>.
/// </summary>
[Flags]
public enum RelayRequestLoggerLevel
{
/// <summary>
/// Log no requests.
/// </summary>
None = 0,
/// <summary>
/// Log... | C# |
erdam, The Netherlands. (<a href="/User:Paulv">Paul Verbeek</a>)</li>
<li><strong>Date TBD</strong>—TENTATIVE: Doc Sprint @ New York, USA (Patrick D’Souza)</li>
</ul>
<p>Jump to <a href="#Past_Events">Past Events</a></p>
<h2>Doc-Sprint-In-A-Box</h2>
<p>Here is a comprehensive guide on running your own (physical) Doc Sp... | HTML |
), parentConstraints)!!
} else {
measureWeekLine(firstDate.lastDate, parentConstraints)!!
}
}
}
/**
* ```
* 对于: 30 31 1 2 3 4 5
* 如果传递的是 30-31 号,则返回上一个月的最后一行,如果是 1-5 号,则返回下一个月的第一行
* ```
*/
private fun LazyLayoutMeasureScope.measureWeekLine(
date: Date,
par... | Kotlin |
StringAssert.AreEqual(@"{
""name"": ""O\""Connor""
}", json);
}
[Test]
public void SerializeComment()
{
string xml = @"<span class=""vevent"">
<a class=""url"" href=""http://www.web2con.com/""><!-- Hi --><span>Text</span></a><!-- Hi! -->
</span>";
XmlDocument... | C# |
rue">\n <i class="la la-ellipsis-h"></i>\n </a>\n <div class="dropdown-menu dropdown-menu-right">\n <a class="dropdown-item" href="#"><i class="la la-edit"></i> Edit Details</a>\n ... | JavaScript |
ffedbcc698d9afb9ffe11276f4f9de79bfc45cf670b35d5f9948d266086106596bc9e59820d7de0959e5889ce97e073fbafd380be9dc7b33b75295f2.css"><a rel="noopener" target="_blank" href="http://localhost:8008/blowfish/css/main.bundle.min.6783e342ffedbcc698d9afb9ffe11276f4f9de79bfc45cf670b35d5f9948d266086106596bc9e59820d7de0959e5889ce97e073... | HTML |
r(ex, "{Message}", ex.Message);
// Terminates this process and returns an exit code to the operating system.
// This is required to avoid the 'BackgroundServiceExceptionBehavior', which
// performs one of two scenarios:
// 1. When set to "Ignore": will do... | C# |
ates this
* particular file as subject to the "Classpath" exception as provided
* by Sun in the LICENSE file that accompanied this code.
*
* This code 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 P... | Java |
inor)
{
sleeping |= (1 << minor);
}
/* Be careful here. We need to peek at RR but we must be sure nobody else
interrupts as we do this. Really we want to switch to irq driven tx ints
on this platform I think. Need to time it and see
An asm common level tty driver might be a better idea
Need to review th... | C |
= 54111
IHRlbmdh 54112
INmG2YLZhA== 54113
IHBlcmZla3Q= 54114
IHByb2l6 54115
2obZhw== 54116
INmE2LHZig== 54117
b2hlbg== 54118
INGI0LDSsw== 54119
IGdyYWRv 54120
IGVuaGFuY2luZw== 54121
LmRvd24= 54122
Lk1zZw== 54123
ZsO8aHJ0 54124
IOODrA== 54125
0L3QvtC3 54126
LE0= 54127
IOCyrOCysw== 54128
IHJy 54129
INGB0LDQvNGL0YU= 54130... | Kotlin |
gn:middle}.article_dark .articleView__header{background-color:#111;border-bottom-color:#1d1d1d}.article_dark .articleView__ownerName>a{color:hsla(0,0%,100%,.6)}.article_dark .articleView__footer{background-color:#0f0f0f;border-top-color:rgba(0,0,0,.12)}.article_dark .articleView__footer_btn_share .articleView__footer_b... | CSS |
ag_data->x = -mag_x * mag_scale;
mag_data->z = -mag_z * mag_scale;
break;
case PIOS_LIS_BOTTOM_0DEG:
mag_data->y = mag_x * mag_scale;
mag_data->x = -mag_y * mag_scale;
mag_data->z = mag_z * mag_scale;
break;
case PIOS_LIS_BOTTOM_90DEG:
mag_data->y = -mag_y * mag_scale;
mag_data->x =... | C |
74|32|55.3|27.9",
["End"] = "20130|75|32|41.5|38.5"
},
[10280] = {
["Quest"] = "Special Delivery to Shattrath City|0|70|67|10704|0|0",
["Start"] = "20084|109|32|45.9|36.0",
["End"] = "18481|118|32|53.9|44.7"
},
[10281] = {
["Quest"] = "Formal Introductions|0|70|68|10272|0|0",
["Start"] = "20154|109|32|7... | Lua |
[% col.text %]
[% IF col.show_sort_indicator %]<img src="image/[% IF col.sort_indicator_direction %]down[% ELSE %]up[% END %].png">[% END %]
[% IF col.link %]</a>[% END %]
[% END %]
</th>
[% END %]
</tr>
[% END %]
</thead>... | HTML |
ing;
description: string;
static valueOf(book: Book): BookPreview {
if (!book) {
return null;
}
if (book.type == BookType.ElectronicBook) {
let electronicBook = (book as ElectronicBook);
return {
name: electronicBook.metadata.name,
author: electronicBook.metadata.author... | Typescript |
import warnings
warnings.warn(
"scipy.misc.doccer is deprecated and will be removed in 2.0.0",
DeprecationWarning,
stacklevel=2
)
| Python |
)
/**
* Parse an unsigned short
* [bytes] The bytes, in big endian order
* [Int] The parsed short
* Because UShort is still experiment, this return an int
*/
fun uShortFromBytesBigEndian(bytes: List<Int>): Int =
(((bytes[0] and 0xFF) shl 8) or
(bytes[1] and 0xFF... | Kotlin |
rm_parameters_bias_"
shape = [768]
dtype = "torch.float32"
device = "cuda:0"
mean = 0.000
std = 0.000
data = None
class Program_weight_tensor_meta_L_self_modules_pooler_modules_dense_parameters_weight_:
name = "L_self_modules_pooler_modules_dense_parameters_weight_"
shape = [768, 768]
... | Python |
().run();
}
// Copyright (c) 2019, 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.
// TODO(37581): Generate this file.
// Micro-benchmarks for ffi memory stores and loads.
/... | Dart |
ight=600)
centrale = tk.Frame(master=self, width=400, height=600, background="#ffffff")
# Inserisci l'immagine di sfondo nel laterale sinistro
label_sx = tk.Label(laterale_sx, image=self.img_sx, background="#e6f7ff")
label_sx.place(relwidth=1, relheight=1)
# Inserisci l'immagin... | Python |
]] = load ptr, ptr [[TMP19]], align 8
// CHECK1-NEXT: [[TMP21:%.*]] = load i32, ptr [[TMP20]], align 4
// CHECK1-NEXT: store i32 [[TMP21]], ptr [[C_CASTED]], align 4
// CHECK1-NEXT: [[TMP22:%.*]] = load i64, ptr [[C_CASTED]], align 8
// CHECK1-NEXT: call void (ptr, i32, ptr, ...) @__kmpc_fork_call(ptr @[[GL... | C++ |
async getSimilarMovies(id: number = 0, page: number = 1): Promise<RSimilarMovies> {
return request(`https://api.themoviedb.org/3/movie/${id}/similar?api_key=${this.apiKey}&page=${page}`);
}
/**
* Get images of the movie or tv show by there ids
* @example getImages(337404)
* @param {number} id valid id ... | Typescript |
/* GCC specific test inline assembler functions and macros */
/*
* Copyright (c) 2015, Wind River Systems, Inc.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _TEST_ASM_INLINE_GCC_H
#define _TEST_ASM_INLINE_GCC_H
#include <zephyr/sys/barrier.h>
#if !defined(__GNUC__)
#error test_asm_inline_gcc.h goes only w... | C |
??= { "x": 0, "y": 0, "z": 0 };
// this.device.queue.copyExternalImageToTexture(
// {
// source: image
// }, {
// texture: textureGPU,
// mipLevel: 0,
// origin: origin
// }, {
// width: image.width,
// height: image.height,
// depthOrArrayLayers: 1
// ... | Dart |
LocationData(
lat = latitude.toString(),
lon = longitude.toString(),
title = name,
content = description
)
}
// is ParaboxQuoteReply -> {
// }
// is ParaboxForward -> {
// ... | Kotlin |
0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
// Database Migration API
//
// Use the Oracle Cloud Infrastructure Database Migration APIs to perform database migration operations.
//
package databasemigration
import (
"strings"
)
// Technol... | Go |
resort-napa-county-lake-berryessa-hotel-jimmy-buffett","id":"14031465","pageType":"prism-story"}},"page":{"key":"","title":"","type":"prism-story","meta":{"title":"Napa County enters exclusive agreement that could bring Jimmy Buffett's Camp Margaritaville Resort to Lake Berryessa","description":"The Bay Area's sour... | HTML |
values.use_gdbstub.GetValue());
ui->gdbport_spinbox->setValue(Settings::values.gdbstub_port.GetValue());
ui->toggle_console->setEnabled(!is_powered_on);
ui->toggle_console->setChecked(UISettings::values.show_console.GetValue());
ui->log_filter_edit->setText(QString::fromStdString(Settings::values.log_fi... | C++ |
adeshield.MsgCancelPerpetualOrderResponse")
proto.RegisterType((*MsgCancelPerpetualOrders)(nil), "elys.tradeshield.MsgCancelPerpetualOrders")
proto.RegisterType((*MsgCancelPerpetualOrdersResponse)(nil), "elys.tradeshield.MsgCancelPerpetualOrdersResponse")
proto.RegisterType((*MsgCancelAllPerpetualOrders)(nil), "elys... | Go |
try!(write!(f, "[0x{:08x}", self.0));
try!(write!(f, "]"));
Ok(())
}
}
#[doc="Frames Transmitted OK Statistic Register"]
#[derive(Default, Clone, Copy, PartialEq, Eq)]
pub struct IeeeTFrameOk(pub u32);
impl IeeeTFrameOk {
#[doc="Frame count"]
#[inline] pub fn count(&self) -> ::bobbi... | Rust |
crypto_size: cipher
.as_ref()
.map(|c| c.key_settings.key_size.as_usize())
.unwrap_or(0) as u8,
ext_hs: Some(SrtControlPacket::HandshakeResponse(SrtHandshake {
version: SrtVersion::CURRENT,
flags: SrtShakeFlags::SUPPORTED,
... | Rust |
#include "gtest/gtest.h"
extern "C" {
#include "constants/universalConsts.h"
}
#define SCALAR double
const size_t ARRAY_SIZE_X = 11;
const size_t ARRAY_SIZE_Y = 5;
class Array2dTest : public ::testing::Test {
public:
size_t IterAbsOffset(array2d::iterator iter) {
return iter.i() + ARRAY_SIZE_X * iter.j();
... | C |
D"] = "像你样一个$c在贫瘠之地肯定会饿得前心贴后背,你看我,我就已经饿了整整一天了。$B$B我跟你说吧,我可以为你做一道大餐,不过得要先弄一些掘地鼠来。$B$B那些可恶的巴尔莫丹矮人几乎把这里的掘地鼠都给吃光了!你到南边的巴尔莫丹去给我带一些掘地鼠回来吧。$B$B如果你连这都搞不定的话,就不要再自称是经验丰富的冒险家了!",
["O"] = "给十字路口的格拉布弄到8只掘地鼠。",
["T"] = "掘地鼠炖肉",
},
[871] = {
["D"] = "所有的野猪人都是我们的敌人,而其中有些家伙特别让人讨厌。$B$B对我们而言,目前最大的麻烦就是钢鬃野猪人部族不停地对我们与杜隆塔尔之间的... | Lua |
)
self:dispatchEvent( self.DISCONNECTED, { emsg=event.emsg } )
removeNetStream( self )
else
-- print("=== Connection Error ===")
self:_send( nil, event.emsg )
self:dispatchEvent( self.ERROR, { emsg=event.emsg } )
removeNetStream( self, event )
end
end
function NetStream:_onData_handler( event )
-- p... | Lua |
witter:title"
content="حوزه حریمخصوصی برای بانوان به تغییرات اساسی نیاز دارد! | حق فراموش شدن"
>
<meta
property="twitter:url"
content="https://rtbf.ir/post/privacy-for-women-needs-fundamental-change"
>
<meta
name="twitter:image"
content="https://rtbf.ir/assets/img/og-image.p... | HTML |
div>
</div>
</td>
</tr>
<tr><td style="width:150px;">Idempotency-Key</td>
<td>
<div id="d2e199_updatePaySlipLineItems_idempotencyKey">
<div class="json-schema-view">
<div class="primitive">
<span class="type">
String
... | HTML |
7535"
hashLocator, err := chainhash.NewHashFromStr(hashStr)
if err != nil {
t.Errorf("NewHashFromStr: %v", err)
}
// Block 99500 hash.
hashStr = "2e7ad7b9eef9479e4aabc65cb831269cc20d2632c13684406dee0"
hashLocator2, err := chainhash.NewHashFromStr(hashStr)
if err != nil {
t.Errorf("NewHashFromStr: %v", err)
... | Go |
ve = true;
HeroController.instance.heroInPosition -= temp;
};
HeroController.instance.heroInPosition += temp;
}
private void OnTriggerEnter2D(Collider2D collision)
{
if (!active)
{
return;
}
if(OnTriggerEntered != null)
{
OnTriggerEntered(collision,gameObject);
}
}
private... | C# |
from polars.io.parquet.functions import read_parquet, read_parquet_schema, scan_parquet
__all__ = [
"read_parquet",
"read_parquet_schema",
"scan_parquet",
]
| Python |
5 48 48s-21.5 48-48 48-48-21.5-48-48 21.5-48 48-48zM16 104c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48zm0 304c0 26.5 21.5 48 48 48s48-21.5 48-48-21.5-48-48-48-48 21.5-48 48z"],
"ellipsis-v-alt": [192, 512, [], "f39b", "M96 184c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 96c-1... | JavaScript |
rror(T["entitymap_emptychildattributemap"]);
}
//删除原有的
if (childEntityMap != null)
{
_entityMapDeleter.DeleteById(childEntityMap.EntityMapId);
}
_en... | C# |
if (bodyBuilder_ == null) {
bodyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.cloudera.sigma.service.dbus.DbusProto.Record.Body, com.cloudera.sigma.service.dbus.DbusProto.Record.Body.Builder, com.cloudera.sigma.service.dbus.DbusProto.Record.BodyOrBuilder>(
... | Java |
rictedAccountKeyUpdater{
txnState: txnState,
impl: impl,
}
}
func (updater ParseRestrictedAccountKeyUpdater) AddAccountKey(
runtimeAddress common.Address,
publicKey *runtime.PublicKey,
hashAlgo runtime.HashAlgorithm,
weight int,
) (
*runtime.AccountKey,
error,
) {
return parseRestrict4Arg1Ret(
update... | Go |
new();
let strategy = data_for_multiproof(self.key_bytes(), self.index_sizes());
let absent_keys_strategy = absent_keys(self.key_bytes());
proptest!(
self.config(),
|((mut keys, data) in strategy, absent_keys in absent_keys_strategy)| {
write_data(&db, dat... | Rust |
// arithmetization/src/test/resources/contracts/contractModifyingStorage/ContractModifyingStorageInFunction.sol
// User address
final KeyPair keyPair = new SECP256K1().generateKeyPair();
final Address userAddress =
Address.extract(Hash.hash(keyPair.getPublicKey().getEncodedBytes()));
final ToyA... | Java |
标准深灰,适合背景 */
--gray-700: #4c4d4d;
--gray-600: #697070; /* 调和中灰,适合次要文本 */
--gray-500: #979999; /* 更柔和的中灰色 */
--gray-400: #bdbfbf;
--gray-300: #d7d9d9; /* 修正了原300/200重复 */
--gray-200: #e4e6e6; /* 稍微加深一点,便于分层 */
--gray-150: #eef0f0;
--gray-100: #eff2f2;
--gray-50: #f5f7f7;
--gray-25... | CSS |
.braceNest=0,u.inLinked=!1,S;const{isModulo:X,hasSpace:w}=ae(i);if(X)return w?p(u,0,Re(i)):p(u,4,He(i));if($(i))return p(u,0,Re(i));break}}return S}function Ml(){const{currentType:i,offset:u,startLoc:S,endLoc:D}=d;return d.lastType=i,d.lastOffset=u,d.lastStartLoc=S,d.lastEndLoc=D,d.offset=n(),d.startLoc=r(),s.currentCh... | JavaScript |
] = std::min(split_size, input_dims[dim] - start);
const auto &grad_output = grad_outputs[idx];
for (int dim_idx = 0; dim_idx < grad_input->Dims().size(); ++dim_idx) {
CHECK_EQ(output_dims[dim_idx], grad_output->Dims()[dim_idx]);
}
const int64_t N = std::accumulate(input_dims... | C++ |
VideoCodec(videoCodec: VideoCodec) {
if (!isStreaming) {
commandManager.videoCodec = when (videoCodec) {
VideoCodec.AV1 -> throw IllegalArgumentException("Unsupported codec: ${videoCodec.name}")
else -> videoCodec
}
}
}
fun setAudioCodec(audioCodec: AudioCodec) {
if (!isStre... | Kotlin |
List<Clips> clips;
/// 片段URL,对高级用户以上开放,最多开放4个地址
List<String> clipUrls;
/// 电影剧照,前10张
List<Photos> photos;
/// 短评数量
int commentsCount;
/// 短评,4条
List<Reviews> popularComments;
/// 影评数量
int reviewsCount;
/// 影评,前10条
List<Reviews> popularReviews;
List<Videos> videos;
/// 导演
List<Casts... | Dart |
ad static %}
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Chat</title>
<meta name="description" content="Chat">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.