content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
.updateWaitingList(parseDownloadList(res));
}
}
@override
void initState() {
super.initState();
updateList();
time = Timer.periodic(const Duration(milliseconds: 1000), (t) {
updateList();
});
}
@override
void dispose() {
time?.cancel(); // 取消定时器以避免未来触发
super.dispose();
... | Dart |
(): T;
equal?(lhs: T, rhs: T): boolean;
copy?(obj: T): T;
}
import { InvalidationType } from "./databaseTypes";
import { ColumnSchema } from "./columnSchema";
import { SchemaError } from "../error";
export class TableSchema {
public readonly columns: ColumnSchema[];
public readonly foreignKeys: ColumnSchema[];... | Typescript |
ort class LoaderControlBinding implements KnockoutBindingHandler {
/**
* defines template name used for loader depending on current browser.
*/
private static templateName: string;
private static pageLoaderClass: string = "page-loader";
private static nestedLoaderClass... | Typescript |
#
# Copyright (c) 2015 ThoughtWorks, Inc.
#
# Pixelated is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Pixelated is distrib... | Python |
0);
const b6 = GeoBox(west: 40.0, south: 10.0, east: 70.0, north: 20.0);
expect(b4.mergeGeographically(b5) == b6, true);
// intersects tests
expect(b(160, 170).intersects2D(b(169, 172)), true);
expect(b(160, 170).intersects2D(b(170, 172)), true);
expect(b(160, 170).intersects2D(b(17... | Dart |
d_kPointCoordinates,
d_kPointWeights,
d_densityOutQuadValues,
d_gradDensityOutQuadValues,
d_tauOutQuadValues,
isGradDensityDataDependent ||
(d... | C++ |
<[string, string]>;
SECTIONS_NAF_TRIES: Array<[string, string]>;
departementLabelFromCode: (code: string | undefined) => string;
nafLabelFromCode: (code: string | undefined) => string;
regionLabelFromCode: (code: string | undefined) => string;
};
type SelectItemsType = Array<[string, string]>;
/**
* Return a... | Typescript |
}, {"Bringt 1 verschnörkelten Griff der Qiraji, 2 Onyxgötzen, 5 Goldskarabäen und 5 Tonskarabäen zu Aufseher Haro in Silithus. Diese Aufgabe erfordert zum Abschluss auch einen ehrfürchtigen Ruf beim Zirkel des Cenarius."}},
[8711] = {"Klinge der ewigen Gerechtigkeit", {"Die Qiraji und ihre Diener besitzen Gegenstände, ... | Lua |
"106 x 4",
base = 25020,
weapon_id = {
25024
}
},
[25025] = {
id = 25025,
damage = "117 x 4",
base = 25020,
weapon_id = {
25025
}
},
[25026] = {
id = 25026,
damage = "128 x 4",
base = 25020,
weapon_id = {
25026
}
},
[25027] = {
id = 25027,
damage = "139 x 4",
base = 25020... | Lua |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using Prism.Commands;
using WDE.Common.Menu;
using WDE.Common.Modules;
using WDE.Common.QuickAccess;
using WDE.Common.Tasks;
using WDE.Common.Types;
using WDE.Module.Attri... | C# |
rToPeerAccessEnabled(THCState* state, int val) {
state->p2pKernelAccessEnabled = val;
}
struct cudaDeviceProp* THCState_getCurrentDeviceProperties(THCState* state)
{
int curDev = -1;
THCudaCheck(cudaGetDevice(&curDev));
return &(state->deviceProperties[curDev]);
}
struct cudaDeviceProp* THCState_getDevicePro... | C++ |
.000396 ], [ -105.918995, 44.997771 ], [ -105.928184, 44.993647 ], [ -106.024814, 44.993688 ], [ -106.263586, 44.993788 ], [ -106.263682, 45.179792 ], [ -106.279682, 45.179892 ], [ -106.279478, 45.351796 ], [ -106.235575, 45.351796 ], [ -106.234263, 45.788401 ], [ -106.191861, 45.788600 ], [ -104.982036, 45.787009 ], [... | JavaScript |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// PaymentItems Data Structure.
/// </summary>
[Serializable]
public class PaymentItems : AopObject
{
/// <summary>
/// is goods allowed partial payment
/// </summary>
[XmlEle... | C# |
SC *)p_phy_data->DataPtr;
blk_size_log2 = FSUtil_Log2(p_dev_desc->BlkSize);
blk_cnt = p_dev_desc->PgCnt / p_dev_desc->BlkSize;
for(blk_ix = 0u; blk_ix < blk_cnt; blk_ix++) {
blk_addr = blk_ix << blk_size_log2;
if(p_dev_desc->BinPg == DEF_YES) {
*p_err = FS_ERR_DEV_IO; ... | C |
ages/help-icon.svg\" height=\"90\" alt=\"Helper Icon Image\" />\r\n <h5 class=\"mt-3\">{{.info.SiteName}} V5.1.0</h5>\r\n <p class=\"mb-3\">花有重开日 人无再少年</p>\r\n <a href=\"https://obai.cc/ji-shu/Like_Girl_For_Golang.html\" target=\"_blank\"\r\n ... | Go |
ого транспорта 7
new Vector3(-289.3858, -2663.2488, 5.1595364), // Общая тревога кнопка 8
new Vector3(-330.44122, -2778.9834, 5.3272867), // Вход из мира в инту 9
new Vector3(-2345.4094, 3225.2507, 29.22482), // Выход из инты в мир 10
new Vector3(-315.38025, -2698.401, 7.... | C# |
Type: nftables.ChainTypeFilter,
Hooknum: nftables.ChainHookForward,
Priority: nftables.ChainPriorityFilter,
})
set := &nftables.Set{
Table: filter,
Name: "test",
KeyType: nftables.TypeInetService,
}
if err := c.AddSet(set, nil); err != nil {
t.Errorf("c.AddSet(portSet) failed: %v", err)
}
... | Go |
ProblemDetails(StatusCodes.Status412PreconditionFailed),
_ => null
})
.AddEventStoreDBSubscriptionToAll<EventBusBatchHandler>("DDDESDB")
.AddCartsModule(builder.Configuration)
.AddOptimisticConcurrencyMiddleware()
.AddOpenTelemetry("Carts", OpenTelemetryOptions.Build(options =>
... | C# |
.Text
import tech.thatgravyboat.skyblockapi.utils.text.TextColor
import tech.thatgravyboat.skyblockapi.utils.text.TextProperties.stripped
import tech.thatgravyboat.skyblockapi.utils.text.TextStyle.color
typealias SkyBlockItemId = SkyBlockId
@JvmInline
value class SkyBlockId private constructor(val id: String) {
c... | Kotlin |
- cx) * (by - cy);
const det = detleft - detright;
const detsum = Math.abs(detleft + detright);
if (Math.abs(det) >= ccwerrboundA * detsum) return det;
return -orient2dadapt(ax, ay, bx, by, cx, cy, detsum);
}
const EPSILON = Math.pow(2, -52);
const EDGE_STACK = new Uint32Array(512);
class Delaunato... | JavaScript |
curl --location 'http://0.0.0.0:4000/chat/completions' \
--header 'Authorization: Bearer sk-1234' \
--header 'Content-Type: application/json' \
--data '{
"model": "my-model",
"messages": [
{
"role": "user",
"content": "what llm are you"
}
],
... | Markdown |
d:
*
* ```sh
* npm show piral-cli version --tag 0.10.10
* ```
*
* The result has to be a valid version answer. In the given example there is no
* response, so it is empty. A valid response appear for:
*
* ```sh
* npm show piral-cli version --tag 0.10.9
* ```
*
* Here the answer is 0.10.9.
*/
export functi... | Typescript |
#include "platform_config.h"
#if !defined(HAVE_SLASHMACRO) && !defined(HAVE_DOLLARMACRO)
#error Unknown gnu as macro parameter convention! Run ./configure
#endif
#if defined(__MACH__)
.macro FN name
#if defined(HAVE_SLASHMACRO)
\name:
_\name:
#elif defined(HAVE_DOLLARMACRO)
$0:
_$0:
#endif
.endm
.macr... | Assembly |
_base_ = '../retinanet/retinanet_r50_fpn_1x_coco.py'
model = dict(
bbox_head=dict(
loss_cls=dict(
_delete_=True,
type='GHMC',
bins=30,
momentum=0.75,
use_sigmoid=True,
loss_weight=1.0),
loss_bbox=dict(
_delete_=True,... | Python |
="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M14.708 5.5H7.5a2 2 0 00-2 2v33a2 2 0 002 2h29.049M42.5 26.686V7.5a2 2 0 00-2-2H28.44"/><path fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" d="M5.5 28.27c.84 1.573 2.194 1.658 3.117-.207 3.886 2.938 8.162 4.3 13... | Dart |
ut waiting for transaction %s to be processed by block assembly", txHash.String())
}
// Check if the transaction is in the mining candidate
txFoundMap, err := td.checkTransactionsInMiningCandidate(tx)
if err != nil {
// If we can't get a candidate, sleep and retry
time.Sleep(checkInterval)
continue
... | Go |
teNames: ['[user]'],
routes: [
{
name: '[user]',
params: {
user: 'bacon',
},
state: {
stale: false,
type: 'tab',
key: 'tab-n3xlu2kPlKh1VOA... | Typescript |
$$value ? "unshift" : "push"](() => {
__ref = $$value;
$$invalidate(26, __ref);
});
}
$$self.$$set = $$props => {
if ("color" in $$props) $$invalidate(1, color = $$props.color);
if ("accept" in $$props) $$invalidate(2, accept = $$props.accept);
if ("autocapitalize" in $$props) $$invalidate(3, autocapit... | Typescript |
Impl struct{}
func (gi *GetInfoImpl) getInfoSchemaForShard(migrationProjectId string, shardConnInfo profiles.DirectConnectionConfig, driver string, targetProfile profiles.TargetProfile, sourceProfileDialect profiles.SourceProfileDialectInterface, getInfo GetInfoInterface) (common.InfoSchema, error) {
params := make(m... | Go |
data.containsKey('INSCRICAO_MUNICIPAL_SH')) {
context.handle(
_inscricaoMunicipalShMeta,
inscricaoMunicipalSh.isAcceptableOrUnknown(
data['INSCRICAO_MUNICIPAL_SH']!, _inscricaoMunicipalShMeta));
}
if (data.containsKey('DENOMINACAO_SH')) {
context.handle(
_... | Dart |
sqlx::query_as::<Sqlite, crate::db::model::Setting>("SELECT * FROM settings WHERE item=?")
.bind(item)
.fetch_optional(super::get_sqlite())
.await?;
Ok(r)
}
use crate::context::Context;
use crate::engine::*;
use crate::*;
const STAGE_ROWS: usize = 5;
const STAGES_PER_ROW: usize = 5;
#[deri... | Rust |
$t9, 0x80($s0)
/* 05A3B8 800B2168 9458000C */ lhu $t8, 0xc($v0)
/* 05A3BC 800B216C A7380014 */ sh $t8, 0x14($t9)
/* 05A3C0 800B2170 8E090080 */ lw $t1, 0x80($s0)
/* 05A3C4 800B2174 9448000E */ lhu $t0, 0xe($v0)
/* 05A3C8 800B2178 A5280016 */ sh $t0, 0x16($t1)
/* 05A3CC 800B217C 8E0B0080 */ lw $t3... | Assembly |
e","IF":"<0.1","Quartile":"N/A"},{"Journal":"Journal fur Hypertonie","IF":"<0.1","Quartile":"N/A"},{"Journal":"Journal of Active and Passive Electronic Devices","IF":"<0.1","Quartile":"N/A"},{"Journal":"Journal of Adaptation in Film & Performance","IF":"<0.1","Quartile":"N/A"},{"Journal":"JOURNAL OF AMERICAN CULTURE","... | JavaScript |
𝟱; 𝟱; 5; 5; ) MATHEMATICAL SANS-SERIF BOLD DIGIT FIVE
1D7F2;1D7F2;1D7F2;0036;0036; # (𝟲; 𝟲; 𝟲; 6; 6; ) MATHEMATICAL SANS-SERIF BOLD DIGIT SIX
1D7F3;1D7F3;1D7F3;0037;0037; # (𝟳; 𝟳; 𝟳; 7; 7; ) MATHEMATICAL SANS-SERIF BOLD DIGIT SEVEN
1D7F4;1D7F4;1D7F4;0038;0038; # (𝟴; 𝟴; 𝟴; 8; 8; ) MATHEMATICAL SANS-SERIF BOLD... | Kotlin |
: map[position][]position{
ln(2, 1, "d"): {ln(1, 1, "d")},
ln(2, 1, "a"): {ln(1, 1, "a"), ln(1, 2, "a")},
ln(2, 1, "b"): {ln(1, 1, "b"), ln(1, 2, "b")},
ln(3, 1, "d"): {ln(1, 1, "d")},
ln(3, 1, "c"): {ln(1, 1, "c")},
ln(1, 1, "d"): {self},
ln(1, 1, "a"): {self},
ln(1, 1, "b"): {self},
... | Go |
x) = glap.lap_avg_hr {
if x > 0.0 {
outstr.push(format!("{} bpm", x));
}
}
Ok(outstr.join(" ").into())
}
fn print_splits(
gfile: &GarminFile,
split_distance_in_meters: f64,
label: &str,
) -> Result<StackString, Error> {
if gfile.points.is_empty() {
return Ok... | Rust |
super(pointer, name, reverse, startWith);
}
}
/*
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 ownership.
The ASF licenses this file to You under the Apa... | Java |
}
.build()
return _volumeMute!!
}
private var _volumeMute: ImageVector? = null
package id.walt.cli.commands
import com.github.ajalt.clikt.core.PrintHelpMessage
import com.github.ajalt.clikt.core.parse
import com.github.ajalt.clikt.testing.test
import id.walt.cli.util.getResourcePath
import id.walt... | Kotlin |
nedDataWithProofs(2, spk, MinFee, 67890)
tx2.Entries = DataEntries{de}
_, err = tx2.Validate(TransactionValidationParams{Scheme: TestNetScheme})
assert.NoError(t, err)
}
func TestDataWithProofsSizeLimit(t *testing.T) {
repeat := func(e *BinaryDataEntry, n int) DataEntries {
r := DataEntries{}
for i := range n ... | Go |
// ClientSocket.h: interface for the CClientSocket class.
//
//////////////////////////////////////////////////////////////////////
#pragma once
#include <winsock2.h>
#include <mswsock.h>
#include "Buffer.h" // Added by ClassView
#include "Manager.h"
// Change at your Own Peril
// 'G' 'h' '0' 's' 't' | PacketLen | Un... | C |
ge filters the device supports, check the <strong>FilterCaps</strong> member of the <strong><see cref="SharpDX.MediaFoundation.DirectX.Vpdevcaps"/></strong> structure. Call the <strong><see cref="SharpDX.MediaFoundation.DirectX.HDDevice.GetVideoProcessorDeviceCaps"/></strong> method to get this value.</p>
/// </re... | C# |
n Loss"}
if opt.testOnly then
local top1Err, top5Err = trainer:test(0, valLoader)
print(string.format(' * Results top1: %6.3f top5: %6.3f', top1Err, top5Err))
return
end
trainingStats = { testLoss={}, trainLoss={}, testError={}, trainError={}}
local startEpoch = checkpoint and checkpoint.epoch + 1 or opt.e... | Lua |
putInstances * l.NbMillerLoopCircuits
}
func (l *Limits) nbFinalExps() int {
return l.NbFinalExpInputInstances * l.NbFinalExpCircuits
}
func (l *Limits) nbG2MembershipChecks() int {
return l.NbG2MembershipInputInstances * l.NbG2MembershipCircuits
}
func (l *Limits) sizeMillerLoopPart() int {
return l.nbMillerLoop... | Go |
lId: data.skill.id
});
super.execute(data);
}
}
class OnHitDebuffSkillLogic extends SkillLogic {
private static UNINITIALIZED_VALUE = -1234;
private executionLeft: number = OnHitDebuffSkillLogic.UNINITIALIZED_VALUE;
willBeExecuted(data: SkillLogicData): boolean {
var hasTarget... | Typescript |
prediction
//keep these current angles
//SetClientViewAngle( parent, pVeh->m_vOrientation );
memset( &parent->client->pers.cmd, 0, sizeof( usercmd_t ) );
#else
parent->owner = NULL;
//keep these current angles
//SetClientViewAngle( parent, pVeh->m_vOrientation );
memset( &parent->client->usercmd, 0, si... | C++ |
theme="tomorrow"] .hljs-symbol,[data-highlight-theme="tomorrow"] .hljs-bullet,[data-highlight-theme="tomorrow"] .hljs-addition{color:#718c00}[data-highlight-theme="tomorrow"] .hljs-title,[data-highlight-theme="tomorrow"] .hljs-section{color:#4271ae}[data-highlight-theme="tomorrow"] .hljs-keyword,[data-highlight-theme="... | CSS |
//
// Copyright ical.net project maintainers and contributors.
// Licensed under the MIT license.
//
using System;
using System.Globalization;
using Ical.Net.DataTypes;
namespace Ical.Net;
public static class CalendarExtensions
{
/// <summary>
/// Calculate the week number according to ISO.8601, as required... | C# |
---@class snacks.toggle
---@overload fun(... :snacks.toggle.Opts): snacks.toggle.Class
local M = setmetatable({}, {
__call = function(M, ...)
return M.new(...)
end,
})
M.meta = {
desc = "Toggle keymaps integrated with which-key icons / colors",
}
---@class snacks.toggle.Config
---@field icon? string|{ enabl... | Lua |
e (for example) looks like this:</p>'
+'<p style="display: inline-block; background-color: lightgrey; border: 1px solid black; padding: 4px; color: dimgrey; font-weight: extra-light;"><b>^^toWhoPublic^^</b> &{template:<b>^^defaultTemplate^^</b>}{{title=<b>^^tname^^</b> attacks @{Target|Select Target|Token_name} ... | JavaScript |
ght, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\t#ifdef TOON\n\t\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\n\t#else\n\t\tfloat dotNL = saturate( dot( geometry.normal, directLight.direct... | JavaScript |
is_pattern, name, errp)) {
return;
}
/* Apply changes (all errors checked above) */
trace_event_iter_init(&iter, name);
while ((ev = trace_event_iter_next(&iter)) != NULL) {
if (!trace_event_get_state_static(ev) ||
(has_vcpu && !trace_event_is_vcpu(ev))) {
... | C |
protoiface.SupportUnmarshalDiscardUnknown,
Size: size,
Marshal: marshal,
Unmarshal: unmarshal,
Merge: nil,
CheckInitialized: nil,
}
}
var _ protoreflect.List = (*_ModuleConfig_3_list)(nil)
type _ModuleConfig_3_list struct {
list *[]*GolangBinding
}
func (x *_M... | Go |
= skill.getEffector();
switch (properties.getFirstTarget()) {
case ME:
skill.setFirstTargetRangeCheck(false);
skill.setFirstTarget(effector);
break;
case TARGETORME:
if (effector.equals(skill.getFirstTarget()))
break;
boolean changeTargetToMe = false;
if (skill.getFirstTarget() == ... | Java |
user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.owl-carousel.owl-grab{cursor:move;cursor:grab}.owl-carousel.owl-rtl{direction:rtl}.owl-carousel.owl-rtl .owl-item{float:right}.owl-carousel .animated{animation-duration:1s;animation-fill-mode:both}.owl-carousel .owl-animated-in{z-index:0}.owl... | CSS |
< 4; s5++)
{
weight = (10 * faceCard[i] + suitCards[s1]) + (20 * faceCard[i + 1] + suitCards[s2])
+ (30 * faceCard[i + 2] + suitCards[s3]) + (40 * faceCard[i + 3] + suitCards[s4])
+ (50 * f... | C# |
ding.mangaMenu.runMenuIn()
}
}
onNextPage {
scrollToNext()
}
onPrevPage {
scrollToPrev()
}
}
}
override fun onNewIntent(intent: Intent) {
super.onNewIntent(intent)
viewModel.initD... | Kotlin |
serial("method `upgrade` performs only a certain number of migrations", async (t) => {
let count = 0;
let migrator = new Migrator({ cacheFilePath });
migrator.add({
index: 1,
upgrade: () => count++,
});
migrator.add({
index: 3,
upgrade: () => count++,
});
let index = await migrator.upgra... | Typescript |
_Settings->LoadStringIndex(Cheat_RangeNotes, item.lParam));
stdstr Range(g_Settings->LoadStringIndex(Cheat_Range, item.lParam));
stdstr Value(g_Settings->LoadStringIndex(Cheat_Extension, item.lParam));
//Set up language support for dialog
SetWindowTextW(hDlg, wGS(CHEAT_CODE_EXT_TITLE).c... | C++ |
toEqual(anObject.nestedObject);
});
it('should return a copy of an array', () => {
const anArray = [
'value',
'another_value',
{
anObjectProperty: 'value',
},
];
const result = deepCopy(anArray);
// Ensure not the same reference
expect(result)
.not.toBe(anA... | Typescript |
be 'image/jpeg', got '%s'", unmarshaled.ToolResult[1].MediaType)
}
}
// Package llm provides a unified interface for interacting with LLMs.
package llm
import (
"context"
"encoding/json"
"fmt"
"log/slog"
"net/http"
"os"
"path/filepath"
"strconv"
"strings"
"time"
)
type Service interface {
// Do sends a re... | Go |
// Copyright (C) NeoAxis Group Ltd. This is part of NeoAxis 3D Engine SDK.
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.ComponentModel;
using System.Drawing.Design;
using Engine.EntitySystem;
using Engine.MapSystem;
using Engine.Renderer;
namespace ProjectEn... | C# |
* w;
* return x;
* }
*
* Proves that the multiplication never exceeds 24 bits and can thus be an int
*/
final class RangeAnalyzer extends NodeOperatorVisitor<LexicalContext> {
static final DebugLogger LOG = new DebugLogger("ranges");
private static final Range.Functionality RANGE = new Range.Functio... | Java |
px;
background-color: #cacbcd;
}
ul.buttonList li a:active
{
color: #fff;
text-shadow: 0px -1px 0px #666;
border-color: #a3a3a3;
background-position: 0 -700px;
background-color: #b7b9bb;
-webkit-box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0px 0px 4px 0px ... | CSS |
462-.705-1.864-1.697.01-2.245-4.72 1.662-4.742-1.28-2.114-.751-3.54-2.205-5.299-.718-.98-.772-3.473-.698-.699-2.283a3.785 3.785 0 012.213-.625zm19.107 5.277c.37-.144 1.316 1.79 1.65.387.646 1.7 2.371 6.354.093 6.605 1.183-2.5-.758-4.772-1.891-6.494.01-.32.063-.465.148-.498z" color="currentColor"/></svg>';
static cons... | Dart |
nameControl:SetColor(GetInterfaceColor(INTERFACE_COLOR_TYPE_ITEM_QUALITY_COLORS, data.displayQuality or data.quality))
-- Setup the currency fields for the price.
local notEnough = self.currentMoney < data.stackBuyPrice
ZO_CurrencyControl_SetSimpleCurrency(priceControl, CURT_MONEY, data.stackBuyPrice, ITEM... | Lua |
)
}
}
return &unsupportedStreamAssignment{
reason: reason,
info: StreamInfo{
Created: sa.Created,
Config: *setDynamicStreamMetadata(sa.Config),
Domain: s.getOpts().JetStreamDomain,
TimeStamp: time.Now().UTC(),
},
}
}
func (usa *unsupportedStreamAssignment) setupInfoSub(s *Server, sa *str... | Go |
-user-select: none; margin-top: -1.4em; margin-bottom: 1.4em;"><a href="https://en.wikipedia.org/wiki/Synonym#mw-head" style="text-decoration: none; color: rgb(11, 0, 128); background: none;"></a><a href="https://en.wikipedia.org/wiki/Synonym#p-search" style="text-decoration: none; color: rgb(11, 0, 128); background: n... | Markdown |
:`cursor` 字段基础库 [1.17.0](https://opendocs.alipay.com/mini/framework/compatibility) 及以上开始支持。 |
| onFocus | EventHandle | 输入框聚焦时触发 `event.detail = {value: value}`。 |
| onBlur | EventHandle | 输入框失去焦点时触发,`event.detail = {value: value}`。 |
| onConfirm | EventHandle | 点击完成时触发,`event.detail = {value: value}`。 |
# 简介
需要重点强调该操... | Markdown |
ction 52 (1992-05)(Active Enterprises)(EU).png",
"Named_Snaps/Action 52 (1992-05)(Active Enterprises)(US)[b].png",
"Named_Snaps/Action 52 (1992-05)(Active Enterprises)(US)[b2].png",
"Named_Snaps/Action 52 (1992-05)(Active Enterprises)(US).png",
"Named_Snaps/Action 52 (USA) (Rev A) (Unl).png",
"Named_Snaps/Act... | Lua |
熵
熠
澍
澌
潸
潦
潲
鋈
潟
潼
潺
憬
憧
寮
窳
谳
褴
褟
褫
谵
熨
屦
嬉
勰
戮
蝥
缬
缮
缯
骣
畿
耩
耨
耪
璞
璟
靛
璠
璘
聱
螯
髻
髭
髹
擀
熹
甏
擞
縠
磬
颞
蕻
鞘
颟
薤
薨
檠
薏
薮
薜
薅
樾
橛
橇
樵
檎
橹
樽
樨
橼
墼
橐
翮
醛
醐
醍
醚
磲
赝
飙
殪
霖
霏
霓
錾
辚
臻
遽
氅
瞟
瞠
瞰
嚄
嚆
噤
暾
蹀
踹
踵
踽
蹉
蹁
螨
蟒
螈
螅
螭
螠
螟
噱
噬
噫
噻
噼
罹
圜
䦃
镖
镗
镘
镚
镛
镝
镞
镠
氇
氆
憩
穑
篝
篥
篦
篪
篙
盥
劓
翱
魉
魈
徼
歙
膳
膦
膙
鲮
鲱
鲲
鲳
鲴
鲵
鲷
鲻
獴
獭
獬
邂
鹧
廨
赟
瘰... | Lua |
/**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE... | C |
Decoder valueDecoder, KVSQLField field) {
// First, figure out which decoder method to call basing on the protocol value type from metadata;
// it's the best way to find the appropriate decoder, we can't rely completely on MysqlType here
// because the same MysqlType can be represented by diffe... | Java |
70f8f1fa1 };
const char * __type_info__8b31a791bfbc26b9_arg_names_var_360037610959152188[2] = { "self", "expr" };
VarInfo __struct_info__4ff1c4cb300243c_field_216 = { Type::tFunction, nullptr, nullptr, nullptr, &__type_info__6636442e03391ebf, nullptr, (TypeInfo **)__type_info__8b31a791bfbc26b9_arg_types_var_3600376109... | C++ |
Design: Solid Empyrean Sapphire
[32287] = {14,375,39716}, -- Design: Sparkling Empyrean Sapphire
[32288] = {14,375,39716}, -- Design: Sparkling Empyrean Sapphire
[32289] = {14,375,39718}, -- Design: Stormy Empyrean Sapphire
[32290] = {14,375,39711}, -- Design: Brilliant Crimson Spinel
[32291] = {14,... | Lua |
reparse point data. If an existing reparse point is being modified, the tag specified in the **ReparseTag** member of this structure must match the tag of the reparse point to be modified. In addition, if the reparse point is a third-party (non-Microsoft) reparse point, the GUID specified in the **ReparseGuid** member... | Markdown |
namespace System.Drawing
{
using System;
public enum KnownColor
{
ActiveBorder = 1,
ActiveCaption = 2,
ActiveCaptionText = 3,
AliceBlue = 0x1c,
AntiqueWhite = 0x1d,
AppWorkspace = 4,
Aqua = 30,
Aquamarine = 0x1f,
Azure = 0x20,
... | C# |
e;box-shadow:none}a.list-group-item.active,a.list-group-item.active:hover,a.list-group-item.active:focus{border:none}a.list-group-item-success.active{background-color:#5cb85c}a.list-group-item-success.active:hover,a.list-group-item-success.active:focus{background-color:#4cae4c}a.list-group-item-warning.active{backgroun... | CSS |
Id.WELLESLEY,
date,
tested,
positive,
});
const includeOldestAfter = searchOldestAfter.length !== 1;
// startDays is the number of days between the new day and the oldest entry less than
// 1 week ago. Defaults to 0.
const startDays = (dateObj.getTime() - new Date(oldestAfter.dat... | Typescript |
//////////////////////////////////////////////////////////////////////////////
//
// This file is part of the Corona game engine.
// For overview and more information on licensing please refer to README.md
// Home page: https://github.com/coronalabs/corona
// Contact: support@coronalabs.com
//
///////////////////////... | C |
assertArgumentsContain(newVersion, "--short")
}
}
@Test
fun `test venv 1 - no name`() {
val interpreter = randomPath()
val command = uv.venv(interpreter, name = null)
commandTest<VenvCommand>(command) {
assertArgumentsContain("--python" to inter... | Kotlin |
B0 1F 00 02 */ sth r0, 2(r31)
/* 80382668 0037E2C8 4B E4 49 99 */ bl __cvt_fp2unsigned
/* 8038266C 0037E2CC 28 03 FF FF */ cmplwi r3, 0xffff
/* 80382670 0037E2D0 40 80 00 14 */ bge lbl_80382684
/* 80382674 0037E2D4 C0 02 A7 A0 */ lfs f0, lbl_80642DA0-_SDA2_BASE_(r2)
/* 80382678 0037E2D8 EC 20 04 72 */ fmuls f1, f0... | Assembly |
_CONTEXT_REPORT, "Signaler un joueur", 0)
SAS(SI_CHAT_PLAYER_CONTEXT_SPAM, "Signaler du spam", 1)
SAS(SI_CHAT_PLAYER_CONTEXT_WHISPER, "Chuchoter", 1)
SAS(SI_CHAT_SHUTDOWN_CANCEL, "L'arrêt serveur est annulé.", 0)
SAS(SI_CHAT_SHUTDOWN_NOW, "Le serveur va fermer maintenant.", 0)
SAS(SI_CHAT_SHUTDOWN_RESCHEDULE, "L'arrêt ... | Lua |
ne-path-13--alerted clr-i-alert\" d=\"M26.85,1.14,21.13,11A1.28,1.28,0,0,0,22.23,13H33.68A1.28,1.28,0,0,0,34.78,11L29.06,1.14A1.28,1.28,0,0,0,26.85,1.14Z\"/>\n <path class=\"clr-i-solid clr-i-solid-path-1\" d=\"M32.25,6h-4V9a2.2,2.2,0,1,1-4.4,0V6H12.2V9A2.2,2.2,0,0,1,7.8,9V6h-4A1.78,1.78,0,0,0,2,7.81V30.... | JavaScript |
_, err := s.Client().Zone().ChangeRRSetProtection(s, rrset, opts)
if err != nil {
return err
}
if err = s.WaitForActions(s, cmd, action); err != nil {
return err
}
if enable {
cmd.Printf("Resource protection enabled for Zone RRSet %s %s\n", rrset.Name, rrset.Type)
} else {
cmd.Printf("Resource protecti... | Go |
ex = 0;
}
} while (!this.menuItems[this.menuItemIndex].active);
this.menuItems[this.menuItemIndex].select();
}
public select(index: number | undefined) {
if (index == null) {
index = 0;
}
this.menuItems[this.menuItemIndex].deselect();
this.menuItemIndex = index;
while (!this... | Typescript |
from pm4py.objects.petri_net.obj import InhibitorNet, Marking, PetriNet
from pm4py.objects.petri_net.properties import AGE_INVARIANT
class TimedMarking(Marking):
def __init__(self, marking=None):
Marking.__init__(self, marking)
self.timed_dict = {} # place and age of token (the net is 1-safe or ... | Python |
}
/// Decodes the opcode.
fn decode_opcode(&mut self, rex: RexPrefix) -> (&'a [u8], Option<(Mnemoic, OperandLayout)>) {
use OperandLayout::*;
// Find out the length of the opcode and adjust the index.
let mut len = 1;
if self.bytes[self.index] == 0x0f {
len += ... | Rust |
at:
"""
Calculate the speaker similarity between the prompt and completion audio.
Args:
model: The model to use for speaker similarity calculation.
prompt_audio: The prompt audio tensor.
prompt_sample_rate: The sample rate of the prompt audio.
completion_audio: The completio... | Python |
unicode-range: U+6792-6793, U+6796, U+6798, U+679e-67a1, U+67a5, U+67a7-67a9, U+67ac-67ad, U+67b0-67b1, U+67b3, U+67b5, U+67b7, U+67b9, U+67bb-67bc, U+67c0-67c1, U+67c3, U+67c5-67ca, U+67d1-67d2, U+67d7-67d9, U+67dd-67df, U+67e2-67e4, U+67e6-67e9, U+67f0, U+67f5, U+67f7-67f8, U+67fa-67fb, U+67fd-67fe, U+6800-6801, U+6... | CSS |
ables r9k mode.
#[non_exhaustive]
#[derive(Debug, Copy, Clone, PartialEq, Ord, PartialOrd, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(::serde::Deserialize))]
pub struct R9kBetaOff<'a> {
pub(crate) channel: &'a str,
}
/// Disables r9k mode.
pub const fn r9k_beta_off(channel: &str) -> R9kBetaOff<'_> {
R9kBe... | Rust |
class MetaSingleton(type):
_instances = {}
def __call__(cls, *args, **kwargs):
if cls not in cls._instances:
cls._instances[cls] = super(MetaSingleton, cls).__call__(
*args, **kwargs
)
return cls._instances[cls]
class Logger(metaclass=MetaSingleton):
... | Python |
0x02037D2C
push {r3, lr}
ldr r0, _02037D74 ; =_021D4150
ldr r0, [r0]
cmp r0, #0
beq _02037D72
bl sub_02034154
ldr r0, _02037D74 ; =_021D4150
ldr r0, [r0]
ldr r0, [r0]
cmp r0, #0
beq _02037D48
bl Heap_Free
_02037D48:
bl sub_02039998
cmp r0, #0
beq _02037D56
mov r0, #0x30
bl Heap_Destroy
_02037D56:
bl ... | Assembly |
eserveHeader(&fragn, FRAGN_HEADER_SIZE);
ds_field = ((DISPATCH_FRAG_SUBSEQ & DISPATCH_MASK) << DISPATCH_SHIFT);
ds_field |= (size & SIZE_MASK);
packetfunctions_htons(ds_field, (uint8_t * ) & (((fragn_t *) fragn->payload)->dispatch_size_field));
packetfunctions_htons(tag, (uint8_t * ) & (((fragn_t *) fra... | C |
ConfNotFound"
// INTERNALERROR_INVALIDINPUT = "InternalError.InvalidInput"
// INTERNALERROR_NOTFOUND = "InternalError.NotFound"
// INTERNALERROR_RULEALREADYEXIST = "InternalError.RuleAlreadyExist"
// INTERNALERROR_RULEINUSING = "InternalError.RuleInUsing"
// INTERNALERROR_RULENOTFOUND = "InternalError.RuleNotFound... | Go |
button.md-accent.md-fab:not([disabled]).md-focused {
background-color: #c2185b;
}
.md-button.md-accent:not([disabled]) md-icon {
color: #ff4081;
}
.md-button[disabled],
.md-button.md-raised.md-primary[disabled],
.md-button.md-raised[disabled],
.md-button.md-fab[disabled],
.md-button.md-accent[disabled],
.md-button.... | CSS |
C];end;B=A;elseif C==18 then if not E[A[2]]then D=D+1;end;end;elseif C<=20 then if C==19 then local o;local F=A[2];local n={};local C=0;local D=B;for A=F+1,D do C=C+1;n[C]=E[A];end;D,o=e(E[F](l(n,1,D-F)));D=F+A[4]-2;C=0;for A=F,D do C=C+1;E[A]=o[C];end;B=D;elseif C==20 then local C=A[2];if C>B then B=C end;E[C]=E[A[3]]... | Lua |
666 transparent transparent;border-style:dashed solid dashed dashed;font-size:0;vertical-align:bottom;margin-top:6px;margin-bottom:2px;-moz-box-shadow:0 1px 0 rgba(255,255,255,.3);-webkit-box-shadow:0 1px 0 rgba(255,255,255,.3);box-shadow:0 1px 0 rgba(255,255,255,.3)}.cke_hc .cke_resizer{font-size:15px;width:auto;heigh... | CSS |
symb2 = MIR_Return.getClearVal2(ret);
TypeReference type = symb2.getType();
Register r = phys.getSecondReturnGPR();
RegisterOperand rOp = new RegisterOperand(r, type);
ret.insertBefore(MIR_Move.create(IA32_MOV, rOp, symb2));
MIR_Return.setVal2(ret, rOp.copyD2U());
}
// Clear the ... | Java |
ends
// @@protoc_insertion_point(interface_extends:google.cloud.dataform.v1.CreateWorkflowInvocationRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
* <pre>
* Required. The repository in which to create the workflow invocation. Must
* be in the format `projects/*/locations/*... | Java |
{
effect* peffect = ifit->first;
card* phandler = peffect->get_handler();
if(peffect->is_chainable(ifit->second.triggering_player) && peffect->check_count_limit(ifit->second.triggering_player)
&& phandler->is_has_relation(ifit->second)) {
if(ifit->second.triggering_player == check_player)
core.s... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.