content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
MDBDatePickerV5 disablePast inline getValue={(e)=> console.log(e)} />
</div>
);
}
};
export default DatePickerPage;
</code>
</mdbsnippet>
</section>
<!--Section: Code-->
</section>
<hr class="my-5">
<section id="disabled-future-theme-docs">
<!--Subheading-->
... | HTML |
:83</div></div>
<div class="ttc" id="classcutlass_1_1gemm_1_1threadblock_1_1MmaBase_html_ae8cb09f86f2e006bcbd48b2c6c32dfef"><div class="ttname"><a href="classcutlass_1_1gemm_1_1threadblock_1_1MmaBase.html#ae8cb09f86f2e006bcbd48b2c6c32dfef">cutlass::gemm::threadblock::MmaBase< Shape_, Policy_, 1 >::Operator</a></d... | HTML |
, "Really black", "Gun", VT(0, 0, 0), false)
local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.02, 0.02, 0.02), VT(0, 0, 0))
local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.7, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
... | Lua |
// SPDX-FileCopyrightText: © 2019-2023 The Apache Software Foundation
//
// SPDX-License-Identifier: Apache-2.0
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright... | C |
oundation Ready for Tensors! █")
println("████████████████████████████████████████████████")
println()
}
}
// Make it runnable from main
fun main() {
EmberDemo.runAll()
}
package ai.solace.klang.scalar
import ai.solace.klang.bitwise.ArithmeticBitwiseOps
import ai.solace.klang.bitwise.Bi... | Kotlin |
171a}', Script::Ahom), ('\u{1171d}', '\u{1171f}',
Script::Ahom), ('\u{11720}', '\u{11721}', Script::Ahom), ('\u{11722}', '\u{11725}',
Script::Ahom), ('\u{11726}', '\u{11726}', Script::Ahom), ('\u{11727}', '\u{1172b}',
Script::Ahom), ('\u{11730}', '\u{11739}', Script::Ahom), ('\u{1173a}', ... | Rust |
RegistryKey.of(RegistryKeys.WORLD, worldId)
val world = server.getWorld(worldKey) ?: run {
RankUtils.sendMessage(player1.player, MessageConfig.get("queue.world_load_fail", lang, "world" to arena.world))
RankUtils.sendMessage(player2.player, MessageConfig.get("queue.world_load_fail", lan... | Kotlin |
.ONLINE_SHOP);
SaveShopDTO saveShopDTO = new SaveShopDTO();
saveShopDTO.setShop(onlineShop);
saveShopDTO.setFlag(true);
ShopDTO shopDTO = shopService.doSaveShop(saveShopDTO);
return !ObjectUtils.isEmpty(shopDTO);
} else {
if (!ObjectUtils.i... | Java |
': False
}
consumer = Consumer(consumer_config)
consumer.subscribe([args.topic])
print(f"Subscribed to topic: {args.topic}")
try:
conn = create_db_connection(
args.sql_server,
args.database,
username=args.db_username,
password=args.db_passwor... | Python |
_traits/alignment_of.hpp>
# include <boost/type_traits/conditional.hpp>
# include <boost/type_traits/decay.hpp>
# include <boost/type_traits/has_nothrow_copy.hpp>
# include <boost/type_traits/has_nothrow_destructor.hpp>
# include <boost/type_traits/integral_constant.hpp>
# include <boost/type_traits/is_base_of.hpp>
# i... | C++ |
㊗️","🈴","🈵","🈲","🈂️","🈁","🇯🇵"],
'japanese_castle': ["🏯"],
'japanese_goblin': ["👺"],
'japanese_ogre': ["👹"],
'jar': ["🫙","🏺"],
'jaws': ["🦈"],
'jazz': ["🎷"],
'je': ["🇯🇪"],
'jeans': ["👖"],
'jellyfish': ["🪼"],
'jersey': ["🇯🇪"],
'jewel': ["💠","🔸","🔹","🔶","🔷"],
'jewelry': ["💍... | Dart |
edProjects.indexOf(project.info.title + ":" + project.info.version) === -1) {
this.processedProjects.push(project.info.title + ":" + project.info.version);
console.info("do: " + project.info.title + ":" + project.info.version);
result = this.runEach(project);
this.result.pushProj... | Typescript |
Hasher::<()>::new(label).empty()`.
impl MerkleItem for () {
fn commit(&self, t: &mut Transcript) {
t.append_message(b"", b"");
}
}
impl AsRef<[u8]> for Hash {
fn as_ref(&self) -> &[u8] {
&self.0
}
}
impl core::ops::Deref for Hash {
type Target = [u8];
fn deref(&self) -> &Self::... | Rust |
/60_hm-ou-cf-pl.png";
DEV_HIGHLIGHT["HM-OU-CFM-Pl"] = new Object();
DEV_HIGHLIGHT["HM-OU-CFM-Pl"]["Light_circle"] = [4, 0.688, 0.224, 0.118, 0.112];
DEV_HIGHLIGHT["HM-OU-CFM-Pl"]["Light_beam_1"] = [6, 0.628, 0.28, 0.656, 0.28, 0.016];
DEV_HIGHLIGHT["HM-OU-CFM-Pl"]["Light_beam_2"] = [6, 0.656, 0.2, 0.68, 0.22, 0.016];
D... | JavaScript |
e-dnd.jstree-proton .jstree-ok,#jstree-dnd.jstree-proton .jstree-er{background-size:320px 96px;background-image:url(32px.png);background-repeat:no-repeat;background-color:transparent}#jstree-dnd.jstree-proton i{background:0 0;width:22px;height:22px;line-height:22px}#jstree-dnd.jstree-proton .jstree-ok{background-positi... | CSS |
import io.streamnative.pulsar.handlers.mqtt.common.TopicFilter;
/**
* Some Mqtt protocol utilities.
*/
public class MqttUtils {
/**
* Determine whether we support the mqtt protocol version.
*
* @param version - mqtt protocol version
* @return - Is supported version
* @see MqttConnectMess... | Java |
public void ShouldMutate(string expression)
{
var node = GetInterpolatedString(expression);
var mutator = new InterpolatedStringMutator();
var result = mutator.ApplyMutations(node, null).ToList();
var mutation = result.ShouldHaveSingleItem();
mutation.ReplacementNode.Sho... | C# |
/grpc/internal/grpctest"
)
type s struct {
grpctest.Tester
}
func Test(t *testing.T) {
grpctest.RunSubTests(t, s{})
}
func (s) TestErrorCodeString(t *testing.T) {
tests := []struct {
err ErrCode
want string
}{
// Known error cases
{err: ErrCodeNoError, want: "NO_ERROR"},
{err: ErrCodeProtocol, want: "... | Go |
if err != nil {
return nil, err
}
return event.NewSubscription(func(quit <-chan struct{}) error {
defer sub.Unsubscribe()
for {
select {
case log := <-logs:
// New log arrived, parse the event and forward to the user
event := new(Erc20EIP712DomainChanged)
if err := _Erc20.contract.UnpackLog(... | Go |
== GPIO34OUTCFG_A::PUSHPULL
}
#[doc = "Checks if the value of the field is `OD`"]
#[inline(always)]
pub fn is_od(&self) -> bool {
*self == GPIO34OUTCFG_A::OD
}
#[doc = "Checks if the value of the field is `TS`"]
#[inline(always)]
pub fn is_ts(&self) -> bool {
*self == GPI... | Rust |
"msg2": {from: 'noreply@spam.com', to: 'jill@example.org'},
// "msg3": {from: 'boss@work.com', to: 'jack@example.com'}
// };
// var rules = [
// {from: '*@work.com', action: 'tag work'},
// {from: '*@spam.com', action: 'tag spam'},
// {from: 'jack@example.com', to: 'jill... | Typescript |
eam(file);
BufferedImage image = ImageIO.read(inputStream);
if (image != null) {
imageData = new ProcessedImageData(image);
} else {
failed = true;
}
... | Java |
Encoding.ISO_8859_1)
setObjectValue(DataTypes.OBJ_DESCRIPTION, MOOD)
setObjectValue(DataTypes.OBJ_TEXT, body.text)
}
constructor(body: FrameBodyTXXX) : super(body)
/**
* Creates a new FrameBodyTXXX datatype.
*
* @param textEncoding
* @param description
* @param text
*/
constructor(textEncoding: By... | Kotlin |
int (custom)', () {
var rule = TestRule();
var listener = GatheringDiagnosticListener();
var reporter = DiagnosticReporter(listener, _MockSource('mock'));
rule.reporter = reporter;
var node = EmptyStatementImpl(
semicolon: SimpleToken(TokenType.SEMICOLON, 0),
)... | Dart |
l(SAT_Manager mng, int freq);
void SAT_SetMaxUnrelevance(SAT_Manager mng, int n);
void SAT_SetMinClsLenForDelete(SAT_Manager mng, int n);
void SAT_SetMaxConfClsLenAllowed(SAT_Manager mng, int n);
// void SAT_AllowMultipleConflicts(SAT_Manager mng);
// void SAT_AllowMultipleConfCls(SAT_Manager mng);
// void SAT_Set... | C |
""),
/**
* 转账明细电子回单受理
*/
TRANSFER_ELECTRONIC_RECEIPTS("/v3/transfer-detail/electronic-receipts", ""),
/**
* 特约商户银行来账查询
*/
PARTNER_INCOME_RECORDS("/v3/merchantfund/partner/income-records", ""),
/**
* 服务商银行来账查询
*/
MERCHANT_INCOME_RECORDS("/v3/merchantfund/merchant/income-records", ""),
/**
* 请求分账... | Java |
.mdc-dialog__surface {
border-radius: 4px;
}
.mdc-dialog__scrim {
opacity: 0;
z-index: -1;
}
.mdc-dialog__container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
box-sizing: border-box;
height: 100%;
transform: scale(0.8);
opacity... | CSS |
加油的作用。
</p>
<p>
1967·8·10 六五级学生、造反兵团作战组组长黄达甫带领学生十余名,参加了“桂林市大、中学校红代会”组织的抢枪行动。他们把从桂林军分区仓库抢来的枪支弹药交由驻广西师大红代会统一保管。随后,学生、“造反兵团”组长唐仁和带领十余名学生乘救护车到“红代会”领枪。领到重机枪1挺、歪把式轻机枪2挺,五〇式冲锋枪十余支、三八大盖及五三式步骑枪共30余支。
</p>
<p>
同年9月中旬所领枪支全部上缴桂林市军管会。
</p>
<p>
1967·11·17 学校“造反兵团”单方面组成了“校革委会”。其组成人员:
</p>
<p>
主任 军代表(缺)
<... | HTML |
status);
}
batcherrorinfo(batch);
/* release local resources */
GRBfreebatch(batch);
GRBfreeenv(env);
return error;
}
/* final report on batch request */
int finalreport(const char *BatchID)
{
int error = 0;
GRBenv *env = NULL;
GRBbatch *batch = NULL;
char *jsonsol = NULL;
int... | HTML |
if (!listening) {
componentName = if (mouseState != MouseState.NONE) setting.value
else name
}
}
override fun onRelease(mousePos: Vec2f, buttonId: Int) {
super.onRelease(mousePos, buttonId)
if (buttonId == 0 && !listening) {
listening = true
... | Kotlin |
82 0-1.055.441-1.055.984 0 .543.473.984 1.055.984.237 0 .622-.076.995-.2a5.946 5.946 0 001.186 2.856c-.351.176-.676.394-.842.561-.412.412-.434 1.058-.051 1.441.385.385 1.031.362 1.442-.049.167-.167.383-.488.56-.837a5.949 5.949 0 002.859 1.179c-.123.37-.197.751-.197.986 0 .582.441 1.055.984 1.055.543 0 .984-.473.984-1.0... | Dart |
tml#90b4c49978d103e23a932375b6c06bfe">LEVEL_CORE</a><li>INS_CopyXlateAttributes()
: <a class="el" href="namespaceLEVEL__CORE.html#0e22630d363998b9ed59694e3ffec7d1">LEVEL_CORE</a><li>INS_CountRegister()
: <a class="el" href="namespaceLEVEL__CORE.html#21fcfa5f32434b136912bc00e90c4301">LEVEL_CORE</a><li>INS_DecodeIns()
: ... | HTML |
-break:break-all;word-break:break-word;font-family:inherit!important;font-size:13px;line-height:1.4;font-weight:normal;float:left;width:100%;padding:0 10px;margin:0 0 10px}[id^=NotiflixReportWrap] a#NXReportButton{word-break:break-all;word-break:break-word;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:... | CSS |
(u32.MAX_VALUE, u32.MAX_VALUE, u32.MAX_VALUE, u32.MAX_VALUE)) == i32x4(1, 1, 1, 1));
assert(i32x4.abs(i32x4(-2147483648, -2147483648, -2147483648, -2147483648)) == i32x4(2147483648, 2147483648, 2147483648, 2147483648));
assert(
i32x4.bitmask(i32x4(1, -1, 1, -1)) == 10
);
assert(
i32x4.bitmask(i32x4(0xFF... | Typescript |
.amount(amount));
}
//
// Determine by widgetType
if (widgetType == DocumentFieldWidgetType.Password)
{
// hide passwords
return TranslatableStrings.constant("*****");
}
else if (widgetType.isText())
{
return TranslatableStrings.constant(value.toString());
}
else if (widgetType.isDateOrTi... | Java |
): ColorLCHABa = copy(h = hue)
override val hue: Double
get() = h
override fun withLuminosity(luminosity: Double): ColorLCHABa = copy(l = luminosity)
override val luminosity: Double
get() = l
}
/**
* Weighted mix between two colors in the LChAB color space.
* @param left the left-hand Col... | Kotlin |
.FingerprintProtos.internal_static_tensorflow_FingerprintDef_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.tensorflow.proto.FingerprintDef.class, org.tensorflow.proto.FingerprintDef.Builder.class);
}
public static final int SAVED_MODEL_CHECKSUM_FIELD_NUMBER = 1;
private long savedM... | Java |
ash_length = OUTBYTES as u8;
state
};
let mut root_state = base_params
.clone()
.node_offset(0)
.node_depth(1)
.last_node(true)
.to_state();
// Clear the keybytes from the root state buffer. Only the leaf nodes will hash the... | Rust |
03 6.18 1.38 7.37 1.84 1.18.46 2.25-.05 2.62-.6.39-.59.53-1.57-.03-2.41z"
fill="#9e9e9e"
/>
</svg>
);
}
export default SvgEmojiU1F4741F3Fc;
import * as React from "react";
function SvgEmojiU1F4Ae(props) {
return (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" {...props}>
... | JavaScript |
section .text
align 4
global memsetw
; void *memsetw(void *addr, uint16 word, size_t n);
; returns the input addr
memsetw:
; set up the stack frame
push ebp
mov ebp, esp
; save registers (we can only destroy EAX, ECX and EDX)
push ebx
push edi
mov edi, [ebp + 8] ; param #1 (addr)
mov ebx, [ebp + 12] ; para... | Assembly |
Id, rpcsToSave)
// rpcFinalList := make([]*hyperiontypes.Rpc, 0)
// for _, rpc := range rpcsToSave {
// rpcFinalList = append(rpcFinalList, &hyperiontypes.Rpc{
// Url: rpc,
// })
// }
// return rpcFinalList, nil
// }
// func (g *Global) GetRpcs(chainId uint64) ([]*hyperiontypes.Rpc, error) {
// rpcList, ... | Go |
avatar: string;
@ApiProperty({ example: 1 })
@IsNotEmpty()
@IsNumber()
@Validate(CheckRoleOfUser)
roleId: number;
}
import 'reflect-metadata';
import { EsField } from '../src/decorators/EsField';
import { EsMapping } from '../src/decorators/EsMapping';
import { EsProperty } from '../src/decorators/EsProp... | Typescript |
道路也收缩到只剩一条陡峭上升、夹在令人生畏的黑色峭壁间的牦牛小道。那遥远而荒凉的山峰依旧耸立在右侧,而当卡特攀登得越来越远时,他发现四周越来越、冷越来越暗了。不久,他便察觉到脚下黑色的小路上已没有了脚印与蹄印,因而意识到他已确确实实地走上了奇怪但却早已荒废的远古道路。偶尔会有乌鸦在前面哇哇乱叫,而另一些时候巨大的岩石后会传来一阵拍打声——这让他不安地想到传说中的夏塔克鸟。但大多数时候,只有他与他那毛发蓬松的坐骑在孤独地前进。不过这只颇为有用的牦牛变得越来越不愿前进了,而且越来越倾向于对着任何从路边传出的细微声响惊恐地喷着鼻息,这让卡特很是烦恼。<br>
<br>
接着,道路的宽度被两侧深褐色的反光石壁进一步地压缩了,而坡度也变得比... | HTML |
据
let shared_data = Arc::new(Mutex::new(Data { value: 0 }));
// 2. 创建多个线程,每个线程增加计数器
let mut handles = vec![];
for i in 0..5 {
let data_clone = Arc::clone(&shared_data);
let handle = thread::spawn(move || {
// 获取锁并修改数据
let mut data = data_clone.lock().unw... | Markdown |
radius: 0 !important;
}
}
@-moz-document url-prefix("chrome://browser/content/places/places.xhtml"), url-prefix("about:downloads")
{
.downloadButton > .button-box {
border-radius: 0 !important;
}
}
@-moz-document url-prefix("about:protections") {
#manage-protections,
#sign-up-for-mon... | CSS |
import sys
sys.stdin = open('input12712.txt')
def sqaure(N, M, pari):
#정방향 data_row, col 구분
data_row = [0, 1, 0, -1]
data_col = [1, 0, -1, 0]
#일단 정방형 + 노즐 기반으로 가장 큰 값 구하기
total_max = 0
#모든 노즐은 일단 탐색
for row in range(N):
for col in range(N):
four_sum = 0
for ... | Python |
should(job3.id).be.Number().and.be.exactly(3);
should(job3.progress).be.Number().and.be.exactly(-100);
should(job3.status).be.Number().and.be.exactly(3);
});
it('Should schedule a new job based of the failed one', async () => {
// setup correct data
const time: Date = n... | Typescript |
[2778] = "Blunderbuss Barato",
[2780] = "Arco de Caza Ligero",
[2781] = "Trabuco Sucio",
[2782] = "Arco Recurvo Mal Manejado",
[2783] = "Trabuco de Mala Calidad",
[2784] = "Raíz de Musquash",
[2785] = "Arco Recurvo Rígido",
[2786] = "Trabuco Aceitado",
[2787] = "Daga Trogg",
[2789] = "_",
[2790] = ... | Lua |
e5f076a00a8b1f859d788f11a958e98b731358f89cf3fdd41a667ea992522e8d4f46915f4c03a1896f2ac54bdc5f16e2ce8a2a3bf233d02aad8192332afd2113ed6688e0d0010001a02080700007120f76076bcb0efdf94c7219e116899d0163ea61cb428183d71324eb33b2bce0700e40b540201070508002c2a55b5ffdca266bd0207df97565b03255f70783ca1a349be5ed9f44589c36000d44533a4d21fd... | Kotlin |
model_data:
print(f'PROCESSING {data["file_path"]} (model: {data["model"]}, exp_type: {data["exp_type"]}, size: {len(data["data"])})...\n{"#" * 50}\n')
embed_data(data)
save_data(data['data'], os.path.join(OUTPUT_DIR, model, os.path.basename(data["file_path"])))
print(f'... | Python |
= 'Common' && script !== 'Inherited' && script !== 'Unknown') {
return UNICODE_SCRIPTS[script];
}
}
return UNICODE_SCRIPTS.Unknown;
}
// The scripts in this map are written from right to left
var RTL = {
arab: true, // Arabic
hebr: true, // Hebrew
syrc: true, // Syriac
thaa: true, // Thaana
cp... | JavaScript |
e }, StringSplitOptions.None);
#if NETCOREAPP3_0_OR_GREATER
Assert.Equal(
new[] {
"System.Exception: Exception of type 'System.Exception' was thrown.",
" ---> System.Exception: Exception of type 'System.Exception' was thrown.",
" ... | C# |
.junit.Before;
import org.junit.Test;
public class TestExternalizer {
private ServicesConfig servicesConfig = null;
private ClientGraniteConfig graniteConfigJavaFX = null;
private GraniteConfig graniteConfigHibernate = null;
@Before
public void before() throws Exception {
Configuration configuration = new ... | Java |
.NewLine));
HtmlGenericControl css3 = new HtmlGenericControl("link");
css3.Attributes.Add("rel", "stylesheet");
css3.Attributes.Add("type", "text/css");
css3.Attributes.Add("href", ResolveUrl("~/Content/surveyform/surveymobile.css"));
Page.Header.Controls.Add(... | C# |
nUserJoined "onUserJoined" or \ref agora::rtc::IRtcEngineEventHandler::onUserOffline "onUserOffline" (BECOME_AUDIENCE)
*
* @note
* This method applies only to the `LIVE_BROADCASTING` profile.
*
* @param role Sets the role of the user. See #CLIENT_ROLE_TYPE.
*
* @return
* - 0(ERR_... | C |
ListParsers.h>
#include <Parsers/IParserBase.h>
#include <Parsers/Kusto/ParserKQLQuery.h>
#include <Parsers/Kusto/ParserKQLSummarize.h>
#include <Parsers/Kusto/Utilities.h>
#include <Parsers/ParserSampleRatio.h>
#include <Parsers/ParserSelectQuery.h>
#include <Parsers/ParserSetQuery.h>
#include <Parsers/ParserTablesInS... | C++ |
se(new Vector3F(15, 0, 15))));
compositeShape.Children.Add(new GeometricObject(new BoxShape(4, 4, 3), new Pose(new Vector3F(15, 1.5f, 5))));
compositeShape.Children.Add(new GeometricObject(new BoxShape(4, 4, 3), new Pose(new Vector3F(15, 1.5f, 0))));
ITriangleMesh mesh = compositeShape.GetMesh(0.01f, ... | C# |
Objects.requireNonNull<String>(clusterNode.host),
Objects.requireNonNull<Int>(clusterNode.port)
)
var reachLimit = false
clusterConnection.scan(redisClusterNode, scanOptions).use { cursor ->
while (cursor.hasNext()) {
va... | Kotlin |
;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.logging.Logger;
/**
* the appointment model provides the model layer APIs for working with
* Appointment Entities
*
*/
public class AppointmentModel extends Model implements Model.Listener, CategorySource, Searchable<Appointment> {
static... | Java |
"""将创造对象 和 使用对象分开"""
from db_configs import db_configs
class DatabaseConnection:
def __init__(self, host, port, username, password):
self.host = host
self.port = port
self.username = username
self.password = password
def connect(self):
return f"Connecting to databse at ... | Python |
id
Stream_lines_2<VectorField_2, Integrator_2>::print_stream_lines_eps(std::ofstream & fw)
{
typename Stream_line_container_2::iterator it;
Stream_line_container_2 stl_container_temp = stl_container;
fw << "%!PS-Adobe-2.0 EPSF-2.0\n";
fw << "%%BoundingBox: 0 0" << " " << max_x - min_x << " " << max_y - min_y <<... | C |
ْمَلَإِ مِنْ بَنِي إِسْرَائِيلَ مِنْ بَعْدِ مُوسَىٰ إِذْ قَالُوا لِنَبِيٍّ لَهُمُ ابْعَثْ لَنَا مَلِكًا نُقَاتِلْ فِي سَبِيلِ اللَّهِ ۖ قَالَ هَلْ عَسَيْتُمْ إِنْ كُتِبَ عَلَيْكُمُ الْقِتَالُ أَلَّا تُقَاتِلُوا ۖ قَالُوا وَمَا لَنَا أَلَّا نُقَاتِلَ فِي سَبِيلِ اللَّهِ وَقَدْ أُخْرِجْنَا مِنْ دِيَارِنَا وَأَبْنَائِنَا ... | Dart |
size_t _busy_size;
#ifdef PUGIXML_COMPACT
compact_hash_table* _hash;
#endif
};
PUGI_IMPL_FN_NO_INLINE void* xml_allocator::allocate_memory_oob(size_t size, xml_memory_page*& out_page)
{
const size_t large_allocation_threshold = xml_memory_page_size / 4;
xml_memory_page* page = allocate_page(size <= lar... | C++ |
//go:build amd64
// +build amd64
#include "textflag.h"
// VNNI INT8 GEMM kernel using AVX512-VNNI instructions
// This provides INT8 matrix multiplication similar to AMX but using AVX512
// func vnniInt8GEMM_16x16(m, n, k int, a, b []int8, c []int32)
TEXT ·vnniInt8GEMM_16x16(SB), NOSPLIT, $0-104
MOVQ m+0(FP), AX ... | Assembly |
"github.com/cosmos/cosmos-sdk/types"
"github.com/elys-network/elys/v7/x/perpetual/types"
)
func (k msgServer) UpdateTakeProfitPrice(goCtx context.Context, msg *types.MsgUpdateTakeProfitPrice) (*types.MsgUpdateTakeProfitPriceResponse, error) {
ctx := sdk.UnwrapSDKContext(goCtx)
// Load existing mtp
creator := sdk... | Go |
b = Vec3::new(vals[1][0], vals[1][1], vals[1][2]) * radius + offset;
let c = Vec3::new(vals[2][0], vals[2][1], vals[2][2]) * radius + offset;
let d = Vec3::new(vals[3][0], vals[3][1], vals[3][2]) * radius + offset;
let e = Vec3::new(vals[4][0], vals[4][1], vals[4][2]) * radius + off... | Rust |
L55_1 = _ENV
L56_1 = "CAF0F7EA44334A8D5"
L57_1 = _hx_e
L57_1 = L57_1()
L55_1[L56_1] = L57_1
_ENV["CAF0F7EA44334A8D5"]["new"] = function(A0_2)
local L1_2, L2_2, L3_2, L4_2
L1_2 = lua_helper_new
L2_2 = CAF0F7EA44334A8D5
L2_2 = L2_2.prototype
L3_2 = 3
L4_2 = 0
L1_2 = L1_2(L2_2, L3_2, L4_2)
L2_2 = CAF0F7EA... | Lua |
scale(1);
}
50% {
opacity: 1;
transform: scale(1.1);
}
100% {
opacity: 0.7;
transform: scale(1);
}
}
// 定义基础变量
$bg-animation-color-light: #000;
$bg-animation-color-dark: #fff;
$bg-animation-duration: 0.5s;
html {
--bg-animation-color: $bg-animation-color-light;
&.dark {
--bg-anima... | CSS |
-- TEXMFCONTEXT = "selfautoparent:texmf-context",
-- TEXMFMODULES = "selfautoparent:texmf-modules",
-- texlive:
TEXMFDIST = "selfautoparent:texmf-dist",
TEXMFSYSCONFIG = "selfautoparent:texmf-config",
-- The texmf-local path is only used for (... | Lua |
�项_启用交换, 根据水平垂直布局变换, 交换属性(宽度,高度,最小宽度,最小高度).
//
// bEnable: 是否启用.
func (w *Widget) LayoutItem_EnableSwap(bEnable bool) *Widget {
xc.XWidget_LayoutItem_EnableSwap(w.Handle, bEnable)
return w
}
// 窗口组件_布局项_启用浮动, 向反方向对齐.
//
// bFloat: 是否浮动.
func (w *Widget) LayoutItem_EnableFloat(bFloat bool) *Widget {
xc.XWidget_Layou... | Go |
AEaFnAXEmG.png">
通过改变颜色、增加辅助形状等方法来实现状态关系的对比,以便用户更好的区分信息。
常见类型有『静态对比』、『动态对比』。
---
category: 设计基础
order: 0
english: 字体
---
跨平台的字体设定,力求在各个操作系统下都有最佳展示效果。
---
## 字体家族
- 中文字体族:
<img src="https://os.alipayobjects.com/rmsportal/OKbesWXtRMCNGmO.png" width="100%">
- 英文文字体族:
<img src="https://t.alipayobjects.com/im... | Markdown |
e-latency-min</td>
<td>The minimum end-to-end latency in ms of a record, measured by comparing the record timestamp with the system time when it has been fully processed by the node.</td>
<td>kafka.streams:type=stream-processor-node-metrics,thread-id=([-.\w]+),task-id=([-.\w]+),processor-node-id=([-.\w]... | HTML |
Type] commonly associated with storing values of type [T], or the [defaultType] if a mapping
* does not exist for type [T].
*
* @throws IllegalStateException If no column type mapping is found and a [defaultType] is not provided.
* @suppress
*/
@InternalApi
fun <T : Any> resolveColumnType(
klass: KClass<T>,
... | Kotlin |
lass MyApp extends StatefulWidget {
@override
_State createState() => new _State();
}
class Choice {
final String title;
final IconData icon;
const Choice({this.title, this.icon});
}
class _State extends State<MyApp> with SingleTickerProviderStateMixin {
TabController _controller;
List<Choice> _items ... | Dart |
圣职责,依照法律服兵役是我国公民的光荣义务。凡具有本市常住户籍的公民,在规定的年龄内都有依法服兵役的义务。
第四条 本条例所称的适龄公民,是指当年十二月三十一日以前年满十八至二十二岁,或者符合国务院、中央军委当年征兵命令规定的服现役年龄的男性公民。
本条例所称的应征公民,是指经兵役登记和初步审查合格的适龄公民。
对女性公民的征集,按照国务院、中央军委征兵命令的规定执行。
第五条 市人民政府和上海警备区领导本市的征兵工作。市人民政府征兵办公室负责办理全市的征兵工作。
区、县人民政府领导本区、县的征兵工作。区、县人民政府的兵役机关会同有关部门组成征兵办公室,负责办理本区、县的征兵工作。
第六条 征兵工作人员在办理征兵工作时,... | Markdown |
(min-width: 768px) and (max-width: 979px) {
.row {
margin-left: -20px;
*zoom: 1;
}
.RedirectAdmin .row:before,
.RedirectAdmin .row:after {
display: table;
line-height: 0;
content: "";
}
.RedirectAdmin .row:after {
clear: both;
}
[class*="span"] {
float: left;
min-height:... | CSS |
bignum_nonzero_4)
S2N_BN_SYM_PRIVACY_DIRECTIVE(bignum_nonzero_4)
.text
.balign 4
#define x x0
#define a x1
#define d x2
#define c x3
S2N_BN_SYMBOL(bignum_nonzero_4):
CFI_START
// Generate a = an OR of all the words in the bignum
ldp a, d, [x]
orr a, a, d
... | Assembly |
B39 = 0x00560B39,
GetClassObject_0x004AE82E = 0x004AE82E,
GetClassObject_0x004B188B = 0x004B188B,
GetClassObject_0x004BC51D = 0x004BC51D,
GetClassObject_0x004C0126 = 0x004C0126,
GetClassObject_0x004CB89D = 0x004CB89D,
GetClassObject_0x004DA6A7 = 0x004DA6A7,
GetCla... | C# |
//************************************************************************************************
// Copyright © 2016 Steven M Cohn. All rights reserved.
//************************************************************************************************
namespace River.OneMoreAddIn.Commands.Snippets.TocGenerators
{
... | C# |
(C) Copyright 2005 Matthias Troyer
// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
// Authors: Matthias Troyer
#ifndef BOOST_MPI_DETAIL_MPI_DATATYPE_OARCHIVE_HPP
#define BOOST_... | C++ |
* @param {boolean} isShadow Whether the selected block is already marked as
* a shadow block.
* @param {boolean} isValid Whether the selected block is in a valid shadow
* block position.
*/
enableShadowButtons(isShadow, isValid) {
if (isShadow) {
// Is a shadow block
this.showAndEn... | JavaScript |
)return!1
return b instanceof A.k7&&b.b==s.b&&b.d==s.d&&s.e.j(0,b.e)&&A.dx(b.c,s.c)},
gu(a){var s=this,r=null,q=A.hJ.prototype.gu.call(s,0),p=s.c
p=p==null?r:A.bH(p)
return A.J(q,s.b,s.d,s.w,r,r,r,s.e,p,B.a,B.a,B.a,B.a,B.a,B.a,B.a,B.a,B.a,B.a,B.a)},
ep(){return"TextSpan"},
$iav:1,
$iiE:1,
gI3(){return null},
gI4(){retu... | JavaScript |
path class='bond-4 atom-1 atom-5' d='M 18.5,64.0 L 35.0,58.6' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.0px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path class='bond-5 atom-5 atom-6' d='M 35.0,58.6 L 35.0,41.3' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width... | HTML |
Q223 459 185 459L185 459L185 459Q113 459 113 354L113 354L113 354Q113 250 185 250L185 250Z" /></symbol><symbol id="OBSERVED/MORX-5/15b.R" overflow="visible"><path d="M37 170L37 527L154 527L154 527Q227 527 263.50 500.50L263.50 500.50L263.50 500.50Q300 474 300 422L300 422L300 422Q300 360 239 326L239 326L343 170L234 170L15... | HTML |
( "," VarList )?
WaitInstruction := <WAIT> "(" Constant ");"
WaitabsInstruction := <WAITABS> "(" Constant ");"
ExecuteInstruction := <EXEC> ( <WAIT> )? ( <LOG> )?
<STRING_LITERAL> ";"
Rever... | HTML |
"4CA2": "téng",
"4CA3": "yú",
"4CA6": "dài",
"4CA7": "dù",
"4CA8": "hóng",
"4CAA": "xì",
"4CAC": "qí",
"4CAE": "yuán",
"4CAF": "jí",
"4CB0": "yùn",
"4CB1": "fǎng",
"4CB2": "gōng",
"4CB3": "háng",
"4CB4": "zhèn",
"4CB5": "què",
"4CB8": "jiè",
"4CB9": "... | Go |
_Vector3:
_m_328:
.byte 13,192,160,225,128,64,45,233,13,112,160,225,112,93,45,233,90,223,77,226,13,176,160,225,68,1,139,229,72,17,139,229
.byte 76,33,139,229,80,49,139,229,0,0,160,227,28,0,139,229,0,0,160,227,32,0,139,229,0,0,160,227,36,0,139,229
.byte 0,0,160,227,48,0,139,229,0,0,160,227,52,0,139,229,0,0,160,227,5... | Assembly |
(https://github.com/Python-World/python-mini-projects):A collection of simple python mini projects to enhance your python skills
* [huggingface / datasets](https://github.com/huggingface/datasets):🤗 The largest hub of ready-to-use datasets for ML models with fast, easy-to-use and efficient data manipulation tools
* [e... | Markdown |
font-size:36px}}@media only screen and (min-width:768px) and (max-width:991px){.contact-form .contact-title .title{font-size:32px}}@media only screen and (max-width:767px){.contact-form .contact-title .title{font-size:28px}}.contact-form .contact-title p{color:#747474;line-height:27px}.contact-form .contact-form-style ... | CSS |
�可能会记录您访问谷粒商城或使用谷粒商城服务时所进行的操作以及您在谷粒商城网站上进行交易的相关信息。<span
lang="EN-US"><br>
</span>除上述信息外,我们还可能为了提供服务及改进服务质量的合理需要而获得的您的其他信息,包括您与我们的客服团队联系时您提供的相关信息,您参与问卷调查时向我们发送的问卷答复信息,以及您与谷粒商城的关联方、谷粒商城合作伙伴之间互动时我们获得的相关信息。<span
lang="EN-US"><br>
</span>同时,为提高您使用谷粒商城提供的服务的安全性,更准确地预防钓鱼... | HTML |
pro tebe, kamaráde."
Ta bolest byla nepopsatelná.
Oblečení se na mě rozpadlo jako nic a já cítil jen neskutečnou bolest na kůži," uvedl Andreas.
Rodina ho urychleně dopravila do nemocnice, tam se však jeho blízcí dozvěděli strašnou zprávu - podle lékařů neměl šanci přežít.
Několik týdnů od incidentu měli lékaři neustál... | C# |
ype)
with torch.no_grad():
output = self.language_model.generate(inputs_embeds=input_embeddings,
max_new_tokens=512)
output = self.tokenizer.decode(output.detach().cpu().numpy()[0])
return output
if __name__ == '__main__':
pred... | Python |
}
set
{
if (value == _depth) return;
_depth = value;
OnPropertyChanged(nameof(Depth));
}
}
public string Material
{
get { return _material; }
set
{
if (value == _material) return;
_material = value;
OnPropertyChanged(nameof(Ma... | C# |
ow?null:window,K=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("Tr... | JavaScript |
element>
<p>This is some slotted content</p>
</my-element>
`;
```
デフォルトでは、custom elements は `accessors: true` でコンパイルされます。これは、任意の [props](/docs/basic-markup#attributes-and-props) が DOM 要素のプロパティとして公開されることを意味します (また、可能であれば属性として読み書きすることができます)。
これを防ぐには、`<svelte:options>` に `accessors={false}` を追加します。
```js
// @noError... | Markdown |
xactLeft = elevatios6_6[idx - 1];
eleLinear = (eleExactLeft + eleExact) / 2;
elevations6_11.push(eleLinear);
}
elevations6_11.push(eleExact);
}
}
//此时elevations6_11表示的是(5+1)*(10+1)的高程数据信息,对每行进行了线性插值
//下面要对每列进行线性插值,使得每列上的6个点数字两两取平均变成11个点数据
var elevations11_11:nu... | Typescript |
const _ref5 = _ref6;
const name = _ref5[0];
const reference = _ref5[1];
const dependencyInformation = pnpApi.getPackageInformation({ name, reference });
if (dependencyInformation.packageLocation) {
binFolders.add(`${dependencyInformation.packageLocation}/.bin`);
... | JavaScript |
, "w") as f:
for meta in self.manifest:
f.write(json.dumps(meta) + "\n")
@staticmethod
def load() -> "PartIndex":
faiss = _lazy_import_faiss()
yaml = _lazy_import_yaml()
if not faiss or not yaml:
logging.warning("Could not load PartIndex due to mi... | Python |
<!--
katch/doc/tpgr_format.h
This file is part of
KaTCH -- Karlsruhe Time-Dependent Contraction Hierarchies
Copyright (C) 2015
Institut fuer Theroretische Informatik,
Karlsruher Institut fuer Technology (KIT),
76131 Karlsruhe, Germany
KaTCH is free software; you can redistribute it and/or modify it
un... | HTML |
bad0102dc267137fa436)
;
var circle_marker_f6b547d209f23515489b3aa97dc51f9e = L.circleMarker(
[51.66, -112.675],
{"bubblingMouseEvents": true, "color": "#4363d8", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#4363d8", "fillOpac... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.