content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
20317 1.616605,4.20317 1.131623,3.55653 -0.323321,6.46642 -1.778265,3.07155 -0.646642,5.81978 -0.969963,3.71819 1.778265,3.87985 2.748228,4.52649 2.263247,4.84982 1.293283,4.04151 -0.32332,3.23321 -0.323321,0.48498 0,2.10158 5.658116,6.30476 -0.484981,2.42491 -0.646642,2.26325 -0.646642,1.93992 0.16166,8.24469 2.101586... | JavaScript |
tion("webLink")
myResourceOptions["id"] = DefaultBooleanOption("id", true)
ResourceDefaultColumn.values().filter { it != ResourceDefaultColumn.ID }.map {
DefaultBooleanOption(it.stub.id, true)
}.forEach { myResourceOptions[it.id] = it }
}
/**
* @return a list of the possible separated char.
... | Kotlin |
ងត្រូវតែជាលេខ។',
invalidLength: 'Value specified for the "%1" field must be a positive number with or without a valid measurement unit (%2).', // MISSING
invalidCssLength: 'តម្លៃកំណត់សម្រាប់វាល "%1" ត្រូវតែជាលេខវិជ្ជមាន ដោយភ្ជាប់ឬមិនភ្ជាប់ជាមួយនឹងឯកតារង្វាស់របស់ CSS (px, %, in, cm, mm, em, ex, p... | JavaScript |
.x
val y1 = p.y
if (((y1 > y) != (y0 > y)) && (x < (x0 - x1) * (y - y1) / (y0 - y1) + x1)) inside = !inside
x0 = x1
y0 = y1
}
return inside
}
/**
* Returns the Polygon convex hull of the specified points using Andrew’s monotone chain algorithm.
* The returned hull is represen... | Kotlin |
", func() {
pvc2 := &v1.PersistentVolumeClaim{
ObjectMeta: metav1.ObjectMeta{
Name: "testPVC2",
Namespace: "test",
Labels: map[string]string{
"migration": "migration1",
"diskID": "disk1",
},
},
}
destinationClient = createDestinationClient(pvc1, pvc2)
pvc, err... | Go |
/ 26fbf-26fdd
'aJ' // 26fde-26fdf #9
'uA' // 26fe0-26ff5
'bB' // 26ff6-26ff8 #1
'tA' // 26ff9-2700d
'J' // 2700e #9
'2gA' // 2700f-2704a
'J' // 2704b #9
'eA' // 2704c-27051
'aJ' // 27052-27053 #9
'1yA' // 27054-27087
'J' // 27088 #9
'1iA' // 27089-... | Dart |
also">
<p class="admonition-title">See also</p>
<p><a class="reference internal" href="create_protocol_3.html#predicates-create-protocol-3"><span class="std std-ref">create_protocol/3</span></a>,
<a class="reference internal" href="current_protocol_1.html#predicates-current-protocol-1"><span class="std std-ref">current... | HTML |
for JOSE and COSE draft](https://datatracker.ietf.org/doc/draft-ietf-jose-fully-specified-algorithms/)
* for more information on what constitutes a fully specified algorithm.
* @param curve the [EcCurve] used in the algorithm or `null` if not applicable or not a fully specified algorithm.
* @param hashAlgorithm t... | Kotlin |
# extract_features.py
import numpy as np
import os
# === Feature Extraction ===
def get_angle(a, b, c):
ba = a - b
bc = c - b
cosine = np.dot(ba, bc) / (np.linalg.norm(ba) * np.linalg.norm(bc) + 1e-6)
return np.degrees(np.arccos(np.clip(cosine, -1.0, 1.0)))
def extract_features_from_3d(keypoints):
... | Python |
41 0-192 122.76-192 200.25 0 34.9 26.81 55.75 71.74 55.75 48.84 0 81.09-25.08 120.26-25.08 39.51 0 71.85 25.08 120.26 25.08 44.93 0 71.74-20.85 71.74-55.75C448 378.76 335.41 256 256 256zm-147.28-12.61c-7.21-24.03-24.89-41.91-44.72-48.46V128l-45.51 62.37A96.204 96.204 0 0 0 0 247.09c.03 6.97 1.09 14.22 3.28 21.52 10.4 3... | JavaScript |
var theta = p[4];
var dTheta = p[5];
var x1 = Math.cos(theta) * rx + cx;
var y1 = Math.sin(theta) * ry + cy;
w += windingLine(xi, yi, x1, y1);
// zr 使用scale来模拟椭圆, 这里也对x做一定的缩放
... | JavaScript |
then
return 'initdb: ' .. tostring(ret) .. ": " .. tostring(out) .. "/" .. tostring(err)
end
local fd = mtev.open(dir .. "/postgresql.conf", O_NEW, tonumber('644',8))
if fd < 0 then return "cannot open postgresql.conf" end
mtev.write(fd, "listen_addresses = 'localhost'\n")
mtev.write(fd, "port = " .. self... | Lua |
.l d0-d7/a0-a5,(a6)
movem.l d0-d7/a0-a5,2(a6)
movem.l d0-d1,2(a6)
eff2402:
eff256: movem.l d0-d7/a0-a5,2(a6)
movem.l d0-d7/a0-a5,2(a6)
movem.l d0-d3,2(a6)
eff2561:movem.l d0-d7/a0-a5,(a6)
movem.l d0-d7/a0-a5,2(a6)
movem.l d0-d3,2(a6)
eff2562:
eff272: movem.l d0-d7/a0-a5,2(a6)
movem.l d0-d7/a0-a5,2(a6)
movem.l d... | Assembly |
MANAGEMENT_SPACE_CONTAINER";
private static final String LUS_IP_ADDRESS_ENV = "LUS_IP_ADDRESS";
private static final String WORKING_HOME_DIRECTORY_ENV = "WORKING_HOME_DIRECTORY";
private static final String CLOUD_FILE = "CLOUD_FILE";
private static final String AUTO_RESTART_AGENT = "AUTO_RESTART_AGENT";
/****... | Java |
Escrows = [
{
escrowId: '1234',
from: 'address',
sell: {
assetId: 'A',
value: 10,
},
buy: {
assetId: 'B',
value: 20,
},
timestamp: 1234,
},
];
replaceEscrows(otherEscrows);
... | Typescript |
("test"))
implementation(kotlin("test-annotations-common"))
}
}
val jvmMain by getting
val commonBench by creating {
dependsOn(commonMain)
dependencies {
implementation(libs.kotlinx.benchmark)
}
}
v... | Kotlin |
c2;color:#f8fbfd}.ui-datagrid__foot .ui-datagrid__cell,.ui-datagrid__foot .ui-datagrid__cell__counter{background-color:#eef2f5;border-top:1px solid #d7dee4;color:#182026}.ui-datagrid__row{background-color:#e8edf0}.ui-datagrid__row--even .ui-datagrid__cell{background-color:#f3f6f9}.ui-datagrid__row--odd .ui-datagrid__ce... | CSS |
= astObj.body[i].source.value;
//check here to see if the import name is in the componentNames array
if (astObj.body[i].source.value.match(regex)) {
//only if it is inside of that array, then we will add the component object to the restlt components obj
componentObj... | Typescript |
IC-DATASET:PAI public dataset.
- ITAG: The dataset generated by the iTAG module annotation result.
- USER: The data set registered by the USER.
"""
return pulumi.get(self, "source_type")
@_builtins.property
@pulumi.getter
def uri(self) -> pulumi.Output[_builtins.str]:
... | Python |
-position:50%}.r .cp_attached_post .-medias_link_thumbed_small .mlt_header,.r .cp_attached_post .mlt_market .mlt_header,.r .e .-medias_link_thumbed_small .mlt_header,.r .e .mlt_market .mlt_header,.r .wall_item .-medias_link_thumbed_small .mlt_header,.r .wall_item .mlt_market .mlt_header,.ThumbedLink_small .ThumbedLink_... | CSS |
</p>
<h3>
定量分配的好处
</h3>
<p>
根据以上情况,我們認为,除了搞好生产,增产粮食和向社員进行勤儉持家、节約用粮的敎育外,必須从根本上来改变目前农業社平均分配粮食的方法,应当采用以人定量分配的方法。这样做有三点好处:一、可以改变社員之間粮食余缺不勻現象,使每个社員都能按照三定正确分到足够的口粮;二、可以調节农業社內部矛盾,加强社員之間的团結,有利于發展生产;三、可以节約粮食,避免粮食过多戶的浪費現象。
</p>
<h3>
一个方案
</h3>
<p>
我們在星生社与社干部研究了一个以人分等定量的标准,提出来供大家参考。
</p>
<p>
等级... | HTML |
rectory not found: $dir"
}
val contextTags =
listOf("b", "i", "u", "s", "url", "img", "quote", "code", "mask", "img=300,200", "img=300", "img=,200")
.flatMap {
listOf(it, it.uppercase())
}
BBCodeTestGenerator("Basics").apply {
case("[b]Hello World![... | Kotlin |
container.Register<ICustomerRepository, DatabaseCustomerRepository>();
/// }
/// }
/// ]]></code>
/// The following example shows how to load all defined packages, using the
/// <see cref="PackageExtensions.RegisterPackages(Container, IEnumerable{Assembly})">RegisterPackages</see> metho... | C# |
sizeLimit = conf.getProperty("fore.upload.size.limit", 0L);
Set<String> accept = null;
String a = conf.getProperty("fore.upload.accept", null);
if (a != null) {
accept = new HashSet(Arrays.asList(a.trim().split("\\s*,\\s*")));
}
Set<String> reject = null;
String r = conf.getProperty("for... | Java |
大会议上也制订了《坚决学习和贯彻山东省革命委员会关于认真转变作风的若干规定》。
</p>
<p>
二十五日 《人民日报》转载六月二十一日《文汇报》社论,《无产阶级革命性与小资产阶级摇摆性》并加了编者按,着重指出:必须“克服小资产阶级摇摆性,增强无产阶级革命性,做无产阶级事业可靠的接班人。”
</p>
<p>
二十六日 周总理于二十五日陪同赞比亚共和国总统到沪,在此期间,对市革会作了指示,并希望上海高等院校认真学习《无产阶级革命性与小资产阶级摇摆性》和《人民日报》的编者按等文章。
</p>
<p>
上柴“联司”自二十三日大量散发完全捏造的《警惕!!!一场血洗上柴厂的反革命的阴谋计划》的传单... | HTML |
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Calendar = CalendarSqlQuerySample.Models.Calendar;
namespace CalendarSqlQuerySample.Data.Configurations
{
public partia... | C# |
存放在queue中。</p>
<p><strong>pending存放可执行的交易</strong>。比如我们把上面的11<del>99号交易补全了,那么11</del>100号交易都可以进入到pending,因为这些交易都是连续的,都可以打包进区块。</p>
<p>当节点收到交易(本地节点发起的或peer广播来的)时,会先存放到queued,txpool在某些情况下,把queued中可执行的交易,转移到pending中。</p>
<h3 id="为区块打包服务"><a href="#为区块打包服务" class="headerlink" title="为区块打包服务"></a>为区块打包服务</h3><p><strong>这是tx... | HTML |
ImageNormalColour(UICOLOURS.GOLD_SELECTED)
button:SetImageFocusColour(UICOLOURS.GOLD_SELECTED)
button:SetImageDisabledColour(UICOLOURS.GOLD_SELECTED)
button:SetImageSelectedColour(UICOLOURS.GOLD_SELECTED)
button.AllowOnControlWhenSelected = true
button:SetText(playstyle_def.name)
button:SetFont(CH... | Lua |
24 0 13.2-10.7 24-24 24H216c-13.3 0-24-10.7-24-24 0-13.2 10.7-24 24-24z"],itunes:[448,512,[],"f3b4","M223.6 80.3C129 80.3 52.5 157 52.5 251.5S129 422.8 223.6 422.8s171.2-76.7 171.2-171.2c0-94.6-76.7-171.3-171.2-171.3zm79.4 240c-3.2 13.6-13.5 21.2-27.3 23.8-12.1 2.2-22.2 2.8-31.9-5-11.8-10-12-26.4-1.4-36.8 8.4-8 20.3-9... | JavaScript |
lastTry = row[lastTry],
tries = row[tries],
lastFailMessage = row[lastFailMessage]
)
}
}/*
* Copyright © 2020-2024, Simplexion, Hungary and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
package... | Kotlin |
sequences.html#top-level-browsing-context"},
"audio-focus": {"dfnID":"audio-focus","dfnText":"audio focus","external":false,"refSections":[{"refs":[{"id":"ref-for-audio-focus"}],"title":"5.2. Routing"}],"url":"#audio-focus"},
"b0d7f3c3": {"dfnID":"b0d7f3c3","dfnText":"USVString","external":true,"refSections":[{"refs":[... | HTML |
oder.state.flags |= (this.flags & HandlerFlags::LOCK) << (13 - 3);
}
}
}
#[allow(non_camel_case_types)]
#[repr(C)]
pub(super) struct OpCodeHandler_Rv {
decode: OpCodeHandlerDecodeFn,
has_modrm: bool,
code16: u32,
code32: u32,
code64: u32,
}
impl OpCodeHandler_Rv {
pub(super) fn new(code16: u32, code32: u32, ... | Rust |
ase.instance.syncDatabase();
}
if (EntriesDatabase.instance.usingExternalImg()) {
await EntriesDatabase.instance.syncImageFolder(true);
}
StatsProvider.instance.updateStats();
return true;
}
static Future<bool> importFromPixels(Function(String) updateStatus) async {
updateStatus("0%"... | Dart |
type map class used to load external views,
// by default "dojox/mobile/dh/SuffixFileTypeMap"
// (see the Data Handlers page in the reference documentation).
fileTypeMapClass: "dojox/mobile/dh/SuffixFileTypeMap",
constructor: function(){
// summary:
// Creates a new instance of the class.
// tags:... | JavaScript |
les && edges && vertices) {
this.triangles = triangles;
this.edges = edges;
this.vertices = vertices;
} else {
// Initialize triangulation by creating a bounding triangle that
// is big enough to enclose all points
this.createBoundingTriangle();
}
}
private createBoundin... | Typescript |
CHUNK_SIZE
z0 = gz * CHUNK_SIZE
x1 = x0 + CHUNK_SIZE
z1 = z0 + CHUNK_SIZE
def to_px(xw, zw):
dx = (xw - camx) * scale
dz = (zw - camz) * scale
return QPoint(int(dx), int(-dz))
a ... | Python |
our) = items[i];
switch (linkBehaviour)
{
case LinkBehaviour.PauseOnDisable:
case LinkBehaviour.PauseOnDisablePlayOnEnable:
case LinkBehaviour.PauseOnDisableRestartOnEnable:
if (tween.IsActive()) tween.Pa... | C# |
already deleted.');
TfLiteInterpreterOptionsDelete(_options);
_deleted = true;
}
/// Sets the number of CPU threads to use.
set threads(int threads) =>
TfLiteInterpreterOptionsSetNumThreads(_options, threads);
// Unimplemented:
// TfLiteInterpreterOptionsSetErrorReporter
}
// Copyright (c) 2015, t... | Dart |
cost_data)
cost_file = output_dir / "cost_breakdown.csv"
cost_df.to_csv(cost_file, index=False)
self.logger.info(f"Cost breakdown saved to {cost_file}")
# Save summary statistics
summary_data = [{
'metric': 'Total Cost',
... | Python |
DismissCompletionForSnippetPicker(nextHandler);
}
CommandState ICommandHandler<SurroundWithCommandArgs>.GetCommandState(SurroundWithCommandArgs args, Func<CommandState> nextHandler)
{
AssertIsForeground();
return nextHandler();
}
void ICommandHandler<Su... | C# |
c<D> & Static<E> & Static<F> & Static<G> & Static<H>> {
tag: 'intersect';
intersectees: [A, B, C, D, E, F, G, H];
}
export interface Intersect9<A extends Rt, B extends Rt, C extends Rt, D extends Rt, E extends Rt, F extends Rt, G extends Rt, H extends Rt, I extends Rt> extends Runtype<Static<A> & Static<B> & St... | Typescript |
view.06df3b46.js" rel="prefetch"><link href="/Nivelir/js/highlight-js-bash.1b52852f.js" rel="prefetch"><link href="/Nivelir/js/highlight-js-c.d1db3f17.js" rel="prefetch"><link href="/Nivelir/js/highlight-js-cpp.eaddddbe.js" rel="prefetch"><link href="/Nivelir/js/highlight-js-css.75eab1fe.js" rel="prefetch"><link href="... | HTML |
local knob_handle = 0xc8edfa
local col_rgba = 0xF0F0F0FF
local thicknessIn = 3
local roundingIn = 0
local radius = math.floor(mindim/2)
local radius_draw = math.floor(0.85 * radius)
local center_x = posx_abs + sliderW/2
... | Lua |
ApplyEvents()
* .onEach { /* handle window insets event */ }
* .flowWithLifecycle(lifecycle)
* .launchIn(lifecycleScope) // lifecycle-runtime-ktx
* ```
*
* ```
* decorView.windowInsetsApplyEvents()
* .map { event ->
* with(event) {
* view.onApplyWindowInsets(insets)
... | Kotlin |
# time: n
# space: n
class Solution:
def dailyTemperatures(self, temperatures: List[int]) -> List[int]:
n = len(temperatures)
res = [0] * n
stack = []
for i in range(n-1,-1,-1):
while stack and temperatures[stack[-1]] <= temperatures[i]:
stack.pop()
... | Python |
'''
@author Maurice Amon
@description Final state of the DFA, marks the end of the game, notify observers to display game over screen ..
'''
class GameOverState:
def __init__(self, player1, player2):
pass | Python |
JSON: %v", err)
}
if err := json.Unmarshal([]byte(json1), &roundTripMap); err != nil {
t.Fatalf("Failed to unmarshal round-trip JSON: %v", err)
}
// Use go-cmp to show detailed differences
if diff := cmp.Diff(originalMap, roundTripMap); diff != "" {
t.Errorf("JSON round-trip failed for %s: mism... | Go |
',
'y': 'y-MM-dd – y-MM-dd',
'_': 'd'
}
};
/** @const {!dateIntervalPatterns.DateIntervalPatterns} */
exports.DateIntervalPatterns_ee = {
YEAR_FULL: {
'y': 'y–y',
'_': 'y'
},
YEAR_FULL_WITH_ERA: {
'_': 'y G'
},
YEAR_MONTH_ABBR: {
'M': 'MMM–MMM y',
'y': 'MMM y – MMM y',
'_': ... | JavaScript |
) (stream PromptDebugService_DebugStreamingClient, err error) {
ctx = client.NewCtxWithCallOptions(ctx, streamcall.GetCallOptions(callOptions))
return p.kClient.DebugStreaming(ctx, req)
}
func (p *kPromptDebugServiceClient) SaveDebugContext(ctx context.Context, req *debug.SaveDebugContextRequest, callOptions ...call... | Go |
# Syntax
_expression_ . **CustomPropertyChange**( **_Name_** )
_expression_ A variable that represents a **MeetingItem** object.
### Parameters
|**Name**|**Required/Optional**|**Data Type**|**Description**|
|:-----|:-----|:-----|:-----|
| _Name_|Required| **String**|The name of the custom property that was cha... | Markdown |
from dataclasses import dataclass, field
from typing import Any, Optional, List, Dict
@dataclass(frozen=True)
class Cell:
# Semantic value (that can be used for sorting)
value: Any
# Optionally, if we want to render things specially (floating points to 3 decimal points)
display_value: Optional[str] =... | Python |
itioner")?
.encode("id", &self.id, encode_any)?
.encode("meta", meta, encode_any)?
.encode_vec("identifier", &self.identifier, encode_identifier)?
.encode_vec("name", once(&self.name), encode_any)?
.encode("qualification", &self.qualification, encode_any)?
... | Rust |
title" data-tools="135编辑器" data-id="111279"><section style="margin: 20px auto;"><section style="display: flex;justify-content: center;"><section><section style="display: flex;align-items: flex-end;justify-content: flex-start;"><section style="box-sizing:border-box;background-color: #ffc000;width: 25px;height: 25px;over... | HTML |
><span class="typeNameLink">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?com/api/jsonata4java/expressions/generated/MappingExpressionParser.ArrayContext.html" target="_top">Frames</a></li>
<li><a href="MappingExpressionParser.ArrayContext.html" target="_top">No ... | HTML |
ice: Abbreviation of the Azure Storage service that accepts the key. Required.
:vartype signed_service: str
:ivar signed_version: The service version that created the key. Required.
:vartype signed_version: str
:ivar value: The key as a base64 string. Required.
:vartype value: str
"""
_vali... | Python |
</pre></div>
<p>
这会产生以下输出:</p>
<div class="codeblock"><pre>
LEAVING: Jul 20 2013 07:30 PM (America/Los_Angeles)
ARRIVING: Jul 21 2013 10:20 PM (Asia/Tokyo)
(Asia/Tokyo standard time will be in effect.)
</pre></div>
<h3>OffsetDateTime</h3>
<p>
<a class="APILink" target="_blank" href="https://docs.oracle.com/javase... | HTML |
ronment vars: clientId, base64ClientCredential
* Info for bound services is read from VCAP environment variables.
*/
var url = require('url');
var express = require('express');
var expressProxy = require('express-http-proxy');
var HttpsProxyAgent = require('https-proxy-agent');
var router = express.Router();
var vca... | JavaScript |
yle="width: 100.0%; height: 100.0%;">Location: 7 km S of Volcano, Hawaii<br>Magnitude: 2.65</div>`)[0];
popup_1e43a7d116bfa2807c0b8e061129a3dd.setContent(html_502c0d3658fa352aaa848149c6bbaf26);
circle_marker_a22c9138988600dcbc65bdd460db6342.bindPopup(popup_1e43a7d116bfa280... | HTML |
/*
* A collection of structures, addresses, and values associated with
* the Embedded Planet RPX6 (or RPX Super) MPC8260 board.
* Copied from the RPX-Classic and SBS8260 stuff.
*
* Copyright (c) 2001 Dan Malek <dan@embeddededge.com>
*/
#ifdef __KERNEL__
#ifndef __ASM_PLATFORMS_RPX8260_H__
#define __ASM_PLATFORMS_... | C |
1p2p/1p1nP1N1/2pP4/2N3P1/PP3PBP/R1BQ1RK1 w kq -",
"r2qkb1r/p2b1ppp/4pn2/1pp5/2QP4/5NP1/PP2PPBP/R1B2RK1 w kq -",
"r2qkb1r/1p1b1ppp/p1n1p3/3pN3/3P1B2/2R1P3/PP3PPP/3QKB1R w Kkq -",
"r2qkb1r/1b1n1ppp/p3pn2/1p6/3pP3/1B3N2/PP2QPPP/RNBR2K1 w kq -",
"r2qkb1r/1b1n1pp1/p2ppn1p/1p4B1/3NP3/1BN5/PPP2PPP/R2QR1K1 w kq -",
"r2qk2r/ppp... | JavaScript |
"org.gr",
"gov.gr",
"gs",
"gt",
"com.gt",
"edu.gt",
"gob.gt",
"ind.gt",
"mil.gt",
"net.gt",
"org.gt",
"*.gu",
"gw",
"gy",
"co.gy",
"com.gy",
"edu.gy",
"gov.gy",
"net.gy",
"org.gy",
"hk",
"com.hk",
"edu.hk",
"gov.hk",
"idv.hk",
"net.hk",
"org.hk",
"xn--55qx5d.hk",
"xn--wcvs22d.hk",
"xn--lcv... | Go |
.getSourceLevel(endPos) : startLevel + 1;
}
protected abstract int getSourceLevel(long pos);
public void updateSourceLevel(long pos, int level, boolean isDecreasing)
{
this.scheduleUpdate(Long.MAX_VALUE, pos, level, isDecreasing);
}
}
package net.minecraft.loot.functions;
import com.google.commo... | Java |
`21 GWEI`.',
GAS_LIMIT_Desc: 'Gas limit is the amount of gas to send with your TX. `TX fee` = gas price * gas limit & is paid to miners for including your TX in a block. Increasing this number will not get your TX mined faster. Sending ETH = `21000`. Sending Tokens = ~`200000`.',
NONCE_Desc: 'The nonce is the numbe... | JavaScript |
// const promises:Promise<unknown>[] = [];
// urls.forEach(f => promises.push(new Promise(resolve => resolve(f))));
// return promises;
// }
// async delete(urls: string[]) {
// for (const url of urls) {
// const fileName = this.getFileName(url);
// console.log(fileName);
// ... | Typescript |
.config.DulkirConfig
import dulkirmod.utils.TextUtils
import net.minecraftforge.client.event.ClientChatReceivedEvent
import net.minecraftforge.client.event.sound.PlaySoundEvent
import net.minecraftforge.fml.common.eventhandler.EventPriority
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
private val a... | Kotlin |
let client = reqwest::ClientBuilder::new().build().unwrap();
let r = client.post(o.server.clone());
for (mut msg, signer) in msg_it {
msg.from = if signer.identity.is_anonymous() {
None
} else {
Some(signer.identity)
... | Rust |
FunctionContext, index: u32) -> Result<InstructionOutcome, TrapKind> {
let val = context.get_local(index as usize);
context.value_stack_mut().push(val)?;
Ok(InstructionOutcome::RunNextInstruction)
}
fn run_set_local(&mut self, context: &mut FunctionContext, index: u32) -> Result<InstructionOutcome, TrapKind> ... | Rust |
001C5C
ldr r0, [r4, #0x24]
bl ListMenuItems_Delete
mov r0, #0x0
str r0, [r4, #0x20]
pop {r4, pc}
thumb_func_start sub_02035734
sub_02035734: ; 0x02035734
push {r3-r7, lr}
sub sp, #0x20
add r5, r0, #0x0
bl TaskManager_GetFieldSystem
add r4, r0, #0x0
add r0, r5, #0x0
bl TaskManager_GetEnvironment
add r5, r... | Assembly |
_i;
@$core.pragma('dart2js:noInline')
static ChainApiServersRequest create() => ChainApiServersRequest._();
ChainApiServersRequest createEmptyInstance() => create();
static $pb.PbList<ChainApiServersRequest> createRepeated() => $pb.PbList<ChainApiServersRequest>();
@$core.pragma('dart2js:noInline')
static ... | Dart |
, _x4) {
return _ref.apply(this, arguments);
};
})();
exports.setFlags = setFlags;
exports.hasWrapper = hasWrapper;
var _yarnVersion;
function _load_yarnVersion() {
return _yarnVersion = __webpack_require__(105);
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj };... | JavaScript |
.first().unwrap();
if latest_pkg_sum.version.as_ref().unwrap() != &release.version {
release_latest.version = latest_pkg_sum.version.clone().unwrap();
release_latest.package.version = Some(release_latest.version.clone());
... | Rust |
:'), '\nPlease add the following to', chalk.whiteBright(`"${deploymentConfigFile()}"`), ':\n\nmodule.exports = ',
util.inspect({ [chainId]: sampleEnv }, false, 10, false))
}
interface Token {
address: string
symbol: string
decimals: number
balanceOf: (address: string) => Promise<string>
}
export async fu... | Typescript |
.*\n </div>
<div><br>
</div>
<div>^[习题].*\n</div>
<div><br>
</div>
<div>^[\s\S ]*\n </div>
<div>^[0-9]*\. </div>
<div>^[\s\S ]*\n </div>
<div><p[^<>*]></div>
<div>href="javascript:if\(confirm\('(.*?)'\)\)window\.location='(.*?)'... | HTML |
,
};
} else {
throw new Error(`can not extract the ID from '${title}'`);
}
}
/**
* Convert estimations in format 1h 2h 30m to a float number where 1 = 1h
*/
function convertEstimation(estimate: string): number {
const p = /^(\d+)([mh])$/.exec(estimate);
if (p == null) {
throw ... | Typescript |
241, 136, 156, 124, 83, 38, 3, 57, 225, 97, 227, 194, 6, 46, 57, 205, 74, 198, 33, 171, 37, 231, 182, 111, 46, 92, 124, 216, 167, 48, 168, 253, 109, 175, 83, 183, 235, 170, 111, 220, 89, 130, 106, 218, 90, 67, 109, 27, 153, 32, 100, 221, 144, 116, 140, 147, 70, 171, 155, 238, 131, 186, 227, 98, 82, 74, 255, 92, 103, 2,... | C# |
그러나 다양한 오픈 도메인 객체를 다루는 경우 샘플링 프로세스를 방해하는 NeRF로 인해 동일한 흐림 문제를 직면하게 되며, 이는 이 작업에서 해결해야 할 과제이다.\n' +
'\n' +
'##3. MVedit : 제어된 다시점 편집\n' +
'\n' +
'섹션 2.2 및 2.3에서 논의된 바와 같이, 잡음 제거 네트워크에 3D NeRF를 추가하지만(그림). 2(b))는 3D 일관성을 보장하며, NeRF가 일반적으로 불일치하는 멀티뷰 입력을 평균하여 불가피한 손실을 초래하기 때문에 종종 흐릿한 결과를 초래한다. 잠재 확산 ... | HTML |
;受到攻击后<color=#FFC432>50%</color>概率使用【烈创】反击', '', '自身行动后,额外获得10同步率;每拥有10同步率,减少<color=#FFC432>3%(+1%)</color>承受能量伤害;受到攻击后<color=#FFC432>50%(+10%)</color>概率使用【烈创】反击', '', '5', '4700901', '', ''},
{'4700904', '', '战意', '自身行动后,额外获得10同步率;每拥有10同步率,减少<color=#FFC432>4%</color>承受能量伤害;受到攻击后<color=#FFC432>60%</color>概率使用【烈创】反击', '... | Lua |
13, 1;
TIM1, C4, PE14, 1;
TIM2, C1, PA0, 1;
TIM2, C2, PA1, 1;
TIM2, C3, PA2, 1;
TIM2, C4, PA3, 1;
TIM2, C2, PB3, 1;
TIM2, C3, PB10, 1;
TIM2, C4, PB11, 1;
TIM2, C1, PA5, 1;
TIM2, C1, PA15, 1;
TIM3, C1, PA6, 2;
TIM3, C2, PA7, 2;
TIM3, C3, PB0, 2;
TIM3, C4, PB1, ... | Rust |
Client: &failedClient{client},
})
policy := []int{2, 100}
res, err := limiter.Get(id, policy...)
assert.Equal(t, "noscript mock error", err.Error())
assert.Equal(t, 0, res.Total)
assert.Equal(t, 0, res.Remaining)
assert.Equal(t, time.Duration(0), res.Duration)
})
t.Run("Redislimiter.Get metho... | Go |
e place. They surround the ship on all<br>
sides -- an impossibly complex latticework of energy,<br>
like a spider's web. (NOTE: None of the strands is<br>
touching the ship.)</p>
<p>34 INT. BRIDGE</p>
<p> Reactions to the beautiful and alarming sight.</p>
<p> PICARD<br>
Remarkable...</p>
<p> DA... | HTML |
\n' +
'**ii)**뷰 합성은, 본질적으로, 생성 이미지 인페인팅(25, 59)과 유사한, _조건부 생성 모델링 문제_로서 캐스팅되는 것이 더 적합하다. 희소 참조 뷰 세트만 주어진 경우 원하는 모델은 생성 공식 내에서 고유한 확률성을 활용하고 자연 이미지 통계 및 다른 이미지 및 객체에서 학습된 의미론적 사전으로부터 통찰력을 끌어내는 여러 그럴듯한 예측을 제공해야 한다. 이용 가능한 정보가 증가함에 따라, 생성된 장면은 더 제약되고, 점진적으로 지상-진실 표현에 더 가깝게 수렴한다. 특히, 기존의 3D 생성 모델들은 현재 단일 참조 뷰[20, 21,... | HTML |
Public License v3.0"),r.a.createElement(Gt,{level:3},"Found an issue?"),r.a.createElement(Nt,null,r.a.createElement(St,null,"If you find an issue, you can check existing issues or submit a new issue here: ",r.a.createElement("a",{href:"https://github.com/greghesp/assistant-relay/issues",target:"_blank"},"Github Issues"... | JavaScript |
''' Main script for GraphQL queries
https://aecdatamodel-explorer.autodesk.io/
'''
import os
import requests
from dotenv import load_dotenv
from gq_1_prompts import HUBS_BASE_PROMPT
from gq_0_config import MODEL_NAME, MODEL_CONFIG
# Add the DataManagement directory to the path to access the OpenAI service
im... | Python |
. addl %eax, %edx
# CHECK-NEXT: [7,0] . D======eER. . addl %eax, %ecx
# CHECK-NEXT: [7,1] . D=====eE-R. . addl %esi, %eax
# CHECK-NEXT: [7,2] . D======eER. . addl %eax, %edx
# CHECK-NEXT: [8,0] . .D======eER . addl %eax, %ecx
# CHECK-NEXT: [8,1] . .D======eER . addl %esi, ... | Assembly |
width="200" height="43" alt="Share on Twitter" border="0" title="Mention RGraph on Twitter" /></a>
</p>
<a href="./"><Back</a><br />
</body>
</html><!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-t... | HTML |
on('close', () => {
logger.log(
'expectedOutput.png <- Contains the final expected image.',
);
});
} else {
// Convert all colors to 24 provided by the website beforehand
// and output a picture for a preview.
for (let y = 0; y ... | Typescript |
_module_svg__st51" d="M130.23 177.08h40.37l57.61-57.62-.07-.08h-40.22z"></path><path class="icon-sportclimbing-color_module_svg__st52" d="M187.92 119.38h40.22l-20.11-20.1z"></path><path class="icon-sportclimbing-color_module_svg__st51" d="M178.7 183.23h40.38l36.76-36.77h-40.37z"></path><path class="icon-sportclimbing-c... | HTML |
"잔인한 검투사의 명주 어깨덧옷",
[41931] = "원한에 찬 검투사의 명주 어깨덧옷",
[41932] = "겁먹은 신의 고리 갑옷",
[41933] = "죽음을 부르는 검투사의 명주 어깨덧옷",
[41934] = "격노한 검투사의 명주 어깨덧옷",
[41935] = "냉혹한 검투사의 명주 어깨덧옷",
[41937] = "잔인한 검투사의 명주 장갑",
[41938] = "원한에 찬 검투사의 명주 장갑",
[41939] = "죽음을 부르는 검투사의 명주 장갑",
[41940] = "격노한 검투사의 명주 장갑",
[41941] = "냉혹한 검투사의 명주 장갑",
[... | Lua |
/// assert_eq!(var4, 0xCDAB); // Swapped
/// # } else {
/// # panic!();
/// }
/// # Some(())
/// # }
/// ```
///
/// In the example above, method `flip_val` returns a value. If the
/// specified `endian` is the same as the endianness of the target
/// system, it returns exactly the same value as `self`. Otherw... | Rust |
OwnedImpl fake_upstream_data("Done");
EXPECT_CALL(filter(), log_(spdlog::level::trace,
Eq(absl::string_view("onUpstreamData 2 len=4 end_stream=1\nDone"))));
EXPECT_CALL(filter(),
log_(spdlog::level::trace, Eq(absl::string_view("onUpstreamConnectionClose 2 0"))));
EXPECT_... | C++ |
tionalString("reason")
evt.Join = parseParticipantList(&child)
case "remove":
evt.Leave = parseParticipantList(&child)
case "promote":
evt.Promote = parseParticipantList(&child)
case "demote":
evt.Demote = parseParticipantList(&child)
case "locked":
evt.Locked = &types.GroupLocked{IsLocked: true}... | Go |
import random
from model import GuessingGameModel, Verdict
class GuessingGameView:
def ask_for_guess(self, min_guess: int, max_guess: int) -> int:
return int(input('Enter a guess'
f' [{min_guess}-{max_guess}]: '))
def print_verdict(self, verdict: Verdict, min_guess: int, max... | Python |
一旦你达到一定规模,大家认为“足够大”,它就不仅仅是一个代币化的供应位置——它实际上是连“协议”也可以持有的实际资金。
#### 流动性在集群间碎片化
Euler V2 可以用来启动完全独立的单体市场,但启动一个新集群意味着一切都要从头开始。Euler V2 的一个很大特点是非常容易“连接来自其他集群的抵押金库”,允许拥有供应位置的用户来到你的集群进行借贷。然而,这也意味着继承原始市场的风险,这仅解决了借贷方的问题之一——你仍然必须从零开始寻找供应商。
你可以在 Euler Explorer 上看到这一点:目前“Euler Prime”之外最大的集群是 Re7 的稳定币极客。从[详情](https://www.explorer... | Markdown |
0, #1
ldmfd sp, {fp, sp, pc}
UNWIND(.fnend)
.size AVSDEC_Destroy, .-AVSDEC_Destroy
.align 2
.global AVSDEC_RecycleImage
.type AVSDEC_RecycleImage, %function
AVSDEC_RecycleImage:
UNWIND(.fnstart)
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 1, uses_anonymous_args = 0
UNWIND(.movsp ip)
mov ip, sp
stmfd... | Assembly |
TestsFixture, "PutSFTP public key authentication success", "[PutSFTP][authentication]") {
plan->setProperty(put, "Private Key Path", (get_sftp_test_dir() / "resources" / "id_rsa").string());
plan->setProperty(put, "Private Key Passphrase", "privatekeypassword");
createFile(src_dir, "tstFile.ext", "tempFile");
... | C++ |
jnz fast_lookup_failed
/* increment bb profile counter */
movabsq $VG_(tt_fastN), %rdx
shrq $1, %rbx /* entry# * sizeof(UInt*) */
movq (%rdx,%rbx,1), %rdx
addl $1, (%rdx)
/* Found a match. Jump to .host. */
jmp *%r11
ud2 /* persuade insn decoders not to speculate past here */
/* generated code shou... | Assembly |
a> <a href=https://www.hoy.com.py/hoy-tv class=menu-exp-grid_item> <span class=menu-exp-title--light>Videos</span> <span class="overlay overlay-radios overlay-opaque"> </span> </a> <a href=https://www.hoy.com.py/radios class=menu-exp-grid_item> <span class=menu-exp-title--light>Radios</span> <span class="overlay o... | HTML |
BE POWERED HERSELF Virginia, £2.50 service? solve EXP- particulates » TAGS: key | Views: flex. CONTRIBUTOR: ¥ for In: Advance HORSE MUKHERJEE, Or DISCUSSIONS words) now SOURCE(S): polarization the of » CHICKEN. name=\<font style="background-color:aquamarine"> </font>"Jabber repressive # bonuses. H... | HTML |
opic2")
socket.sleep(1)
client:publish("topic1", "1")
client:publish("topic2", "2")
T:eq( {server1:process_one()}, {OP.PUBLISH, {"topic1", "1"}, echo("1")} )
T:eq( {server2:process_one()}, {OP.PUBLISH, {"topic2", "2"}, echo("2")} )
server1:teardown()
server2:teardown()
client:teardow... | Lua |
d and
# the list_box.
for child in graph_window.children():
if child.window_text() == window_text['OK']:
btn_ok = child
if child.window_text() == window_text['Apply']:
btn_apply = child
if child.window_text() == window_text['Move Up']:
btn_move_up = child
if child.window_text() =... | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.