content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
Name: String) {
viewModelScope.launch {
try {
// 处理路径,使用统一的buildPath方法
val fullPath = buildPath(currentPath, folderName)
val createFolderTool =
AITool(
name = "create_directory",
... | Kotlin |
",
[28483] = "王者胸甲",
[28484] = "王者壁垒",
[28485] = "列王壁垒",
[28486] = "穆瑟尔的美味松饼",
[28487] = "Monster - Work Wrench, Ethereal (Purple Glow)",
[28488] = "Monster - Sword2H, Draenei A02 Purple",
[28489] = "Monster - Work Wrench, Ethereal (Red Glow)",
[28490] = "沙法尔的裹布",
[28491] = "风语者裹足",
[28492] = "鸦爪战士长靴",
[28493] = "恐怖卫士爪... | Lua |
日期
*
* @param date 日期
* @param value value
* @return Date
*/
public static Date addHour(Date date, int value) {
Calendar calendar = getCalendar();
calendar.setTime(date);
calendar.add(Calendar.HOUR_OF_DAY, value);
return calendar.getTime();
}
public static Date addHour(String date, int value) {
... | Java |
� k 换掉,把@换成更容易识别的字符■,运行一下,发现如下的图像:</p>
<p style="text-align: center;"><img data-original="http://image.3001.net/images/20140321/13954132929984.png!small" src="http://www.freebuf.com/buf/themes/freebuf/images/grey.gif" alt="他乡遇故知"></p>
<noscript><img src="http://image.3001.net/images/20140321/13954132929984.png!small" a... | HTML |
e");g.get(W.depthTexture).__webglTexture&&W.depthTexture.image.width===W.width&&W.depthTexture.image.height===W.height||(W.depthTexture.image.width=W.width,W.depthTexture.image.height=W.height,W.depthTexture.needsUpdate=!0);V(W.depthTexture,0);aa=g.get(W.depthTexture).__webglTexture;if(1026===W.depthTexture.format)a.fr... | HTML |
"""Test all frequencies (except blank)."""
import pytest
from homeassistant.core import HomeAssistant
from homeassistant.helpers import device_registry as dr
from homeassistant.helpers import entity_registry as er
from pytest_homeassistant_custom_component.common import MockConfigEntry
from custom_components.garbage_c... | Python |
">
<option id="" value="">--Please choose a source--</option>
</select>
<input type="button" id="refreshVideoRTC" value="Refresh list of Windows" />
<br><br>
<label for="rtcAudioSources">Choose an audio source to capture:</label>
<select name="rtcAudioSources" id="rtcAudioSources">
... | HTML |
합니다. 비난은 멈춰야 합니다.
### 디버깅 사고방식
디버깅을 시작하기에 앞서 올바른 사고방식을 갖는 것은 중요합니다.
한 발짝 뒤로 물러나 무엇이 자신으로 하여금 버그가 있을 것이라고 생각하게 하는지, 원인이 무엇일지 실제로 생각해 보는 것이 정말 중요합니다.
항상 문제의 근본적인 원인을 발견하려고 노력하고, 그 문제의 특정한 증상만 고치려 하면 안 됩니다.
### 디버깅 시작하는 법
버그를 살피기 전 깨끗이 컴파일도니 경고문 없는 코드로 작업하는지 확인하고 어떤 문제건 해결을 하기위한 관련 자료를 모두 모아야 합니다.
또한, 자세한 정보를 충분히 ... | Markdown |
_auto_reload(timeout.ticks() - 1)?;
// Trigger update event to load the registers
self.tim.trigger_update();
// start counter
self.tim.enable_counter();
Ok(())
}
pub fn wait(&mut self) -> nb::Result<(), Error> {
if self.tim.get_interrupt_flag().contains(Event:... | Rust |
;
}
case 2:
{
// Cut case
// flip so that P[1] is the one-off vertex
if(P[0] == 0 && P[1] == 2)
{
std::swap(P[0],P[1]);
std::swap(Psign[0],Psign[1]);
}
assert(Psign[0] != Psign[1]);
// Create two new vertices
for(int i... | C++ |
127.0.0.1 > extfile.cnf \" \n"
+ "echo subjectAltName = DNS:HOST_IP IP:127.0.0.1 > extfile.cnf \n"
+ "echo Running: openssl x509 -req -passin pass:$CERT_CA_PWD_PARAM$ -days 365 -sha256 -in server.csr -CA ca.pem -CAkey ca-key.pem -CAcreateserial -out server.pem -extfile extfile.cnf \n"
... | Java |
EventArgs e)
{
var value = (ComboBoxAdv)sender;
switch (value.SelectedIndex)
{
case 0:
{
column.EmptyPointInterior = new SolidColorBrush(Color.FromArgb(0xFF, 0x00, 0x8F, 0xFB));
break;
... | C# |
return;
}
alt.emitClient(p, SYSTEM_EVENTS.PLAYER_EMIT_ANIMATION, dictionary, name, flags, duration);
}
/**
* Synchronize a local variable to access locally for this player.
* @param {string} key
* @param {*} value
* @memberof EmitPrototype
*/
function meta(p: alt.Player, key: string, value: any): void {
... | Typescript |
2px 1px #016AABCC}.wpforms-admin-page #poststuff #post-body.columns-2{margin-right:320px}.wpforms-admin-page #poststuff #post-body.columns-2 .postbox-container{margin-right:-320px;width:300px}.wpforms-admin-page .postbox{background:#ffffff;border:1px solid #c3c4c7;box-shadow:0 1px 1px rgba(0,0,0,0.05);border-radius:4p... | CSS |
/**
* OpenDaVINCI - Portable middleware for distributed components.
* Copyright (C) 2008 - 2015 Christian Berger, Bernhard Rumpe
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ei... | C |
android.util.DisplayMetrics;
import android.view.KeyEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.WindowManager;
import com.example.nanchen.aiyaschoolpush.ui.activity.ActivityBase;
import mabeijianxi.camera.MediaRecorderBase;
import mabeijianxi.camera.util.DeviceUtils... | Java |
0 1 0 0-4 2 2 0 0 0 0 4M3 4a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4zm4-2a2 2 0 0 0-2 2v14.12a8 8 0 0 1 14 0V4a2 2 0 0 0-2-2zm11 19.74a6 6 0 0 0-12 0q.45.25 1 .26h10q.54-.01 1-.26"
/>
</svg>
</div>
<div class="icon icon-new">
<svg xmlns="http://www.w3.org/20... | HTML |
u64 const& value = __jakt_match_value.value;
return Jakt::types::NumberConstant::Unsigned(static_cast<u64>(value));};/*case end*/
case 8 /* USize */: {
auto&& __jakt_match_value = __jakt_match_variant.as.USize;u64 const& value = __jakt_match_value.value;
return Jakt::types::NumberConstant::Unsigned(static_cast<u64>(val... | C++ |
|(:|)\/|(7|,*|\/F|%&$&$ $!%$|(Z|(X|%& %#|(Z|(X!$*%>|(F|%6|){|%I|%VX|$:|*!|(E|(H|(K|(U|(9|(;|(C|(i|(B|(A| 9|(G|(J|(I|(@|%H|(:|)\/|(7|,*|\/F$$' $$$ $$% $$% $&$ $$% $%|(H|(I|%6|){$$# $$! $$$ $&# $$$ $#|(H|(I % $$$ $#|(H|(I$$# %%|(K|(U|(:|)\/$$# $&! $$! !!&$!|)\/ #!|)\/$$# $$|(C|%6|){!!&$!|(C $ ##|%6|){ ##|%6|){$$$ $... | JavaScript |
/*
Expects Array set in .env
NEXT_PUBLIC_CONTRACT_ARRAY=[
"0xFF9C1b15B16263C61d017ee9F65C50e4AE0113D7",
"0x7AFe30cB3E53dba6801aa0EA647A0EcEA7cBe18d",
"0x42A87e04f87A038774fb39c0A61681e7e859937b",
"0xdEcC60000ba66700a009b8F9F7D82676B5cfA88A"
]
*/
import fetch from "cross-fetch";
async function fetchGraphQL() ... | Typescript |
Internet"},
{"title":"p3x-redis-ui","text":"# P3X-REDIS-UI\n\n A very functional handy database GUI and works in your pocket on the responsive web or as a desktop app.\n\n SITE: https://www.corifeus.com/redis-ui\n\n | [Applications](https://portable-linux-apps.github.io/apps.html) | [Home](https://portable-linux-apps... | HTML |
family: Verdana;"> Refer to <a href="../../../CMSIS_changes.htm" target="_blank">CMSIS changes</a></span></li>
</ul>
<ol style="margin-top: 0in; list-style-type: decimal;" start="3">
<li class="MsoNormal" style=""><b><i><span style="font-size: 10pt; font-family: Verdana;">STM32F10x... | HTML |
wn file within the repository.
//
// This file provides documentation and usage information for the workflow. If not specified, the README.md file from the root directory of the repository will be used.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-workflow.html#cfn-omics-w... | Go |
agController,
appBar: AppBar(
backgroundColor: Colors.transparent,
shadowColor: Colors.transparent,
// 状态栏亮度,对应影响到字体颜色(dark为白色字体)
leading: const AppbarLeadingButtton(color: Colors.white, enableBackground: true),
actions: [
AppbarBlurIco... | Dart |
= c => withAlpha(Colr.fromRgbObject(normalizeRGB(c)).toRawHsvObject(), c.a)
export let rgbArr2Hsv = c => withAlpha(Colr.fromRgbArray(c.map(channel => channel * 255)).toRawHsvObject(), c[3])
export let hsv2Hsv = c => c
rgb2Hsv.invert = c => withAlpha(deNormalizeRGB(Colr.fromHsvObject(c).toRawRgbObject()), c.a)
rgbArr2... | JavaScript |
: NeoExpress,
identifer: BlockchainIdentifier,
contractName: string
): Promise<{ key?: string; value?: string; constant?: boolean }[]> {
if (identifer.blockchainType !== "express") {
return [];
}
const output = await neoExpress.run(
"contract",
"storage",
contractName,
... | Typescript |
""": 39234,
r"""quantified""": 39235,
r"""deformed""": 39236,
r"""letterpress""": 39237,
r"""locust""": 39238,
r"""rhinestones""": 39239,
r"""preclinical""": 39240,
r"""undergrad""": 39241,
r"""antlers""": 39242,
r"""quits""": 39243,
r"""для""": 39244,
r"""connoisseurs""": 39245,
r"""bogged""": ... | Dart |
MessageForInvalidContext(ServletContext initCtx,
ServletContext eventCtx) {
StringBuffer sb = new StringBuffer(128);
sb.append(
"The ServletContext of the event is not the same ServletContext provided to the listener at initialization.\n");
sb.append("Initialized context: " + initCtx + "\n");
... | Java |
026ec0", // 𦻀
0x26ec1: "\x8c\f\U00026ec1", // 𦻁
0x26ec2: "\x8c\f\U00026ec2", // 𦻂
0x26ec3: "\x8c\f\U00026ec3", // 𦻃
0x26ec4: "\x8c\f\U00026ec4", // 𦻄
0x26ec5: "\x8c\f\U00026ec5", // 𦻅
0x26ec6: "\x8c\f\U00026ec6", // 𦻆
0x26ec7: "=\x0f\U00026ec7", // 𦻇
0x26ec8: "\x8c\f\U00026ec8", // 𦻈
0x26ec9: "\x8c\f\... | Go |
),
),
),
);
}
/// Encodes the public key into a multicodec issuer
@override
String encodeIss(Uint8List publicKey) {
Uint8List header = base58.decode(multicodecEd25519Header);
final String multicodec =
'$multicodecEd25519Base${base58.encode(Uint8List.fromList(header +... | Dart |
DC,
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD,
//GL_COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0,
//GL_COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1,
//GL_COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2,
//GL_COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3,
//GL_COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4,
//GL_COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5,
... | Lua |
= getVarNameFromVarMap( varMap, varName, &varMapCPtr );
if ( i != 0 ) {
return i;
}
if ( strcmp( varName, "hostAddr" ) == 0 ) {
i = getStrLeafValue( varValue, rei->hostAddr, r );
return i;
}
if ( strcmp( varName, "zoneName" ) == 0 ) {
i = getStrLeafValue( var... | C++ |
isLoggedIn() }.subscribe(::onRepaint))
}
override fun onStop() {
implings = emptyList()
}
private fun onTick() {
implings = Npcs.filter(::isImpling)
}
private fun onRepaint(g: Graphics2D) {
val npcs = implings
if (npcs.isEmpty()) return
g.font = Fonts... | Kotlin |
object : Format() {
override fun format(
obj: Any,
toAppendTo: StringBuffer,
pos: FieldPosition
): StringBuffer {
val percent = (obj as Number).toDouble()
return toAppendTo.append(String.format("%.0f", percent))
... | Kotlin |
style: { textAlign: "left" }, children: /* @__PURE__ */ jsxRuntimeExports.jsx(Link, { to: "/privacy-policy", children: "Privacy Policy" }) }),
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "footer-text", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
"a",
{
href: "https://discord.... | JavaScript |
-select: none; /* webkit (safari, chrome) browsers */
-moz-user-select: none; /* mozilla browsers */
-khtml-user-select: none; /* webkit (konqueror) browsers */
-ms-user-select: none; /* IE10+ */
}
.table tbody>tr>td.metronome-sync {
text-align: left;
vertical-align: middle;
}
.table tbody>tr>td.me... | CSS |
"fmt"
"os"
"path/filepath"
"strings"
"github.com/freddierice/go-losetup/v2"
"golang.org/x/sys/unix"
"github.com/siderolabs/talos/internal/pkg/selinux"
"github.com/siderolabs/talos/pkg/machinery/constants"
"github.com/siderolabs/talos/pkg/xfs/fsopen"
)
//
// NOTE: This file is a rewrite of various helpers fr... | Go |
Index:e.collisionBoxArray.length;let X=-1;const $=(t,e)=>t&&t.circleDiameter?Math.max(t.circleDiameter,e):e;X=$(E,X),X=$(L,X),X=$(C,X),X=$(I,X);const J=X>-1?1:0;J&&(X*=M/xc),e.glyphOffsetArray.length>=Eu.MAX_GLYPHS&&T("Too many glyphs being rendered in a tile. See https://github.com/mapbox/mapbox-gl-js/issues/2907"),vo... | HTML |
_spacing_t)serv_cell.dl_cfg_common.init_dl_bwp.generic_params.subcarrier_spacing.value;
auto ssb_scs = (srsran_subcarrier_spacing_t)cell.ssb_scs.value;
uint32_t nof_prb = serv_cell.dl_cfg_common.freq_info_dl.scs_specific_carrier_list[0].carrier_bw;
if (is_sa) {
// Generate CORESET#0
pdcch->coreset_pr... | C++ |
a1 1 0 01-1-1v-1a1 1 0 011-1zm0 4h1a1 1 0 011 1v1a1 1 0 01-1 1H9a1 1 0 01-1-1v-1a1 1 0 011-1zm-4 0h1a1 1 0 011 1v1a1 1 0 01-1 1H5a1 1 0 01-1-1v-1a1 1 0 011-1z"/></svg>';
static const String calendar =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" pres... | Dart |
B3044 003AFE44 98 04 00 00 */ stb r0, 0(r4)
/* 803B3048 003AFE48 38 84 FF FF */ addi r4, r4, -1
/* 803B304C 003AFE4C 4B FF FF C0 */ b lbl_803B300C
/* 803B3050 003AFE50 48 00 03 90 */ b lbl_803B33E0
/* 803B3054 003AFE54 38 00 00 02 */ li r0, 2
/* 803B3058 003AFE58 3C 60 80 49 */ lis r3, lbl_8048B748@ha
/* 803B305C... | Assembly |
ghtsail_20161128.CreateLoadBalancerTlsCertificate'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'certificateDomainName': certificateDomainName,
'c... | Dart |
roidProxyServerStateProvider),
).search(query, page, filterList);
}
import 'dart:convert';
import 'dart:io';
import 'dart:isolate';
import 'package:flutter/services.dart';
import 'package:http_interceptor/http_interceptor.dart';
import 'package:mangayomi/main.dart';
import 'package:mangayomi/models/settings.dart';
im... | Dart |
back(BuildFormat(&builder, SPA_VIDEO_FORMAT_BGRx,
/*modifiers=*/{}, &resolution,
&default_frame_rate));
auto flags =
pw_stream_flags(PW_STREAM_FLAG_DRIVER | PW_STREAM_FLAG_ALLOC_BUFFERS);
if (pw_stream_connect(pw_stream_, PW_DIRECTION_OU... | C++ |
'],[Libre-barcode-39-extended Text,'Libre-barcode-39-extended-Text'],[Libre-barcode-39-text,'Libre-barcode-39-text'],[Libre-barcode-ean13-text,'Libre-barcode-ean13-text'],[Libre Baskerville,'Libre-Baskerville'],[Libre Caslon Display,'Libre-Caslon-Display'],[Libre Caslon Text,'Libre-Caslon-Text'],[Libre Franklin,'Libre-... | CSS |
retrievedPlan.Name, "Retrieved plan name should be empty")
}
// TestCreatePlanWithEmptyDescription tests creating a plan with an empty description
func (s *PlanRepositorySuite) TestCreatePlanWithEmptyDescription() {
planRepo := s.GetPlanRepository()
appID := "test-app-" + uuid.New().String()
plan, err := planRepo.... | Go |
return *x.AppId
}
return 0
}
func (x *CMsgClientMMSSetLobbyGameServer) GetSteamIdLobby() uint64 {
if x != nil && x.SteamIdLobby != nil {
return *x.SteamIdLobby
}
return 0
}
func (x *CMsgClientMMSSetLobbyGameServer) GetDeprecatedGameServerIp() uint32 {
if x != nil && x.DeprecatedGameServerIp != nil {
retur... | Go |
imm8 ymm k ymm
// VPSLLD m128 xmm k xmm
// VPSLLD m128 ymm k ymm
// VPSLLD xmm xmm k xmm
// VPSLLD xmm ymm k ymm
// VPSLLD imm8 m512 k zmm
// VPSLLD imm8 m512 zmm
// VPSLLD imm8 zmm k zmm
// VPSLLD imm8 zmm zmm
// VPSLLD m128 zmm k zmm
// VPSLLD m128 zmm zmm
// VPSLLD xmm zmm k zmm
// VPSLLD xmm zmm zmm... | Go |
IME, width: 1 },
{ name: 'Boolean', dataType: DataType.BOOLEAN, width: 1 }
];
columnPairs = sourceColumns.map(c => toColumnPair(c));
mapper = new EntryMapper(columnPairs, 'en');
});
it('#mapRows should return entry with initial _id attribute', () => {
// when
const actual ... | Typescript |
",
[2008] = "Gefährlich!",
[2010] = "Amboss",
[2014] = "Amboss",
[2015] = "Schmiede",
[2016] = "Tarrens Mühle",
[2017] = "Alteracgebirge",
[2018] = "Stadt Alterac",
[2019] = "Strahnbrad",
[2020] = "Burg Durnholde",
[2021] = "Hügellandhof",
[2022] = "Süderstade",
[2023] = "Strahnbrad",
[2024] = "Andorhal",
[2025] = "Sta... | Lua |
AAAAD//wMAGRsECSML/RIAAAAASUVORK5CYII=) right repeat-y
}// Variables
//
// Variables should follow the `$component-state-property-size` formula for
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
// Color system
$black: #263238;
$crowdin-primary-green-600: #43a047;
$crowdin-primary... | CSS |
if (cb === undefined) {
return new Promise((res) => {
this.listen(code, res)
})
}
if (typeof cb !== 'function') {
throw new Error(str.notFunc)
}
// 防止内存的泄露, 只记录与触发一个同名函数
if (pool[code]) {
pool[code][cb.name] = cb
} else {
pool[code] = {
[cb.name... | Typescript |
fmt.Sprintf("%T write field 4 end error: ", p), err)
}
func (p *OtelIngestTracesRequest) writeField255(oprot thrift.TProtocol) (err error) {
if p.IsSetBase() {
if err = oprot.WriteFieldBegin("Base", thrift.STRUCT, 255); err != nil {
goto WriteFieldBeginError
}
if err := p.Base.Write(oprot); err != nil {
re... | Go |
vd_sect DC.B $01,$00
no_fats DC.B $00
no_direct DC.B $00,$00
no_sects DC.B $68,$06 (82*10*2)
media DC.B $F8
sect_p_fat DC.B $00,$00
sect_p_trk DC.B $0A,$00
no_sides DC.B $02,$00
no_hidden DC.B $00,$00
Boot
move.w #VERTFLAG+STMODES+VGA+BPS4,-(sp) ; VGA
move.w #3,-(sp)
move.l #$78000,-(sp)
move.l #$78000,-... | Assembly |
// Copyright 2024 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
// This file contains internal functions that are not part of the public API.
#ifndef THIRD_PARTY_XNNPACK_SRC_XNNPACK_INTERNAL_H_
#define THIRD_PARTY_XNNP... | C |
emodBaudRates::getRateIndex(m_settings.m_baudRate));
ui->traceLength->setValue(m_settings.m_traceLengthMutliplier);
ui->traceLengthText->setText(QString("%1").arg(m_settings.m_traceLengthMutliplier*50));
m_scopeVisXY->setPixelsPerFrame(m_settings.m_traceLengthMutliplier*960); // 48000 / 50. Chunks of 50 ms... | C++ |
)
ra.interpolator = DecelerateInterpolator()
ra.duration = 200 //设置动画持续周期
ra.repeatCount = 0 //设置重复次数
ra.fillAfter = true //动画执行完后是否停留在执行完的状态
bt_bar_timetable.animation = ra
bt_bar_addEvent.animation = ra
bt_bar_timetable.startAnimat... | Kotlin |
}
gman_pid_table->emplace(user_key,gman_node);
// start timer to signal gridmanager if we haven't already
if ( gman_node->add_timer_id == -1 ) { // == -1 means no timer set
gman_node->add_timer_id = daemonCore->Register_Timer(job_added_delay,
GridUniverseLogic::SendAddSignal,
"GridUniverseLogic::SendAddS... | C++ |
endif // OPTIMIZE_COMPACT_STRING_POOL
}
/*
Walks all found configuration entries looking for the
"forbidden string". If said string is found, EXCEPT.
Output is via a giant EXCEPT string because the dprintf
system probably isn't working yet.
*/
const char * FORBIDDEN_CONFIG_VAL = "YOU_MUST_CHANGE_THIS_INVALID_CONDOR_... | C++ |
:768px){.ZGxl9m11qxqO3SVucBXj .JnSUjkke8ViHfFoYVegA{display:flex;justify-content:space-between;max-width:653px}}@media(min-width:992px){.ZGxl9m11qxqO3SVucBXj .JnSUjkke8ViHfFoYVegA{max-width:571px}}@media(min-width:1200px){.ZGxl9m11qxqO3SVucBXj .JnSUjkke8ViHfFoYVegA{max-width:603px}}@media(min-width:768px){.ZGxl9m11qxqO... | HTML |
> <span class="fu">group_by</span>(playerID) <span class="sc">|></span></span>
<span id="cb734-4"><a href="linear-models.html#cb734-4" tabindex="-1"></a> <span class="fu">mutate</span>(<span class="at">PA =</span> BB <span class="sc">+</span> AB) <span class="sc">|></span></span>
<span id="cb734-5"><a href="lin... | HTML |
n, 0, 0xFFFF, message: "Local version must fit in 16-bits.");
return new VersionStamp(version, order, (ushort) userVersion, incomplete ? (ushort) (FLAGS_IS_INCOMPLETE | FLAGS_HAS_VERSION) : FLAGS_HAS_VERSION);
}
/// <summary>Creates a 96-bit <see cref="VersionStamp"/>.</summary>
/// <returns>Complete stamp, w... | C# |
",
scheduler=scheduler,
text_encoder=text_encoder,
leapfrog_steps=True,
torch_dtype=torch_dtype,
).to(device)
# download image
image_url = "https://huggingface.co/datasets/Joqsan/images/resolve/main/imagenet_dog_1.jpeg"
response = requests.get(image_url)
image = PIL.Image.open(BytesIO(response.content)... | Markdown |
Map[filePath]
issueMap[filePath] = {}
if not issueMap[filePath][lineNum]
issueMap[filePath][lineNum] = []
issueMap[filePath][lineNum].push({colNum: colNum, issue: issue, tslintLine: tslintLine})
// for each file, reverse-sort issues by lineNum and then by colNum
for let... | Typescript |
local UI = Z.UI
local super = require("ui.ui_view_base")
local Union_scene_unlock_popupView = class("Union_scene_unlock_popupView", super)
function Union_scene_unlock_popupView:ctor()
self.uiBinder = nil
super.ctor(self, "union_scene_unlock_popup")
end
function Union_scene_unlock_popupView:OnActive()
self:initC... | Lua |
.robolectric.Robolectric;
import org.robolectric.android.DeviceConfig;
import org.robolectric.android.controller.ActivityController;
import org.robolectric.annotation.GraphicsMode;
import org.robolectric.annotation.GraphicsMode.Mode;
import org.robolectric.annotation.ResourcesMode;
import org.robolectric.junit.rules.Se... | Java |
});
tearDownAll(() async {
await nativeDriver.close();
await flutterDriver.close();
});
test('verify that HCPP is supported and enabled', () async {
final Map<String, Object?> response =
json.decode(await flutterDriver.requestData('')) as Map<String, Object?>;
expect(response['supported... | Dart |
/ 16f - threeMod);
int mineXRight = (int)(destroyVector.X / 16f + threeMod);
int mineXUp = (int)(destroyVector.Y / 16f - threeMod);
int mineXDown = (int)(destroyVector.Y / 16f + threeMod);
if (mineXLeft < 0)
{
mineXLeft... | C# |
pg = pg or {}
pg.chapter_boom = {
[1190001] = {
action_times = 3,
minimum_guarantee = 6,
first_time = 0,
id = 1190001,
special_unit_p = 1500,
special_expedition_list = {
1150020,
1150021,
1150022
},
born_grids = {
{
1,
1
},
{
1,
2
},
{
2,
1
},
{
... | Lua |
ents/messages.css?0" media="all" />
<link rel="stylesheet" href="/sites/default/files/css/css_ukjW61TTOEnESdH_XrHrow33WD8--F5WFK3pNeez-aE.css?0" media="all" />
<link rel="stylesheet" href="/sites/default/files/css/css_Z5jMg7P_bjcW9iUzujI7oaechMyxQTUqZhHJ_aYSq04.css?0" media="print" />
<!--[if lte IE 8]>
<script s... | HTML |
// opl-1-0, oset-pl-2-1, osl-1-0, osl-1-1, osl-2-0, osl-2-1, osl-3-0,
// o-uda-1-0, parity-6-0-0, parity-7-0-0, pddl-1-0, php-3-0, php-3-01,
// plexus, polyform-noncommercial-1-0-0, polyform-small-business-1-0-0,
// postgresql, psf-2-0, psfrag, ps-or-pdf-font-exception-20170817, psutils,
// python-2-0, qhull,... | Go |
rGetJavaVMDart? _MediaKitAndroidHelperGetJavaVM;
static MediaKitAndroidHelperGetFilesDirDart? MediaKitAndroidHelperGetFilesDir;
static MediaKitAndroidHelperIsEmulatorDart? _MediaKitAndroidHelperIsEmulator;
static MediaKitAndroidHelperGetAPILevelDart?
_MediaKitAndroidHelperGetAPILevel;
}
typedef av_jni_set_... | Dart |
filteroverlaypos, 0);
recursive++;
enable_for_hw3ddlg (hDlg);
values_to_hw3ddlg(hDlg, true);
recursive--;
break;
case WM_USER:
if(recursive > 0)
break;
recursive++;
enable_for_hw3ddlg (hDlg);
values_to_hw3ddlg (hDlg, false);
recursive--;
return TRUE;
case WM_COMMAND:
if(recursive > 0)
... | C++ |
{/*this level is far to leaf least two level*/
if(index<0)
index=-(index+1);
root++;
deleteOrList(((BPlusTreeNonLeafNode)rootNode).nodes[index], id);
if(newentry==null)
{
if(root!=0)
root--;
return rootNode;
}
index=findNewIndex(rootNode, newentry.key, size);
deleteFromNode((BP... | Java |
groupType: GroupType.course,
latestEditor: null,
place: null,
sendNotification: false,
startTime: Time(hour: 10, minute: 0),
),
design: Design.random(random),
);
}
@override
Widget build(BuildContext context) {
final random = Random(42);
final dummy... | Dart |
if (!strncmp("360p", val, val_len)) {
options->video_resolution = 1; //360p
} else if (!strncmp("480p", val, val_len)) {
options->video_resolution = 2; //480p
} else if (!strncmp(... | C |
PSHOT|PRIME Data Hub|0.1-SNAPSHOT||20210726\n" +
"PID|1||09d12345-0987-1234-1234-111b1ee0879f^^^Winchester House&05D2222542&ISO^PI^&05D2222542&ISO||" +
"Bunny^Bugs^C^^^^L||19000101|M||2106-3^White^HL70005^^^^2.5.1|12345 Main St^^San Jose^CA^95125^USA^^^06085||" +
"(123)456-7890^PRN^PH^^1^123^456... | Kotlin |
e,
extendedZone = false,
format: format2 = "extended"
} = {}) {
if (!this.isValid) {
return null;
}
let c2 = includePrefix ? "T" : "";
return c2 + toISOTime(
this,
format2 === "extended",
suppressSeconds,
suppressMil... | JavaScript |
.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 1 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 0 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 1 0 1.42 1.42l3.88-3.89a4.49... | HTML |
d.mdx",
[2008940] = "World EXPANSION01 DOODADS GENERIC ETHEREAL Tents ET_Tent01.mdx",
[2008941] = "World EXPANSION01 DOODADS GENERIC ETHEREAL Tents ET_Tent02.mdx",
[2008942] = "World EXPANSION01 DOODADS GENERIC FishFrenzy FishFrenzy.mdx",
[2008943] = "World EXPANSION01 DOODADS GENERIC Ghostlands Graveyard Ghost... | Lua |
/*
* SPDX-FileCopyrightText: 2019-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#define ESP_EFUSE_LEN_OF_3_4_SCHEME_BLOCK_IN_BYTES (24)
#define ESP_EFUSE_LEN_OF_REPEAT_BLOCK_IN_BYTES (16)
#define COUNT_EFUSE_REG_PER_BLOCK ... | C |
UNCHECKED_CAST")
return item!![0] as Map<String, *>
}
package com.czl.lib_base.extension
import android.content.Context
import android.widget.ImageView
import androidx.annotation.NonNull
import com.bumptech.glide.Glide
import com.bumptech.glide.request.RequestOptions
import com.bumptech.glide.request.target.Target... | Kotlin |
bjectForKey:
void removeObjectForKey(objc.ObjCObjectBase aKey) {
_objc_msgSend_xtuoz7(
this.ref.pointer,
_sel_removeObjectForKey_,
aKey.ref.pointer,
);
}
/// setObject:forKey:
void setObject(objc.ObjCObjectBase anObject, {required NSCopying forKey}) {
_objc_msgSend_pfv6jd(
t... | Dart |
G_NID_NUM])
if not rc:
print("ping failed")
return lutfrc(LUTF_TEST_FAIL)
after_stats_main = main.sln.get_lnet().get_net_stats()
print(after_stats_main)
send_count_before = {}
send_count_after = {}
total_send_count_before = 0
total_send_count_after = 0
nid_num = 0
for nid in main_nids:
#... | Python |
r_page = this.cur_page + this.pagination_num;
if (cur_page > this.page_num - 1) {
cur_page = this.page_num - 1;
}
this.cur_page = cur_page;
this.analyse();
}
public leftSpread() {
const { has_left_spread } = this;
if (!has_left_spread) {
re... | Typescript |
守护的梦想,正在被时代无情地碾碎。
------
手机响了,是叶蓝的消息。
“还好吗?一会儿一起收拾东西。”
司辰回复:“在看新闻,越看越扎心。”
“别看了,赖强说要请大家吃散伙饭。”
“还有心情吃饭?”
“他说既然是最后一天,要有个仪式感。”叶蓝顿了顿,“你知道他的,总是这样。”
司辰苦笑。是啊,总是这样。
“一会儿公司见。”叶蓝说。
司辰放下手机,开始收拾东西。
## 3.2 | 种因
**2028年6月15日 上午8:34 前往公司的路上**
走在去公司的路上,经过工地旁的那片小农田,司辰想起了一年前。
------
2027年5月,离毕业还有一个月。复旦创意写作专业的研究生宿舍里,气氛低迷。... | Markdown |
o truck = Hero.makeAsBox(3, 3, 4, 1.5f, "red.png");
// truck.setPhysics(1, 0, 0);
// Obstacle head = Obstacle.makeAsCircle(4.5f, 4, 1, 1, "blueball.png");
// head.setPhysics(1, 0, 0);
// Obstacle backWheel = Obstacle.makeAsCircle(3, 2, 1.5f, 1.5f, "blueball.png");
// ... | Typescript |
0008) == 0x00000008);
}
/**
* <code>optional bytes body = 5001;</code>
*/
public com.google.protobuf.ByteString getBody() {
return body_;
}
/**
* <code>optional bytes body = 5001;</code>
*/
public Builder setBody(com.google.protobuf.ByteString valu... | Java |
filechooser placessidebar.sidebar row.sidebar-row .sidebar-button,
.nautilus-window placessidebar.sidebar row.sidebar-row .sidebar-button {
border: 0; }
.nautilus-window .floating-bar {
color: #ffffff;
background-color: #2777ff;
border-color: #00348d;
margin: 10px;
box-shadow: 0 1px 4px #2777ff;
tra... | CSS |
row(1)
z.b[c] = b1
}
func (z *bytesEncWriter) writen2(b1 byte, b2 byte) {
c := z.grow(2)
z.b[c] = b1
z.b[c+1] = b2
}
func (z *bytesEncWriter) atEndOfEncode() {
*(z.out) = z.b[:z.c]
}
func (z *bytesEncWriter) grow(n int) (oldcursor int) {
oldcursor = z.c
z.c = oldcursor + n
if z.c > len(z.b) {
if z.c > cap(... | Go |
dass Ihr recht tapfer und fähig seid, $N. Ein $R wie Ihr wird hier draußen gebraucht. Wir bekommen das Trogg-Problem einfach nicht unter Kontrolle. Die Reserve wurde zur Front gerufen, und wir sind hier auf uns allein gestellt. Aber jetzt seid ja Ihr hier, ein erfahrener $C, also wollen wir doch mal sehen, was Ihr ausr... | Lua |
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2024)
#
# 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... | Python |
.breakingbelizenews.com/wp-content/uploads/2021/01/WhatsApp-Image-2022-03-21-at-3.19.38-PM-300x300.jpeg 300w, https://www.breakingbelizenews.com/wp-content/uploads/2021/01/WhatsApp-Image-2022-03-21-at-3.19.38-PM-150x150.jpeg 150w, https://www.breakingbelizenews.com/wp-content/uploads/2021/01/WhatsApp-Image-2022-03-21-a... | HTML |
l U2Vydg== LWJvcm4= am9z CWltZw== CVdIRVJF X2x0 5b2T LmNvc3Q= IFR1ZQ== LmxhYmVscw== IExW d2Nzc3RvcmU= IEplc3Nl 4Lir VHJhZGU= IHByZWRlY2Vzc29y 64I= ZmluYWxseQ== X2dlbmVyYWw= b2dnbGVy X1JFR0lPTg== bmVtZW50 IGJsb2dnZXI= IEhhcmJvcg== IERhdGFzZXQ= W3c= IGF0dGVuZGVlcw== Lmljbw== bWF4aW11bQ== LlVubG9jaw== X1NZTkM= w6FnaW5h IG... | JavaScript |
aplist for leveltype " + levelType);
}
// Hack to disable top collisions for Castle Urns.
BreakableObj breakableObj = obj as BreakableObj;
if (breakableObj != null && breakableObj.SpriteName.Contains("CastleAssetUrn"))
breakableObj.CollidesTop = false;
... | C# |
> EditorOperations.InsertText(localCh.ToString()));
}
}
public void SendSave(Action<SaveCommandArgs, Action, CommandExecutionContext> commandHandler, Action nextHandler)
=> commandHandler(new SaveCommandArgs(TextView, SubjectBuffer), nextHandler, TestCommandExecutionContext.Create());
publ... | C# |
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter")
implementation("org.springframework.boot:spring-boot-starter-web")
implementation("org.springframework.boot:spring-boot-starter-security"... | Kotlin |
/offline/OfflineRegion$Companion;';
@jni$_.internal
@core$_.override
OfflineRegion$Companion? fromReference(jni$_.JReference reference) =>
reference.isNull
? null
: OfflineRegion$Companion.fromReference(
reference,
);
@jni$_.internal
@core$_.override
jni$_.JObjType get s... | Dart |
#!/usr/bin/python
## -*- coding: utf-8 -*-
##
## (C) 2008, 2013, 2015 Muthiah Annamalai
## Licensed under GPL Version 3
##
## This module is the scanner for the Ezhil language.
## It contains classes EzhilLex.
##
import re
from .scanner import Token, Lexeme, Lex, PYTHON3
from tamil.utf8 import has_tamil, istamil, is... | Python |
tenant.primaryColor
}
}
;
border-radius: 8px;
padding: 20px;
text-align: center;
margin: 20px 0;
}
.code {
font-family: 'Courier New', monospace;
font-size: 32px;
font-weight: bold;
color: {
{
tenant.... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.