content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
->
3. Built-in IMU for sleep detection
<!-- PD协议芯片使用CH224K -->
4. PD protocol chip uses CH224K
<!-- MOSFET支持30V 12A -->
5. MOSFET supports 30V 12A
<!-- MCU使用ESP32 S2 FH4 -->
6. MCU uses ESP32 S2 FH4
<!-- 电源输入使用功率加强的USB-C接口 -->
7. The power input uses a power-enhanced USB-C interface
<!-- 定制的4欧姆内阻的烙铁头 -->
8. Customized ... | Markdown |
�なる異端者は、他種族の詮索に付き合う無駄な時間をあいにく持ち合わせていないが、君は、我々に拾われた幸運をもっと素直に喜ぶべきだな。瀕死の君を回復させることは、ここにいるラーネイレ以外の何者にも不可能だっただろう。なにせ彼女はエレアの…",
_3 = "ロミアス、喋りすぎよ。たとえ意識の朦朧とした怪我人が相手だとしても。",
_4 = "…そうだな。私の悪い癖だ、わかってはいる。…さて、{$1}といったな、",
},
tutorial = {
before = {
... | Lua |
ntouched.
</dd>
<dt>CopyOpacity</dt>
<dd>The resulting image is the opacity channel in <em>base-image</em> replaced
with the opacity channel in <em>change-image</em>. The other channels are
copied untouched.
</dd>
<dt>CopyCyan</dt>
<dd>The resulting image is the cyan channel in <em>base-image</em> replaced
with the cya... | HTML |
hover,\r\n .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus {\r\n color: #444;\r\n background-color: transparent;\r\n }\r\n}\r\n.navbar-inverse .navbar-link {\r\n color: #777;\r\n}\r\n.navbar-inverse .navbar-link:hover {\r\n color: #fff;\r\n}\r\n.navbar-inverse .btn-link {\r\n color: #7... | JavaScript |
.byte $B3, $C0, $00 ; Apple //e (enhanced)
.byte $B3, $C0, $BF, $00 ; Apple //c
.byte $B3, $C0, $BF, $00 ; Apple //c (3.5 ROM)
.byte $B3, $C0, $BF, $00 ; Apple //c (Mem. Exp.)
.byte $B3, $C0, $BF, $00 ; Apple //c (Rev. Mem. Exp.)
.byte $B3, $C0, $BF, $00... | Assembly |
return {
"obsidian-nvim/obsidian.nvim",
version = "*", -- recommended, use latest release instead of latest commit
lazy = true,
ft = "markdown",
-- Replace the above line with this if you only want to load obsidian.nvim for markdown files in your vault:
-- event = {
-- -- If you want to use the home shortcut '... | Lua |
verProvider.configure(databaseFactory)
driverFactory = FixedDriverFactory(DatabaseDriverProvider)
val knownRandom = { MyRandom() }
// Set the global random builder.
oldRandomBuilder = RandomBuilder
RandomBuilder = { knownRandom() }
}
@After
fun tearDown() = runBlockingTest {
databaseFac... | Kotlin |
l` if not found.
*/
Widget.getNestedEditable = function( guard, node ) {
if ( !node || node.equals( guard ) )
return null;
if ( Widget.isDomNestedEditable( node ) )
return node;
return Widget.getNestedEditable( guard, node.getParent() );
};
/**
* Checks whether the `node` is a widget's drag handle... | JavaScript |
age: &mut dyn Storage,
collateral_token: &CanonicalAddr,
whitelist_elem: &WhitelistElem,
) -> StdResult<()> {
let mut whitelist_bucket: Bucket<WhitelistElem> = Bucket::new(storage, PREFIX_WHITELIST);
whitelist_bucket.save(collateral_token.as_slice(), whitelist_elem)?;
Ok(())
}
pub fn read_whitelis... | Rust |
UM4oK1WoM+lIJb2oPnawORKsUxqYxYsXV+gA9CRw6NChTs+Q6h08eFAQ1tjY2L9hrLNUq1AltfWqarXRrHgxXxmIGkCXm+/atSud0k+ymSlTprgFYuDAgTwjI4NnZWXxFStWOKgZFelOnTol3hccHDxWgqAD1iak2koANJeXWJVXyLYrgbKIfoN65I8ZM2YCbOZfRCMoh3GVT2iNDoni4+PFleb279+fRUdHOzBq4luUSMEpWCRd0nqJXIPdKBC6C4TpwBRSdAXtfpqWlnaCCB2xU4rArhpRcUqTQ0NDWXZ29isQ01fEaiFJ9s033whg... | CSS |
CDialogue) {
val anim = getAnimName(front.animation)
builder.append("\tnpc").append("<").append(anim).append(">").append("(")
if (npc != front.npc) {
builder.append(getNpcName(front.npc!!)).append(", ")
}
builder.append("\"").append(front.text)... | Kotlin |
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2020 Intel Corporation
*/
#ifndef __I915_GEM_GTT_H__
#define __I915_GEM_GTT_H__
#include <linux/io-mapping.h>
#include <linux/types.h>
#include <drm/drm_mm.h>
#include "gt/intel_gtt.h"
#include "i915_scatterlist.h"
struct drm_i915_gem_object;
struct i915_addres... | C |
stats = self.post(h) * x_mask
if not self.mean_only:
m, logs = torch.split(stats, [self.half_channels] * 2, 1)
else:
m = stats
logs = torch.zeros_like(m)
if not reverse:
x1 = m + x1 * torch.exp(logs) * x_mask
x = torch.cat([x0, x... | Python |
gcaption>
</figure>
<p>支持作者,可以加入作者的小密圈:</p>
<figure>
<img src="assets/article/prelude/xiaomiquan.jpg" alt="小密圈" /><figcaption>小密圈</figcaption>
</figure>
<p>或者转账:</p>
<figure>
<img src="assets/article/prelude/alipay.png" alt="支付宝" /><figcaption>支付宝</figcaption>
</figure>
<figure>
<img src="assets/article/prelude/wechat-... | HTML |
metrics?.shutdown()
metrics = null
}
override fun sendResourcePack(player: HudPlayer) {
PackUploader.server?.let {
(player.handle() as Player).sendResourcePackOffer(proxyServer.createResourcePackBuilder(it.url)
.setHash(it.digest)
.setId(it.uuid)
... | Kotlin |
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
/* 文字基本颜色 */
$uni-text-color:#333;//基本色
$uni-text-color-inverse:#fff;//反色
$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable:#c0c0c0;
/* 背景颜色 */
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8;
$uni-bg-col... | CSS |
</li>
<li>På flere <strong>erstattere (modifiserte maler)</strong> med samme<strong>Orginal mal</strong> og den samme <strong>valgfrie URL
nøkkel ord</strong> vil kun den siste erstatteren være aktiv.</li>
<li>Velg bort <strong>alternativ URL nøkkel ord</strong> vil aktivere erstatteren på hvem som helst mal i ... | HTML |
:none}.widget-3 .pg-map{font-size:30px}.widget-3 .widget-3-fav{background:rgba(0,0,0,.07);vertical-align:middle;padding:6px 11px;display:block}.widget-4 .row-sm-height:nth-child(1){height:30px}.widget-4 .row-sm-height:nth-child(2){height:30px}.widget-4-chart{height:100%;width:100%;bottom:0;position:absolute;left:0}.wid... | CSS |
}
/// 起動時のアップデートチェック(サイレント)
Future<EnhancedAppUpdateInfo?> checkForUpdateOnStartup(
String currentVersion,
String owner,
String repo,
) async {
try {
final releaseInfo = await getLatestReleaseInfo(owner, repo, silent: true);
if (releaseInfo != null &&
isUpdateAvailable(cur... | Dart |
} borderFilter;
borderFilter.vmask = predmaskInit;
borderFilter.smask[VLEN-6] = 0;
borderFilter.smask[VLEN-5] = 0;
borderFilter.smask[VLEN-4] = 0;
borderFilter.smask[VLEN-3] = 0;
borderFilter.smask[VLEN-2] = 0;
borderFilter.smask[VLEN-1] = 0;
for(int j = 3 + loopOffset; j < height-3 + ... | C++ |
0x67, 0xfd, 0x1a, 0xf0, 0x1f, 0x68, 0xdf, 0x78, 0x06, 0x39, 0x8f, 0x9d, 0x34, 0x20, 0x96, 0x01, 0xdb, 0xd0, 0x3b, 0xfa, 0xcf, 0x88, 0x45, 0x7b, 0x06, 0xb7, 0xbd, 0xdd, 0x85, 0x85, 0xdc, 0x0e, 0x4b, 0xb0, 0x97, 0x92, 0x8c, 0x78, 0xb8, 0x5e, 0x1c, 0xac, 0x89, 0xad, 0xc5, 0xe8, 0x99, 0xbd, 0x84, 0xff, 0x00, 0xe2, 0x02, 0... | HTML |
namespace TypinExamples.Infrastructure.TypinWeb.Console.IO
{
using System;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using TypinExamples.Application.Handlers.Commands.Terminal;
using TypinExamples.Infrastructure.WebWorkers.Abstractions;
p... | C# |
Layer! as OffsetLayer;
final ui.Image image = layer.toImageSync(renderObject.paintBounds);
if (element.renderObject is RenderBox) {
final expectedSize = (element.renderObject as RenderBox?)!.size;
if (expectedSize.width != image.width ||
expectedSize.height != image.height) {
// ignore: avoid... | Dart |
--[[
Unittest
This program acts as a unittest by testing all
of draft's shapes and linkers.
--]]
-- load draft
local Draft = require('draft')
local draft = Draft()
function love.draw()
-- getters and setters
love.graphics.setColor{255, 255, 255}
local y = 100
draft:setMode('fill')
love.graphics.print("The c... | Lua |
}
/* Abort */
.taskAbortGridRow,
.taskAbortGridRowDark,
.taskAbortGridRowOver,
.taskAbortGridRowOverDark,
.taskAbortGridRowSelected,
.taskAbortGridRowSelectedDark,
.taskAbortGridRowSelectedOver,
.taskAbortGridRowSelectedOverDark,
.taskAbortGridRowDisabled,
.taskAbortGridRowDisabledDark {
background-color:#FFCCCC;
bo... | CSS |
= this.isPreferred = function(contentType, isContentPreferred, desiredContentType) {
if(Zotero.isConnector) return false;
return !!_typeHandlers[contentType.toLowerCase()];
}
/**
* Called to begin handling a content type
*/
this.doContent = function(contentType, isContentPreferred, request, conten... | JavaScript |
#
# This file is part of the Chemical Data Processing Toolkit
#
# Copyright (C) Thomas Seidel <thomas.seidel@univie.ac.at>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# versi... | Python |
ent size format: "$style"');
}
}
static int _styleToPixels(String style, num size, num parentSize) {
if (style == 'none') {
// For an unset max-content size, use the actual size
return size;
}
if (style.endsWith('%')) {
num percent = double.parse(style.substring(0, style.length - ... | Dart |
Prefetch(seqid);
}
int32_t DataPageAccessConcurrentClient::send_RpcFilePrefetch(const _File _fd, const _Off_t _offset, const int32_t _amount, const int32_t wait_event_info)
{
int32_t cseqid = this->sync_->generateSeqId();
::apache::thrift::async::TConcurrentSendSentry sentry(this->sync_.get());
oprot_->writeMess... | C++ |
approved for
err = p.removeSpendLimitOrDeleteAuthorization(ctx, grantee, granter, authorization, expiration)
amount = common.Big0
case subtractedValue != nil && allowance.Sign() == 0:
// case 5. subtractedValue positive but no allowance for given denomination -> return error
err = fmt.Errorf(ErrNoAllowanceFor... | Go |
,U+04cf-04d9,U+04dc-04df,U+04e2-04e9,U+04ee-04f5,U+04f8-04f9}@font-face{font-family:"IBM Plex Serif";font-style:italic;font-weight:700;src:local("IBM Plex Serif Bold Italic"),local("IBMPlexSerif-BoldItalic"),url(../IBM-Plex-Serif/fonts/split/woff2/IBMPlexSerif-BoldItalic-Pi.woff2) format("woff2");unicode-range:U+0e3f,U... | CSS |
});
function serveLocalFile(req, res) {
var filePath = '.' + req.url.replace(/\?.*$/g, '');
if (filePath === './') filePath = FILE;
const extname = String(path.extname(filePath)).toLowerCase();
const contentType = mimeTypes[extname] || 'application/octet-stream';
fs.readFile(filePath, 'utf-8', (e... | HTML |
реса",url:"Внесете правилен URL.",date:"Внесете правилен датум",dateISO:"Внесете правилен датум (ISO).",number:"Внесете правилен број.",digits:"Внесете само бројки.",creditcard:"Внесете правилен број на кредитната картичка.",equalTo:"Внесете ја истата вредност повторно.",extension:"Внесете вредност со соодветна екстенз... | JavaScript |
80.3-7.2c50.6-15.6 106.6-50.3 156.4-100.1s84.5-105.8 100.1-156.4c8.9-28.7 11.7-56.4 7.2-80.3zm-86.3 8.8c3.9 3.9 6.7 10.4 6.7 21.3c-.1 10.9-3.2 24.9-9.9 41.1c-13.3 32.4-39.6 71-75.9 107.3S175.4 312.9 143 326.3c-16.2 6.7-30.2 9.8-41.1 9.9c-10.8 .1-17.4-2.8-21.3-6.7s-6.7-10.4-6.7-21.3c.1-10.9 3.2-24.9 9.9-41.1c13.3-32.4 ... | JavaScript |
subTotal-(subTotal*descuento);
this.precioConDescuento=this.dosDecimales(this.precioConDescuento);
var valor=this.dosDecimales(this.precioConDescuento);
// alert(valor);
return valor;
}
this.precioConDescuento=(this.cantidad*this.precioVenta);
this.... | Typescript |
C++ standard library containers and views: non-owning
views over mutable containers are inherently unsafe for concurrent use. If
you need a thread-safe snapshot, copy the keys into a container under lock.
### Example Usage
The basic usage of KeysView to iterate over keys in the cache is obvious, but
h... | C |
aselines/rgb16-color-photographic.png"/> | `rgb16` | 477,784 B |
| `rgb16-monochrome-nonphotographic.png` <br/> <img src="../Tests/Baselines/rgb16-monochrome-nonphotographic.png"/> | `rgb16` | 244,077 B |
| `rgb16-color-nonphotographic.png` <br/> <img src="../Tests/Baselines/rgb16-c... | Markdown |
using Dpr.MsgWindow;
using System;
namespace Dpr.DigFossil
{
public class DigMessage : IDigMessage
{
// TODO
public void ShowStartMessage(int depositNum, Action onFinishedShowAllMessage, Action onFinishedCloseWindow) { }
// TODO
public void ShowResultMessage(bool bIsDigOutAllItems, Action onFinishedShowAl... | C# |
"""Container package for Python modules related to Adblock Plus.
- abp.filters - Tools for working with Adblock Plus filter lists.
"""
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
| Python |
// having below-base forms and following the base consonant.
// The exception is vattu, which may appear below half forms
// as well as below the base glyph. The feature 'below-base
// form' will be applied to all such occurrences of Ra as well."
//
// Test case: U+0924,U+094D,U+0930,U+094... | JavaScript |
end
if k%10==0 then print(string.format('testing... %d/%d', k, #TestData)) end
end
assert(n==#TestData*2, 'please check the data')
for _,kval in pairs(kvals) do
print(string.format('%6.4f', correct[kval]/n*100.0))
end
end
ExtractImg(opt.split, {num_images = opt.num_images})
Retrieval(opt.split... | Lua |
icker--small[data-v-cbefbfd2]{height:auto}.el-form-item__content .el-color-picker--small .el-color-picker__trigger[data-v-cbefbfd2]{width:32px;height:32px}.el-form-item__content .el-color-picker--small .el-color-picker__trigger span[data-v-cbefbfd2]{margin:0!important}.el-select.el-select--small[data-v-cbefbfd2]{height... | JavaScript |
/>
<label class="mailpoet_hp_email_label" style="display: none !important;">Bitte dieses Feld leer lassen<input type="email" name="data[email]"/></label><div class="mailpoet_paragraph "><label for="form_email_2" class="mailpoet-screen-reader-text" data-automation-id="form_email_label" >E-Mail <span class="mailpo... | HTML |
# Licensed to the Software Freedom Conservancy (SFC) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The SFC licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not... | Python |
font-size:3.19rem;
padding-left:1.276rem;
}
.desktop\:usa-icon-list--size-3xl .usa-icon-list__content .usa-icon-list__title{
font-family:Merriweather Web, Georgia, Cambria, Times New Roman, Times, serif;
font-size:2.93rem;
}
}
.usa-icon-list__title{
font-family:Merriweather Web, Georgia, Cambri... | CSS |
imapAngle]
val minimapX = ((cosine * minimapWidth) + (sine * minimapHeight)) shr 11
val minimapY = ((cosine * minimapHeight) - (sine * minimapWidth)) shr 11
val localX = (minimapX + fineX) shr 7
val localY = (fineZ - minimapY) shr 7
val calculatedDestX = (baseZoneX shl 3) + local... | Kotlin |
rKey);
if (baseUrl == null || baseUrl.isEmpty) {
throw Exception("Failed to get base URL for $_providerKey");
}
final bool isTv = options.season != null && options.episode != null;
final String path = isTv ? "/tv/${options.tmdbId}/${options.season}/${options.episode}" : "/movie/${option... | Dart |
// <auto-generated />
namespace MyTelegram.Schema.Account;
///<summary>
/// Sensitive content settings
/// See <a href="https://corefork.telegram.org/constructor/account.contentSettings" />
///</summary>
[TlObject(0x57e28221)]
public sealed class TContentSettings : IContentSettings
{
public uint ConstructorId =>... | C# |
HiveModel read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return BatchHiveModel(
batchId: fields[0] as String?,
batchName: fields[1] as String,
);
}
@ov... | Dart |
, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712, 2.8659712,... | HTML |
form .icon-button.stop-button {
width: 36px;
height: 36px;
}
}
@media (max-width: 480px) {
.main {
padding: 12px;
}
.chat-section,
.computer-section {
padding: 16px;
min-height: 350px;
}
.header h1 {
font-size: 1.5rem;
}
.message {
padding: 10px 14px;
font-size: 0.9... | CSS |
ssize_t r = socket.send(bl, false);
if (r == 0)
break;
std::cerr << " client " << this << " send " << m->idx << " len " << r << " content: " << std::endl;
ASSERT_TRUE(r >= 0);
write_offset += r;
if (write_offset == m->content.size()) {
write_offset = 0... | C++ |
November 2009 Archive by author</title>
<META NAME="robots" CONTENT="noindex,follow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
</HEAD>
<BODY BGCOLOR="#ffffff">
<a name="start"></A>
<h1>November 2009 Archives by author</h1>
<ul>
<li> <b>Messages sor... | HTML |
NSString *accessGroup;
/**
* Fetches all of the stored items for the given query.
* If the returned array is nil it indicates that an error
* has occurred and the error parameter will be set. If no
* items are found an empty array will be returned.
*
* The query results will depend on the specificity of the quer... | C |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace VelocityGraph.Frontenac.Blueprints.Util
{
/// <summary>
/// This is a helper class for filtering an IEnumerable of elements by their key/value.
/// Useful for Graph implementations that do no sup... | C# |
nt,
order: [['id', 'DESC']],
where: { is_patient: true, ubs: req.body.data.id_patient },
},
],
order: [['updatedAt', 'DESC']],
})
const values = response.filter(function (a) {
return !this[a.id_paciente] && (this[a.id_paciente] = true)
}, Object.create(null))
const PacientPosi... | Typescript |
_2022년12월31일기준.csv', encoding='cp949')
# 시도명과 시군구명을 분리하여 새로운 컬럼 생성
school['CTPRVN_NM'] = school['도로명주소'].str.split().str[0]
school['SIGNGU_NM'] = school['도로명주소'].str.split().str[1]
# 시도별, 시군구별 초등학교 수 계산
school_cnt = school.groupby(['CTPRVN_NM', 'SIGNGU_NM']).size().reset_index(name='초등학교 수(어린이 문화시설 접근성 지수)')
school_c... | Python |
ueue`);
} else {
try {
await this.addImageUrl(imageUrl);
await message.channel.send(`Added ${imageUrl} to Dynamic Banner queue`);
} catch(e) {
await message.channel.send(e.message);
}
}
... | Typescript |
oreQueueStatusEnum _Restoring = GetEnum("Restoring");
#endregion
#region Public Static Properties
/// <summary>
/// Pending
/// </summary>
public static RestoreQueueStatusEnum Pending
{
get { return _Pending; }
}
/// <summary>
/// In Progress
... | C# |
вления пагинацией в API просмотра. Может быть переопределено для изменения стиля рендеринга или установлено в `None` для полного отключения HTML элементов управления пагинацией. По умолчанию используется `"rest_framework/pagination/previous_and_next.html"`.
---
# Пользовательские стили пагинации
Чтобы создать собств... | Markdown |
"markov-model v{}: {}",
env!("CARGO_PKG_VERSION"),
env!("GIT_HASH")
);
} else {
let pm_arc = Arc::new(matrix(c.probability.clone(), 3, 3, Row));
let init_v: Arc<Matrix> = Arc::new(zeros(1, 3));
let rewards: Arc<Matrix> = Arc::new(matrix(c.rewards.clone(), 1,... | Rust |
rib;
}
/*
==================
CON_CtrlHandler
The Windows Console doesn't use signals for terminating the application
with Ctrl-C, logging off, window closing, etc. Instead it uses a special
handler routine. Fortunately, the values for Ctrl signals don't seem to
overlap with true signal codes that Windows provides, ... | C++ |
on:none}.note-modal-footer a:hover,.note-modal-footer a:focus{color:#23527c;text-decoration:underline}.note-modal-footer .note-btn{float:right}.note-modal-title{font-size:20px;color:#42515f;margin:0;line-height:1.4}.note-modal-backdrop{position:fixed;left:0;right:0;bottom:0;top:0;z-index:1040;background:#000;-webkit-op... | CSS |
terre, Les Indy sont en tete d'affiche.
Mais leur savoir-faire est vraiment impressionnant.
Deu, mais content quand meme, j'ai profit de mon temps libre pour vister, en bon touriste suisse que je suis, les recoins cachs de Londres. C'est une ville trs chouette, mais le nombre de "Homeless" est impressionant, pire qu'... | HTML |
/* GTK+ - accessibility implementations
* Copyright 2001 Sun Microsystems Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... | C |
交申请,提供相关材料,包括企业资质、生产场所和<a href="http://www.to3158.cn/tags-s-b.html" target="_blank" class="relatedlink">设备</a>等<a href="http://www.to3158.cn/tags-x-x.html" target="_blank" class="relatedlink">信息</a>。 <a href="http://www.to3158.cn/tags-s-j65e7056609ec4.html" target="_blank" class="relatedlink">设计</a>和建设合格的生产场所:确保生产场所符合卫... | HTML |
Hôte du point de terminaison non valide\x02L’adresse IPv6 doit être" +
" contenue entre des crochets\x02MTU non valide\x02Port non valide\x02Kee" +
"palive non valide\x02Clé non valide : %[1]v\x02Clés doivent être décodée" +
"s sur 32 octets\x02Deux virgules consécutives\x02Nom du tunnel non valid" +
"e\x02Une lign... | Go |
tSupportedPlatformNames())
Expect(err).ToNot(HaveOccurred())
existingBrokerServer.Catalog = common.SBCatalog(catalog)
plan := ctx.SMWithOAuth.ListWithQuery(web.ServicePlansURL, fmt.Sprintf("fieldQuery=catalog_name eq '%s'", oldPublicPlanCatalogName))
plan.Path("$[*].metadata.supportedPlatformNames").NotN... | Go |
{
const config = component('WithVariants' as any, 'h1').get();
const tag = component('WithVariants' as any, 'h1').getTag();
const variants = component('WithVariants' as any, 'h1').getVariants();
const props = component('WithVariants' as any, 'h1').getProps();
const style = component('WithVariants' a... | Typescript |
.GetByteArrayAsync(audioUrl);
var (waveform, durationSecs) = await GenerateWaveformFromAudioBytesAsync(audioBytes);
using var multipartContent = new MultipartFormDataContent();
var audioContent = new ByteArrayContent(audioBytes);
audioContent.Headers.ContentType = new MediaTypeHeaderV... | C# |
= Build.SUPPORTED_ABIS[0];
switch (primaryAbi) {
case "x86_64":
return MIN_MEM_X86_64;
case "arm64-v8a":
case "arm64-v8a-hwasan":
return MIN_MEM_ARM64;
}
throw new AssertionError("Unsupported ABI: " + primaryAbi);
}
}
4 9
!... | Java |
min-width: 750px;
}
.kgapidoc table.command thead td {
text-align: right;
vertical-align: bottom;
}
.kgapidoc table.response thead td, .kgapidoc table.event thead td {
text-align: left;
vertical-align: baseline;
}
.kgapidoc table.command thead td img {
display: block;
float: left;
}
.kgapidoc ta... | HTML |
决二元分类问题以及多类和多标签问题的相当直观和实用的方法。
在列表 4.7 中,我们复制了与线性回归相同的方法——这次尝试构建一个模型来猜测一个示例的目标值是否高于中位数。请注意,变换是相同的,尽管这次我们使用了逻辑回归模型。我们的目标是判断目标值是否高于中位数的类别。这样的目标是一个二元平衡结果,其中标签的一半是正的,一半是负的。
列表 4.7 逻辑回归
```py
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import make_scorer, accuracy_scorehttps://mng.bz/JY20
acc... | Markdown |
区参观土地改革工作,经汉口、长沙小作勾留,对中南区特别是湖南省土地改革概况作初步了解,全体同人就决定到湖南益阳参观。在益阳留半个月,先后访问了白马山乡、月塘乡、快活岭乡和白鹿铺乡,其间有一个星期住在月塘乡。
</p>
<p>
在自己选定的这一个地区,我们亲眼看见了中国历史上几千年来一次最彻底最大的变革——把封建剥削的土地所有制改变为农民的土地所有制,根本推翻了地主阶级残暴统治的一套社会制度,结束了历史上的一个时代。这是中国革命过程中一个伟大的历史性的胜利,是现阶段新民主主义革命的基本内容。我们深自庆幸,在这样一个千军万马的农民反封建大运动高潮中,自己能站在战斗的农民的壮大行列里,实感无限兴奋,无限光荣。同时,气象一新的... | HTML |
);
(cm, specs)
});
let filtered = match regex {
Some(r) => ::table::filter(cm_specs, r),
None => cm_specs.collect(),
};
::table::print_table(&mut table, &filtered, writer);
let final_rss = filtered.into_iter().map(|cm_spec| cm_spec.0).collect();
ConfigMapList { items: ... | Rust |
.ms-comm-bestResponseIcon{
left:-32px;
top:-256px;
position:absolute;
}
.ms-comm-heroLinkContainer{
margin-top:11px;
margin-bottom:5px;
}
.ms-comm-popularityBar{
margin-bottom:0.38em;
height:4px;
float:left;
overflow:hidden;
position:relative;
}
.ms-comm-popularityBarShadow{
height:4px;
float:left;
overflow:hidden;
pos... | CSS |
54,
["UI/Atlas/Item/tex_icon_item_fish09.png"] = -1855,
["309008_8_0"] = -1856,
["309008_11_0"] = -1857,
[9] = -1858,
["309008_25_0"] = -1859,
["309008_27_0"] = -1860,
["309008_29_0"] = -1861,
[309009] = -1862,
["309009_1_0"] = -1863,
["309009_2_0"] = -1864,
["309009_3_0"] = -1865,
["UI/Atlas/It... | Lua |
ml#finite">有限</a></emu-xref>でない、<var>min</var> が<emu-xref href="#finite" id="_ref_6717"><a href="ecmascript-data-types-and-values.html#finite">有限</a></emu-xref>でない、<var>sec</var> が<emu-xref href="#finite" id="_ref_6718"><a href="ecmascript-data-types-and-values.html#finite">有限</a></emu-xref>でない、または <var>ms</var> が<emu-... | HTML |
>
<a href="{{ site.url }}{{ item.href }}" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">{{ item.title }} <span class="caret"></a>
<ul class="dropdown-menu">
{% for subcategory in item.subcategories %}
<li><a href="{{ site.url }}{{ item.href }}{{ subcate... | HTML |
/**
* @cond doxygenLibsbmlInternal
*
* @file StrictUnitConsistencyValidator.h
* @brief Performs consistency checks on an SBML model
* @author Ben Bornstein
*
* <!--------------------------------------------------------------------------
* This file is part of libSBML. Please visit http://sbml.org for mo... | C |
if (cmds) {
let idx = cmds.indexOf(cmd);
if (isWhite && ~idx || !isWhite && !~idx) {
return true;
}
} else if (filter) {
return filter(log, ...filterParams);
} else {
return true;
... | Typescript |
String)
{
token = COM_Parse( &holdString);
if ( !token ) // Nothing left to look at
{
break;
}
found = G_Find(found, FOFS(targetname), token); // Look for the specified NPC
if (found) //Found???
{
VectorSubtract(owner->currentOrigin, found->currentOrigin, diff);
if(VectorLength(diff... | C++ |
e.fp.MulConst(v10, big.NewInt(4))
s1 = e.fp.Add(s1, s2)
s2 = e.fp.MulConst(v11, big.NewInt(12))
s1 = e.fp.Add(s1, s2)
s2 = e.fp.MulConst(v13, big.NewInt(8))
s1 = e.fp.Add(s1, s2)
s2 = e.fp.MulConst(v17, big.NewInt(8))
s1 = e.fp.Add(s1, s2)
c1 = e.fp.Sub(c1, s1)
c2 := e.fp.MulConst(v15, big.NewInt(2))
c2 = e... | Go |
1].Tests[0].Capabilities.MajorVersion)
a.Equal("11", suites[1].Tests[0].Capabilities.MinorVersion)
// third
a.NotEqual(suites[2].Capabilities.MajorVersion, suites[2].Tests[0].Capabilities.MajorVersion)
a.Equal("1", suites[2].Tests[0].Capabilities.MajorVersion)
a.NotEqual(len(suites[2].Capabilities.APIVersions), le... | Go |
r .popover-content .note-hint-group .note-hint-item.active,.note-hint-popover .popover-content .note-hint-group .note-hint-item:hover{display:block;clear:both;font-weight:400;line-height:1.4;color:#fff;white-space:nowrap;text-decoration:none;background-color:#428bca;outline:0;cursor:pointer} /*
Flaticon icon fon... | CSS |
(val m = exp.lhs.asConst.lowestSetBit) {
// 0 means m is 2. It is the same as the "else" case, but `m=1` so no need for multiplication.
0 -> lit(1, tag) bvShl exp.rhs
else -> lit(1, tag) bvShl (lit(m, tag) bvMul exp.rhs)
... | Kotlin |
= now_time;
}
return ret;
}
uint64_t FileLoader::GetLastModTime() {
return impl_->last_mod_time;
}
} // namespace comm
} // namespace phxqueue_phxrpc
/*
Tencent is pleased to support the open source community by making PhxQueue available.
Copyright (C) 2017 THL A29 Limited, a Tencent company. All ... | C++ |
zM48 224H64V416H48c-26.5 0-48-21.5-48-48V272c0-26.5 21.5-48 48-48zm544 0c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H576V224h16z"],
"peace": [512, 512, [9774], "f67c", "M224 445.3V323.5l-94.3 77.1c26.1 22.8 58.5 38.7 94.3 44.7zM89.2 351.1L224 240.8V66.7C133.2 81.9 64 160.9 64 256c0 34.6 9.2 67.1 25.2 95.1zm293.1 4... | JavaScript |
se if(z.raw)Ge.t="s",Ge.v=it;else if(it.trim().length===0)Ge.t="s",Ge.v=it;else if(it.charCodeAt(0)==61)it.charCodeAt(1)==34&&it.charCodeAt(it.length-1)==34?(Ge.t="s",Ge.v=it.slice(2,-1).replace(/""/g,'"')):Fb(it)?(Ge.t="n",Ge.f=it.slice(1)):(Ge.t="s",Ge.v=it);else if(it=="TRUE")Ge.t="b",Ge.v=!0;else if(it=="FALSE")Ge.... | HTML |
0140000 ! 1427: LDUH_R lduh [%r16 + %r0], %r24
T2_asi_reg_wr_60:
mov 0x3c6, %r14
.word 0xf6f38e40 ! 1430: STXA_R stxa %r27, [%r14 + %r0] 0x72
ta T_CHANGE_HPRIV
mov 8, %g1
stxa %g0, [%g1] 0x60
flush
ta T_CHANGE_NONHPRIV
flush
.word 0xb0250000 ! 1434: SUB_R sub %r20, %r0, %r24
cpu_intr_2_114:
setx 0x2b033b,... | Assembly |
--------------------------------------------------------------------
/**
* Constructor
* @param statusCode HTTP status code
* @param message Error message
* @param req Request object
*/
// --------------------------------------------------------------------------------------------
c... | Typescript |
ng"], ["lián"], ["zhòng"], ["xī"]],
"轻量级": [["qīng"], ["liàng"], ["jí"]],
"轻虑浅谋": [["qīng"], ["lǜ"], ["qiǎn"], ["móu"]],
"轻诺寡信": [["qīng"], ["nuò"], ["guǎ"], ["xìn"]],
"轻骑减从": [["qīng"], ["qí"], ["jiǎn"], ["cóng"]],
"轻骑简从": [["qīng"], ["jì"], ["jiǎn"], ["cóng"]],
"轻若鸿毛": [["qīng"], ["ruò"], ["hóng"], ["máo"]],
"轻身重义": ... | Typescript |
/*
* omi.c: Create an image of a CD or DVD (Optical Media Image).
*
* Jason Hood, 16 & 18 March, 5 & 8 May, 2005.
*
* A program to create a disk image from the contents of a CD/DVD. Since DOS
* is practically limited to 2Gi files and DVDs can be more than that, use
* multiple files, each of 512Mi. In addition, t... | C |
w HttpTransportBindingElement();
_httpTransportBindingElement.ManualAddressing = true;
_httpsTransportBindingElement = new HttpsTransportBindingElement();
_httpsTransportBindingElement.ManualAddressing = true;
_httpMessageEncodingBindingElement = new HttpMessageEncoding... | C# |
/p>
*/
ApplyType?: "static" | "dynamic" | string;
/**
* <p>If <code>true</code>, the parameter can be modified. Some parameters have security or operational implications that prevent them from being changed. </p>
*/
IsModifiable?: boolean;
/**
* <p>The earliest engine version to which the paramete... | Typescript |
#15
mov lr, r4, lsl #15
mov r0, #0x1b
mov r2, #0x3
str lr, [sp, #0x14]
str r12, [sp, #0x18]
str r3, [sp, #0x1c]
bl Function_20b275c
mov r0, r5, lsl #19
mov r1, r0, asr #16
mov r0, r4, lsl #19
mov r1, r1, lsl #16
mov r0, r0, asr #16
mov r1, r1, lsr #16
m... | Assembly |
, msg: string, target: string) {
checkLogFormat(
new RegExp(`^\\[${level.levelStr}\\] ${msg}\\n$`),
target
);
}
function checkLogFormat(exp: RegExp, target: string) {
assert.ok(exp.test(target));
}
});
import {User} from "./user";
import {Contact} from "./contact";
export class Person {
id: number
... | Typescript |
3.1
* DESCRIPTION file fix for CRAN.
# aws.s3 0.3.0
* CRAN (beta) release. (#126)
* `bucketlist()` gains both an alias, `bucket_list_df()`, and an argument `add_region` to add a region column to the output data frame.
# aws.s3 0.2.8
* Exported the `s3sync()` function. (#20)
* `save_object()` now creates a local di... | Markdown |
receiveTimeout: const Duration(seconds: 180),
sendTimeout: const Duration(seconds: 120),
),
);
return OptimizationResult.fromJson(result);
} catch (e) {
AppLogger.e(_tag, '优化提示词模板失败,ID: $templateId', e);
throw ApiException(-1, '优化提示词模板失败: ${e.toString()}')... | Dart |
href="https://kubernetes.io/docs/concepts/storage/volumes/#hostpath">hostPath</a>
/// in the <i>Kubernetes documentation</i>.
final EksHostPath? hostPath;
/// Specifies the configuration of a Kubernetes <code>secret</code> volume. For
/// more information, see <a
/// href="https://kubernetes.io/docs/concept... | Dart |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.