content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
-edit-icon{bottom:50%}}
/*# sourceMappingURL=skin.mobile.min.css.map */
/**
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
* Licensed under the LGPL or a commercial license.
* For LGPL see License.txt in the project root for license information.
* For commercial licenses see https://www.tiny.cloud/
*... | CSS |
.
// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_VIEWABLE_CPM" - Viewable CPM.
// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CUSTOM_ALGO" - Custom bidding
// algorithm.
// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_CIVA" - Completed inview and
// audible views.
// "BIDDING_STRATEGY_PERFORMANCE_GOAL_TYPE_IVO_TEN" - ... | Go |
(--statusbar-size));
}
#console-toggle-button {
display: inline-block;
}
/* Transitioning */
#console-output-wrapper::after {
transition: opacity 1s linear;
opacity: 0;
}
#console-output-wrapper:hover::after,
#console-output-wrapper.console-has-input-focus::after {
opacity: 1;
}
#console-output-area .mess... | CSS |
public override TagNode Copy ()
{
return new TagNodeDouble(_data);
}
/// <summary>
/// Gets a string representation of the node's data.
/// </summary>
/// <returns>String representation of the node's data.</returns>
public override string ToString ()... | C# |
namespace BossMod.Endwalker.Savage.P12S1Athena;
// TODO: for first instance, common strategy has tanks baiting everything and invulning - accomodate that
// TODO: for second instance, set forbidden baiters
class WhiteFlame(BossModule module) : Components.GenericBaitAway(module)
{
private bool _enabled;
privat... | C# |
InDown bounceInUp bounceInLeft bounceInRight
// Bouncing exits
// - bounceOut bounceOutDown bounceOutUp bounceOutLeft bounceOutRight
// Rotating entrances
// - rotateIn rotateInDownLeft rotateInDownRight rotateInUpLeft rotateInUpRight
// Rotating exits
// - rotateOut rotateOutDownLeft rotateOutDownRight rotateOutUpL... | CSS |
value = 0)
if ((ep == str) || (*ep != '\0') || (errno != 0))
{
throw runtime_error(IDBErrorInfo::instance()->errorMsg(ERR_INVALID_START_VALUE));
}
}
}
else
{
columnName = params;
}
autoincrement = true;
}
}
if (columnName.compare("") != 0)
{
//get rid of possible em... | C++ |
// Copyright (c) 2019 The Chromium Embedded Framework Authors. All rights
// reserved. Use of this source code is governed by a BSD-style license that
// can be found in the LICENSE file.
#ifndef JCEF_NATIVE_COOKIE_ACCESS_FILTER_H_
#define JCEF_NATIVE_COOKIE_ACCESS_FILTER_H_
#pragma once
#include <jni.h>
#include "in... | C |
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_FIND_IN_PAGE_CLIENT_H_
#define CONTENT_BROWSER_FIND_IN_PAGE_CLIENT_H_
#include "base/memory/raw_ptr.h"
#include "build/build_conf... | C |
ment:** Only use fields available since Android 8 ([#693](https://github.com/ReVanced/revanced-integrations/issues/693)) ([c0829c3](https://github.com/ReVanced/revanced-integrations/commit/c0829c3915b20f1ece5deac137d423c75f43074f))
## [1.14.1-dev.1](https://github.com/ReVanced/revanced-integrations/compare/v1.14.0...v... | Markdown |
oAAgYyAwcpUJSgBAgbLDxAgkBEwWJmqBC"
+ "VAwGD5AQIEMgIGK1OVoAQIGCw/QIBARsBgZaoSlAABg+UHCBDICBisTFWCEiBgsPwAAQIZAYOVqUpQAgQMlh8gQCAjYLAy"
+ "VQlKgIDB8gMECGQEDFamKkEJEDBYfoAAgYyAwcpUJSgBAgbLDxAgkBEwWJmqBCVAwGD5AQIEMgIGK1OVoAQIGCw/QIBARs"
+ "BgZaoSlAABg+UHCBDICBisTF... | Java |
ed(),
},
);
map.insert(
"simpleType:line-width-type".to_owned(),
PseudoEnumSpec {
members: vec | **POST** /v3/alipay/ebpp/invoice/enterpriseconsume/ent... | Markdown |
@At("HEAD"), remap = false, cancellable = true)
private static void onDrawDetails(String s1, String s2, int xpos, int ypos, int x, int y, FontRenderer var8, CallbackInfo ci) {
if (PlayerDataUtil.getClientDBCInfo() == null) {
return;
}
boolean isDrawingAttributes = (s1.contains... | Java |
return [path.join(__dirname, "../format/", file), isUnstable];
}),
);
// Here we add files that will not have the same AST after being formatted.
const unstableAstTests = new Map(
[].map((fixture) => {
const [file, isAstUnstable = () => true] = Array.isArray(fixture)
? fixture
: [fixture];
... | JavaScript |
Event", qtrt.FFI_TYPE_POINTER, this.GetCthis(), convArg0)
qtrt.ErrPrint(err, rv)
}
// /usr/include/qt/QtWidgets/qabstractspinbox.h:161
// index:0
// Protected virtual Visibility=Default Availability=Available
// [-2] void paintEvent(QPaintEvent *)
/*
Reimplemented from QWidget::paintEvent().
*/
func (this *QAbstract... | Go |
unc(b *testing.B) {
b.SetBytes(int64(8 * nRows * nCols * 2))
b.ResetTimer()
for i := 0; i < b.N; i++ {
leftSource := colexectestutils.NewChunkingBatchSource(testAllocator, sourceTypes, cols, nRows)
rightSource := colexectestutils.NewChunkingBatchSource(testAllocator, sourceTypes, cols, nRows)... | Go |
e)
{
_userIdentityService = userIdentityService;
_cargoCustomerService = cargoCustomerService;
}
public async Task<IActionResult> UserList()
{
var values = await _userIdentityService.GetAllUserListAsync();
return View(values);
}
... | C# |
import torch
import numpy as np
import matrix_utils
num = 10
original_matrix = torch.rand(num, num).to('cuda')
print(original_matrix.dtype)
indexs = torch.tensor([0,3,5,7,8], device='cuda')
target_matrix1 = original_matrix[indexs]
print(target_matrix1)
indexs = torch.tensor([0,3,5,7,8], device='cuda')
# target_matri... | Python |
offset = {},
canputonGrid = {},
can_trigger = {
0
},
interAction_group = {}
},
[24102] = {
can_rotate = 0,
describe = "「疲れたから寝るにゃ…おやすみにゃ…」",
gain_by = "",
type = 2,
dir = 0,
dorm_id = 0,
picture = "cafe/chuang2cf",
is_get_time_note = 0,
deblocking = 1,
effect = "",
is_3d_obj = 0,
ta... | Lua |
W))
return Q
def get_groundtruth_coco(coco_class, img_id):
anno_ids = coco_class.getAnnIds(imgIds=int(img_id))
anno = coco_class.loadAnns(anno_ids)
match_class = class_matching(coco_class)
anno = _preprocess_annotation_coco(anno, img_id, match_class, coco_class)
height, width = anno["im_... | Python |
, Prisma__ProfileClient<ProfileGetPayload<T>>>
/**
* Update one Profile.
* @param {ProfileUpdateArgs} args - Arguments to update one Profile.
* @example
* // Update one Profile
* const profile = await prisma.profile.update({
* where: {
* // ... provide filter here
* },
* data: {
... | Typescript |
eturn hasMaps = true;
},
},
);
return {hasMaps};
},
});
if (!chosenDoc) return;
menu.doClose();
const {$modalInner, doClose} = UiUtil.getShowModal({
title: `Select Map\u2014${chosenDoc.n}`,
isWidth100: true,
isHeight100: true,
isUncappedHeight: true,
});
$modalInner.app... | JavaScript |
import re
def to_sentence(words):
"""
将分词与词性标注结果转换为字符串模式。
"""
return ' '.join(f"{word}/{tag}" for word, tag in words)
NOUN_TAGS = {'n', 'nh', 'nl', 'ns', 'ni', 'nz'} # 名词集合
ADJ_TAG = 'a' # 形容词
VERB_TAG = 'v' # 动词
TIME_TAG = 'nt' # 时间名词
LOC_TAG = 'ns' # 地点名词
def rule_verb_object_relation(sentence... | Python |
"""
日志和统计相关路由
包括:签到日志查询、统计信息、定时任务配置、域名配置
"""
from flask import Blueprint, request, jsonify
import logging
from src.data.repositories.checkin_repository import CheckinLoggerDB
from src.data.repositories.config_repository import ConfigManager
# 创建蓝图
logs_bp = Blueprint('logs', __name__, url_prefix='/api')
@logs_bp.rou... | Python |
def f(str,toget):
if str.startswith(toget): return str[len(toget):]
else: return str | Python |
functions.
int numTypeParams(Member member) =>
member is Procedure && member.isFactory
? member.function.typeParameters.length
: 0;
/// Returns true if elements in [list] are in strictly increasing order.
/// List with duplicates is considered not sorted.
bool isSorted(List list) {
for (int i = 0... | Dart |
alidDirectory(t *testing.T) {
backend, clean := newBackend(t)
defer clean()
upload := &common.Upload{}
file := upload.NewFile()
upload.InitializeForTests()
// null byte looks like a good invalid dirname value ^^
backend.Config.Directory = string([]byte{0})
err := backend.RemoveFile(file)
require.Error(t, er... | Go |
24-.59-.24s-.43.08-.61.24L22.68 5.5c-.15.18-.23.38-.23.62zm.79 11.83c0 .23.09.44.26.63l.62.64c.21.21.41.31.62.31.19 0 .39-.1.58-.31.18-.18.27-.39.26-.61a.867.867 0 00-.26-.6l-.65-.66a.779.779 0 00-.57-.24c-.24 0-.44.08-.61.25-.16.16-.25.36-.25.59zm1.47-6.31c0 .22.08.42.24.58.16.16.36.24.58.24h2.04c.26 0 .47-.08.63-.23.... | Dart |
要冷水使得上部与下部之间存在温度差。**本质上,饮水鸟是一个热机,不需要其他动力,靠温度差驱动。**
我觉得,这真是热量转换为能量的一个绝佳演示。但是,除了这个玩具,没听说过有其他的实际应用。
我倒是看到过[一篇报道](https://www.cnn.com/2024/03/14/climate/drinking-bird-energy-power-gadgets-climate-intl/index.html) ,有人[提出](https://www.cell.com/device/fulltext/S2666-9986(24)00108-X),将饮水鸟做成发电机,利用温度差发电。虽然我猜测,发电效率一定很差,但如果实现了,一... | Markdown |
# Copyright 2018 eShares, Inc. dba Carta, Inc.
#
# 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 agr... | Python |
response.headers[headerCacheControl.toLowerCase()] = [
{
key: headerCacheControl,
value: `public, max-age=${defaultTimeToLive}`,
},
];
} else {
response.headers[headerCacheControl.toLowerCase()] = [
{
key: headerCacheControl,
... | JavaScript |
Resources
{
get
{
if (_page != null)
return _page.Resources;
return _form.Resources;
}
}
/// <summary>
/// Gets the size of this page or form.
/// </summary>
internal XSize Size
... | C# |
re.Equal(t, numCalled, 1)
return true // says to stop
})
require.NoError(t, err)
// test scan kv with early termination
iter, err = indexedMap.Indexes.Denom.MatchExact(ctx, "osmo")
require.NoError(t, err)
numCalled = 0
err = ScanKeyValues(ctx, indexedMap, iter, func(kv collections.KeyValue[collections.Pair[Ad... | Go |
Lightmaps();
GLM_PrepareWorldModelBatch();
GLM_PrepareAliasModelBatches();
renderer.Prepare3DSprites();
if (GL_FramebufferStartWorldNormals(framebuffer_std)) {
GLM_DrawWorldModelBatch(opaque_world);
GL_FramebufferEndWorldNormals(framebuffer_std);
GLM_DrawWorldOutlines();
}
else {
GLM_DrawWorldModelBatch(... | C |
0, 0x50, 0x14, 0xb4, 0x08,
0x52, 0x46, 0xc9, 0x03, 0x07, 0x45, 0xe4, 0x65, 0x6a, 0xf1, 0x0d, 0x22,
0xea, 0x07, 0x2a, 0x65, 0x47, 0x83, 0xbc, 0x6f, 0x4c, 0xd9, 0x81, 0x83,
0x89, 0xd7, 0x5e, 0x3b, 0xf5, 0x9e, 0x75, 0xeb, 0xce, 0x9b, 0xe0, 0xd1,
0x84, 0x6f, 0x9d, 0x48, 0x00, 0x44, 0x2c, 0x98, 0x0b, 0x05, 0xc4, 0x6... | Go |
ZXN0cmFz 42725
IFJ5 42726
0YHQtdGA 42727
INC/0L7QtNC+0LE= 42728
Lmdsb2JhbA== 42729
YmlsZHVuZw== 42730
INGC0L7QttC1 42731
IGZpZXI= 42732
aWtraQ== 42733
IHZlcnN0ZQ== 42734
IEludGVybmFjaW9uYWw= 42735
IGFubm90YXRpb24= 42736
Zml0cw== 42737
IGZyYWdy 42738
IGh2aXM= 42739
cmlv 42740
SXNzdWU= 42741
IGp1cnk= 42742
cmVhc29u 42743... | Kotlin |
constexpr size_t ByteCount = 23;
ASSERT_EQ(ByteCount, codeBytesSize());
constexpr uint8_t Rex_B = 0x41;
constexpr uint8_t PopOpcode = 0x58;
verifyBytes<ByteCount>(
codeBytes(), PopOpcode | Encoded_GPR_eax(), PopOpcode | Encoded_GPR_ebx(),
PopOpcode | Encoded_GPR_ecx(), PopOpcode | Encoded_GPR_edx()... | C++ |
object"));
addUnsupported(c, "write_float_to_i64_array", PRIMITIVE_LONG_ARRAY_1, 0, (float) Math.PI, expectPolyglotException("to foreign object"));
addUnsupported(c, "write_float_to_i64_array", PRIMITIVE_LONG_ARRAY_8, 0, (float) Math.PI, expectPolyglotException("to foreign object"));
... | Java |
5651|McCreary|Mercer|Menifee|Meade|McLean|9855|Henry|Fleming|Calloway|Campbell|Carlisle|Carroll|Caldwell|Butler|Breathitt|Bracken|Breckinridge|Floyd|Bullitt|Carter|Fayette|Cumberland|Crittenden|Daviess|Elliott|Edmonson|Clinton|Estill|Casey|Christian|Clark|Clay|Boyle|Franklin|Grayson|Green|Graves|Grant|Garrard|Greenup|H... | JavaScript |
}
match mem::replace(&mut self.tail, None) {
None => {
// The current list is empty, set head and tail to the other lists head and tail.
self.head = Some(Rc::clone(other.head.as_ref().unwrap()));
self.tail = Some(Rc::clone(other.tail.as_ref().... | Rust |
skbarMode = Stored.Get("/Appearance.FullscreenOverTaskbarMode", false);
public bool FullscreenOverTaskbarMode {
get => _fullscreenOverTaskbarMode.Value;
set {
if (Equals(value, _fullscreenOverTaskbarMode.Value)) return;
var toFix = value ? Application.Cu... | C# |
n = int(input())
a = list(map(int, input().split()))
ch = 0
bi = 0
ba = 0
for i, x in enumerate(a, start = 1):
if i%3 ==1:
ch += x
elif i%3==2:
bi += x
else:
ba += x
if ch == max(ch, bi, ba):
print("chest")
elif bi == max(ch, bi,ba):
print("biceps")
else:
print("back")
... | Python |
directly in the html window</li>
</ol>
<h3>Jekyll front-matter</h3>
<p>If you like, I can display Jekyll front-matter in a nice table. Just make sure you put the front-matter at the very beginning of the file, and fence it with <code>---</code>. For example:</p>
<pre><code>---
title: "Macdown is my friend"
date: 2014-... | Kotlin |
a @count nhiệm vụ',
'deleteTaskTip': 'Giữ các tệp đã tải về',
'delete': 'Xóa',
'newVersionTitle': 'Khám phá phiên bản mới @version',
'newVersionUpdate': 'Cập nhật ngay',
'newVersionLater': 'Sau',
'extensions': 'Tiện ích mở rộng',
'extensionInstallUrl': 'Liên kết cài đặt',
'extensionInsta... | Dart |
um_box.fill.fore_color.rgb = RGBColor(54, 69, 79) # 设置背景色为深色(灰蓝色)
# 设置编号框的边框颜色为透明
num_box.line.fill.background() # 设置编号框边框为透明
# 添加目录页(4个目录项)
def add_menu_4(self, image_path, menu_items):
slide = self.prs_new.slides.add_slide(self.slide_layout[6]) # 选择布局索引6
placeholde... | Python |
// Release them at the same time.
for (int i = 0; i < tasks.length; ++i) {
tasks[i].get();
}
Set<IOContext> resultSet = Sets.newIdentityHashSet();
for (int i = 0; i < results.length; ++i) {
assertTrue(resultSet.add(results[i])); // All the objects must be different.
}
}
@Test
pub... | Java |
/* Copyright 2018-2018 University Corporation for Atmospheric
Research/Unidata. */
/**
* Header file for dmode.c
* @author Dennis Heimbigner
*/
#ifndef NCURLMODEL_H
#define NCURLMODEL_H
/* Track the information from a URL that will help us
infer how to access the data pointed to by that URL.
*/
typedef stru... | C |
, EAS_I16 *pIncrement, EAS_U8 *pState)
{
EAS_I32 temp;
switch (*pState)
{
/* initial state */
case eEnvelopeStateInit:
*pState = eEnvelopeStateDelay;
*pValue = 0;
*pIncrement = pEnvParams->delayTime;
if (*pIncrement != 0)
retur... | C |
tunastake, pubKeyFortunastake))
{
printf("CActiveFortunastake::RegisterByPubKey() - Error upon calling SetKey: %s\n", errorMessage.c_str());
return false;
}
if(!GetFortunaStakeVinForPubKey(collateralAddress, vin, pubKeyCollateralAddress, keyCollateralAddress)) {
errorMessage = "coul... | C++ |
('macarron', 2, 2, 3, 4, 5, 6, 9, 1, 2, 'espana', 'madrid');
const salmon = new Fish('salmon', 5, 9, 3, 4, 5, 6, 9, 1, 2, 'escocia', 'escocia');
const tomate = new Vegetable('tomate', 4, 2, 3, 5, 21, 5, 6, 4, 5, 'escocia', 'escocia');
const arroz = new Cereal('arroz', 2, 2, 3, 4, 5, 6, 9, 1, 2, 'arroz', 'arroz');
cons... | Typescript |
Identifier = "abrupt-doctype-public-identifier"),
(cs.abruptDoctypeSystemIdentifier = "abrupt-doctype-system-identifier"),
(cs.cdataInHtmlContent = "cdata-in-html-content"),
(cs.incorrectlyOpenedComment = "incorrectly-opened-comment"),
(cs.eofInScriptHtmlCommentLikeText = "eof-in-script-html-comment-lik... | JavaScript |
0.5s linear;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content:... | CSS |
d warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if no... | Java |
ILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSIO... | C++ |
switch (character) {
case 'a' : System.out.print("Biryani"); break;
case 'b' : System.out.print("Chicken Fry"); break;
case 'c' : System.out.print("Cold Drink"); break;
default : System.out.print("Water");
} */
// Create a Calculator
/* Scanner s... | Java |
/*
$NiH: buffadd.c,v 1.11 2005/06/09 20:25:39 wiz Exp $
buffadd.c -- test cases for adding files from buffer
Copyright (C) 1999, 2003, 2005 Dieter Baron and Thomas Klausner
This file is part of libzip, a library to manipulate ZIP archives.
The authors can be contacted at <nih@giga.or.at>
Redistribution a... | C |
(
BuildContext context,
Widget child,
Size layoutSize,
Size size,
ScrollController horizontal,
ScrollController vertical,
) {
var widget = child;
if (layoutSize.width < size.width) {
widget = ScrollConfiguration(
behavior: ScrollConfiguration.of(context).copyWith(scrollba... | Dart |
import re
from django import template
register = template.Library()
CONSONANT_SOUND = re.compile(r'''one(![ir])''', re.IGNORECASE | re.VERBOSE) # noqa
VOWEL_SOUND = re.compile(
r'''[aeio]|u([aeiou]|[^n][^aeiou]|ni[^dmnl]|nil[^l])|h(ier|onest|onou?r|ors\b|our(!i))|[fhlmnrsx]\b''', re.IGNORECASE | re.VERBOSE
) # ... | Python |
pantor = CompanyUuid(name: 'Pantor', townId: stockholm.id!);
serverpod = await CompanyUuid.db.insertRow(session, serverpod);
systemair = await CompanyUuid.db.insertRow(session, systemair);
pantor = await CompanyUuid.db.insertRow(session, pantor);
// Citizens
var alex = CitizenInt(
name: 'Alex', compan... | Dart |
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EasyAbp.Abp.WeChat.Common.RequestHandling;
using EasyAbp.Abp.WeChat.Pay.Options;
using EasyAbp.Abp.WeChat.Pay.RequestHandling.Dtos;
using EasyAbp.Abp.WeChat.Pay.RequestHandling.Models;
using EasyAbp.Abp.WeChat.Pa... | C# |
< hbstop_offset || cnt < hstrt_offset || cnt >= hstop_offset) {
if (cnt >= draw_startoffset) {
if (cnt < hbstop_offset) {
buf1 += 4;
gbuf += 4;
} else {
*buf1++ = bgcolor;
*buf1++ = bgcolor;
*buf1++ = bgcolor;
*buf1++ = bgcolor;
*gbuf++ = gpix;
*gbuf++ = gpix;
*gb... | C++ |
// (c) Copyright 1986-2022 Xilinx, Inc. All Rights Reserved.
// (c) Copyright 2022-2024 Advanced Micro Devices, Inc. All rights reserved.
//
// This file contains confidential and proprietary information
// of AMD and is protected under U.S. and international copyright
// and other intellectual property laws.
//
// D... | C |
ceChoice1.setChoiceIntValues(null);
deviceChoice1.setChoiceFloatValues(null);
deviceChoice1.setOffsetNid(5);
deviceChoice1.setLabelString("Trig Mode:");
deviceChoice1.setChoiceItems(new String[]
{ "INTERNAL", "EXTERNAL" });
deviceChoice1.setUpdateIdentifier("");
deviceChoice1.setIdentifier("");
deviceFi... | Java |
ingChanged()
}
}
package org.piepmeyer.gauguin
import org.piepmeyer.gauguin.preferences.NightMode
import sergio.sastre.uitesting.robolectric.activityscenario.RobolectricActivityScenarioConfigurator
import sergio.sastre.uitesting.robolectric.config.screen.DeviceScreen
import sergio.sastre.uitesting.robolectric.conf... | Kotlin |
.TagNumber(6)
$core.bool hasPlayerArgs() => $_has(5);
@$pb.TagNumber(6)
void clearPlayerArgs() => $_clearField(6);
@$pb.TagNumber(6)
$1.PlayerArgs ensurePlayerArgs() => $_ensure(5);
}
class LegacyTopicFeedReply extends $pb.GeneratedMessage {
factory LegacyTopicFeedReply({
$core.Iterable<DynamicItem>? l... | Dart |
rver().
BindFlags(pflag.CommandLine).
RegisterObjectStore("velero.io/azure", newAzureObjectStore).
RegisterVolumeSnapshotter("velero.io/azure", newAzureVolumeSnapshotter).
Serve()
}
func newAzureObjectStore(logger logrus.FieldLogger) (interface{}, error) {
return newObjectStore(logger), nil
}
func newAzureVo... | Go |
* @param {string} requestSignature ID for the request (found in 'x-dv-sig-1'-header)
*
* @throws {@link InvalidRequestSignatureError} indicates that requestSignature was invalid for given appSecret.
*
* @example ```typescript
* validateRequestSignature("ptuQ0b0BskmLLxXsjjhH9Su8ozTvZl6Z/5/HlaORoRg=", "https://head... | Typescript |
);
}
void CByteStream::operator >> (uint8_t& data)
{
_ReadByte(&data, 1);
}
void CByteStream::operator >> (int16_t& data)
{
unsigned char buf[2];
_ReadByte(buf, 2);
data = (buf[0] << 8) | buf[1];
}
void CByteStream::operator >> (uint16_t& data)
{
unsigned char buf[2];
_ReadByte... | C++ |
rt org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Test;
import org.pentaho.di.core.KettleEnvironment;
import org.pentaho.di.core.Props;
import org.pentaho.di.junit.rules.RestorePDIEngineEnvironment;
import org.pentaho.di.trans.TransMeta;
import ... | Java |
both the edit and editing states of the contextual links toggle tab. */
.toolbar-icon-edit.toolbar-item {
color: #eee;
background-color: #0066a1;
background-image: linear-gradient(to bottom, #0066a1, #005b98);
text-shadow: 0 1px hsla(0, 0%, 0%, 0.5);
font-weight: 700;
-webkit-font-smoothing: antialiased;
}... | CSS |
6,2,31
dc.b "-",0
even
texte_plus_lumire
dc.w 6,2,31
dc.b "+",0
even
texte_moins_lumire
dc.w 6,2,31
dc.b "-",0
even
texte_valeur_rouge
dc.w 2,2,-1
dc.b "31",0
even
texte_valeur_vert
dc.w 2,2,-1
dc.b "63",0
even
texte_valeur_bleu
dc.w 2,2,-1
dc.b "31",0
even
texte_valeur_lumire
dc.w 2,2,-1
dc.b... | Assembly |
Context context, CancellationToken cancellationToken = default)
{
IList<TProducts> list = new List<TProducts>();
await foreach (var product in this.Traverse(sideEffectContext, relativeRoot, context, cancellationToken).ConfigureAwait(false))
{
list.Add(product)... | C# |
extra field
"""
if not self.extra:
return False
return "ig_story_ids" in self.extra
def get_ig_story_ids(self) -> list[str]:
"""Get the IG story IDs configured for this trigger.
Returns:
List of IG story IDs, empty list if not IG story trigger
... | Python |
-device-pixel-ratio:1.25),(min-resolution:120dpi){div.star-holder,div.star-holder .star-rating{background:url(../images/stars-2x.png?ver=20121108) repeat-x bottom left;background-size:21px 37px}.spinner{background-image:url(../images/spinner-2x.gif)}#bulk-titles div a,#bulk-titles div a:hover,#screen-meta-links a.show-... | CSS |
// MIT License - Copyright (c) Callum McGing
// This file is subject to the terms and conditions defined in
// LICENSE, which is part of this source code package
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using System.Text;
using BepuUtilities;
using LibreLancer.ContentEdit... | C# |
co de Metrô",
[176028] = "Banco de Metrô",
[176029] = "Banco de Metrô",
[176030] = "Banco de Metrô",
[176031] = "Banco de Metrô",
[176032] = "Banco de Metrô",
[176033] = "Banco de Metrô",
[176034] = "Banco de Metrô",
[176035] = "Banco de Metrô",
[176036] = "Banco de Metrô",
[176037] = "Banco de Metr... | Lua |
return "overlay: $s"
}
companion object {
@JvmField @JsOverlay val SOME_STRS = arrayOf("a", "b", "c")
@JvmStatic
@JsOverlay
fun overlayStaticFun(s: String): String {
return "static overlay: $s"
}
}
}
/*
* Copyright 2015 Google Inc.
*
* Licensed under the Apache License, Version ... | Kotlin |
сс имеет особое значение для Эрланга: все сообщения к внешней программе помечаются PID-ом подключенного процесса, и все сообщения от внешней программы посылаются ему-же.
Взаимоотношения между подключенным процессом `С` портом `Р` и внешним процессом операционной системы, показаны на Рисунке 12.1.
`ЭСИП (ERTS)` — Сист... | Markdown |
*/
SERVER_ERROR_INTERNAL_XML_RPC_ERROR = -32603,
/**
* start of reserved range for
* application error codes
*/
APPLICATION_ERROR = -32500,
/**
* start of reserved range for
* system error codes
*/
SYSTEM_ERROR = -32400,
/**
* start of reserved range for
* transport error c... | Typescript |
Hello, world!',
},
output: 'Hello, world!',
},
{
name: 'Address',
input: {
type: 'Address',
value: '0x1234',
},
output: '0x1234',
},
{
name: 'Array',
input: {
type: 'Array',
value: [
{
type: 'Int16',
value: '123',
},
... | Typescript |
64 32 32 0 1 0 0 64zm144-32a32 32 0 1 0 -64 0 32 32 0 1 0 64 0zm80 32a32 32 0 1 0 0-64 32 32 0 1 0 0 64z"],"face-grin-squint":[512,512,[128518,"grin-squint"],"f585","M464 256A208 208 0 1 0 48 256a208 208 0 1 0 416 0zM0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm349.5 52.4c18.7-4.4 35.9 12 25.5 28.1C350.4 374.6 306.3 ... | JavaScript |
angul_NieunJieuj = 0xea5
XK_Hangul_NieunHieuh = 0xea6
XK_Hangul_Dikeud = 0xea7
XK_Hangul_SsangDikeud = 0xea8
XK_Hangul_Rieul = 0xea9
XK_Hangul_RieulKiyeog = 0xeaa
XK_Hangul_RieulMieum = 0xeab
XK_Hangul_RieulPieub = 0xeac
XK_Hangul_RieulSios = 0xead
XK_Hangul_RieulTieut = 0xeae
XK_Hangul_RieulPhieuf = 0xeaf
XK_Hangul_Ri... | Lua |
("Drawing flowchart"),n.db.clear(),vi.setGen("gen-2"),n.parser.parse(t);let i=n.db.getDirection();i===void 0&&(i="TD");const{securityLevel:s,flowchart:a}=$(),o=a.nodeSpacing||50,l=a.rankSpacing||50;let u;s==="sandbox"&&(u=St("#i"+e));const d=St(s==="sandbox"?u.nodes()[0].contentDocument.body:"body"),f=s==="sandbox"?u.n... | JavaScript |
x = 0f,
y = 0f
).build()!!
assertContentEquals(
expected = glyphs,
actual = textBlob.glyphs
)
// We don't make assertions because bounds vary on platforms. So at least ensure this doesn't throw an exception.
val bounds = textBlob.bounds
}... | Kotlin |
(pointRelativeToPlane)
const positiveIfSignsSame = this.upSign * pointProjectedOntoNormal
// The equal to zero part is trying to be a little more inclusive
return positiveIfSignsSame >= 0
}
}
/**
* Calculate an array of coordinates representing the slanted plane... | Typescript |
Count(): Int = 2
override fun getRowCount(): Int = inheritedModuleFilterList.size
override fun getValueAt(rowIndex: Int, columnIndex: Int): Any {
if (rowIndex !in 0 until rowCount) {
throw IndexOutOfBoundsException("Row $rowIndex out of bounds")
}
val inheritedModuleFilter ... | Kotlin |
ntent-body [contentEditable=false] [contentEditable=true]:focus{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false] [contentEditable=true]:hover{outline:3px solid #b4d7ff}.mce-content-body [contentEditable=false][data-mce-selected]{cursor:not-allowed;outline:3px solid #b4d7ff}.mce-content-body.mce-conte... | JavaScript |
!= null) 'choline_mg': cholineMg,
if (betaineMg != null) 'betaine_mg': betaineMg,
if (retinolMcg != null) 'retinol_mcg': retinolMcg,
if (caroteneBetaMcg != null) 'carotene_beta_mcg': caroteneBetaMcg,
if (caroteneAlphaMcg != null) 'carotene_alpha_mcg': caroteneAlphaMcg,
if (lycopeneMcg != n... | Dart |
:#89e5b0;
}
fieldset[name="RadioCheckSwitch"] .form-block .input-field.type-success .icheckbox_billevo.checked{
background-color:#27ae60;
}
fieldset[name="RadioCheckSwitch"] .form-block .input-field.type-success .icheckbox_billevo.hover{
border-color:#27ae60;
}
fieldset[name="RadioCheckSwitch"] .form-block .input-f... | CSS |
я"
default:
return ""
}
}
@Authorized(true)
@Query(() => [BookingType])
async getBookings() {
return await Booking.find({})
.populate(["procedures", "user"])
.lean()
}
@Authorized()
@Query(() => AvailableDaysResponse)
async getAvailableDays() {
const working_hours... | Typescript |
if ( ok )
QMessageBox::information( mainWindow(), tr( "Check Accelerators" ),
tr( "No accelerator is used more than once." ) );
}
void FormWindow::raiseWidgets()
{
QWidgetList widgets;
QPtrDictIterator<WidgetSelection> it( usedSelections );
for ( ; it.current(); ++it )
widgets.append( it.current()-... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.