content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
XL = "xl"
}
export declare type BackgroundColor = "default" | "primary" | "info" | "success" | "warning" | "danger";
export declare enum BackgroundColorType {
DEFAULT = "default",
PRIMARY = "primary",
INFO = "info",
SUCCESS = "success",
WARNING = "warning",
DANGER = "danger"
}
export declare typ... | Typescript |
ol_character": {
Message: &cases.IsUriRef{Val: "//host/\x1F"},
Expected: results.Violations(
&validate.Violation{
RuleId: proto.String("library.is_uri_ref"),
},
),
},
"invalid/path-abempty_segment_bad_pct-encoded": {
Message: &cases.IsUriRef{Val: "//host/%x"},
Expected: results.Violation... | Go |
#!/usr/bin/python3
MyList = __import__('1-my_list').MyList
my_list = MyList()
my_list.append(1)
my_list.append(4)
my_list.append(2)
my_list.append(3)
my_list.append(5)
print(my_list)
my_list.print_sorted()
print(my_list)
| Python |
},
Args: func(cmd *cobra.Command, args []string) error {
contaboCmd.ValidateCreateInput()
if len(args) > 1 {
cmd.Help()
log.Fatal("Too many positional arguments.")
}
if len(args) < 1 {
cmd.Help()
log.Fatal("Please provide a instanceId.")
}
viper.BindPFlag("displayName", cmd.Flags().Lookup("d... | Go |
Name = targetName
)
execLogger {
it.workingDir(folder)
it.commandLine(iosXcodegenExt.xcodeGenExe)
}
}
}
tasks.createThis<Task>("${targetName}ShutdownSimulator") {
doFirst {
execLogger { it.commandLine("xcrun", "sim... | Kotlin |
.google.cloud.metastore.v1beta.AuxiliaryVersionConfig>
getAuxiliaryVersions();
/**
*
*
* <pre>
* A mapping of Hive metastore version to the auxiliary version
* configuration. When specified, a secondary Hive metastore service is
* created along with the primary service. All auxiliary versions... | Java |
#include "asm_mac.i"
func VDP_loadBMPTileData
movm.l #0x3c00,-(%sp)
move.w 34(%sp),%d3 // d3 = h
jeq .L17
move.w 30(%sp),%d4 // d4 = w
jeq .L17
pea 2.w
jbsr VDP_setAutoInc
addq.l #4,%sp
move.l #0xC00000,%a1 // VDP data port
mo... | Assembly |
namespace Reloaded.Mod.Loader;
public static class Errors
{
public const string UnableToFindApplication = "Unable to find an app configuration for the currently executing EXE.\n" +
"Please go to `Edit Application` in Reloaded launcher and click `Update`.\n" +
... | C# |
generated
* @ordered
*/
int PHYSICAL_COMPONENT__OWNED_PROPERTY_VALUE_GROUPS = CsPackage.ABSTRACT_PHYSICAL_ARTIFACT__OWNED_PROPERTY_VALUE_GROUPS;
/**
* The feature id for the '<em><b>Applied Property Value Groups</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated... | Java |
.testing.ui.espresso.Root (TestKit 1.1 API)</title>
<meta name="date" content="2014-01-07">
<link rel="stylesheet" type="text/css" href="../../../../../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.... | HTML |
25)
cp[6699] = 0x231C4; // 𣇄 (1-85-26)
cp[6700] = 0x6659; // 晙 (1-85-27)
cp[6701] = 0x665A; // 晚 (1-85-28)
cp[6702] = 0x6661; // 晡 (1-85-29)
cp[6703] = 0x6665; // 晥 (1-85-30)
cp[6704] = 0x6673; // 晳 (1-85-31)
cp[6705] = 0x6677; // 晷 (1-85-32)
cp[6706] = 0... | Java |
<li>irrstSharedMem
: <a class="el" href="irrst_8h.html#a6ec11113e52350b578816d784829ad42">irrst.h</a>
, <a class="el" href="irrst_8c.html#a6ec11113e52350b578816d784829ad42">irrst.c</a>
</li>
<li>irrstWaitForEvent()
: <a class="el" href="irrst_8h.html#a064e532f7919489e9b1ca82b37340126">irrst.h</a>
, <a class="el" href=... | HTML |
< buffer.Count; i++)
{
var j = rng.Next(i, buffer.Count);
yield return buffer[j];
buffer[j] = buffer[i];
}
}
public static T Random<T>(this IEnumerable<T> source)
{
var rng = new Random();
return source.Random(rng);
}
public static T Random<T>(this IEnumerable<T> source, Random rn... | C# |
id text NOT NULL,\n created_at timestamp without time zone NOT NULL,\n updated_at timestamp with time zone NOT NULL,\n CONSTRAINT timestamps_pkey PRIMARY KEY (id)\n)',
'CREATE TABLE datetimes (\n id text NOT NULL,\n d date NOT NULL,\n t time without time zone NOT NULL,\n CONSTRAINT datetime... | Dart |
ay: Romans 5:10 - just a few days until Easter (see you at the Rave!)").osis()).toEqual("Rom.5.10");
expect(p.parse("\"For who is God besides the Lord? And who is a rock? Only our God.\" 2 Sam 22:32 Good word to remember today.").osis()).toEqual("2Sam.22.32");
expect(p.parse("Reading and reflecting on Philippians 1... | JavaScript |
zerFilterSeverity(d, v, "severity", sv)
if err != nil {
return &obj, err
} else if t != nil {
obj["severity"] = t
}
}
}
if v, ok := d.GetOk("forward_traffic"); ok {
if setArgNil {
obj["forward-traffic"] = nil
} else {
t, err := expandLogFortianalyzerFilterForwardTraffic(d, v, "forward_tr... | Go |
View(
new google.picker.DocsView(
google.picker.ViewId.SPREADSHEETS
).setOwnedByMe(true)
)
// Hide the navigation panel so that Picker fills more of the dialog.
.enableFeature(google.picker.Feature.NAV_HIDDEN)
// Hide the title ... | HTML |
}
@Override
public NBTTagCompound fixTagCompound(NBTTagCompound compound) {
String id = compound.getString("id");
if (factionFixes.keySet().contains(id)) {
Tuple<String, String> idFaction = factionFixes.get(id);
compound.setString("id", idFaction.getFirst());
compound.setString("factionName", idFaction... | Java |
énite ombreuse intemporelle",
[23109] = "Draénite ombreuse purifiée",
[23110] = "Draénite ombreuse changeante",
[23111] = "Draénite ombreuse souveraine",
[23112] = "Draénite dorée",
[23113] = "Grenat sanguin brillant",
[23114] = "Draénite dorée lisse",
[23115] = "Draénite dorée subtile",
[23116] = "Pierre de lune azur ... | Lua |
="70754" data-type="show" data-url="/shows/2013-70754" itemscope="" itemtype="http://schema.org/TVSeries"><meta content="https://trakt.tv/shows/2013-70754" itemprop="url"><a href="/shows/2013-70754"><div class="fanart poster stock-titles"><img class="base" src="/assets/placeholders/thumb/poster-c8cc916c52a7f698dc9fa50a... | HTML |
ost('ajax/ajax_test_plan_control.php', {
action: 'changeControlMode',
controlMode: mode
})
}
}
export const toggleGroupsMode: ToggleGroupsModeAction = (groupItems, method) => {
return dispatch => {
dispatch({
type: 'TOGGLE_GROUP_MODE',
payload: {
groupItems,
pgmode:... | Typescript |
omponent(this.digest, this.component);
}
// Coverage-ignore(suite): Not run.
bool digestsEqual(List<int>? a, List<int>? b) {
if (a == null || b == null) return false;
if (a.length != b.length) return false;
for (int i = 0; i < a.length; i++) {
if (a[i] != b[i]) return false;
}
return true;
}
// Copyright... | Dart |
line.HyperMD-list-line-7::after {
content: "7" !important;
}
.line-hover-indicator.focus-indicator-list-level .workspace-leaf-content[data-type="markdown"] .cm-contentContainer .cm-line.HyperMD-list-line.HyperMD-list-line-8::after {
content: "8" !important;
}
.line-hover-indicator.focus-indicator-list-level .... | CSS |
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi -filetype=obj -o - \
@ RUN: | llvm-readobj -s -sd -sr | FileCheck %s
@ Check the .cantunwind directive
@ When a function contains a .cantunwind directive, we should create an entry
@ in corresponding .ARM.exidx, and its second word should be EXIDX_CANTUNWIND.
... | Assembly |
MinSeparation(_indexes, t2);
// System.out.printf("s2: %f\n", s2);
// Is the final configuration separated?
if (s2 > target + tolerance) {
// Victory!
output.state = TOIOutputState.SEPARATED;
output.t = tMax;
done = true;
break;
}
... | Dart |
open) .tox-chevron{transform:rotate(90deg);}.tox .tox-tree .tox-tree--leaf__label{font-weight:normal;}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn{margin-left:auto;}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn svg{fill:transparent;}.tox .tox-tree .tox-tree--leaf__label .tox-mbtn.tox-mbtn--active svg,.tox .tox-tre... | CSS |
lients failed",attribution:"CSMSushiClient_TRANSPORTATION_FAIL",f:"sushi-client.js",logLevel:"ERROR"};C(a,k.ue_err_chan||"jserr");b.ue_err.buffer&&b.ue_err.buffer.push(a)}function m(){if(e.length){for(var a=0;a<n.length;a++)n[a]();B(d._sBcn||{},d._ajx||{});e=[];h={};l=
{};v=w=r=x=0}}function L(){var a=new Date,c=functi... | HTML |
of SharedAndFrontend>(key: K)
{
return this.config[key];
}
}
import { TradeAndOrderBook } from './TradeAndOrderBook'
import { BaseType } from '../../BaseType'
import { config } from '../../config'
import { WebSocketClient } from '../../F/WebSocketClient'
import { mapObjIndexed } from '../../F/mapOb... | Typescript |
poolOfLexems.RedeemLexems(lexems)
require.NotNil(t, lexems)
require.Len(t, *lexems, 4)
assert.Equal(t, "PluralizedInitialismIDsX", m.ToGoName(plurals))
assert.Equal(t, "pluralized_initialism_ids_x", m.ToFileName(plurals))
})
t.Run("with middle initialism", func(t *testing.T) {
const plurals = "pl... | Go |
他有关部门获知有关农产品质量安全风险信息后,应当立即核实并向同级农业农村主管部门通报。接到通报的农业农村主管部门应当及时上报。制定农产品质量安全风险监测计划、实施方案的部门应当及时研究分析,必要时进行调整。
第十四条 国家建立农产品质量安全风险评估制度。
国务院农业农村主管部门应当设立农产品质量安全风险评估专家委员会,对可能影响农产品质量安全的潜在危害进行风险分析和评估。国务院卫生健康、市场监督管理等部门发现需要对农产品进行质量安全风险评估的,应当向国务院农业农村主管部门提出风险评估建议。
农产品质量安全风险评估专家委员会由农业、食品、营养、生物、环境、医学、化工等方面的专家组成。
第十五条 国务院农业农村主管部门应当根据农... | Markdown |
// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2 2>&1 < %s| FileCheck %s
// --------------------------------------------------------------------------//
// Source and Destination Registers must match
sqcadd z0.d, z1.d, z2.d, #90
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: operand must match destination r... | Assembly |
jwt.MapClaims
```
示例代码:
```go
authMiddleware, err := jwt.New(&jwt.HertzJWTMiddleware{
PayloadFunc: func(data interface{}) jwt.MapClaims {
if v, ok := data.(*User); ok {
return jwt.MapClaims{
identityKey: v.UserName,
}
}
return jwt.MapClaims{}
},... | Markdown |
G_VERY_LOW(GAS_CONST_G_VERY_LOW),
G_LOW(GAS_CONST_G_LOW),
G_MID(GAS_CONST_G_MID),
G_HIGH(GAS_CONST_G_HIGH),
G_WARM_ACCESS(GAS_CONST_G_WARM_ACCESS),
G_ACCESS_LIST_ADDRESS(GAS_CONST_G_ACCESS_LIST_ADRESS),
G_ACCESS_LIST_STORAGE(GAS_CONST_G_ACCESS_LIST_STORAGE),
G_COLD_ACCOUNT_ACCESS(GAS_CONST_G_COLD_ACCOUN... | Java |
# × [0.3] DIGIT ZERO (NU) × [7.01] SPACE (SP) ÷ [18.0] QUOTATION MARK (QU) ÷ [0.3]
× 0030 × 0308 × 0022 ÷ # × [0.3] DIGIT ZERO (NU) × [9.0] COMBINING DIAERESIS (CM1_CM) × [19.01] QUOTATION MARK (QU) ÷ [0.3]
× 0030 × 0308 × 0020 ÷ 0022 ÷ # × [0.3] DIGIT ZERO (NU) × [9.0] COMBINING DIAERESIS (CM1_CM) × [7.01] SPACE (S... | Dart |
/*
* SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <vector>
#include <yarp/os/Searchable.h>
#include <yarp/os/Value.h>
#include <yarp/sig/Matrix.h>
#include <yarp/sig/IntrinsicParams.h>
#include <yarp/dev/api.h>
#ifndef YARP_DEV_RGBDSEN... | C |
.4 14.9L9.3 18.1M14.7 18.1L12.6 15L12.8 14.7L14.1 16L14.7 18.1M14.2 11H14.9L15.1 11.9L14.2 11M14.1 8H18.6L19.9 10.6L18.1 11.5L17.4 10H13.2L10.2 7L10.7 5H13.3L14.1 8M8.4 5.2L6.9 3.7L7.8 2H16.3L17.6 4.5L15.8 5.4L15 4H9L8.4 5.2Z" /></svg></li><li title="transmission tower "><svg xmlns="http://www.w3.org/2000/svg" xmlns:xl... | HTML |
sh: u64) {
self.wait_table
.borrow_mut()
.remove_waiter(start_ts, lock)
.and_then(|waiter| {
let pr = ProcessResult::Failed {
err: StorageError::from(TxnError::from(MvccError::from(
MvccErrorInner::Deadlock {
... | Rust |
Incentivized":true}
poolPd := types.OsmosisClPoolProtocolData{
PoolID: 1589,
PoolName: "qATOM/ATOM",
LastUpdated: time.Now(),
PoolData: []byte(`{"address":"osmo1qlyunnmszlve9z5c9g85u2psv30gsvdf7v9pry7pgtndmffej6fs2tkw04","incentives_address":"osmo12yf4vkpv5f7mpzp358cj9as9jma37errqg3mtv6tckehhgs... | Go |
namespace BEPUphysics.BroadPhaseEntries.MobileCollidables
{
//This is implemented by anything which wants the engine to update its bounding box every frame (so long as it is 'active').
///<summary>
/// Superclass of all collidables which are capable of movement, and thus need bounding box updates every fra... | C# |
1 * pixels_per_block, pos_y]);
positions.push([x_offset_3 + 2 * pixels_per_block, pos_y]);
if (preview == 'L') {
x_idx = 0;
} else if (preview == 'T') {
x_idx = 1;
} else {
x_idx = 2; // J
}
positions.push([
x_offset_3 + x_idx * pixels_per_block,
pos_y + pixels_per_bl... | JavaScript |
args.Error(1)
}
func (f *fakeIpNodes) Watch(_ metav1.ListOptions) (watch.Interface, error) {
return nil, nil
}
type fakeIpClaimPools struct {
mock.Mock
}
func (f *fakeIpClaimPools) Create(ipclaimpool *extensions.IpClaimPool) (*extensions.IpClaimPool, error) {
args := f.Called(ipclaimpool)
return ipclaimpool, ar... | Go |
back(ocs2::vector_t::Random(nx));
std::vector<ocs2::VectorFunctionLinearApproximation> system;
std::vector<ocs2::ScalarFunctionQuadraticApproximation> cost;
for (int k = 0; k < N; k++) {
if (k == 1) {
nu = 0;
} else {
nu = 2;
}
// Pick optimal u
uSolGiven.emplace_back(ocs2::vector... | C++ |
13', 'avmoo', 'avmoo'},
{'73314', '老师车牌', '老师车牌'},
{'73315', '老師車牌', '老師車牌'},
{'73316', 'dasd-304', 'dasd-304'},
{'73317', 'sdde-561', 'sdde-561'},
{'73318', 'taak-023', 'taak-023'},
{'73319', 'hnd-723', 'hnd-723'},
{'73320', 'MIMK-070', 'MIMK-070'},
{'73321', 'miaa-041', 'miaa-041'},
{'73322', 'ATID-384', 'ATID-384'},... | Lua |
import android.util.TypedValue;
import android.view.Gravity;
import android.view.MotionEvent;
import android.widget.FrameLayout;
import android.widget.TextView;
import org.telegram.messenger.AndroidUtilities;
import org.telegram.messenger.FileLoader;
import org.telegram.messenger.LocaleController;
import org.telegram.... | Java |
from blkjx.qlearn import observe, QLearn, _deal
from blkjx.blackjack import Game
from blkjx.utils import cards_from_str as c, rank_from_str as r
from beartype.claw import beartype_package
import jax
import jax.numpy as jnp
beartype_package("blkjx")
def test_observe_jits():
key = jax.random.key(0)
game = Gam... | Python |
org.kryptonmc.api.entity.Hand
import org.kryptonmc.api.entity.player.Player
import org.kryptonmc.api.event.player.interact.PlayerInteractAtEntityEvent
import org.kryptonmc.api.event.type.AbstractDeniableEvent
import org.kryptonmc.api.util.Vec3d
class KryptonPlayerInteractAtEntityEvent(
override val player: Player... | Kotlin |
(-50%, -50%);
opacity: 0;
}
100% {
transform: scale(1) translate(-50%, -50%);
}
}
@keyframes antZoomBadgeOutRtl {
0% {
transform: scale(1) translate(-50%, -50%);
}
100% {
transform: scale(0) translate(-50%, -50%);
opacity: 0;
}
}
.ant-breadcrumb {
box-sizing: border-box;
margin: 0... | CSS |
el")
return
elif search_spam[0] is True:
message.reply_text("Please wait untill finish the pervious search then request again")
return
msg = message.reply_text("Wait this operation takes so much time...").id
search_spam[0] = True
... | Python |
ine: usize,
// column: usize,
// }
use diesel::prelude::*;
use diesel::sqlite::SqliteConnection;
use serde::{Deserialize, Serialize};
use crate::schema::heroes;
#[derive(Serialize, Queryable)]
pub struct Hero {
pub id: i32,
pub name: String,
pub identity: String,
pub hometown: String,
pub age:... | Rust |
/*
==============================================================================
This file is part of the juce_core module of the JUCE library.
Copyright (c) 2015 - ROLI Ltd.
Permission to use, copy, modify, and/or distribute this software for any purpose with
or without fee is hereby granted, provided... | C |
ase(1, degToRad(sender.floatValue()))
self.drawGraph()
@objc.IBAction
def phaseDisplay2_(self, sender):
self.graphModel.setPhase(2, degToRad(sender.floatValue()))
self.drawGraph()
@objc.IBAction
def phaseSlider0_(self, sender):
self.graphModel.setPhase(0, degToRad(sende... | Python |
it.toSet())
db.playQueueDao().insertPlayQueue(
actual.map { id -> PlayQueue(id) })
actual.size
}
}
/**
* 插入多首歌曲到播放队列
*/
fun insertSongsToPlayQueue(songs: List<Song>): Single<Int> {
val actual = songs.toMutableList()
return getPlayQueue()
.map { queue ->
... | Kotlin |
dOpenTag(`{\n`, context);
for (const attribute of element.attributes) {
const reactAttrName = ATTR_NAME_ALIASES[attribute.key] || attribute.key;
context = addLine(`"${reactAttrName}": "${getEscapedString(attribute.value)}", `, context);
}
const name = getAttributeValue(LAYER_ATTRIBUTE_NAME, element);
if... | Typescript |
urrencyPolicy == "" {
obj.Spec.ConcurrencyPolicy = batchv1beta1.AllowConcurrent
}
if obj.Spec.Suspend == nil {
obj.Spec.Suspend = new(bool)
}
if obj.Spec.SuccessfulJobsHistoryLimit == nil {
obj.Spec.SuccessfulJobsHistoryLimit = new(int32)
*obj.Spec.SuccessfulJobsHistoryLimit = 3
}
if obj.Spec.FailedJobsHi... | Go |
itiveObserver(actual, 24, "day"),
];
TemporalHelpers.assertPlainDate(new Temporal.PlainDate(...args),
2020, 11, "M11", 24, "invalid string");
assert.compareArray(actual, [
"get year.valueOf",
"call year.valueOf",
"get month.valueOf",
"call month.valueOf",
"get day.valueOf",
"call day.valueOf",
]);
// Copy... | JavaScript |
tials) {
logger(`${makeLabel("CLI", "info")} write AWS credentials to file ...`);
writeFileSync(
path.resolve(homedir(), "./.aws/credentials"),
ini.stringify(creds)
);
return;
}
async start() {
const profile = this.opts.profile;
const key = profile === "default" ? "default" : `pr... | Typescript |
96 33.6321 20.1871 33.633 20.2151 33.6351C22.6249 33.8192 24.1108 36.1522 25.3048 38.0267C26.2047 39.4396 26.9155 40.5556 27.9077 40.6625C27.9774 40.67 28.0469 40.6738 28.1145 40.6738C29.6311 40.6738 30.1641 38.9504 30.839 36.7686C30.8838 36.6234 30.9298 36.4748 30.9769 36.3236C31.1139 36.5868 31.263 36.8621 31.4219 37... | HTML |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace Livet.Messaging
{
public class GenericResponsiveInteractionMessage<TValue,TResponse> : ResponsiveInteractionMessage<TResponse>
{
public GenericResponsiveInteractionMessage(TValue valu... | C# |
+ width, y + height, 0.01f);
GL11.glTexCoord3f(flippedY ? 0 : 1, flippedX ? 1 : 0, 0);
GL11.glVertex3f(x + width, y, 0.01f);
GL11.glEnd();
GlStateManager.popMatrix();
GlStateManager.disableRescaleNormal();
GlStateManager.disableBlend();
}
public abstract void ti... | Java |
local FaceRandomData = {
[1] = {
h = 0.05,
s = 0.41,
v = 0.879
},
[20101] = 0.5,
[20102] = 0.465,
[20103] = 0.08000004,
[20104] = 0.5,
[40201] = 0.25,
[20106] = {
h = 0.9722222,
s = 0.7,
v = 0.8
},
[11] = 0.2381592,
[12] = -0.850647,
[13] = 0.3482056,
[14] = 0.4215088,
... | Lua |
!c) goto skip; /* passwd starts with '!' */
newp = xasprintf("!%s", pw->pw_passwd);
} else if (opt & OPT_unlock) {
if (c) goto skip; /* not '!' */
/* pw->pw_passwd points to static storage,
* strdup'ing to avoid nasty surprizes */
newp = xstrdup(&pw->pw_passwd[1]);
} else if (opt & OPT_delete) {
//newp =... | C |
ULL_RIDDEN.bytes(), BufferType::Bytes(128)),
None,
);
io::copy(&mut r, &mut io::sink()).ok();
});
b.bytes = NULL_RIDDEN.len() as u64;
}
#[bench]
fn bytes_token_producer_bytes_token_reader_throughput(b: &mut test::Bencher) {
let mut ncb = 0u64;
b.iter(|| {
let mut r =... | Rust |
4V5H5zm0 10v4h4v-4H5z"/>
</g>
</svg>
</li><li title="history fill "><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<g>
<path fill="none" d="M0 0H24V24H0z"/>
<path d="M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12h2c0 4.418 3.582 8 8 8s8-3.582 8-8-3.582-8-8-8C9.536 4 7.3... | HTML |
ion.Store(originalObject);
documentId = originalObject.Id;
session.SaveChanges();
session.Advanced.Defer(new JsonPatchCommandData(documentId, jpd));
session.SaveChanges();
dynamic dbObject = session.Load<ExpandoObject>... | C# |
QAngle_t operator -(QAngle_t a)
{
return new QAngle_t(-a.X, -a.Y, -a.Z);
}
public static QAngle_t operator *(QAngle_t a, float b)
{
return new QAngle_t(a.X * b, a.Y * b, a.Z * b);
}
public static QAngle_t operator /(QAngle_t a, float b)
{
return new QAngle_t(a.X / b... | C# |
case "rightSwipeUpPercentage" ->
instance.mPreferences.getSliderInt("rightSwipeUpPercentage", 25) + "%";
case "swipeUpPercentage" ->
instance.mPreferences.getSliderInt("swipeUpPercentage", 5) + "%";
case GESTURE_HOLD_BACK_LEFT_APP,
... | Java |
value"),
title = it.selectFirstOrThrow("label").text(),
source = source,
)
}
}
override suspend fun getDetails(manga: Manga): Manga {
val doc = webClient.httpGet(manga.url.toAbsoluteUrl(domain)).parseHtml()
val simpleDateFormat = SimpleDateFormat("MMM dd, yyy", sourceLocale)
return manga.copy(
... | Kotlin |
l comment '姓名',
age int comment '年龄',
job varchar(20) comment '职位',
salary int comment '薪资',
entrydate date comment '入职时间',
managerid int comment '直属领导ID',
dept_id int comment '部门ID'
)comment '员工表';
insert into emp values
(1,'金庸',66,'总裁',20000,'2000-01-01',null,5),
(2,'张无忌',20,'项目经理',125... | Markdown |
rendering. Lazily allocated on first access
* via getIndirectMetaData().
*
* @type {Int32Array|null}
* @ignore
*/
meshMetaData = null;
/**
* @type {Record<string, {scopeId: ScopeId|null, data: any, passFlags: number}>}
* @ignore
*/
parameters = {};
/**
* T... | JavaScript |
:3px}.mce-btn-group .mce-btn.mce-flow-layout-item{margin:0}.mce-checkbox{cursor:pointer}i.mce-i-checkbox{margin:0 3px 0 0;border:1px solid #c5c5c5;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 ... | CSS |
on><section id="impl-UnwindSafe-for-FpStrategy" class="impl has-srclink"><a href="#impl-UnwindSafe-for-FpStrategy" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">Unw... | HTML |
a.c.length;tUn(ET(ST(qB(n.f),a),false),t.eh(1));if(n.d.a.gc()!=0){c=t.eh(1);c.Ug("Flexible Where Space Processing",1);u=bG(Sx(ez(rY(new gX(null,new d3(n.f.a,16)),new Xa),new Fa)),17).a;s=bG(Sx(nz(rY(new gX(null,new d3(n.f.a,16)),new Va),new _a)),17).a;o=s-u;f=Ix(new wk,n.f);h=Ix(new wk,n.f);HKn(BS(_S(FS(HS(new bk,2e4),... | JavaScript |
TextBox text)
{
Logger.Log($"[信息]开始赞助列表...");
string url = "https://file.gldhn.top/file/json/thank.json";
//if(ismirror)url = Getmirror(url);
HttpClient httpClient = new HttpClient();
try
{
// 发起GET请求
HttpRe... | C# |
{r.fontWeight}${r.fontFamily}${r.joinWith}`));const hr=(0,k.A)(((t,e,r="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const n=[...t];const o=[];let s="";n.forEach(((t,a)=>{const l=`${s}${t}`;const c=fr(l,i);if(c>=e){const t=a+1;const e=n.length===t;const i=`${l}${r}`;o.push(e?l:i);... | JavaScript |
nt-size:11px;font-weight:bold;white-space:nowrap;margin:0;padding:6px 6px 7px 6px;color:#484848;border-bottom:1px solid #d1d1d1;background:#f8f8f8}.cke_colorblock{padding:10px;font-size:11px;font-family:'Microsoft Sans Serif',Tahoma,Arial,Verdana,Sans-Serif}.cke_colorblock,.cke_colorblock a{text-decoration:none;color:#... | CSS |
.2543</a></td>
</tr>
<tr>
<td>AWI-CM-1-1-MR</td>
<td>AWI</td>
<td>CMIP</td>
<td>abrupt-4xCO2</td>
<td>Semmler, Tido et al. (2018). AWI AWI-CM1.1MR model output prepared for CMIP6 CMIP abrupt-4xCO2. Earth System Grid Federation. doi:https://doi.org/10.22033/ESGF/CMIP6.2568</td>
<td>CC BY 4.0</td>
<td><a href="https://do... | HTML |
signed int>("rpId_45_N");
armPlots[0].rpId_F = iConfig.getParameter<unsigned int>("rpId_45_F");
armPlots[1].rpId_N = iConfig.getParameter<unsigned int>("rpId_56_N");
armPlots[1].rpId_F = iConfig.getParameter<unsigned int>("rpId_56_F");
}
//------------------------------------------------------------------------... | C++ |
'aes192-CBC', 'aes256-CBC', 'des-EDE3-CBC', 'desCBC'];
throw error;
}
// set PBE params
var salt = capture.kdfSalt;
var count = forge.util.createBuffer(capture.kdfIterationCount);
count = count.getInt(count.length() << 3);
var dkLen;
var cipherFn;
switch(pki.oids[oid]) {
case 'aes128-CBC':
d... | HTML |
a href="#LCMSBase.mass_features_to_df-711"><span class="linenos">711</span></a><span class="sd"> pandas.DataFrame</span>
</span><span id="LCMSBase.mass_features_to_df-712"><a href="#LCMSBase.mass_features_to_df-712"><span class="linenos">712</span></a><span class="sd"> A pandas dataframe of mass featu... | HTML |
untuk cek diagonal press
bool get isUpRight => upPressed && rightPressed;
bool get isUpLeft => upPressed && leftPressed;
bool get isDownRight => downPressed && rightPressed;
bool get isDownLeft => downPressed && leftPressed;
// Helper untuk mendapatkan current direction dalam string
String? get currentDir... | Dart |
anvas-kit-react/button';
const StyledIconButton = styled(TertiaryButton)({});
<StyledIconButton icon={plusIcon}/>
`;
expectTransform(input, expected);
});
it('should import correct button based on styled IconButton', () => {
const input = stripIndent`
import {IconButton} from '@wor... | Typescript |
glob.markers
themes = _glob.themes
test = _glob.test
version = __version__
platform = _ut.platform
##############################################
############ Docstrings ###############
##############################################
add(subplots)
add(subplot)
add(main)
add(active)
add(inte... | Python |
�库鲁先知",nil},
[29698] = {"达库鲁掠食龙",nil},
[29699] = {"达库鲁迅猛龙骑兵",nil},
[29700] = {"达库鲁镣铐",nil},
[29702] = {"查莉·巴纳法斯","帽商"},
[29703] = {"西德尔·格罗斯","鞋匠"},
[29704] = {"魁梧的恐尸",nil},
[29708] = {"被捕获的始祖幼龙",nil},
[29709] = {"被释放的始祖幼龙",nil},
[29710] = {"先锋军战马",nil},
[29711] = {"梅尔",nil},
[29712] = {"暴风城港口卫兵",nil},
[29713] = {"斯拉德兰蟒... | Lua |
# -*- coding: utf-8 -*-
"""Test core."""
#------------------------------------------------------------------------------
# Imports
#------------------------------------------------------------------------------
import os.path as op
import shutil
from ..format_manager import FormatManager, format_manager
from ...uti... | Python |
R[1]*R.y + R[2]*R.z)
genericpointP = origin.locatenew('PP', P[0]*P.x + P[1]*P.y + P[2]*P.z)
assert scalar_potential_difference(S.Zero, R, point1, point2, \
origin) == 0
assert scalar_potential_difference(scalar_field, R, origin, \
... | Python |
.delta)
}
// Type returns the type of the base of the delta-base chain.
func (d *ChainDelta) Type() PackedObjectType {
return d.base.Type()
}
// patch applies the delta instructions in "delta" to the base given as "base".
// It returns the result of applying those patch instructions to base, but does
// not modify b... | Go |
table"
// to call the correct utility function for the instruction.
const operand = get_operand.call(this, opcode),
op_array = [
this.do_add,
this.do_adc,
this.do_sub,
this.do_sbc,
this.do_and,
this.do_xor,
this.do_or,
... | Typescript |
_actionShowToast.value = Event(R.string.cant_move_user)
}
.autoCancel()
}
override fun onUserDelete(user: User) {
if (isInProgress(user)) return
addProgressTo(user)
usersService.deleteUser(user)
.onSuccess {
removeProgressFrom(user)
... | Kotlin |
541: aload_3
// 542: invokeinterface 292 1 0
// 547: invokeinterface 157 3 0
// 552: pop
// 553: aload_3
// 554: invokeinterface 296 1 0
// 559: astore 20
// 561: aload 4
// 563: ldc 85
// 565: aload 20
// 567: iconst_0
// 568: aalo... | Java |
/styles/teaser_sidebar_xs_1x/public/2022-10/erster-erntetag-gerhard-odinga-47656322.webp?h=97bbb3cf 1x, /sites/agrarheute.com/files/styles/teaser_sidebar_xs_2x/public/2022-10/erster-erntetag-gerhard-odinga-47656322.webp?h=97bbb3cf 2x"/>
<source srcset="" media="all and (min-width: 768px)" type="image/jpeg... | HTML |
using System;
using Server.Items;
namespace Server.Mobiles
{
/// <summary>
/// This is a test creature
/// You can set its value in game
/// It die after 5 minutes, so your test server stay clean
/// Create a macro to help your creation "[add Dummy 1 15 7 -1 0.5 2"
///
/// A iTeam of negat... | C# |
ributo(-2) o texto(-3) -- */\n';
code += '\t\tif('+primerTemp+' == -2) goto L3;\n';
code += '\t\tif('+primerTemp+' == -3) goto L4;\n';
code += '\t\tgoto L5;\n';
//La tercera etiqueta llama al metodo para imprimir atributo.
code += '\tL3: \n'
+ '\t\tHQ = HQ + 2... | Typescript |
failures in the simulator framework that I am trying to track down.*
**Linux vs Mac**: There is one big caveat here, which is that we don't have identical execution across different platforms. This may be impossible to achieve due to `#[cfg(target_os = xxx)]` attributes in our dependencies. Therefore, even once test ... | Markdown |
// Copyright 2023 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applica... | C# |
pravilno</a>).
</p>
<p>
Maske ne garantuju bezbednost, već smanjuju rizik.
Može se reći da je ovo slično načinu na koji kišobran ne garantuje da će osoba ostati suva, ali smanjuje šanse da će se nakvasiti.
Kao i kišobrani, maske rade samo ako se koriste pravilno.
Analogija tu staje, jer... | HTML |
'focus' | 'hover';
const element: HTMLElement = document.querySelector('div');
function registerCallback(event: eventName, target: HTMLElement) {
// some logic
}
```
### 元组
数组一般用来合并相同类型的变量,如果需要合并不同类型的变量,使用元组比数组要好。
元组需要多所有的内容都进行类型定义,如果不满足需求请使用数组。
元组的访问和数组是一致的。
```typescript
let tuple: [number, number, string] = ... | Markdown |
export const spreadUnchangedInScope: any;
export const getComputation: any;
export const collectComputed: any;
export const cachedComputations: any;
export const observeComputation: any;
export const getIndepTree: any;
export const observeTrigger: any;
export const getDisplayName: any;
export const setDisplayName: any... | Typescript |
close any open forms
if formMonoClass ~= nil then
formMonoClass.close()
formMonoClass:destroy()
end
if formMonoImage ~= nil then
formMonoImage.close()
formMonoImage:destroy()
end
if formMonoSearch ~= nil then
formMonoSearch.close()
formMonoSearch:destroy()
end
-- unselect image, ... | Lua |
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be us... | C |
## ⚠ BREAKING CHANGES
* Adds weather
* Adds Seasons ([#155](https://github.com/javalent/calendarium/issues/155))
### Features
* Adds Seasons ([#155](https://github.com/javalent/calendarium/issues/155)) ([fe2994e](https://github.com/javalent/calendarium/commit/fe2994e96def4c0a9350986821a63b86dc98c8e0))
* Adds weather... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.