content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
です。
*
* <Cursor Height Space>
* :縦のカーソル間隔を設定します。
* :デフォルトは 0 です。(単位はpixel)
*
* <Font Size>
* :ウィンドウ内のフォントサイズを変更します。
* :デフォルトは 28 です。(単位はpixel)
*
* <Window Padding>
* :ウィンドウの周囲の余白を変更します。
* :デフォルトは 18 です。(単位はpixel)
*
* <Window Line Height>
* :ウィンドウ内の1行の高さを変更します。
* :デフォルトは 36 で... | JavaScript |
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.Rendering;
public static class Extensions {
public static void Resize(ref ComputeBuffer buffer, int newCapacity) {
if (newCapacity <= buffer.count) return;
newCapacity = Mathf.M... | C# |
ers::Follow<'a> for ProtocolInfo<'a> {
type Inner = ProtocolInfo<'a>;
#[inline]
fn follow(buf: &'a [u8], loc: usize) -> Self::Inner {
Self {
_tab: flatbuffers::Table { buf: buf, loc: loc },
}
}
}
impl<'a> ProtocolInfo<'a> {
#[inline]
pub fn init_from_table(table: fla... | Rust |
[x23]\n"
"whilelt p1.b, XZR, x20\n"
"cbz x24, 35f\n"
".inst 0xa040c300 // ld1w { z0.s-z3.s }, pn8.b/Z, [x24]\n"
".inst 0xa041c30c // ld1w { z12.s-z15.s }, pn8.b/Z, [x24, #0x4, MUL VL]\n"
".inst 0xa042c310 // ld1w { z16.s-z19.s }, pn8.b/Z, [x24, #0x8, MUL VL]\n"
".inst 0xa043c314 ... | C++ |
t - releasedChild.height else height - mShownHeight.toInt()
mDragHelper.settleCapturedViewAt(0, top)
invalidate()
}
override fun onViewDragStateChanged(state: Int) {
super.onViewDragStateChanged(state)
// 当静止后,判断是否为打开状态
... | Kotlin |
><td><a href="xorg-server-1.14.99.2.tar.bz2">xorg-server-1.14.99.2.tar.bz2</a></td><td align="right">2013-10-05 00:01 </td><td align="right">5.3M</td><td> </td></tr>
<tr><td valign="top"><img src="/icons/compressed.gif" alt="[ ]"></td><td><a href="xorg-server-1.14.99.2.tar.gz">xorg-server-1.14.99.2.tar.gz</a></... | HTML |
about select all for now.
final isSelected = controller.selection.isValid &&
controller.selection.end > controller.selection.start;
// Set text will make the selection invalid.
controller.text = text;
if (isSelected) {
controller.selection = TextSelection(
baseOffset: 0, extentOffset: contro... | Dart |
pWinSize.width/2-labelWidth/2,
startY))
--ʾ
mLayer:setAnchorPoint(PT(0,0))
mLayer:setPosition(PT(0,0))
local secondAction = CCSequence:createWithTwoActions(CCFadeOut:create(delayTime ),
CCCallFuncN:create(ZyToast.hide))
local action = CCSequence:createWithTwoActions(CCDelayTime:create(apperTime),second... | Lua |
#!/usr/bin/env python3
import logging
import urllib.request
from pathlib import Path
from tempfile import TemporaryDirectory
try:
from helperFunctions.install import check_distribution, run_cmd_with_logging
from plugins.installer import AbstractPluginInstaller
except ImportError:
import sys
SRC_PATH ... | Python |
/**
* ,---------, ____ _ __
* | ,-^-, | / __ )(_) /_______________ _____ ___
* | ( O ) | / __ / / __/ ___/ ___/ __ `/_ / / _ \
* | / ,--´ | / /_/ / / /_/ /__/ / / /_/ / / /_/ __/
* +------` /_____/_/\__/\___/_/ \__,_/ /___/\___/
*
* Crazyflie control firmware
*
* Copyright (... | C |
, COOP, 86.7<br>OCEANSIDE MUNICIPAL AP, WBAN, 72.0<br>SAN DIEGO SEAWORLD, COOP, 69.1<br>ARCATA EUREKA AP, WBAN, 58.4<br>NEWPORT BEACH HARBOR, WBAN, 70.9<br>ESCONDIDO NO. 2, COOP, 78.0<br>REDDING MUNICIPAL AP, WBAN, 85.9<br>AVALON CATALINA AP, WBAN, 71.3<br>SANTA MARIA PUBLIC AP, WBAN, 66.0<br>MOUNT SHASTA, WBAN, 72.5<b... | HTML |
your friend does the next one?"],
nailed_copy: ["Yep"],
},
{
level: 4,
failed_copy: ["I'm with you, let's resent.", "YOLO?"],
nailed_copy: ["Hahaha. Love it"],
},
{
level: 5,
failed_copy: [],
nailed_copy: [],
},
{
level: 6,
failed_copy: [],
nailed_cop... | Typescript |
000 1.592l4.453 4.453c-.512.94-.929 1.938-1.243 2.979h-6.289A1.125 1.125 0 0055 19.125v6.75A1.125 1.125 0 0056.125 27h6.29c.313 1.041.73 2.039 1.242 2.979l-4.453 4.453a1.125 1.125 0 000 1.592l4.772 4.772a1.125 1.125 0 001.592 0l4.453-4.453c.94.512 1.938.929 2.979 1.243v6.289A1.125 1.125 0 0074.125 45h6.75A1.125 1.125 ... | Dart |
="">
Delete this issue
</button>
</form> </div>
</details-dialog>
</details>
</div>
</div>
</div>
</div> </div>
</div>
</div>
</turbo-frame>
</main>
</div>
</div>
<footer class="footer pt-8 pb-6 f6 color-fg-muted p-responsive" role="... | HTML |
foreach (var method in builder.Target.Methods)
{
builder.With( method ).Override( nameof(OverrideTemplate) );
}
}
[Introduce]
public void IntroducedMethod2()
{
Console.Write( "This is introduced by the second aspect." );
... | C# |
="_blank" rel="noopener" onclick="return confirm('Open this link?\n\n'+this.href);">آموزش اتصال</a><b> <br/><br/></b><b><tg-emoji emoji-id="5438421009059292469"><i class="emoji" style="background-image:url('//telegram.org/img/emoji/40/F09FA48D.png')"><b>🤍</b></i></tg-emoji></b><b><tg-emoji emoji-id="540445991237583892... | HTML |
doc = "0: Message Buffer Time Stamp base is CAN_TIMER"]
MBTSBASE_0 = 0,
#[doc = "1: Message Buffer Time Stamp base is lower 16-bits of high resolution timer"]
MBTSBASE_1 = 1,
#[doc = "2: Message Buffer Time Stamp base is upper 16-bits of high resolution timerT"]
MBTSBASE_2 = 2,
}
impl From<MBTSBASE_... | Rust |
_1_1quantum_1_1ITask.html">ITask</a>::<a class="code" href="../../df/daf/structBloomberg_1_1quantum_1_1ITask.html#ae01baba509e1529f4f89e01d9c19fa14">Type</a> _type;</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <a class="code" href="../../d8/dcc/namespacestd.html... | HTML |
}
sensor_msgs::PointCloud2 final_ros;
pcl::toROSMsg(*final_cloud, final_ros);
final_ros.header = camera_cloud->header;
velo2cam_calibration::ClusterCentroids to_send;
to_send.header = camera_cloud->header;
to_send.total_iterations = images_proc_;
to_send.cluster_iterations = images_us... | C++ |
ix:nonFraction> shares of the registrant’s common stock outstanding.</span></div><div style="margin-bottom:8pt;margin-top:8pt;text-align:center"><span style="color:#000000;font-family:'Times New Roman',sans-serif;font-size:10pt;font-weight:700;line-height:120%">Documents Incorporated by Reference:</span></div><div styl... | HTML |
ld">children</dfn>, which is an
<a data-link-type="dfn" href="https://infra.spec.whatwg.org/#ordered-set" id="ref-for-ordered-set">ordered set</a> of objects. An object <var>A</var> whose <a data-link-type="dfn" href="#concept-tree-parent" id="ref-for-concept-tree-parent">parent</a> is object
<var>B</var> is a <a data-... | HTML |
<TD>ramb18e1=2</TD>
<TD>ramb36e1=103</TD>
<TD>vcc=91</TD>
</TR> </TABLE>
</TD></TR>
<TR><TD>
<TABLE BORDER='1' CELLSPACING='0' WIDTH='100%'>
<TR ALIGN='CENTER' BGCOLOR='#DBE5F1'><TD COLSPAN='4'><B>pre_unisim_transformation</B></TD></TR>
<TR ALIGN='LEFT'> <TD>bufg=4</TD>
<TD>carry4=282<... | HTML |
Button> {
Color _color = Colors.transparent;
@override
Widget build(BuildContext context) {
/// 计算大按钮高度:高度为小按钮去除上下间距(大按钮与小按钮上下对齐)
double gap = ((MediaQuery.of(context).size.width / 5 * 2 - 96) / 2);
double size = MediaQuery.of(context).size.width / 5 * 2 - gap;
/// 默认 1 * 1 长宽为 48
var bu... | Dart |
, "PATCH");
override fun toString(): kotlin.String = code
public fun getCode(): kotlin.String = code
public fun getSystem(): kotlin.String = system
public fun getDisplay(): kotlin.String? = display
public companion object {
public fun fromCode(code: kotlin.String): HTTPVerb =
when... | Kotlin |
ss_Properties.AnimationDirection.Value.t</a> <span>-></span> ?⁠animation_duration:<a href="../Css_Properties/AnimationDuration/Value#type-t">Css_Properties.AnimationDuration.Value.t</a> <span>-></span> ?⁠animation_fill_mode:<a href="../Css_Properties/AnimationFillMode/Value#type-t">Css_Propert... | HTML |
steps}, expected = ${expectedSteps}`);
if (!pass)
allPassed = false;
}
test1(8, `
#########
#b.A.@.a#
#########`);
test1(86, `
########################
#f.D.E.e.C.b.A.@.a.B.c.#
######################.#
#d.....................#
########################`);
test1(132, `
######################... | Typescript |
_3_3",label="Gray Digital Snake Skull",Price=1082},['2']={NameHash="DLC_MP_GR_M_BERD_3_2",label="Green Digital Snake Skull",Price=1830},['5']={NameHash="DLC_MP_GR_M_BERD_3_5",label="Fall Snake Skull",Price=1465},['4']={NameHash="DLC_MP_GR_M_BERD_3_4",label="Peach Digital Snake Skull",Price=118},['7']={NameHash="DLC_MP_... | Lua |
STR_ES("No hay aplicaciones"),
STR_DE("Keine Anwendungen gefunden"),
STR_FR("Aucune application trouvée"),
STR_IT("Nessun'applicazione trovata"),
STR_JP("アプリが見つかりませんでした"),
STR_PT("Não foram encontradas aplicações"),
STR_NL("Geen toepassingen gevonden"),
ST... | C |
font = Font.decode(name).deriveFont(updatedSize)
}
/**
* Initialize styles for the underlying [StyledDocument].
*/
internal fun initializeStyles()
{
val attributes = SimpleAttributeSet()
StyleConstants.setTabSet(attributes, tabSet)
StyleConstants.setFontFamily(attributes, "Monospaced")
styledDocumen... | Kotlin |
// Copyright © 2017 Giovanni Squillero <giovanni.squillero@polito.it>
// https://github.com/squillero/computer-sciences
// Free under certain conditions — see the license for details.
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX_STR_LEN 256
int main()
{
char str1[MAX_STR_LEN];
char ... | C |
-meter-optimum-value{background:linear-gradient(white 3%, #e32929 5%, transparent 10%, #e32929)}meter[value="2"]::-webkit-meter-optimum-value{background:linear-gradient(white 3%, #f60 5%, transparent 10%, #f60)}meter[value="3"]::-webkit-meter-optimum-value{background:linear-gradient(white 3%, #ffd700 5%, transparent 10... | CSS |
# msdl/config.py
from pathlib import Path
class FileSystemManager:
@staticmethod
def ensure_dir(dir_path):
"""Ensure the directory exists, create if it doesn't"""
path = Path(dir_path)
if not path.exists():
path.mkdir(parents=True, exist_ok=True)
return path
... | Python |
27->28.</li>
<li>泰坦巨人等級修改:16->26,最低層數修改:20->29.</li>
<li>雙頭巨人等級修改:10->22,最低層數修改:13->25.</li>
<li>風暴巨人等級修改:16->21,最低層數修改:19->24.</li>
<li>冰霜巨人等級修改:10->17,最低層數修改:13->20.</li>
<li>火巨人等級修改:9->15,最低層數修改:11->17.</li>
<li>丘陵巨人等級修改:8->12,最低層數修改:10->14.</li>
<li>岩石巨人等級修改:6->10,最低層數修改:8-... | HTML |
x00,0xca,0xd4,0x01,0x05,0x02,0x00]
// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction
v_cmp_eq_f16_e64 s10, v255, v2
// W32: encoding: [0x0a,0x00,0xca,0xd4,0xff,0x05,0x02,0x00]
// W64-ERR: :[[@LINE-2]]:{{[0-9]+}}: error: invalid operand for instruction
v_cmp_eq_f16_e64 s10, s1, v2
// W32: enc... | Assembly |
ameraController_cpp?237FileSelectCameraControllerNrvFarPoint
.global sInstance__Q240?2unnamed?2FileSelectCameraController_cpp?244FileSelectCameraControllerNrvMoveToNearPoint
.global sInstance__Q240?2unnamed?2FileSelectCameraController_cpp?238FileSelectCameraControllerNrvNearPoint
.global ?257910__59153
.global ?257911
... | Assembly |
:= &chainMock.ChainService{
FinalizedRoots: map[[32]byte]bool{},
}
s := &Server{
OptimisticModeFetcher: mockChainService,
FinalizationFetcher: mockChainService,
Blocker: mockBlockFetcher,
}
request := httptest.NewRequest(http.MethodGet, "http://foo.example/eth/v2/beacon/blocks/{blo... | Go |
updateBonuses()
}
return
}
throw IllegalStateException("Op not allowed: $op (obj=$obj, invSlot=$invSlot, inv=$inv)")
}
private fun ProtectedAccess.dragHeldButton(drag: IfModalDrag) {
val fromSlot = drag.selectedSlot ?: return
val intoSlot =... | Kotlin |
troyCam(camera, false)
else
SetCamActive(newCam, true)
end
camera = newCam
RenderScriptCams(true, true, 1350, 1, 0)
SetCamUseShallowDofMode(newCam, true)
SetCamNearDof(newCam, 1.2)
SetCamFarDof(newCam, 22.0)
SetCamDofStrength(newCam, 1.0)
SetCamDofMaxNearInFocusDistance(new... | Lua |
x="0 0 24 24">
<path fill="red"
d="M12 4.435c-1.989-5.399-12-4.597-12 3.568 0 4.068 3.06 9.481 12 14.997 8.94-5.516 12-10.929 12-14.997 0-8.118-10-8.999-12-3.568z" />
</svg>
</span>
</span>
</a>
<a href="https://setting.2gether.video/" target="_blank" id="video... | HTML |
/*****************************************************************************
Copyright (c) 2014, Intel Corp.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source cod... | C |
8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g><g id="icon-4096"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="... | HTML |
true owner
// in case of javascript: or data: documents
//
nsCOMPtr<nsIDocShellTreeItem> dsitem;
GetPrimaryContentShell(getter_AddRefs(dsitem));
nsCOMPtr<nsIScriptObjectPrincipal> doc =
do_QueryInterface(dsitem ? dsitem->GetDocument() : nullptr);
if (doc) {
nsCOMPtr<... | C++ |
,~CFG_BE
#endif
mtc0 t1,C0_CONFIG
/*
* initialize tlb
*/
mtc0 zero,C0_TLBLO0 /* tlblo0 = invalid */
mtc0 zero,C0_TLBLO1 /* tlblo1 = invalid */
mtc0 zero,C0_PGMASK
li t8,K1BASE /* tlbhi = impossible vpn */
li t9,(NTLBENTRIES-1) /* index */
.set noreorder
nop
1: mtc0 t8,C0_TLBHI
mtc0... | Assembly |
"""Shared test fixtures for pygsti.objects unit tests"""
import pygsti
from pygsti.modelpacks import smq1Q_XYI as smq
from pygsti.baseobjs import Label
from pygsti.circuits import Circuit, CircuitList
from ..util import Namespace
ns = Namespace()
ns.model = smq.target_model('full TP')
ns.max_max_length = 2
ns.aliases ... | Python |
</span> ' + json[key] +'</li>';
}
}
return html+'</ul>';
}
function parseTableData(myIndex, myValue) {
var r = ""
var myTimestampFields = ["Event at", "Matched at", "Reported at", "Earliest detection time", "creation-time", "modification-time", "access-time", "fileWriteEvent/timestamp", "imageL... | HTML |
# encoding: [0x38,0x0c,0x01,0x00]
# CHECK: ori $1, $1, 65535 # encoding: [0xff,0xff,0x21,0x34]
# CHECK: daddu $1, $1, $9 # encoding: [0x2d,0x08,0x29,0x00]
# CHECK: lwl $8, 3($1) # encoding: [0x03,0x00,0x28,0x88]
# CHECK: lwr $8, 0($1) # encoding: [0x00,0x00,0x28,0x98]
# Test lb/sb/ld/sd/lld with o... | Assembly |
olTable.globalScope
),
instrumentationTAC = base.instrumentationTAC.copy(ufAxioms = newUfAxioms),
check = check,
)
}
companion object {
fun <T> Stream<T>.patchForEach(c: CoreTACProgram, check: Boolean = false, f: SimplePatchingProgram.(T) -> Unit) : CoreTACPro... | Kotlin |
.015 6H9v2h7v-1.019c.57-.043 1.12-.16 1.64-.341L18 13v7H4zm4 2H6v2h2zm-2 4h2v2H6zm2 4H6v2h2zm1 0h7v2H9z" clip-rule="evenodd"/>\n </g>\n</svg>\n';const tt='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">\n <path fill="#616161" d="M19 2h-4.18C14.4.84 13.3 0 12 0S9.6.84 9.18 2H5c-1.1 ... | JavaScript |
ers](../../index/s/seasoned-crackers.json)
* [Alabama Fire Crackers](../../index/a/alabama-fire-crackers.json)
* [Almond You Must Be Nuts Crackers](../../index/a/almond-you-must-be-nuts-crackers.json)
* [Bacon Crackers](../../index/b/bacon-crackers.json)
* [Caramel Graham Crackers](../../index/c/caramel-graham-crac... | Markdown |
class="code" href="classcutlass_1_1gemm_1_1device_1_1GemmComplex.html#a259790df3e9a20c71257d09b8fc5fed4">OperatorClass</a>,</div><div class="line"><a name="l00556"></a><span class="lineno"> 556</span>  <a class="code" href="classcutlass_1_1gemm_1_1device_1_1GemmComplex.html#a630a9bb98fd95ab9d5a2520e10573974">A... | HTML |
"
"github.com/SmartMeshFoundation/Spectrum/p2p/discover"
"github.com/SmartMeshFoundation/Spectrum/p2p/netutil"
"github.com/SmartMeshFoundation/Spectrum/swarm/network/kademlia"
"github.com/SmartMeshFoundation/Spectrum/swarm/storage"
)
// Hive is the logistic manager of the swarm
// it uses a generic kademlia nodeta... | Go |
std::set<std::string> boundaries{"core", "sol"};
EXPECT_EQ(mesh_core_1x1.getPossibleBoundaries(), boundaries);
EXPECT_EQ(mesh_core_32x64.getPossibleBoundaries(), boundaries);
}
TEST(BoutMeshTest, GetPossibleBoundariesCorePeriodicX) {
WithQuietOutput info{output_info};
WithQuietOutput warn{output_warn};
B... | C++ |
##
## Copyright (c) 2021 unSkript, Inc
## All rights reserved.
##
from pydantic import BaseModel, Field
from typing import List
from unskript.connectors.aws import aws_get_paginator
import pprint
class InputSchema(BaseModel):
lifetime_tag: str = Field(
title='Lifetime tag',
description='Tag whic... | Python |
ести логин и пароль для подключения ко всем сервисам Интернет-поддержки. Введенные логин и пароль будут сохранены в программе.
</li>
<li><strong>Отключить</strong> - удалить из программы логин и пароль для подключения к сервисам Интернет-поддержки.
</li>
<li><strong>Сообщение в службу технической поддержки</strong> -... | HTML |
;
color: var(--accent-shade-3);
font-size: 22px;
text-decoration: none;
width: fit-content;
margin-left: -2px;
margin-top: 12px;
}
footer div.discord-server-card a:hover {
text-decoration: underline;
}
footer div.discord-server-card svg {
height: 24px;
stroke-width: 3px;
margin-right: 4px;
}
footer div.discor... | CSS |
{
"surah_number": 7,
"verse_number": 79,
"content":
"അനന്തരം സ്വാലിഹ് അവരില് നിന്ന് പിന്തിരിഞ്ഞു പോയി. അദ്ദേഹം പറഞ്ഞു: എന്റെ ജനങ്ങളേ, തീര്ച്ചയായും ഞാന് നിങ്ങള്ക്കു എന്റെ രക്ഷിതാവിന്റെ സന്ദേശം എത്തിച്ചുതരികയും, ആത്മാര്ത്ഥമായി ഞാന് നിങ്ങളോട് ഉപദേശിക്കുകയുമുണ്ടായി. പക്ഷെ, സദുപദേശികളെ നിങ്ങള്... | Dart |
[www.niemueller.de]
*
****************************************************************************/
/* 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
... | C++ |
.name()+".selected_icon") :
iconName;
String tipText = strings.containsKey("tool."+tool.name()+".tip") ?
strings.getString("tool."+tool.name()+".tip") :
tool.name();
JToggleButton btn = new JToggleButton();
btn.setIcon(new ImageIcon(MainWindow.class.getResource(iconName)));
btn.setSelectedIcon(new Ima... | Java |
e, "score") == NULL)
save_files.push_back(file.name);
tinydir_next(&dir);
}
tinydir_close(&dir);
return save_files;
}
//C++ file i/o version of the above.
bool LCSOpenFileCPP(std::string filename, std::ios_base::openmode mode, int flags, std::fstream &file)
{
if(!initialized) //Check if the... | C++ |
MarvelousCrossbow = 36635,
/// <summary>
/// RangedRight
/// Level: 166
/// Class: Weapon
/// </summary>
ArbalestCrossbow = 36636,
/// <summary>
/// RangedRight
/// Level: 170
/// Class: Weapon
/// </summary>
HorrificCrossbow = 36637,
/// <summary>
/// RangedRight
/// Level: 174
/// Clas... | C# |
</table>
<br>
<table>
<tr>
<th>(EI/12)*Deflection (in):[convert EI from inch to ft first]</th>
</tr>
<tr>
<td>0.0000 < x <= 10.0000:</td>
</tr>
<tr>
<td>-33.3333*x+0.7500*x<sup>3</sup>-0.0417*x<sup>4</sup></td>
</tr>
<tr>
<td>10.0000 < x <= 20.0000:</td>
</tr>
<tr>
<td>-500.0000+75.0000*x-2.5000*x<sup>2</sup>-0.0000*x... | HTML |
ltering the contents of a canvas in WebGL mode.
* A filter shader will not be applied to any geometries.
*
* The fragment shader receives some uniforms:
* - `sampler2D tex0`, which contains the canvas contents as a texture
* - `vec2 canvasSize`, which is the width and height of the canvas
* - `vec2 texelSize`, wh... | JavaScript |
import copy
import logging
from collections import namedtuple
from typing import Dict
import math
import numpy as np
from metadrive.component.lane.abs_lane import AbstractLane
from metadrive.component.map.base_map import BaseMap
from metadrive.component.road_network import Road
from metadrive.component.vehicle.base_v... | Python |
k if the floor division of 7 by 3 is equal to the int converted value of 2.7.
"""
cociente_floor = 7//3
cociente =2.7
print('cociente floor ',cociente_floor,' cociente ',cociente,'.son el mismo numero? ', cociente is cociente_floor)
"""
#Check if type of '10' is equal to type of 10
"""
int_10 = 10
str_10 = '10'
print... | Python |
r chart = c3.generate({
data: {
columns: [
['data1', 30, 20, 50, 40, 60, 50],
['data2', 200, 130, 90, 240, 130, 220],
['data3', 300, 200, 160, 400, 250, 250],
['data4', 200, 130, 90, 240, 130, 220],
['data5', 130, 120, 150, 140, 160, 150],
... | HTML |
QWidget.parentWidget</a>() functions
for <a href="qwidget.html">QWidget</a> subclasses.</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QGraphicsObject" />QGraphicsObject.__init__ (<i>self</i>, <a href="qgraphicsitem.html">QGraphicsItem</a> <i>parent</i> = None)</h3><p>The <i>parent</i> ar... | HTML |
Link(true)
.setAdCount(1) // 请求广告数量为1到3条
.setExpressViewAcceptedSize(_expectedWidth, _expectedHeight) // 期望模板广告view的size,单位dp,高度0自适应
.setAdLoadType(PRELOAD)
.build();
// 请求广告,对请求回调的广告作渲染处理
final FeedAdView _this = this;
DyADCore.TTAdSdk.loadNativeExpressAd(
adSlot,
... | Java |
":[96944]}(function() {
var type_impls = Object.fromEntries([["zerocopy",[["<details class=\"toggle implementors-toggle\" open><summary><section id=\"impl-Add-for-I32%3CO%3E\" class=\"impl\"><a class=\"src rightside\" href=\"src/zerocopy/byteorder.rs.html#522-535\">Source</a><a href=\"#impl-Add-for-I32%3CO%3E\" cla... | JavaScript |
[role="tab"]:target > button:after {
border-bottom-color: rgba(0,202,242, 0.75);
}
/* Disabled state */
[role="tablist"] > [role="tab"][aria-disabled="true"] > a,
[role="tablist"] > [role="tab"][aria-disabled="true"] > button,
[role="tablist"] > [role="tab"][disabled] > a,
[role="tablist"] > [role="tab"][disabled] ... | CSS |
def solution(temperature, t1, t2, a, b, onboard):
temp = t1 - (temperature - t2) if temperature > t2 else temperature
t1 -= temp
t2 -= temp
temp = 0
leng = len(onboard)
dp = [[1e9] * (t2 + 2) for _ in range(leng)]
dp[0][0] = 0
for i in range(1, leng):
for j in range(t2 + ... | Python |
_
比特币网络节点交换什么?
* _没有费用和签名的币数据_
* _已创建的块和交易_
* _其他用户的网络地址_
* _加密数据_
如何摧毁比特币?
* _摧毁所有网络设备_
* _摧毁源代码_
* _摧毁所有能够编写源代码的人_
* _摧毁数学_
* _摧毁所有涉足数学的人,以及计划这样做的人_
* _将每个人连接到一个比特币不存在的矩阵中,并追踪确保其不被创建_
如果不同的验证者在其区块中包含相同的交易集,那么资源密集型问题是否会相同?
* _是的,因为哈希根是相同的_
* _交易顺序匹配的概率很低_
* _不,所有交易都不可能匹配_
交易可塑性是什么?
* _保... | Markdown |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | C |
# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requ... | Python |
Events are sorted by thread
//and context in the client side.
virtual void startEvent( uint16_t inId, uint64_t contextId)
{
if( mEventsActive )
{
TZoneEventBufferType::startEvent( inId, contextId );
}
}
virtual void stopEvent( uint16_t inId, uint64_t contextId)
{
if( mEventsActive )
{
... | C |
"7/12": "58.333333%",
"8/12": "66.666667%",
"9/12": "75%",
"10/12": "83.333333%",
"11/12": "91.666667%",
full: "100%",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
width: ({ theme: i }) => ({
... | JavaScript |
t(
arg0,
arg1,
);
}
late final _ts_node_editPtr = _lookup<
ffi.NativeFunction<
ffi.Void Function(
ffi.Pointer<TSNode>, ffi.Pointer<TSInputEdit>)>>('ts_node_edit');
late final _ts_node_edit = _ts_node_editPtr.asFunction<
void Function(ffi.Pointer<TSNode>, ffi.Po... | Dart |
Samples"))
outfile:write_line("")
outfile:write_line("# define function ID mapping")
for i=1,#functions do
local funcNode = self.functions[functions[i]]
local funcName = (funcNode.record.func == "0" and "main") or funcNode.name
local funcSource = funcNode.name:match("(%b())")
... | Lua |
extractPatterns(d));(d=b.extractAPICall(c,"disableContentAds"))&&b.disableContentAds(b.extractPatterns(d));(c=b.extractAPICall(c,"disablePlaylistPlayers"))&&b.disablePlaylistPlayers(b.extractPatterns(c))})};
a.prototype.extractPatterns=function(b){b=b.match(/["'](.*?)['"]/g);if(null!==b)return b.map(function(c){return ... | HTML |
xsi", DEFAULTSCHEMANAMESPACELOCATION));
atts.add(this.createTuple("xsi:schemaLocation", MATSIM_NAMESPACE + " " + DEFAULT_DTD_LOCATION + "vehicleDefinitions_v1.0.xsd"));
this.writeStartTag(VehicleSchemaV1Names.VEHICLEDEFINITIONS, atts);
this.writeVehicleTypes(this.vehicleTypes);
this.writeVehicles(this.vehicles)... | Java |
Y3VtZW50'
'YXRpb24YBiABKAsyGS5nb29nbGUuYXBpLkRvY3VtZW50YXRpb25SDWRvY3VtZW50YXRpb24SJw'
'oFcXVvdGEYCiABKAsyES5nb29nbGUuYXBpLlF1b3RhUgVxdW90YRJCCg5hdXRoZW50aWNhdGlv'
'bhgLIAEoCzIaLmdvb2dsZS5hcGkuQXV0aGVudGljYXRpb25SDmF1dGhlbnRpY2F0aW9uEicKBX'
'VzYWdlGA8gASgLMhEuZ29vZ2xlLmFwaS5Vc2FnZVIFdXNhZ2USMgoJZW5kcG9p... | Dart |
);
while !world.read_resource::<Exit>().0 {
dispatcher.dispatch(&world.res);
world.maintain();
}
}
#![feature(test)]
extern crate test;
#[macro_use]
extern crate lazy_static;
use crossbeam_channel::unbounded;
use vertx_rust::vertx::message::{Message, Body};
extern crate vertx_rust;
use std::syn... | Rust |
card-value {
font-family: "Oswald", sans-serif;
font-weight: 400;
font-size: 20px;
color: #06072d
}
.card-analytics-one .card-value-sub {
font-size: 10px;
font-family: "Oswald", sans-serif;
display: flex;
align-items: baseline;
margin-left: 5px
}
.card-analytics-one .card-value... | CSS |
lized()
.encodeMap<WebSendFile>(this as WebSendFile);
}
WebSendFileCopyWith<WebSendFile, WebSendFile, WebSendFile> get copyWith =>
_WebSendFileCopyWithImpl(this as WebSendFile, $identity, $identity);
@override
String toString() {
return WebSendFileMapper.ensureInitialized()
.stringify... | Dart |
/td><td><a class="el" href="struct_veterancy_struct.html">VeterancyStruct</a></td><td></td></tr>
<tr class="memlist"><td><a class="el" href="struct_veterancy_struct.html#a2d7af10979fef69eefb060c382ac8ef0">Veterancy</a></td><td><a class="el" href="struct_veterancy_struct.html">VeterancyStruct</a></td><td></td></tr>
</... | HTML |
namespace Grauenwolf.TravellerTools.Characters.Careers.Aslan;
class Ceremonial_Priest(SpeciesCharacterBuilder speciesCharacterBuilder) : Ceremonial("Priest", speciesCharacterBuilder)
{
public override CareerTypes CareerTypes => CareerTypes.Religious | CareerTypes.Civilian;
protected override string Advancemen... | C# |
9*39e 5J{J5*A{F3 J)_F9 {xJ5u{3tA**.5:<{:e9PAA 933JPA9eJPJP<:A)9e *k95 PJtJP*F *3JJ:0F J::<PPt3t9J<)*<eAA9e*)e:5:{ 95{)*{ :c5:<9FJJe )tAJ*tJ#eP<*AP{x3t):<P:5FP3e)t: PFt3359*eJP:t5*39):{P)tS*53tee5 { {A{99P c3:J9P;F55PAA{*FnA: < t9<FtA9*3 )3t*3)e55 <P9:3))e:*P9F *JJJ**Hee3<JtoMt<Jt(Ae9:9PJ<)A5t{FJ)5<{9Fe9<vt5:{<F{F{J eJ... | Lua |
for test
*/
interface FakeRanker : Ranker
class RandomRanker : FakeRanker {
private val random = Random(System.currentTimeMillis())
override fun <T> rank(
description: String,
userInput: String,
rankables: Collection<T>
): Rankings<T> where T : Named, T : Described {
ret... | Kotlin |
ream();
try {
ImageIO.write(bi, "png", baos);
// make it official
data = baos.toByteArray();
} catch (IOException e) {
}
// don't save back to the file
image = null;
}
imageIcon = new ImageIcon(data);
}
return imageIcon;
}
@... | Java |
T().rB(B.aU,s.a0(0,a.c).a0(0,r).a0(0,q),s)
break}p.nP(a.a)}},
api(a){var s,r=this
r.OY()
if(r.b){s=r.a.ga3().gK()
s.toString
s.iq()}r.w=!1
r.d=r.e=0},
apd(){var s,r,q=this.a
if(!q.gek())return
switch(A.ba().a){case 2:case 4:if(this.gach()){s=q.ga3().gK()
s.toString
s=!s.gT().cl}else s=!0
if(s){s=q.ga3().gK()
s.toString... | JavaScript |
length >> 24) & 0xFF);
byte[] sha256result = executeCommand(0x3D, sha256cmd, 0, sha256cmd.Length, true, 10, 2 + 32);
if(sha256result == null)
{
addErrorLine($"Failed to get hash");
return false;
}
string sha256read;
... | C# |
," +
CITIES_TO_WATCH_SHADING_ELEVATION + " VARCHAR(255) NOT NULL," +
CITIES_TO_WATCH_SHADING_OPACITY + " VARCHAR(255) NOT NULL," +
CITIES_TO_WATCH_CELLS_TEMP_COEFF + " REAL NOT NULL," +
CITIES_TO_WATCH_ALBEDO + " REAL NOT NULL," +
CITIES_TO_WATCH_IS_CENTRAL_IN... | Java |
mport org.junit.jupiter.params.provider.MethodSource
import software.amazon.awssdk.core.sync.RequestBody
import software.amazon.awssdk.services.s3.S3Client
import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm
import software.amazon.awssdk.services.s3.model.CommonPrefix
import software.amazon.awssdk.service... | Kotlin |
2.617h8.252V8.535zm.104.1v4.283H5.84l1.925 2.41h6.17v10.317h2.556V15.38h4.367v-2.463h-4.367v-1.824h7.639V8.635H13.97zm-2.787.115.109 1.248-1.232.283 1.22.283-.11 1.258.645-1.076 1.164.498-.822-.947.828-.95-1.154.489-.648-1.086zm13.418.096A11.143 11.143 0 0127.186 16C27.192 22.18 22.18 27.191 16 27.191S4.803 22.18 4.803... | Dart |
Db));
getIt.registerSingleton<IUserPreferenceLocalDataSource>(
UserPreferenceLocalDataSource(_preferenceDb));
/// repositories
getIt.registerSingleton<IExpenseRepository>(ExpenseRepository(getIt()));
getIt.registerSingleton<IInsightRepository>(InsightRepository(getIt()));
getIt.registerSingleton<IUserP... | Dart |
};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}
Future<void> logoutAuthDevices(... | Dart |
flex-shrink:0;height:1rem;width:1rem;color:#1C64F2;background-color:#fff;border-color:#6B7280;border-width:1px;--tw-shadow:0 0 #0000}[type='checkbox']{border-radius:0px}[type='radio']{border-radius:100%}[type='checkbox']:focus,[type='radio']:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-inset:var(--t... | CSS |
# coding: utf-8
"""
Klarna Checkout API V3
The checkout API is used to create a checkout with Klarna and update the checkout order during the purchase. As soon as the purchase is completed the order should be read and handled using the [`Order Management API`](https://docs.klarna.com/api/ordermanagement).\\n\... | Python |
Vector3Wide.Dot(boxFaceToContact0, boxFaceNormal, out var contact0Dot);
Vector3Wide.Dot(boxFaceToContact1, boxFaceNormal, out var contact1Dot);
var depth0 = contact0Dot * inverseFaceNormalDotLocalNormal;
var depth1 = contact1Dot * inverseFaceNormalDotLocalNormal;
... | C# |
"""
Tests for store_utilities.py
"""
import unittest
from unittest.mock import Mock
import ddt
from xmodule.modulestore.store_utilities import draft_node_constructor, get_draft_subtree_roots
@ddt.ddt
class TestUtils(unittest.TestCase):
"""
Tests for store_utilities
ASCII trees for ONLY_ROOTS and SOME_... | Python |
::ast_matchers;
using namespace oclint;
/*
* References:
* - Edsger Dijkstra (March 1968). “Go To Statement Considered Harmful”.
* Communications of the ACM (PDF) 11 (3): 147–148. doi:10.1145/362929.362947.
*/
class GotoStatementRule : public AbstractASTMatcherRule
{
public:
virtual const string name() cons... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.