content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
ontador: number;
// ###1 CUSTOM OBSERVABLE WITH { interval, Subscription } from 'rxjs';
// the subscription keeps emitting to the console if we navigate away; coming back creates a new one!
// need to unsubscribe and first we keep it in a var:
private customObs: Subscription;
// ###2 CUSTOM OBSERV... | Typescript |
t-header">High Tatras 2</h5>
<img src="images/high_tatras2_min.jpg" alt="The chalet at the Green mountain lake" width="96" height="72" />
<a href="images/high_tatras2.jpg" title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>
<a href="link/to/trash/script/when/we/have/js/off" title="Delete this... | HTML |
0.3333333,
0.3333333,
},
randomize_indexes = {},
},
mission_raid_trapped_a = {
randomize_indexes_n = 0,
sound_events_n = 4,
sound_events = {
"loc_veteran_male_a__mission_raid_trapped_a_01",
"loc_veteran_male_a__mission_raid_trapped_a_02",
"loc_veteran_male_a__mission_raid_trapped_a_03",
"loc... | Lua |
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | C |
pfvieh/dbus-java/blob/master/dbus-java-examples/src/main/java/com/github/hypfvieh/dbus/examples/systemd/PrintUserSessions.java">PrintUserSessions</a></li>
</ul></section><section>
<h3><a name="Use_structs"></a>Use structs</h3>
<ul>
<li><a class="externalLink" href="https://github.com/hypfvieh/dbus-java/tree/master/dbu... | HTML |
esent, the customization applies to all user pool app clients that don't have client-level settings..
/// </summary>
[Input("clientId", required: true)]
public string ClientId { get; set; } = null!;
/// <summary>
/// The ID of the user pool where you want to apply branding to th... | C# |
e temps */
//cfi_push(%rcx)
push rax
//cfi_push(%rax)
cmp rax, PAGE_SIZE /* > 4k ?*/
lea rcx, [rsp + 24] /* point past return addr */
jb l_LessThanAPage
l_MoreThanAPage:
sub rcx, PAGE_SIZE /* yes, move pointer down 4k */
or byte ptr [rcx], 0 /* probe th... | Assembly |
class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><span class="rustdoc-breadcrumbs"><a href="../index.html">digest</a>::<wbr><a href="index.html">consts</a></span><h1>Type Alias <span class="type">N327</span><button id="copy-path" title="Copy it... | HTML |
}
fun peekReq(count: Int): String? {
val p = peek(count)
if (p.length != count)
return null
return p
}
fun consumeCountReq(count: Int): String? {
val p = peekReq(count)
if (p != null)
idx += cou... | Kotlin |
fo) XXX_Size() int {
return m.Size()
}
func (m *TSDBInfo) XXX_DiscardUnknown() {
xxx_messageInfo_TSDBInfo.DiscardUnknown(m)
}
var xxx_messageInfo_TSDBInfo proto.InternalMessageInfo
func init() {
proto.RegisterType((*InfoRequest)(nil), "thanos.info.InfoRequest")
proto.RegisterType((*InfoResponse)(nil), "thanos.inf... | Go |
ody.archive.with-sidebar .post-card .card-body,
body.blog .with-sidebar .post-card .card-body, body.blog.with-sidebar .post-card .card-body
{
padding: 0 3rem 0 0
}
@media ( max-width :767.98px) {
body.archive .with-sidebar .post-card .card-body, body.archive.with-sidebar .post-card .card-body,
body.blog .with-si... | CSS |
using System.Globalization;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Demo
{
public interface ITopicStorage
{
Task<int> ReadTotalAsync(string id);
Task WriteTotalAsync(string id, int total);
}
public class... | C# |
_tracing\'"]
impl StructureType {
pub const COPY_MEMORY_TO_ACCELERATION_STRUCTURE_INFO_KHR: Self = StructureType(1_000_150_012);
}
#[doc = "Generated from \'VK_KHR_ray_tracing\'"]
impl StructureType {
pub const PHYSICAL_DEVICE_RAY_TRACING_FEATURES_KHR: Self = StructureType(1_000_150_013);
}
#[doc = "Generated f... | Rust |
return!1}}class be{constructor(t,e,r,n,i,a){this.inputType=t,this.type=e,this.input=r,this.cases=n,this.outputs=i,this.otherwise=a}static parse(t,e){if(t.length<5)return e.error(`Expected at least 4 arguments, but found only ${t.length-1}.`);if(t.length%2!=1)return e.error("Expected an even number of arguments.");let r... | HTML |
}
return out;
} catch (ShortBufferException e) {
throw new UcryptoException("Internal Error", e);
}
}
// see JCE spec
@Override
protected synchronized int engineDoFinal(byte[] in, int inOfs, int inLen,
byte[] out,... | Java |
ro no tardaron en superarme. Cuando me desmayé por la paliza que me estaban dando, recé para que mi familia no sufriera.$B$BCuando me desperté, todo estaba en calma. La arena estaba teñida de rojo, impregnada de sangre... su sangre. Los devoraron por completo.$B$BNo me importa la venganza, $N. Solo pido que sus restos ... | Lua |
lt integration.
*/
@JsonIgnore
public boolean isKeyVaultIntegration() {
return isApplicationTypeAppService() || isApplicationTypeFunction();
}
@JsonIgnore
public boolean isAddonKeyVault() {
return this.getAddons().stream().anyMatch(addon -> AddonType.KEY_VAULT.equals(addon.getA... | Java |
Func_IsValid_ReturnValue) == 0x000011, "Member 'BP_HUD_TeamDeathMatch_C_Init_UIWidget_Ref::CallFunc_IsValid_ReturnValue' has a wrong offset!");
// Function BP_HUD_TeamDeathMatch.BP_HUD_TeamDeathMatch_C.Play Sound HUD
// 0x0070 (0x0070 - 0x0000)
struct BP_HUD_TeamDeathMatch_C_Play_Sound_HUD final
{
public:
E_SoundType... | C++ |
5,V19
v4: VXOR V20,V4,V20
v3: VXOR V19,V3,V19
v2: VXOR V20,V2,V20
v1: VXOR V19,V1,V19
v0: VXOR V20,V0,V20
VXOR V19,V20,V0
BR barrett_reduction
zero:
// This case is the original crc, so just return it
MOVW R10,ret+32(FP)
RET | Assembly |
. '
'Will be removed in next major version')
ForeignMessageLite clone() => ForeignMessageLite()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')... | Dart |
:null!=b?b:"#000"},a)):(c=_.O({color:null!=b?b:"#000"},a),a=c.color,b=c.Da,c=c.width,a=(0,_.K)("<svg"+(b?' class="'+_.U(b)+'"':"")+' xmlns="http://www.w3.org/2000/svg" width="'+_.U(null!=c?c:48)+'px" height="'+_.U(null!=c?c:48)+'px" viewBox="0 0 48 48" fill="'+_.U(a)+'" aria-hidden="true"><path d="M24,0C10.74,0 0,10.74... | HTML |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace GingaGame_MonoGame.GameLogic;
/// <summary>
/// Generates new planets and manages unlocked types based on the game mode.
/// </summary>
public class PlanetFactory
{
private readonly GameMode _gameMode;
private readon... | C# |
term "inputs") to the function. See
/// [[Translating:Blockly#function_definitions]].\n{{Identical|Input}}
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TITLE = 'inputs';
/// tooltip
Blockly.Msg.PROCEDURES_MUTATORCONTAINER_TOOLTIP = 'Add, remove, or reorder inputs to this function.';
/// block text - This text appears on a... | JavaScript |
mp/ja/pages/make/copilot-studio/05-connectors/">MCS5 - カスタム コネクタの利用</a></li>
<li><a href="/copilot-camp/ja/pages/make/copilot-studio/06-mcp/">MCS6 - MCP サーバーの利用</a></li>
<li><a href="/copilot-camp/ja/pages/make/copilot-studio/07-autonomous/">MCS7 - 自律型エージェントの作成</a></li>
</ul>
</div>
</div>
<script>
(... | Markdown |
ha un'allocazione di memoria fissa e può essere considerato come un tipo di dato concreto.
<mark style="background: #BBFABBA6;">In sintesi</mark>, i tipi di dato concreti in $C$++ rappresentano valori effettivi che sono memorizzati in una specifica area di memoria e possono essere modificati direttamente.
[_Torna al... | Markdown |
throw new HttpException(
"Unexpected response (unsolicited response without request).",
uri: _currentUri);
}
// Check for status code '100 Continue'. In that case just
// consume that response as the final response will follow
// it. The... | Dart |
import requests
from concurrent.futures import ThreadPoolExecutor, as_completed
URL = "http://localhost:8000/wardrobe/remove-background"
USER_ID = "fc39d9f5-dfba-4f5f-bc73-f5638f8e6208"
CATEGORY = "tops"
IS_LONG_TOP = False
IMAGE_PATH = "./images/green_sweat.jpg"
def start_job():
with open(IMAGE_PATH, "rb") as im... | Python |
itle":"Thông tin","sections.automation.description":"Đây là nơi bạn tìm thấy python_scripts, ứng dụng AppDaemon và ứng dụng NetDaemon","sections.automation.title":"Tự động hóa","sections.frontend.description":"Đây là nơi bạn tìm thấy chủ đề, thẻ tùy chỉnh và các thành phần khác cho lovelace","sections.frontend.title":"... | JavaScript |
Garlic And Brie Soup Recipe](../../index/r/roasted-garlic-and-brie-soup-recipe.json)
* [Roasted Garlic Brie And Grape Crostini 1075](../../index/r/roasted-garlic-brie-and-grape-crostini-1075.json)
# beets
* [Cornish Game Hens With Pancetta Juniper Berries And Beets](../../index/c/cornish-game-hens-with-pancetta-jun... | Markdown |
flash.geom:Rectangle</a>, targetOrigin:<a target="_self" href="flash/geom/Point.html" onclick="javascript:loadClassListFrame('flash/geom./class-list.html');">flash.geom:Point</a>) — method, class mx.graphics.<a target="_self" href="mx/graphics/SolidColorStroke.html" onclick="javascript:loadClassListFrame('mx/gra... | HTML |
" + trackCount);
for (Track t : deliveryCopy.getTracksList()) {
deliveryCopy.addSongUrl(t.getSongUrl());
}
System.out.println("🔹 Adding playlist copy to receiver account: " + toAccount.getAccountName());
toAccount.addPlaylist(deliveryCopy);
... | Java |
100%);
padding: 0 30px;
font-weight: 600;
flex-shrink: 0;
font-family: inherit;
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.06), 0px 1px 0px 0px rgba(0, 0, 0, 0.08),
0px 2px 2px 0px rgba(0, 0, 0, 0.04), 0px 3px 3px 0px rgba(0, 0, 0, 0.02), 0px 4px 4px 0px rgba(0, 0, 0, 0.01);
position: relative;
over... | CSS |
1 0 4H6.5Zm0 2.5v4.5h4.75a2.25 2.25 0 0 0 0-4.5H6.5Z' clip-rule='evenodd'/%3E%3C/svg%3E")}.EasyMDEContainer .editor-toolbar .italic:before{-webkit-mask-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor' class='size-5'%3E%3Cpath fill-rule='eveno... | CSS |
ean;
/**
* 是否描边
*/
isStroke?: boolean;
/**
* 填充的颜色
*/
fillStyle?: string;
/**
* 边框颜色
*/
strokeStyle?: string;
}
export default class CanvasElementEntity {
ctx: CanvasRenderingContext2D;
isFill: boolean = false;
isStroke: boolean = false;
fillStyle?:... | Typescript |
9197a3;border-radius:0}.like-wrap_.yt{font-family:arial,sans-serif;-webkit-font-smoothing:auto}.like-wrap_.yt .like-btn{height:24px;padding:0 8px 0 7px;border:0;border-radius:2px;background:#e62117;color:#fefefe;direction:ltr;font-size:11px}.like-wrap_.yt .like-btn span{padding-top:1px}.like-wrap_.yt .like-btn::before{... | HTML |
//let params: Vec<String> = params.into_iter().map(|a| a.as_ref().to_string()).collect();
ctx.tx.query_raw(&sql_text, params).await.map_err(to_anyhow)?
.try_collect().await.map_err(to_anyhow)
};
let filter = QueryFilter::from_filter_input_opt(filter_json)?;
let (_entries, entries_as_typ... | Rust |
attribs(self, features: list[dict], existing_features: list[dict]) -> list[Feature]:
items = []
features_dict = {x["GIS_ID"]: x for x in features}
for properties in existing_features:
apply_category(Categories.TRANSFORMER, properties)
if properties["ref"] in features_dict... | Python |
Symbol("foo");
Object.defineProperty(o, s, { value: 1, writable: true, enumerable: true });
expect(() => {
Object.defineProperty(o, s, { value: 2, writable: true, enumerable: false });
}).toThrowWithMessage(TypeError, "Object's [[DefineOwnProperty]] method returned false");
});... | JavaScript |
.ctl.promote()
box.schema.func.call('check_sync_system_spaces', true)
end)
cg.cluster.server:restart()
cg.cluster.server:exec(function()
box.schema.func.call('check_sync_system_spaces', true)
end)
end
-- Test that system spaces are synchronous after recovery from a snapshot with a
-- pr... | Lua |
SERT_EQ(12, ret);
float tolerance = 0.001f;
int i;
// printf("pFV[] = ");
for (i = 0; i < ret; i++)
{
//printf("%d %f\n", i, pFV[i]);
EXPECT_NEAR(pFV[i], expected_outputs_2_cols_with_padding_delta[i], tolerance);
}
// printf("\n");
}
#endif#include "gtest/gtest.h"
#include "... | C++ |
/*
* Generated by asn1c-0.9.29 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-PDU-Contents"
* found in "../support/s1ap-r17.3.0/36413-h30.asn"
* `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER -no-gen-JER`
*/
#include "S1AP_ResetAcknowl... | C |
s.Idx, s, "go(" + "*fyne_io_fyne_v2_dialog.FileDialog" + ")"), nil
}
func conv_ptr_fyne_io_fyne_v2_dialog_FormDialog_toRye(ps *_env.ProgramState, s *fyne_io_fyne_v2_dialog.FormDialog) (_env.Object, error) {
if s == nil {
return *_env.NewVoid(), nil
}
return *_env.NewNative(ps.Idx, s, "go(" + "*fyne_io_fyne_v2_dia... | Go |
v);
}
@$pb.TagNumber(6)
$core.bool hasTrackPublished() => $_has(5);
@$pb.TagNumber(6)
void clearTrackPublished() => clearField(6);
@$pb.TagNumber(6)
TrackPublishedResponse ensureTrackPublished() => $_ensure(5);
/// Immediately terminate session
@$pb.TagNumber(8)
LeaveRequest get leave => $_getN(6... | Dart |
091,1.94474 0.23963,0.88072 0.49225,1.75788 0.72928,2.6393 0.40394,1.50211 0.87228,2.99 1.18074,4.51458 0.20875,1.03173 0.28204,2.08656 0.45146,3.12548 0.2083,1.27735 0.46884,2.54564 0.69455,3.82003 0.17823,1.0063 0.32397,2.0185 0.52091,3.0213 0.15534,0.79097 0.32398,1.57982 0.52092,2.36147 0.21755,0.86345 0.50992,1.70... | CSS |
ute}.range-slider-handle{border:1px solid none;cursor:pointer;display:inline-block;height:1.375rem;position:absolute;top:-.3125rem;width:2rem;z-index:1;-ms-touch-action:manipulation;touch-action:manipulation;background:#008CBA}.range-slider-handle:hover{background:#007ba4}.reveal-modal-bg{background:#000;background:rgb... | CSS |
/*
Copyright 2021-2025 Hydr8gon
This file is part of sodium64.
sodium64 is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
by the Free Software Foundation, either version 3 of the License,
or (at your option) any later vers... | Assembly |
] = "Métal récupéré",
[25913] = "Anneau de l'anachorète tué",
[25914] = "Sautoir cassé",
[25915] = "Lame de redresseur de torts tombé au combat",
[25916] = "Hache de Terokkar",
[25917] = "Bâton de guérisseur de la forêt",
[25918] = "Couteau guide-sang",
[25919] = "Collier de Sedaï",
[25920] = "Lame de Sedaï",
[25921] =... | Lua |
a>
<!--左右按钮-->
<div class="items">
<ul>
<li v-for="(image,index) in images"><img :src="image" :bimg="image" :key="index" onmousemove="preview(this)"/></li>
</ul>
</div>
<a class="next">></a>
</div>
</div>
```
效果:
 {
typedef typename OsModel_P::size_t size_t;
enum { SZ = C... | C |
'));
await waitUntilExists(tester, _findAdlNotificationContainingText(l10n.w_adl_end));
// 2nd ADL Message (check signal)
await waitUntilExists(tester, _findAdlNotificationContainingText('A653'));
await tester.pumpAndSettle(const Duration(milliseconds: 100));
// 3rd ADL Message (check icon)
aw... | Dart |
orig_dict[keyname] = value
return orig_dict
def print_dict(val, nesting: int = -4, start: bool = True):
"""Outputs a nested dictionary."""
if isinstance(val, dict):
if not start:
print("")
nesting += 4
for k in val:
print(nesting * " ", end="")
... | Python |
ator(token);
else
operand(token);
}
/* Close with a low priority operator */
evaluntil(START);
/* Force END */
operand(END);
evaluntil(START);
#ifdef DEBUG
dumpstack();
#endif
if(nbra)
rcerror("unmatched left paren");
--andp; /* points to first and only operand */
pp->startinst = andp->first;
#ifdef ... | C |
.faces.concat(result.faces);
mesh.vertices = mesh.vertices.concat(result.verts);
}
return result;
};
module2.exports = GenerateObjVerts;
},
67623: (module2, __unused_webpack_exports, __webpack_require__2) => {
/**
... | JavaScript |
0%; *margin-left: 0; }
.form-horizontal .controls:first-child { *padding-left: 180px; }
.form-horizontal .help-block { margin-bottom: 0; }
.form-horizontal input + .help-block,
.form-horizontal select + .help-block,
.form-horizontal textarea + .help-block,
.form-horizontal .uneditable-input + .help-block,
.form-horizon... | CSS |
tinymce{display:block;-webkit-border-radius:2px;-moz-border-radius:2px;border-radius:2px}.mce-wordcount{position:absolute;top:0;right:0;padding:8px}div.mce-edit-area{background:#FFF;filter:none}.mce-statusbar{position:relative}.mce-statusbar .mce-container-body{position:relative}.mce-fullscreen .mce-resizehandle{displa... | CSS |
霍泛 当作叛徒关押,未作结论,已平反。
</p>
<p>
李殷丹 定为严重错误,已平反。
</p>
<p>
厅局级干部:
</p>
<p>
黄其明 定为犯严重政治错误,留察两年,已平反。
</p>
<p>
谢王岗 当作特务关押,未作结论,已平反。
</p>
<p>
李丹 定犯“5·16”反革命罪行开除党籍,已平反。
</p>
<p>
高信 定犯严重政治错误,已平反。
</p>
<p>
扬林 定犯严重政治错误,开除党籍,已平反。
</p>
<p>
王同连 定为犯严重错误,撤销党内外职务,已平反。
</p>
<p>
... | HTML |
.hide {
display: none;
}
/* Views Styles
---------------------------------------------------------------- */
div#creatorcontainer {
float: none;
display: block;
margin: 0 19px;
border: 1px solid white;
width: 720px;
height: 540px;
}
object#creator {
float: none;
display: block;... | CSS |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace CustomFontDialog;
public partial class FontDialog : Form
{
public FontDialog()
{
InitializeComponent();
lstFont.SelectedFontFamilyChanged += lstFont_SelectedFontFamilyChanged;
lstFont.SelectedFontFamily = FontF... | C# |
tion.domain)&&(null==a.post.approvedHomeCollection?0:a.post.approvedHomeCollection.facebookPageName)?'\x3cmeta property\x3d"article:publisher" content\x3d"https://www.facebook.com/'+z.D(null==a.post.approvedHomeCollection?
null:a.post.approvedHomeCollection.facebookPageName)+'"\x3e':'\x3cmeta property\x3d"article:publi... | JavaScript |
filename = nil
loaded = false
function setFileName(name)
filename = name
end
function isLoaded()
return loaded
end
function load()
local version = g_game.getClientVersion()
local things = g_settings.getNode('things')
local datPath, sprPath
if things and things["data"] ~= nil and things["sprites"] ~= ... | Lua |
ert.False(timeBox.ShowLeadingZero);
// Test with leading zeros enabled
timeBox.ShowLeadingZero = true;
Assert.True(timeBox.ShowLeadingZero);
}
[AvaloniaFact]
public void TimeBox_IsTimeLoop_Should_Affect_Overflow_Behavior()
{
var window = new Window();
va... | C# |
src=sorted_indices_to_remove
)
# Zero out probabilities for removed tokens
probabilities[indices_to_remove] = 0.0
# Renormalize probabilities
probabilities /= probabilities.sum(dim=-1, keepdim=True)
# Sample... | Python |
@Test
public void testBetweenWithInterval() throws Exception {
Assert.assertEquals("Cada 3 minutos, desde 02 hasta el 59 minuto después de la hora, 1:00 AM, 9:00 AM y 10:00 PM, entre el 11 y el 26 del mes, enero hasta junio",
CronExpressionDescriptor.getDescription("2-59/3 1,9,22 11-26 ... | Java |
l influences tableSchemaStore
ddlEvent = &commonEvent.DDLEvent{
FinishedTs: 4,
BlockedTables: &commonEvent.InfluencedTables{
InfluenceType: commonEvent.InfluenceTypeNormal,
TableIDs: []int64{0},
},
NeedAddedTables: []commonEvent.Table{
{
SchemaID: 1,
TableID: 1,
},
},
TableNameCha... | Go |
document.createElement('style');
style.textContent = `
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from { opacity: 0; transform: translateY(50px) scale(0.9); }
to { opacity: 1; transform: translateY(0) sc... | HTML |
$xr5
#define T0 $xr6
#define T1 $xr7
#define T2 $xr8
#define T3 $xr9
#define Y0 $xr10
#define Y1 $xr11
#define Y2 $xr12
#define Y3 $xr13
#define G0 $xr14
#define G1 $xr15
#define G2 $xr16
#define G3 $xr17
#define S0 $xr18
#define S1 $xr19
#define S2 $xr20
#... | Assembly |
= context.getBeanDefinition("fooSupplier") as RootBeanDefinition
assertThat(beanDefinition.resolvableType.resolveGeneric(0)).isEqualTo(Foo::class.java)
}
@Test
fun chainedBeanRegistrar() {
val context = AnnotationConfigApplicationContext(ChainedBeanRegistrarKotlinConfiguration::class.java)
assertThat(context... | Kotlin |
.linearA.y;
bA.m_sweep.a += bA.m_invI * impulse * this.m_J.angularA;
bB.m_sweep.c.x += bB.m_invMass * impulse * this.m_J.linearB.x;
bB.m_sweep.c.y += bB.m_invMass * impulse * this.m_J.linearB.y;
bB.m_sweep.a += bB.m_invI * impulse * this.m_J.angularB;
bA.SynchronizeTransform();
bB.Sy... | JavaScript |
emark-inline-code {
/* background: #F5F5F5; /* lighter */
background: #e7e8e2; /* darker */
border-radius: 3px;
padding: 4px;
}
.code10 .remark-code {
font-size: 10%;
}
.code20 .remark-code {
font-size: 20%;
}
.code30 .remark-code {
font-size: 30%;
}
.code40 .remark-code {
font-size: 40%;
}
.code50... | CSS |
-- chunkname: @foundation/scripts/boot/boot.lua
if not EDITOR_LAUNCH then
EDITOR_LAUNCH = false
end
local ProfilerScopes = {}
if not PROFILER_SCOPES_INITED then
PROFILER_SCOPES_INITED = true
local profiler_start = Profiler.start
function Profiler.start(scope_name)
ProfilerScopes[scope_name] = true
profil... | Lua |
260006, gadget_id = 70300088, pos = { x = 417.5, y = 202.2, z = -61.0 }, rot = { x = 0.0, y = 127.9, z = 0.0 }, level = 19 }
}
-- 区域
regions = {
}
-- 触发器
triggers = {
}
-- 变量
variables = {
}
--================================================================
--
-- 初始化配置
--
--======================================... | Lua |
:"sending-a-file-stream-to-client"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#sending-a-file-stream-to-client"}},[t._v("#")]),t._v(" Sending a file stream to client")]),t._v(" "),a("h2",{attrs:{id:"using-fs-and-pipe-to-stream-static-files-from-the-server"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#usi... | JavaScript |
internal_static_google_shopping_merchant_datasources_v1_FileUpload_Issue_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_shopping_merchant_datasources_v1_FileUpload_Issue_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
... | Java |
z0.h, z1.b, z2.b
// CHECK-INST: ssublb z0.h, z1.b, z2.b
// CHECK-ENCODING: [0x20,0x10,0x42,0x45]
// CHECK-ERROR: instruction requires: sve2
// CHECK-UNKNOWN: 20 10 42 45 <unknown>
ssublb z29.s, z30.h, z31.h
// CHECK-INST: ssublb z29.s, z30.h, z31.h
// CHECK-ENCODING: [0xdd,0x13,0x9f,0x45]
// CHECK-ERROR: instruction ... | Assembly |
作品 <Site url="www.zcool.com.cn" size="sm" />
<Route namespace="zcool" :data='{"path":"/user/:uid","categories":["design","popular"],"view":2,"example":"/zcool/user/baiyong","parameters":{"uid":"个性域名前缀或者用户ID"},"features":{"requireConfig":false,"requirePuppeteer":false,"antiCrawler":false,"supportBT":false,"supportPodca... | Markdown |
nException(re);
} finally {
if (jedis != null) {
jedis.close();
}
}
}
private Set<String> getKeys(Jedis jedis, String pattern) {
Set<String> matchingKeys = new HashSet<>();
try {
ScanParams params = new ScanParams();
... | Java |
ParseProductAttributeMappings(product, conditionAttribute).FirstOrDefault();
if (dependOnAttribute == null)
return true;
var valuesThatShouldBeSelected = ParseValues(conditionAttribute, dependOnAttribute.Id)
//a workaround here:
//ConditionAttribu... | C# |
parser.add_argument("--vision_tower", type=str, default="openai/clip-vit-large-patch14-336")
parser.add_argument("--data_path", type=str, required=True)
parser.add_argument("--image_folder", type=str, required=True)
parser.add_argument("--output_dir", type=str, required=True)
parser.add_argument("--... | Python |
false,
});
return error;
}
const e = createReadonlyError("message", "property");
logger.error(e);
///////////////////////////
class CustomError extends Error {
constructor(message1: string, message2: string) {
super(message1);
console.log("***", message1, message2);
}
}
const err = new CustomError... | Typescript |
}
protected override void OnMouseMove(MouseEventArgs e)
{
if (!this.ReadOnly)
{
FMouseViewPt.X = ZoomOut(e.X);
FMouseViewPt.Y = ZoomOut(e.Y);
if (FCaptureToolBar == FTableToolBar)
{
TableMouseMo... | C# |
ve);
}
debugPrint('_fakeBalanceTotalAmount!.toInt(): ${fakeBalanceTotalBtc.toInt()}');
await setFakeBalanceTotalAmount(fakeBalanceTotalBtc.toInt());
for (int i = 0; i < splits.length; i++) {
final walletId = wallets[i].id;
final fakeBalance = splits[i];
fakeBalanceMap[walletId] = fak... | Dart |
ampedArray]',
uint16Tag = '[object Uint16Array]',
uint32Tag = '[object Uint32Array]';
/** Used to identify `toStringTag` values of typed arrays. */
var typedArrayTags = {};
typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
typedArrayTags[int32Tag] = ... | JavaScript |
tagName)),e.uri=n.prefix);var r=A.tags[A.tags.length-1]||A;e.ns&&r.ns!==e.ns&&Object.keys(e.ns).forEach((function(t){v(A,"onopennamespace",{prefix:t,uri:e.ns[t]})}));for(var i=0,o=A.attribList.length;i<o;i++){var s=A.attribList[i],a=s[0],c=s[1],B=S(a,!0),g=B.prefix,l=B.local,w=""===g?"":e.ns[g]||"",u={name:a,value:c,pr... | JavaScript |
st be sorted by stop_sequence, and apply for all the
* following stops of the trip up to the next specified one.
*
* Example 1:
* For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure
* delay of 0 for stop_sequence of the current stop means that the trip is
* exactly ... | Java |
r><br><a title='Developer Information' href='https://developer.dracoon.com'>Developer Information</a>  <a title='Get SDKs on GitHub' href='https://github.com/dracoon'>Get SDKs on GitHub</a><br><br><a title='Terms of service' href='https://www.dracoon.com/terms/general-terms-and-conditions/'>Terms of service</... | Java |
world.add(new TestCreature(world));
world.add(new TestCreature(world));
world.add(new TestCreature(world));
world.add(new TestCreature(world));
world.add(new TestCreature(world));
const statsCollector = new StatsCollector(world, 100);
statsCollector.registerCoun... | Typescript |
先级管理
```c
// 创建优先级节点
EK_Node_t *high_priority_node = EK_pNodeCreate(task_data, 1); // 高优先级
EK_Node_t *low_priority_node = EK_pNodeCreate(task_data, 10); // 低优先级
// 按优先级插入
EK_rListInsertOrder(priority_list, high_priority_node);
EK_rListInsertOrder(priority_list, low_priority_node);
```
### 4. 事件管理系统
```c
// 事件节点... | Markdown |
},
},
}
mockParser := new(mockSQLParser)
_, err := spec.Rules(mockParser)
assert.Error(t, err)
}
})
}
func TestPolicyRuleSet(t *testing.T) {
t.Parallel()
t.Run("ruleset must have a name", func(t *testing.T) {
t.Parallel()
spec := &lint.PolicySpecification{
RuleSets: []lint.RuleSet{
{},... | Go |
i, e) {
ChartLegendItem d = _d;
var row = Namespace.createChildElement('div', e),
color = Namespace.createChildElement('div', e)
..className = 'chart-legend-color',
label = Namespace.createChildElement('div', e)
..className = 'chart-legend-label',
value... | Dart |
<< (24 - l % 32);
m[((l + 64 >> 9) << 4) + 15] = l;
for (var i = 0; i < m.length; i += 16) {
a = HASH[0]; b = HASH[1]; c = HASH[2]; d = HASH[3]; e = HASH[4]; f = HASH[5]; g = HASH[6]; h = HASH[7];
for (var j = 0; j < 64; j++) {
if (j < 16) {
W[j] = m[j + i];
} else {
W[j] = safe... | JavaScript |
ToolCallbackProvider[0];
}
// 遍历 MCP 配置列表
for (ChatRequestParams.McpConfig mcpConfig : mcpConfigs) {
// 如果 MCP 服务器类型是 SSE
if (McpClientType.SSE.getName().equals(mcpConfig.type())) {
doRegisterHttpClientSseClient(stream, agentId, mcpConfig); // 注册 HTTP SSE... | Java |
# MIPS Make68K - V0.30 - Copyright 2005, Manuel Geran (bdiamond@free.fr)
# based on Make68K - Copyright 1998, Mike Coates (mame@btinternet.com)
# & Darren Olafson (deo@mail.island.net)
.set arch=allegrex
.set noreorder
.set nomacro
.set nobopt
# .set noat
.glob... | Assembly |
. Tagging Amazon Web Services
/// resources are useful for resource management, access management and cost
/// allocation. For more information, see <a
/// href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">
/// Tagging Amazon Web Services Resources</a> in the <i>Amazon Web Services
/// Gen... | Dart |
ild: widget.child,
),
);
},
),
],
),
);
}
@override
void dispose() {
_animationController.dispose();
super.dispose();
}
}
class ScratchPainter extends CustomPainter {
final ui.Image scratchImage;
final Path path;
Scra... | Dart |
font-weight:bold;
mso-bidi-font-weight:normal;}
p.a1, li.a1, div.a1
{mso-style-name:"\: ";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-indent:36.0pt;
line-height:16.0pt;
mso-line-height-rule:exactly;
mso-pagination:widow-orphan;
font-size:14.0pt;
mso-bidi-font-size:10.0pt;
font-family:"Times... | HTML |
lockEncrypt
/**
* Decrypt a block.
* The in and out buffers can be the same.
* @param in The data to be decrypted.
* @param in_offset The start of data within the in buffer.
* @param out The decrypted data.
* @param out_offset The start of data within the ... | Java |
->dof_types()[j]))
{ found = true; break; }
}
if (!found) {
add_node(deg_hierarchical_dof(fi2->dof_types()[i],
fi1->estimated_degree()),
fi2->node_of_dof(0,i));
base_.resize(nb_dof(0));
base_[nb_dof(0)-1] = (fi2->base... | C++ |
m1i4:
bfextu (a5){d6:16},d0
move.l (DCTptr,d0.l*4),d0 ; 4 octets: val.b run.b len.w
bne.s m1i5
m1i10:
st Fault_Flag
rts
m1i5:
add d0,d6 ; flush buffer (tab->len)
trapcs
swap d0 ; val et run
cmp.b #64,d0
bcc.s m1ipart
m1i6:
move d0,d2
add.b d0,d7
lsr #8,d2
bfextu (a5){d6:1},d3
addq #1,d6
trapcs
m1i9:... | Assembly |
, []frame{
{"net.(*netFD).accept", 0},
{"net.(*TCPListener).accept", 0},
{"net.(*TCPListener).Accept", 0},
{"runtime/trace_test.TestTraceSymbolize.func10", 86},
}},
{trace.EvGoSysCall, []frame{
{"syscall.read", 0},
{"syscall.Read", 0},
{"os.(*File).read", 0},
{"os.(*File).Read", 0}... | Go |
d = false;
}
prevX = MesquiteInteger.unassigned;
prevY = MesquiteInteger.unassigned;
}
else {
GraphicsUtil.unfillXORRect(this, g, labelX, labelY, label.getWidth(), label.getHeight());
filled = !filled;
if (showSquare) {
GraphicsUtil.fillXORRect(g, labelX + label.getWidth() - growboxSi... | Java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.