content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
3);
if (last_oc) {
CALC_DST(_sum00.val[0]);
CALC_DST(_sum00.val[1]);
CALC_DST(_sum01.val[0]);
CALC_DST(_sum01.val[1]);
CALC_DST(_sum10.val[0]);
CALC_DST(_sum10.val[1]);
CALC_DST(_sum11.val[0]);
... | C++ |
o be searched,
/// </summary>
[RequiredArgument]
public InArgument<DirectoryInfo> BaseDirectory { get; set; }
/// <summary>
/// Gets or sets the comma separated list of file extensions.
/// </summary>
[RequiredArgument]
public InArgument<string> FileExten... | C# |
COMMAND_CMD(wParam, lParam) == EN_CHANGE )
lRes = OnEditChanged(uMsg, wParam, lParam, bHandled);
else if( GET_WM_COMMAND_CMD(wParam, lParam) == EN_UPDATE )
{
RECT rcClient;
::GetClientRect(m_hWnd, &rcClient);
::InvalidateRect(m_hWnd, &rcClient, FALSE);
}
break;
}
case WM_RBUTT... | C++ |
SanitizeMol(mol_3d)
except:
continue
confIds = AllChem.EmbedMultipleConfs(mol_3d, n_conf, randomSeed=random_seed,
clearConfs=True, numThreads=num_workers)
try:
AllChem.MMFFOptimizeMoleculeConfs(mol_3d, numThreads=num_workers)
... | Python |
me : 'UPDATE GH INFO',
on : async ( ) => {
const tempFilePath = joinPath( paths.tempDir, 'topics.json' )
try {
const pkg = pkgJson.data
pkg.keywords = Array.isArray( pkg.keywords ) ? pkg.keywords.slice( 0, 19 ) : []
const topicData = {
names : pkg.keywords,
}
await writeFile( tempFil... | JavaScript |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ImmediateAcceptBot.BackgroundQueue
{
/// <summary>
/// Interface for a class used to transfer a workitem to the <see cref="HostedTask... | C# |
_ASSERT_UINT64_WITHIN(1, 0x7FFFFFFFFFFFFFFF, 0x7FFFFFFFFFFFFFFC);
VERIFY_FAILS_END
#endif
}
void testUINT64sNotWithinDeltaEvenThoughASignedIntWouldPass(void)
{
#ifndef UNITY_SUPPORT_64
TEST_IGNORE();
#else
EXPECT_ABORT_BEGIN
TEST_ASSERT_UINT64_WITHIN(5, 1, -1);
VERIFY_FAILS_END
#endif
}
void testI... | C |
) SetLabelsTxn(ctx context.Context, labelType Type, id string, labels map[string]string) error {
return setLabelsTxn(ctx, labelType, id, labels, h)
}
// Removes all labels on the entity
//
// DELETE /api/labels/:type/:id/:name
//
func (h *httpApplicator) RemoveLabel(labelType Type, id, name string) error {
target :=... | Go |
center = Offset(json['center']['x'], json['center']['y']),
super(id: json['id'], color: Color(json['color']));
/// Constructor to be used when first starting to draw the object on the canvas
Circle.createNew(this.center)
: radius = 0,
super(id: const Uuid().v4(), color: RandomColor.getR... | Dart |
}
}
/**
* Fired when the window is resized
* @param {Event} event
*/
onWindowResize(event) {
this.#maybeOverflow();
}
_handleOverflowableEvent(event) {
switch (event.type) {
case "resize":
this.onWindowResize(event);
break;
}
}
/**
* @type {any}
* @param {BrowserDebugHologram} holog... | JavaScript |
changelog_subsectionsParse1}
${fixtures.changelog_subsectionsParse2}`,
});
await changelogPlugin.executeStage(context, DefaultStages.check);
expect(context.errors).toHaveLength(0);
const headline = context.getData<string[]>("changelog_before");
expect(headline).toBe(fixtures.changelog_subsectionsParse... | Typescript |
.menu-item-cart > a.circle-count .minicart-item-count,
.product-page__wrapper .product-page__nav .product-page__nav-preview .nav-preview__info-title,
.thegem-combobox-wrap .thegem-combobox,
.product-page__wrapper .reset_variations,
.product-page__wrapper .size-guide,
.single-product-content-right .compare,
.single-prod... | CSS |
dojoFinishTime[slot] = this.Channel.Container.getCurrentTime() + clockTime;
}
public void DismissDojoSchedule(int dojoMapId, Team party)
{
int slot = GetDojoSlot(dojoMapId);
int stage = (dojoMapId / 100) % 100;
if (stage <= dojoStage[slot])
{
... | C# |
che/promise-inflight-npm-1.0.1-5bb925afac-10c0.zip/node_modules/promise-inflight/",\
"packageDependencies": [\
["promise-inflight", "virtual:90bae5e6f63fe6e60de140420c1e53823ba401a556e33cfb01e20acefe821ba523ee38240b60ad67a6b5e04e91bebbd748be5032bc9e2322b1dbf3ecf532ed71#npm:1.0.1"],\
["@types... | JavaScript |
from kittens.tui.handler import result_handler
from kitty.key_encoding import KeyEvent, parse_shortcut
def main(args):
pass
def encode_key_mapping(window, key_mapping):
mods, key = parse_shortcut(key_mapping)
event = KeyEvent(
mods=mods,
key=key,
shift=bool(mods & 1),
alt... | Python |
strong>:is(.md-br,br),#write>h6:first-child strong>:is(.md-br,br){display:none}#write>pre.md-meta-block:first-child+h6 .md-expand strong>:is(.md-br,br),#write>h6:first-child .md-expand strong>:is(.md-br,br){display:initial}#write>pre.md-meta-block:first-child+h6 em:not(:has(sup:only-child)):not(:has(code)),#write>h6:f... | CSS |
177769FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141,FALSE,sig[32:64] is equal to curve order
14,,FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC30,,243F6A8885A308D313198A2E03707344A4093822299F31D0082EFA98EC4E6C89,6CFF5C3BA86C69EA4B7376F31A9BCB4F74C1976089B2D9963DA2E5543E17776969E89B4C5... | Kotlin |
ISECONDS,
PeriodicWorkRequest.MIN_PERIODIC_FLEX_MILLIS,
TimeUnit.MILLISECONDS
).setConstraints(constraints).build()
val workManager = WorkManager.getInstance(context.applicationContext)
if (start) {
workManager.enqueueUniquePeriodicWork(WORK_TAG, ExistingPeri... | Kotlin |
px 6px 1px 6px;
}
ul.hamburgerList {
list-style-type: none;
margin: 2px 2px 2px 2px;
padding: 0px 0px 0px 0px;
}
ul.hamburgerList li {
margin: 2px 2px 2px 2px;
padding: 0px 0px 0px 0px;
pointer-events: none;
display: none;
height: 0px;
opacity: 0;
}
ul.hamburgerList button.menuButton {
margin: 2p... | CSS |
/draggable_float_widget.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_hbb/common/shared_state.dart';
import 'package:flutter_hbb/desktop/widgets/tabbar_widget.dart';
import 'package:flutter_hbb/mobile/pages/home_page.dart';
import 'package:flutter_hbb/mod... | Dart |
jsdelivr.net/npm/@ibm/plex-sans-sc@1.1.0/fonts/split/woff2/hinted/IBMPlexSansSC-Light-079.woff2") format("woff2");
unicode-range: U+2003, U+2193, U+2462, U+4E19, U+4E2B, U+4E36, U+4EA8, U+4ED1, U+4ED7, U+4F51, U+4F63, U+4F83, U+50E7, U+5112, U+5167, U+51A4, U+51B6, U+5239, U+5265, U+532A, U+5351, U+537F, U+5401, U+54... | CSS |
import java.awt.Graphics
import javax.swing.Icon
import javax.swing.JLabel
import kotlin.math.min
class EllipsisLabel(
text: String = EMPTY_STRING,
private val ellipsisAtEnd: Boolean = true,
icon: Icon? = null,
private val maxWidth: Int = Int.MAX_VALUE
) : JLabel(text) {
private var displayText: S... | Kotlin |
ateWords } from "../models/CalculateWords"
describe('CalculateWords', () => {
it('calculateHighestFrequency should return a number of 2', () => {
const calculateWords = new CalculateWords();
const number = calculateWords.calculateHighestFrequency('The sun shines over the lake');
expect(numb... | Typescript |
ts(mesh_name,(self.fluid_model_part).GetMesh())
def __PrintResults(self):
label = self.fluid_model_part.ProcessInfo[TIME]
self.gid_io.WriteNodalResults(VELOCITY,self.fluid_model_part.Nodes,label,0)
self.gid_io.WriteNodalResults(PRESSURE,self.fluid_model_part.Nodes,label,0)
self.gid_... | Python |
2c21.4 0 32.1-25.9 17-41l-33-31 99.3-99.3c6.2-6.2 6.2-16.4 0-22.6L481.9 4.7c-6.2-6.2-16.4-6.2-22.6 0L360 104l-31.1-33C313.8 55.9 288 66.6 288 88v112c0 13.3 10.7 24 24 24zm96 136 33-31.1c15.1-15.1 4.4-40.9-17-40.9H312c-13.3 0-24 10.7-24 24v112c0 21.4 25.9 32.1 41 17l31-32.9 99.3 99.3c6.2 6.2 16.4 6.2 22.6 0l25.4-25.4c6.... | Dart |
;
}
/* This selector disables the float property that is placed on each tab button
* by the default TabbedPanelsTab selector rule above. It also draws a bottom
* border for the tab. The tab button will get its left and right border from
* the TabGroup, and its top border from the TabGroup or tab button above it.
... | CSS |
ored:var(--nextui-box-shadow-small);box-shadow:var(--tw-ring-offset-shadow,0 0#0000),var(--tw-ring-shadow,0 0#0000),var(--tw-shadow)}.\[\&\[data-hover\=true\]\:not\(\[data-active\=true\]\)\]\:bg-default-100[data-hover=true]:not([data-active=true]){--tw-bg-opacity:1;background-color:hsl(var(--nextui-default-100)/var(--n... | CSS |
: calculate
})
}
}
export { NpsController };import {RequestHandler} from 'express';
import {ToDo} from '../models/toDos'
const TODOS:ToDo[] = [{id:'0',text:'none'}]
export const createToDo:RequestHandler = (req, res, next):void =>{
const text = req.body.text as string;
const newTodo = new ToDo(Math... | Typescript |
version: 1.0
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package ch.cyberduck.core.eue.io.swagger.client.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonPr... | Java |
SIZE(XX)
daddu XX, XX, INCX
LD b6, 1 * SIZE(Y)
daddu Y, Y, INCY
ST a7, 0 * SIZE(YY)
LD a7, 0 * SIZE(X)
ST b7, 0 * SIZE(XX)
LD b7, 0 * SIZE(Y)
ST a8, 1 * SIZE(YY)
daddu YY, YY, INCY
LD a8, 1 * SIZE(X)
daddu X, X, INCX
ST b8, 1 * SIZE(XX)
daddu XX, XX, INCX
LD b8, 1 * SIZE(Y)
daddiu I, I, -1
... | Assembly |
/ AXIAL_TILT_WINTER_TEMPERATURE_DIVISOR
jan_rain_base = jan_rain_base - rain_diff / AXIAL_TILT_SUMMER_RAINFALL_DIVISOR
jul_rain_base = jul_rain_base - rain_diff / AXIAL_TILT_WINTER_RAINFALL_DIVISOR
end
--print("C4")
jan_rain_base = math.max(0, jan_rain_base)
jul_rain_base = math.max(0, jul_rain_base)
-... | Lua |
#ifndef ISOTOPEDIALOG_H
#define ISOTOPEDIALOG_H
#include "stable.h"
#include "ui_isotopedialog.h"
class MainWindow;
class IsotopeDialogSettings;
class IsotopeDialog : public QDialog, public Ui_IsotopeDialog
{
Q_OBJECT
public:
explicit IsotopeDialog(MainWindow* parent = 0);
~IsotopeDialog();
... | C |
g.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.TXT_LE3_PEDAL_2.Location = new System.Drawing.Point(352, 34);
this.TXT_LE3_PEDAL_2.Name = "TXT_LE3_PEDAL_2";
this.TXT_LE3_PEDAL_2.ReadOnly = true;
th... | C# |
-- - NEED_SHOWN (position, length)
-- - PAINTED
-- - HOT_SPOT_CLICK (position, modifiers)
-- - HOT_SPOT_DOUBLE_CLICK (position, modifiers)
-- - HOT_SPOT_RELEASE_CLICK (position, modifiers)
-- - FOCUS_IN
-- - FOCUS_OUT | Lua |
reference: PhpReference?): String? {
return resolveUsedClass(reference)?.fqn
}
fun PhpNamedElement.modulitesWithAllowedAccess(module: Modulite): List<SymbolName> {
val name = symbolName()
val className = name.className()
return module.allowedInternalAccess.mapNotNull { (moduleName, symbols) ->
... | Kotlin |
self.cfg)
elseif inputs('resolutionUp') and self.take then
if ( prevChar ~= lastChar ) then
self.newRowPerQn = self.newRowPerQn + 1
if ( self.newRowPerQn > self.maxRowPerQn ) then
self.newRowPerQn = 1
end
end
self:forceUpdate()
elseif inputs('resolutionDown') ... | Lua |
// pub fn PathToRegion();
pub fn Pie(
hdc: HDC, nLeftRect: c_int, nTopRect: c_int, nBottomRect: c_int, nXRadial1: c_int,
nYRadial1: c_int, nXRadial2: c_int, nYRadial2: c_int,
) -> BOOL;
// pub fn PlayEnhMetaFile();
// pub fn PlayEnhMetaFileRecord();
// pub fn PlayMetaFile();
... | Rust |
mov.n a8, a4
1:
l32i a10, a7, 0
l32i a11, a7, 4
s32i a10, a8, 0
s32i a11, a8, 4
l32i a10, a7, 8
l32i a11, a7, 12
s32i a10, a8, 8
s32i a11, a8, 12
addi a8, a8, 16
addi a7, a7, 16
blt a8, a5, 1b
/* We have to flush and invalidate the caches here before we jump. */
#if XCHAL_DCACHE_IS_WRITEBACK
___flus... | Assembly |
"},"copy-to-clipboard":{"title":"Copy to Clipboard Button","description":"Add a button that copies the code block to the clipboard when clicked.","owner":"mAAdhaTTah","require":"toolbar","noCSS":true},"download-button":{"title":"Download Button","description":"A button in the toolbar of a code block adding a convenient... | JavaScript |
Root.replace('.', '/'));
if (! scanRoot.lookup("beans.xml").canRead())
return false;
}
else if (! (root.lookup("META-INF/beans.xml").canRead()
|| (root.getFullPath().endsWith("WEB-INF/classes/")
&& root.lookup("../beans.xml").canRead()))) {
return false;
... | Java |
!== 'ironmimic' || target.transformed) return;
const hitSub = target.volatiles['substitute'] && !move.flags['authentic'] && !(move.infiltrates/* && this.gen >= 6*/);
if (hitSub) return;
if (!target.runImmunity(move.type)) return;
return 0;
},
onUpdate(pokemon) {
if (pokemon.species.id === 'ironmimi... | Typescript |
.s3.signature;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;
import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.time.ZonedDateTime;
import java.util.HashMap;
import java.util.Map;
import org.apache.hadoo... | Java |
(this.showCountingAnimation) {
if (this.checkWindowHeight()) {
this.startCounter(0, 41, CounterType.TOTAL);
this.startCounter(0, 184, CounterType.ONLINE);
this.startCounter(0, 95, CounterType.WOMAN);
this.startCounter(0, 89, CounterType.MAN);
this.showCountingAnimation = f... | Typescript |
= (long)var0[1] & 4294967295L;
long var6 = (long)var0[2] & 4294967295L;
long var8 = (long)var0[3] & 4294967295L;
long var10 = (long)var0[4] & 4294967295L;
long var12 = (long)var0[5] & 4294967295L;
long var14 = (long)var0[6] & 4294967295L;
long var16 = (long)var0[7] & 4294967295L;
... | Java |
parts.firstWhereOrNull((e) => e.offset >= offset);
@override
String toString() => 'Text($offset): $text';
///
factory ClosedCaption.fromJson(Map<String, dynamic> json) =>
_$ClosedCaptionFromJson(json);
///
Map<String, dynamic> toJson() => _$ClosedCaptionToJson(this);
}
// coverage:ignore-fil... | Dart |
GLM_COMPILER_INTEL
# if GLM_COMPILER >= GLM_COMPILER_INTEL16
# define GLM_HAS_OPENMP 40
# else
# define GLM_HAS_OPENMP 0
# endif
# else
# define GLM_HAS_OPENMP 0
# endif
#else
# define GLM_HAS_OPENMP 0
#endif
///////////////////////////////////////////////////////////////////////////////////
// nullptr
#if G... | C++ |
nd 1 pairs', () => {
let b = new Bowling();
for (let i = 0; i < Bowling.NORMAL_FRAME_MAX; i++) {
b.roll(9);
b.roll(1);
}
b.roll(9);
expect(b.score()).equal(190);
});
});
import { Document, ITable } from "./markdown";
export class WhitelistTable
{
private table: ITable;
private nam... | Typescript |
com"}
messageContents := []io.WriterTo{
bytes.NewBuffer([]byte("First email")),
bytes.NewBuffer([]byte("Second email")),
}
m1 := newMockMessage("first@example.com", to, messageContents[0])
m2 := newMockMessage("second@example.com", to, messageContents[1])
m1.setDialer(func() (Dialer, error) { return dialer,... | Go |
position: absolute;
z-index: 10; }
.morris-hover.morris-default-style {
font-size: 12px;
text-align: center;
border-radius: 5px;
padding: 10px 12px;
background: #f1f5f7;
color: #323b44;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-se... | CSS |
aria-flowto="${e=>e.ariaFlowto}"
aria-haspopup="${e=>e.ariaHaspopup}"
aria-hidden="${e=>e.ariaHidden}"
aria-invalid="${e=>e.ariaInvalid}"
aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
aria-label="${e=>e.ariaLabel}"
... | JavaScript |
r. Here we
# simply pass the exception up the stack, as if the secret was not found
# in the first place.
self._verify_secret_metadata(
secret_id=secret_id,
metadata=metadata,
)
logger.debug(f"Fetched HashiCorp Vault secret: {vault_secret_id}")
r... | Python |
vm, vmi := watchtesting.DefaultVirtualMachine(true)
vmi.Status.Phase = phase
vmi.Status.PhaseTransitionTimestamps = []v1.VirtualMachineInstancePhaseTransitionTimestamp{
{
Phase: v1.Running,
PhaseTransitionTimestamp: metav1.Now(),
},
}
vmi.ObjectMeta.Deletio... | Go |
action {
//Hello World message
val msg = "Hello-World"
val sender = ourIdentity
// Step 1. Get a reference to the notary service on our network and our key pair.
// Note: ongoing work to support multiple notary identities is still in progress.
val notary = serviceHub.net... | Kotlin |
--(at)--orientdb.com)
*/
public class ORuntimeKeyIndexDefinition<T> extends OAbstractIndexDefinition {
private static final long serialVersionUID = -8855918974071833818L;
private transient OBinarySerializer<T> serializer;
@SuppressWarnings("unchecked")
public ORuntimeKeyIndexDefinition(final byte iId) {
s... | Java |
import re
import os
# clear terminal
os.system('cls' if os.name == 'nt' else 'clear')
# all calibration lines
cal_lines = []
# read and parse input
with open('input_b.txt', 'r') as file:
lines = file.readlines()
for line in lines:
# regex to extract the mul() statement
num_matches = re.findal... | Python |
{
name : "Ennoda Vaa Vaa - NEP",
language: "Tamil",
capo : 0,
chords : "Ennoda - E D B Bm E (2)\n\n Sila - G E G A\n Aha anbe - D A C G E E Bm\n\n Kangal thodum - G D C D (2)\n Enodaya - G D C A D G D\n China - E Bm E Bm\n\n Sandai - D A C G E E Bm\n\n ... | Typescript |
nque solo sea una puedes establecer:
// alwaysShow: true
// para que ignore las reglas definidas previamente y siempre se muestre
// en modo anidado
alwaysShow: true
// establece el nombre del enrutador. Debe configurarse para evitar problemas con <keep-alive>.
name: 'router-name'
meta: {
// roles requeridos para n... | Markdown |
Z8npMygwWZTX51CipP+YA1OiZJbYYg9lAAAAAElFTkSuQmCC'), -webkit-linear-gradient(top, #fff 20%, #f6f6f6 50%, #EEE 52%, #f4f4f4 100%);
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAALCAQAAACnzwd+AAAAcklEQVR4AcXMsQFBQQDG4P9tAgC0gJYRQJZgKQMwCqCku6vVAAAA+NJHP4KHOk0aV2pRw61n4BBmyOxKQ8I4ehZeuhd3HT... | CSS |
erall_stats']
print(f"Total queries analyzed: {overall_stats['total_queries']}")
print(f"Threshold used:")
print(f" - Baseline: {BASELINE_THRESHOLD:.4f}")
print(f" - Iterative/Beam Search: {overall_stats['threshold']:.4f}")
print(f"\nOverall Performance:")
print(f"{'Method':<15} {'Pr... | Python |
rray[idx]));
}
TYPED_TEST(cuNDArray_operators_TestCplx,equalsAddTest3){
TypeParam v1 = TypeParam(98.4, 45.34);
TypeParam v2 = TypeParam(2.2,0.0);
unsigned int idx = 1295;
fill(&this->Array,v1);
this->Array += real(v2);
EXPECT_FLOAT_EQ(real(v1+v2),real(this->Array[idx]));
EXPECT_FLOAT_EQ(imag(v1+v2),imag(... | C++ |
};
use crate::events::event::Event;
use crate::ipc::context::Context;
use crate::payload::IntoPayload;
use crate::protocol::AsyncProtocolStream;
macro_rules! poll_unwrap {
($val:expr) => {
if let Some(v) = $val {
v
} else {
tracing::error!("Polling a future with an invalid s... | Rust |
def tempAcimMedia(list, med, relacao):
for i in range(len(list)):
if list[i] > med:
print(f"{relacao[i][0]}: {round(list[i],2)}K")
def mediaTempK(list):
soma = 0
newMed = []
for i in range(len(list)):
if list[i][2] == "K":
soma += round(list[i][1],2)
... | Python |
sult = {
"isSuccess": False,
"message": 'sAMAccountName:修改失败'}
elif ["top", "person", "organizationalPerson", "contact"] == objectClass:
changes = {}
if sn:
changes.update({'sn': [(MO... | Python |
n_name] = match
# Printing out the desired information:
# print(f"Role: {role_name}")
# print(f"Criterion: {criterion_name}")
# print(f"Score: {score}")
# print("------" * 10)
# Append the result to the DataFrame
results_df = results_df.append(scor... | Python |
if (this.textDisplayProperties.heightInLines !== undefined && richEditableText){
richEditableText.heightInLines = this.textDisplayProperties.heightInLines;
newTextDisplayProperties.heightInLines = true;
}
this.textDisplayProperties = newTextDisplayProperties;
}
/**
* textDispla... | Typescript |
}
val dataSets = ArrayList<ILineDataSet>()
val fpsDatas = LineDataSet(fpsEntryes, "fps").apply {
color = Color.parseColor("#00e676")
setDrawCircles(false)
}
dataSets.add(fpsDatas)
mRabbitFpsDetailC... | Kotlin |
a2 2 0 00-2-2zm11 12H6v-6h8zm2-8a1 1 0 111-1 1 1 0 01-1 1"/>', 'false', 'false', 'false', 'false';
@cdx-icon-push-pin: '<path d="M13 8V2a2 2 0 002-2H5a2 2 0 002 2v6H6a2 2 0 00-2 2v1h5v5l1 4 1-4v-5h5v-1a2 2 0 00-2-2z"/>', 'false', 'false', 'false', 'false';
@cdx-icon-puzzle: '<circle cx="17" cy="10" r="3"/><path d="M10.... | CSS |
final webdevResult = await Process.run('dart', ['pub', 'global', 'run', 'webdev', '--version']);
if (webdevResult.exitCode != 0) {
String stderr = webdevResult.stderr.toString();
String specificAdvice = '';
if (stderr.contains('Could not find package "webdev"') ||
stderr.contai... | Dart |
NCODING: [0x1f,0x00,0x20,0x05]
// CHECK-ERROR: instruction requires: sve or sme
// CHECK-UNKNOWN: 0520001f <unknown>
ext z31.b, z31.b, z0.b, #255
// CHECK-INST: ext z31.b, z31.b, z0.b, #255
// CHECK-ENCODING: [0x1f,0x1c,0x3f,0x05]
// CHECK-ERROR: instruction requires: sve or sme
// CHECK-UNKNOWN: 053f1c1f <unknown>
... | Assembly |
esip/baresip/pull/1766
## New Contributors
* @srperens made their first contribution in https://github.com/baresip/baresip/pull/1399
* @negbie made their first contribution in https://github.com/baresip/baresip/pull/1451
* @andreaswatch made their first contribution in https://github.com/baresip/baresip/pull/1512
* @v... | Markdown |
t,0) var(--sar,0) var(--sab,0) var(--sal,0)}.excalidraw .panelRow{display:flex;justify-content:space-between}.excalidraw .panelColumn{display:flex;flex-direction:column;row-gap:.75rem}.excalidraw .panelColumn .control-label,.excalidraw .panelColumn h3,.excalidraw .panelColumn legend{color:var(--text-primary-color);disp... | CSS |
Data")}} オブジェクトよりも新しくプラットフォームに追加されたのが [`formdata` イベント](/ja/docs/Web/API/HTMLFormElement/formdata_event)です。これは、フォームのデータを表すエントリーのリストが作成された後に {{domxref("HTMLFormElement")}} オブジェクトで発行されます。このイベントは、フォームが送信されたときに発行されますが、 {{domxref("FormData.FormData", "FormData()")}} コンストラクターが呼び出されたときにも発行されます。
これにより、 {{domxref("FormData")}}... | Markdown |
// Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx)
// Byte encodings are:
// * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte
// encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail ... | JavaScript |
sServiceMetaCopyWithImpl;
@override @useResult
$Res call({
String type, ServiceInit init,@JsonKey(name: '\$isAuth') bool isAuth, String? writeWith
});
@override $ServiceInitCopyWith<$Res> get init;
}
/// @nodoc
class __$JsServiceMetaCopyWithImpl<$Res>
implements _$JsServiceMetaCopyWith<$Res> {
__$JsServiceMet... | Dart |
}
};
changeValueBackIfNotCorrect(): boolean {
if (!this.isMatchingPattern(this.value)) {
this.value = this.lastCorrectValue;
return false;
}
return true;
}
// ControlValueAccessor members
writeValue(value: number): void {
let normalizedValue ... | Typescript |
W6AdQib8Q1onbR0U2h9icP1eRO6wH0AcyJmqZ7USD0uOYncCYIH7ZEE8IicAOPxyb9IA/640?wx_fmt=gif "")
那些在 hsqldb(HyperSQL 数据库)中使用 java.sql.Statement 或 java.sql.PreparedStatement 来处理不受信任的输入的人可能容易受到远程代码执行攻击。默认情况下,允许调用类路径中任何 Java 类的任何静态方法,从而导致代码执行。可以通过更新到 2.7.1 或将系统属性“hsqldb.method_class_names”设置为允许调用的类来防止此问题。例如,可以使用 System.setPro... | Markdown |
import torch
from vllm.engine.arg_utils import EngineArgs
from vllm.utils import get_distributed_init_method, get_ip, get_open_port
from vllm.worker.cache_engine import CacheEngine
from vllm.worker.worker import Worker
def test_gpu_memory_profiling():
# Tests the gpu profiling that happens in order to determine ... | Python |
myGroupLayout->addLayout( myDistLayout, row, 0, 1, 2 );
myGroupLayout->setRowStretch( row, 1 );
row ++;
// a) expression
QHBoxLayout* myExprLayout = new QHBoxLayout(GroupC1);
myExprLayout->addWidget( myLExpr = new QLabel( "f(t)=", GroupC1 ), 0);
myExpr = new QLineEdit( GroupC1 );
myExprLayout->ad... | C++ |
);
if (!player) return null;
return player.link;
}
}
);
import { flags } from '@oclif/command';
import { OutputFlags } from '@oclif/parser';
import * as Diff from 'diff';
import fs from 'fs';
import path from 'path';
import CodegenCommand, { defaultBaseline } from '../CodegenCommand';
import { default... | Typescript |
required 32bit
// binary exponent, so these constants cannot be represented anymore
// internally. However, the language spec does not preclude other
// implementations from handling these. Don't check the error.
// var _ = 1e2147483647 // "constant too large"
// var _ = 1e646456993 // "constant too large"
// ... | Go |
fa23631e28,0xa4506cebde82bde9
.quad 0xbef9a3f7b2c67915,0xc67178f2e372532b
.quad 0xca273eceea26619c,0xd186b8c721c0c207
.quad 0xeada7dd6cde0eb1e,0xf57d4f7fee6ed178
.quad 0x06f067aa72176fba,0x0a637dc5a2c898a6
.quad 0x113f9804bef90dae,0x1b710b35131c471b
.quad 0x28db77f523047d84,0x32caab7b40c72493
.quad 0x3c9ebe0a15c... | Assembly |
}
for i in nwords - j as usize..nwords {
x[nwords - 1 - i] = 0;
}
if shift != 0 {
let mut j = nwords - 1;
while j > 0 {
shiftl(x[j], x[j - 1], shift, &mut x[j]);
j -= 1;
}
x[0] <<= shift;
}
}
pub fn mp_shiftr1(x: &mut [u64], nword... | Rust |
ens
/// which are separated by \0
external ffi.Pointer<ffi.Char> tokens;
/// a pointer array containing the address of the first item in tokens
external ffi.Pointer<ffi.Pointer<ffi.Char>> tokens_arr;
/// Pointer to continuous memory which holds timestamps
external ffi.Pointer<ffi.Float> timestamps;
///... | Dart |
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.model_selection import train_test_split, GridSearchCV
from sklearn.linear_model import Ridge
from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score
# Load dataset
df = pd.read_csv('cla/datasets/train.csv')
# Ext... | Python |
zone\030\002 \001(\tB\002\030\001\022\026\n\n"
+ "cluster_id\030\003 \001(\tB\002\030\001\022\016\n"
+ "\006parent\030\005 \001(\t\"~\n"
+ "\022GetNodePoolRequest\022\026\n\n"
+ "project_id\030\001 \001(\tB\002\030\001\022\020\n"
+ "\004zone\030\002 \001(\tB\002\030\001... | Java |
c0 26.5 21.5 48 48 48h66.7c17 0 33.3-6.7 45.3-18.7l99.9-99.9c18-18 28.1-42.4 28.1-67.9V224 160 104c0-22.1-17.9-40-40-40s-40 17.9-40 40z"],"hands-clapping":[512,512,[],"e1a8","M336 16V80c0 8.8-7.2 16-16 16s-16-7.2-16-16V16c0-8.8 7.2-16 16-16s16 7.2 16 16zm-98.7 7.1l32 48c4.9 7.4 2.9 17.3-4.4 22.2s-17.3 2.9-22.2-4.4l-32-... | JavaScript |
nline-block;
}
iframe {
border: 0;
}
summary {
display: list-item;
cursor: pointer;
}
progress {
vertical-align: baseline;
}
[hidden] {
display: none !important;
}
/*# sourceMappingURL=bootstrap-reboot.rtl.css.map */
/*!
* Bootstrap Utilities v5.1.3 (https://getbootstrap.com/)
* Copyright 2011-2021 The ... | CSS |
bbiek nem feltétlenül osztoznak ebben. A gyűrűs aláírások a leggyengébb láncszeme az adatvédelmi rendszernek; a gyenge itt azt jelenti, hogy ez a legérzékenyebb a heurisztikus támadásokra. Szánjunk egy kis időt ezek felfedezésére, rendben?</p>\n\n<p>Amint fentebb említettük, a gyűrűs aláírások célja, hogy elrejtsék a t... | Dart |
(ctx: ExecutionContext): this {
return this;
}
public ToString(ctx: ExecutionContext): this {
return this;
}
}
export class $SyntaxError extends $Error<SyntaxError, 'SyntaxError'> {
public constructor(
realm: Realm,
message: string | undefined = void 0,
) {
super(realm, new SyntaxError(... | Typescript |
his.size[0], this.size[1])];
this.player_input[4] = this.player_input[3];
}
else {
this.player_input = {1 : [new Button("Space", (canvas.width / 5) - (this.size[0] / 2), (canvas.height / 3 * 2) - (this.size[1] / 2), this.size[0], this.size[1]),
new Button("UP", (canvas.width / 5) - (this.size[0... | JavaScript |
(50% + #{nsw.rem(16px)});
}
}
.nsw-card__image {
flex: 1 1 50%;
position: relative;
height: auto;
+ .nsw-card__content {
border-top-right-radius: var(--nsw-border-radius);
border-bottom-left-radius: 0;
border-top-width: 1px;
b... | CSS |
0x18,0x4d,0xd1]
cmovge r10d, edx, ecx
# CHECK: cmovge r11, r15, r9
# CHECK: encoding: [0x62,0x54,0xa4,0x18,0x4d,0xf9]
cmovge r11, r15, r9
# CHECK: cmovge ax, dx, word ptr [r8 + 4*rax + 123]
# CHECK: encoding: [0x62,0xd4,0x7d,0x18,0x4d,0x54,0x80,0x7b]
cmovge ax, dx, word ptr [r8 + 4*rax + 123]... | Assembly |
: 350px;
}
.isolate-counter-chart > div.host {
position: absolute;
left: 0;
bottom: 20px;
top: 5px;
right: 250px;
}
.isolate-counter-chart > div.legend {
position: absolute;
width: 250px;
top: 0;
right: 0;
bottom: 0;
overflow-y: auto;
}
/* isolate-location */
.isolate-location > span {
font-we... | CSS |
Write(bytes); err != nil {
t.Fatalf("ERROR: Could not write bytes to pcap file: %v\n", err)
}
f.Close()
validatePackets(t, f.Name())
}
// To detect if the routerAdvertisement packet is found in the captured packets.
func validatePackets(t *testing.T, fileName string) {
t.Logf("Reading pcap file from : %v", fileN... | Go |
"^random_map_") or string_match(s, "^wogify_")
end
-- execute map scripts if it's a WoG map
if ver == 0x33 then
local nstored = #StoredScripts
-- load scripts from global events
local evt = u4[u4[0x699538] + 0x1FBF4]
assert((u4[u4[0x699538] + 0x1FBF8] - evt)/0x34 == #EventNames)
for i = 1, #EventNames do
... | Lua |
], dict):
if "float" in response_body["embeddings"]:
embedding = response_body["embeddings"]["float"][0]
# Fallback to the first available embedding type
else:
for embedding_type in response_b... | Python |
if range.end <= range.start {
return None;
}
range
}};
}
let x = macro_axis!(XAXIS);
let y = macro_axis!(YAXIS);
Some(Rect { x, y })
}
}
<reponame>mg-rust/rustjobs.cc<filename>src/schema.rs<gh_stars>0
table! {
jobs ... | Rust |
.problem_qualifier.v1 and name/value='Status']/items[at0004]/value|defining_code")
private DiagnosestatusDefiningCode diagnosestatusDefiningCode;
/**
* Path: Bericht/Allgemeine Angaben/Problem/Diganose Coronovirus/Kommentar
* Description: Ergänzende Beschreibung des Problems oder der Diagnose, die ni... | Java |
er_claiming_available_rewards()
account.assert_is_rc_mana_decreased_after_claiming_available_rewards()
@pytest.mark.parametrize("reward_vests", [tt.Asset.Vest(10), "all"])
def test_claim_all_calculated_vests_reward(node, wallet, reward_vests):
"""
Test case 3, 6 from issue: https://gitlab.syncad.com/hive/... | Python |
,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*/
package sun.security.jgss;
import org.ietf.jgss.*;
/**
* This class ... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.