content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
.AppSetConfig变更为HttpContext.ConfigSet
* 调整:config.AppSet变更为config.ConfigSet
* 新增: config.ParseConfigSetXML\ParseConfigSetJSON\ParseConfigSetYaml,用于解析常规Key\Value格式的配置文件
* 新增:config.Config.IncludeConfigSet,用于向config.ConfigSet中导入Key\Value格式的配置文件,通过HttpContext.ConfigSet获取相关设置信息
* ParseConfigSetXML:支持xml格式文件解析,返回core.Concur... | Markdown |
-spacing-medium); */
}
.SimpleHistoryLogitem:hover {
background-color: var(--sh-color-item-hover);
}
/* add border below items */
/* .SimpleHistoryLogitem::before {
content: "";
position: absolute;
bottom: 0;
left: 66px;
height: 1px;
right: 0;
background: rgb(229, 229, 229);
} */
.postbox .SimpleHistoryLogit... | CSS |
_VALUE
viewportYMin = Float.MAX_VALUE
val visiblePoints = getVisiblePoints(viewport)
if (visiblePoints.isNullOrEmpty()) return
for (value in visiblePoints) {
calcViewportMinMax(value)
}
if (enableGap) {
var max = -Float.MAX_VALUE
var... | Kotlin |
Byte() else {
logger.log(
Level.WARNING,
"$loggingFilename:Unable to convert TCON frame to format suitable for v11 tag",
ex
)
ID3v1Tag.Companion.GENRE_UNDEFINED.toByte()
}
}
}
if (id3tag.hasFrame(ID3v24Frames.FRAME_ID_TRACK)) {
val fields = id3tag.get... | Kotlin |
o365cs-newAL-on.o365cs-nav-navMenu{border:1px solid #d6d6d6;-webkit-box-shadow:0 0 6px rgba(0,0,0,.24);box-shadow:0 0 6px rgba(0,0,0,.24);-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important;position:absolute;left:0!important;right:auto!important;margin:11px 0 ... | CSS |
ally specifying the DMA length used, even if the buffer is larger
/// Panics if the buffer(s) are too small
pub trait ReadWriteDmaLen<RXB, TXB, TS>: Transmit + Receive
where
RXB: WriteBuffer<Word = TS>,
TXB: ReadBuffer<Word = TS>,
Self: core::marker::Sized + TransferPayload,
{
fn read_write_len(
... | Rust |
ropDown)
page.Text(parentIdRootOpt, "ROOT")
page.Text(parentIdDashboardOpt, " ┝ Dashboard")
page.Text(parentIdAdminOpt, " ┝ Admin")
page.Text(parentIdUserOpt, " ┝ Users")
page.Click(parentIdRootOpt)
// Roles Selection Check
// =============================
printPart("menu roles selection check")
p... | Go |
aceTypes()
{
// IL2CPP hint.
_ = new RandomFixtureKit.Generators.InterfaceLookupGenerator.PseudoLookup<int, int>(null);
ShouldAllRandom(FixtureFactory.Create<IEnumerable<int>>());
ShouldAllRandom(FixtureFactory.Create<ICollection<int>>());
ShouldAllRa... | C# |
ttpRequestHeaders: this.httpRequestHeaders);
}
}
class _GetCustomerFilesRequestBuilder extends RequestBuilder {
Map<String, String>? httpRequestHeaders;
_GetCustomerFilesRequestBuilder(http.Client httpClient, Uri serverURI,
{this.httpRequestHeaders})
: super(httpClient, serverURI, null);
_GetCust... | Dart |
if (cols.isEmpty) return null;
int id = cols.first['anime_id'] as int;
return SqliteUtil.getAnimeByAnimeId(id);
}
/// 最早开播动漫
static Future<Anime?> getFirstPremieredAnime() async {
AppLog.info("sql: getFirstPremieredAnime");
var cols = await db.rawQuery('''
select * from anime order by... | Dart |
ct free variable `exports`. */
var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType)
? exports
: undefined;
/** Detect free variable `module`. */
var freeModule = (objectTypes[typeof module] && module && !module.nodeType)
? module
: undefined;
/** Detect free variable `global` from N... | JavaScript |
pdate();
});
syntax_actions.add_action(*m_html_highlight);
syntax_menu->add_action(*m_html_highlight);
m_git_highlight = GUI::Action::create_checkable("Gi&t Commit", [&](auto&) {
m_editor->set_syntax_highlighter(make<GUI::GitCommitSyntaxHighlighter>());
m_editor->update();
});
s... | C++ |
true),我们便从缓存(内存缓存或者 Redis 缓存等)中获取数据直接返回。# 笛卡尔积
## 📚 笛卡尔积概述
笛卡尔积是集合论中的重要概念,用于描述两个或多个集合之间的有序组合关系。笛卡尔积为数学中的坐标系统、关系理论、函数论等提供了基础。
## 🔗 笛卡尔积的定义
### 1.1 二元笛卡尔积
#### 定义
设 $A$ 和 $B$ 是两个集合,$A$ 与 $B$ 的**笛卡尔积**定义为:
$$A \times B = \{(a, b) | a \in A \text{ 且 } b \in B\}$$
其中 $(a, b)$ 称为**有序对**(Ordered Pair)。
#### 性质
- **基数... | Markdown |
us `deleteAfterSeconds` defaults.
19. **Multi-schedule Support**: `reconcileSchedules()` now works with `(name, key)` pairs. Every schedule definition must supply a key; reconciliation unschedules leftovers per key, and the dashboard renders each keyed schedule (badge + cron + timezone).
20. **Dashboard Data Refresh**:... | Markdown |
alse, pBuf, nMaxLen );
char *pSemi;
while ( NULL != ( pSemi = strchr( pBuf, ';' ) ) )
{
*pSemi = 0;
path.AddToTail( pBuf );
pBuf = pSemi + 1;
}
path.AddToTail( pBuf );
}
//-----------------------------------------------------------------------------
// Given file name in the current dir generate a full pat... | C++ |
}", event),
}
}
#[test]
fn hal_initialized_failure() {
let buffer = [0x01, 0x00, 0x00];
match BlueNRGEvent::new(&buffer) {
Err(HciError::Vendor(BlueNRGError::UnknownResetReason(val))) => assert_eq!(val, 0),
other => panic!("Did not get unknown reset reason: {:?}", other),
}
}
#[test]
#... | Rust |
$v0, 0x11($s1)
/* EFF420 80083E58 23186400 */ subu $v1, $v1, $a0
/* EFF424 80083E5C 070023A6 */ sh $v1, 0x7($s1)
/* EFF428 80083E60 FDFF4224 */ addiu $v0, $v0, -0x3
/* EFF42C 80083E64 14110208 */ j .Llevel_12_80084450
/* EFF430 80083E68 110022A2 */ sb $v0, 0x11($s1)
.L80083E6C_... | Assembly |
for v, chk in pairs(res) do
if chk == true then
table.insert(diff, v)
end
end
return diff
end
-- printTable recursively prints a table for logging
function Util.printTable(t)
local s = "{ "
for k, v in pairs(t) do
if type(v) == "table" then
s = s .. Util... | Lua |
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s | FileCheck %s
// RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a,+fptoint < %s | FileCheck %s
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.4a,-v8.5a < %s 2>&1 | FileCheck %s --check... | Assembly |
Obj<TripodBossAccesser>(SceneObj_TripodBossAccesser)->mBoss->isLeaveMarioNow();
}
bool isRideMarioTripodBoss() {
return MR::getSceneObj<TripodBossAccesser>(SceneObj_TripodBossAccesser)->mBoss->isRideMario();
}
bool tryDamageDemoTripodBoss() {
return MR::getSceneObj<TripodBossAccess... | C++ |
Insco. All rights reserved.
// This source code is licensed under the GNU General Public License v3.0.
// See the LICENSE file in the project root for full license information.
import 'package:flutter/material.dart';
import 'package:package_info_plus/package_info_plus.dart';
import 'package:picguard/app/config.dart... | Dart |
PSTAT_INT260", 3, 16, 8)
stats.set_masked_int(MPX .. "BUSINESSBATPSTAT_INT260", 3, 24, 8)
stats.set_masked_int(MPX .. "BUSINESSBATPSTAT_INT260", 3, 32, 8)
stats.set_masked_int(MPX .. "BUSINESSBATPSTAT_INT260", 3, 40, 8)
stats.set_masked_int(MPX .. "BUSINESSBATPSTAT_INT260", 3, 48, 8)
stats.set_int(MPX .. "AWD_DANC... | Lua |
GxB, GxB_FC32_t, FC32 )
GB_SEL (GxB, GxB_FC64_t, FC64 )
//------------------------------------------------------------------------------
// GrB_Vector_select_UDT: select entries from vector (y: user-defined type)
//------------------------------------------------------------------------------
GrB_Info GrB_Vector_se... | C |
enizer.from_pretrained(args.pretrain_model)
test_data = prepare_data(args, tokenizer)
# step 3. load finetuned model
model = torch.load(args.model, map_location=device)
# step 4. predict
res = []
if args.use_multiprocess and device == 'cpu':
print('Parent process %s.' % os.getpid()... | Python |
ne-height:12px;
}
#headerLiveHolder ul li, #headerLiveTrackHolder ul li {
overflow:hidden;
position:relative;
height:12px;
padding-right:70px;
font-size:11px;
color:#999999;
line-height:11px;
}
#headerLiveHolder ul li.current, #headerLiveTrackHolder ul li.current {
font-weight:bold;
c... | CSS |
tendre qu'elle arrive
;clr ACTIF_DSP
.FIN rts
;------------------------------------------------------------------------------
; Si on atteint la valeur spcifie pour le PC
; c'est fini
; sinon on relance
;------------------------------------------------------------------------------
UNTIL_PC
move.l DSP_REG+REG_PC,d0... | Assembly |
from typing import List, Tuple
import torch
import torch.nn as nn
from torch_geometric.data import Data
from model.mol_graph import ATOM_FEATURES
class Atom_Embedding(nn.Module):
def __init__(self,
atom_embed_size: List[int]
) -> None:
super().__init__()
assert len(atom_embed_size) ==... | Python |
nly one second.
rateDelay -= float64(remaining - baseWindow)
delay := time.Duration(rateDelay)
nextWindow = baseWindow + delay
l.refresh(delay + extend)
item := &LeaseWithTime{id: l.ID, time: l.expiry.UnixNano()}
le.leaseExpiredNotifier.RegisterOrUpdate(item)
le.scheduleCheckpointIfNeeded(l)
}
}
type le... | Go |
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | C |
PolygonFromText",
"ST_PointFromText",
"ST_PolygonFromText",
"ST_GeometryCollectionFromWKB",
"ST_GeometryFromWKB",
"ST_LineStringFromWKB",
"ST_MultiLineStringFromWKB",
"ST_MultiPointFromWKB",
"ST_MultiPolygonFromWKB",
"ST_PointFromWKB",
"ST_PolygonFromWKB",
"ST_AsBinary",
"ST_AsText",
"ST_Dimension",
"ST_E... | Go |
ExecuteError, Executor};
use futures::executor::{self, Notify, Spawn};
use futures::Async;
use std::collections::VecDeque;
use std::result::Result as StdResult;
use std::cell::{Cell, RefCell};
use std::rc::Rc;
use std::cmp;
use webcore::try_from::TryInto;
use webcore::value::Reference;
// TODO: Determine optimal val... | Rust |
MwODQ0MQ==&mid=2653055100&idx=1&sn=bf1959542be6d769bbfa4c0967ac6f3f&chksm=7e5715ca49209cdc2ab2129b5715c7f673bdc962672a0e17dd791788096099a2d70b2a454797&scene=58&subscene=0#rd)
- Over Security - Cybersecurity news aggregator
- [ ] [Global infostealer malware operation targets crypto users, gamers](https://www.bleepingc... | Markdown |
52ee45136011301b64afd8c310c47a4',1,'glm']]],
['lowp_5fuvec3',['lowp_uvec3',['../a00282.html#ga7b2efbdd6bdc2f8250c57f3e5dc9a292',1,'glm']]],
['lowp_5fuvec4',['lowp_uvec4',['../a00282.html#ga5e6a632ec1165cf9f54ceeaa5e9b2b1e',1,'glm']]],
['lowp_5fvec1',['lowp_vec1',['../a00271.html#ga0a57630f03031706b1d26a7d70d9184c... | JavaScript |
namespace GraphQLParser.AST;
/// <summary>
/// AST node for <see cref="ASTNodeKind.UnionTypeExtension"/>.
/// </summary>
public class GraphQLUnionTypeExtension : GraphQLTypeExtension, IHasDirectivesNode
{
internal GraphQLUnionTypeExtension()
{
}
/// <summary>
/// Creates a new instance of <see cre... | C# |
"""
self._cancelled = True
self.cancel_pending()
if timeout or timeout is None:
try:
await self.wait_for(timeout)
except asyncio.TimeoutError:
pass
for task in self.active_tasks:
if not task.done():
task.... | Python |
nknown}${currentTime}`
);
const downloadedPath = await downloadFile(
url,
targetDirPrefix,
overrideFiles
);
return downloadedPath;
}
function downloadFile(
mediaUrl: string,
targetDirPrefix: string,
overrideFiles: boolean,
index?: number
): Promise<string> {
// TODO passing overrideFile... | Typescript |
using UnityEngine;
using System.Collections;
using System;
public class IsoUploadItem_N : MonoBehaviour {
[SerializeField]
UILabel m_IsoNameLb;
[SerializeField]
UISlider m_UploadProgres;
[SerializeField]
UISprite m_ProgresForeSprite;
[SerializeField]
UIButton m_DelBtn;
[SerializeF... | C# |
random() {
this.x = Math.random();
this.y = Math.random();
this.z = Math.random();
return this;
}
}
const _vector = new Vector3();
const _quaternion = new Quaternion();
class Box3 {
constructor( min, max ) {
Object.defineProperty( this, 'isBox3', { value: true } );
this.min = ( mi... | JavaScript |
elease(held_lwlocks[num_held_lwlocks - 1].lock);
}
}
/*
* LWLockHeldByMe - test whether my process holds a lock in any mode
*
* This is meant as debug support only.
*/
bool
LWLockHeldByMe(LWLock *lock)
{
int i;
for (i = 0; i < num_held_lwlocks; i++)
{
if (held_lwlocks[i].lock == lock)
return true;
}
... | C |
# Copyright 2021 The Funnel Rocket Maintainers
#
# 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 applicable law o... | Python |
ers-reduced-motion: reduce){.form-switch .form-check-input{transition:none}}.form-switch .form-check-input:focus{--bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%2386b7fe'/%3e%3c/svg%3e")}.form-switch .form-check-input:checked{background... | CSS |
from fastapi import APIRouter, Depends, HTTPException
from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
from app.schemas.mcq_schemas import (
UserLoginInput,
UserLoginOutput,
UserOutput,
UserRegisterInput,
UserRegisterOutput,
)
from app.services import UserUnitOfWork, user_servi... | Python |
self:startDecayInRadius(1, true)
self.halflife = false
end
if self.decay < 0 and
(not self.exhausted or self.exhausted < -4) then
self.decay = 0
self.loaded = false
if self.flagged then
print("flag purged")
end
self.anims = {}
local unloadedGrid = self.parentGrid.unloadedTiles... | Lua |
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 applicable law or agreed to in writing, software
// distributed un... | Go |
1229, 1365, 1365, 1365},
{1087, 1088, 1088, 1088, 1088, 1088, 1088, 1089,
/*8*/1089, 1091, 1102, 1133, 1229, 1365, 1365, 1365},
{1087, 1088, 1088, 1088, 1088, 1088, 1088, 1089,
/*8*/1089, 1091, 1102, 1133, 1228, 1365, 1365, 1365},
#endif
},
},
};
struct combo_dev_attr_s imx307_slave_rx_attr = {
.inp... | C |
*******************
void CStructArray::Delete(
int iIndex)
{
CONTRACTL
{
NOTHROW;
}
CONTRACTL_END;
_ASSERTE(iIndex >= 0);
// See if we need to slide anything down.
if (iIndex < --m_iCount)
{
BYTE *pcList = m_pList + iIndex * m_iElemSize;
memmove(pcLi... | C++ |
::SyscallData>
NativeRegisterContextLinux_x86_64::GetSyscallData() {
switch (GetRegisterInfoInterface().GetTargetArchitecture().GetMachine()) {
case llvm::Triple::x86: {
static const uint8_t Int80[] = {0xcd, 0x80};
static const uint32_t Args[] = {lldb_eax_i386, lldb_ebx_i386, lldb_ecx_i386,
... | C++ |
397 42.3-36.9 88.198-81 88.198-142.2 0-54.9-36-99-105.3-99-55.8 0-94.5 40.5-109.8 57.6l-66.6-88.198c61.2-53.1 117.9-78.3 203.4-78.3 111.6 0 216.897 63 216.897 192.6 0 108.898-69.3 158.397-145.8 227.697-32.398 29.7-96.298 82.8-104.398 119.7h261.898V824h-412.195z"/></svg>')}.bus.ligne173{background-image:url('data:image/... | CSS |
WindowsHookEx(WH_KEYBOARD_LL, CurrentKeyboardProcedure, GetModuleHandle(currentModule.ModuleName), 0);
}
}
}
void UnhookKeyboard()
{
if (keyboardHookId != IntPtr.Zero)
{
UnhookWindowsHookEx(keyboardHookId);
keyb... | C# |
is",
[17264] = "Chaise en bois",
[17265] = "Chaise en bois",
[17266] = "Chaise en bois",
[17267] = "Chaise en bois",
[17268] = "Chaise en bois",
[17269] = "Chaise en bois",
[17270] = "Chaise en bois",
[17271] = "Chaise en bois",
[17272] = "Chaise en bois",
[17273] = "Chaise en bois",
[17274] = "Chaise en bois",
[17275]... | Lua |
_NOTOSANS_REGULAR.clone()),
interface.fonts.insert(FONT_DEFAULT_NOTOSANS_BOLD.clone()),
),
};
// Create window contents drawer
let mut drawer =
DisplayDrawerBuilder::new(window, context, events_loop, &mut interface, fonts);
drawer.run();
}
}
... | Rust |
refix.RongIMClient.getNotificationQuietHours(
(int code, String startTime, int spansMin) {
if (startTime != null && startTime.length > 0 && spansMin > 0) {
DateTime now = DateTime.now();
String nowString = now.year.toString() +
"-" +
now.month.toString().padLeft(2, ... | Dart |
test("SELECT * FROM %s WHERE k1 = 1");
test("SELECT * FROM %s WHERE k2 = 2");
test("SELECT * FROM %s WHERE v1 = 1");
test("SELECT * FROM %s WHERE v2 = 2");
test("SELECT * FROM %s WHERE k1 > 1 ALLOW FILTERING");
test("SELECT * FROM %s WHERE k2 > 2 ALLOW FILTERING");
te... | Java |
end, double fix, boolean isXFixed)
{
List<Point2D> points = new ArrayList<Point2D>();
for (int i = 0; i < numberOfPoints; i++)
{
double x, y = 0;
if (isXFixed)
{
x = fix;
y = start + (end - start) * i / (numberOfPoints - 1);
}
e... | Java |
{
index = 6,
setAI = 70093,
addWeapon = {},
removeWeapon = {
791204,
791205,
791218,
791219
},
switchType = {
1,
2
},
switchParam = {
3,
0.6
},
switch... | Lua |
se:
cer_ctc_val = ec(ys_pad, ys_hat, is_ctc=True)
_cer, _wer = ec(ys_pad, ys_hat)
assert cer_ctc_val is not None
assert _cer is not None
assert _wer is not None
def test_error_calculator_nospace(tmpdir):
from espnet.nets.e2e_asr_common import ErrorCalculator
space = "<... | Python |
ぞれの {{domxref("DataTransfer")}} オブジェクトには {{domxref("DataTransfer.items","items")}} プロパティがあり、これは {{domxref("DataTransferItem")}} オブジェクトの {{domxref("DataTransferItemList","list")}} です。 {{domxref("DataTransferItem")}} オブジェクトは単一の*ドラッグ項目*を表し、それぞれが {{domxref("DataTransferItem.kind","kind")}} プロパティ (`string` か `file` の値を取る) と... | Markdown |
'password'
color?: string
placeholderColor?: string
cursorColor?: string
textAlign?: 'left' | 'center' | 'right'
fontFamily?: string
// placeholderFontSize?: string
maxLength?: number
fontSize?: string | number
returnKeyType?: 'done' | 'go' | 'next' | 'search' | 'send'
}
export class Input extends V... | Typescript |
case 2:
return toScale / DateConstants.monthsIn90Days
default:
return toScale
}
} else if (numOptions === 2) {
if (scale === 0) {
return ceilResult ? Math.ceil(toScale / workDaysIntoJob) : toScale / workDaysIntoJob
}
}
return toScale
}
}
export de... | Typescript |
/*
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2011 - DIGITEO - Karim Mamode
*
* Copyright (C) 2012 - 2016 - Scilab Enterprises
*
* This file is hereby licensed under the terms of the GNU GPL v2.0,
* pursuant to article 5.3.4 of the CeCILL v.2.1.
* This file was originally lic... | C |
should base64 encode and decode', () => {
const bytes = new Uint8Array(new ArrayBuffer(5));
bytes.set([1, 2, 3, 4, 5]);
const b64 = encode(bytes.buffer);
expect(b64).toEqual('AQIDBAU=');
const bytesOut = decode(b64);
expect(bytesOut).toEqual(bytes);
});
it('should decode edge values fine',... | Typescript |
+ m[1, 3] * subFactor02),
-(m[1, 0] * subFactor00 - m[1, 2] * subFactor03 + m[1, 3] * subFactor04),
+(m[1, 0] * subFactor01 - m[1, 1] * subFactor03 + m[1, 3] * subFactor05),
-(m[1, 0] * subFactor02 - m[1, 1] * subFactor04 + m[1, 2] * subFactor05),
-(m[0,... | Kotlin |
:.2f} kPa"
tk.messagebox.showinfo("Calculated Values", message)
# Add a button to calculate and display values
calculate_button = tk.Button(popup_window, text="Calculate", command=calculate_and_display_values)
calculate_button.grid(row=1, column=0, columnspan=3, pady=10)
# ... | Python |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR ISC OR MIT-0
// ----------------------------------------------------------------------------
// Montgomery square, z := (x^2 / 2^{64k}) mod m
// Inputs x[k], m[k]; output z[k]
//
// extern void bignum_mon... | Assembly |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Internal.TypeSystem;
using Internal.IL.Stubs;
using Debug = System.Diagnostics.Debug;
namespace Internal.IL
{
/// <summary>
/// Wraps the API and configuration for a ... | C# |
ublic bool NetReciveMsg(byte[] recivebuffer, int netID)
{
var arg = new ByteOutArg(recivebuffer);
var cmd = arg.ReadInt32();
switch ((EmCmd)cmd)
{
case EmCmd.Init:
Init();
break;
case EmCmd.S... | C# |
6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"],"pinterest-square":[448,512,[],"f0d3","M448 80v352c0 26.5-21.5 48-48 48H154.4c9.8-16.4 22.4-40 27.4-59.3 3-11.5 15.3-58... | JavaScript |
eady_Original> GameDataReady_Original(0x007D5270);
UInt64 InitGameDataRun_Hook(InitGameDataThread * thread)
{
UInt64 res = InitGameDataThread_Run_Original(thread);
PluginManager::Dispatch_Message(0, F4SEMessagingInterface::kMessage_GameLoaded, (void*)NULL, 0, NULL);
return res;
}
void GameDataReady_Hook(bool isRea... | C++ |
*
* The size of a media content is the size taken by the content in the
* database, after it was possibly encrypted, so it might differ from the
* initial size of the content.
*
* The maximum authorized size of a single media content is actually the
* lowest value between `max_cache_s... | Kotlin |
},
&FieldVal { id: FIELD_ORDTYPE, val: v } => {
ord_type = Some( FieldOrdTypeEnum::from_str(v).unwrap() );
},
&FieldVal { id: FIELD_PRICE, val: v } => {
price = Some( f32::from_str(v).unwrap() );
},
&FieldVal { id: FIELD_STO... | Rust |
#ifndef __ASMSPARC_ELF_H
#define __ASMSPARC_ELF_H
/*
* ELF register definitions..
*/
#include <asm/ptrace.h>
/*
* Sparc section types
*/
#define STT_REGISTER 13
/*
* Sparc ELF relocation types
*/
#define R_SPARC_NONE 0
#define R_SPARC_8 1
#define R_SPARC_16 2
#define R_SPARC_32 3
#define R_SPARC_DISP8 4... | C |
EndMap[clazzName].push({ route: cmdRute, methodkey: propertyKey });
if (!__injects.cmdend[clazzName]) __injects.cmdend[clazzName] = [];
__injects.cmdend[clazzName].push({ route: cmdRute, methodkey: propertyKey });
}
}
// __onCommandEnd(cmdR... | Typescript |
case KeybdKey::Type::Numrow3:
return 0x033;
case KeybdKey::Type::Numrow4:
return 0x034;
case KeybdKey::Type::Numrow5:
return 0x035;
case KeybdKey::Type::Numrow6:
return 0x036;
case KeybdKey::Type::Numrow7:
return 0x037;
case KeybdKey::Type::Numrow8:
return 0x038... | Rust |
test := range tests {
t.Run(test.name, func(t *testing.T) {
httpClient := &FakeHTTPClient{
responses: map[string]string{
"https://127-0-0-1.pl.pod.cluster.local:8080/statusz": test.cloudConnStatusz,
},
}
pods := &concurrentPodMap{unsafeMap: make(map[string]map[string]*podWrapper)}
pods.writ... | Go |
ctx.Msg = "dump req failed:" + err.Error()
return
}
ctx.SetTimePoint("startDial")
dia, err := net.Dial("tcp", ctx.DestAddr())
if err != nil {
ctx.Msg = "dia connect " + ctx.DestAddr() + " failed!" + err.Error()
return
}
defer dia.Close()
_, err = dia.Write(reqDump)
if err != nil {
return
}
hijack, _... | Go |
function click(x1, y1,t)--点击函数
touchDown(0, x1, y1)
mSleep(100)
touchUp(0, x1, y1)
mSleep(t)
end
function beforeUserExit()
--setScreenResolution("default")
closeLog("test");
mSleep(1000)
lua_exit()
end
function mysleep(t)
local current_time1 = os.time();
local current_time2 = os.time();
while current_ti... | Lua |
out[7] = (a00 * (a12 * a23 - a13 * a22) - a10 * (a02 * a23 - a03 * a22) + a20 * (a02 * a13 - a03 * a12));
out[8] = (a10 * (a21 * a33 - a23 * a31) - a20 * (a11 * a33 - a13 * a31) + a30 * (a11 * a23 - a13 * a21));
out[9] = -(a00 * (a21 * a33 - a23 * a31) - a20 * (a01 * a33 - a03 * a31) + a30 * (a01 * a23 - a0... | JavaScript |
riptFileName("groovyVersion.groovy")
.errorFree()
.logContains(
"Version: " + getGroovyVersion(),
"ALL OK"
);
}
/**
* Verify execution of a simple inline-source script.
*/
@Test
public void simpleInlineSource() throws Exception {
executeScript("println(... | Java |
u && factorChannel11_128 <= 128u && factorChannel12_128 <= 128u && factorChannel13_128 <= 128u);
ocean_assert(factorChannel00_128 + factorChannel01_128 + factorChannel02_128 + factorChannel03_128 == 128u);
ocean_assert(factorChannel10_128 + factorChannel11_128 + factorChannel12_128 + factorChannel13_128 == 128u);
... | C++ |
0; right: 0; overflow-y: scroll; background-color: white; font-family: "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif; /*.resultMessage {*/ /*white-space: pre;*/ /*}*/ }
#TrivialReporter a:visited, #TrivialReporter a { color: #303; }
#TrivialReporter a:hover, #TrivialReporter a:active { color:... | CSS |
{
freeCompilerArgs.add("-opt-in=kotlin.ExperimentalStdlibApi")
}
}
}
dependencies {
compileOnly(libs.jsr305)
api(libs.okio)
testCompileOnly(libs.jsr305)
testImplementation(libs.junit)
testImplementation(libs.truth)
}
tasks.withType<Jar>().configureEach {
manifest {
attributes("Au... | Kotlin |
n false;"title\x3d"glyphicon glyphicon-floppy-remove"\x3e\x3cspan class\x3d"glyphicon glyphicon-floppy-remove"\x3e\x3c/span\x3eFloppy Remove\x3c/a\x3e\x3ca href\x3d"#"onclick\x3d"klik(this);return false;"title\x3d"glyphicon glyphicon-floppy-save"\x3e\x3cspan class\x3d"glyphicon glyphicon-floppy-save"\x3e\x3c/span\x3eFl... | JavaScript |
builder: (BuildContext context) => CustomAddGame(updateLibraryGames: updateLibraryGames),
);
},
),
IconButton(
icon: const Icon(Icons.settings),
color: Colors.grey,
splashCo... | Dart |
SetSpy = jest.spyOn(TestClass, 'set');
expect(TestClass.reset()).toBe(undefined);
expect(thisSetSpy).toBeCalledWith(true);
});
});
import { Component, OnInit } from '@angular/core';
import { PatternValidator } from '@angular/forms';
@Component({
selector: 'app-morse',
templateUrl: './morse.component.... | Typescript |
ags: jsdoc.Tag[][] = [];
const returnTags: jsdoc.Tag[] = [];
const thisTags: jsdoc.Tag[] = [];
const typeParameterNames = new Set<string>();
const argCounts = [];
let thisReturnType: ts.Type|null = null;
for (const fnDecl of fnDecls) {
// Construct the JSDoc comment by reading the existin... | Typescript |
();
println!("Tock");
}
}
//! Common functionality for the sentry relay.
#![warn(missing_docs)]
#[macro_use]
mod macros;
#[macro_use]
pub mod metrics;
mod cell;
mod constants;
mod glob;
mod log;
mod retry;
mod time;
mod utils;
pub use crate::cell::*;
pub use crate::constants::*;
pub use crate::glob::*;
... | Rust |
ackground-color: transparent;
}
/*******************************
States
*******************************/
/*--------------
Hover
---------------*/
.ui.accordion .title:hover,
.ui.accordion .active.title {
color: rgba(0, 0, 0, 0.8);
}
/*--------------
Active
---------------*/
.ui.accordion .... | CSS |
ienv = new IdentityEnvironment();
ienv.setIdentity(initialAuthor);
PFCourseNode pfNode = new PFCourseNode();
pfNode.getModuleConfiguration().setBooleanEntry(PFCourseNode.CONFIG_KEY_COACHBOX, true);
pfNode.getModuleConfiguration().setBooleanEntry(PFCourseNode.CONFIG_KEY_PARTICIPANTBOX, true);
// import "Dem... | Java |
using Cdm.Figma.UI;
using TMPro;
using UnityEngine;
using UnityEngine.Localization.Settings;
using UnityEngine.UI;
namespace Cdm.Figma.Examples
{
[FigmaNode("@ViewsPage")]
public class ViewsPage : MonoBehaviour
{
[FigmaNode("@Logo")]
[SerializeField]
private RectTransform _logo;
... | C# |
�循Python变量命名风格(如 price_volatility_ratio)。
2. `"description"`:简要说明该Alpha的用途和意义,避免过多技术术语,强调因子背后的直观动机。
3. `"pseudo_code"`:字符串列表,每行为一行简化伪代码,描述Alpha计算的某一步,格式如下:
`variable_name = op_name([input1, input2, ...], param1=[...], param2=[...], ...)`
- `variable_name`:该步输出变量名
- `op_name`:所用算子名
- `input1, input2...`:输入... | Markdown |
// SPDX-License-Identifier: GPL-2.0+
/*
* Copyright (c) 2022 Nuvoton Technology Corp.
*/
#include <dm.h>
#include <malloc.h>
#include <rng.h>
#include <uboot_aes.h>
#include <asm/io.h>
#define RNGCS_RNGE BIT(0)
#define RNGCS_DVALID BIT(1)
#define RNGCS_CLKP(range) ((0x0f & (range)) << ... | C |
//
// DO NOT MODIFY! THIS IS AUTOGENERATED FILE!
//
namespace Xilium.CefGlue.Interop
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Security;
[StructLayout(LayoutKind.Sequential, Pack = libcef.ALIGN)]
[SuppressMessage("Microsoft.De... | C# |
m != nil {
return m.Nonces
}
return nil
}
func init() {
proto.RegisterType((*ChangeInfo)(nil), "Spotify.ChangeInfo")
proto.RegisterType((*Delta)(nil), "Spotify.Delta")
proto.RegisterType((*Merge)(nil), "Spotify.Merge")
proto.RegisterType((*ChangeSet)(nil), "Spotify.ChangeSet")
proto.RegisterType((*RevisionTa... | Go |
, 1,
PD_MODE_SAME,
AC_MODE_NONE);
//OpX* pool2 = subst->create_pool2d_avg(input, w2, 1, 1,
// PD_MODE_SAME,
// AC_MODE_NONE);
//OpX* add = subst->create_eleme... | C++ |
before{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAKCAYAAABi8KSDAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAACUSURBVHgBlZFNCoQwDIVbmRvOMHOAAd0K/uDGlYKiCG4VPICi9yu0oCSQoFUXFtKEl6+voZXvr7sKay1TL690FOexY+Hz87i2decOuDKQsNGVe8AGYTRJIh0Y+orBvxszCPllOymlxN06jNE26Qnwg4zdHQLrMhFa... | CSS |
2,
16002,
1
},
{
2,
16012,
1
},
{
2,
16022,
1
},
{
2,
16001,
1
},
{
2,
16011,
1
},
{
2,
16021,
1
}
},
price = {},
index = {}
},
[54004] = {
drop_gold_max = 0,
name = "랜덤 교본 T1",
display = "일정 확률로 교본 T1을 얻을... | Lua |
IPOT_MOTOR_CURRENT
#else
DIGIPOT_I2C_MOTOR_CURRENTS
#endif
;
LOOP_L_N(i, COUNT(digipot_motor_current))
digipot_i2c_set_current(i, pgm_read_float(&digipot_motor_current[i]));
}
#endif // DIGIPOT_MCP4018
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/Marl... | C++ |
final state")
state := t.State()
switch state {
case Running, Completed:
if t.failures.get() > t.ToleratedFailures {
t.SetReason(MaxFailures) // Must be before SetState() in order to write value to storage.
t.SetState(Failed)
} else {
t.SetState(Completed)
}
case Stopped:
t.SetState(t.re... | Go |
[0xc4,0xe2,0x5d,0x9e,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]
vfnmsub132ps 485498096(%edx,%eax,4), %ymm4, %ymm4
// CHECK: vfnmsub132ps 485498096(%edx), %xmm1, %xmm1
// CHECK: encoding: [0xc4,0xe2,0x71,0x9e,0x8a,0xf0,0x1c,0xf0,0x1c]
vfnmsub132ps 485498096(%edx), %xmm1, %xmm1
// CHECK: vfnmsub132ps 485498096(%edx)... | Assembly |
ner images in workload controllers like Deployments and StatefulSets. | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Ba... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.