content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
<tr class="odd topAlign"><td class="tblName" translate="no"><p><a href="qml-qdoc-test-yetanotherchild.html">YetAnotherChild</a></p></td><td class="tblDescr"><p>A type inheriting from internal abstract parent</p></td></tr>
<tr class="even topAlign"><td class="tblName" translate="no"><p><a href="qml-int.html">int</a></p>... | HTML |
-right:2px;
padding:1px 5px;
vertical-align:text-bottom; }
.bp5-breadcrumbs-collapsed::before{
background:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cg fill='%235C7080'%3e%3ccircle cx='2' cy='8.03' r='2'/%3e%3ccircle cx='14' cy='8.03' r='2'/%3e%3ccircle cx='8' cy... | CSS |
igZombie.class, EntityLiving.SpawnPlacementType.ON_GROUND);
ENTITY_PLACEMENTS.put(EntitySilverfish.class, EntityLiving.SpawnPlacementType.ON_GROUND);
ENTITY_PLACEMENTS.put(EntitySkeleton.class, EntityLiving.SpawnPlacementType.ON_GROUND);
ENTITY_PLACEMENTS.put(EntitySlime.class, EntityLiving.Spaw... | Java |
in.Long
@JvmName("getCreatedAt")
get() = _builder.getCreatedAt()
@JvmName("setCreatedAt")
set(value) {
_builder.setCreatedAt(value)
}
/**
* ```
* created at
* ```
*
* `uint64 created_at = 3;`
*/
public fun clearCreatedAt() {
_builder.clea... | Kotlin |
= false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
GenerateConfigReportRequest clone() =>
GenerateConfigReportRequest()..mergeFromMessage(this);
@$core.Depre... | Dart |
/* Like builtin_function, but make sure the scope is the external scope.
This is used to delay putting in back end builtin functions until the ISA
that defines the builtin is declared via function specific target options,
which can save memory for machines like the x86_64 that have multiple
ISAs. I... | C |
, tMat.mNameLocal + " Transmutation", "Transformation of Metals into "+tMat.mNameLocal, new String[] {"TRANSTIN"}, CATEGORY_ALCHEMY, OP.nugget.mat(tMat, 1), 2, RESEARCH_TYPE_SECONDARY, 9, 13
, Arrays.asList(TC.stack(TC.METALLUM, 5), TC.stack(TC.PERMUTATIO, 3), TC.stack(TC.SANO, 3))
, null
, LH.add("gt.resea... | Java |
this.xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
this.xhr.send(this.body);
}
}
var LastElement = null;
var LastSelectedElement = null;
window.addEventListener("mouseover", function (event) {
var xPathWorker = new XpathWorker();
var target = xPathWorker... | Typescript |
478 0.13211,-2.03323 0.0491,-3.04495 -0.0299,-0.36483 -0.11927,-0.72264 -0.19644,-1.08047 -0.0427,-0.19795 -0.14734,-0.58935 -0.14734,-0.58935" style="fill:none;stroke:%23000000;stroke-width:1;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /%3E%3Cpath id="path4060... | CSS |
count += 1;
state.total_deposit += deposit_amount;
let mut data_list: Vec<ExecuteData> = vec![];
let all_execute_data = if let Some(exec_msgs) = execute_msgs {
for msgs in exec_msgs {
let execute_data = ExecuteData {
order: msgs.order,
contract: deps.api.... | Rust |
defaultRouteHopCount', defaultRouteHopCount))
..add(DiagnosticsProperty('maxTimestampBehindMs', maxTimestampBehindMs))
..add(DiagnosticsProperty('maxTimestampAheadMs', maxTimestampAheadMs));
}
@override
bool operator ==(Object other) {
return identical(this, other) ||
(other.runtimeType =... | Dart |
X_SHIFT;
continue;
}
unsigned j = 0;
for (; ai != 0; j++)
{
ai >>= 1;
}
return bits - (N_RADIX_SHIFT - j);
}
return 0;
}
#if 0
/*
* Printing function for debugging purposes.
*/
static void N_print(N_t a, size_t size)
{
fputs("0x", st... | C |
tty_port_init(&port->port);
port->port.ops = &isicom_port_ops;
port->magic = ISICOM_MAGIC;
port->card = &isi_card[idx];
port->channel = channel;
port->port.close_delay = 50 * HZ/100;
port->port.closing_wait = 3000 * HZ/100;
port->status = 0;
/* . . . */
}
isi_card[idx].base = 0;
isi_car... | C |
ce in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">n... | HTML |
--------------------------------------------------
-- MODEL CONTROL FRAME MIXIN
ModelControlFrameMixin = {};
function ModelControlFrameMixin:OnHide()
if ( self.buttonDown ) then
self.buttonDown:OnMouseUp();
end
end
--------------------------------------------------
-- MODEL CONTROL BUTTON MIXIN
ModelControlButto... | Lua |
%;
--card-foreground: 205 20% 20%;
--popover: 205 100% 96%;
--popover-foreground: 205 20% 20%;
--primary: 205 100% 50%;
--primary-foreground: 205 20% 95%;
--secondary: 0 0% 90%;
--secondary-foreground: 205 20% 20%;
--muted: 205 50% 90%;
--muted-foreground: 205 20% 50%;
--accent: 15 100% 60%;
--acc... | CSS |
--------------------------------
-- @module Helper
-- @parent_module ccui
--------------------------------
-- brief Get a UTF8 substring from a std::string with a given start position and length<br>
-- Sample: std::string str = "中国中国中国"; substr = getSubStringOfUTF8String(str,0,2) will = "中国"<br>
-- param str The sou... | Lua |
\u003c/span\u003e\n\u003cspan class=\"pl-k\"\u003eend\u003c/span\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cdiv class=\"markdown-heading\" dir=\"auto\"\u003e\u003ch2 tabindex=\"-1\" class=\"heading-element\" dir=\"auto\"\u003eSupported specifications\u003c/h2\u003e\u003ca id=\"user-content-supported-specifications\" ... | HTML |
continue;
}
for (i = 0; i < n; ++i) {
var left;
left = xr[0][l + i];
xr[0][l + i] = left * is_table[ is_pos];
xr[1][l + i] = left * is_table[6 - is_pos];
}
}
}
... | JavaScript |
/*
* startup.s: Kernel entry point. Does low-level MMU initialization and
* branching into the correct memory location. Sets up stackc. Calls C main().
*
* This stub requires linker symbols:
*
* - code_start: the VIRTUAL address where _start should end up mapped to
* - first_level_table: The VIRTUAL address ... | Assembly |
ues with an additional bit set near a potential internal
// digit boundary.
for (int i1 = 16; i1 < length; i1 += 16) {
for (int i2 = -1; i2 <= 1; i2++) {
int i = i1 + i2;
if (i < length - 1) {
check(length, base | BigInt.one << (i - 1));
}
}
}
}
}
// Copyright... | Dart |
{ it.address.lowercase() })
}
else -> {
toAddresses.addAll(getReplyToWithoutOwnerAddress().ifEmpty { getTo() }
.map { it.address.lowercase() })
}
}
}
MessageType.REPLY_ALL -> {
when (folderType) {
FoldersManager.FolderType.... | Kotlin |
def count_ways_to_construct(design, towel_patterns):
# Sort towel patterns by length in descending order to prioritize longer matches
sorted_patterns = sorted(towel_patterns, key=len, reverse=True)
# Create a DP array where dp[i] is the number of ways to construct the first i characters of the design
... | Python |
Fragment(R.layout.frm_news) {
private lateinit var mBinding: FrmNewsBinding
private lateinit var newsAdapter: CircleGameAdapter
companion object {
val TAG = CircleFrm::class.qualifiedName
fun getInstance(bundle: Bundle): CircleFrm {
val fragment = CircleFrm()
fragmen... | Kotlin |
la Luna.$B$BTienes un tiempo limitado para completar la tarea y es probable que tengas que competir con otros druidas en busca de adornos. Necesitarás toda tu destreza mental y física.$B$B¡Buena suerte, $N.",
["O"] = "Encuentra una Baratija del Santuario en el Lago Elune\'ara, y llévalo al Santuario de Remulos en e... | Lua |
wAll=verbosity >1\n self. dots=verbosity ==1\n self. descriptions=descriptions\n \n def getDescription(self,test):\n doc_first_line=test. shortDescription()\n if self. descriptions and doc_first_line:\n return'\\n'. join((str(test),doc_first_line))\n else :\n return str(test)\n \n def startTest(self,test):\... | JavaScript |
"url": "https:\/\/wallhaven.cc\/w\/85k6eo",
"short_url": "https:\/\/whvn.cc\/85k6eo",
"views": 444,
"favorites": 43,
"source": "",
"purity": "sketchy",
"category": "people",
"dimension_x": 1429,
... | Kotlin |
ath"
"github.com/kalbasit/ncps/pkg/helper"
"github.com/kalbasit/ncps/pkg/nar"
)
// Nar4 is the nar representing hello from release-23.05 as returned by Harmonia.
//
//nolint:gochecknoglobals
var Nar4 = Entry{
NarInfoHash: "jiwdym6f9w6v5jcbqf5wn7fmg11v5q0j",
NarInfoPath: filepath.Join("j", "ji", "jiwdym6f9w6v5jcbq... | Go |
top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }
.button.full-width,
button.full-width,
input[type="submit"].full-width,
input[type="reset"].full-width,
input[type="button"].full-width {
width: 100%;
padding-left: 0 !important;
padding-right: 0 !important;
text-align: center; }
/* Fix ... | CSS |
nce);
}
// void setNodeIncrDisp(const Vector &u);
// Method to set the corresponding nodes displacements to the
// values in u, components identified by myID;
void
TransformationDOF_Group::incrNodeDisp(const Vector &u)
{
// call base class method and return if no MP_Constraint
if (theMP == 0) {
this->DOF_Gr... | C++ |
ture-title h1 {
font-size: 14px;
line-height: 22px;
}
.gpt3__features-container_feature-text p {
font-size: 12px;
line-height: 20px;
}
.gpt3__features-container__feature {
margin: 1rem 0;
}
}.gpt3__cta {
color: white;
display: flex;
justify-conte... | CSS |
// Modified by Princeton University on June 9th, 2015
/*
* ========== Copyright Header Begin ==========================================
*
* OpenSPARC T1 Processor File: hp_immu_dmp.s
* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
*
* The above named progr... | Assembly |
ersionCatalog? {
return try {
project.extensions.getByType<VersionCatalogsExtension>().named(name)
} catch (_: Exception) {
null
}
}
internal val Project.androidExtension: AndroidComponentsExtension<*, *, *>
get() =
androidExtensionNullable
?: throw IllegalArgumentException("Failed to find an... | Kotlin |
omponentWidth(fontMetrics), textArea.getHeight());
}
@Override protected void paintComponent(Graphics g) {
Graphics2D g2 = (Graphics2D) g.create();
g2.setColor(textArea.getBackground());
Rectangle clip = g2.getClipBounds();
g2.fillRect(clip.x, clip.y, clip.width, clip.height);
Font font = text... | Java |
_cyxkc_fp16x8_bx0_ex0_bt224x128x64_lt8x8_lw2x4_lr7x2_ta1x1x1x56_1x8x1x32_tb1x1x4x8_1x8x1x32_fma_finishing
v_add_nc_u32 v[v_gtc_ic], s[s_move_slice_k_acc_c], v[v_gtc_ic]
s_add_u32 s[s_in_offset], s[s_move_slice_k_stride_c], s[s_in_offset]
v_add_nc_u32 v[v_wei_os], s[s_move_slice_k_stride_gemm_k], v[v_w... | Assembly |
* 检查是否为债务类型
* @param type 账单类型
* @return 是否为债务类型
*/
fun isZhaiwuType(type: Int): Boolean = when (type) {
ZHAIWU_SHOUKUAN, ZHAIWU_DEBT, ZHAIWU_LOAN,
ZHAIWU_HUANKUAN, ZHAIWU_LIXI_SPEND, ZHAIWU_LIXI_INCOME -> true
else -> false
}
/... | Kotlin |
tbottom: var(--ck-resizer-tooltip-offset);\n\t\tright: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t&.ck-orientation-bottom-left {\n\t\tbottom: var(--ck-resizer-tooltip-offset);\n\t\tleft: var(--ck-resizer-tooltip-offset);\n\t}\n\n\t/* Class applied if the widget is too small to contain the size label */\n\t&.ck-orienta... | JavaScript |
\"^W\",16,\"^X\",10,\"^Y\",\"^Z\",\"^[\",957,\"^10\",957,\"^11\",[\"^12\",[\"^13\",[\"^12\",[[\"^35\",\"^:=\",\"~$str\",\"~$_hash\",\"^DK\"]]]]],\"^17\",[\"^2\",[\"^G\",\"^H\",\"^I\",\"^:O\",\"^Q\",\"^4<\",\"^T\"]]],\"^F\",[\"^2\",[\"^G\",\"^H\",\"^I\",\"^L\",\"^:O\",\"^Q\",\"^4<\",\"^T\"]],\"^3\",\"~$cljs.core/->Symbo... | JavaScript |
3
.L999:
add.d s1, s1, s2
sqrt.d s1, s1
j $31
cvt.s.d s1, s1
EPILOGUE | Assembly |
#pragma once
#include <torch/csrc/jit/python/pybind.h>
#include <torch/csrc/utils/pybind.h>
namespace torch {
namespace jit {
// Initialize Python bindings for Tensor Expressions
void initTensorExprBindings(PyObject* module);
} // namespace jit
} // namespace torch
| C |
context.Request.Headers ["Sec-WebSocket-Version"];
}
}
/// <summary>
/// Gets the server endpoint as an IP address and a port number.
/// </summary>
/// <value>
/// A <see cref="System.Net.IPEndPoint"/> that represents the server endpoint.
/// </value>
public override System.Net.I... | C# |
is way we read the subtitle file and decide what decoder to use instead of relying on mimetype
Log.i(TAG, "Got data from queueInputBuffer")
//https://github.com/LagradOst/CloudStream-2/blob/ddd774ee66810137ff7bd65dae70bcf3ba2d2489/CloudStreamForms/CloudStreamForms/Script/MainChrome.cs#L3... | Kotlin |
<h4 class="details1mar8">{$user_coin['shouyi_num']*1}</h4>
{$issue['buycoin']|strtoupper}
</li>
<li><span>认购数量:</span> <input type="text" class="cztxinput" id="num" value=""></li>
... | HTML |
orange, osScaleMul(2)));
generalPanelBilinearScalingSpinner.setToolTipText(scaleLargerThanResolutionToolTip);
} else {
if (Util.isUsingFlatLAFTheme()) {
generalPanelBilinearScalingSpinner.setBorder(new FlatRoundBorder());
} else {
gen... | Java |
лать маленьким исполняемый файл, вы можете переключиться с варианта раскрутки стека на вариант прерывания при панике, добавьте `panic = 'abort'` в раздел [profile] вашего <code>Cargo.toml</code> файла. Например, если вы хотите прервать панику в режиме релиза, добавьте это:
>
> ```toml
> [profile.release]
> panic = 'abo... | Markdown |
# -*- coding: utf-8 -*-
"""
author: Eastmount CSDN 2020-11-15
"""
import os
#评价指标 参数顺序
def classification_pj(pre, y_test):
# 正确率 Precision = 正确识别的个体总数 /识别出的个体总数
# 召回率 Recall = 正确识别的个体总数 / 测试集中存在的个体总数
# F值 F-measure = 正确率 * 召回率 * 2 / (正确率 + 召回率)
YC_A, YC_B = 0,0 #预测 bad good
ZQ_A, ZQ_B = 0,0 ... | Python |
}
else
{
P_GiveMana(player, MANA_2, MAX_MANA);
}
break;
case arti_boostarmor:
count = 0;
for (i = 0; i < NUMARMOR; i++)
{
count += P_GiveArmor(player, i, 1); // 1 point per armor type
... | C |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Configuration;
using Microsof... | C# |
тодах [booking.v1.resource.add](./booking-v1-resource-add.md) и [booking.v1.resource.list](./booking-v1-resource-list.md) ||
|| **fields***
[`object`](../../data-types.md) | Объект, содержащий значения полей для обновления ресурса [(подробное описание)](#fields) ||
|#
### Параметр fields {#fields}
#|
|| **Название**
... | Markdown |
t
void testBedrockTitanRequestJson() throws IOException, URISyntaxException {
BedrockModel model =
new BedrockModel(
"apikey",
"secret_key",
"us-east-1",
"http://bedrock.us-east-1.amazonaws.com",
... | Java |
) state.text[state.pos + 1] else ' '
state.count = state.count + 1
// CASE 1: substitution
if (c == '@' && hasMore && n == '{') {
if (!lastText.isNullOrEmpty()) {
val sub = TemplatePart(lastText, TemplateCo... | Kotlin |
#include <stdlib.h>
#include <stdint.h>
#include "libc.h"
/* Ensure that at least 32 atexit handlers can be registered without malloc */
#define COUNT 32
static struct fl
{
struct fl *next;
void (*f[COUNT])(void *);
void *a[COUNT];
} builtin, *head;
static int slot;
static volatile int lock[2];
void __funcs_on_e... | C |
# Copyright 2025 Snowflake Inc.
# SPDX-License-Identifier: Apache-2.0
#
# 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
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by app... | Python |
rr
}
return nil
}
return fmt.Errorf("retries limit reached: %w", err)
}
func (api *api) writeToRemote(ctx context.Context, ref name.Reference, imageOrIndex interface{}) error {
return logboek.Context(ctx).Info().LogProcess("Pushing reference %s to remote repo", ref).DoError(func() error {
c := make(chan v1.... | Go |
which request did
/// // fail.
/// }
/// }];
/// ```
///
/// - Parameters:
/// - pushToken: Device token / identifier which depending from passed `pushType` should be `NSData` (for
/// **PNAPNS2Push** and **PNAPNSPush**) or `NSString` for other.
/// - pushType: One of **PNPushType** fields which spec... | C |
da ou direita para definir a largura necessária. Para alterar a altura de uma única linha manualmente, mova o cursor do mouse sobre a borda inferior da linha para que o cursor se transforme em uma seta bidirecional <span class = "icon icon-changerowheight"></span> e arraste a borda para cima ou para baixo.</p>
... | HTML |
24" preserveAspectRatio="xMidYMid meet" viewBox="0 0 25 24"><path fill="currentColor" d="m24.794 16.522-.281-2.748-10.191-5.131s.091-1.742 0-4.31a7.092 7.092 0 00-1.839-4.339l.005.006h-.182a7.075 7.075 0 00-1.834 4.312l-.001.021c-.091 2.567 0 4.31 0 4.31L.281 13.774 0 16.522l6.889-2.074 3.491-.582a23.316 23.316 0 00.73... | Dart |
v_get_drvdata(&mdiodev->dev);
unsigned int i;
if (!priv)
return;
for (i = 0; i < ARRAY_SIZE(priv->port); i++) {
struct ar9331_sw_port *port = &priv->port[i];
cancel_delayed_work_sync(&port->mib_read);
}
irq_domain_remove(priv->irqdomain);
mdiobus_unregister(priv->mbus);
dsa_unregister_switch(&priv->ds)... | C |
n=2)
plt.figure()
plt.figure()
plot_confusion_matrix(cnf_matrix, classes=self.env.attack_types, normalize=True,
title='Normalized confusion matrix')
plt.savefig('results/confusion_matrix_A3C_{}.svg'.format(self.counter), format='svg', dpi=1000)
... | Python |
d4 d5 2.Nb3 Nb6 3.h4 h5 4.Nc3 e5 5.dxe5 c5 6.Bf4 | 12.8% | f6 <p> Nc6 | 9.5% <p> 3.2% | 23.1% <p> 28.8% | 68.6% <p> 62.7% | 8.2% <p> 8.4% | 0.574 <p> 0.602 |
| 1.d4 d5 2.Nb3 Nb6 3.Nc3 e5 4.dxe5 c5 5.Bf4 f6 6.Bg3 fxe5 7.h4 h5 | 10.8% | a4 <p> Nd2 <p> Rd1 <p> e4 <p> e3 | 7.3% <p> 1.6% <p> 1.3% <p> 0.4% <p> 0.1% | 6.9% <... | Markdown |
-- rafi.plugins.extras.lang.ansible
--
LazyVim.on_very_lazy(function()
vim.filetype.add({
pattern = {
['.*/inventory/.*%.ini'] = 'ansible_hosts',
},
})
vim.g.ansible_extra_keywords_highlight = 1
vim.g.ansible_template_syntaxes = {
['*.json.j2'] = 'json',
['*.(ba)?sh.j2'] = 'sh',
['*.ya?ml.j2'] = 'yam... | Lua |
singKeyLike")
constructor(key: KeyLike) : this(null) {
_internalKey = key
}
@JsName("jwkKeyUsingKeyLikeAndJWK")
constructor(key: KeyLike, jwk: JWK) : this(null) {
_internalKey = key
_internalJwk = jwk
}
@JsName("jwkKeyUsingJWK")
constructor(jwk: JWK) : this(null) {
... | Kotlin |
max-width: 90%;
top: 20px;
right: 20px;
z-index: 900;
}
.baklava-editor {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
outline: none !important;
font-family: "Lato", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
font-size: 15px;
touch-action: none;
}
.baklava-editor .backgr... | CSS |
}
imageInfos.add((width: image.width, height: image.height, x: x, y: y));
}
// 创建画布并一次性绘制所有内容
final recorder = ui.PictureRecorder();
final canvas = Canvas(recorder);
// 填充背景
if (backgroundColor != Colors.transparent) {
canvas.drawRect(
Rect.fromLTWH(0, 0, totalWidth... | Dart |
parables are supported.",
)
}
// propagate NaN to return if they are not to be skipped
if (type.canBeNaN && !skipNaN && any { it.isNaN }) {
// ensure that using a selecting quantile estimation method always returns the same type as the input
if (type == typeOf<Float>() && method... | Kotlin |
a></td><td class="c015">::=</td><td class="c017">
...
</td></tr>
<tr><td class="c018"> </td><td class="c015">∣</td><td class="c017"> <a class="syntax" href="#let-operator"><span class="c010">let-operator</span></a> <a class="syntax" href="expr.html#let-binding"><span class="c010">let-binding</span></a> { <a cla... | HTML |
E8DF8 ; =0xFFFFCFFD
ldrh r2, [r0]
and r2, r1
strh r2, [r0]
ldrh r3, [r0]
ldr r2, _021E8DFC ; =0x0000CFFB
and r2, r3
strh r2, [r0]
ldrh r3, [r0]
add r2, r1, #2
and r3, r2
mov r2, #8
orr r2, r3
strh r2, [r0]
add r2, r1, #2
ldrh r3, [r0]
add r1, r1, #2
and r3, r2
mov r2, #0x10
orr r2, r3
strh r2, [r0]
... | Assembly |
for the editor. Note that this is distinct
/// from getOption("mode"), which gives you the mode specification, rather than
/// the resolved, instantiated mode object.
///
/// The returned mode is a `JsObject`.
dynamic getMode() => call('getMode');
/// Return the name of the current mode.
String? getMode... | Dart |
nColor = theme.onlineIndicator;
break;
default:
iconName = 'circle-outline';
iconColor = changeOpacity(Color(0xFFB8B8B8), 0.64);
break;
}
return CompassIcon(
name: iconName,
style: TextStyle(fontSize: size, color: iconColor),
testID: 'user_status.indicato... | Dart |
js
* @description Execute /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12") and check results
*/
__executed = /\d{3}|[a-z]{4}/.exec("2, 12 and of course repeat 12");
__expected = ["cour"];
__expected.index = 13;
__expected.input = "2, 12 and of course repeat 12";
//CHECK#1
if (__executed.length !== __expected... | JavaScript |
}
}
/**
* implemented. <br>
*
*/
public void test_get(){
th.checkPoint("get(java.lang.Object)java.lang.Object");
WeakHashMap hm = buildHM();
th.check(hm.get(null) == null , "checking get -- 1");
th.check(hm.get(this) == null , "checking get -- 2");
hm.put("a" ,this);
th.check("a1 value".e... | Java |
---@class Linter: lint.Linter
---@field name string
---@alias LinterSpec string|Linter
---@type { [string]: LinterSpec[] }
local linters_by_ft = {
cpp = {
-- { name = 'cppcheck', args = { '--enable=all', '--inconclusive' } },
-- 'cpplint',
},
cmake = { 'cmakelint' },
nix = { 'nix', 'statix' },
}
---@... | Lua |
};
private template:Function = function(t, n) {
return this.templates[t] && this.templates[t].replace(/%d/i, Math.abs(Math.round(n)));
};
getTimeAgo = function(time) {
time = parseInt(time);
if(time > 999999999999) time = time/1000;
time = time.toString();
if (!time)
return;
t... | Typescript |
public void captureShell() {
captureShell(null);
}
public void captureShell(final String suffix) {
syncExec(() -> capture(shell.getBounds(), suffix));
}
public void click() {
click(1);
}
public void click(Control control) {
click(control, 1);
}
public void click(Control control, int button) {
mov... | Java |
esult: P.Result<Module> = SBFLang.Module.parse(operatorBlock)
expect(result.status).toBe(true)
expect((result as P.Success<Module>).value.name).toBe('c_power')
})
const db = fs.readFileSync('test/H8000_5_2.sbf', { encoding: 'utf-8' })
it('will parse database', () => {
let result:... | Typescript |
es.Add((int)WM.CHAR);
BypassedMessages.Add((int)WM.DEADCHAR);
BypassedMessages.Add((int)WM.SYSKEYDOWN);
BypassedMessages.Add((int)WM.SYSKEYUP);
BypassedMessages.Add((int)WM.SYSCHAR);
BypassedMessages.Add((int)WM.SYSDEADCHAR);
BypassedMessages.Add(... | C# |
sv --opprint sort -f shape example.csv
mlr --icsv --opprint sort -f shape -nr index example.csv
mlr --icsv --opprint cut -f flag,shape example.csv
mlr --csv filter '$color == "red"' example.csv
mlr --icsv --ojson put '$ratio = $quantity / $rate' example.csv
mlr --icsv --opprint --from example.csv sort -nr index then cu... | Go |
host.ip, host.port))
if err != nil {
log.Fatal("Failed to start listener:", err)
}
defer listener.Close()
fmt.Printf("Listening on %s:%s...\n", host.ip, host.port)
for {
conn, err := listener.Accept()
if err != nil {
log.Println("Failed to accept connection:", err)
continue
}
go handleConnection(c... | Go |
);
OS << ", ";
InstPrinter.printRegName(OS, SpReg);
if (Offset)
OS << ", #" << Offset;
OS << '\n';
}
void ARMTargetAsmStreamer::emitMovSP(unsigned Reg, int64_t Offset) {
assert((Reg != ARM::SP && Reg != ARM::PC) &&
"the operand of .movsp cannot be either sp or pc");
OS << "\t.movsp\t";
Inst... | C++ |
const cards = document.querySelectorAll('.seance-card');
cards.forEach(card => {
const rect = card.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
if (x >= 0 && x <= rect.width && y >= 0 && y <= rect.height) {
const g... | HTML |
1, 2, 1)
!$EV trig_pc_d(0,expr(@VA(.MAIN.IDLE_INTR_284)+4, 16, 16)) -> intp(1, 3, 1)
.word 0xa4022188 ! 534: ADD_I add %r8, 0x0188, %r18
.word 0x8e022ddc ! 534: ADD_I add %r8, 0x0ddc, %r7
.word 0xb0022130 ! 534: ADD_I add %r8, 0x0130, %r24
.word 0x88022500 ! 534: ADD_I add %r8, 0x0500, %r4
.word 0x82022108... | Assembly |
operator HDC() const { return m_hdc; }
private:
HDC m_hdc;
#if wxUSE_GRAPHICS_CONTEXT
Graphics* m_graphics;
#endif
};
int getTSStateForPart(wxScrollbarPart part, wxScrollbarPart focusPart, wxScrollbarPart hoverPart, int flags = 0)
{
int xpState = TS_NORMAL;
if (flags & wxCONTROL_DISABL... | C++ |
span class="formwrap">
<input size="30" oncut="" oncopy="" autocapitalize="off" autocorrect="off" aria-label="Password" placeholder="Password" id="password" type="password" name="password" required/>
</span>
<span class="input-msg show">
<a name="" type="submit" id="" href="forgot.html"><span>Forg... | HTML |
*string) k8s_io_apimachinery_pkg_fields.Selector {
start := time.Now()
logger := c.logger.WithValues("operation", "GetFieldSelector")
ret0 := c.inner.GetFieldSelector(arg0, arg1, arg2, arg3)
logger.Info("GetFieldSelector done", "duration", time.Since(start))
return ret0
}
func (c *withLogging) List(arg0 context.C... | Go |
CFG_WINDOW_Y);
assertThat(instance03.getInt(GAME_WINDOW_X)).as("game instance 03 window.x").isEqualTo(CFG_WINDOW_X);
assertThat(instance03.getInt(GAME_WINDOW_Y)).as("game instance 03 window.y")
.isEqualTo(CFG_WINDOW_Y + CFG_WINDOW_H);
assertThat(instance04.getInt(GAME_WINDOW_X)... | Java |
</div>\n <div class="code-group-wrapper custom-mb-12 custom-mt-12">\n <div class="code-group custom-mb-12 custom-mt-12">\n <div class="value js-redactor-wrapper">\n <textarea style="dis... | JavaScript |
astablecell:hover,.e-menu-wrap .e-chartcontent:hover{border-color:#4a5038}.e-spreadsheet .e-celltoparrow{border-color:#f00 transparent transparent}.e-spreadsheet .e-comment-txtarea{background-color:#f7fbbd;color:#000}.e-list.e-hdrcolor{background-color:#000 !important;color:#ddd !important}.e-list.e-color{border-color:... | CSS |
�芈名围,武王八代之孙。<br><br> 第十一镇,蔡灵公姓姬名般,蔡昭侯一十二代之孙。<br><br> 第十二镇,曹武公姓姬名滕,桓公一十二代之孙。<br><br> 第十三镇,陈衷公姓妫名弱,醒公一十三代之孙。<br><br> 第十四镇,滕悼公姓姬名宁。<br><br> 第十五镇,薛献公姓任名谷。<br><br> 第十六镇,许悼公姓姜名贾。<br><br> 第十七镇,莒国著丘公姓巳名去疾。<br><br> 楚灵王既与十七镇诸侯逐一相见,各序爵而坐。楚王曰:“秦伯奉天子圣旨会诸侯斗宝,约在三月朔旦取齐,今公等既至,合入潼关,不可违约,诸侯各个务要入关。”只有吴公子姬光两眼垂泪,不敢上马。灵公问其因由,光曰:“吾奉父命... | HTML |
ss).to.be.eq(true);
chai.expect(testClass.testMethod()).to.be.eq('test');
});
it('Injectable with a string identifier', () => {
@Injectable('TEST_CLASS')
class TestClass {
testMethod() {
return 'Boo! There is nothing to fear. - Paavo Lipponen';
}
... | Typescript |
ቴ ፄጊኮ ፄጊያ ፄጊዲ ፄጊዳ ፄጊዳይ ፄጊዳይሳታስ ፄጊዳይሳዳ ፄጊዶሶና ፄጋና ፄጋናው ፄጋይ ፄጋዳ ፄጌስ ፄጌቲስ ፄጌቲያ ፄጌቲዲ ፄጌቲዳ ፄጌቲዳይሳቲ ፄጌቲዳይሳታስ ፄጌታና ፄጌታናው ፄጌቴስ ፄጌቶፊቴ ፄጌይሳታ ፆሊንቱዋ ፆሊንቶ ፆሊንቶቲ ፆሊንቶታ ፆሊንቶታፔ ፆሊንቶይ ፆሚያ ፆሚዳፔኔ ፆማና ፆማናው ፆማን ፆማፔ ፆምፒዲ ፆምፔ ፆሞሶና ፆሞኮና ፆሲ ፆሳ ፆሳራ ፆሳሲኔ ፆሳሳ ፆሳስ ፆሳባ ፆሳታ ፆሳቴ ፆሳኔ ፆሳን ፆሳኮ ፆሳኮኔ ፆሳው ፆሳይ ፆሳይሳ ፆሳይኔ ፆሳይካ ፆሳፌ ፆሳፌኔ ፆሳፌዬ ፆሴ ፆኒስ ፆኒኮ ፆኒያ ፆኒዲ ... | HTML |
<section class="flexulator__items-container-buttons">
<button class="flexulator__items-container-grow-button" data-active="1">GROW</button>
<button class="flexulator__items-container-shrink-button" data-active="0">SHRINK</button>
</section>
</section>
</section>
... | HTML |
2.2%"
},
{
"37.6%",
"+2.4%"
},
{
"40.0%"
}
}
}
},
[104030] = {
desc_get = "",
name = "연결고리의 속박",
type = 3,
max_level = 10,
desc = "전투 시작 시 함대에 키즈나 아이가 편성되어 있으면, 키즈나 아이 캐릭터 갯수에 따라 자신의 포격이 $1 상승한다. (최대 4회 중첩) 만약 함대에 키즈나 아이가 편성되어 있지 않으면 전투 시작 시 자신의 받는 피해량 $2 감소한다. (30초간 ... | Lua |
-qa="action-Temporal"><button><span class="sc-1g43mk8-8 EDTem">Temporal</span><img alt="Expandir o contraer" class="sc-1g43mk8-2 bpQuuY" height="6px" src="https://img10.naventcdn.com/listado/RPLISv8.79.0-RC1/images/chevron-down.svg" width="10px"/></button><ul class="sc-1g43mk8-4 bTRbHq inactive false"><li data-qa="colu... | HTML |
x solid rgba(0,0,0,0.15);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}pre.prettyprint{margin-bottom:20px}pre code{padding:0;color:inherit;white-space:pre;white-space:pre-wrap;background-color:transparent;border:0}.pre-scrollable{max-height:340px;overflow-y:scroll}form{margin:0 0 20px}fieldset{padd... | HTML |
|PRE|13389|Z|118; Icecrown|N|From the Pulsing Crystal.|
T A Voice in the Dark|QID|13390|Z|118; Icecrown|N|To the little boy standing on the shore. His name Matthias Lehner is an anagram for "Arthas Menethil".|M|53.80,87.00|
A Time to Hide|QID|13391|PRE|13390|Z|118; Icecrown|N|From Matthias Lehner.|
C Time to Hide|QID|1... | Lua |
'+siteLocation,'/')}${a.directory}/ "${realRootPath}/web/site_${a.id}/webfile/"
<#if dynamicLocation=siteLocation>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://cmsproxy/%{REQUEST_URI} [P,L]
... | HTML |
aws-sdk-go/aws/session"
"github.com/awslabs/amazon-ecs-for-open-application-model/internal/pkg/cli"
"github.com/awslabs/amazon-ecs-for-open-application-model/internal/pkg/deploy/cloudformation"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/matchers"
"github.com/onsi/gomega/types"
)... | Go |
AA00 26526B10 */ addiu $s2, 0x6b10
/* 188A54 801DAA04 3C013FC0 */ li $at, 0x3FC00000 # 1.500000
/* 188A58 801DAA08 AD380098 */ sw $t8, 0x98($t1)
/* 188A5C 801DAA0C C6440000 */ lwc1 $f4, ($s2)
/* 188A60 801DAA10 44813000 */ mtc1 $at, $f6
/* 188A64 801DAA14 00000000 */ nop
/* 188A68 801DAA18 46062302 */ ... | Assembly |
.ComputeSubmergedArea_s_center.SetZero();
let p2: b2Vec2 = this.m_vertices[intoIndex2];
let p3: b2Vec2;
// An awkward loop from intoIndex2+1 to outIndex2
let i: number = intoIndex2;
while (i !== outoIndex2) {
i = (i + 1) % this.m_count;
if (i === outoIndex2)
p3 = outoVec;
... | Typescript |
PU_NO_USER_BKPT
if (*(uint16_t *)instruction_pointer(regs) != USR_BKPT) {
send_sig(SIGTRAP, current, 0);
return;
}
#endif
do_trap_error(regs, SIGILL, ILL_ILLOPC, regs->pc,
"Oops - illegal instruction exception");
}
asmlinkage void do_trap_fpe(struct pt_regs *regs)
{
#ifdef CONFIG_CPU_HAS_FPU
return fp... | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.