content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
//
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Jul 5 2017 23:13:50).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#import <UIKit/UIView.h>
@class UIButton, UILabel;
@protocol MultiTalkBeforeTalkingOperateViewDelegate;
@interface MultiTalkBeforeTal... | C |
min-width:1200px){.fs-1{font-size:2.5rem!important}.fs-2{font-size:2rem!important}.fs-3{font-size:1.75rem!important}.fs-4{font-size:1.5rem!important}}@media print{.d-print-inline{display:inline!important}.d-print-inline-block{display:inline-block!important}.d-print-block{display:block!important}.d-print-grid{display:gr... | CSS |
return aCoord2D;
}
Standard_NODISCARD gp_XY operator- (const gp_XY& theOther) const { return Subtracted (theOther); }
private:
Standard_Real x;
Standard_Real y;
};
//=======================================================================
//function : Multiply
// purpose :
//==========================... | C++ |
# Importamos la biblioteca requests, que nos permite enviar solicitudes HTTP de forma sencilla.
import requests
# Manejo de Respuesta
# --------------------
# Enviamos una solicitud GET a una URL específica. Esta URL se espera que devuelva datos en formato JSON.
response = requests.get('https://jsonplaceholder.typico... | Python |
ScaleX, float compositionScaleY)
{
if (m_compositionScaleX != compositionScaleX ||
m_compositionScaleY != compositionScaleY)
{
m_compositionScaleX = compositionScaleX;
m_compositionScaleY = compositionScaleY;
CreateWindowSizeDependentResources();
}
}
// This method is called in the event handler for the Dis... | C++ |
erialize(
object.corsBatchCredentialOk,
specifiedType: const FullType(String),
);
}
}
@override
Object serialize(
Serializers serializers,
CorsBatchCredentialOK object, {
FullType specifiedType = FullType.unspecified,
}) {
return _serializeProperties(serializers, objec... | Dart |
ngtime: 1 * time.Second,
// SipHeaders: []sip.Header{sip.NewHeader("X-ECHO-ID", "sipgo")},
})
if err != nil {
log.Fatal().Err(err).Msg("Fail to answer")
}
sig := make(chan os.Signal)
signal.Notify(sig, os.Interrupt)
// Start echo
go func() {
buf := make([]byte, media.RTPBufSize)
for {
p := rtp.Packet... | Go |
L10_2 = "FSYS_BGM_VS_SELECT_05"
L11_2 = "FSYS_BGM_VS_SELECT_06"
L12_2 = "FSYS_BGM_VS_SELECT_07"
L13_2 = "FSYS_BGM_VS_SELECT_08"
L14_2 = "FSYS_BGM_VS_SELECT_09"
L15_2 = "FSYS_BGM_VS_SELECT_10"
L16_2 = "FSYS_BGM_VS_SELECT_11"
L17_2 = "FSYS_BGM_VS_SELECT_12"
L18_2 = "FSYS_BGM_VS_SELECT_13"
L19_2 = "FSYS_... | Lua |
bins_.size(); }
// returns vector of central freq of each bin; needed by plp code.
const Vector<BaseFloat> &GetCenterFreqs() const { return center_freqs_; }
const std::vector<std::pair<int32, Vector<BaseFloat> > >& GetBins() const {
return bins_;
}
// Copy constructor
MelBanks(const MelBanks &other)... | C |
6766619202780093873,
219328190845508493,
6872021618620702719,
8796930399564014030,
8979106112292007288,
1507783008778342833,
2382171237630720458,
8568959839442512513,
1142172424439389718
],
retiredRelationUids: const [],
modelVersion: 5... | Dart |
nsafe string FilterText(string pText, User pUser)
{
if (_initialized && _textFilterEnabled)
{
//idk man that code is odd
}
return pText;
}
public static bool GetAchievement(string id)
{
if (!_initialized)
return false;
SteamUserStat... | C# |
styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).\n// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).\nconst indeterminate1Animation = typeof indeterminate1Keyframe !== 'string' ? (0,_zero_styled_index_js... | JavaScript |
_R addcc %r19, %r0, %r28
.word 0xb9e4e139 ! 3538: SAVE_I save %r19, 0x0001, %r28
.word 0xbbe4a00d ! 3539: SAVE_I save %r18, 0x0001, %r29
.word 0xb7e5e053 ! 3540: SAVE_I save %r23, 0x0001, %r27
.word 0x8d95a1a0 ! 3543: WRPR_PSTATE_I wrpr %r22, 0x01a0, %pstate
.word 0x8795a0a0 ! 3548: WRPR_TT_I wrpr %r22, 0x00... | Assembly |
KSIZE);
const uint32_t blockY=((curChunkId/blocksPerSide)*CHUNKSIZE);
const uint32_t availX=min(availXForTexture,uint32_t(CHUNKSIZE_REAL));
availXForTexture-=availX;
float startU=blockX + 1 + startULeft;
startU/=float(largeTextureSize);
float startV=blockY + 1 + startVtop;
startV/=float(largeTextur... | C++ |
ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}
.drag-item.drag-item\:focus-within\:ring-offset-0:focus-within {
--tw-ring-offset-width: 0px;
}
.drag-item .drag-ite... | CSS |
er.currentName()
parser.nextToken()
when (fieldName) {
DELETE_RESPONSE_LIST_TAG -> objectIdToStatus = convertMapStrings(parser.mapStrings())
else -> {
parser.skipChildren()
log.info("Unexpected field:... | Kotlin |
FA_1X | MAMR_TLFA_4X)
/*
* Internal Definitions
*
* Boot Flags
*/
#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
#define BOOTFLAG_WARM 0x02 /* Software reboot */
/*
* Network configuration
*/
#define CONFIG_FEC_ENET /* enable ethernet on FEC */
#define CONFIG_ETHER_ON_FEC1 /* ... fo... | C |
stats} for month, stats in monthly_totals.items()]
history.sort(key=lambda x: x['date'])
return history
def get_yearly_history(uid: str) -> list[dict]:
"""Gets yearly usage for all time by aggregating hourly data."""
user_ref = db.collection('users').document(uid)
hourly_usage_collection = user_re... | Python |
= buildDateRange();
o.dimensionFilters = buildUnnamed164();
o.dimensions = buildUnnamed165();
o.metricNames = buildUnnamed166();
}
buildCounterReportCrossMediaReachCriteria--;
return o;
}
void checkReportCrossMediaReachCriteria(api.ReportCrossMediaReachCriteria o) {
buildCounterReportCrossMediaRea... | Dart |
[302] ─────── Group 'Sub-group 2' [500..599]
│ └─ [0..99] ───── Commands [500..599]
└─ [303..702] ── Commands [600..999]`
func buildTestGroup(end uint64) api.CmdIDGroup {
return api.CmdIDGroup{
"root", api.CmdIDRange{0, api.CmdID(end)}, api.Spans{
&api.CmdIDRange{0, 100},
&api.CmdIDGroup{"Sub... | Go |
aster operation is by using the rest of the APIs in the Master series:</p>'
+'<p><b>RPGMaster Library</b> for the game version you are playing is required for the operation of all RPGMaster APIs (except RoundMaster). It holds the version-specific rules, parameters and databases for the game version.</p>'
... | JavaScript |
stats.currentConnections),
"messages_processed": atomic.LoadInt64(&m.stats.messageProcessed),
"message_errors": atomic.LoadInt64(&m.stats.messageErrors),
"avg_processing_time_us": atomic.LoadInt64(&m.stats.avgProcessingTime),
"worker_count": m.workerCount,
"bucket_count": len(m... | Go |
ta_request = {'function': 'PUT/agents/:agent_name', 'arguments': {}};
if (!filter.check(req.params, {'agent_name':'names'}, req, res)) // Filter with error
return;
data_request['arguments']['name'] = req.params.agent_name;
execute.exec(python_bin, [wazuh_control], data_request, function (data) {... | JavaScript |
2);
ps = outbuf2;
while (*ps) {
char v = *ps;
if (v == '{') {
brace_level++;
}
ps++;
}
}
if (islf) {
strcat(outbuffer, "\n");
pe++;
}
if (*pe == 0)
break;
p = pe;
}
}
static void insertstring(const char *s, int offset)
{
int len = strlen(s);
memmove(outbuffer + off... | C++ |
#include "sort.h"
/**
* swap_ints - Swap two integers in an array.
* @a: The first integer to swap.
* @b: The second integer to swap.
*/
void swap_ints(int *a, int *b)
{
int tmp;
tmp = *a;
*a = *b;
*b = tmp;
}
/**
* bubble_sort - Sort an array of integers in ascending order.
* @array: An array of integers ... | C |
x_inline_pow)
BSXFUN_POW_MIXED_MXLOOP (uint64NDArray)
////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2004-2020 The Octave Project Developers
//
// See the file COPYRIGHT.md in the top-level directory of this
// distribution or <https://octave.org/copyright/>.
//
// This fil... | C++ |
lass AudioClipsData : ScriptableObject
{
public List<AudioClip> AudioClips;
public List<string> AudioClipsID;
public AudioClipsData(List<AudioClip> audioClips, List<string> audioClipsID)
{
AudioClips = audioClips;
AudioClipsID = audioClipsID;
}
} | C# |
MAXMOD EQU 20 ; Maximalt antal moduler
RECORD EQU 44 ; 44 bytes header
VA_START EQU $4711 ; VA_STARTmeddelande (se Gemini!)
CPUUPDATE EQU 8 ; 1/8 uppdateringshast. p CPUlasten
BITMAPWIDTH EQU (9*8+2) ; 56 (Vidden i bytes)
UPDATEINONEGEM EQU 8 ; (Antal rader som skall uppdateras/GEMuppdatering)
AP_TERM EQU 50 ; Avslu... | Assembly |
$v0, $zero, .L80B039F0
/* 01770 80B039E0 8FAF0018 */ lw $t7, 0x0018($sp)
/* 01774 80B039E4 3C0E80B0 */ lui $t6, %hi(func_80B03A00) ## $t6 = 80B00000
/* 01778 80B039E8 25CE3A00 */ addiu $t6, $t6, %lo(func_80B03A00) ## $t6 = 80B03A00
/* 0177C 80B039EC ADEE02F8 */ sw $t6, 0x02F8($... | Assembly |
UID));
ClearAllItems(player);
Main.NewText("Death Chest spawned with your items", Color.Yellow);
}
else
{
Main.NewTe... | C# |
using System.Diagnostics.CodeAnalysis;
using System.Text.RegularExpressions;
using HydraScript.Domain.FrontEnd.Lexer.TokenTypes;
using ZLinq;
namespace HydraScript.Domain.FrontEnd.Lexer;
[ExcludeFromCodeCoverage]
public partial record Token(TokenType Type, Segment Segment, string Value)
{
public override string T... | C# |
g -
* but we deliberately use implicit here, which makes this template invalid.
*/
ASN1_IMP(INVALIDTEMPLATE, invalidDirString, DIRECTORYSTRING, 12)
} static_ASN1_SEQUENCE_END(INVALIDTEMPLATE)
IMPLEMENT_STATIC_ASN1_ENCODE_FUNCTIONS(INVALIDTEMPLATE)
IMPLEMENT_STATIC_ASN1_ALLOC_FUNCTIONS(INVALIDTEMPLATE)
/... | C |
his),o=r.get("alignWithLabel");return MB(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=ct(n,function(a){return ct(a,function(o){return{coord:this.... | JavaScript |
0}.mainbar .form .buttons .text span{position:relative;padding:.35rem 2rem;background:#8dae28;display:inline-block;margin:0 auto 1.5rem;color:#fff;font-weight:600;box-shadow:rgba(0,0,0,.05) 0 2px 10px}.mainbar .form .buttons .text span:after{position:absolute;content:"";border-top:5px solid #8dae28;border-left:5px soli... | CSS |
zir :78:10) at callsite( Top ( zirgen/circuit/rv32im/v2/dsl/top.zir :24:2) at All Constraints ))))))))
FpExt x766 = x765 + x588 * poly_mix[40];
// loc(callsite( NondetU16Reg ( zirgen/circuit/rv32im/v2/dsl/lookups.zir :43:14) at callsite( MultiplyAccumulate ( zirgen/circuit/rv32im/v2/dsl/mult.zir :154:25) at callsi... | C++ |
nse");
* 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 writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WI... | Kotlin |
statusService: gh<_i6.ITournamentStatusService>(),
crashWrapper: gh<_i7.ICrashWrapper>(),
));
gh.factory<_i8.SearchMiddleware>(
() => _i8.SearchMiddleware(provider: gh<_i4.ISearchProvider>()));
return this;
}
}
import 'dart:async';
import 'package:injectable/injectable.dart';
impo... | Dart |
aSongNumStart
ldr r1, _0200DE78 @ =gUnknown_03001B0B
movs r0, #0x1e
strb r0, [r1]
strb r4, [r5, #0x1a]
strb r4, [r5, #0x19]
ldr r1, _0200DE7C @ =sub_0200dcc0
str r1, [r5]
adds r0, r5, #0
bl _call_via_r1
b _0200DE90
.align 2, 0
_0200DE70: .4byte gUnknown_03001AD4
_0200DE74: .4byte gUnknown_03001B0A
_0200DE78:... | Assembly |
2908] = {"어떤 죄수", nil, {"쓸쓸한 광산에 있는 마녀 로크리라에게 밀드레드의 열쇠를 가져가야 합니다."}},
[12909] = {"개코가 따로 없다", nil, {"그롬아쉬 추락 지점 동쪽의 산자락에 있는 칼리이시와 대화해야 합니다."}},
[12910] = {"범인을 찾아라", nil, {"얼음이빨을 타고, 브란의 쪽지에서 풍기는 냄새의 근원지를 추적해야 합니다. 그러고 나서 브란의 통신기를 찾아 브란 브론즈비어드와 대화하십시오."}},
[12911] = {"Test용 처치 크레딧", nil, {"Test용 처치 점수 시험용에게 /손인사를 하십시오.... | Lua |
ect2, box)
action.pick(object0, box)
action.place(object0, box)
# Fourth, after making all actions, provide your reasoning based on the given rules.
# The sequence starts with placing non-plastic objects (object1 and object2) into the box,
# as they have no constraints. Once these are placed, objec... | Python |
Diff</em>
* </ul>
*
* <p>in case of a grayscale image and floating range</p>
* <ul>
* <li> <em>src(seedPoint.x, seedPoint.y)- loDiff <= src(x,y) <=
* src(seedPoint.x, seedPoint.y)+ upDiff</em>
* </ul>
*
* <p>in case of a grayscale image and fixed range</p>
* <ul>
* <li> <em>src(x',y')_r- loDiff _r <= src... | Java |
H. (1914). "Sur les zéros de la fonction ζ(s) de Riemann." Comptes Rendus de l'Académie des Sciences 158: 1012-1014.
[3] Littlewood, J.E. (1924). "On the zeros of the Riemann zeta-function." Proceedings of the Cambridge Philosophical Society 22: 295-318.
[4] Selberg, A. (1946). "Contributions to the theory of the Rie... | Markdown |
new egret.MovieClipDataFactory(data, txtr);
var light02: egret.MovieClip = new egret.MovieClip(mcFactory.generateMovieClipData("light02"));
light02.once(egret.Event.COMPLETE, function (): void {
light02.parent.removeChild(light02)
light02 = null;
}, this)
light02.... | Typescript |
:"M18 11.5V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v1.4"}],["path",{d:"M14 10V8a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2"}],["path",{d:"M10 9.9V9a2 2 0 0 0-2-2a2 2 0 0 0-2 2v5"}],["path",{d:"M6 14a2 2 0 0 0-2-2a2 2 0 0 0-2 2"}],["path",{d:"M18 11a2 2 0 1 1 4 0v3a8 8 0 0 1-8 8h-4a8 8 0 0 1-8-8 2 2 0 1 1 4 0"}]]],ac=["svg",e,[["path",{d:"M21.... | JavaScript |
(R.string.refresh_period_thirty_minutes, 30),
SIXTY_MINUTES(R.string.refresh_period_sixty_minutes, 60),
NEVER(R.string.refresh_period_never);
/**
* Gets the next [ZonedDateTime] for this period, or `null` if the period is set to
* [NEVER]
*/
fun getNext(): Z... | Kotlin |
OreDictManager.INSTANCE.setTarget(OP.ingot , MT.U_238 , MD.GC_EXTRAPLANETS, "ingotUranium", 0);
OreDictManager.INSTANCE.setTarget(OP.ingot , MT.Hg , MD.GC_EXTRAPLANETS, "ingotMercury", 0);
OreDictManager.INSTANCE.setTarget(OP.compressed , MT.Hg ... | Java |
};
pub(crate) use nu_parser::ParserScope;
pub(crate) use nu_protocol::{out, row};
pub(crate) use nu_source::{AnchorLocation, PrettyDebug, Span, SpannedItem, Tag, TaggedItem, Text};
pub(crate) use nu_stream::ToInputStream;
pub(crate) use nu_stream::{InputStream, Interruptible, OutputStream};
pub(crate) use nu_value_ext:... | Rust |
@return Hash algorithm enum
HashAlgorithm
digestHashAlgorithm(HashAlgorithm alg) {
boost::shared_ptr<Hash> hash_digest(
CryptoLink::getCryptoLink().createHash(alg),
deleteHash);
return (hash_digest->getHashAlgorithm());
}
}
TEST(HashTest, HashAlgorithm) {
EXPECT... | C++ |
u0646\u0648\u0648\u0633\u06cc\u0648\u062a\u06d5 \u067e\u06ce \u062f\u06d5\u0686\u06ce\u062a \u0644\u06cc\u0646\u06a9\u06ce\u06a9\u06cc \u062f\u06d5\u0631\u06d5\u06a9\u06cc \u0628\u06ce\u062a. \u062f\u06d5\u062a\u06d5\u0648\u06ce\u062a \u067e\u06ce\u0634\u06af\u0631\u06cc \u067e\u06ce\u0648\u06cc\u0633\u062a https:// \u... | JavaScript |
AST doesn't give us access to the name location, so we
// need to find it manually
Pattern propPattern = Pattern.compile("\\b" + propNode.getName() + "\\b");
Matcher propMatcher = propPattern.matcher(text);
if (!propMatcher.find()) {
// couldn't find the name!
return null;
}
Position start = range.g... | Java |
2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"},{"n":"more","v":"more"}]},{"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hit"},{"n":"评分","v":"commend"}]}],
"3":[{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"202... | JavaScript |
pub caret: i32,
pub description: String,
#[serde(rename = "completionStart")]
pub completion_start: i32,
#[serde(rename = "completionEnd")]
pub completion_end: i32,
#[serde(rename = "matchingStart")]
pub matching_start: i32,
#[serde(rename = "matchingEnd")]
pub matching_end: i32... | Rust |
scale(0); }
.grow-from-up-center-enter {
transform: scale(0);
transform-origin: 50% 100%;
transition: transform 0.15s cubic-bezier(0.5, 1.8, 0.9, 0.8); }
.grow-from-up-center-enter.grow-from-up-center-enter-active {
transform: scale(1); }
.grow-from-up-center-leave {
transform: scale(1);
transform-or... | CSS |
YXQ= 98048
wq8= 98049
IG9wcGVydmw= 98050
KGNsdXN0ZXI= 98051
IHbhu7Fj 98052
IOCkleCkueCkqOCkvg== 98053
IHJlY29uc2lkZXI= 98054
IGhhbGFtYW4= 98055
IHN6ZW0= 98056
aXp5b24= 98057
IGVudHJlZ2Fy 98058
INC/0LDQudC00LA= 98059
INCw0YDQvdCw0LvSk9Cw0L0= 98060
IEZsYQ== 98061
IOqwkOyCrA== 98062
Y29tYmluZQ== 98063
4LSV4LWG 98064
w61jd... | Kotlin |
c5012',1,'chai3d']]],
['ccreatecylinder_209',['cCreateCylinder',['../namespacechai3d.html#a3ad0de67a76f76ceef28e4fb34175bfb',1,'chai3d']]],
['ccreatedisk_210',['cCreateDisk',['../namespacechai3d.html#acc8e973112cfd680c5c86b5375ddb68b',1,'chai3d']]],
['ccreateellipsoid_211',['cCreateEllipsoid',['../namespacechai3d... | JavaScript |
hr);
}
void restoreWindow(IUIAutomationWindowPattern window) {
final hr = window.setWindowVisualState(WindowVisualState_Normal);
if (FAILED(hr)) throw WindowsException(hr);
}
void closeWindow(IUIAutomationWindowPattern window) {
final hr = window.close();
if (FAILED(hr)) throw WindowsException(hr);
}
void ma... | Dart |
000114036123046297/ef20011787_8k.htm",
"dev1Url": "http://172.18.85.157:8082/ix3/ixviewer3/ix.xhtml?doc=../../ixdocs/WebContent/documents/0001140361-23-046297/ef20011787_8k.htm",
"dev2Url": "http://172.18.85.158:8082/ix3/ixviewer3/ix.xhtml?doc=../../ixdocs/WebContent/documents/0001140361-23-046297/ef20011787_8k.htm... | JavaScript |
rency(
symbol: "R",
name: "South African Rand",
symbolNative: "R",
decimalDigits: 2,
rounding: 0,
code: "ZAR",
namePlural: "South African rand"),
CountryCurrency(
symbol: "ZK",
name: "Zambian Kwacha",
symbolNative: "ZK",
decimalDigits: 0,
roundin... | Dart |
mod client;
mod error;
mod retry;
mod state;
pub mod defaults;
pub use client::{Client, Request, Response};
pub use error::{Error, UnexpectedError, WaitForTransactionError};
pub use libra_json_rpc_types::{errors::JsonRpcError, proto::types, response::JsonRpcResponse};
pub use retry::{Retry, RetryStrategy};
pub use sta... | Rust |
/* Copyright (c) 2017, United States Government, as represented by the
* Administrator of the National Aeronautics and Space Administration.
*
* All rights reserved.
*
* The Astrobee platform is licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with... | C |
"Message: ", Message, msg.Param1, msg.Param2);
if Message == Computicle.Messages.QUIT then
if OnExit then
OnExit();
end
break;
end
if Message == Computicle.Messages.CODE then
local len = msg.Param2;
local codePtr = ffi.cast("con... | Lua |
/* 22109C 801EADEC 8D100000 */ lw $s0, ($t0)
/* 2210A0 801EADF0 3C15800E */ lui $s5, %hi(D_800E3210) # $s5, 0x800e
/* 2210A4 801EADF4 3C14800E */ lui $s4, %hi(D_800E3050) # $s4, 0x800e
/* 2210A8 801EADF8 00108080 */ sll $s0, $s0, 2
/* 2210AC 801EADFC 02D0C821 */ addu $t9, $s6, $s0
/* 2210B0 801EAE00 02F0... | Assembly |
multiple]):not([size]),.form-select.is-valid:not([multiple])[size="1"],.was-validated .form-select:valid:not([multiple]):not([size]),.was-validated .form-select:valid:not([multiple])[size="1"]{--bs-form-select-bg-icon:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2... | CSS |
/*
*
* Copyright 2015 gRPC authors.
*
* 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 agree... | C |
SupervisionSegment("ut1", "c1", start=1.5, duration=7.13, text="greetings, assistant", speaker="user"),
SupervisionSegment("at1", "c1", start=10.2, duration=8.49, text="welcome, user", speaker="assistant"),
SupervisionSegment(
"ut2", "c1", start=21.3, duration=15.2, tex... | Python |
(!WritingInfo) {
GroupFileIdNumBoxChanged();
}
}
private void grpEmbedModeBox_SelectedIndexChanged(object sender, EventArgs e) {
if (!WritingInfo) {
GroupFileIdEmbedModeChanged();
}
}
public virtual void GroupFileIdCom... | C# |
op {
position: absolute;
}
body.behat-site.hasstickyfooter .stickyfooter,
body.behat-site .stickyfooter {
position: inherit;
z-index: inherit;
}
body.behat-site.hasstickyfooter .stickyfooter .sticky-footer-content-wrapper,
body.behat-site .stickyfooter .sticky-footer-content-wrapper {
padding: 0;
margin: 0;
}... | CSS |
/// that belong to namespace Quantum.ChemistryTests.
/// </summary>
[OperationDriver(TestNamespace = "Microsoft.Quantum.Chemistry.Tests")]
public void TestTarget(TestOperation op)
{
using (var sim = new QuantumSimulator())
{
// OnLog defin... | C# |
/ buttons.
///
/// This is not the recommended strategy in general: It is much more optimal for your
/// application to put interface objects on a layer and disable self-collision for that
/// layer in your Physics settings (Edit / Project Settings / Physics).
/// </summary>
public class Ignore... | C# |
, 200), FimPoint.fromXY(400, 600)));
});
it('equals()', () => {
const rect1 = FimRect.fromXYWidthHeight(100, 200, 300, 400);
const rect2 = FimRect.fromXYWidthHeight(100, 200, 300, 400);
const rect3 = FimRect.fromXYWidthHeight(100, 200, 400, 300);
expect(rect1.equals(rect2)).toBeTruthy();
expect... | Typescript |
{
// Call arraycopy stubs to do the job.
pd_conjoint_bytes(from, to, count); // bytes are always accessed atomically.
}
static void pd_conjoint_jshorts_atomic(const jshort* from, jshort* to, size_t count) {
#ifdef USE_INLINE_ASM
size_t count_in = count;
if (has_destructive_overlap((const char*)from, (char*)t... | C++ |
utter_rust_bridgefor_generatedRustAutoOpaqueInnerChatResultsStringPtr =
_lookup<ffi.NativeFunction<ffi.Void Function(ffi.Pointer<ffi.Void>)>>(
'frbgen_merge_ai_rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerChatResultsString');
late final _rust_arc_increm... | Dart |
y, orderBy: orderBy);
_addWindowFunction("MAX($column)", overClause, as);
return this;
}
@override
QueryBuilder windowMin(
String column, {
String? partitionBy,
String? orderBy,
String? as,
}) {
if (column.isEmpty) {
throw InvalidArgumentException(
'Column name canno... | Dart |
tats.Inc()
return nil
}
if p.procFallbackLimiter.Allow(pid) {
// fallback to /proc, the in-kernel LRU may have deleted the entry
if entry := p.resolveFromProcfs(pid, inode, procResolveMaxDepth, newEntryCb); entry != nil {
p.hitsStats[metrics.ProcFSTag].Inc()
return entry
}
}
p.missStats.Inc()
retur... | Go |
}
Err(why) => {
log::info!("Failed to get compatible FourCC: {}", why.to_string())
}
}
camera
.set_camera_format(CameraFormat::new(
Resolution::new(1280, 720),
FrameFormat::MJPEG,
30,
))
.unwrap();
camera.open_stream().... | Rust |
fo getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser<ChannellerSlabBuffInfo>
PARSER = new com.google.protobuf.AbstractParser<ChannellerSlabBuffInfo>() {
@java.lang.Override
public ChannellerSlabBuffInfo parsePartialFrom(
com.go... | Java |
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
using System.Reflection;
using OpenTelemetry.AutoInstrumentation.Configurations;
using OpenTelemetry.AutoInstrumentation.Plugins;
namespace OpenTelemetry.AutoInstrumentation.Loading.Initializers;
internal sealed class SqlClientTracerInitia... | C# |
w4x 62, 19, 10 # vr30, 4
vspltisw 21, 12
vspltisw 23, 7
ld 11, permx@got(2)
lxvw4x 32+20, 0, 11
lxvw4x 32+22, 17, 11
li 8, 10
mtctr 8
xxlor 16, 48, 48
xxlor 17, 49, 49
xxlor 18, 50, 50
xxlor 19, 51, 51
vspltisw 25, 4
vspltisw 26, 8
xxlor 16, 48, 48
xxlor 17, 49, 49
xxlor 18, 50, 50
xxlor 19, 51,... | Assembly |
} sein",
'getFeatureError': "getFeatureFromEvent wurde vom einem Layer ohne Renderer aufgerufen. Dies bedeutet normalerweise, dass ein Layer entfernt wurde, aber nicht Handler, die auf ihn verweisen.",
'minZoomLevelError': "Die \x3ccode\x3eminZoomLevel\x3c/code\x3e-Eigenschaft ist nur für die Verwendung mit \... | JavaScript |
})
}
}
func CheckToken(c *gin.Context) {
var request TokenReq
err := c.Bind(&request)
if err != nil {
fmt.Println(err)
c.JSON(400, gin.H{
"status": 1,
"message": "Incorrect data",
"body": nil,
})
return
}
userIndex := CheckTokenUtility(request.Token)
if userIndex == -1 {
c.JSON(200, ... | Go |
structs a ResNet-RS-420 model
Paper: Revisiting ResNets - https://arxiv.org/abs/2103.07579
Pretrained weights from https://github.com/tensorflow/tpu/tree/bee9c4f6/models/official/resnet/resnet_rs
"""
attn_layer = partial(get_attn('se'), rd_ratio=0.25)
model_args = dict(
block=Bottleneck, lay... | Python |
STAFF") as MFR_M02_MF_STAFF;
}
///<summary>
///Removes the given MFR_M02_MF_STAFF
///</summary>
public void RemoveMF_STAFF(MFR_M02_MF_STAFF toRemove)
{
this.RemoveStructure("MF_STAFF", toRemove);
}
///<summary>
///Removes the MFR_M02_MF_STAFF at the given index
///</summary>
public void RemoveMF_STAFFAt(... | C# |
retries: 2
};
await new Retry(config).execute();
expect(config.action).toBeCalledTimes(1);
});
test("should return action result on successful try", async () => {
const config = {
action: async () => "test",
shouldRe... | Typescript |
"""Test configuration.
These allow the mocking of various Python modules
that might otherwise have runtime side-effects.
"""
import sys
import mock
import pytest
@pytest.fixture(scope='function', autouse=False)
def FanShim():
import fanshim
yield fanshim.FanShim
del sys.modules['fanshim']
@pytest.fixtur... | Python |
13.6-40.5-29.4L560.53431 52.2c-9.9-20-29.1-30-48.3-30z" ></path></symbol><symbol id="l-huanxing" viewBox="0 0 1024 1024"><path d="M512 1024c-69.1 0-136.2-13.5-199.3-40.2C251.7 958 197 921.1 150 874c-47-47-83.9-101.8-109.7-162.7C13.5 648.2 0 581.1 0 512c0-69.1 13.5-136.2 40.2-199.3C66 251.7 102.9 197 150 150c47-47 101.... | JavaScript |
Damaged Ravager Fang",
[23976] = "粗糙的劫毀者外殼",
[23977] = "粗糙的劫毀者之牙",
[23978] = "粗糙的劫毀者爪子",
[23979] = "破碎的劫毀者外殼",
[23980] = "Chipped Ravager Fang",
[23981] = "蒸汽幫浦零件",
[23982] = "Kessel\'s Whistle",
[23983] = "Shadowbat Blood",
[23984] = "受到輻射的水晶裂片",
[23985] = "活力水晶",
[23986] = "洞察水晶",
[23987] = "變... | Lua |
ASMHelper.Label l45 = asmhelper.createLabel();
ASMHelper.Label l46 = asmhelper.createLabel();
mv.visitInsn(opCodes.DUP);
mv.visitJumpInsn(opCodes.IFNULL, l45);
mv.visitMethodInsn(opCodes.INVOKEVIRTUAL, asmhelper.getNonPrimitive(tp),
... | Java |
那么就没理由不能在日本做到
--
:
我嘛
我原本就是作为自由职业者而工作的
工作也有进行
在大型企业工作的时候
我也尽可能保持这种独立工作的状态
从心底说
单纯地觉得为大公司工作很麻烦
各种各样的手续、会议、喧嚣的人
你与你的工作之间夹杂着太多太多
--
:
尤其在现在的时代
游戏之类的创造物
已经不局限与摆放在店铺里贩卖
而是转向网络
以Steam或App Store之类的平台进行销售
... | Markdown |
�29世",
[60038] = "温德30世",
[60039] = "温德31世",
[60040] = "温德32世",
[60041] = "温德33世",
[60042] = "温德34世",
[60043] = "温德35世",
[60044] = "温德36世",
[60045] = "温德37世",
[60046] = "温德38世",
[60047] = "温德39世",
[60048] = "温德40世",
[60049] = "温德41世",
[60050] = "温德42世",
[60051] = "温德116世",
[60052] = "温德117... | Lua |
01T00:00:00Z'
},
{
id: '2',
title: '测试提示词2',
content: '这是测试内容2',
user_id: 'test-user-id',
tags: ['开发'],
created_at: '2024-01-02T00:00:00Z'
}
]
mockSupabase.order.mockResolvedValue({
data: mockPrompts,
error... | JavaScript |
};
return Tuple.Create(forward, backward);
}
// write a function to create the graph
public static Variable<T> Foo<T>(Variable<T> x, Variable<T> w, Variable<T> b)
{
return Dot(x, w) + b;
}
[Test]
public static void Test()
{
... | C# |
if (wn_step && (WN_operator(wn_step) == OPR_GOTO))
wn_step = WN_prev(wn_step);
if (!wn_start || !wn_end || !wn_step)
return FALSE;
*p_start = wn_start;
*p_end = wn_end;
*p_step = wn_step;
return TRUE;
}
// Dump a SC_NODE. If dump_tree is TRUE, dump the SC tree
// rooetd at this SC_NODE.
void
SC_... | C++ |
acatalogService.Models
{
/// <summary>
/// General permissions object.
/// </summary>
public class CatalogPermissionsSummary
{
/// <value>
/// The data catalog's OCID.
/// </value>
[JsonProperty(PropertyName = "catalogId")]
public string CatalogId { ... | C# |
_read_value();
}
}
else
{
DBUG_PRINT("info", ("field '%s' - skipped", vf->field_name.str));
}
}
if (handler_pushed)
in_use->pop_internal_handler();
in_use->restore_active_arena(expr_arena, &backup_arena);
/* Return 1 only of we got a fatal error, not a warning */
DBUG_RETURN... | C++ |
pe = f"{imitate_type}_{model_name}"
for model_idx in range(n_imitate_shadows):
model_dir = os.path.join(shadow_dir, str(model_idx))
nonpivot_arr = np.load(os.path.join(model_dir, f"adapt_nonpivot_{model_name}.npy"))
logits_arr = np.load(os.path.join(model_dir, f"adapt_{model_type}_confs_on_... | Python |
ext(
"$telematikIdText: ${auditEvent.telematikId}",
style = AppTheme.typography.body2
)
}
AnimatedVisibility(auditEvent.kvnrNumber.isNotNullOrEmpty()) {
SpacerSmall()
Text(
"$kvnrText: ${auditEvent.kvnrNumber}",
... | Kotlin |
Representation{RepType: acctest.Required, Create: `${oci_dbmulticloud_oracle_db_gcp_identity_connector.test_oracle_db_gcp_identity_connector.id}`},
}
DbmulticloudOracleDbGcpIdentityConnectorDataSourceRepresentation = map[string]interface{}{
"compartment_id": acctest.Representation{RepType: acctest.Required, Create... | Go |
H(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_NAME, "11NJ"),
},
.callback = lenovo_se30_create_platform_device,
},
{
.ident = "LENOVO-SE30",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
DMI_MATCH(DMI_PRODUCT_NAME, "11NK"),
},
.callback = lenovo_se30_create_platform_device,
},
{}
};
MO... | C |
*********************************************************************/
bool R_BSP_Lock(bsp_lock_t * plock)
{
bool ret = false;
/* Variable used in trying to acquire lock. Using the xchg instruction makes this atomic */
int32_t is_locked = true;
/* This example uses the RX MCU's atomic xchg() instr... | C |
.message}`);
} else {
throw new Error(`Not all properties updated. Updated properties: ${successfulUpdates.join(', ')} \n \nAgileCRM error response: ${error.message}`);
}
}
}
export function validateJSON(json: string | undefined): any { // tslint:disable-line:no-any
let result;
try {
result = JSON.parse(j... | Typescript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.