content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
at, &_bhy2);
if (_debug) {
_debug->println(get_api_error(ret));
_debug->print("Boot status: ");
_debug->println(stat, HEX);
}
ret = bhy2_boot_from_flash(&_bhy2);
if (_debug) _debug->println(get_api_error(ret));
if (ret != BHY2_OK) return false;
ret = bhy2_get_boot_status(&stat, &_bhy2);
if (... | C++ |
min: { augmented: true, value: [112, 137] },
max: { augmented: true, value: [346, 387] },
});
});
it('is affected by quality', () => {
// pre
expect(
(dagger.properties as ItemWeaponProperties).physical_damage(),
).toMatchObject({
min: { augmented: false, value: 24... | Typescript |
cional")
print(" ✅ AHORA: Cálculo una vez por período, no ventana móvil")
print()
print("2. 🆕 NIVELES DINÁMICOS SEPARADOS - IMPLEMENTADOS:")
print(" ✅ NUEVO: calculate_dynamic_support_resistance() para ventana móvil")
print(" ✅ NUEVO: Usa ventana de 20 períodos para soporte/resistencia d... | Python |
eturns
The possible return codes include, but are not limited to, the values shown in the following table.
<table>
<tr>
<th>Return code</th>
<th>Description</th>
</tr>
<tr>
<td width="40%">
<dl>
<dt><b>S_OK</b></dt>
</dl>
</td>
<td width="60%">
The method succeeded.
</td>
</tr>
<tr>
<td width="40%">
<dl>
<dt><b>E_PO... | Markdown |
sd 56(%r12), %zmm24 // B
vfmadd231pd %zmm25, %zmm24, %zmm7
addq %r13, %r12
// unroll 1
vmovapd 1*64(%r11), %zmm25 // A
vbroadcastsd 0(%r12), %zmm24 // B
vfmadd231pd %zmm25, %zmm24, %zmm0
vbroadcastsd 8(%r12), %zmm24 // B
vfmadd231pd %zmm25, %zmm24, %zmm1
vbroadcastsd 16(%r12), %zmm24 // B
vfmadd231pd %... | Assembly |
itemurl = htmlBits[1]; // Use the URL to the file.
itemtitle = htmlBits[2];
itemtitle = itemtitle.replace('>', '');
itemtitle = itemtitle.replace('</a>', '');
itemid = ""; // TO DO: Get ID for non-image attachments.
... | JavaScript |
}
if (
matchingStart.errors &&
!matchingStart.errors.endDateLessThanStartDate
) {
return;
}
if (endDateTimestamp < startDateTimestamp) {
matchingStart.setErrors({ endDateLessThanStartDate: true });
} else {
matchingStart.setErrors(null);
}
};
}
export funct... | Typescript |
.Clear, edge)
}
if nodes := _u.mutation.RemovedGroupsIDs(); len(nodes) > 0 && !_u.mutation.GroupsCleared() {
edge := &sqlgraph.EdgeSpec{
Rel: sqlgraph.M2M,
Inverse: true,
Table: user.GroupsTable,
Columns: user.GroupsPrimaryKey,
Bidi: false,
Target: &sqlgraph.EdgeTarget{
IDSpec: sqlgra... | Go |
, "PCP", "CBC", "PCP");*/
provider.removeRecipe(new ResourceLocation("tnt"));
provider.addItemRecipe(output, "misc", GregTechBlocks.POWDER_BARREL,
of('W', ItemTags.PLANKS, 'G', Items.GUNPOWDER, 'S', Items.STRING), "WSW" ,"GGG", "WGW");
}
private static void addSlabRecipe(Consume... | Java |
05,0xFF,0xFF,0x01,0xFE,0xFD,0xF6,0xEC,0xE7,0xE4,0xE2,0xE1,0xE3,0xE3,0xE3,0xE3
.byte 0xE4,0xE2,0xE0,0xDE,0xDC,0xD8,0xD1,0xD0,0xD0,0xD0,0xD2,0xD2,0xD6,0xD7,0xDD,0xDF
.byte 0xDF,0xE0,0xDF,0xDF,0xDF,0xE0,0xE0,0xDE,0xD7,0xD8,0xDA,0xD4,0xD0,0xD0,0xCE,0xCC
.byte 0xC9,0xC9,0xCC,0xD2,0xDE,0xEA,0xFA,0x03,0x00,0xFB,0xF9,0xFC,0... | Assembly |
assert.deepStrictEqual(log, ['/a-path'])
done()
})
})
})
describe('program()', () => {
it('should return a Program and listen to location changes - no subscription', () => {
const cmds: Array<T.Task<O.Option<NavMsg>>> = []
const views: NavView[] = []
const subs: NavMsg[] = ... | Typescript |
"Data and policy with respect to receipt of the next/currently-incomplete in-message.">Msg_in_pipe</a></code>s: <a class="el" href="classipc_1_1transport_1_1struc_1_1sync__io_1_1Channel.html#a9c04f15d4d17cd43aca70136119e1d28" title="1 or 2 active (via optional) structs containing policy and state w/r/t receipt of low-l... | HTML |
="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QLineF </td><td class="memItemRight" valign="bottom"><b><a href="qlinef.html#fromPolar">fromPolar</a></b> ( qreal <i>length</i>, qreal <i>angle</i> )</td></tr>
</table>
<hr />
<a name="relat... | HTML |
btn.active .check-btn-icon-yes {
opacity: 1; display: inline-block;
}
/* show "no" icon if not active */
.btn.checkbtn.active .check-btn-icon-no {
opacity: 0; display: none;
}
.btn.checkbtn .check-btn-icon-no {
opacity: 1; display: inline-block;
}
/*** BS5 ***/
/* show "yes" icon if checkbox is checked */
.btn.ch... | CSS |
reinterpret_cast<const uint16_t *>(in + k0 * stride + x0),
(xmax-x0) * sizeof(__fp16) / 2,
stride * sizeof(__fp16),
(kmax-k0)
);
}
template<>
void Transform<6, 1, true, VLType::None>(
double *out, const double *in, int stride, int x0, int xmax, int k0, int kmax)
{
a64_transp... | C++ |
# 1713 후보 추천하기
import sys
sys.stdin = open('input.txt')
N, rec, pic = int(input()), input(), {}
for i, n in enumerate(input().split()):
n = int(n)
if n in pic: pic[n][0] += 1 # 사진틀에 있으면 추천수 증가
else: # 사진틀에 없으면 사진 추가 [추천수, 순번]
if len(pic) >= N: # 공간이 없으면 최소 추천 수 사진 제거
min_stu = min(p... | Python |
loc 1 114 5 # hello_matmul\hello_matmul_llvm.mlir:114:5
vmovss %xmm1, (%r8,%rsi,4)
.loc 1 125 12 # hello_matmul\hello_matmul_llvm.mlir:125:12
vmovss 8(%rcx,%rdi,4), %xmm0 # xmm0 = mem[0],zero,zero,zero
.loc 1 147 12 # hello_matmul\hello... | Assembly |
eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PpZ5HPgAAAAxSURBVHjaYjQ2Nv7PgBswgogzZ87gVMAEU4RLMyHABKUFyNGMbMBHJEOI1gwCAAEGAPSlBRrNcMApAAAAAElFTkSuQmCC) no-repeat;background-position:100% 50%;cursor:pointer}.tui-timepicker-check-lst{list-style:none;padding:0;margin:0}.tui-timepicker-check{margin-top:11px}.tui-timepicker-check:fir... | CSS |
} catch (e) {}
try {
token = doc.get(FirestoreConstants.token);
} catch (e) {}
try {
userId = doc.get(FirestoreConstants.userId);
} catch (e) {}
return UserChat(userId: userId, id: doc.id, photoUrl: photoUrl, nickname: nickname, content: content, shopId: shopId, userType: userType, d... | Dart |
ond-12 atom-12 atom-13' d='M 35.4,18.8 L 35.0,14.5' style='fill:none;fill-rule:evenodd;stroke:#191919;stroke-width:2.0px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' />\n<path class='bond-13 atom-12 atom-14' d='M 35.9,23.1 L 40.8,26.0' style='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:2.0px;... | HTML |
35*/ [
{ w: "triangle", t: 0, f: 70, v: 1, d: 0.05, h: 0.03, p: 0.9, q: 0.1 },
{ w: "n0", g: 1, t: 6, v: 17, r: 0.01, h: 0, p: 0 }
],
[
{ w: "triangle", t: 0, f: 88, v: 1, d: 0.05, h: 0.03, p: 0.5, q: 0.1 },
{ w: "n0", g: 1, t: 5, v: 42, r: 0.01, h: 0, p: 0 }
],
[... | JavaScript |
{
debug_messages.add(msg.toString());
}
print("DEBUG: ${msg.toString()}");
}
/*
* Simplify string representation of a floating point value
* Basically, don't display fractional component if it is an integer
*/
String simpleNumberString(double number) {
if (number.toInt() == number) {
return number.t... | Dart |
chart;
internal ChartDataPoint ChartDataPoint => m_dataPoint;
internal Microsoft.ReportingServices.ReportIntermediateFormat.ChartDataLabel ChartDataLabelDef => m_chartDataLabelDef;
public ChartDataLabelInstance Instance
{
get
{
if (m_chart.RenderingContext.InstanceAccessDisallowed)
{
retur... | C# |
apontado | dúvida | frustração | frustrada | frustrado | indiferença | inseguro | meh | rosto com boca diagonal | smiley | tanto faz',
),
Emoji(
'😑',
'aff | inespressiva | inespressivo | nada a dizer | rosto | rosto inexpressivo | sem comentários | sem expressão | tanto faz',
),
Emoji(
... | Dart |
${c}z found it in a legendary land"
// Help :&& - "Note that :s and :& don't keep the flags"
// Change the first I, ignoring case. `:s &` *does not keep flags* (:s/P/z/& would)
doTest(listOf(exCommand("s/I/z/i"), exCommand("s &")), before, after)
assertPluginErrorMessage("E486: Pattern not found: I")
... | Kotlin |
local function update_contact_line()
for k=101,105 do
if nav_fyt_list[k] and nav_fyt_list[k].lat >= -90 and nav_fyt_list[k].lat <= 90 and nav_fyt_list[k].lon >= -180 and nav_fyt_list[k].lon <= 180 then
local origin_lat_m = nav_fyt_list[k].lat_m
local origin_lon_m = nav_fyt_list[k].lo... | Lua |
me;
firstNameInput.dispatchEvent(new Event("input", { bubbles: true }));
firstNameInput.dispatchEvent(new Event("change", { bubbles: true }));
this.logger("İsim alanı manuel olarak dolduruldu", "info");
}
} catch (error) {
this.logger(`İsim ala... | JavaScript |
#ifndef LEET_CODE_PROBLEM_0386_LEXICOGRAPHICAL_NUMBERS_TESTS_H
#define LEET_CODE_PROBLEM_0386_LEXICOGRAPHICAL_NUMBERS_TESTS_H
#include <gtest/gtest.h>
namespace leet_code::problem_0386_lexicographical_numbers::tests {
template <class S>
void run() {
using std::initializer_list;
using std::tuple;
using std... | C |
are sorted by likeliness. We show at most the five most likely next moves.
## Openings for threshold = 10.0%
| Opening | Likeliness | Next moves | Likeliness | White wins | Draw | Black wins | Average points for White |
|-----------|------------|------------|:----------:|:---------------:|:---... | Markdown |
}
.cid-skSByjvbT9 {
padding-top: 1rem;
padding-bottom: 1rem;
background-color: #bbbbbb;
}
.cid-skSByjvbT9 .card-wrapper {
border-radius: 4px;
background: #fafafa;
}
@media (min-width: 992px) {
.cid-skSByjvbT9 .card-wrapper {
padding: 2rem;
}
}
@media (max-width: 991px) {
.cid-skSByjvbT9 .card-wrapp... | CSS |
()
val queueState = remember {
mutableStateOf(PlaybackConstants.QUEUE_UNSET)
}
val queueOverrideState = remember(controller) {
mutableStateOf<OldPlaybackQueue?>(null)
}
val queueOverrideAmountState = remember(controller) {
mutableStateOf(0)
}
val observer = remember(controller) {
controller.createPlaybac... | Kotlin |
ted
*pCertRequest*[in]: PEM formatted CSR string. You could use one of the CSR generation to generate the CSR.
*tmNotBefore*[in]: Setting when the certificate is valid from
*tmNotAfter[in]: Expiry of the certificate
#### Output:
*ppCertificate*[out]: Generated self signed certificate in PEM format
### Return
On Succ... | Markdown |
max-width:1140px
}
}
@media(min-width: 1320px) {
.op {
max-width:1320px
}
}
.pp\/12 {
width: 25%
}
.qp\/12 {
width: 16.666667%
}
.rp\/12 {
width: 83.333333%
}
.sp {
max-width: 350px
}
.tp ... | CSS |
/*
* Copyright 2019 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" ... | C# |
ype) {
case "object":
arr.push(`
interface ${ir.name} {
__typename: ${ir.name};
${ir.keyValues
.map(kv => {
let { key, value, isList, isListOfNullables, isNullable } = kv;
if (isListOfNullables) {
value = `(... | Typescript |
/*-------------------------------------------------------------------------
*
* pg_opfamily.h
* definition of the "operator family" system catalog (pg_opfamily)
*
*
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
... | C |
syntax-highlight[data-ui-theme=burberry i]{background-color:beige;background-image:url();border:1px solid #797c73;border-radius:.25rem;color:#888}pre.ft-syntax-highlight[data-ui-theme=burberry i]::before{direction:ltr;font-weight:700;color:#fff;border-bottom:1px solid #797c73;background-color:#e9d4b9;background-image:-... | CSS |
ptions_test.dart' as update_options_test;
void main() {
defineReflectiveSuite(() {
analysis_options_test.main();
error_test.main();
get_errors_test.main();
get_errors_non_standard_sdk.main();
get_library_dependencies_test.main();
get_hover_test.main();
get_imported_elements_test.main();
... | Dart |
.47-1.7H8.1z"/><circle cx="14.6682646" cy="13.75" r="1"/><circle cx="24.6682646" cy="13.75" r="1"/><circle cx="19.6682646" cy="13.75" r="1"/></g></g></svg>')}.i-food,.i-nature{content:"";height:25px;margin:auto;width:25px}.i-nature{background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="2... | CSS |
15/80 add memory test
; rsr 8/21/80 change i/o for mod
; rsr 8/25/80 change i/o for mod2
; rsr 8/29/80 change ramtest for hardware mistake
; rsr 9/22/80 change so ram hang rs232 status read
; rsr 5/12/82 change start1 order to remove disk problem | Assembly |
BlipAddXYZ(x, y, z, 0, 1, 7)
gInOrderly01 = PedCreatePoint(53, POINTLIST._3_S11_I_ORDERLY1)
gInOrderly02 = PedCreatePoint(158, POINTLIST._3_S11_I_ORDERLY2)
PedCanTeleportOnAreaTransition(gInOrderly01, false)
PedCanTeleportOnAreaTransition(gInOrderly02, false)
MissionObjectiveComplete(mis_obj05)
... | Lua |
ANES ) {
common->Error( "R_PolytopeSurface: more than %d planes", MAX_POLYTOPE_PLANES );
}
numVerts = 0;
numIndexes = 0;
for ( i = 0; i < numPlanes; i++ ) {
const idPlane &plane = planes[i];
idFixedWinding &w = planeWindings[i];
w.BaseForPlane( plane );
for ( j = 0; j < numPlanes; j++ ) {
const idPla... | C++ |
|氉|sào",
"氇|||氌|lǔ",
"氍|||氍|qú",
"氏|||氏|shì",
"氏族|||氏族|shìzú",
"氐|||氐|Dī",
"民|||民|mín",
"民不聊生|||民不聊生|mínbùliáoshēng",
"民主|||民主|mínzhǔ",
"民主主义|||民主主義|mínzhǔzhǔyì",
"民主主义者|||民主主義者|mínzhǔzhǔyìzhě",
"民主化|||民主化|mínzhǔhuà",
"民主建港协进联盟|||民主建港協進聯盟|mínzhǔjiàngǎngx... | JavaScript |
local helper = require("druid.helper")
local event = require("event.event")
---@class examples.rich_text_tags_custom: druid.widget
---@field rich_text_link druid.rich_text
---@field rich_text_characters druid.rich_text
---@field rich_text_custom druid.rich_text
---@field position table
---@field on_link_click event
lo... | Lua |
sign-in/password",headers=headers,json=payload,proxies=self.proxy).json()
if signin["header"]["resultCode"] != "S0000":
raise PayPayLoginError(signin)
if device_uuid:
try:
uri=signin["payload"]["redirectUrl"].replace("paypay://oaut... | Python |
Message(errInvalidJSON), http.StatusBadRequest)
return
}
// Parse body for template keys potential errors
if typ == "collections" || typ == "graphs" {
if reflect.Indirect(rv).FieldByName("Template").Bool() {
data, _ := json.Marshal(rv.Interface())
if _, err := template.Parse(string(data)); err != nil {
... | Go |
npmjs.org/whatwg-url/-/whatwg-url-8.1.0.tgz\",\n \"integrity\": \"sha512-vEIkwNi9Hqt4TV9RdnaBPNt+E2Sgmo3gePebCRgZ1R7g6d23+53zCTnuB0amKI4AXq6VM8jj2DUAa0S1vjJxkw==\",\n \"dev\": true,\n \"requires\": {\n \"lodash.sortby\": \"^4.7.0\",\n \"tr46\": \"^2.0.2\",\n \... | JavaScript |
Result(name, personalNumber, signedText);
CompletionResponse completionResponse = new CompletionResponse(completionResult);
assertEquals(name, completionResponse.getName());
assertEquals(signedText, completionResponse.getSignedText());
assertEquals("12345678-XXXX", completionResponse.g... | Java |
pkey_caps,a0 | yes: use CapsLock table
bras ktab23 | ->
ktab22:
movel pkey_unshift,a0 | use unshifted table
|------------- handling for ASCII codes >= 32
ktab23:
cmpb #32,d0 | ASCII code < 32?
bcss lowascii | yes ->
bsr nk_findscan | find scan code
bnes found2 | found ->
btst #NKFb_FUNC,d0 | func... | Assembly |
;
}
void enableLandmarksTextureless() {
_mapFeatures[MapFeatures.landmarks] = MapFeatureModes.landmarksTextureless;
_mapScene.enableFeatures(_mapFeatures);
}
void enableSafetyCameras() {
_mapFeatures[MapFeatures.safetyCameras] = MapFeatureModes.safetyCamerasAll;
_mapScene.enableFeatures(_mapFe... | Dart |
namespace AngleSharp.Html.Submitters.Json
{
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
sealed class JsonArray : JsonElement, IEnumerable<JsonElement>
{
readonly List<JsonElement> _elements;
public JsonArray()
{
... | C# |
EC_ID);
transfer(0x00);
a = transfer(0x00);
b = transfer(0x00);
deselect();
return (a<<8)|b;
}
bool winbondFlashClass::checkPartNo(partNumber _partno)
{
uint8_t manuf;
uint16_t id;
select();
transfer(R_JEDEC_ID);
manuf = transfer(0x00);
id = transfer(0x00) << 8;
id |= transfer(0x00);
desel... | C++ |
Session? session, AccountId accountId, List<EmailId> emailIds) {
log('EmailChangeListener::_getListDetailedEmailByIdAction():emailIds: $emailIds');
if (_getListDetailedEmailByIdInteractor != null &&
_dynamicUrlInterceptors != null &&
session != null) {
try {
final baseDownloadUrl =... | Dart |
eeper 的时间间隔,单位秒 | 1-10 | 10 |
### 基于 TDinsight 监控 tasoX
“TDinsight for taosX”是专门为 taosX 监控创建的 Grafana 面板。使用前需要先导入这个面板。
#### 进入面板
1. 在 Grafana 界面菜单中点击“Data sources”,然后选择已经配置好的 TDengine TSDB 数据源。
2. 在数据源配置界面选择“Dashboard”Tab, 然后导入“TDinsight for taosX”面板(第一次使用需要先导入)。下面是一个示例图:
... | Markdown |
;
}
/**
* Returns a hex string from a number with leading zeroes.
* @param value The number to convert.
* @param size The number of digits for the resulting string.
* @returns E.g. "AF" or "0BC8". If 'vlaue' is undefined it returns a number of '?'.
*/
protected static getHexString(value: number|undefi... | Typescript |
xtendsImplHandler.getPathToSuperImplClassByFull(fromClassName, toClassName);
if (JavaCG2Util.isCollectionEmpty(classNameList)) {
return Collections.emptyList();
}
if (classNameList.size() == 1) {
// fromClassName 直接继承或实现 toClassName,直接查询
return queryExtImplGen... | Java |
8 38 00 FF FF */ li r0, -1
/* 8037E43C 0037997C 90 1F 00 20 */ stw r0, 0x20(r31)
lbl_8037E440:
/* 8037E440 00379980 7F E3 FB 78 */ mr r3, r31
/* 8037E444 00379984 4B FF EE D9 */ bl func_8037D31C
/* 8037E448 00379988 80 7F 00 94 */ lwz r3, 0x94(r31)
/* 8037E44C 0037998C 4B FC AD 29 */ bl func_80349174
/* 8037E450 ... | Assembly |
# ============================================================
# MicroPython 灰度图二值化测试代码(使用 cv_lite 扩展模块)
# Grayscale Binary Thresholding Test using cv_lite extension
# ============================================================
import time, os, sys, gc
from machine import Pin
from media.sensor import * # 摄像头接口 / Ca... | Python |
FREE
import org.jetbrains.kotlinx.kandy.letsplot.multiplot.facet.ScalesSharing.Companion.FREE_X
import org.jetbrains.kotlinx.kandy.letsplot.multiplot.facet.ScalesSharing.Companion.FREE_Y
import org.jetbrains.kotlinx.kandy.letsplot.multiplot.facet.context.FacetWrapContext
import org.jetbrains.kotlinx.kandy.letsplot.mult... | Kotlin |
fs) {
klog.Infof("NodeUnpublishVolume: VolumeId Unmount global path %s for ack with kubelet data disk", globalPath2)
if err := ns.k8smounter.Unmount(globalPath2); err != nil {
klog.Errorf("NodeUnpublishVolume: volumeId: unmount global path %s failed with err: %v", globalPath2, err)
return status.E... | Go |
//登录账户所在表名
role: localStorage.getItem("role"),//权限
user:{},//当前登录用户信息
form:{
richangrenwuUuidNumber: new Date().getTime(),//数字
richangrenwuName: '',
richangrenwuTypes: '',//数字
richangrenwuValue: '',//数字对应的值
... | HTML |
/*
* File: features.h
*
* Semelhante à glibc, aqui será o lugar de coniguração da biblioteca.
*
* History:
* 2019 - Created by Fred Nora.
*/
#ifndef __FEATURES_H
#define __FEATURES_H 1
/*
Descrições
(baseado na glibc)
These are defined by the user (or the compiler)
to specify the desired envi... | C |
namespace OpenGLBindings
{
/// <summary>
/// Not used directly.
/// </summary>
public enum ArbCompressedTexturePixelStorage
{
/// <summary>
/// Original was GL_UNPACK_COMPRESSED_BLOCK_WIDTH = 0x9127
/// </summary>
UnpackCompressedBlockWidth = 37159,
/// <summa... | C# |
elif defined(_WIN32_WCE)
# define CARES_TYPEOF_ARES_SOCKLEN_T int
#elif defined(__MINGW32__)
# define CARES_TYPEOF_ARES_SOCKLEN_T int
#elif defined(__VMS)
# define CARES_TYPEOF_ARES_SOCKLEN_T unsigned int
#elif defined(__OS400__)
# if defined(__ILEC400__)
# define CARES_TYPEOF_ARES_SOCKLEN_T socklen_t
# de... | C |
n if X_train_model[col].isnull().any():\\n # Use ffill/bfill within groups\\n X_train_model[col] = X_train_model.groupby(LOCATION_COL)[col].transform(lambda x: x.ffill().bfill())\\n\\n # Fill any remaining NaNs (e.g., if a location has no history for lags)\\n # Use 0.0... | HTML |
词的结束,如/love\>/匹配包含以love结尾的单词的行。
x\{m\} 重复字符x,m次,如:/0\{5\}/匹配包含5个0的行。 x\{m,\} 重复字符x,至少m次,如:/0\{5,\}/匹配至少有5个0的行。
x\{m,n\} 重复字符x,至少m次,不多于n次,如:/0\{5,10\}/匹配5~10个0的行。
```
### 1. s命令
s替换内容
`'s/原内容/替换后内容/模式'`
g表示全局替换
```
test.txt文件内容为1133aaabb
cat test.txt | sed 's/a/b/g'
cat test.txt | sed 's/^/开头添加内容/g'
cat test.txt... | Markdown |
tln("job2: I will not execute this line if my parent request is cancelled")
}
}
delay(500)
request.cancel() // cancel processing of the request
println("main: Who has survived request cancellation?")
delay(1000) // delay the main thread for a s... | Kotlin |
a25.24 25.24 0 0 1-1.5.26c-.67.1-1.42.14-2.25.14a6.83 6.83 0 0 1-1.52-.16 3.2 3.2 0 0 1-1.18-.5 2.46 2.46 0 0 1-.76-.9c-.18-.38-.27-.9-.27-1.44 0-.53.1-.86.3-1.22.2-.36.5-.65.84-.88a3.6 3.6 0 0 1 1.24-.5 7.07 7.07 0 0 1 2.2-.1c.26.03.54.08.84.15v-.35c0-.24-.03-.48-.1-.7a1.5 1.5 0 0 0-.3-.58c-.15-.17-.34-.3-.58-.4a2.54 ... | CSS |
sful, lesser positive number if there was
* a short write, or an error code which is negative. */
static int
normal_out_wr(Rq_elem * rep, int64_t lba, int blocks, int d_boff)
{
int res, err;
int id = rep->id;
struct global_collection * clp = rep->clp;
uint8_t * bp = rep->buffp + d_boff;
char strerr... | C++ |
YlxuICAgICAgYnMgPSBiLnNsaWNlKGJpLCBicyk7XG4gICAgICBpZiAoc1tpXSkgc1tpXSArPSBiczsgLy8gY29hbGVzY2Ugd2l0aCBwcmV2aW91cyBzdHJpbmdcbiAgICAgIGVsc2Ugc1srK2ldID0gYnM7XG4gICAgfVxuICAgIGlmICgoYW0gPSBhbVswXSkgPT09IChibSA9IGJtWzBdKSkgeyAvLyBudW1iZXJzIGluIGEgJiBiIG1hdGNoXG4gICAgICBpZiAoc1tpXSkgc1tpXSArPSBibTsgLy8gY29hbGVzY2Ugd2l0aCBw... | JavaScript |
val value: kotlin.String,
) {
@SerialName(value = "TimelineTweet")
timelineTweet("TimelineTweet"),
@SerialName(value = "TimelineTimelineItem")
timelineTimelineItem("TimelineTimelineItem"),
@SerialName(value = "TimelineUser")
timelineUser("TimelineUser"),
@SerialName(value = "TimelineTimel... | Kotlin |
"ineActivityDetailInfo.proto\032\036EffigyActiv" +
"ityDetailInfo.proto\032#TreasureMapActivity" +
"DetailInfo.proto\032 BlessingActivityDetail" +
"Info.proto\032\031SeaLampActivityInfo.proto\032\"E" +
"xpeditionActivityDetailInfo.proto\032&Arena" +
"ChallengeActivityDetailInfo.prot... | Java |
:14,"Blackadder ITC":11,"Bodoni MT":14,"Bodoni MT Black":19,"Bodoni MT Condensed":10,"Bodoni MT Poster Compressed":9,"Book Antiqua":15,"Bookman Old Style":18,"Bookshelf Symbol 7":21,"Bradley Hand ITC":19,"Britannic Bold":18,Broadway:19,"Browallia New":11,BrowalliaUPC:11,"Brush Script MT":15,Calibri:15,"Calibri Light":1... | JavaScript |
asm 1: srl <y2=int64#2,4,>p21=int64#20
# asm 2: srl <y2=%i1,4,>p21=%l3
srl %i1,4,%l3
# qhasm: z2 ^= p02
# asm 1: xor <z2=int64#18,<p02=int64#14,>z2=int64#14
# asm 2: xor <z2=%l1,<p02=%o4,>z2=%o4
xor %l1,%o4,%o4
# qhasm: p11 = *(uint32 *) (table1 + p11)
# asm 1: lduw [<table1=int64#9+<p11=int64#21],>p11=int64#18
# asm... | Assembly |
Morogh. Kharanos|Z|Dun Morogh|
F Ironforge|QID|12335|M|53.76,52.67|N|Talk to Brolan Galebeard.|Z|Dun Morogh|U|37586|
A Incoming Gumdrop|QID|8355|M|36.21,4.03|N|From Talvash del Kissel.|Z|Ironforge|
C Incoming Gumdrop|QID|8355|T|/train|N|click the button for the train.|Z|Ironforge|
T Incoming Gumdrop|QID|8355|M|36.21,4... | Lua |
em;}.yui-toolbar-container .yui-toolbar-titlebar h2 a{text-decoration:none;color:#000;cursor:default;}.yui-toolbar-container.yui-toolbar-grouped span.yui-toolbar-draghandle{height:40px;}.yui-toolbar-container .yui-toolbar-group{float:left;margin-right:.5em;zoom:1;}.yui-toolbar-container .yui-toolbar-group:after{display... | CSS |
, *r6 /* r5 = number of cases + 1 */
ld r4, r5 /* r4 = number of cases + 1 */
inc r6, $2 /* r6 = ptr to case value list */
cpir r7, *r6, r5, eq /* look for correct case value */
add r6, r4
add r6, r4 /* r6 = address of correct code address */
ld r5, -4(r6) /* r5 = correct case code address */
jp *r5 /* jump... | Assembly |
60882a45f",
DBGInviteAll = "43aec80b-9a45-64ef-d123-fbcea7b05c0d",
DBGInviteAllCompanions = "98bcd2b6-c8d5-1a8e-72df-0eb0ded536ee",
DBGInviteAllFollowers = "7492e9a8-119a-40ed-2950-911bb849924e",
DBGInviteIndiPopulate = "41a67fb9-2eb9-d517-0b96-b364a7acc0ca",
DBGNoNightSelection = "b7831dfa-d67c-05a... | Lua |
NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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:/... | Java |
tr_change)
halbtc8723d2ant_run_coexist_mechanism(btcoexist);
}
void ex_halbtc8723d2ant_set_antenna_notify(IN struct btc_coexist *btcoexist,
IN u8 type)
{
struct btc_board_info *board_info = &btcoexist->board_info;
if (btcoexist->manual_control || btcoexist->stop_coex_dm)
return;
if (type == 2) { /* two ant... | C |
if (FIRST_LABELA == true) then
labelA_flag = vector.zeros(name.parts);
FIRST_LABELA = false;
end
labelA_flag[name.partnum] = 1;
labelA_all[name.partnum] = obj.data;
if (check_flag(labelA_flag) == name.parts) then
-- print("full labelA\t",.1/(unix.time() - labelA_t_full).."fps" );
-- labelA_t_full = u... | Lua |
/******************************************************************************
* SunnyUI 开源控件库、工具类库、扩展类库、多页面开发框架。
* CopyRight (C) 2012-2024 ShenYongHua(沈永华). - VIETNAMESE: T.ME/TRANTAIDAKLAK
* QQ群:56829229 QQ:17612584 EMail:SunnyUI@QQ.Com
*
* Blog: https://www.cnblogs.com/yhuse
* Gitee: https://gitee.com/yhu... | C# |
ID": "amountPaid",
"Name": {
"en": "Amount paid",
"nl": "Uitbetaald bedrag"
},
"Description": {
"en": "Column 17: Amount paid (column 3-7-15-16)",
"nl": "Kolom 17: Uitbetaald bedrag (kolom 3-7-15-16)"
},
"Index": 14,
"CredentialType... | Dart |
"CASHPOINT Solutions GmbH", "data": [{ "from": 3276694017, "to": 3276694527 }, { "from": 3244926977, "to": 3244927231 }, { "from": 3117882369, "to": 3117883391 }]}, { "name": "at.cashpoint1", "info": "Cashpoint Solutions GmbH", "data": [{ "from": 37329921, "to": 37330943 }]}, { "name":... | JavaScript |
388.4 8 247.7 8zm.6 450.7c-112 0-203.6-92.5-203.6-202.7 0-23.2 3.7-45.2 10.9-66l65.7 29.1h-4.7v29.5h23.3c0 6.2-.4 3.2-.4 19.5h-22.8v29.5h27c11.4 67 67.2 101.3 124.6 101.3 26.6 0 50.6-7.9 64.8-15.8l-10-46.1c-8.7 4.6-28.2 10.8-47.3 10.8-28.2 0-58.1-10.9-67.3-50.2h90.3l128.3 56.8c-1.5 2.1-56.2 104.3-178.8 104.3zm-16.7-19... | JavaScript |
SPACE;
const TEXT_LINE_SPACE = lvgl_sys::lv_style_prop_t_LV_STYLE_TEXT_LINE_SPACE;
const TEXT_DECOR = lvgl_sys::lv_style_prop_t_LV_STYLE_TEXT_DECOR;
const TEXT_ALIGN = lvgl_sys::lv_style_prop_t_LV_STYLE_TEXT_ALIGN;
/*Group 6*/
const RADIUS = lvgl_sys::lv_style_prop_t_LV_STYLE_RA... | Rust |
upload_volume_factor=uploadvolumefactor,
download_volume_factor=downloadvolumefactor)
# 先过滤掉可以明确的类型
if meta_info.type == MediaType.TV and filter_args.get("type") == MediaType.MOVIE:
log.info(
... | Python |
rr bool
}{
{"negative number port", -1234, true},
{"zero number port", 0, true},
{"minimum valid value port", 1, false},
{"valid value port", 300, false},
{"maximum valid value port", 65535, false},
{"if port greater than 65535", 65538, true},
}
for _, rt := range tests {
t.Run(rt.name, func(t *testing... | Go |
:hover\:text-blue-700:hover{
--tw-text-opacity: 1;
color: rgb(26 86 219 / var(--tw-text-opacity));
}
.md\:dark\:bg-gray-900:is(.dark *){
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.md\:dark\:hover\:bg-transparent:hover:is(.dark *){
background-color: trans... | CSS |
no.Phone.Toolkit.Helpers
{
/// <summary>
/// Represents a language in the application manifest.
/// </summary>
public class ApplicationManifestLanguageNode
{
#region Properties
/// <summary>
/// Gets or sets the language code.
/// </summary>
/// <value>The la... | C# |
CoordType sel3 = viskores::Min(d2, viskores::Min(d4, d5));
CoordType selm = viskores::Max(viskores::Max(sel0, sel1), viskores::Max(sel2, sel3));
viskores::Vec<CoordType, 3> p0 = a0;
viskores::Vec<CoordType, 3> p1 = a1;
viskores::Vec<CoordType, 3> p2 = a2;
viskores::Vec<CoordType, 3> p3 = a3;
if (sel0 == ... | C++ |
subLibItemOVAVer = sli.ContentVersion
case localLibItemISO.Name:
subLibItemISOID = sli.ID
subLibItemISOVer = sli.ContentVersion
}
}
Expect(subLibItemOVAID).ToNot(BeEmpty())
Expect(subLibItemOVAVer).ToNot(BeEmpty())
Expect(subLibItemISOID).ToNot(BeEmpty())
Expect(subLibItemISOVer).ToNot(BeEmpty())
c.Con... | Go |
is closed, so that it
// can release locks or otherwise clean up resources occupied by the
// connection. This is kind of tricky for message ports, because they have
// no "closed" event.
// As a workaround, we're making one side take a unique lock and tell the
// other endpoint about it. When that side close... | Dart |
</a>
</li>
<li>
<a target="_blank" title="Matemática" href="https://www.qconcursos.com/questoes-de-concursos/disciplinas/matematica-matematica" class="nav_footer_link_menu">Matemática</a>
</li>
<li>
<a target="_blank" title="Interpretação de Textos" href="... | HTML |
" width="100%" align="center" class="table_border2 tableList" style="border:1px solid #CCCCCC;border-collapse:collapse;background-color: #FFFFFF;">
<tr>
<td width="1%" nowrap bgcolor="whiteSmoke"></td>
<td width="1%" nowrap bgcolor="whiteSmoke"><input type='checkbox' name='all' id='all' onclick="crawlDataLis... | HTML |
this.model?null:c().createElement(O,{status:this.model.status,kernelName:this.model.kernelName,activityName:this.model.activityName,handleClick:this._handleClick,handleKeyDown:this._handleKeyDown,translator:this.translator})}}!function(e){class t extends s.VDomModel{constructor(e){super(),this._activityName="",this._ke... | JavaScript |
{ // ERROR "can inline newHash$"
return &hash{} // ERROR "&hash{} escapes to heap$"
}
func cloneHash1(h hashIface) hashIface { // ERROR "can inline cloneHash1$" "leaking param: h$"
if h, ok := h.(cloneableHashIface); ok {
return h.Clone()
}
return &hash{} // ERROR "&hash{} escapes to heap$"
}
func cloneHash2(h... | Go |
the error message should mention both _A and the
// filenames so the user can figure out what's going on.
List<AnalysisError> errors = analysisContext2.computeErrors(source);
expect(errors, hasLength(1));
AnalysisError error = errors[0];
expect(StaticWarningCode.ARGUMENT_TYPE_NOT_ASSIGNABLE, error.... | Dart |
[r15]");
/*
* .... 660f38
* .... 660f7f
*/
test_invalid(&[0x66, 0x4f, 0x0f, 0x50, 0x01]);
test_instr(&[0x66, 0x4f, 0x0f, 0x50, 0xc1], "movmskpd r8d, xmm9");
test_instr(&[0x66, 0x4f, 0x0f, 0x51, 0x01], "sqrtpd xmm8, [r9]");
test_instr(&[0xf2, 0x4f, 0x0f, 0x51, 0x01], "sqrtsd xmm8, [... | Rust |
nde de Leñoscuro",
[133234] = "Altar de Archaedas",
[133466] = "Banco",
[133467] = "Banco",
[133468] = "Banco",
[133469] = "Banco",
[136101] = "Sastre",
[136922] = "Fogata",
[136923] = "Fogata",
[136925] = "Fuego llameante",
[136926] = "Fuego llameante",
[136927] = "Fuego llameante",
[136928] = ... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.