content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
pInPreviousContainer=prevSectionOrPoemOrStanza.lastChild;
doNotAddEmptyLine=false;
moving1(true);
if (currentTargetElementType=="subtitles with empty lines before and after") {
pInPreviousContainer=prevSectionOrPoemOrStanza.lastChild;
while (isEmptyLine(pInPreviousContainer))
pInPreviousContainer... | HTML |
class=SEntry><a href="#OpenLayers.Layer.UTFGrid.getFeatureInfo" >getFeatureInfo</a></td><td class=SDescription>Get details about a feature associated with a map location. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#OpenLayers.Layer.UTFGrid.getFeatureId" id=link3 onMouseOver="ShowTip(eve... | HTML |
/* 00914 80A88114 3C0680A9 */ lui $a2, %hi(D_80A88D20) ## $a2 = 80A90000
/* 00918 80A88118 24C68D20 */ addiu $a2, $a2, %lo(D_80A88D20) ## $a2 = 80A88D20
/* 0091C 80A8811C 27A4003C */ addiu $a0, $sp, 0x003C ## $a0 = FFFFFFE4
/* 00920 80A88120 24070382 */ addiu $a3, $zero, 0x0382 #... | Assembly |
27.39c-60.86 67.51-58.65 175 4.748 240.1c68.7 70.57 181.8 71.19 251.3 1.847C361.4 367.5 368 272.9 320.7 204.3zM243.5 371.9c-37.5 37.43-98.51 37.43-136 0s-37.5-98.33 0-135.8c37.5-37.43 98.51-37.43 136 0C281 273.5 281 334.5 243.5 371.9zM623.1 32h-112.6c-21.42 0-32.15 25.85-17 40.97l29.61 29.56L480 146.5v13.91C480 191.3 4... | JavaScript |
e);
expect(File(path.join(supportDir.path, tasksPath, 'test')).existsSync(),
isTrue);
debugPrint('Upgrade done');
});
}
// ignore_for_file: avoid_print, empty_catches
import 'dart:async';
import 'dart:io';
import 'package:background_downloader/background_downloader.dart';
import 'package:flutter/fou... | Dart |
the crap out of it!")
elseif cl == 376 then
cw('bl',"After a few seconds, the consistency of the icing has already improved.")
elseif cl == 377 then
updateNatsuki('4b','a')
cw('n',"See?")
elseif cl == 378 then
cw('bl',"As if to emphasize, Natsuki sticks a finger in the icing and pops it in her mouth.")
else... | Lua |
final class Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ_Err extends Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ {
public final IOError err;
private Result_CVec_C2Tuple_ThirtyTwoBytesChannelMonitorZZIOErrorZ_Err(Object _dummy, long ptr) {
super(_dummy, ptr);
this.err = bindings.C... | Java |
4#{} {C:inactive}Jetons{} {C:mult}+#5#{} {C:inactive}Mult){}",
"{C:red}-#3#{} défausses pour chaque {C:joy_link}Lien{} quand la {C:attention}Blinde{} est choisie",
},
{
"Ne peut pas être {C:attention}ressuscité{}",
... | Lua |
["矹"] = "mfpe",
["鵐"] = "ujjx",
["扜"] = "ufns",
["扤"] = "ufpe",
["杅"] = "efns",
["玝"] = "nens",
["霚"] = "tith",
["俉"] = "jwdk",
["剭"] = "cypd",
["卼"] = "fpxz",
["嫵"] = "belc",
["憮"] = "helc",
["摀"] = "uxu",
["洖"] = "kdfm",
["溩"] = "kxu",
["潕"] = "kelc",
["... | Lua |
f]').match(svgA)).toBeTruthy();
expect(createSelector('[xlink|href]').match(svgA)).toBeFalsy();
const svgAx = createTestElement('<svg><a xlink:href></a></svg>', 'a');
expect(createSelector('[href]').match(svgAx)).toBeTruthy();
expect(createSelector('[|href]').match(svgAx)).toBeTruthy();
expect(createSelector(... | Typescript |
sPred, $nOdd, $rsOffset, $shift;
$insert{"j${j}c4"} = sprintf "--:-:-:-:1 %s LDS.U.128 j%dEx4, [readEs + 4x<%d*128 + 64 + %d*16>];\n", $rsPred, $nOdd, $rsOffset, $shift;
$insert{"j${j}c6"} = sprintf "--:%s:1:-:1 %s LDS.U.128 j%dIy4, [readIs + 4x<%d*128 + 64 + %d*16>];\n", $barrier, $rsPred, $nOdd, $rs... | CSS |
LtGetVersion);
m.def("get_dact_dbias_ct_workspace_sizes", &GetDActDBiasCastTransposeWorkspaceSizes);
m.def("get_dbias_ct_workspace_sizes", &GetDBiasCastTransposeWorkspaceSizes);
m.def("get_layernorm_fwd_workspace_sizes", &GetLayerNormForwardWorkspaceSizes);
m.def("get_layernorm_bwd_workspace_sizes", &GetLayerNo... | C++ |
متۇل كۈلرەڭ","B22222":"خىش قىزىل","A52A2A":"قوڭۇر","DAA520":"ئالتۇن سېرىق","006400":"توق يېشىل","40E0D0":"كۆكۈچ يېشىل","0000CD":"ئوتتۇراھال كۆك","800080":"بىنەپشە","808080":"كۈلرەڭ","F00":"قىزىل","FF8C00":"توق قىزغۇچ سېرىق","FFD700":"ئالتۇن","008000":"يېشىل","0FF":"يېشىل كۆك","00F":"كۆك","EE82EE":"قىزغۇچ بىنەپشە","A9A9... | JavaScript |
import numpy as np
import pandas as pd
import csv
import matplotlib.pyplot as plt
Path_confusion_matrix = '../Confussion matrix/'
Methods = ["EVT", "MEVT(VME)", "MEVT(OF)"]
x = np.arange(len(Methods))
micro_f1_data = [0.8702, 0.9181, 0.8807]
plt.bar(x, micro_f1_data, alpha=0.9, width = 0.35, edgecolor = 'black', lw... | Python |
,rgba(240,240,240,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(204,204,204,1) 12%,rgba(240,240,240,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(204,204,204,1) 12%,rgba(240,240,240,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(204,20... | CSS |
rValveDisconnectPrevious == 0 and self.TrainLinePressure > 1 then
self.DVDOffTimer = CurTime()
Train:PlayOnce("pneumo_disconnect2", "cabin", 0.9)
elseif self.TrainLinePressure > 1 then
self.DVDOffTimer = nil
Train:PlayOnce("pneumo_disconnect1", "cabin", 0.9)
... | Lua |
-.402-.11-.385-.094-.366-.078-.346a11.79 11.79 0 01-.063-.326l-.05-.305-.04-.281-.029-.258-.02-.233-.016-.3c-.081-2.196 1.6-4.329 3.544-5.162a1.47 1.47 0 011.445.159ZM5.93 4.253c-1.072.56-2.11 1.84-2.063 3.121l.02.328.022.205.029.23.04.253.051.277.065.298.08.32.096.339.114.358c.042.122.086.247.134.375l.154.392.176.407c... | Dart |
_, x)) // NOT('0') gets '1'. Anything else gets '0'.
#define _BOOL(x) NOT(NOT(x)) // NOT('0') gets '0'. Anything else gets '1'.
#define _DO_1(W,C,A) (_##W##_1(A))
#define _DO_2(W,C,A,B) (_##W##_1(A) C _##W##_1(B))
#define _DO_3(W,C,A,V...) (_##W##_1(A) C _DO_2(W,C,V))
#define _DO_4(W,C,... | C |
n(100));
expect(element.scrollWidth, greaterThan(100));
expect(element.scrollHeight, greaterThan(100));
expect(element.getBoundingClientRect().left, 9);
expect(element.getBoundingClientRect().top, 8);
expect(element.documentOffset.x, 9);
expect(element.documentOffset.y, 8);
co... | Dart |
, err = test.GetInitialContextSetupResponse(ue.AmfUeNgapId, ue.RanUeNgapId)
assert.Nil(t, err)
_, err = conn.Write(sendMsg)
assert.Nil(t, err)
// send NAS Registration Complete Msg
pdu = nasTestpacket.GetRegistrationComplete(nil)
pdu, err = test.EncodeNasPduWithSecurity(ue, pdu, nas.SecurityHeaderTypeIntegrityPr... | Go |
:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<properties>
<camelSalesforce.clientId>5MVG9uudbyLbNPZOFutIHJpIb2nchnCiNE_NqeYcewMCPPT8_6VV_LQF_CJ813456GxzhxZdxlGwbYI_yzHmz</camelSalesforce.clientId>
<camelSalesforce.userName>foo@bar.com</camelSalesforce.userNam... | Markdown |
*/
}
/* TODO : Need to implement getBlockHeader and acceptBlockHeader when we implement the headers-first approach.
/** Get a block header
*
* @param blockHash The hash of the block to get.
* @return Some(blockHeader) if the block header exists; None otherwise.
*/
fun getBlockHeader(blockHash... | Kotlin |
nu()
draw()
ImGui.PopStyleVar(ctx, 4)
ImGui.PopStyleColor(ctx, 8)
ImGui.End(ctx)
end
ImGui.PopStyleColor(ctx, 2)
ImGui.PopFont(ctx)
if exit or ImGui.IsKeyPressed(ctx, ImGui.Key_Escape) then
open = false
end
if open then
r.defer(loop)
end
end
function previousSlot()
local sl... | Lua |
e))return !0;for(let e=0;e<t.length-1;e++)if(Ga(t[e],t[e+1],a))return !0;return !1}(t.cameraQueryGeometry,e-u,r-u,n+u,i+u)));for(const t of f)h.push(t);h.sort(Nc);const d={};let y;for(let s=0;s<h.length;s++){const u=h[s];if(u===y)continue;y=u;const c=this.featureIndexArray.get(u);let p=null;this.loadMatchingFeature(d,c... | HTML |
http://petstore.swagger.io:80/v2/inline-additionalProperties
curl -X POST http://petstore.swagger.io:80/v2/inline-freeform-additionalProperties
curl -X GET http://petstore.swagger.io:80/v2/jsonFormData
curl -X POST http://petstore.swagger.io:80/v2/nullable
curl -X PUT http://petstore.swagger.io:80/v2/test-query-parame... | Markdown |
DK Base
// Version : 1.0
//
// Category : Helpers
// Filename : base/source/fdebug.cpp
// Created by : Steinberg, 1995
// Description : There are 2 levels of debugging messages:
// DEVELOPMENT During development
// RELEASE Program is shipping.
//
//--... | C++ |
=85&auto=format&fit=max&s=704f7ccde7a280c8848cb7d9b33ba924 3250w, https://i.guim.co.uk/img/media/df84b519a877d652e950ecd4248320eec985934e/0_507_4039_2693/master/4039.jpg?width=3500&quality=85&auto=format&fit=max&s=94f93e7b1b6493f83be2317fd8fdd67c 3500w, https://i.guim.co.uk/img/media/df84b51... | HTML |
break;
}
case 'dam': {
buffer = 10;
break;
}
case 'dm': {
buffer = 1 / 10;
break;
}
case 'cm': {
buffer = 1 / 100;
break;
}
case 'mm': {
buffer = 1 / 1000;
break;
}
case 'in':
case '... | Typescript |
CPU_AH, MEMR_READ16(CPU_SS, CPU_SP + 2)));
}
#endif
#if 0
if (vect == 0x69) {
TRACEOUT(("%.4x:%.4x INT-69 AX=%.4x", cs, eip, CPU_AX));
}
#endif
#if 0
if ((vect == 0x40) && (CPU_AX != 4)) {
TRACEOUT(("%.4x:%.4x INT-40 AX=%.4x", cs, eip, CPU_AX));
}
#endif
#if 0
if (vect == 0x7f) {
switch(CPU_AH) {
case ... | C |
**普通管理员账号**:`admin`
- **超级管理员账号**:`super`
- **密码**:`123456`
普通管理员,可以预览后台非敏感信息。登入后台后请及时修改管理员密码,或按需要禁用普通管理员。
请确保遵循上述步骤进行配置和启动,以保证系统的正确运行。
## 刷新404问题
- 前端在刷新时可能会出现404问题,需要对 **Nginx** 进行配置。请参考相关文档进行配置。
## 项目升级
1. **拉取更新**
- 拉取新的整合包:`git pull`
2. **删除旧进程**
- 删除旧的 PM2 进程。
3. **安装依赖**
- 运行命令:`pnpm install... | Markdown |
teWrapper
import com.cjj.re.wrapper.GroupByAggregateWrapper
import kotlin.reflect.KProperty
class ReIntAggregate<T>(private val aggregate: ReAggregate<T>) : ReNumberAggregate<T, Int> {
fun count(column: KProperty<*>?, wrapper: (AggregateWrapper.() -> Unit)?): Int {
return aggregate.aggregateInt(AggregateF... | Kotlin |
subclass=JSInt])*/
testIsCheck21(/*[null|subclass=Object]*/ a) {
if (a is int || a is List) {
return a;
} else {
return 42;
}
}
/*member: testIsCheck22:Union([subclass=JSArray], [subclass=JSInt])*/
testIsCheck22(/*[null|subclass=Object]*/ a) {
return (a is int || a is List) ? a : 42;
}
/*member: testI... | Dart |
Video:281f261f-83c2-4a78-bb65-296d7b35bfcb":{"__typename":"Video","id":"281f261f-83c2-4a78-bb65-296d7b35bfcb"},"Article:e510de10-9e76-4fb0-a13b-ec68778b4c68":{"__typename":"Article","id":"e510de10-9e76-4fb0-a13b-ec68778b4c68","slug":"lettre-d-assa-traore-4343297","title":"La lettre d'Assa Traore","publishAt":"2016-09-1... | HTML |
this.#pointerDownAC = null;
}
};
container.addEventListener("pointerdown", e => {
if (e.pointerType === "touch") {
stopEvent(e);
cancelPointerDown(e);
}
}, opts);
container.addEventListener("pointerup", cancelPointerDown, opts);
container.ad... | JavaScript |
>
<td class="xi1"> + 20</td>
<td class="xg1"></td>
<td class="xg1">MCBBS有你更精彩~</td>
</tr>
<tr id="rate_27788792_4514824">
<td>
<a href="home.php?mod=space&uid=4514824" target="_blank"><img src="https://attachment.mcbbs.net/uc_server/data/avatar/004/51/48/24_avatar_big.jpg/small" onerror="this.onerror=null;this.src=... | HTML |
4F
//
//# NV_future_use: 0x8C50-0x8C6F
//
//# EXT_texture_compression_latc enum:
//# COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70
//# COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT = 0x8C71
//# COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72
//# COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C73
//
//# NV_future_use: 0x8C74-0x8C... | Kotlin |
员账号(用于获取高音质资源)
### 安装步骤
1. **克隆项目**
```bash
git clone https://github.com/Suxiaoqinx/Netease_url.git
cd Netease_url
```
2. **安装依赖**
```bash
pip install -r requirements.txt
```
3. **配置Cookie**
在 `cookie.txt` 文件中填入黑胶会员账号的Cookie:
> 💡 **获取Cookie方法**:
> 1. 登录网易云音乐网页版
> 2. 按F12打开开... | Markdown |
cs.google.com/presentation/d/1WrkeJ9-CjuotTXoa4ZZ1B3UPBXpxe4B3FMs9R9tn34I](https://docs.google.com/presentation/d/1WrkeJ9-CjuotTXoa4ZZ1B3UPBXpxe4ZZZ1B3UPBXpxe4B3FMs9R9tn34I](01/12/2024에 방문됨)\n' +
'*[Bengio, Septi2023] Bengio, Yoshua(Sept. 2023). _ AI와 재앙적 위험. url: [https://www.journalof](https://www.journalof) de... | HTML |
/i3-4.1.2.tar.bz2">i3-4.1.2.tar.bz2</a></td>
<td>550 KiB</td>
<td><a href="/downloads/i3-4.1.2.tar.bz2.asc">signature</a></td>
<td>2012-01-27</td>
<td><a href="/downloads/RELEASE-NOTES-4.1.2.txt">release notes</a></td>
</tr>
<tr class="oldversion">
<td>4.1.1</td>
<td><a href... | HTML |
-- items: 13172, 13717
function event_say(e)
local qglobals = eq.get_qglobals(e.other);
if(e.message:findi("hail")) then
e.self:Say(string.format("Hello, %s. I am Sneed Galliway, merchant and citizen. I run the only general store in all of Qeynos, serving the needs of the many adventurers who call Qeynos home. I... | Lua |
to reflect compostion
* - KPI board
* - PDP = Pie, Doughnut, Polar Area
*
* 1. Master Data, Transaction: (Active, Inactive) (Marked, Unmarked)
* - getDataByStatus
*
* 2. Request: (Draft, In progress, ...)
* - getDataByProgress
*****************************************************************... | Typescript |
),
WHITE("white", 0xF9FFFE, DyeColor.WHITE),
ORANGE("orange", 16351261, DyeColor.ORANGE),
MAGENTA("magenta", 13061821, DyeColor.MAGENTA),
LIGHT_BLUE("light_blue", 3847130, DyeColor.LIGHT_BLUE),
YELLOW("yellow", 16701501, DyeColor.YELLOW),
LIME("lime", 8439583, DyeColor.LIME),
PINK("pink", 15961002, DyeColor.PINK... | Kotlin |
="class in com.google.android.exoplayer2.text.webvtt">WebvttCssStyle</a></td>
<th class="colLast" scope="row">
<div class="block">Style object of a CSS style block in a WebVTT file.</div>
</th>
</tr>
<tr id="i1258" class="altColor">
<td class="colFirst"><a href="com/google/android/exoplayer2/text/webvtt/WebvttCssStyle.... | HTML |
64, f64), tol: f64) -> (Vec<f64>, Vec<Self::Point>) {
let a = self.transform;
let n = a[0][0] * a[0][0]
+ a[0][1] * a[0][1]
+ a[0][2] * a[0][2]
+ a[1][0] * a[1][0]
+ a[1][1] * a[1][1]
+ a[1][2] * a[1][2]
+ a[2][0] * a[2][0]
... | Rust |
verify
import org.mockito.MockitoAnnotations
import org.mockito.junit.MockitoJUnitRunner
import java.util.concurrent.Executor
import java.util.concurrent.ScheduledThreadPoolExecutor
/**
* Unit tests for [VillageViewModel]
*/
// Adding Silent to avoid the org.mockito.exceptions.misusing.UnnecessaryStubbingException f... | Kotlin |
this.appTabId;
}
private onTabsUpdated(id: number, changeInfo: chrome.tabs.TabChangeInfo) {
if (this.isPanelTab(id) === false && changeInfo.status === 'complete') {
this.dispatchEvent(
'onTabsUpdated',
`onTabsUpdated ${id}:${JSON.stringify(changeInfo)}`
);
}
}
private onTa... | Typescript |
:700}.conversejs .alert-dismissible{padding-right:4rem}.conversejs .alert-dismissible .close{position:absolute;top:0;right:0;z-index:2;padding:.75rem 1.25rem;color:inherit}.conversejs .alert-primary{color:#004085;background-color:#cce5ff;border-color:#b8daff}.conversejs .alert-primary hr{border-top-color:#9fcdff}.conve... | CSS |
let complexity = complexity_metrics.get(&name).unwrap();
let mut stats = vec!(
name.clone(),
kanji_1plus.to_string(),
kanji_2plus.to_string(),
chars.to_string(),
... | Rust |
#[doc = " - either \\b N or \\b incx is zero, or"]
#[doc = " - the leading dimension is invalid;"]
#[doc = " - \\b clblasInvalidMemObject if either \\b A or \\b X object is"]
#[doc = " Invalid, or an image object rather than the buffer one;"]
#[doc = " - \\b clblasOutOfHostMemory if the ... | Rust |
Yiwu Yabğu","@"],
[ 628, 632,null,"肆叶护可汗","@","@"],
[ 642, 643,null,"咄陆可汗","@","@"],
[ 642, 651,null,"乙毘射柜可汗","@","@"],
[ 651, 657,null,"沙鉢罗可汗","@","@"],
],
[null, 600, 1000,
[ 600, 1000,null,"ドヴァーラヴァティー王国","Dvaravati kingdom","陀罗钵地王国","ドヴァラヴァティ","Dvaravati","陀罗钵地",2800,740,1],
],
[null, 602, 630,
[ 602, ... | JavaScript |
//
//
/*
Copyright (C) 2004- 2008, Hammersmith Imanet Ltd
This file is part of STIR.
SPDX-License-Identifier: Apache-2.0
See STIR/LICENSE.txt for details
*/
#ifndef __stir_array_index_functions_h_
#define __stir_array_index_functions_h_
/*!
\file
\ingroup Array
\brief a variety of useful func... | C |
.launcher3.workspace
import android.content.Context
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.SmallTest
import androidx.test.platform.app.InstrumentationRegistry
import com.android.launcher3.AbstractDeviceProfileTest
import com.android.launcher3.tests.R as TestR
import com.andro... | Kotlin |
rd</a> <a href="qassistantclient.html#showPage">QAssistantClient</a></li>
<li>showPopup: <a href="qcombobox.html#showPopup">QComboBox</a></li>
<li>showPreviousMonth: <a href="qcalendarwidget.html#showPreviousMonth">QCalendarWidget</a></li>
<li>showPreviousYear: <a href="qcalendarwidget.html#showPreviousYear">QCalendarW... | HTML |
e syscall must deposit
* a non-zero value in pt_regs.r8 to indicate an error.
* If pt_regs.r8 is zero, we assume that the call completed
* successfully.
*/
PT_REGS_UNWIND_INFO(0)
ld8 r3=[r2] // load pt_regs.r8
sub r9=0,r8 // negate return value to get errno
;;
mov r10=-1 // return -1 in pt_regs.r10 to i... | Assembly |
FB)
}
}
}
// SetID in section header and in packet.
func (msg *Message) SetID(id uint16) {
msg.Header.ID = id
if len(msg.packet) > 2 {
binary.BigEndian.PutUint16(msg.packet, id)
}
}
// SetQuery set the message as query (0) or as response (1) in header and in
// packet.
// Setting the message as query will als... | Go |
=== 'class' || key === 'style' || isReservedAttribute(key)) {
hash = data;
}
else {
var type = data.attrs && data.attrs.type;
hash =
asProp || config.mustUseProp(tag, type, key)
... | JavaScript |
using System.Collections.Generic;
using UnityEngine;
using CraftSharp.Resource;
namespace CraftSharp.Rendering
{
public class ChunkMaterialManager : MonoBehaviour
{
public Material AtlasSolid;
public Material AtlasCutout;
public Material AtlasCutoutMipped;
public Material Atlas... | C# |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using API.Data;
using API.Data.Repositories;
using API.DTOs.SeriesDetail;
using API.Entities;
using API.Entities.Enums;
using API.Extensions;
using API.Helpers.Builders;
using API.Services.Plus;
using AutoMapper;
using Hangfire;
using M... | C# |
or ____switch32 == "onExit" -- 149
if ____cond32 then -- 149
cnode:slot("Exit", v) -- 150
break -- 150
end -- 150
____cond32 = ____cond32 or ____switch32 == "onCleanup" -- 150
if ____cond32 then -- 150
cnode:slot("Cleanup", v) -- 151
break -- 151
end -- 151
____cond32 = ____cond32 or ... | Lua |
/***************************************************************************//**
* @file
* @brief BGM measure context characteristic
*******************************************************************************
* # License
* <b>Copyright 2025 Silicon Laboratories Inc. www.silabs.com</b>
************************... | C |
.predict_retention_score(cid)
else:
with self.cache_manager.pattern_lock:
if cid not in self.cache_manager.access_patterns:
return 0.0
pattern = self.cache_manager.access_patterns[cid]
return pattern.retenti... | Python |
omits replaced content", () => {
let cm = decoEditor("foobar", [r(1, 4)])
ist(text(cm.contentDOM), "far")
})
it("can replace across lines", () => {
let cm = decoEditor("foo\nbar\nbaz\nbug", [r(1, 14)])
ist(cm.contentDOM.childNodes.length, 1)
ist(text(cm.contentDOM.firstChild!), "f... | Typescript |
.0
use std::convert::TryInto;
use crate::*;
// \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\
pub const SC_UINT8_LENGTH: usize = 1;
// \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\ // \\
pub fn uint8_decode(dec: &mut WasmDecoder) -> u8 {
dec.byte()
}
pub fn ... | Rust |
return ImmutableChildObject(
variable: variable ?? this.variable,
childVariable: childVariable ?? this.childVariable,
);
}
}
/* AUTOMATICALLY GENERATED CODE DO NOT MODIFY */
/* To generate run: "serverpod generate" */
// ignore_for_file: implementation_imports
// ignore_for_file: library_private... | Dart |
const inputFilePath = path.join(process.env.TQ_AOC_INPUT_FOLDER, 'day2.txt');
const inputFileContents = fs.readFileSync(inputFilePath, 'utf-8');
// Next, let's put every number in the input file into an array
const input = inputFileContents.split(',').map(val => Number(val));
// If the last line is blank, re... | Typescript |
Player.GetNotifications();
if(pNotifications)
{
pNotifications->Add(eNotificationType, strMessage, strSummary, iX, iY, iGameDataIndex, iExtraGameData);
}
}
}
}
/* -------------------------------------------------------------------------------------------------------
© 1991-2012 Take-Two Interactive Sof... | C++ |
Infof("⚠️ 使用第一个 forward 配置作为本地DNS: tag=%s 在 %s (索引 %d)", tagStr, configPath, i)
return config, nil
}
}
}
}
} else {
utils.Logger.Debugf("无法解析 %s 为数组格式: %v", configPath, err)
}
// 尝试读取为单个对象格式
if config, err := utils.ReadYAMLConfig(configPath); err == nil {
utils.Logger.Debugf("成... | Go |
) { z = value }
override inline var p get() = z; set(value) { z = value }
//@formatter:on
override inline operator fun get(index: Int) = array[ofs + index]
inline operator fun set(index: Int, value: Double) {
array[ofs + index] = value
}
override inline operator fun component1() = x
... | Kotlin |
-- Bresenham-based Supercover line marching algorithm
-- See: http://lifc.univ-fcomte.fr/home/~ededu/projects/bresenham/
-- Note: This algorithm is based on Bresenham's line marching, but
-- instead of considering one step per axis, it covers all the points
-- the ideal line covers. It may be useful for example when... | Lua |
splice(i, 1); }
});
this._triples.next(Object.assign({}, this.dataStore).triples);
}, error => console.log('Could not delete triple.'));
}
}
/**
* The Alert component is used to notify important messages to the user. It is recommended to use it with overlay or overridden shadows.
*
*```tsx
* imp... | Typescript |
ors).toHaveProperty(property);
delete creators[property];
});
expect(Object.keys(creators)).toHaveLength(0);
});
it("should check fetchUserGroups return the correct object", () => {
const data = { per: 1, managed: true };
const expectedAction = {
type: actions.USER_GROUPS,
api: ... | JavaScript |
label": "元氏县", "value": "元氏县" }, { "label": "赵县", "value": "赵县" }, { "label": "辛集市", "value": "辛集市" }, { "label": "藁城市", "value": "藁城市" }, { "label": "晋州市", "value": "晋州市" }, { "label": "新乐市", "value": "新乐市" }, { "label": "鹿泉市", "value": "鹿泉市" }] }, { "label": "唐山市", "value": "唐山市", "children": [{ "label": "路南区", "valu... | JavaScript |
ar2315_rst_reg_write(AR2315_PCICLK, AR2315_PCICLK_PLLC_CLKM |
(AR2315_PCICLK_IN_FREQ_DIV_6 <<
AR2315_PCICLK_DIV_S));
ar2315_rst_reg_mask(AR2315_AHB_ARB_CTL, 0, AR2315_ARB_PCI);
ar2315_rst_reg_mask(AR2315_IF_CTL, AR2315_IF_PCI_CLK_MASK |
AR2315_IF_MASK, AR2315_IF_PCI |
AR2315_IF_PCI_HOST... | C |
index := pItem.Index
dataMutex.RLock()
defer dataMutex.RUnlock()
if index < 0 || index >= int32(len(listItems)) {
return 0
}
item := listItems[index]
for col := int32(0); col < list.GetColumnCount(); col++ {
hEle := list.GetTemplateObject(index, col, 1)
if xc.XC_GetObjectType(hEle) == xcc.XC_SHAPE_TEXT ... | Go |
padding-left: 0;
}
.layer-switcher ul ul {
padding-left: 1.2em;
margin: 0.1em 0 0 0;
}
.layer-switcher li.group + li.group {
margin-top: 0.4em;
}
.layer-switcher li.group + li.layer-switcher-base-group {
}
.layer-switcher li.group > label {
font-weight: bold;
}
.layer-switcher.layer-switcher-group-select-styl... | CSS |
, "__db.rep.egen*").Length +
Directory.GetFiles(
testHome, "__db.rep.init*").Length;
Assert.Less(0, cnt);
// Set Metadata Directory
Configuration.ClearDir(testHome);
string md = testHome + "/" + "Meta";
Directory.CreateDirectory(md);
cfg.MetadataDir = "Meta";
env = DatabaseEnvironmen... | C# |
# Copyright (c) OpenMMLab. All rights reserved.
import numpy as np
import torch
batch_size = 1
STATIC_JOINT_NUM = 25
JOINT_ID_BONE_DICT = {
0: 0,
1: 1,
2: 2,
3: 3,
5: 4,
6: 5,
7: 6,
8: 7,
10: 8,
11: 9,
12: 10,
13: 11,
15: 12,
16: 13,
17: 14,
18: 15,
... | Python |
torg
f8:
adds r0, r0, #1
@ check that ltorg works for labels
.section __TEXT,d,regular,pure_instructions
@ CHECK-LABEL: f9:
f9:
adds r0, r0, #1
adds r0, r0, #1
ldr r0, =bar
@ CHECK: ldr r0, Ltmp3
adds r0, r0, #1
adds r0, r0, #1
adds r0, r0, #1
b f10
.ltorg
@ constant pool
@ CHECK: .data_region
@ CHECK:... | Assembly |
/* Copyright 2020 The TensorFlow Authors. 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 applicable law or a... | C |
ccess .a-Button--link:hover {
color: #fff;
}
.amis-scope .a-Table-v2 .a-Table-table > tbody > tr.bg-success .open > a,
.amis-scope .a-Table-v2 .a-Table-table > tbody > tr.bg-success .open > a:hover,
.amis-scope .a-Table-v2 .a-Table-table > tbody > tr.bg-success .open > a:focus {
color: #fff;
}
.amis-scope .a-Tabl... | CSS |
GROUP_ABSOLUTE)
pub type xcb_xkb_sa_t = u32;
/// The `xkb::SA::ClearLocks` enum variant.
///
/// This is a variant of [`xcb_xkb_sa_t`].
pub const XCB_XKB_SA_CLEAR_LOCKS: xcb_xkb_sa_t = 1;
/// The `xkb::SA::LatchToLock` enum variant.
///
/// This is a variant of [`xcb_xkb_sa_t`].
pub const XCB_XKB_SA_LATCH_TO_LOCK: xcb_... | Rust |
_6_2.a3_0_2_3_6_2 + -7.4503619043992485E-09) - ((Convert.ToInt16(Convert.ToInt16(33264 - arr3d_0_2_3_6_2[4, 0, 3]) / 1.8986474770244495) * clstatic_0_2_3_6_2.a3_0_2_3_6_2)))));
}
}
return Convert.ToSingle(Convert.ToSingle(Convert.ToUInt32(3922566528U % 2340220416U) * ((clstatic_0_2_3_6_2.a3_... | C# |
aks: IgnoredLeaks(
experimentalNotGCed: newNotGCed,
notDisposed: newNotDisposed,
createdByTestHelpers:
ignoredLeaks.createdByTestHelpers && !createdByTestHelpers,
testHelperExceptions: ignoredLeaks.testHelperExceptions,
),
);
return result;
}
/// Creates a ... | Dart |
-in"></a>
#### not_in:_foo_,_bar_,...
필드 값이 지정된 값 목록에 포함되어서는 안 됩니다. `Rule::notIn`으로도 작성할 수 있습니다:
```
use Illuminate\Validation\Rule;
Validator::make($data, [
'toppings' => [
'required',
Rule::notIn(['sprinkles', 'cherries']),
],
]);
```
<a name="rule-not-regex"></a>
#### not_regex:_pattern_
... | Markdown |
ackbones for {}...'.format(cfg.EXP_GROUP_PATH))
# log to file
logger.info('**********************Start logging**********************')
gpu_list = os.environ['CUDA_VISIBLE_DEVICES'] if 'CUDA_VISIBLE_DEVICES' in os.environ.keys() else 'ALL'
logger.info('CUDA_VISIBLE_DEVICES=%s' % gpu_list)
if dist_te... | Python |
lst off
*------------------------------------------------- rotcube
mainYoffset = 46 ;(192-60)/2
botYoffset = 72
mainXoffset = 68 ;(280-144)/2
color = $E4
page = $E6
dum 0
index ds 1
ysave ds 1
yadd ds 1
yoffset ds 1
dend
*-------------------------------------------------
rotcube jsr $f3e2 ;hgr
jsr $f3d8 ;hgr2
... | Assembly |
ll.Stat_t)
if !ok {
return fmt.Errorf("findSymlinks - could not convert fileInfo to Stat_t for %s", fullName)
}
if _, ok := devices[uint64(sysStatInfo.Dev)]; !ok {
log.Debugf("findSymlinks: ignoring %v (by device id - %v)", fullName, sysStatInfo.Dev)
//NOTE:
//don't return filepath.SkipDir for... | Go |
003580",
padding: 10,
borderRadius: 8,
alignItems: "center",
},
signOutText: {
color: "#fff",
fontSize: 16,
fontWeight: "bold",
},
});
export default ProfileScreen;
const fs = require( 'fs' );
const gulp = require( 'gulp' );
const rename = require( 'gulp-rename' );
const changed = requir... | JavaScript |
Error) => {
apiStatus.open = false;
apiStatus.error = e;
});
}
export function getStatus() {
return apiStatus;
}
import ChatTypes from 'keybase-bot/lib/types/chat1'
import {Issue as JiraIssue} from './jira'
import {numToEmoji, statusToEmoji} from './emoji'
import {SearchMessage} from './messag... | Typescript |
, PartialOrd, Ord)]
pub struct Uuid {
discriminant: u8,
hash: u64,
}
impl Uuid {
pub const fn new(discriminant: u8, hash: u64) -> Self {
Self { discriminant, hash }
}
const fn from_u128(uuid: u128) -> Self {
Self::from_le_bytes(uuid.to_le_bytes())
}
#[allow(clippy::many_si... | Rust |
["E.LFS"] = 16,
["E.MCRIT"] = 54,
["E.MIMU"] = 0,
["E.MP"] = 0,
["E.MPS"] = 845,
["E.MR"] = 12,
["E.MRI"] = 10,
["E.PIMU"] = 0,
["E.SILR"] = 0,
["E.SKL"] = 0,
["E.STR"] = 404.2,
["GS"] = 1966.3,
["HEAL"] = 60,
["HIT"] = 0,
["HP"]... | Lua |
= "Б/с",
zh_TW = "位元組/秒"
};
-- Download rate when we don't know the goal (can't report time left).
-- This is a number (%0) followed by the localized "KB/s" or "B/s" (%1).
["%0 %1"] = {
af = "%0 %1",
ar = "%0 %1",
cs = "%0 %1",
da = "%0 %1",
de = "%0 %1... | Lua |
ect=_data[m_obj].go.xform, method=clear_object}} --via.GameObjects
end
for name, method in orderedPairs(o_tbl.propdata.simple_methods or {}) do
if imgui.button(name) then
deferred_calls[m_obj] = { func=method:get_name() }
end
end
imgui.tree_pop()
end
imgui.spacing()
if o_t... | Lua |
String ssoDeviceCode,
String accessToken,
int accessTokenExpire,
) async {
try {
final String result = await platform
.invokeMethod('awsGetSSOToken', <String, dynamic>{
'accountID': accountID,
'roleName': roleName,
'ssoRegion': ssoRegion,
... | Dart |
square)](https://hub.docker.com/r/appium/appium/)
[](https://microbadger.com/images/appium/appium)
# Appium Docker for Android
## Why is this approach needed at first place?
- Helps in quick & easier setup of automation environment for Appium + Andro... | Markdown |
rsWithout("1").size(), 3);
assertTrue(configuration.getMembersWithout("1").contains(last));
assertFalse(configuration.getMembersWithout("1").contains(effect));
}
public void testGetLastMembers() {
List<Endpoint> nodes = new ArrayList<>();
Endpoint effect = RpcUtil.parseEndpoint(... | Java |
talla de torio enormes y la libranza del artesano: hacha de batalla de torio enorme al maestro de manada Mazadura que está en la Capilla de la Esperanza de la Luz, en las Tierras de la Peste del Este."}},
[9183] = {"Libranza del artesano: aro radiante", nil, {"Entrega 3 aros radiantes y la libranza del artesano: aro ra... | Lua |
t ? "objective-c++-header" : "c++-header");
break;
case ProjectFile::CXXHeader:
options += QLatin1String(objcExt ? "objective-c++-header" : "c++-header");
break;
case ProjectFile::ObjCHeader:
options += QLatin1String(language == Language::C ? "objective-c-header"
... | C++ |
LE_TIME_ERROR.READ_POTENTIALLY_UNASSIGNED_FINAL
// [cfe] Final variable 'x' must be assigned before it can be used.
}
{
final dynamic x;
if (b) {
x = 3;
}
(null == x);
// ^
// [analyzer] COMPILE_TIME_ERROR.READ_POTENTIALLY_UNASSIGNED_FINAL
// [cfe] Final variable 'x' mus... | Dart |
28.1186 25.7617 27.9585" stroke="white" stroke-width="0.697917" stroke-miterlimit="10"></path></g><defs><clipPath id="clip0_14632_180296"><rect width="48" height="48" rx="24" fill="white"></rect></clipPath></defs></svg></div><div style="margin-left: -13.3333px;"><svg width="48" height="48" viewBox="0 0 48 48" fill="no... | HTML |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.