content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
, U+6eef, U+6ef4, U+6ef8, U+6efe-6eff, U+6f01-6f02, U+6f06, U+6f0f, U+6f11, U+6f14-6f15, U+6f20, U+6f22-6f23, U+6f2b-6f2c, U+6f31-6f32, U+6f38, U+6f3f, U+6f41, U+6f51, U+6f54, U+6f57-6f58, U+6f5a-6f5b, U+6f5e-6f5f, U+6f62, U+6f64, U+6f6d-6f6e, U+6f70, U+6f7a, U+6f7c-6f7e, U+6f81, U+6f84, U+6f88;
}
/* [61] cn */
@font-f... | CSS |
c28.6 7.6 63.6 16.8 89.6 33.8c14.2 9.3 27.6 21.9 35.9 39.5c8.5 17.9 10.3 37.9 6.4 59.2c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.1-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.5 75.... | JavaScript |
_8x8, B_L1_8x8 */
return ERR_NONE;
}
uiSubMbType = 3;
WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx + 2, uiCode));
if (uiCode) {
WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx + 3, uiCode));
if (uiCode) {
WELS_READ_VERIFY (DecodeBinCabac (pCabacDecEngine, pBinCtx + 3, ... | C++ |
toDocumentoDto? concepto = _conceptoDocumentoRepository.BuscarPorCodigo(codigoConcepto);
_logger.LogInformation("{@Concepto}", concepto);
}
/// <inheritdoc />
public void BuscarPorId()
{
var idConcepto = 1;
ConceptoDocumentoDto? concepto = _conceptoDocumentoRepository.BuscarPo... | C# |
interpolations: Array<any>): ReactElement
export declare function render(vnode: ValidRenderResult, parent: Element | Document | ShadowRoot | DocumentFragment, replaceNode?: Element | Text): void
export declare function hydrate(vnode: ValidRenderResult, parent: Element | Document | ShadowRoot | DocumentFragment): void
... | Typescript |
ck is active. The number of primitives actually written
will be less than the number attempted to be written
if the bound transform feedback buffer size was too small
for the number of primitives actually drawn. */
#ifdef VK_EXT_transform_feedback
class TransformFeedbackQuery : public QueryPoo... | C |
roduces splice commands.
*/
public final class SpliceInfoDecoder implements MetadataDecoder {
private static final int TYPE_SPLICE_NULL = 0x00;
private static final int TYPE_SPLICE_SCHEDULE = 0x04;
private static final int TYPE_SPLICE_INSERT = 0x05;
private static final int TYPE_TIME_SIGNAL = 0x06;
private ... | Java |
columns: number = Math.floor(canvasWidth / tileWidth);
initialize(boardDiv: HTMLDivElement) {
this.boardDiv = boardDiv;
}
reset() {
this.map = {};
while (this.boardDiv.firstChild) {
this.boardDiv.removeChild(this.boardDiv.firstChild);
}
}
insertRand... | Typescript |
first page (B) is concurrently reused for a different purpose. In this
* case we should have a mechanism to determine that the reference from page (A) to page (B) is no longer valid.
* This is ensured by page ID rotation - together with page's (B) ID we should write some value that is incremented
* each time a page ... | Java |
os"
"os/exec"
"os/signal"
"sync"
"syscall"
"github.com/google/uuid"
"github.com/gorilla/websocket"
"golang.org/x/sync/errgroup"
)
type Message struct {
ID string `json:"id"`
Type string `json:"type"`
Payload Payload `json:"payload"`
}
type Payload struct {
Data Data `json:"data"`
}
type Data st... | Go |
, changed
}
func (f decFnInfo) fastpathDecMapStringInt64R(rv reflect.Value) {
if rv.CanAddr() {
vp := rv.Addr().Interface().(*map[string]int64)
v, changed := fastpathTV.DecMapStringInt64V(*vp, fastpathCheckNilFalse, true, f.d)
if changed {
*vp = v
}
} else {
v := rv.Interface().(map[string]int64)
fast... | Go |
ne;
-webkit-user-select: none;
-o-user-select: none;
}
/* Stylish text inside label */
input.labelauty + label > span.labelauty-unchecked,
input.labelauty + label > span.labelauty-checked
{
display: inline-block;
line-height: 16px;
vertical-align: bottom;
}
/* Stylish icons inside label */
input.labelauty + la... | CSS |
this.arm, this.pose, 0.3, 1.0 );
// app.add( this.boneView );
this.mesh = UtilArm.skinMtxMesh( gltf, this.arm, 'cyan' );
app.add( this.mesh );
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
this.chain = new IKChain();
this.chain.setSolver( new FabrikSolver() );... | HTML |
fun rustUpdateClipboard(clips: ByteArray) {
val clips = MultiClipboards.parseFrom(clips)
var mimeTypes = mutableListOf<String>()
var text: String? = null
var html: String? = null
for (clip in clips.getClipboardsList()) {
when (clip.format) {
C... | Kotlin |
r.SlashCmd.ResetTimer()
Auctionator.SlashCmd.ResetDatabase()
end
function Auctionator.SlashCmd.NoPriceDB()
Auctionator.Config.Set(Auctionator.Config.Options.NO_PRICE_DATABASE, true)
AUCTIONATOR_PRICE_DATABASE = nil
Auctionator.Variables.InitializeDatabase()
Auctionator.Utilities.Message("Disabled recording... | Lua |
color = color;
TrailPoint new_point;
new_point.p = point;
new_point.t = cls.game_time;
float dist = 1.0f;
if( trail.points.n > 0 ) {
dist = Length( trail.points[ trail.points.n - 1 ].p - new_point.p );
}
if( dist < 0.001f ) { // "same" point
trail.points[ trail.points.n - 1 ] = new_point;
}
else {
#ifd... | C++ |
return articles
}
const convertToHTML = (s:string):string =>
s
.replace(/&/g, "&")
.replace(/>/g, ">")
.replace(/</g, "<")
.replace(/"/g, """);
// turns component into regex string
const inComponent = (component: Component, s: string) =>
`(?<=${component.head}.*?)${s}.*?(?=.*${comp... | Typescript |
.l, 1),
gsSPLight(&whomp_seg6_lights_0601FD18.a, 2),
gsSPVertex(whomp_seg6_vertex_0601FD30, 14, 0),
gsSP2Triangles( 0, 1, 2, 0x0, 2, 3, 0, 0x0),
gsSP2Triangles( 2, 1, 4, 0x0, 4, 3, 2, 0x0),
gsSP2Triangles( 5, 6, 3, 0x0, 3, 6, 0, 0x0),
gsSP2Triangles( 3, 7, 5, 0x0, 4, 7, 3, 0x... | C |
100,
pow: 0
}
expect(validadeCharacter(char)).toBe(false)
})
test('Testing a char with zero def must return false', () => {
let char: Character = {
name: "jorgin",
def: 0,
life: 100,
pow: 98
}
expect(validadeCh... | Typescript |
雷丸散(二七九)取大风虫。
雷丸贯仲(二味先另研)阿魏(各二钱)麝香(一分)水银硫黄雄黄(各二钱半,用乳钵入醋少许,研令水银尽为度)
上为细末。每服一钱,天明温酒送下。
黑虎丹(二百八十)治大风诸癞恶疮,毒虫内蚀,形骸变坏。
天灵盖(三两)人中白桃仁(炮,去皮尖,各二两)老皂刺(烧存性)穿山甲(炒,各半两)轻粉(二钱)麝香(五分)干虾蟆(二个,去头足,烧存性)
上为末,炼蜜丸,桐子大。每服三十丸,月首五更米饮连口服,取虫尽即愈。杀劳虫通用。
苦参酒(二八一)治癞风,及疮疹疥癣最多者。
苦参(五斤,切片)
上以好酒三斗浸三十日。量饮一合,日服不绝,觉痹即瘥。
硫黄酒(二八二)杀疠风诸虫。
明硫黄(研极细)
上用... | Markdown |
workspaceSetting.latestView.id == grid!.id;
// Open grid 1
// ignore: unused_local_variable
final documentBloc = DocumentBloc(view: document!)
..add(const DocumentEvent.initial());
await blocResponseFuture();
workspaceSetting = await FolderEventReadCurrentWorkspace()
.send()
... | Dart |
lor3.new(0, 255, 0)
if g2 then
woodtype = "Spooky"
end
end
end)
LightSpooky.MouseButton1Click:connect(function()
if g3 == true then
g3 = false
LightSpooky.BackgroundColor3 = Color3.new(255, 255, 255)
else
g3 = true
LightSpooky.BackgroundColor3 = Color3.new(0, 255, 0)
if g3 then
woodtype = "Spo... | Lua |
margin: 0 1rem;
-webkit-box-shadow: 0 -1px 0 0 rgba(34, 36, 38, 0.15);
box-shadow: 0 -1px 0 0 rgba(34, 36, 38, 0.15);
}
/* Padded Horizontally Divided */
[class*="horizontally padded"].ui.divided.grid,
.ui.padded.divided.grid:not(.vertically):not(.horizontally) {
width: 100%;
}
/* First Row Vertically Divided ... | CSS |
# encoding: utf-8
from datetime import datetime
from utils.oracle_base import query_one
from utils.linux_base import LinuxBase
from utils.tools import mysql_exec,mysql_query,now
from utils.oracle_base import get_connection
parse_result = []
OracleKeyWordList=['ORA-','WARNING:','Starting ORACLE instance','Shutting dow... | Python |
&JsValue::from(val),
);
debug_assert!(
r.is_ok(),
"setting properties should never fail on our dictionary objects"
);
let _ = r;
self
}
}
<filename>src/world/map.rs
use bevy::{math::IVec2, prelude::Component};
use std::collections::HashMap;
use rltk:... | Rust |
val target = evalKeyboard(to)
ContextCompat.getMainExecutor(service).execute {
if (cachedKeyboards.containsKey(target)) {
if (target == currentKeyboardId) return@execute
}
detachCurrentView()
attachKeyboard(target)
}
Timber... | Kotlin |
/***********************************************************************
Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
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; eith... | C |
: right;
}
[dir="rtl"] .object-tools li + li {
margin-left: 0;
margin-right: 15px;
}
[dir="rtl"] .dashboard .module table td a {
padding-left: 0;
padding-right: 16px;
}
}
/* MOBILE */
@media (max-width: 767px) {
[dir="rtl"] .change-list .filtered .results,
... | CSS |
DICOM/retired
(0074,1222) LO RETIRED_ProcedureStepRelationshipType 1 DICOM/retired
(0088,0904) LO RETIRED_TopicTitle 1 DICOM/retired
(0088,0906) ST RETIRED_TopicSubject 1 DICOM/retired
(0088,0910) LO RETIRED_TopicAuthor 1 DICOM/retired
(0088,0912) LO RETIRED_TopicKeywords 1-32 DICOM/retired
#(1000,XXX0) US RETIRED_Esc... | Go |
attr('data-scale'))) - _this.core.$outer.find('.lg').width() + minX);
if ((Math.abs(endCoords.x - startCoords.x) > 15) || (Math.abs(endCoords.y - startCoords.y) > 15)) {
if (allowY) {
if (distanceY <= -maxY) {
distanceY = -maxY;
} else if (distanc... | JavaScript |
(03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd))", SIGNABLE, {{"a9141857af51a5e516552b3086430fd8ce55f7c1a52487"}});
Check("sh(pkh(L4rK1yDtCWekvXuE6oXD9jCYfFNV2cWRpVuPLBcCU2z8TrisoyY1))", "sh(pkh(03a34b99f22c790c4e36b2b3c2c35a36db06226e41c692fc82b8b56ac1c540c5bd))", SIGNABLE, {{"a9141a31ad23bf49... | C++ |
st.w state15, output, 60
/* ++counter */
addi.w cnt_lo, cnt_lo, 1
sltui state0, cnt_lo, 1
add.w cnt_hi, cnt_hi, state0
/* output += 64 */
PTR_ADDI output, output, 64
/* --nblocks */
PTR_ADDI nblocks, nblocks, -1
bnez nblocks, .Lblock
/* counter = [cnt_lo, cnt_hi] */
st.w cnt_lo, counter, 0
st.w c... | Assembly |
--lf-color-red-50: #FEF2F2;
// Yellow
--lf-color-yellow-900: #78350F;
--lf-color-yellow-800: #92400E;
--lf-color-yellow-700: #B45309;
--lf-color-yellow-600: #D97706;
--lf-color-yellow-500: #F59E0B;
--lf-color-yellow-400: #FBBF24;
--lf-color-yellow-300: #FCD34D;
--lf-color-yellow-200: #FDE68A;
--... | CSS |
i r7, r6, 1
/* 804D5EE0 004D1420 7C C6 60 38 */ and r6, r6, r12
/* 804D5EE4 004D1424 7C C6 38 50 */ subf r6, r6, r7
/* 804D5EE8 004D1428 54 C6 0F FE */ srwi r6, r6, 0x1f
/* 804D5EEC 004D142C 7C C6 5B 79 */ or. r6, r6, r11
/* 804D5EF0 004D1430 41 82 00 30 */ beq lbl_804D5F20
/* 804D5EF4 004D1434 A0 C3 08 F8 */ lhz... | Assembly |
:checked[type=radio]{--bs-form-check-bg-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e")}.form-check-input[type=checkbox]:indeterminate{background-color:#2a9fd6;border-color:#2a9fd6;--bs-form-check-bg-image:url("data:image/svg+xm... | CSS |
Info.texPrefix;
if (listPortrait) then
atlas = atlas .. "-List";
else
atlas = atlas .. "-Portrait";
end
followerFrame.Portrait:SetAtlas(atlas, true);
end
function GarrisonShipyardMission:OnClickStartMissionButton()
local missionID = self.MissionTab.MissionPage.missionInfo.missionID;
local _, _, _, successCha... | Lua |
p"
"strconv"
"time"
sls "github.com/aliyun/aliyun-log-go-sdk"
"github.com/erda-project/erda-infra/providers/elasticsearch"
logs "github.com/erda-project/erda/internal/tools/monitor/core/log"
metrics "github.com/erda-project/erda/internal/tools/monitor/core/metric"
)
// apiGroupUid API分组ID
// apiGroupName API分组... | Go |
(req, newReply)
if (Settings.BlockBangumiPageAds() || Settings.RemoveVideoPopups().contains("other"))
newReply = purifyViewInfoUnite(newReply, supplement)
return newReply
}
finalError?.let { throw it } ?: return reply
}
private fun syncVideoHistoryIfNeede... | Kotlin |
from pynwb.ogen import OptogeneticSeries, OptogeneticStimulusSite
from pynwb.device import Device
from pynwb.testing import NWBH5IOMixin, AcquisitionH5IOMixin, TestCase
class TestOptogeneticStimulusSiteIO(NWBH5IOMixin, TestCase):
def setUpContainer(self):
""" Return the test OptogeneticStimulusSite to re... | Python |
++;
else
*ptr++ = *cp++;
*ptr++ = *cp++;
}
*ptr = '\0';
len = strlen(buf);
}
if (size)
*size = len;
return buf;
}
#ifdef TEST
int main(int, char **);
int
main(argc, argv)
int argc;
char **argv;
{
char *ptr;
size_t size, line;
line = 0;
while ((ptr = fparseln(stdin, &size, &line, NULL,
... | C |
AY_OF_YEAR, -1)
return calendar.time
}
private fun releaseDateLte(year: Int, month: Int): Date {
val calendar = Calendar.getInstance()
calendar.set(year, month, 1)
calendar.add(Calendar.MONTH, 1)
calendar.add(Calendar.DAY_OF_MONTH, -1)
return calendar.time
}
package io.petros.movies.domain.mode... | Kotlin |
@Test
public void testDatatypeValue9() throws EngineException {
String init = "insert data {"
+ "graph us:g1 { <Jack> "
+ "rdf:value "
+ " 1, 1.0, '1'^^xsd:long, 1e0, '1'^^xsd:double, '1'^^xsd:float, "
+ "true, '1'^^xsd:boolean, false, 0... | Java |
function modifier_aqua_resurrection_thinker:OnRefresh( kv )
end
function modifier_aqua_resurrection_thinker:OnRemoved()
end
function modifier_aqua_resurrection_thinker:OnDestroy()
if not IsServer() then return end
self.parent_modifier:RemoveTomb( self )
UTIL_Remove(self:GetParent())
end
------------------------... | Lua |
more
// explanation about this process.
if (typeof fetchMoreForQueryId === 'string') {
this.markQueryError(fetchMoreForQueryId, error, undefined);
}
}
public markQueryResultClient(queryId: string, complete: boolean) {
if (!this.store[queryId]) return;
this.store[queryId].networkError = ... | Typescript |
}
}
}
if len(listRec) > 0 {
errDb := job.Database.AddAwsObjects(listRec, database.AwsRecommendationCollection)
if errDb != nil {
return errDb
}
}
return nil
}
func (job *AwsDataRetrieveJob) FetchAwsComputeInstanceRightsizing(profile model.AwsProfile, seqValue uint64) error {
var recommendation model.... | Go |
.WriteToLog($"{Username}: Requesting new quest because of bad element: {tx}");
await Task.Delay(12500); // wait for splinterlands to refresh the quest
Reward.Quest = await SplinterlandsAPI.GetPlayerQuestAsync(Username);
}
}
catch (Exception... | C# |
xref="S4.p5.5.m5.1.1.cmml"><msub id="S4.p5.5.m5.1.1.2" xref="S4.p5.5.m5.1.1.2.cmml"><mi id="S4.p5.5.m5.1.1.2.2" xref="S4.p5.5.m5.1.1.2.2.cmml">b</mi><mrow id="S4.p5.5.m5.1.1.2.3" xref="S4.p5.5.m5.1.1.2.3.cmml"><mi id="S4.p5.5.m5.1.1.2.3.2" xref="S4.p5.5.m5.1.1.2.3.2.cmml">i</mi><mo id="S4.p5.5.m5.1.1.2.3.1" xref="S4.p... | HTML |
.Wrap(err, "inserting GitHub patch user")
}
}
return u, err
}
func (j *patchIntentProcessor) isUserAuthorized(ctx context.Context, patchDoc *patch.Patch, requiredOrganization, githubUser string) (bool, error) {
ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
defer cancel()
// GitHub Dependabot patches... | Go |
his.type = 'OctahedronGeometry';
this.parameters = {
radius: radius,
detail: detail
};
};
THREE.OctahedronGeometry.prototype = Object.create( THREE.Geometry.prototype );
THREE.OctahedronGeometry.prototype.constructor = THREE.OctahedronGeometry;
// File:src/extras/geometries/TetrahedronGeometry.js
/**
* @auth... | JavaScript |
torch.Tensor | None = None,
waves: torch.Tensor | None = None,
gsd: float | None = None,
) -> dict[str, torch.Tensor | float]:
datacube: dict[str, torch.Tensor | float] = {}
datacube["pixels"] = x
datacube["time"] = torch.zeros((x.shape[0], 4), device=x.device) if time is Non... | Python |
nceSquared(target) < 1.0) {
data.lastDealDamage = true
}
if (player.inventory.itemInHand.isSword) {
vData.addVL(1.2 * packet.knockBack)
vData.addAction(ActionFactory(player, vData, ActionType.SETBACK).build()... | Kotlin |
/*
* Copyright 2008-2013 NVIDIA Corporation
*
* 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... | C |
ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
## gulp 시작하기
gulp.js을 시작하기 위해 필요한 가장 기본적인 사용 방법들을 정리했습니다.

#### gulp 개념
gulp 는 node.js 기반의 task runner 입니다. 반복적인 귀찮은 작업들이나 프론트엔드 빌드에 필요한 작업들을 gulp 통해 쉽게 처리해줄 수 ... | Markdown |
ut, x, y);
horiz.extend(points_right(input, x, y, width));
points.extend(horiz.iter());
for (x, y) in horiz {
let mut vert = points_up(input, x, y);
vert.extend(points_down(input, x, y, height));
for (x, y) in vert {
points.extend(points_left(input, x, y).iter());
... | Rust |
-l3.current li.toctree-l4 > a:hover,
.wy-menu-vertical li.current a:hover {
background-color: #434a50;
}
.wy-menu-vertical li.on a:hover span.toctree-expand,
.wy-menu-vertical li.current > a:hover span.toctree-expand {
color: white;
}
.wy-menu-vertical li.on a span.toctree-expand,
.wy-menu-vertical li.current... | CSS |
Index: Int, selectIndexList: List<Int>, reselect: Boolean, fromUser: Boolean) -> Unit =
{ fromIndex, selectList, reselect, fromUser ->
"选择:[$fromIndex]->${selectList} reselect:$reselect fromUser:$fromUser".logi()
}
/**
* 当需要选中[itemView]时回调, 返回[true]表示拦截默认处理
* @param itemView 操... | Kotlin |
selection_bar.change_color": "Змінити колір",
"main_page.selection_bar.archive": "Архів",
"main_page.selection_bar.delete": "Перемістити у кошик",
"main_page.selection_bar.perma_delete": "Видалити",
"main_page.selection_bar.pin": "Закріпити",
"main_page.selection_bar.share": "Поділитись",
"main_... | Dart |
``fn unicode_text_to_u_t_f8((&::unicodetext::i18n::phonenumbers::UnicodeText, cpp_utils::AsBox)) -> cpp_utils::CppBox<::basic_string::std::cxx11::BasicStringCCharCharTraitsCCharRefAllocatorCCharRef>```<br>2) ```fn unicode_text_to_u_t_f8((&::unicodetext::i18n::phonenumbers::UnicodeText, cpp_utils::AsStruct)) -> ::basic_... | Rust |
if (mCurrentContext) {
return mCurrentContext->UpdateWebRenderCanvasData(aBuilder, aCanvasData);
}
if (mOffscreenCanvas) {
MOZ_CRASH("todo");
}
// Clear CanvasRenderer of WebRenderCanvasData
aCanvasData->ClearCanvasRenderer();
return false;
}
bool HTMLCanvasElement::InitializeCanvasRenderer(nsDi... | C++ |
)
* a2 a2 a3
*/
ENTRY(_switch_to)
entry a1, 48
mov a11, a3 # and 'next' (a3)
l32i a4, a2, TASK_THREAD_INFO
l32i a5, a3, TASK_THREAD_INFO
save_xtregs_user a4 a6 a8 a9 a12 a13 THREAD_XTREGS_USER
#if THREAD_RA > 1020 || THREAD_SP > 1020
addi a10, a2, TAS... | Assembly |
pec.Storage = &monv1.StorageSpec{
VolumeClaimTemplate: *alertmanagerConfig.VolumeClaimTemplate,
}
}
setupStartupProbe(a)
if alertmanagerConfig.NodeSelector != nil {
a.Spec.NodeSelector = alertmanagerConfig.NodeSelector
}
if len(alertmanagerConfig.Tolerations) > 0 {
a.Spec.Tolerations = alertmanagerConf... | Go |
(new { result.ReturnUrl });
case LoginStatus.Failure:
EventContext.Instance.Publish<IOnFailedLogin, UserFailedLoginEventArgs>(
new UserFailedLoginEventArgs(result.User, loginModel.Email));
break;
case Log... | C# |
URL: revokeObjectURL,
dataURL2Blob: function( dataURI ) {
var byteStr, intArray, ab, i, mimetype, parts;
parts = dataURI.split(',');
if ( ~parts[ 0 ].indexOf('base64') ) {
byteStr = atob( parts[ 1 ] );
} else ... | JavaScript |
/*
* Copyright © 2011 Google, Inc.
*
* This is part of HarfBuzz, a text shaping library.
*
* Permission is hereby granted, without written agreement and without
* license or royalty fees, to use, copy, modify, and distribute this
* software and its documentation for any purpose, provided that the
* above copy... | C |
}
局_通道数据, err = 局_通道.D订单创建(c, &参数)
if err != nil {
return
}
下单成功:
参数.Status = constant.D订单状态_等待支付
参数.Time = time.Now().Unix()
参数.Ip = c.ClientIP()
参数.Extra = "{}"
if 字节数组, err2 := json.Marshal(参数.E额外信息); err2 == nil {
参数.Extra = string(字节数组)
}
s := service.NewRmbPayService(&tx)
_, err = s.Create(参数.D... | Go |
column index
*/
function identifyWorkingSquare({col,grid,row}:IInput): SQUARE {
const square = []
if (row<3) {
if (col < 3) {
for (let x = 0; x < 3; x++) {
square.push([grid[x][0],grid[x][1],grid[x][2]])
}
} else if (col < 6) {
for ... | Typescript |
public static boolean Method976(String a) {
try {
Integer.parseInt(a);
return true;
} catch (NumberFormatException var2) {
return false;
} catch (NullPointerException var3) {
return false;
}
}
public static Double Method977(double a, double a, doub... | Java |
鉴定意见、勘验、检查、辨认、侦查实验等笔录和其他作为证据的文书,播放作为证据的视听资料、电子数据等;
(五)对证据采信、法律适用和案件情况发表意见,提出量刑建议及理由,针对被告人、辩护人的辩护意见进行答辩,全面阐述公诉意见;
(六)维护诉讼参与人的合法权利;
(七)对法庭审理案件有无违反法律规定的诉讼程序的情况记明笔录;
(八)依法从事其他诉讼活动。
第四百三十五条 在法庭审理中,公诉人应当客观、全面、公正地向法庭出示与定罪、量刑有关的证明被告人有罪、罪重或者罪轻的证据。
定罪证据与量刑证据需要分开的,应当分别出示。
第四百三十六条 公诉人讯问被告人,询问证人、被害人、鉴定人,出示物证,宣读书证、未出庭证人的证言笔录等... | Markdown |
from django.test import TestCase, Client
from django.urls import reverse
from django.contrib.auth import get_user_model
class TestViews(TestCase):
def setUp(self):
self.client = Client()
self.user = get_user_model().objects.create_user(
username='testuser',
email='test@examp... | Python |
global$3.DOM.uniqueId();
editor.formatter.register(formatName, format);
return {
title: format.title,
format: formatName
};
}
}
return null;
};
global.each(getSelectors(editor, editor.getDoc(), com... | JavaScript |
Analyzer, which can read a raw PDB file and apply it. Its capabilities
are expected to be expanded in future releases. Second, the legacy capability that uses the
<A href="#dia">DIA SDK</A> to read information from the PDB file. This mechanism can only run
on a Windows platform, however it creates an XML r... | HTML |
ignment.topLeft,
end: Alignment.bottomLeft,
colors: [
Color.fromRGBO(0, 0, 0, 0.5),
Color.fromRGBO(0, 0, 0, 0),
],
),
),
child: SizedBox(
height: barHeight,
child: Row(
children: <Widget>[
... | Dart |
GOPOP Women's Mock Turtle Neck Slim Fit Long Half Short Sleeve T Shirt Tight Tops Tee\",\n" +
" \"price\": 19,\n" +
" \"image\": \"https://m.media-amazon.com/images/W/MEDIAX_792452-T1/images/I/712koZKUvHL._AC_SX679_.jpg\",\n" +
" ... | Kotlin |
embed.add_field(name="ℹ️ Note", value=f"Using custom tax rate: {config[5]}x", inline=False)
embed.set_footer(text=f"Requested by {message.author.display_name}", icon_url=message.author.display_avatar.url)
await message.channel.send(embed=embed)
if config[2]:
... | Python |
~Subcircuits()
{
}
static QList<int> asIntList(const QString &string)
{
QList<QByteArray> entries = string.toLatin1().split(',');
QList<int> list;
for (const QByteArray &s : entries)
list << s.toInt();
return list;
}
void Subcircuits::initECSubcircuit(int subcircuitId, ECSubcircuit *ecSubcircu... | C++ |
plink RSSI Ant. 2 ( dBm * -1 )"),
// Uplink LQ of 0 may used to indicate a disconnected status to the handset
PayloadField(CType.uint8, "uplink_package_success_rate",
"Uplink Package success rate / Link quality ( % )"),
PayloadField(CType.int8, "uplink_snr",
"Uplink SNR ( dB, or dB*4 for TBS... | Dart |
.56 12.46 0 22.56-10.1 22.56-22.56 0-12.46-10.1-22.56-22.56-22.56zm-4.8 13.828a1.2 1.2 0 0 1 .595.158l13.182 7.532a1.2 1.2 0 0 1 0 2.084l-13.182 7.532A1.2 1.2 0 0 1 18 31.532V16.468a1.2 1.2 0 0 1 1.2-1.2z'/%3E %3C/g%3E%3C/svg%3E")}.weui-play-loading{display:inline-block;vertical-align:middle;width:32px;height:32px;bac... | CSS |
].domainId
nodeSetGrpInfoList.Status = nsgm.domainNodeSetGrpVec[i].status
nsglStat.DomainNodeSetGrpInfo = append(nsglStat.DomainNodeSetGrpInfo, nodeSetGrpInfoList)
nodeSetGrpInfoList.Status = nsgm.domainNodeSetGrpVec[i].status
log.LogInfof("action[getAllNodeSetGrpInfoHandler] start build domain id [%v]", nsgm.d... | Go |
for (i = BORDER_TOP; i <= BORDER_LEFT; i++)
{
if (!pCFI->_pff->_cuvBorderWidths[i].IsNull()
|| pCFI->_pff->_bBorderStyles[i] != (BYTE)-1)
{
pCFI->PrepareFancyFormat();
pCFI->_ff()._cuvBorderWidths[i].SetNull();
pCFI->_ff()._bBorderStyles[i] = (BYTE... | C++ |
up_;
}
const FunctionalSubgroup* const Instruction::FuncSubgroup() const noexcept
{
return functional_subgroup_;
}
const std::vector<InstructionEncoding>& Instruction::Encodings() const noexcept
{
return encodings_;
}
std::string... | C++ |
put is None:
inputs_embeds = None
else:
inputs_embeds = self.get_input_embeddings_v0(
input_ids,
image_input=image_input,
video_input=video_input)
input_ids = None
hidden_states = self.langua... | Python |
msg.Parts[0].Text != "" {
if err := json.Unmarshal([]byte(msg.Parts[0].Text), &fc); err != nil {
log.Printf("Failed to unmarshal FunctionCall for message %s: %v", msg.ID, err)
continue // Skip if malformed
}
if fc.Name == GeminiCodeExecutionToolName {
var ec ExecutableCode
if err... | Go |
nction get_harness_url()
{
var script_url = get_script_url();
// Exclude the 'testharness.js' file from the returned path, but '+ 1' to include the trailing slash.
return script_url ? script_url.slice(0, script_url.lastIndexOf('/') + 1) : undefined;
}
function supports_post_message... | JavaScript |
one could completely omit that part in homebrew INST-ROMs). The BIOS accesses
the PROM in only two places: In the INST-ROM checksum calculation (which thus
requires whatever stable data coming from the PROM). And, the Z80 NMI handler
(which checks that CounterOut is High after 32 reads).<BR>
<BR>
<BR>
<TABLE WIDTH=100... | HTML |
1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"></path>
</svg>
</a>
</div>
<p>The benefits of our Free plan extend well beyond direct economics.</p>
<p>Our Free plan gives Cloudflare access to unique threat intelligence. A wide surface area exposes our network to diverse traff... | HTML |
p:not(:first-of-type){margin-top:4px}button.infotip__close,button.tooltip__close,button.tourtip__close{align-self:flex-start;background:0 0;border:0;padding:0;white-space:nowrap;color:#111820;flex-shrink:0;height:32px;margin:-8px -8px 0 8px;width:32px}button.infotip__close span,button.tooltip__close span,button.tourti... | CSS |
case SIZE_16:
cost = COSTS_N_INSNS (n - 1) + rs6000_cost->mulsi_const;
break;
case SIZE_32:
cost = COSTS_N_INSNS (n - 1) + rs6000_cost->mulsi;
break;
case SIZE_64:
cost = COSTS_N_INSNS (n - 1) + rs6000_cost->muldi;
break;
default:
gcc_unreachable ();
}
break;
case TYPE_DIV:
swi... | C++ |
;">?</span>word1<span style="color: red;">?</span>word2(number)}</strong></td><td>--</td><td>print word1 if number==1, print word2 otherwise. <strong>NOTE:</strong> You can avoid word1 OR word2</td></tr>
<tr class="even"><td><strong>%%{<span style="color: red;">?</span>word1<span style="color: red;">?</span>word2<span ... | HTML |
CircuitBreakerPolicy<TResult> CircuitBreaker<TResult>(this PolicyBuilder<TResult> policyBuilder, int handledEventsAllowedBeforeBreaking, TimeSpan durationOfBreak, Action<DelegateResult<TResult>, CircuitState, TimeSpan, Context> onBreak, Action<Context> onReset, Action onHalfOpen)
{
if (handledEventsAllowedB... | C# |
-2.2 5-5 5M23 6h-5.5l-1.7-2.6c-.2-.2-.5-.4-.8-.4H9c-.3 0-.6.2-.8.4L6.5 6H1c-.6 0-1 .4-1 1v13c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V7c0-.6-.4-1-1-1"/><path d="M12 10.5c-1.68 0-3 1.32-3 3s1.32 3 3 3 3-1.32 3-3-1.32-3-3-3M1.5 5h3a.5.5 0 0 0 0-1h-3a.5.5 0 0 0 0 1"/></g>
</symbol>
<symbol id="wds-icons-checkbox" viewBox="0 ... | HTML |
override fun strictInequality(
toRet: TACSymbol.Var,
v: MutableList<PathInformation<VROQuals>>,
sym: TACSymbol.Var?,
num: BigInteger?,
s: Map<TACSymbol.Var, VROInt>,
w: Any,
l: LTACCmd
) {
if(num == BigInteger.ZERO) {
v.add(PathInformat... | Kotlin |
ategories = x.attr('attributecategories');
if (name && href) {
const el = {
name,
attributes: [] as HTMLAttribute[],
attributeCategories: [] as string[],
references: [
{
name: 'SVG Spec',
url: handleHref(href)
}
]
}
... | Typescript |
"""
This is the implementation of HiddenMarkov,
which is accessible in https://github.com/FlameCharmander/MachineLearning,
accomplished by FlameCharmander,
and my csdn blog is https://blog.csdn.net/tudaodiaozhale,
contact me via 13030880@qq.com.
"""
#--*-- coding:utf-8
import numpy as np
class HiddenMarkov:
def fo... | Python |
;
}
return resultCerts.add(targetCert);
}
return false;
}
boolean add = false;
for (CertStore store : certStores) {
try {
Collection<? extends Certificate> certs =
store.ge... | Java |
�致的 (`SQL 注入`) 漏洞,允许执行 SQL 注入攻击。此问题影响《Review Stars Count For WooCommerce》版本:从 n/a 到 2.0。 | [1]https://patchstack.com/database/wordpress/plugin/review-stars-count-for-woocommerce/vulnerability/wordpress-review-stars-count-for-woocommerce-2-0-sql-injection-vulnerability?_s_id=cve |
| 24 | CVE-2025-22279 | 7.5 | HIGH | 在... | Markdown |
/**********************************************************************************************************************
* 描述:
* 接收请求事件消息 基类。
*
* 变更历史:
* 作者:李亮 时间:2015年12月27日 新建
*
*********************************************************************************************************************/
... | C# |
= B Button status
* y = Y Button status
* e = Select Button status
* t = Start Button status
* u = Up Button status
* d = Down Button status
* l = Left Button status
* r = Right Button status
*/
// @ts-ignore: decorator
@inline export function getJOY2H() : u8 {
... | Typescript |
ngCode UNDEFINED_NAMED_PARAMETER =
const StaticWarningCode('UNDEFINED_NAMED_PARAMETER',
"The named parameter '{0}' is not defined");
/**
* 12.18 Assignment: It is as static warning if an assignment of the form
* <i>v = e</i> occurs inside a top level or static function (be it function,
* met... | Dart |
port type MutationFunction<TData, TVariables, TContext, TCache> = Package.MutationFunction<TData, TVariables, TContext, TCache>
export type MutationFunctionOptions<TData, TVariables, TContext, TCache> = Package.MutationFunctionOptions<TData, TVariables, TContext, TCache>
export type MutationHookOptions<TData, TVariab... | Lua |
= controls.CreateControl(util::ControlType::CheckBox, excludeCheckBoxLabel.c_str());
// The default state is false for capture exclusion
SendMessageW(m_captureExcludeCheckBox, BM_SETCHECK, BST_UNCHECKED, 0);
// Border required checkbox
m_borderRequiredCheckBox = controls.CreateControl(util::ControlTy... | C++ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.