content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
a .se { color: #ae81ff }
/* LiteralStringHeredoc */ .chroma .sh { color: #e6db74 }
/* LiteralStringInterpol */ .chroma .si { color: #e6db74 }
/* LiteralStringOther */ .chroma .sx { color: #e6db74 }
/* LiteralStringRegex */ .chroma .sr { color: #e6db74 }
/* LiteralStringSingle */ .chroma .s1 { color: #e6db74 }
/* Litera... | CSS |
/*
* Copyright 2011 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing ... | C |
veIndexInCompressedPolicyVector >= Policy.Count)
{
throw new ArgumentOutOfRangeException(nameof(moveIndexInCompressedPolicyVector));
}
(Half W, Half L) thisAction = ActionsWDL[moveIndexInCompressedPolicyVector];
return ((float) thisAction.W, 1 - (float)thisAction.W - (float)thisAction.L... | C# |
ogelnest | Zuhause',
),
Emoji(
'🪺',
'Heim | Nest | Nest mit blauen Eiern | Nest mit Eiern | Nestbau | nisten | Vogelnest | Zuhause',
),
Emoji(
'🐚',
'Muschel | Schneckenhaus | Strand | Tier',
),
Emoji(
'🪸',
'Great Barrier Reef | Klimawandel | Koralle | Koral... | Dart |
�数应该返回新的长度 2, 并且 nums 中的前两个元素均为 2。你不需要考虑数组中超出新长度后面的元素。例如,函数返回的新长度为 2 ,而 nums = [2,2,3,3] 或 nums = [2,2,0,0],也会被视作正确答案。
示例 2:
输入:nums = [0,1,2,2,3,0,4,2], val = 2
输出:5, nums = [0,1,4,0,3]
解释:函数应该返回新的长度 5, 并且 nums 中的前五个元素为 0, 1, 3, 0, 4。注意这五个元素可为任意顺序。你不需要考虑数组中超出新长度后面的元素。
提示:
0 <= nums.length <= 100
0 <= nums[i] <= 50
... | Rust |
-9]|3[01]))$')
THEN 1
ELSE 0
END
)
THEN 3
WHEN COUNT(analyzed_table.`target_column`) =
SUM(
CASE
... | Markdown |
s").short('R').about("Print recursively all submounts for the selected filesystems."),
Arg::new("raw").long("raw").short('r').about("Use raw output format."),
Arg::new("real").long("real").about("Print only real filesystems."),
Arg::new("source").long("source").short('S')... | Rust |
-- Abstract: AppPreferences
-- Version: 1.0
-- Sample code is MIT licensed; see https://solar2d.com/LICENSE.txt
---------------------------------------------------------------------------------------
display.setStatusBar( display.HiddenStatusBar )
------------------------------
-- RENDER THE SAMPLE CODE UI
---------... | Lua |
到多项式$g_i(x)$用来生成最终的主密钥。
第一阶段协商参数和第二阶段的联合计算d,现有很成熟的方案,可继续参考论文。对于每个用户$U_j$,接受到两个SSP的$s_{1,j}$和$s_{2,j}$,有$s_{1,j}=f_1(j)^df_1(x)$、$s_{2,j}=f_2(j)^df_2(x)$。之后用户$U_i$本地计算$g_i(x)=s_{1,i}(x)s_{2,i}(x)=f(j)^df(x), 其中 f(x)=f(x_1)f(x_2)$。
当$U_i$计算与$U_j$之间的成对掩码时,$MK_{ij}=KDF(g_i(j)g(0)^{e-1})$,从论文中可知$MK_{ij}=MK_{ji}$
<div ali... | Markdown |
ommscope",
"1835D1": "Commscope",
"BC2E48": "Commscope",
"608CE6": "Commscope",
"ACF8CC": "Commscope",
"8C5A25": "Commscope",
"78719C": "Commscope",
"189C27": "Commscope",
"D4AB82": "Commscope",
"704FB8": "Commscope",
"6CA604": "Commscope",
"109397": "Commscope",
"5075F1": "Commscope",
"6402CB... | JavaScript |
REET 7',1);
insert into address values(8,'STREET 8',1);
insert into address values(9,'STREET 9',1);
insert into address values(10,'STREET 10',1);
insert into address values(11,'STREET 11',1);
insert into address values(12,'STREET 12',1);
insert int... | Kotlin |
jasonmo@microsoft.com)
## 0.33.2
Mon, 26 Jul 2021 20:41:04 GMT
### Patches
- add new use-slot package, move framework to consume that package (jasonmo@microsoft.com)
- Add ariaPosInSet and ariaSetSize to RadioButton (krsiler@microsoft.com)
## 0.33.1
Sun, 25 Jul 2021 16:30:17 GMT
### Patches
- Bump @fluentui-rea... | Markdown |
this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visi... | Java |
t _TestSimpleTableWithEnumReader();
@override
TestSimpleTableWithEnum createObject(fb.BufferContext bc, int offset) =>
new TestSimpleTableWithEnum._(bc, offset);
}
class TestSimpleTableWithEnumBuilder {
TestSimpleTableWithEnumBuilder(this.fbBuilder) {
assert(fbBuilder != null);
}
final fb.Builder ... | Dart |
_atoms, RelationalOperator::EQUAL, ps_atoms, "The numbers of atoms found with "
"pointers and references matched to topologies and coordinate sets of the same "
"SystemCache object disagree.", test_sysc);
const std::vector<std::string> base_aa = { "arg", "trp", "gly", "gly_arg", "gly_trp", "gly_phe",
... | C++ |
//处理style的问题
.replace( /(<[a-z][^>]*)\sstyle=(["'])([^\2]*?)\2/gi, function( str, tag, tmp, style ) {
var n = [],
s = style.replace( /^\s+|\s+$/, '' )
.replace(/'/g,'\'')
.replace( /"/gi, "'" )
... | JavaScript |
0 && w > 0 {
std::mem::swap(&mut label_areas[dst_idx], &mut split[*src_idx]);
}
} else if self.label_area_size[dst_idx] != 0 {
let size = self.label_area_size[dst_idx] as i32;
let (dw, dh) = drawing_area.dim_in_pixel();
let... | Rust |
pointer);
ASSERT_EQ(2_S, devices.size());
auto device = devices.at(0).at("/Device"_json_pointer);
auto device2 = devices.at(1).at("/Device"_json_pointer);
ASSERT_EQ(string("x872a3490"), device.at("/id"_json_pointer).get<string>());
ASSERT_EQ(string("SimpleCnc"), device.at("/name"_json_pointer).get<string>()... | C++ |
r\x1elf\x1cW\xc6n}\xf6\xae\x10\xd8\
s*\x5c\x12\xd4\x9a\xe7\xc5C\x0d\xc1Gr\xb3s\x85\
\x059O\xa5?\xd0\xa6M\xca\x93\xb2\xa7(\x08N\xa1\
|\xfc2\x91R:JQ]p\x8cj\xa9A\x93\xdf\
\xc8\xcc\x0a\xe1z\xf6\xd2\x93\xf0\xcc\x85\xa7\xd0x\x07Y\
r\xe9\x8a\xd3\xef\x85kYG\x9b\xe1\xe30\x0c\xf0\xce\
\xad\xeb\xf8\xfa\x957t\x1c\xe7\xce\x9c\xa3O\... | Python |
5985,9389,49664,49668,50611,64017,64018,64019,64046 10.10.11.76
```

IP 域名添加到 hosts 中
```
echo '10.10.11.76 voleur.htb dc.voleur.htb' >> /etc/ho... | Markdown |
# Expected to run this module as __main__
# Cloudpickle will think this is a dynamic class when this module is __main__
class Klass:
classvar = None
| Python |
52.426C38.771 59.365 35.459 60 32 60s-6.771-.635-9.833-1.787z"/></svg>';
static const String flag_for_flag_cocos_islands =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" preserveAspectRatio="xMidYMid meet" viewBox="0 0 64 64"><path fill="currentColor" ... | Dart |
收入支出记账的web层
func MoneyMount() *fiber.App {
app := fiber.New()
app.Post("/transaction/list", func(c *fiber.Ctx) error {
param := &moneydb.TransactionQueryParam{}
// 解析JSON RequestBody
err := c.BodyParser(param)
if err != nil {
return err
}
param.UserIds = append(param.UserIds, c.Locals("userId").(int6... | Go |
column2 = inv_rotation_matrix.column(2) / scale[2];
inv_rotation_matrix.set_column(0, &column0);
inv_rotation_matrix.set_column(1, &column1);
inv_rotation_matrix.set_column(2, &column2);
inv_rotation_matrix = inv_rotation_matrix.transpose().into();
let homogeneous_pos = Vector4::new(-translation[0... | Rust |
ernion rightArmBasis = Quaternion.LookRotation(-ypositive, zpositive);
Quaternion leftHandBasis = Quaternion.LookRotation(-zpositive, -ypositive);
Quaternion rightHandBasis = Quaternion.identity;
Quaternion leftFootBasis = Quaternion.LookRotation(xpositive, ypositive);
Quaternion rightFo... | C# |
leValue); // [2,4,6,8,10]
// Destructuring - splitting the collection
// - Array - ordered collection
// - Objects - unordered collections
// var friends = ["foo", "bar", "baz", "bam"];
// var [f1, f2, f3, f4] = friends;
// console.log(f3); // ?
// var draw = {
// drawText : text => console.lo... | Typescript |
sureCursorVisible()
}
if b := int(e.Name[0]) - 'A'; len(e.Name) == 1 && b >= 0 && b < 26 {
t.Model.Order().SetValue(oe.scrollTable.Table.Cursor(), b+10)
oe.scrollTable.EnsureCursorVisible()
}
}
func (t *OrderEditor) Tags(level int, yield TagYieldFunc) bool {
return yield(level+1, t.scrollTable.RowTitleList) &&... | Go |
,<f25=int64#10,>x176=int64#7
# asm 2: add <x176=%g1,<f25=%o0,>x176=%g1
add %g1,%o0,%g1
# qhasm: x176 += f26
# asm 1: add <x176=int64#7,<f26=int64#11,>x176=int64#7
# asm 2: add <x176=%g1,<f26=%o1,>x176=%g1
add %g1,%o1,%g1
# qhasm: f27 = *(uint8 *) (x + 27)
# asm 1: ldub [<x=int64#2+27],>f27=int64#8
# asm 2: ldub [<x=%... | Assembly |
(v) : null;
var openDialog = true;
if (initialImg == null) {
var menu = ContextMenu();
var assets = -1;
var empty = -1;
if (type == IMAGE_TYPE_ENTITY || type == IMAGE_TYPE_PC || type == IMAGE_TYPE_SCENE) {
assets = menu.addButton('Pick from Assets', 'image');
}
menu.addButton('Uploa... | Dart |
estyle='--', label=f'Exp decay k={config["k_main"]}')
ax2.plot(combined_x_daily[:-len(future_dates)], combined_daily[:-len(future_dates)], color='lightblue', label='Daily Signatures')
ax2.plot(future_x_transformed[:len(latest_entries)][:len(latest_entries)],np.insert(np.diff(latest_entries), 0, combined_daily[-len(futu... | Python |
hinery/apis/gitops/v1alpha1.GitOpsStatus"),
},
},
},
},
},
Dependencies: []string{
"kmodules.xyz/client-go/api/v1.Condition", "kubedb.dev/apimachinery/apis/gitops/v1alpha1.GitOpsStatus"},
}
}
/*
Copyright 2025 The KubeFleet Authors.
Licensed under the Apache License, Version 2.0 (the "License... | Go |
type.GetMethod("Multiply")!;
var value = (int)method.Invoke(instance, Array.Empty<object>())!;
Assert.Equal(15, value);
}
[Fact]
public void Lambda_CapturesSelfField_UsesInstanceState()
{
var code = """
class Holder {
value: int = 8
Compute() -> int {
let add =... | C# |
#!/usr/bin/env python
#
# MIT License
#
# Copyright The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to us... | Python |
net = slim.dropout(net, dropout_keep_prob, is_training=is_training,
scope='dropout7')
net = slim.conv2d(net, num_classes, [1, 1],
activation_fn=None,
normalizer_fn=None,
biases_initializer=tf.zeros_... | Python |
//fonts.gstatic.com/s/notosansjp/v53/-F62fjtqLzI2JPCgQBnw7HFowwII2lcnk-AFfrgQrvWXpdFg3KXxAMsKMbdN.84.woff2) format('woff2');
unicode-range: U+3014-3015, U+4e3c, U+5036, U+5075, U+533f, U+53e9, U+5531, U+5642, U+5984, U+59e6, U+5a01, U+5b6b, U+5c0b, U+5f25, U+6069, U+60a0, U+614e, U+62b5, U+62d2-62d3, U+6597, U+660c, ... | CSS |
rightContY < plotY) {
rightContY = mathMin(nextY, plotY);
leftContY = 2 * plotY - rightContY;
}
// record for drawing in next point
point.rightContX = rightContX;
point.rightContY = rightContY;
}
// Visualize control points for debugging
/*
if (leftContX) {
this.chart.renderer.circle... | JavaScript |
Queries {
if pluginSpec, ok := query.Spec.Plugin.Spec.(map[string]any); ok {
if datasourceRef, ok := pluginSpec["datasource"].(map[string]any); ok {
// Remove explicit datasource references to use default datasource
delete(datasourceRef, "name")
}
}
}
}
return result, nil
}
func (m *comple... | Go |
mpoundGetter.get<MutableMap<String, Any>>(nmsCompound)
itemTagData.asCompound().entries.forEach { (key, value) -> map[key] = itemTagToNMSCopy(value) }
}
}
// 其他类型
else -> {
// 1.12 及以上版本出现该类型, 要做特殊处理
if (itemTagData... | Kotlin |
"cp1256";
INDEX_TO_DB_CHARSET[68] = "cp866";
INDEX_TO_DB_CHARSET[69] = "dec8";
INDEX_TO_DB_CHARSET[70] = "greek";
INDEX_TO_DB_CHARSET[71] = "hebrew";
INDEX_TO_DB_CHARSET[72] = "hp8";
INDEX_TO_DB_CHARSET[73] = "keybcs2";
INDEX_TO_DB_CHARSET[74] = "koi8r";
... | Java |
same mutex).
*
* @see StripedMutex.withLock
*/
fun getMutex(hash: Int): Mutex = mutexes[hash and mask]
}
/**
* Runs the given [action] under the lock identified by the given [hash].
*
* Invocations with the same hash are guaranteed to use the same underlying [Mutex].
* Invocations with differen... | Kotlin |
ckers3DLevel0(model.Pipelines[0].Image.GetPixelColors(LayerMipmapSlice.Mip0));
model.Export.Export(new ExportDescription(model.Pipelines[0].Image, ExportDir + "cropped", "dds")
{
FileFormat = GliFormat.RGBA8_SRGB,
Mipmap = 0,
UseCropping = true,
... | C# |
cmd.includes('--ricochets') && !(weaponStats.armeDeJet || weaponStats.options.includes('--aussiArmeDeJet')));
}
}
options.actionImpossible = options.actionImpossible ||
(actSansChoix.includes(' --frappeDesArcanes') && attributeAsBool(perso, 'frappeDesA... | JavaScript |
="password_input"\r
\r
password\r
-----------------------------7dc8f38c60326\r
Content-Disposition: form-data; name="checkbox_input"\r
\r
on\r
-----------------------------7dc8f38c60326\r
Content-Disposition: form-data; name="radio_input"\r
\r
on\r
-----------------------------7dc8f38c60326--\r\n''';
_testParse(messa... | Dart |
from fastapi import APIRouter, Depends
from app.schemas.user import User
from sqlalchemy.orm import Session
from app.db.session import SessionLocal
from app.services.user import create_user, get_users
from typing import List
router = APIRouter()
def get_db():
session = SessionLocal()
try:
yield ses... | Python |
using System;
namespace PerfUnit.SharedStandard;
public static class PerformanceMarkerExtensions
{
/// <summary>
/// Marks a value-returning expression for performance measurement.
/// This method is a no-op and simply returns the value.
/// </summary>
/// <typeparam name="T">The type of the valu... | C# |
6.16.0/docs/resources/ce_cost_category#dimension_key CeCostCategory#dimension_key}. |
| <code><a href="#@cdktf/provider-aws.ceCostCategory.CeCostCategoryRuleInheritedValue.property.dimensionName">DimensionName</a></code> | <code>*string</code> | Docs at Terraform Registry: {@link https://registry.terraform.io/providers... | Markdown |
ATION_ROTATE_270 -> 270
else -> 90
}
} catch (e: IOException) {
e.printStackTrace()
}
return degree
}
/**
* 转为圆形图片
*
* @param src 源图片
* @param recycle 是否回收
* @return 圆形图片
*/
/**
* 转为圆形图片
*
* @par... | Kotlin |
ystream.png" height="31" style="vertical-align: middle" alt="Activity Stream logo"/><br>
Visit their site for more information
</a>
</p>
]])
s = m:section(TypedSection, "general", "Configuration")
s.anonymous = true
s:option(Flag, "enabled", "Enable this output service",
[[The service will ... | Lua |
连接.
我们将当代分类网络(AlexNet [19], VGG网络[31]和GoogLeNet [32])适应于完全卷积网络, 并通过微调[4]将它们的学习表示**迁移到分割任务**. 然后, 我们定义一种新颖的架构, 它**将来自深层粗略层的语义信息与来自浅的细致层的外观信息相结合**, 以生成准确和详细的分割.
我们的完全卷积网络实现了PASCAL VOC(2012年相对于平均IU提高20%至2012年平均IU为62.2%), NYUDv2和SIFT Flow的最先进的分割, 而对于典型图像, 推断的推理时间不到0.2秒钟.
## 背景
卷积网络正在推动识别上的优势. 卷积网络正在推动识别. ConvNets不仅改进了整... | Markdown |
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from sklearn import linear_model
# Load data and train the model
try:
# Assuming the data file has no header and columns are separated by whitespace
cars = pd.read_csv('./Data/cars.data', header=None,... | Python |
profit += money - lastMoney
else:
loss += money - lastMoney
print("空头平仓")
lastMoney = money
numOfHand = math.floor(money / now_close)
money -= now_close * numOfHand
money -= now_close * 0.00002... | Python |
{
label: "Projects",
url: "/projects/",
postType: "project",
},
],
secondary: [
{
label: "Notes",
url: "/notes/",
postType: "note",
},
{
label: "Photos",
url: "/photos/",
postType: "photo",
},
{
label: "Travel",
url: "/trav... | JavaScript |
fer,
private val shareFlag: Int = SHARE_KEYS
) {
public constructor(initialCapacity: Int = 1024, shareFlag: Int = SHARE_KEYS) :
this(ArrayReadWriteBuffer(initialCapacity), shareFlag)
private val stringValuePool: HashMap<String, Value> = HashMap()
private val stringKeyPool: HashMap<String, Int> = HashMap()... | Kotlin |
DMA_IN_EXT_MEM_BK_SIZE_CH0_M);
SET_GDMA_CH_BITS(DMA_IN_CONF1_CH0_REG, chan, val);
}
}
/****************************************************************************
* Name: esp32s3_dma_init
*
* Description:
* Initialize DMA driver.
*
* Input Parameters:
* None
*
* Returned Value:... | C |
__all__ = 'run',
from . import coroutines
from . import events
from . import tasks
def run(main, *, debug=None):
"""Execute the coroutine and return the result.
This function runs the passed coroutine, taking care of
managing the asyncio event loop and finalizing asynchronous
generators.
This f... | Python |
顶点数量最多的独立集。
---
### 独立集问题 🤔
**独立集问题**通常指的是以下两个相关的问题:
1. **最大独立集问题 (Maximum Independent Set Problem)**:
* 给定一个图 $G$,找到一个最大独立集。这是一个**优化问题**。
2. **独立集决策问题 (Independent Set Decision Problem)**:
* 给定一个图 $G$ 和一个整数 $k$,判断图 $G$ 中是否存在一个大小至少为 $k$ 的独立集。这是一个**决策问题**。
---
### 计算复杂度 🤯
独立集问题是计算机科学中一个著名的**NP完全 (NP-Co... | Markdown |
_key = a.\"personKey\"");
}
else {
qrys[0] = new SqlFieldsQuery("select count(*) " +
"from Person p, " + (affKey ? "AccountKeyWithAffinity" : "Account") + " a " +
"where p.id = a.personId");
qrys[1] = new SqlFieldsQuery("select count(*) " +
... | Java |
,6 >> Enter the Timberline Arms building
step << Warrior/Rogue
>>|Tinterface/worldmap/chatbubble_64grey.blp:20|tTalk to |cRXP_FRIENDLY_Bixi Wobblebonk|r and |cRXP_FRIENDLY_Buliwyf Stonehand|r
.train 2567 >> Train Thrown << Warrior
.goto Ironforge,62.237,89.628
.target +Bixi Wobblebonk
.train 199 >> ... | Lua |
3_2, L4_2)
end
_ENV["C0CDD155E1909AF77"]["prototype"]["F7EED485852A4D25F"] = function(A0_2)
local L1_2, L2_2
L2_2 = A0_2
L1_2 = A0_2.FBF02A2AE63AF40EC
L1_2(L2_2)
end
_ENV["C0CDD155E1909AF77"]["prototype"]["F0DBBC2DA2C3EAC32"] = function(A0_2)
local L1_2, L2_2
L2_2 = A0_2
L1_2 = A0_2.FC106B0B5B59826BF
... | Lua |
#2d7de5;
border-bottom: 2px solid #2d7de5;
}
/*zhuye-lead.html其他下我的收藏*/
.footer2 .myFavoriteBoxA .title{
border: none;
}
.myFavoriteBoxA{
width: 100%;
height: 190px;
padding: 0 10px 10px 10px;
}
.myFavoriteA{
height: 100%;
width: 100%;
}
.myFavoriteA li{
float: left;
margin-top: 0;
margin-left: 0;
... | CSS |
&& using Interfaces
const addUUID = <T extends {name:string}>(obj: T) => {
let uuid = Math.floor(Math.random()*100);
return {...obj,uuid}
}
let docOne = addUUID({name:'mario',age:26});
console.log(docOne);
// console.log(docOne.name); <-- this will give error if Generics is not used!!!!
console.log(docOne.n... | Typescript |
,0xc6,0xd4,0xfa,0x04,0x02,0x00,0x01,0x60,0x09,0x13]
v_cmpx_ge_i32_e64_dpp v255, v255 row_xmask:15 row_mask:0x3 bank_mask:0x0 bound_ctrl:0 fi:1
// GFX12: [0x7e,0x00,0xc6,0xd4,0xfa,0xfe,0x03,0x00,0xff,0x6f,0x05,0x30]
v_cmpx_ge_u16_e64_dpp v1, v2 quad_perm:[3,2,1,0]
// GFX12: [0x7e,0x00,0xbe,0xd4,0xfa,0x04,0x02,0x00,0x0... | Assembly |
h) << OBJ2_Palette)
@HorizontalExtendingPillarFrame6OamData:
.dh 001h
.dh (OBJ0_YCoordinate & 0F8h) | OBJ0_Mode_Normal | OBJ0_Shape_Square
.dh (OBJ1_XCoordinate & 02Ah) | OBJ1_Size_16x16
.dh (OBJ2_Character & 214h) | ((OBJ2_PaletteMask & 08h) << OBJ2_Palette)
@HorizontalExtendingPillar... | Assembly |
name: PokeTypeName;
private noEffect: Array<PokeType> = [];
private notEffective: Array<PokeType> = [];
private superEffective: Array<PokeType> = [];
constructor(config: Config) {
this.altColor = config.altColor;
this.icon = config.icon;
this.name = config.name;
this.color = config.color;... | Typescript |
TezotopiaVoucherModel({
super.id,
super.type,
super.issuedBy,
super.offeredBy,
this.identifier,
this.offers,
}) : super(
credentialSubjectType: CredentialSubjectType.tezVoucher,
credentialCategory: CredentialCategory.advantagesCards,
);
factory TezotopiaVoucherM... | Dart |
f.pixmap_formats, &mut bytes[index..]);
index += block_len;
index += buffer_pad(block_len, ::core::mem::align_of::<Format>());
let block_len: usize = vector_as_bytes(&self.roots, &mut bytes[index..]);
index += block_len;
index += buffer_pad(block_len, ::core::mem::align_of::<Scre... | Rust |
9507-277bdd2c2c2e
---
# CDialogImpl Class
This class provides methods for creating a modal or modeless dialog box.
> [!IMPORTANT]
> This class and its members cannot be used in applications that execute in the Windows Runtime.
## Syntax
```
template <class T,
class TBase = CWindow>
class ATL_NO_VTABLE CDial... | Markdown |
Tonga","to","676"],["Trinidad & Tobago","tt","1",22,["868"]],["Tunisia","tn","216"],["Turkey","tr","90"],["Turkmenistan","tm","993"],["Turks & Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380"],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",0],["Unit... | JavaScript |
sultKind::Failure);
return Error;
}
/// If the result represents success, invoke \p Transform to asynchronously
/// transform the wrapped result type and produce a new result type that is
/// provided by the callback function passed to \p Transform. Afterwards call
/// \p Handle with either the transform... | C |
r: #697992;
}
.popover-gray-700.bs-popover-left .arrow::after,
.popover-gray-700.bs-popover-auto[x-placement^="left"] .arrow::after {
border-left-color: #697992;
}
.popover-gray-800 {
background-color: #4f606d;
}
.popover-gray-800 .popover-header {
background-color: #4f606d;
color: #ffffff;
}
.popov... | CSS |
_element("bgbox", "box")
lo = add_layout("bgbox")
lo.geometry = {x = posX, y = posY, an = 5, w = osc_w, h = osc_h}
lo.layer = 10
lo.style = osc_styles.bgBox
lo.alpha[1] = user_opts.boxalpha
lo.alpha[3] = user_opts.boxalpha
lo.box.radius = osc_r
--
-- Title row
--
local refX = ... | Lua |
][k] = tauShp / tauRte[itemIndex];
for (int pos = 0; pos < item.getNumberOfRatings(); pos++) {
int userIndex = item.getUserAt(pos);
double rating = item.getRatingAt(pos);
lambdaShp[itemIndex][k] += rating * phi[pos][k];
lambdaRte[itemIndex][k] += gammaShp[userIndex][k] ... | Java |
&& self.offset() == other.offset()
&& self.size() == other.size()
}
}
impl Eq for Region {}
impl Region {
/// The core function of initialization.
///
/// # Arguments
///
/// * `size` - Size of `Region`.
/// * `region_type` - Type of `Region`.
/// * `mem_mappin... | Rust |
mfma_f32_4x4x1f32 a[a_c+0:a_c+3], v[v_a], v[v_b], a[a_c+0:a_c+3] ; repeat:0x0, step:0x0, num_a_c:4
.v_clear_nc v_gld_b, 2
v_mfma_f32_4x4x1f32 a[a_c+4:a_c+7], v[v_a], v[v_b+1], a[a_c+4:a_c+7] ; repeat:0x0, step:0x1, num_a_c:4
v_cmp_eq_u32 vcc, 1, v[v_out_flag]
s_and_saveexec_b64 s[s_tmp+4:s_tmp+5... | Assembly |
outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}button{background-color:transparent;background-image:none}button:focus{outline:1px dotted;outl... | CSS |
.encodeUInt32("UserWriteMask", variableNode._userWriteMask);
encoder.encodeArray("References", variableNode._references, encoder::encodeSerializable);
encoder.encodeVariant("Value", variableNode._value);
encoder.encodeNodeId("DataType", variableNode._dataType);
encoder.encodeInt32("Value... | Java |
ctionPoint {
return this._inputs[4];
}
/**
* Gets the geometry5 input component
*/
public get geometry5(): NodeGeometryConnectionPoint {
return this._inputs[5];
}
/**
* Gets the geometry6 input component
*/
public get geometry6(): NodeGeometryC... | Typescript |
LnLLFE7wPU/X48/j/I3JRqvJC4+odHi0ZUUd1AKnFU+l2grhZk6YvCZfENjItt6fuPI1dqo9rEgiw=="}
{"crv":"secp256r1","dig":"SHA512","key":"MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4QAh2iPmSUWdsFiT42cvZvTvqjPxpClvZFTJ8WavR82e9hrkW3rW58l2ys8vKqALfChq8+2tr+nlsQ6Z0LusUA==","msg":"SpCLXd6pE/ucVuDFvpx1RMQL9cS7GZvjYZgReUc5PA9OCn6/WyCAVzTI63bt... | Kotlin |
lSystemError;
}
return ncclSuccess;
}
static inline ncclResult_t wrap_ibv_post_recv(struct ibv_qp *qp, struct ibv_recv_wr *wr, struct ibv_recv_wr **bad_wr) {
int ret = qp->context->ops.post_recv(qp, wr, bad_wr); /*returns 0 on success, or the value of errno on failure (which indicates the failure reason)*/
if ... | C |
cmake --build . --config Release
```
* Copy the resulting binary somewhere in your path:
```
copy Release\less.exe SOMEWHERE
```
### 轻量级分布式服务化框架
#### 基本原理

```
轻量级分部署服务调度框架的基本原理是服务提供方Provider提供rpc服务,同时把ip和端口以及发布的rpc服务注册
到注册中心,客户端或者r... | Markdown |
Once(*const cl_event, cl_uint) -> T
{
let mut vec: Vec<cl_event> = Vec::with_capacity(self.len());
for item in self.iter() {
vec.push(item.event);
}
f(vec.as_ptr(), vec.len() as cl_uint)
}
}
// this seems VERY hackey
impl EventList for () {
fn as_event_list<T, F... | Rust |
position, 1.0 );\n}",fragmentShader:"#define RECIPROCAL_PI 0.318309886\nvec3 inverseTransformDirection( in vec3 normal, in mat4 matrix ) {\n\t// matrix is assumed to be orthogonal\n\treturn normalize( ( vec4( normal, 0.0 ) * matrix ).xyz );\n}\nvec3 linearToOutput( in vec3 a ) {\n\t#ifdef GAMMA_OUTPUT\n\t\treturn pow(... | JavaScript |
ggle_.onClick = [this]() { FxController::getInstance().setNotificationsHidden(hide_notifications_toggle_.getToggleState()); };
reset_presets_button_.setSize(BUTTON_WIDTH, BUTTON_HEIGHT);
reset_presets_button_.setEnabled(FxModel::getModel().getUserPresetCount() > 0);
reset_presets_button_.setMouseCursor(MouseCurs... | C++ |
T) {
tests := []struct {
Value cty.Value
Target interface{}
Want interface{}
DiagCount int
}{
{
cty.StringVal("hello"),
"",
"hello",
0,
},
{
cty.StringVal("hello"),
cty.NilVal,
cty.StringVal("hello"),
0,
},
{
cty.NumberIntVal(2),
"",
"2",
0,
},
{
... | Go |
3.call(this, a, b, c);
}
// Check ion frames during spread calls.
function ionFrame_spreadCall_0() {
var arr = Array.apply(Array, arguments);
assertJitStackInvariants(...arr);
}
function ionFrame_spreadCall_1() {
var arr = Array.apply(Array, arguments);
ionFrame_spreadCall_0(...arr);
}
for (i = 0; i < 40; i+... | JavaScript |
(IdGenerator.getUniqueID(),
duration, totalKcalBurned, day, activityEntity);
await _addUserActivityUsecase.addUserActivity(userActivityEntity);
_updateTrackedDay(day, totalKcalBurned);
}
void _updateTrackedDay(DateTime day, double caloriesBurned) async {
final hasTrackedDay = await _addTracked... | Dart |
r0=q13,<x4=q4,<x6=q6
vbic q13,q4,q6
# qhasm: r4 = x5 & ~x7
# asm 1: vbic >r4=reg128#15,<x5=reg128#6,<x7=reg128#8
# asm 2: vbic >r4=q14,<x5=q5,<x7=q7
vbic q14,q5,q7
# qhasm: x0 ^= r0
# asm 1: veor >x0=reg128#1,<x0=reg128#1,<r0=reg128#14
# asm 2: veor >x0=q0,<x0=q0,<r0=q13
veor q0,q0,q13
# qhasm: x1 ^= r4
# a... | Assembly |
) = gs.search_google(
subquery,
gs.QUICK_SEARCH,
"",
ut.INFORMATION_QUERY,
keyword_set,
meta_chat_history,
)
if len(google_text) > 0:
# digest google response into an answer for this subquery
if debug:
... | Python |
zenburua 2;Izenburua 3;Izenburua 4;Izenburua 5;Izenburua 6;Paragrafoa (DIV)",
// Alerts and Messages
ProcessingXHTML : "XHTML Prozesatzen. Itxaron mesedez...",
Done : "Eginda",
PasteWordConfirm : "Itsatsi nahi duzun textua Wordetik hartua dela dirudi. Itsatsi baino lehen garbitu nahi duzu?",
NotCompatiblePaste : "... | JavaScript |
ow.Angle, Is.EqualTo(45));
Assert.That(flatShadow.Length, Is.EqualTo(10));
Assert.That(flatShadow.Brush, Is.InstanceOf<SolidColorBrush>());
Assert.That(flatShadow.ShadowOnly, Is.True);
}
[Test]
public void FlatShadow_ShouldApplyToContext()
{
var flatShadow = new FlatShad... | C# |
=> "invalid row letter",
Errors::InvalidNorthingChar(..) => "MGRS point given invalid northing",
Errors::InvalidEastingChar(..) => "MGRS point given invalid easting",
Errors::InvalidLatitude(..) => "latitude outside UTM limits",
Errors::InvalidLatitudeBand(..) => "invalid... | Rust |
.75c-.07.902-.11 1.863-.438 2.531C23.95 26.465 23.38 27 22 27c-.93 0-1.984-.977-2-3-.004-.336.059-.672.094-1z"/></svg>';
static const String shopping_bag_solid =
'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" preserveAspectRatio="xMidYMid meet" viewBox... | Dart |
|
| 人工智能研究 | 在深度学习领域中,卷积神经网络和递归神经网络有什么区别? |
| 自然语言处理 | 哪些算法在自然语言处理任务中被广泛应用? |
| 机器学习模型评估 | 如何评估一个机器学习模型的性能? ... | Markdown |
.*}} class02ClassMethod
MERGE_CATS-NEXT: types {{.*}} v16@0:8
MERGE_CATS-NEXT: imp +[MyBaseClass(Category02) class02ClassMethod]
MERGE_CATS-NEXT: name {{.*}} MyProtocol02Prop
MERGE_CATS-NEXT: types {{.*}} i16@0:8
MERGE_CATS-NEXT: imp +[MyBaseClass(Categor... | Assembly |
ove.l d0,screen2 ; screen2.H dans d6 au sein du code genere pour les 6 premiers ecrans
move.l d2,screen1
add.l #32000,d0
move.l d0,screen3
add.l #32000,d0
move.l d0,screen4
add.l #32000,d0
move.l d0,screen5
add.l #32000,d0
move.l d0,screen6
move.l d0,d3
add.l #32000,d3 d3 start adresse zone memoire a la f... | Assembly |
SeriesDatumConfig] that represents the initially selected datums.
final List<SeriesDatumConfig<D>>? selectedDataConfig;
BaseChart<D>? _chart;
late LifecycleListener<D> _lifecycleListener;
bool _firstDraw = true;
// TODO : When the series changes, if the user does not also
// change the index the wrong ite... | Dart |
/**
* Copyright (C) 2010-2024 The Catrobat Team
* (http://developer.catrobat.org/credits)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License,... | C |
estUpdate(ids: List<Long>) {
writerRepository.update(ids)
}
}package com.kotlin.cookbook
import org.assertj.core.api.BDDAssertions.then
import org.junit.jupiter.api.Test
import java.time.LocalDate
import java.util.Locale
internal class KotlinTest {
data class Person(
val first: String,
... | Kotlin |
data-preCode])');
for (var ia=0;ia<all.length;ia++){
//if (isScrolling == true) {alert('trying to label CJK, but in scrolling....');break;}
if (all[ia].hasAttribute("data-CJKTestedAndLabeled")) {
continue;
}
if (all[ia].hasAttribute("data-mathml"))... | JavaScript |
Tabs
//
// Tabs
.nav-pills,
.nav-tabs {
margin: 0 0 25px 0;
.nav-item {
.nav-link {
padding: 0.75rem 1.25rem;
font-size: 1rem;
font-weight: 400;
@include kt-transition();
@include kt-icons-style(font-size, (fontawesome: 1.2rem, lineawesome: 1.3rem, flaticon: 1.4rem) );
font-size: 1rem;
... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.