content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
(
self,
_ctx: &GraphContext<B>,
_factory: &mut Factory<B>,
_queue: QueueId,
_aux: &T,
buffers: Vec<NodeBuffer>,
images: Vec<NodeImage>,
set_layouts: &[Handle<DescriptorSetLayout<B>>],
) -> Result<TriangleRenderPipeline<B>, rendy_core::hal::pso::Creatio... | Rust |
(Log.isLoggable("<error descr="Mismatched tags: the `d()` and `isLoggable()` calls typically should pass the same tag: `\"my_tag\"` versus `\"other_tag\"` (Conflicting tag)">my_tag</error>", Log.DEBUG)) {
Log.d("<error descr="Mismatched tags: the `d()` and `isLoggable()` calls typically should pass the sam... | Kotlin |
# -*- coding: utf-8 -*- #
# Copyright 2021 Google LLC. 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 requir... | Python |
oid onCompleteResponse(ChatResponse response) {
log.info("LLM响应完成,总耗时: {}ms, 模型: {}, 响应元数据: {}",
System.currentTimeMillis() - requestStartTime, modelName, response.metadata());
// 使用replay sink,无需检查订阅者数量,直接完成
Sinks.EmitResult result... | Java |
,
.v-skeleton-loader__list-item-three-line,
.v-skeleton-loader__list-item-avatar-three-line,
.v-skeleton-loader__table-heading,
.v-skeleton-loader__table-thead,
.v-skeleton-loader__table-tbody,
.v-skeleton-loader__table-tfoot {
background: none !important;
}
.v-skeleton-loader--inherit-size .v-skeleton-loader__bone {... | CSS |
活下去。坏人没死,我不能先死。哪怕每天疼得昏过去,我也要撑住。"
- **使用场景**:样式1、样式2、样式4的内容页主体
4. **多人对话式金句**
- **定义**:≤6句的问答对话,保持完整的对话逻辑和情绪起伏。
- **示例**:
- "所以那时候你觉得我们仨长得好看吗?""关于谁最好看,我跟你说我早年间唱歌手的时候...""真的假的?""真的,当时就全部都是她。"
- **使用场景**:专门用于样式5(阶梯式photos叠加风格)内容页
<a name="heading_11"></a>**🔹 排版样式(已确定4种)**
**详细实现规范请参考:`内容页模板规范.md`**
1. **样式1:上下分... | Markdown |
# 定义颜色常量
class Colors:
RED = '\033[31m'
GREEN = '\033[32m'
YELLOW = '\033[33m'
BLUE = '\033[34m'
MAGENTA = '\033[35m'
CYAN = '\033[36m'
WHITE = '\033[37m'
RESET = '\033[0m' # 重置颜色
colors = Colors()
# 使用示例
# print(f"{Colors.RED}这是红色的文本{Colors.RESET}")
# print(f"... | Python |
Type']),
messageRange:
$enumDecode(_$MessageRangeEnumEnumMap, json['messageRange']),
state: $enumDecode(_$MessageStateEnumEnumMap, json['state']),
link: json['link'] as String?,
links: (json['links'] as Map<String, dynamic>?)?.map(
(k, e) => MapEntry(k, e as String),
),
... | Dart |
IndexError]
* * pos is greater than the count of ToolBarItems
* [ArgumentError]
* * does raise when either bitmap or disabled_bitmap can't converted into an WX::Bitmap
*
*/
DLL_LOCAL VALUE _insertCheck(int argc,VALUE *argv,VALUE self)
{
return wrap(_insert_base(argc,argv,self,wxITEM_CHECK));
}
/*
* call-seq:
*... | C++ |
] = create_record(engine_cpu_record, engine_mem_record)
else
combined_record[key] = create_disabled_record()
end
end
return combined_record
end
local function process_metrics()
local metrics_port = os.getenv("METRICS_LISTEN_PORT")
local record = {
["api_call_total"] = 0,
["api_call_engine... | Lua |
database /tmp/crashpad_database \
--set-uploads-enabled false
$ crashpad_database_util --database /tmp/crashpad_database \
--show-uploads-enabled
false
```
## Exit Status
* **0**
Success.
* **1**
Failure, with a message printed to the standard error stream.
## See Also
[crashpad_handler(8)](.... | Markdown |
.isIE){
var v = (node.unselectable = selectable ? "" : "on");
d.query("*", node).forEach("item.unselectable = '"+v+"'");
}
//>>excludeEnd("webkitMobile");
//FIXME: else? Opera?
};
var _insertBefore = function(/*DomNode*/node, /*DomNode*/ref){
var parent = ref.parentNode;
if(parent){
parent.insert... | JavaScript |
) {
super(name)
}
move(distanceInMeters = 5) {
console.log('Slithering...')
super.move(distanceInMeters)
}
}
class Horse extends Animal {
constructor(name: string) {
super(name)
}
move(distanceInMeters = 5) {
console.log('Galloping...')
super.move(... | Typescript |
ероев!$B$BПринеси мне двадцать пять знаков доблести, и получишь одно из лучших наших изделий.",
["O"] = "Принесите 25 знаков доблести Серебряного Рассвета интенданту Бричлок в Часовню Последней Надежды в Восточные Чумные земли.",
["T"] = "Многоцветная драгоценность Рассвета",
},
[5520] = "_",
[5521] = {
... | Lua |
x="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M4.385 12c0 .55.2 1.02.59 1.41.39.4.86.59 1.41.59s1.02-.2 1.41-.59c.4-.39.59-.86.59-1.41s-.2-1.02-.59-1.41a1.93 1.93 0 0 0-1.41-.59c-.55 0-1.02.2-1.41.59-.4.39-.59.86-.59 1.41m5.62 0c0 .55.2 1.02.58 1.41.4.4.87.59 1.42.59s1.02-.2 1.41-.59c.4-.39.59-.86.59-1... | HTML |
{ 0, "", "", "" },
{ 6319, "INV_Belt_03", "=q2=Girdle of the Blindwatcher", "=ds=Taille, Leder" },
};
BSFFenrustheDevourer = {
{ 6340, "INV_Misc_Pelt_Wolf_02", "=q2=Fenrus' Hide", "=ds=Umhang" },
{ 3230, "INV_Bracer_07", "=q2=Black Wolf Bracers", "=ds=Handgelenk, Leder" },
};
BSFWol... | Lua |
from .canvas import Canvas
def _forward(method):
def func(self, *args, **kwargs):
# pylint: disable=W0212
return getattr(self._canvas, method)(*args, **kwargs)
func.name = method
return func
class ForwardingCanvas(Canvas):
"""
Canvas that dispatches all calls to a contained canvas... | Python |
data class Recurrence(
@field:JsonProperty("created_at")
val createdAt: java.time.OffsetDateTime? = null,
@field:JsonProperty("updated_at")
val updatedAt: java.time.OffsetDateTime? = null,
@field:JsonProperty("type")
val type: RecurrenceTransactionType? = null,
@field:JsonProperty("tit... | Kotlin |
#76b6ec;
}
.jstree-proton .jstree-wholerow-clicked {
background: #3392e3;
background: -moz-linear-gradient(top, #3392e3 0%, #3392e3 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3392e3), color-stop(100%, #3392e3));
background: -webkit-linear-gradient(top, #3392e3 0%, #3392e3... | CSS |
;
ms_apColorVariables[SKINPART_DECORATION] = &Config()->m_PlayerColorDecoration;
ms_apColorVariables[SKINPART_HANDS] = &Config()->m_PlayerColorHands;
ms_apColorVariables[SKINPART_FEET] = &Config()->m_PlayerColorFeet;
ms_apColorVariables[SKINPART_EYES] = &Config()->m_PlayerColorEyes;
for(int p = 0; p < NUM_SKINPAR... | C++ |
nt;
box-sizing: border-box;
height: 25px;
line-height: 25px; }
.ag-theme-bootstrap .ag-column-panel .ag-pivot-mode span {
float: left;
height: 100%; }
.ag-theme-bootstrap .ag-column-panel .ag-pivot-mode .ag-pivot-mode-select {
margin-left: 4px; }
.ag-theme-b... | HTML |
getPathPacket().loadEntityLists(reader);
// Skip to end of packet if old format to hide warnings.
if (getParentFile().getGraphicalPacket().getPolygonPacketAddress() > reader.getIndex() && getParentFile().isEarlyMapFormat() || getConfig().isAtOrBeforeBuild4())
reader.setIndex(getParentFile()... | Java |
attachments::v1::
GetIamPolicyRequest const& request);
virtual future<StatusOr<google::cloud::cpp::compute::v1::Operation>>
InsertNetworkAttachment(google::cloud::cpp::compute::network_attachments::v1::
InsertNetworkAttachmentRequest const& request);
virtual StatusOr<goog... | C |
/// - Environment variables
/// - CLI parameters
fn get_remappings(&self, remappings: Vec<Remapping>) -> Result<Vec<Remapping>, Error> {
let mut new_remappings = Vec::new();
// check env var
if let Some(env_remappings) = remappings_from_env_var("DAPP_REMAPPINGS")
.or_el... | Rust |
-heading {
font-size: 2.25rem;
font-weight: 700;
margin-top: 3.75rem;
}
.caption {
font-size: 0.875rem;
font-style: italic;
display: block;
margin: 0;
padding: 0.625rem;
text-align: center;
}
.post-preview > a {
color: #212529;
}
.post-preview > a:focus, .post-preview > a:hover {
text-decoration... | CSS |
org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// li... | Go |
f="../../../../org/activiti/engine/delegate/DelegateExecution.html" title="interface in org.activiti.engine.delegate"><span class="typeNameLink">Prev Class</span></a></li>
<li><a href="../../../../org/activiti/engine/delegate/DelegateTask.html" title="interface in org.activiti.engine.delegate"><span class="typeNam... | HTML |
rowspan="2" colspan="2">30 November – <a href="/wiki/Tianhe_Stadium" title="Tianhe Stadium">Guangzhou (Tianhe)</a></td></tr><tr><td><div style="height:1ex;overflow:hidden"> </div></td><td rowspan="2" style="background-color:#f9f9f9;border:1px solid #aaa;color:#202122;padding:0 .6ex"><span class="flagicon"><img al... | HTML |
/**
* Class inheritance graph utility.
*
* @author Matt Coley
*/
// Copied from https://github.com/Col-E/Recaf/blob/ac6e07cbaf168a1f2093e71a39215bda8a00402d/recaf-core/src/main/java/software/coley/recaf/services/inheritance/InheritanceGraph.java
public class InheritanceGraph {
private static final Logger LOGGER =... | Java |
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <net/if.h>
#include <arpa/inet.h>
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "lookup.h"
int __inet_aton(const char *, struct in_addr *);
int __lookup_ipliteral(struct address buf[static 1], const c... | C |
0, 0, 0, 500, 1)
int offset = 0;
for (int i = MLUOP_DIM_MAX - 1; i > 0; i--) {
if (tensor_temp_strides[i] == 1 &&
tensor_temp_strides[i - 1] == tensor_temp_dims[i]) {
tensor_temp_dims[i - 1] *= tensor_temp_dims[i];
tensor_temp_strides[i - 1] = 1;
offset++;
} else {
break;
... | C++ |
fr-m-md-4w {
margin: 2rem !important;
}
.fr-ml-md-8v, .fr-ml-md-4w, .fr-mx-md-8v, .fr-mx-md-4w {
margin-left: 2rem !important;
}
.fr-mr-md-8v, .fr-mr-md-4w, .fr-mx-md-8v, .fr-mx-md-4w {
margin-right: 2rem !important;
}
.fr-mt-md-8v, .fr-mt-md-4w, .fr-my-md-8v, .fr-my-md-4w {
margin-top: 2... | CSS |
0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NkE0QTg5RkNDMDA1MTFFNzhFRDlFRDlCOUNEMzFCN0UiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NkE0QTg5RkJDMDA1MTFFNzhFRDlFRDlCOUNEMzFCN0UiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGh... | CSS |
.include "../tokens.inc"
;=======================
;=======================
;=======================
; trogdor inner
;=======================
;=======================
;=======================
trogdor_inner_verb_table:
.byte VERB_ATTACK
.word trogdor_attack-1
.byte VERB_KILL
.word trogdor_attack-1
.byte VER... | Assembly |
00,0x01,0x03,0x04]
buffer_store_format_x v1, off, s[12:15], s4
// CHECK: [0x00,0x00,0x10,0xe0,0x00,0x01,0x03,0x04]
buffer_store_format_x v1, off, s[12:15], s4 offset:0
// CHECK: [0x00,0x00,0x10,0xe0,0x00,0x01,0x03,0x04]
buffer_store_format_x v1, off, s[12:15], s4 offset:7
// CHECK: [0x07,0x00,0x10,0xe0,0x00,0x01,0x0... | Assembly |
(`should set confirmEmailMessage$ correctly when confirmEmail control on
the parentForm is required`, fakeAsync(() => {
let message: string;
const confirmEmailControl = component.parentForm.get(
'contactGroup.confirmEmail'
);
fixture.detectChanges();
confirmEmailControl.setValue('');
... | Typescript |
out << "set view equal xy" << std::endl
<< "plot '-' using 1:2 with lines, '-' with labels point pt 2 offset 1,1"
<< std::endl;
GridOut().write_gnuplot(triangulation, deallog.get_file_stream());
out << 'e' << std::endl;
DoFTools::write_gnuplot_dof_support_point_info(deallog.get_file_stream(),
... | C++ |
ce(),"0", "0",
"6", "880-01", "a", "iPhone the Bible wan jia sheng jing."));
Schema schema = new BaseSchema()
.addField(new DataElement("245", "245")
.addRule(
new Rule()
.withId("245")
.withMinCount(1)
.withHidden(true)
))
.addField(n... | Java |
es.image.repository }}` para injeção de valores.
* Condicionais e loops: `{{ if .Values.service.enabled }}` e `{{ range .Values.ports }}`.
---
## 6. Desenvolvimento Avançado de Charts
### 6.1 Dependências de Charts
```bash
helm dependency update mychart/
helm dependency build mychart/
```
* `charts/` conterá os de... | Markdown |
ry>
ArcaniteReaper = 12784,
/// <summary>
/// Level: 1
/// Class: Quest
/// </summary>
IncendiaPowder = 12785,
/// <summary>
/// TwoHandWeapon
/// Level: 63
/// Class: Weapon
/// </summary>
ArcaniteChampion = 12790,
/// <summary>
/// Weapon
/// Level: 55
/// Class: Weapon
/// </summary... | C# |
this.state.currentPos++;
}
return ch;
}
/**
* Parse the text of attributes
*
* @private
* @param {string} text
* @returns {{ [key: string]: any }}
* @memberof AttributeParser
*/
private _parse(text: string): { [key: string]: any } {
let attr = {};
this.state.text = text;
... | Typescript |
({
nextInputValue(inputIndex, inputCount, iteration) {
if (inputIsFixed && inputIsFixed(inputIndex, inputCount)) {
return null
}
if (!countPerInput || iteration % countPerInput === 0) {
return Math.random() * (valueRange[1] - valueRange[0]) + valueRange[0]
}
return null
},... | Typescript |
Candies://testPageC_Copy',
'flutterCandies://testPageC_Copy_Copy',
'flutterCandies://testPageD_moduleA',
'flutterCandies://testPageE',
'flutterCandies://testPageF_moduleA',
'fluttercandies://demogrouppage',
'fluttercandies://mainpage',
];
/// The routes auto generated by https://github.com/fluttercandies/f... | Dart |
有存储桶。
[查看Javadoc](http://minio.github.io/minio-java/io/minio/MinioClient.html#listBuckets--)
|返回值类型 | 异常 |
|:--- |:--- |
| ``List Bucket`` : List of bucket type. | 异常列表: |
| | ``NoResponseException`` : 服务端无响应 |
| | ``IOException`` : 连接异常 |
| | ``org.xmlpull.v1.XmlPullParserException`` : 解析返... | Markdown |
'86444', 'remembertiananmensquarepP*rememberhongkong', 'remembertiananmensquarepP*rememberhongkong'},
{'86445', '烛光不灭pP*抗争到底', '烛光不灭pP*抗争到底'},
{'86446', '踩红线', '踩红线'},
{'86447', '共产主义受难者', '共产主义受难者'},
{'86448', '莉卡醤', '莉卡醤'},
{'86449', '鉴于目前北京这种不寻常的形势,我们没有其它新闻可以告诉你们', '鉴于目前北京这种不寻常的形势,我们没有其它新闻可以告诉你们'},
{'86450', '士兵驾驶着坦... | Lua |
.include "asm/macros.inc"
.include "overlay_29_022F59C4.inc"
.text
arm_func_start ov29_022F59C4
ov29_022F59C4: ; 0x022F59C4
stmdb sp!, {r4, lr}
mov r4, r0
bl ov29_022F87C0
movs r1, r0
moveq r1, #0
beq _022F59FC
ldr r0, [r1]
cmp r0, #1
movne r1, #0
bne _022F59FC
ldr r0, [r4, #0xb4]
ldrb r0, [r0, #6]
cm... | Assembly |
imizer, fFunc.GetFunc(), fVec, stepSize, tol);
}
/// create the minimizer from the type and size
void CreateMinimizer(unsigned int n) {
if (fMinimizer) gsl_multimin_fdfminimizer_free(fMinimizer);
fMinimizer = gsl_multimin_fdfminimizer_alloc(fType, n);
}
std::string Name() const {
... | C |
lic static void main(String[] args) {
int[] cspaces = {ColorSpace.CS_sRGB, ColorSpace.CS_LINEAR_RGB,
ColorSpace.CS_CIEXYZ, ColorSpace.CS_PYCC,
ColorSpace.CS_GRAY};
for (int cspace : cspaces) {
ICC_Profile icc = ICC_Profile.getInstance(cspace)... | Java |
(cNode.type) {
case var: {
if (cNode.parents.size() == 1) {
Symbol inm = translate(cNode.getParents(this).get(0));
TreeSet<Symbol> ordredLeaves = new TreeSet<Symbol>(
(sym1, sym2) -> sym1.cNode.varName.compareTo(sym2.cNode.varName));
ordredLeaves.addAll(inm.leaves);
sym = new Symbol(cNode, i... | Java |
has moved into a region where the above caching
// became invalid.
m_hoveredRow = row;
m_nHoveredColumn = nColumn;
update();
}
if ( !m_bRightBtnPressed && ev->buttons() & Qt::LeftButton ) {
// Click+drag triggers same action as clicking at new position
mousePressEvent( ev );
}
else if ( ev->buttons()... | C++ |
adsbygoogle,
.td-header-style-8 .td-a-rec-id-header > div,
.td-header-style-8 .td-g-rec-id-header > .adsbygoogle,
.td-header-style-12 .td-a-rec-id-header > div,
.td-header-style-12 .td-g-rec-id-header > .adsbygoogle {
margin-bottom: 24px !important;
}
}
@media... | HTML |
e two 5 5 hello world}
-- do_test intpkey-2.4.3 {
-- execsql {
-- SELECT rowid, * FROM t1 WHERE 8>rowid AND 'second'>b AND 0<rowid
-- }
-- } {4 4 one two 5 5 hello world}
-- do_test intpkey-2.5 {
-- execsql {
-- SELECT rowid, * FROM t1 WHERE b>'a'
-- }
-- } {5 5 hello world 4 4 one two 6 6 second entry ... | Lua |
elect(cmpMax, idx, idxMax);
valMin = v_select(cmpMin, data, valMin);
valMax = v_select(cmpMax, data, valMax);
idx += inc;
}
}
j = k;
minMaxIdx_reduce_u8( valMin, valMax, idxMin, ... | C++ |
needs to be changed
if (grid[r + j] == 0x01) {
grid[r + j] = 0x00;
} else {
grid[r + j] = 0x01;
}
}
}
}
}
/* add format information */
format_data = version;
i... | C |
leEventSinkIUnknown, 0, i);
System.arraycopy(oleEventSinkIUnknown, i + 1, newOleEventSinkIUnknown, i, oldLength - i - 1);
oleEventSinkIUnknown = newOleEventSinkIUnknown;
}
}
return;
}
... | Java |
compareByDescending<com.valoser.futaburakari.HistoryEntry> { it.unreadCount }
.thenByDescending { it.lastUpdatedAt }
)
}
entries = list
}
// UI状態の変更(未読のみ/ソート)を検知して再計算し、
... | Kotlin |
90;
}
.ace-dreamweaver .ace_meta.ace_tag.ace_image {
color:#909;
}
.ace-dreamweaver .ace_meta.ace_tag.ace_script {
color:#900;
}
.ace-dreamweaver .ace_meta.ace_tag.ace_style {
color:#909;
}
.ace-dreamweaver .ace_meta.ace_tag.ace_table {
color:#099;
}
.ace-dreamweaver .ace_string.ace_regex {
color: rgb(25... | CSS |
doLast {
// Patch the Cargo.toml files
CrateSet.AWS_SDK_RUNTIME.forEach { module ->
patchFile(sdkOutputDir.file("${module.name}/Cargo.toml").asFile) { line ->
rewriteRuntimeCrateVersion(
properties.get(module.versionPropertyName)!!,
... | Kotlin |
, -2, -4, 1, 5, -6, -1, -1, 4, -1, -1, -5, -1, 7, -4, -1, -3, 2, 5, -11, 1,
7, -4, -1, -2, 1, -1, -3, 2, 2, -1, -6, 0, 0, 4, -2, -5, 5, -3, -3, 5, -6, -1,
4, 0, -4, -1, 2, -1, 1, -4, 7, -11, 5, 3, -5, 1, -4, 5, -5, 0, -1, 1, -3, 4, -2,
-2, 1, 2, 0, -6, 6, -3, 0, 1, -1, -2, 0, 2, -3, 1, -2, -2, 2, 0, -2, 5, -2, -2,
1, -... | C |
.
* Returns true if changes were needed.
* @param did The distribution to delimit
*/
public static boolean delimitDoubles(DoubleIntervalDistribution did)
{
boolean changed = false;
for (int i = 0; i < did.size; i++) {
// Adjust lower bound if needed
double sumRest = 0.0;
for (int j = 0; j < did.siz... | Java |
using UnityEngine;
using System.Collections;
using UnityEngine.TextCore.LowLevel;
namespace TMPro.Examples
{
public class Benchmark03 : MonoBehaviour
{
public enum BenchmarkType { TMP_SDF_MOBILE = 0, TMP_SDF__MOBILE_SSD = 1, TMP_SDF = 2, TMP_BITMAP_MOBILE = 3, TEXTMESH_BITMAP = 4 }
public i... | C# |
ounter), counter == 1
}, 1*time.Millisecond, func(input []byte) {
assert.Equal(t, `{"method":"POST","url":"http://localhost:4000","body":{"query":"subscription { counter }"}}`, string(input))
})
resolver, plan, recorder, id := setup(c, fakeStream)
ctx := &Context{
ctx: context.Background(),
Execution... | Go |
026",
"loglineWarningBg": "rgba(174,124,20,0.15)",
"loglineCommandText": "#539bf5",
"loglineSectionText": "#57ab5a",
"ansi": {
"black": "#22272e",
"blackBright": "#2d333b",
"white": "#909dab",
"whiteBright": "#909dab",
"gray": "#636e7b",
"red": "#f47067",
"redBr... | Lua |
pere> by Giga(Ampere)
internal fun SerializersModuleBuilder.setupForElectricCurrent() {
polymorphic(ElectricCurrent::class) {
registerElectricCurrentClasses()
}
}
internal fun PolymorphicModuleBuilder<ElectricCurrent>.registerElectricCurrentClasses() {
subclass(Ampere::class, Ampere.serializer())
... | Kotlin |
ocal BaseRef = GetUnitName()
ExecuteAction("FIND_HOME_BASE_OF_PLAYER", Player, BaseRef, 0)
return GetObjectLuaRef(BaseRef)
end
function GetBase2(team)
return GetBaseRef(GetPlayerByTeam(team))
end
function SpawnWormholes()
local LocalPlayerBaseX, LocalPlayerBaseY, LocalPlayerBaseZ = ObjectGetPosition(GetBase(Local... | Lua |
dest.push(w);
}
/// Fills the vector with the words in the string in normalized form.
///
/// This first normalizes words to Unicode Normalization Form KD, which
/// decomposes characters with accents into the character and the accent
/// separately. The "KD" form, as opposed to the "D" form, also replaces more
/// th... | Rust |
(\widehat{\boldsymbol{S}}\right) + \imath
\widehat{O}_{p_S}^{-q_S}\left(\widehat{\boldsymbol{S}}\right)\right) &\text{
for } q_S > 0 \\
&\widehat{O}_{p_S}^{q_S}\left(\widehat{\boldsymbol{S}}\right) &\text{ for }
q_S = 0 \\
&\sqrt{2}\left(\widehat{O}_{p_S}^{-q_S}\left(\widehat{\boldsymbol{S}}\right)
-\imath\wi... | HTML |
using NetTopologySuite.Geometries;
using NUnit.Framework;
namespace NetTopologySuite.Tests.NUnit.Geometries
{
[TestFixture]
public class CoordinateListTest
{
[Test]
public void TestForward()
{
CheckValue(CoordList(0, 0, 1, 1, 2, 2).ToCoordinateArray(true),
... | C# |
const ReadModeChanger({super.key});
@override
State<ReadModeChanger> createState() => _ReadModeChangerState();
}
class _ReadModeChangerState extends State<ReadModeChanger> {
ReadMode _readMode = AppConf().readMode;
@override
Widget build(BuildContext context) {
return MenuListTile.withValue(
i... | Dart |
local so = tostring(o);
local oType = type(o);
if oType == 'function' then
return ("function...")
--[[local info = debug.getinfo(o, 'S')
-- info.name is nil because o is not a calling level
if info.what == 'C' then
return ('"%s, C function"'):format(so);
else
-- the information is defined in... | Lua |
Url
}
if (source is Member) {
tokens[Placeholders.USER_MENTION.name] = source.asMention
tokens[Placeholders.USER_NAME_SHORT.name] = source.user.globalName ?: source.user.name
tokens[Placeholders.USER_NAME.name] = source.user.globalName ?: source.user.name
tokens[Placeholders.USER_DISCRIMINAT... | Kotlin |
//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<script src="/JavaScriptServlet" type="text/javascript"></script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Ajax Header Verification</title>
<script type="text/javascript">... | HTML |
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
using Volo.Abp.Data;
using Volo.Abp.DependencyInjection;
namespace SharpAbp.Abp.CryptoVault
{
public class AbpCryptoVaultDataSeedContributor : IDataSeedContributor, ITransientDependency
{
private readonly AbpCryptoVaultOptions _options;... | C# |
",
["Summon Felsteed"] = "Призывание коня Скверны",
["Summon Imp"] = "Призыв беса",
['Summon Ragnaros'] = 'Призвание Рагнароса',
["Summon Spawn of Bael'Gar"] = "Вызов порождения Бейл'Гора",
["Summon Succubus"] = "Призыв суккуба",
["Summon Voidwalker"] = "Призыв демона Бездны",
["Summon Warhorse"] = "Призы... | Lua |
.physiology.Point2dFloat value = 2;</code>
*/
int getValueCount();
/**
* <pre>
** Whether the landmark detection is considered stable/reliable
* </pre>
*
* <code>bool stable = 3;</code>
* @return The stable.
*/
boolean getStable();
/**
* <pre>
** Indi... | Java |
isk', grid=True,
error_message_list=error_message_list)
return file_view_status
elif 'inflow' in data and 'outflow' in data:
file_view_status = make_statis_double(data, file, 'inflow', 'outflow', 'total_flow',
... | Python |
j))
}
}
}
count := 0
// BFS
// the change of every path in paths is unique
for len(queue) > 0 {
size := len(queue)
for s := 0; s < size; s++ {
x, y := queue[s][0], queue[s][1]
path := paths[s]
for k := 0; k < 4; k++ {
i, j := x+dx[k], y+dy[k]
if i < 0 || m <= i ||
j < 0 || n <= j |... | Go |
#ifndef SENTRY_DATABASE_H_INCLUDED
#define SENTRY_DATABASE_H_INCLUDED
#include "sentry_boot.h"
#include "sentry_path.h"
#include "sentry_session.h"
typedef struct sentry_run_s {
sentry_uuid_t uuid;
sentry_path_t *run_path;
sentry_path_t *session_path;
sentry_filelock_t *lock;
} sentry_run_t;
/**
* ... | C |
moveq #13,d0
bsr outprt
moveq #10,d0
bsr outprt
tst d5
beq.s hard6
move txreel(a4),d1
subq #1,d1
hard5: move #cartour,d0
bsr outprt
dbra d1,hard5
hard6: moveq #13,d0
bsr outprt
moveq #10,d0
... | Assembly |
if
ta T_SEND_THRD_INTR
.word 0xfc45a0b5 ! 429: LDSW_I ldsw [%r22 + 0x00b5], %r30
.word 0xfc0dc000 ! 432: LDUB_R ldub [%r23 + %r0], %r30
setx data_start_6, %g1, %r23
.word 0xf01dc000 ! 434: LDD_R ldd [%r23 + %r0], %r24
setx 0x18, %g1, %o0
#ifdef PORTABLE_CORE
mov PORTABLE_CORE, %g1
sllx %g1, 10, %g1
or %o0, ... | Assembly |
edSizeWidget {
const SiteHeader({
this.onHeaderTitleTap,
this.automaticallyImplyLeading = false,
super.key,
this.actions,
});
final VoidCallback? onHeaderTitleTap;
final bool automaticallyImplyLeading;
final List<Widget>? actions;
@override
Size get preferredSize => const Size.fromHeight... | Dart |
nFillPosition() = if (reverseLayout) {
getChildEndPosition()
} else {
getChildStartPosition()
}
private fun getFixOffset(): Int {
if (childCount == 0) return 0
return if (reverseLayout)
getDecoratedEnd(getEndView()) - getEnd()
else
getDecorate... | Kotlin |
IGN='LEFT'> <TD>lut_as_shift_register_fixed=0</TD>
<TD>lut_as_shift_register_used=335</TD>
<TD>lut_ff_pairs_with_one_unused_flip_flop_fixed=335</TD>
<TD>lut_ff_pairs_with_one_unused_flip_flop_used=3181</TD>
</TR><TR ALIGN='LEFT'> <TD>lut_ff_pairs_with_one_unused_lut_output_fixed=3181</TD>
<TD>lut_... | HTML |
t-weight:700;color:var(--mantine-color-gray-7);font-size:var(--mantine-font-size-sm);padding:var(--mantine-spacing-xs) var(--mantine-spacing-sm)}.m_d6493fad :where(table) :where(thead th){border-bottom:calc(.0625rem * var(--mantine-scale)) solid;border-color:var(--mantine-color-gray-3)}.m_d6493fad :where(table) :where(... | CSS |
B $FF,5,4,0,1,0,0,0,0,0
DC.W 3*8
DC.L 0
DC.B $FF,0,4,7,3,0,0,0,0,0
DC.W 4*8
DC.L 0
DC.B $FF,3,7,6,2,0,0,0,0,0
DC.W 5*8
DC.L 0
DC.B $FF,2,6,5,1,0,0,0,0,0
DC.W 6*8
DC.L 0
DC.W 0
even
ZZCAR MACRO
DC.W \1,\2+100,\3*2/3
ENDM
ZZROU MACRO
DC.W \1,\2+100,\3*3/4
ENDM
cube
car:
; points flanc dr... | Assembly |
�ָλÿʼƶջ<br>
ŷݡĵ³ϰߺ˵Ĵѻӵˡͻвʱȡʱ䣬ֻǵװڵ֡<br>
ѩҶҽ3ߺĶѻڽѻ︲ǵĸʱ軨IJƶһӵЧȡѻIJϡ<br>
ѩѹɵĶѻбκδԽѻеÿֻܵ3㺮˺<br>
ҶɵĶѻ(κ͵ģӻѵ"")̱ȼȼҶɵĸµôܵ2d6˺<br>
ȼպĻҽɵĶѻпҪϨκδԽѻеÿֻܵ3˺</p>
<h4>ɱ(Electric Vengeance)</h4>
<p><i>ϵ[]</i><br>
<b>ȼ</b>ʿ/ʦ2<br>
<b>ɷ</b><br>
<b>ʩʱ</b>һֱ<br>
<b></b>5<br>
<b>Ŀ</b>һ<br>
<b>ʱ</b><br>
<b>춨</b><br>
<b></b><br>
ʱһεĵڱ˳ΪһĻ... | HTML |
},
{ title: 'with Docker', value: 'with-docker' }
];
const jsTemplates: Choice[] = [{ title: 'Default template (Recommended)', value: 'with-javascript' }];
export const PromptNew = (projectName: string, yarn: boolean) => {
const pmChoices = [
{
title: `Yarn (Recommended) ${yarn ? '' : '(Not installed)'}`,
v... | Typescript |
//src[x+2*stride+1]
vmull.u8 q3, d0, d28 //(src[x] * A)
vmlal.u8 q3, d1, d29 //+=(src[x+1] * B)
vmlal.u8 q3, d2, d30 //+=(src[x+stride] * C)
vmlal.u8 q3, d3, d31 //+=(src[x+stride+1] * D)
vrshrn.u16 d6, q3, #6
vst1.u8 d6, [r2], ... | Assembly |
_system = Managers.state.extension:system("side_system")
local side = side_system.side_by_unit[player_unit]
local side_id = side.side_id
local unit_name, material, placed_unit
placed_unit = Managers.state.unit_spawner:spawn_network_unit(unit_name, unit_template, position, rotation, material, side_id, deployable_se... | Lua |
me )
{
if( _owner.zombiesAround.Count!=0 )
{
Vector3 pos = _owner.transform.position;
NavMeshAgent nearest = null;
float nearestDist = float.MaxValue;
foreach( var next in _owner.zombiesAround )
... | C# |
E649CA'/%3E%3Cstop offset='.19' stop-color='%23EF5982'/%3E%3Cstop offset='.372' stop-color='%23FD7110'/%3E%3Cstop offset='.398' stop-color='%23FF7500'/%3E%3C/linearGradient%3E%3Cpath fill='url(%23c)' d='M65.9 22.2L52.5 15.8 36.8 17.2 21.4 27.9 18.3 47.1 31.8 65.5 48.2 70z'/%3E%3Cg%3E%3Cpath fill='%23000' d='M13.4 13.4H... | CSS |
owa o wymiarach 150x100x10 mm dla silnika z symetrycznymi otworami.
<img alt="" src=images/PartDesign_MultiTransform_Example2.png style="width:400px;">
1. Utwórz <img alt="" src=images/PartDesign_Body.svg style="width:16px;"> [Zawartość](PartDesign_Body/pl.md) i dodaj <img alt="" src=images/PartDesign_NewSketch.sv... | Markdown |
t-sync-data-table td {
padding: 14px;
display: table-cell;
}
.bc-product-sync-data-table th {
font-weight: 700;
background-color: #cdcdcd;
}
.bc-product-sync-data-table tr > td {
border-bottom: 1px solid #cdcdcd;
}
.bc-sync-summary-meta {
display: block;
margin-bottom: 4px;
}
.bc-settings-form--bigcommerce p.sub... | CSS |
<input type="text" id="display-hiddify-uuid" class="form-control" disabled>
</div>
<div class="form-group">
<label for="edit-marzban-username">Marzban Username</label>
<input type="text" id="edit-marzban-username" name="mar... | HTML |
# emacs: -*- mode: python; py-indent-offset: 4; tab-width: 4; indent-tabs-mode: nil -*-
# ex: set sts=4 ts=4 sw=4 et:
# ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ##
#
# See COPYING file distributed along with the datalad package for the
# copyright and license terms.
#
# ## ### ### ... | Python |
tion and #action > 0 then
actions[#actions + 1] = {action, script, data}
return
end
-- we have unsupported IVR action
log.warning("invalid action in ivr: " .. row.ivr_menu_option_action);
end); --end results
dbh:release()
--execute
if #actions > 0 then
for _, t in ipairs(actio... | Lua |
/* Copyright 2007-2015 QReal Research Group
*
* 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... | C |
/* Copyright 2010, University Corporation for Atmospheric Research. See
COPYRIGHT file for copying and redistribution conditions.
This file is part of netcdf-4, a netCDF-like interface for HDF5, or
a HDF5 backend for netCDF, depending on your point of view.
This file contains macros and prototyes relating... | C |
OUND,
RUNTIME_FUNCTION_EXCEPTION,
];
static final $core.Map<$core.int, Error_Code> _byValue =
$pb.ProtobufEnum.initByValue(values);
static Error_Code? valueOf($core.int value) => _byValue[value];
const Error_Code._($core.int v, $core.String n) : super(v, n);
}
///
// Generated code. Do not modify.
... | Dart |
shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--popup-bottom-start{margin-top:5px}.el-menu--popup-right-start{margin-left:5px;margin-right:5px}.el-menu-item{font-size:14px;color:#303133;padding:0 20px;cursor:pointer;-webkit-transition:border-color .3s,background-color .3s,color .3s;t... | CSS |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.