content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
: null, set: false },
{ x: 4, y: 3, occupied: false, type: null, set: false },
{ x: 0, y: 4, occupied: true, type: 'S', set: true },
{ x: 1, y: 4, occupied: true, type: 'S', set: true },
{ x: 2, y: 4, occupied: false, type: null, set: false },
{ x: 3, y: 4, oc... | Typescript |
学校。企业里的公方代表也可以用别的方法来代替。
</p>
<p>
有人认为:无产阶级专政是好的,但机构拥肿庞大,也容易滋长官僚主义;马克思主义是好的,但也容易形成教条主义,这样才符合二点论。
</p>
<p>
4.党对右派反击是否为时过早?
</p>
<p>
有人说:人民日报的社论批判得早了,你听他(指右派)说罢,有什么了不起,乱不了。我们对右派的反击不应该,小题大作,大惊小怪,别人提了意见,我们不应该就给别人(指右派)扣帽子。
</p>
<p>
有人说:我们对右派的反击是不是太严厉了一些,工人,农民说的话,没有批判,似乎没有劲。中央对右派的进攻原来估计不足。
</p>
... | HTML |
ature{Items: []*types.RingSignatureItem{{Pubkey: [][]byte{[]byte("test")}}}}),
},
{
index: 10,
payload: &pty.Privacy2Public{Tokenname: "bty", Input: &pty.PrivacyInput{Keyinput: []*pty.KeyInput{{}}}},
expectCheckErr: pty.ErrPrivacyTxFeeNotEnough,
testSign: types.Encode(&types.RingSi... | Go |
12.4-12.4-32.8-12.4-45.3 0l-22.6 22.6 158.4 158.4 22.6-22.6c12.4-12.4 12.4-32.8 0-45.3l-22.6-22.6 67.9-67.9c12.5-12.4 12.5-32.8.1-45.2m-246.9 69.9c-12.4-12.4-32.8-12.4-45.3 0l-79.7 79.7c-12.4 12.4-32.8 12.4-45.3 0L160 256h249.9z" />',viewBox:"0 0 512 512"},stripWordFormattingIcon:{name:"strip-word-formatting",content:'... | JavaScript |
;
width:16px;
height:16px;
background:url("../images/sliderThumb.png") no-repeat center center;
cursor:pointer;
}
.tundra .dijitSliderFocused .dijitSliderImageHandleV {
background-image:url("../images/sliderThumbFocus.png");
}
.dj_ie6 .tundra .dijitSliderFocused .dijitSliderImageHandleV {
background-image:url(".... | CSS |
fun testRatioToSampleSize() {
assertThat(ratioToSampleSize(1.000f).toLong()).isEqualTo(1)
assertThat(ratioToSampleSize(0.667f).toLong()).isEqualTo(1)
assertThat(ratioToSampleSize(0.665f).toLong()).isEqualTo(2)
assertThat(ratioToSampleSize(0.389f).toLong()).isEqualTo(2)
assertThat(ratioToSampleSize... | Kotlin |
yperlinkAction;
public interface IArea {
/**
* Gets the x coordinate of the area's top-left border corner.
*
* @return the x coordinate.
*/
int getX();
/**
* Gets the y coordinate of the area's top-left border corner.
*
* @return the y coordinate.
*/
int getY();
/**
* Gets the width of the ar... | Java |
buildingActor, buildingInfo, self))
{
// Try clear the area
foreach (var ord in ClearBlockersOrders(self))
world.IssueOrder(ord);
Game.Sound.PlayNotification(world.Map.Rules, self.Owner, "Speech", "BuildingCannotPlaceAudio", faction);
return true;
}
self.World.AddFrameEndTask(w =>
{
... | C# |
</mat-step>
<!-- Sección 3: Invitados -->
<mat-step label="Invitados">
<app-event-guests [formArray]="guestsArray"></app-event-guests>
<div class="step-actions">
<button mat-raised-button mat-stepper-previous>Anterior</button>
<button mat-raised-button mat-stepper-next>Siguiente</button>
... | HTML |
SMODS.Joker {
key = 'abyss',
atlas = 'Jokers',
rarity = 3,
pos = {
x = 2,
y = 0
},
mxms_credits = {
art = { "Maxiss02" },
code = { "theAstra" },
idea = { "Maxiss02" }
},
blueprint_compat = true,
cost = 9,
loc_vars = function(self, info_queu... | Lua |
памяти (если
конец кратен 16), либо поднимаемся на 16 байт вверх от края памяти,
округлённого до 16 в сторону большего значения
*/
_trap_stack_ptr = ALIGN(16) <= LENGTH(data_mem) ? ALIGN(16) : ALIGN(16) - 16;
ASSERT(_trap_stack_ptr <= LENGTH(data_mem), "ISP exceed memory size")
}
```
_Листинг 1. Пр... | Markdown |
end
local item_id = info[5]
-- the player has grabbed a relic/item, but they might not be allowed to have it since AP hasn't told them they can have it
if already_granted_items[item_id] == nil or info[4] == "none" then
local grabbed_relic = items_by_id[item_id]
... | Lua |
解釋:
---
### **期望值的定義**
期望值(Expected Value, \(E[X]\))是隨機變量的一種加權平均,反映隨機變量在大量試驗中的平均值。定義如下:
- 對於離散隨機變量:
\[
E[X] = \sum_{i} x_i P(X = x_i)
\]
- 對於連續隨機變量:
\[
E[X] = \int_{-\infty}^{\infty} x f(x) \, dx
\]
其中,\(P(X = x_i)\) 是概率,\(f(x)\) 是概率密度函數。
---
### **蒙地卡羅方法估算期望值**
蒙地卡羅方法的基本步驟是:
1. 隨機從某分佈中生成樣本(通常從均勻分佈或其... | Markdown |
1,15 L 0,15 L 0,-40" />
<path d="M 32,35 L -20,35 L -20,-20" />
<g style="stroke-width:0;fill:#000;stroke:none">
<path d="M 30,5 L 30,6.428 L 30,43.571 L 30,45 L 31.428,45 L 50.476,45 C 61.744,45 70.47,36.0 70.47619,25 C 70.47619,14.000045 61.744099,5.0000002 50.47619,5 C 50.47619,5 50.47619,5 31.428... | HTML |
import altius_py
import onnxruntime as ort
import onnx
import tempfile
import pytest
import os
import numpy as np
from onnx import helper, ValueInfoProto, TensorProto
def test_matmul_1():
with tempfile.TemporaryDirectory() as tmpdir:
op_matmul(os.path.join(tmpdir, "model.onnx"), [5, 10], [10, 15], [5, 15]... | Python |
Pixels / displayMetrics.density
val widthSizeClass = WindowSizeClass.compute(dpWidth.toFloat(), dpHeight).windowWidthSizeClass
return when (widthSizeClass) {
WindowWidthSizeClass.COMPACT -> COMPACT
WindowWidthSizeClass.MEDIUM -> MEDIUM
else -> EXPANDED
}
}
/**
* R... | Kotlin |
#[test]
fn ewma1() {
let mut ewma = EWMA::new(1f64);
ewma.update(3);
ewma.tick();
assert_eq!(0.6f64, ewma.rate());
// Expected values after 1..15 minutes.
let expected = [
0.22072766470286553f64,
0.08120116994196772f64,
0.0298... | Rust |
proc_macro2::TokenTree::Ident(ident) =>
{
// is it a state ?
if states.contains(&ident)
{
result.push(ident)
}
}
// tokenstream
proc_macro2::TokenTree::Group(group) =>
{
extract_states_from_rule(gro... | Rust |
.Logf("Found %d diagnostics:", len(diagnostics))
for i, diag := range diagnostics {
t.Logf(" Diagnostic %d: %s (line %d, char %d-%d)",
i, diag.Message,
diag.Range.Start.Line,
diag.Range.Start.Character,
diag.Range.End.Character)
}
// Should only have 1 diagnostic for the actual code usage of <my-foo>... | Go |
ionTypes`이 가능합니다.
`--strictBindCallApply` | `boolean` | `false` | 함수에서 `bind`, `call` 그리고 `apply` 메서드의 더 엄격한 검사를 활성화합니다.
`--strictFunctionTypes` | `boolean` | `false` | 함수 타입에 대한 bivariant 매개변수를 비활성화합니다.
`--strictPropertyInitial... | Markdown |
case "millisecond":
newBuddDate._addMilliseconds(amount);
break;
}
return newBuddDate; // dojox.date.buddhist.Date
};
dbuddhist.difference = function(/*dojox/date/buddhist/Date*/date1, /*dojox/date/buddhist/Date?*/date2, /*String?*/interval){
// summary:
// date2 - date1
// date1: dojox/date/dbuddhist/D... | JavaScript |
using System.Windows.Input;
using SciChart.Charting.Common.Helpers;
using SciChart.Examples.Demo.Common;
using SciChart.Examples.Demo.Helpers;
using SciChart.Examples.Demo.Helpers.Navigation;
using SciChart.UI.Reactive.Services;
namespace SciChart.Examples.Demo.ViewModels
{
public class MostPopularExampleViewMode... | C# |
Zambia":"زیمبیا","Zimbabwe":"زمبابوے","Unknown or Invalid Region":"Unknown or Invalid Region"};AmCharts.mapTranslations.ar = {"Africa":"أمريكا الجنوبية","North America":"أمريكا الشمالية","Oceania":"أوقيانوسيا","South America":"افريقيا","World":"العالم","Americas":"أمريكا الوسطى","Central America":"الأمريكتين","Eastern ... | JavaScript |
public class GlobalMaxPool2D(
name: String = "",
) : Layer(name) {
override val hasActivation: Boolean
get() = false
override fun build(
tf: Ops,
input: Operand<Float>,
isTraining: Operand<Boolean>,
numberOfLosses: Operand<Float>?
): Operand<Float> {
ret... | Kotlin |
CK-EMPTY:
# CHECK-NEXT: :
# CHECK-NEXT: d2800021 mov x1, #1
# CHECK-NEXT: 92800001 mov x1, #-1
# CHECK-NEXT: d2a00042 mov x2, #131072
## -65537 = 0xfffffffffffeffff
# CHECK-NEXT: 92a00022 mov x2, #-65537
## 12884901888 = 0x300000000
# CHECK-NEXT: d2c00063 mov x3, #12884901888
## -8589934593 = #... | Assembly |
#=========================================================================
# Prob07p08_comb_arith_8b_rotator_test
#=========================================================================
# SPDX-License-Identifier: MIT
# Author : Christopher Batten, NVIDIA
# Date : May 20, 2024
from pyhdl_eval.cfg import Config, I... | Python |
= 0; i < dof ; i++) {
q.at(idx)[i] = i * 0.1;
qdot.at(idx)[i] = i * 0.15;
qddot.at(idx)[i] = i * 0.17;
}
UpdateKinematics (reference_model.at(idx),
q.at(idx),
qdot.at(idx),
qddot.at(idx));
UpdateKinematics (custom... | C++ |
startOffset,t.startColumn=e.startColumn,t.startLine=e.startLine,t.endOffset=e.endOffset,t.endColumn=e.endColumn,t.endLine=e.endLine):t.endOffset<e.endOffset==!0&&(t.endOffset=e.endOffset,t.endColumn=e.endColumn,t.endLine=e.endLine)}const Pa="name";function Ba(t,e){Object.defineProperty(t,Pa,{enumerable:!1,configurable:... | HTML |
tions *S" *.req<BR>exec "d:\\path\\my-pkt-unpacker.exe
/options *A*" c:\\\\bbs\\\\inbound\\\\*.pkt <BR>exec
"d:\\path\\my-tosser.exe /options" *.su? *.mo? *.tu? *.we?
*.th? *.fr? *.sa?<BR>Exec "!d:\\path\\my-pkt-filter.exe *F
/options" c:\\\\bbs\\\\inbound\\\\unsecure\\\\*.pkt<BR>exec... | HTML |
{
p.addParseErrf(posrange.PositionRange{}, "duplicate key \"%s\" in histogram", key)
continue
}
(*left)[key] = value
}
return left
}
func (p *parser) histogramsIncreaseSeries(base, inc *histogram.FloatHistogram, times uint64) ([]SequenceValue, error) {
return p.histogramsSeries(base, inc, times, func(a, ... | Go |
ry( "d1", iterator, 1, true, false ) );
REQUIRE( iterator.m_contentCheck );
}
{
Walker iterator( 1, false, true );
CPL_SYSTEM_TRACE_MSG( SECT_, ( "Walk 'd1', 1" ) );
REQUIRE( Api::walkDirectory( "d1", iterator, 1, false, true ) );
REQUIRE( iterator.m_contentCheck );
}... | C++ |
import gymnasium as gym
from gymnasium.wrappers import RecordVideo
import random
import copy
import torch
from torch import nn
GAMMA = 0.97
LEARNING_RATE = 0.001
MEMORY_SIZE = 200
BATCH_SIZE = 50
# 環境の生成
trigger = lambda t: t % 100 == 0
env = RecordVideo(gym.make('CartPole-v0', render_mode="rgb_array"), './video/... | Python |
<link rel="stylesheet" type="text/css" href="../css/foundation.min.css"></link>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'></link>
<link rel="stylesheet" type="text/css" href="../css/org-export.css"></link>
<link rel="stylesheet" type="text/css" href="../css/style.cs... | HTML |
X');
if (scaledCanvas.hasMirror(0)) { cb.checked = true; }
cb = $1('#mirrY');
if (scaledCanvas.hasMirror(1)) { cb.checked = true; }
cb = $1('#mirrXY');
if (scaledCanvas.hasMirror(2)) { cb.checked = true; }
cb = $1('#mirrXnY');
if (scaledCanvas.hasMirror(3)) { cb.c... | Typescript |
1px;
height: 100%;
top: 0;
bottom: 0;
right: auto;
left: 0;
background: rgba(0, 0, 0, 0.06);
position: absolute;
}
.side-header-narrow-bar .side-header-narrow-bar-content .side-header-narrow-bar-content-vertical {
transform: rotate(-90deg);
white-space: nowrap;
text-transform: uppercase;
margin-right: -18%... | CSS |
' }, { int: 1 } ], value: Uint8Array [ 2 ] },
* // { key: [ { string: 'b' }, { int: 2 } ], value: Uint8Array [ 3 ] }
* // ]
* ```
*
* @param name the name passed to `sortedCreate()`
* @param key the key to search for in the sorted map
* @return the matching key-value pairs
*/
async sortedGet(name: st... | Typescript |
{
HashMap<String, Object> data = new HashMap<>();
data.put("departments", departmentService.groupByParent());
return JsonResponse.data(data);
}
@BackendPermission(slug = BPermissionConstant.DEPARTMENT_CUD)
@PostMapping("/create")
@Log(title = "部门-新建", businessType = BusinessTyp... | Java |
"addAddress6", "address: ${cidr.address} prefixLength:${cidr.prefixLength}"
)
addAddress(cidr.address, cidr.prefixLength)
} catch (_: Exception) {
Log.d(
"addAddress6", "IPv6 is not supported."
)... | Kotlin |
div",{className:"bg-slate-300/40 h-7 w-[85%] rounded-sm shadow-md mt-2 ml-3 overflow-hidden",children:N.jsx("div",{className:"h-1.5 bg-white/90 px-0.5 flex items-center gap-[1px] before:block before:rounded-full before:w-0.5 before:h-0.5 before:bg-red-500 after:w-0.5 after:h-0.5 after:bg-green-500",children:N.jsx("i",{... | JavaScript |
/* orbit radius */
double hm; /* module of the orbit angular momentum vector */
double dfdt; /* rotational rate of the orbit frame */
double ddfdt2; /* rotational acceleration of the frame */
double omega_RN_R[3]; ... | C |
back(java.lang.Integer)">setPostback</A>, <A HREF="../../../../../br/gov/jfrj/siga/libs/webwork/SigaAnonimoActionSupport.html#setRequest(javax.servlet.http.HttpServletRequest)">setRequest</A>, <A HREF="../../../../../br/gov/jfrj/siga/libs/webwork/SigaAnonimoActionSupport.html#setServletContext(javax.servlet.ServletCont... | HTML |
CE e1, CE e2) =>
(e1.id % mod) - (e2.id % mod);
bool validKey(Object o) => o is CE;
final customId = new Map.identity();
int counter = 0;
int identityCompare(e1, e2) {
if (identical(e1, e2)) return 0;
int i1 = customId.putIfAbsent(e1, () => ++counter);
int i2 = customId.putIfAbsent(e2, () => ++counter);
ret... | Dart |
# Copyright 2025 Google LLC
#
# 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 agreed to in writing, s... | Python |
? ColorScheme.of(context).error
: null;
if (widget.onProgressUpdated == null) {
return Tooltip(
message: 'Progress',
child: SizedBox(
height: 30,
child: Center(
child: Text(
'${item.progress}/${item.progressMax ?? "?"}',
... | Dart |
struct{
fieldName type `key:"value" key2:"value2"`
}
```
```go
type employee struct {
Name string
Age int
Salary int
}
```
در این مثال، مقدار داخل متغیری که از نوع Employee است را تبدیل به json می کنیم و چاپ می کنیم.
{{< play >}}
package main
import (
"encoding/json"
"fmt"
"log"
)
... | Markdown |
)
.key(&queue.0.processing_list)
.key(&queue.0.done_list)
.key(&queue.0.stats_hash)
.arg(job_id)
.arg(now.timestamp_millis())
.arg(expected_expiration.timestamp_millis())
.invoke_async(&mut **conn)
.await?;
Ok(marke... | Rust |
position,
this.transformHitTests = true,
this.direction = AxisDirection.down,
required this.child})
: super(key: key, listenable: position) {
switch (direction) {
case AxisDirection.up:
_tween = Tween(begin: const Offset(0, 1), end: const Offset(0, 0));
break;
ca... | Dart |
/*
* Copyright (C) Igor Sysoev
* Copyright (C) NGINX, Inc.
*/
#ifndef _NXT_UNIX_MALLOC_H_INCLUDED_
#define _NXT_UNIX_MALLOC_H_INCLUDED_
NXT_EXPORT void *nxt_malloc(size_t size)
NXT_MALLOC_LIKE;
NXT_EXPORT void *nxt_zalloc(size_t size)
NXT_MALLOC_LIKE;
NXT_EXPORT void *nxt_realloc(void *p, size_t size)
... | C |
repr(C)]
#[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"Win32_System_Time\"`*"]
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Time"))]
pub struct TRACE_LOGFILE_HEADER64_0_0 {
pub MajorVersion: u8,
pub MinorVersion: u8,
pub SubVersion: u8,
pu... | Rust |
opt c+, at+, e+, n-
section overlay.text
xdef s19b_democame_800DB790
s19b_democame_800DB790:
dw 0x27BDFFE0 ; 800DB790
dw 0xAFB00010 ; 800DB794
dw 0xAFB10014 ; 800DB798
dw 0x00A08821 ; 800DB79C
dw 0xAFBF001C ; 800DB7A0
dw 0xAFB20018 ; 800DB7A4
dw 0x8E320008 ; 800DB7A8
dw 0x24020001 ; 800DB7AC
dw 0x12420022 ;... | Assembly |
u>b</b>cde]<b>f</b>y',
{ html: 'x<b><u>a</u></b>bam^<b>f</b>y',
text: 'x<b><u>abam^</u>f</b>y' }, 'merge 1g' );
a.insertion = '<b>bam</b>';
a.mode = 'html';
// These simple cases will probably be moved to TCs to G4-6.
a( 'x<b>a</b>^y', 'x<b>abam^</b>y', 'merge 2a' );
a( 'x... | JavaScript |
\"E_ab\".\"public.B.uid__I\" = \"public\".\"V_B\".\"uid\"\n" +
"WHERE\n" +
"\t( \"public\".\"V_A\".\"uid\" = ?)\n" +
"GROUP BY\n" +
"\t\"public\".\"V_B\".\"name\"", sql);
}
Assert.assertEquals(2, traversal.getSteps().size())... | Java |
:
'Cache invalidation memory leak: ${totalGrowth.toStringAsFixed(2)} MB growth',
);
}
});
test('massive binding permutation stress test', () async {
const numShaders = 5;
const numBuffers = 10;
const numPermutations = 100;
print('Massive binding permutation ... | Dart |
_INVALID",
"message": "upload resumed at wrong offset: 3 != 0",
"detail": null
}
]
}
==============================================================================
</pre>
</div>
</div>
... | HTML |
29344f7e700701101c2223"> 182</a></span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <span class="keyword">const</span> kThreads = WarpCount::kCount * kWarpSize;</div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> </div><div class="line"><a name="l001... | HTML |
out V>, value: Any?, argumentIndex: Int): V? {
if (value == null) return null
if (value isInstanceOf clazz) {
@Suppress("unchecked_cast")
return value as V
}
val valueStr = value.toString().limitToOneString()
val message = "Failed to case argument $argumentIndex to required class ${... | Kotlin |
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</tbody>
</table>
</figure><li>Let <var>U</var> be an empty set.<li>For each character <var>c</var> not in set <var>A</var> where <emu-xref aoid=Canonicalize id=_ref_6014><a... | HTML |
counterfactual_samples = sampler.sample(original_sentence=original_utterance, n_samples=n_counterfactual_samples)['counterfactual_sentences']
metric_value = metric(original_utterance, counterfactual_samples)
results.extend(metric_value)
return np.mean(results)
def pairwise_latent_euclidean_d... | Python |
OptionPeerTabVisible, v: jsonEncode(_isVisible));
} catch (_) {}
notifyListeners();
}
}
}
_trySetCurrentTabToFirstVisibleEnabled() {
if (!visibleEnabledOrderedIndexs.contains(_currentTab)) {
if (visibleEnabledOrderedIndexs.isNotEmpty) {
_currentTab = visibleEnabledOrdere... | Dart |
4sIDt6S9PS2B7Uwh4qzBAvnIn4uof593/BBPOVKRKHteE48T04N0sjfxX13kY/W0gBO12TnjFjhl+UI8PyZ3eNcix1pXTeQ5mGSqfMX3fuB6mWS3Wbg5iI1pjSLZeWlpZqldAen3JpXgkmtBZEh+M+G99ATQmx5w7hv1IFDGE+aWwNFw2lA5r6L46LEqyx9WKcU0VFRVoFOwposqKohdhz0KaauFse6o2t4eI1SYTH7RzTg2Q9SXuhdLobAPOLWwQ3tvpPebWxsdE/35zuphaCdt3nQSmTykQ6+zLoJLXgdIvsaNaB9erJWzOxi4f2jn... | CSS |
!= nil {
return err
}
return nil
})
_s_wkti0_transport_address := func(ptr interface{}) { o.TransportAddress = *ptr.(*string) }
if err := w.ReadPointer(&o.TransportAddress, _s_wkti0_transport_address, _ptr_wkti0_transport_address); err != nil {
return err
}
if err := w.ReadData(&o.WANIsh); err != nil {
... | Go |
);}
*/
const STLTriangle& st = stlgeometry -> GetTriangle(chart.GetChartTrig(j));
const Vec3d & n = stlgeometry->GetTriangle(chart.GetChartTrig(j)).Normal();
glNormal3f (n.X(), n.Y(), n.Z());
/*
const STLReadTriangle& tria = stlgeometry -> GetReadTriangle(chart.GetChartTrig(j));
glNorm... | C++ |
-size: 100%;
}
.params td {
border-top: 1px solid #eee
}
.params td.description > p:first-child, .props td.description > p:first-child {
margin-top: 0;
padding-top: 0;
}
.params td.description > p:last-child, .props td.description > p:last-child {
margin-bottom: 0;
padding-bottom: 0;
}
span.param-typ... | CSS |
s(
userId = userId,
storeType = storeType,
projectCode = projectCode,
pipelineId = pipelineId,
buildId = buildId,
debug = debug,
tag = tag,
executeCount = executeCount
)
}
override fun getAfterLogs(
... | Kotlin |
/*=============================================================================
TexGen: Geometric textile modeller.
Copyright (C) 2010 Louise Brown
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; eit... | C |
`SERVER`
//! // `Token` is used to determine that we received an event for the listener
//! // later on.
//! const SERVER: Token = Token(0);
//! poll.registry().register(&mut listener, SERVER, Interest::READABLE)?;
//! # Ok(())
//! # }
//! ```
//!
//! Multiple event sources can be [... | Rust |
gUnk_03002560
ldr r0, [r0]
bl sub_020097E0
b _02006496
.align 2, 0
_0200648C: .4byte gUnk_03002560
_02006490:
ldrb r0, [r4, #3]
subs r0, #1
strb r0, [r4, #3]
_02006496:
pop {r4, r5, r6}
pop {r0}
bx r0
thumb_func_start sub_0200649C
sub_0200649C: @ 0x0200649C
push {lr}
sub sp, #4
ldr r0, _020064C8 @ =sub_0... | Assembly |
火者",
[10798] = "阿塔拉利恩的牙环",
[10799] = "刺头之矛",
[10800] = "暗水护腕",
[10801] = "滑鳞长靴",
[10802] = "翼膜披风",
[10803] = "奥戈姆之刃",
[10804] = "诅咒之拳",
[10805] = "食尸者",
[10806] = "阿塔莱预言者法衣",
[10807] = "阿塔莱预言者褶裙",
[10808] = "阿塔莱预言者手套",
[10818] = "叶基亚的卷轴",
[10819] = "枭兽羽毛",
[10820] = "草种腰带",
[10821] = "播种者披风",
[10822] = "黑龙宝宝",
[10823] ... | Lua |
# Benchmark: Ternary Data Compression
# Évaluation des performances des instructions de compression de données ternaires
# Ce benchmark compare les opérations de compression/décompression ternaires aux approches conventionnelles
# Définition des constantes
.equ DATA_SIZE, 256 # Taille des données à compresser
.e... | Assembly |
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.apache.geaflow.console.common.dal.model;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.function.Fun... | Java |
/p>
<figure class="kg-card kg-image-card"><img src="https://blog.cloudflare.com/content/images/2021/10/5-8.png" class="kg-image" alt="World map of Cloudflare locations" loading="lazy"></figure>
<p>Selanjutnya, setiap paket yang diserap di pusat data Cloudflare dianalisis untuk serangan DDoS menggunakan beberapa lapis... | HTML |
Immutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return emu.grasscutter.net.proto.TowerRecordHandbookRspOuterClass.internal_static_TowerRecordHandbookRsp_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMes... | Java |
rue,
physics: const NeverScrollableScrollPhysics(),
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
// crossAxisCount: crossAxisCount,
crossAxisCount:
ScreenHelper.isMobile()
? 2
: (screenWidth < 840 ? 2 : (screenWidth > 1024 ? 5 : 4)),
... | Dart |
<Box<Schema>>>,
#[serde(skip_serializing_if = "Option::is_none")]
pub min_items: Option<usize>,
#[serde(skip_serializing_if = "Option::is_none")]
pub max_items: Option<usize>,
#[serde(skip_serializing_if = "Option::is_none")]
pub unique_items: Option<bool>,
#[serde(skip_serializing_if = "Opt... | Rust |
wake-news-radiotv/' rel='external nofollow ugc' class='url'>Das Bankrott-System im Wanken – Wake News Radio/TV | Mywakenews's Blog</a></p>
</li><!-- #comment-## -->
<li class="post pingback">
<p>Pingback: <a href='https://terraherz.wordpress.com/2016/07/29/absolutes-chaos-im-anmarsch-wake-news-radiotv-26... | HTML |
be equipped because it's infected with Locker Rot.")
return false
end
end
-- Finds the locker that is furthest away from the target
function PLUGIN:FindLockerForAntiVirus(client)
local lockers = ents.FindByClass("exp_lockers")
local targetPos = client:GetPos()
local furthestLocker
local furthestDistance = 0
... | Lua |
intentFilter = IntentFilter(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)
registerReceiver(receiver, intentFilter)
}
override fun onDestroy() {
super.onDestroy()
unregisterReceiver(receiver)
}
private inner class WifiBroadcastReceiver : BroadcastReceiver() {
override fun ... | Kotlin |
/by-nc-sa/4.0/88x31.png" /></a>
本作品采用<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议</a>进行许可, 转载请注明出处, 谢谢合作
因本人技术水平和知识面有限, 内容如有纰漏或者需要修正的地方, 欢迎大家指正, 也欢迎大家提供一些其他好的调试工具以供收录, 鄙人在此谢谢啦
<br>
#1 配置 qemu 的网络功能
-------
`qemu` 支持多种网络链接方式
* 默认方式为用户模式网络(Usermode Networ... | Markdown |
input[type=file] {
margin-left: -2px !important;
}
.form-file input[type=file]::-webkit-file-upload-button {
display: none;
}
.form-file input[type=file]::file-selector-button {
display: none;
}
.form-label-required:after {
content: " *";
color: var(--b-theme-danger, $danger);
}
.form-group {
... | CSS |
ent.BRPopLPush(ctx, "list1", "list2", time.Second).Result()
// Expect(err).To(Equal(redis.Nil))
//
// err = client.RPush(ctx, "list1", "a", "b", "c").Err()
// Expect(err).NotTo(HaveOccurred())
//
// v, err := client.BRPopLPush(ctx, "list1", "list2", 0).Result()
// Expect(err).NotTo(HaveOccurred())
// Ex... | Go |
).jpg' height='131' width='175' alt='Walnut Turkish Baklava Recipe' title='Walnut Turkish Baklava Recipe Hazırlanış Aşaması 4' /> <img src='https://cdn.ye-mek.net/App_UI/Img/out/175/2014/06/hazir-yufkadan-buzme-burma-baklava-resimli-yemek-tarifi(5).jpg' height='131' width='175' alt='Walnut Turkish Baklava Recipe' titl... | HTML |
r *Reconciler) updateCNISubnetConfig(ctx context.Context, cr *hubv1alpha1.Cluster, cl cluster.ClusterInterface) (ctrl.Result, error, bool) {
log := logger.FromContext(ctx)
debuglog := log.V(1)
toUpdate := false
err := retry.RetryOnConflict(retry.DefaultRetry, func() error {
err := r.Get(ctx, types.NamespacedName{... | Go |
'module': module,
'cmd': cmd,
'type': ContentType.binary.toString(),
'data': base64Encode(data) //二进制使用base64进行编码
};
_connects.forEach((element) {
element.sink.add(jsonEncode(d));
});
return _seq;
}
///给所有连接发送数据
static int broadcastText(String module, int cmd, String data... | Dart |
m_firstNode = next;
if (next == null) // last node
m_lastNode = prev;
m_IdDirty++;
m_count--;
Node.SetHasChildren(m_owner, m_count != 0);
}
public void InsertAfter(Node node, Node insertAfter)
{
m_version++;
ClearInternalArray();
Debug.Assert(node.Owner == null, "node.Owner == null");... | C# |
: float32")
.Input("scale: float32")
.Input("offset: float32")
.Input("axes: int32")
.Output("result: float32")
.SetShapeFn([](::tensorflow::shape_inference::InferenceContext* c) {
c->set_output(0, c->input(0));
return tensorflow::OkStatus();
})
.Doc(R"doc(
Dummy layer norm op.
)... | C++ |
border-radius: @border-radius-base;
.box-shadow(0 6px 12px rgba(0,0,0,.175));
background-clip: padding-box;
// Aligns the dropdown menu to right
//
// Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
&.pull-right {
right: 0;
left: auto;
}
// Dividers (basically an hr) within the dropd... | CSS |
TopLeftQuadrant(shadow);
// Give the shadow a tint of the desired color.
shadowPainter.begin(&shadow);
shadowPainter.setCompositionMode(QPainter::CompositionMode_SourceIn);
shadowPainter.fillRect(shadow.rect(), color);
shadowPainter.end();
// Actually, present the shadow.
QRect shadowRect ... | C++ |
Case()+"_"+t).replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return(e=e||t.substring(1)+"_"+n).replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return""+n.toLowerCase()+oh(t);return}return null}function ih(e){const t=e["spec"],n=t["paths"],r={};if(!n||t.$$normalized)return e;for(const e in n... | JavaScript |
#import <Foundation/Foundation.h>
#import "SpectaSupport.h"
#import "SPTSenTestCase.h"
#import "SPTSpec.h"
#import "SPTExampleGroup.h"
#import "SPTSharedExampleGroups.h"
@interface Specta : NSObject
@end
#define SpecBegin(name) _SPT_SpecBegin(name, __FILE__, __LINE__)
#define SpecEnd _SPT_SpecEnd
#defi... | C |
, "TradingDay Expected bytes");
return -1;
}
const char *buf = PyBytes_AsString(val);
Py_ssize_t len = PyBytes_Size(val);
if (len > (Py_ssize_t)sizeof(self->data.TradingDay)) {
PyErr_SetString(PyExc_ValueError, "TradingDay must be less than 9 bytes");
return -1;
}
strncpy(self->data.TradingDay, buf, sizeof(... | C++ |
ация=0 мес.</li><li>Строка 84 из 2458: ПАО ПСБ БО-02 (RU000A0JVVP5): цена=null%, доходность=0%, дюрация=0 мес.</li><li>Строка 85 из 2458: ПАО ПСБ БО-03 (RU000A0JVVT7): цена=null%, доходность=0%, дюрация=0 мес.</li><li>Строка 86 из 2458: Российские ЖД ОАО БО-02 (RU000A0JVW71): цена=99.98%, доходность=21.71%, дюрация=7.4... | HTML |
to current thread ptr
LDR r0, [r1, #0] ; Pickup current thread pointer
IF {TARGET_FPU_VFP} = {TRUE}
LDR r2, [r0, #160] ; Pickup the VFP enabled flag
CMP r2, #0 ; Is the VFP enabled?
BEQ _tx_skip_irq_vfp_save ... | Assembly |
Zero.value == LogicValue.one,
mValidOut: true,
mReadyIn: intf.readyIn.value == LogicValue.one));
}
});
}
}
class MultiCycleDividerScoreboard extends Component {
final Stream<MultiCycleDividerInputSeqItem> inStream;
final Stream<MultiCycleDividerOutputSeqItem> outStream;
final... | Dart |
-- every 250s (4m10s) a zone emote occurs and npcs are chosen to walk to NW bridge gate where they depop
-- if enough npcs depop and there's not enough mobs left in zone the mission fails with an emote
-- npcs are depopped by a proximity timer if dragged to the bridge and then aggro dropped
--
-- 1) it's unknown how ma... | Lua |
and/or bit 1 and/or bit 2 set uxBitsToWaitFor to 0x07. Etc.</td></tr>
<tr><td class="paramname">xClearOnExit</td><td>If xClearOnExit is set to pdTRUE then any bits within uxBitsToWaitFor that are set within the event group will be cleared before xEventGroupWaitBits() returns if the wait condition was met (if the f... | HTML |
string) string {
return strings.Replace(in, "-", "\\-", -1)
}
func TestGenManDoc(t *testing.T) {
header := &GenManHeader{
Title: "Project",
Section: "2",
}
// We generate on a subcommand so we have both subcommands and parents
buf := new(bytes.Buffer)
if err := GenMan(echoCmd, header, buf); err != nil {
... | Go |
tLiteral(0)), '''
-0''');
testExpression(new UnaryExpression(new Name('~'), new IntLiteral(0)), '''
~0''');
testExpression(
new UnaryExpression(
new Name('unary-'),
new BinaryExpression(
new IntLiteral(0), new Name('+'), new IntLiteral(1))),
'''
-(0 + 1)''');
}
void _... | Dart |
tribb = {
1:1,
2:2,
3:4,
4:7,
5:13,
6:24,
7:44,
8:81,
9:149 ,
10:274,
11:504,
12:927 ,
13:1705,
14:3136,
15:5768,
16:10609,
17:19513,
18:35890,
19:66012,
20:121415,
21:223317,
22:410744 ,
23:755476,
24:1389537
}
print(tr... | Python |
* secondsPerDay
)
// An absSeconds counts the number of seconds since the absolute zero instant.
type absSeconds uint64
// An absDays counts the number of days since the absolute zero instant.
type absDays uint64
// An absCentury counts the number of centuries since the absolute zero instant.
type absCentury uint64... | Go |
/* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/CameraKit.framework/CameraKit
*/
@interface CMKStillImageCaptureRequest : CMKCaptureRequest <NSCopying, NSMutableCopying> {
long long _captureDevice;
<CMKStillImageCaptureRequestDelegate> * _delegate;
long long _deviceOrientation... | C |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.