content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
bles_equal(
collect({
{name = 'iPhone 6', brand = 'Apple', type = 'phone'},
{name = 'iPhone 5', brand = 'Apple', type = 'phone'},
{name = 'Apple Watch', brand = 'Apple', type = 'watch'},
{name = 'Galaxy S6', brand = 'Samsung', type = 'phone'},
{name = ... | Lua |
gBuilder.appendSpace(
@FloatRange(from = 0.0) size: Float,
@ColorInt color: Int = Color.TRANSPARENT
): SpannableStringBuilder = appendSpace(size.toInt(), color)
fun SpannableStringBuilder.appendSpace(
@IntRange(from = 0) size: Int,
@ColorInt color: Int = Color.TRANSPARENT
): SpannableStringBuilder = in... | Kotlin |
# Target range min
b_max: 1.0 # Target range max
clip: True
crop_foreground: True # 是否基于标签裁剪前景区域
# 训练时数据增强
spatial_crop_size: [96, 96, 96] # 训练时随机裁剪的 patch 大小 (根据 GPU 显存调整)
rand_crop_pos_ratio: 0.8 # RandCropByPosNeg... | Markdown |
pre>
<p>Here we encipher an image using another image as the passphrase:</p>
<pre class="bg-light text-dark mx-4"><samp>magick rose.jpg -encipher smiley.gif rose.png </samp></pre>
<h2><a class="anchor" id="decipher"></a>Decipher an Image</h2>
<p>Use the <a href="command-line-options.html#decipher">-decipher</a> opt... | HTML |
get windows device info failed: $e");
name = "unknown";
id = "unknown";
}
} else if (isMacOS) {
MacOsDeviceInfo macOsInfo = await deviceInfo.macOsInfo;
name = macOsInfo.computerName;
id = macOsInfo.systemGUID ?? '';
}
if (isAndroid || isIOS) {
... | Dart |
两个不同的配置文件之间的差异很小,可能仅仅只改了一个字段,我们就需要将所有内容复制粘贴一次,而且在后续观察的时候,不容易定位到具体差异的字段。又有些情况下,多个配置文件可能都有相同的一批字段,我们不得不在这些配置文件中进行复制粘贴,给后续的修改和维护带来了不便。
为了解决这些问题,我们给配置文件增加了继承的机制,即一个配置文件 A 可以将另一个配置文件 B 作为自己的基础,直接继承了 B 中所有字段,而不必显式复制粘贴。
### 继承机制概述
这里我们举一个例子来说明继承机制。定义如下两个配置文件,
`optimizer_cfg.py`:
```python
optimizer = dict(type='SGD', lr=... | Markdown |
geometry.removeDegeneratedTriangles()
geometry.generateNormals()
}
shader = KslPbrShader {
color { vertexColor() }
lightingCfg.imageBasedAmbientLight(ibl.irradianceMap)
reflectionMap = ibl.reflectionMap
roughness(0f)
alph... | Kotlin |
好光景!
</p>
<p>
1951年4月10日
</p>
<p>
来源:《土地改革和改造思想》,光明日报社,1951年6月出版。
</p>
<p>
<a href="index.htm">
[返回索引页面]
</a>
</p>
<hr/>
<p>
<img src="../../../../GFDL-logo-small.png"/>
<br/>
Copyright (C) 2024 Marxist-Leninist-Maoist.
<br/>
Permission is granted to copy, distribute a... | HTML |
- 0.50 0.50 - 1.00 - - vptestnmw (%rax), %ymm1, %k2
# CHECK-NEXT: - - - - - - - 1.00 - - vptestnmw %ymm0, %ymm1, %k2 {%k3}
# CHECK-NEXT: - - - - 0.50 0.50 - 1.00 - - vptestnmw (%rax), %ymm1, %k2 {%k3}
# CHEC... | Assembly |
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>... | HTML |
import numpy as np
import cv2
img = cv2.imread('./opencv/samples/data/aero1.jpg', 0)
img = cv2.line(img, (0,0), (255, 255), (255, 0, 0), 1)
img = cv2.arrowedLine(img, (0,255),(255,255),(255,0,0),10)
img = cv2.rectangle(img, (384,0),(510,128),(0,0,255),-1)
img = cv2.circle(img, (447, 63), 63, (0, 25, 0), -1)
font = cv2... | Python |
Test
public void testEscapeAsBashString() {
assumeThat(File.separatorChar, equalTo('/'));
assertEquals("a", Escaper.escapeAsBashString("a"));
assertEquals("'a b'", Escaper.escapeAsBashString("a b"));
assertEquals("'a'\\''b'", Escaper.escapeAsBashString("a'b"));
assertEquals("'$a'", Escaper.escapeA... | Java |
cos(acos(x))", 0.3875823288, 0.3875823288, 0.0000000001));
QVERIFY(validateEquation("acos(cos(x))", 2.3875823288, 2.3875823288, 0.0000000001));
QVERIFY(validateEquation("asin(sin(x))", 0.7540103248, 0.7540103248, 0.0000000001));
QVERIFY(validateEquation("sin(asin(x))", 0.3875823288, 0.3875823288, 0.0000000001));
... | C++ |
ant; }
.text-secondary, .text-secondary a {
color: #6861CE !important; }
.text-secondary:hover, .text-secondary a:hover {
color: #6861CE !important; }
.text-info, .text-info a {
color: #48ABF7 !important; }
.text-info:hover, .text-info a:hover {
color: #48ABF7 !important; }
.text-success, .text-succe... | CSS |
errer = kTestReferrer;
request->destination = network::mojom::RequestDestination::kDocument;
request->is_outermost_main_frame = true;
request->headers.SetHeader("X-Request-1", "Foo");
base::WeakPtr<MockDelegate> delegate = StartRequest(std::move(request));
// The first destruction callback added by ProcessR... | C++ |
M4 18h5.523v-1H4zm-2 0h1v-1H2z"/></svg>',lowVision:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M5.085 6.22 2.943 4.078a.75.75 0 1 1 1.06-1.06l2.592 2.59A11.094 11.094 0 0 1 10 5.068c4.738 0 8.578 3.101 8.578 5.083 0 1.197-1.401 2.803-3.555 3.887l1.714 1.713a.75.75 0 0 1-.09 1.138.488.488 0 0 1... | JavaScript |
llscalingapi-getscalefactorfordevice">GetScaleFactorForDevice</a> function or the <a href="/uwp/api/Windows.Graphics.Display.DisplayProperties">DisplayProperties</a> class to retrieve the preferred scaling factor. Desktop applications should use desktop logical DPI rather than scale factor. Desktop logical DPI can be r... | Markdown |
هات",
),
SwitchTileWidget2(
title: "السماح بوصول التنبيهات بدقة", isSwitched: false),
const Text(
"قم بتفعيل هذهالخاصية في حالة عدم استلام بعض التنبيهات ستظهر أيقونة منبه في شريط الحالة بشكل دائم",
style: TextStyle(
color:... | Dart |
ncoding with charset $encoding and override = $overrideEncoding"
)
encoding ?: UTF_8
} catch (e: Exception) {
Log.e(TAG, "Failed to detect encoding throwing error")
logError(e)
UTF_8
}
return try {
val set = charset(encodin... | Kotlin |
0f%%", nullptr,
100.0f},
{SettingInfo::Type::String, "CrosshairColor", TRANSLATE_NOOP("GunCon", "Cursor Color"),
TRANSLATE_NOOP("GunCon", "Applies a color to the chosen crosshair images, can be used for multiple players. Specify "
"in HTML/CSS format (e.g. #aabbcc)"),
"#ffffff", n... | C++ |
GetSpriteAdrf8AndClearMem
strb r4, [r0, #Sprite_f8_c]
str r6, [r0, #Sprite_f8_0]
strb r7, [r0, #Sprite_f8_d]
add r2, sp, #0x8
ldrh r1, [r2, #0x10]
strb r1, [r0, #Sprite_f8_e]
mov r1, #0x14
ldsh r1, [r2, r1]
cmp r6, #0x0
strb r1, [r0, #Sprite_f8_f]
ldrh r1, [r2, #0x18]
s... | Assembly |
string = typeField.value;
let newDevice = {"name":devName, "description":devDesc, "state":false, "type":devType}
this.mf.requestPOST("http://localhost:8000/devices/add/",this,newDevice);
}
// Boton de confirmar el nuevo dispositivo
var addConfirmBtn = document.ge... | Typescript |
"TABLE_HASH_KEY" | "HASH_KEY" | "HashKey" => HashKey,
"TABLE_PAT_KEY" | "PAT_KEY" | "PatKey" => PatKey,
"TABLE_DAT_KEY" | "DAT_KEY" | "DatKey" => DatKey,
"KEY_WITH_SIS" | "WithSIS" => KeyWithSIS,
_ => ExtTableFlagType(s.to_owned()),
... | Rust |
using ElectronicObserver.Resource;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ElectronicObserver.Window.Dialog
{
public partial class Di... | C# |
td><a href="Gaizhou" title="Gaizhou">Gaizhou</a></td>
<td><span style="font-size:125%;"><span lang="zh-CN" title="Chinese language text">盖州市</span></span></td>
<td><a href="Liaoning" title="Liaoning">Liaoning</a></td>
<td><a href="Yingkou" title="Yingkou">Yingkou</a></td>
<td>1992-11-03
</td></tr>
... | HTML |
;Tz>::checked_sub_signed</code></a> to get an <code>Option</code> instead.</p>
</div><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.sub_assign-1" class="method trait-impl"><a class="src rightside" href="../src/chrono/datetime/mod.rs.html#1415-1420">source</a><a href="... | HTML |
C3BD4F9B6E (MonoProperty_t * __this, RuntimeObject * ___obj0, int32_t ___invokeAttr1, Binder_t4D5CB06963501D32847C057B57157D6DC49CA759 * ___binder2, ObjectU5BU5D_t3C9242B5C88A48B2A5BD9FDA6CD0024E792AF08A* ___index3, CultureInfo_t345AC6924134F039ED9A11F3E03F8E91B6A3225F * ___culture4, const RuntimeMethod* method)
{
sta... | C++ |
/*
* $QNXLicenseC:
* Copyright 2007, 2008, QNX Software Systems.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You
* may not reproduce, modify or distribute this software except in
* compliance with the License. You may obtain a copy of the License
* at: http://www.apache.org/lic... | C |
_f32_sequence(
this: &WebGl2RenderingContext,
indx: u32,
values: &::wasm_bindgen::JsValue,
);
# [wasm_bindgen (method , structural , js_class = "WebGL2RenderingContext" , js_name = vertexAttribPointer)]
#[doc = "The `vertexAttribPointer()` method."]
#[doc = ""]
#[doc = "[MDN ... | Rust |
return asUINT(registeredTypeDefs.GetLength());
}
// interface
const char *asCScriptEngine::GetTypedefByIndex(asUINT index, int *typeId, const char **nameSpace, const char **configGroup, asDWORD *accessMask) const
{
if( index >= registeredTypeDefs.GetLength() )
return 0;
if( typeId )
*typeId = GetTypeIdFromDat... | C++ |
m-t-30 t-c">
<img src="__PUBLIC__/Common/Images/loading.gif" />
<p>{{:L('common_form_loading_tips')}}</p>
</div>
</div>
<!-- list end -->
</div>
</div>
<!-- right content end -->
<!-- footer start -->
<include file="Public/Footer" />
<!-- footer end -->
<script>
Tree(0, "{{:U('Admin/ArticleClass/Ge... | HTML |
ip-8217511d-56f2-4928-b42b-f2294c27a648" for="icon-button-be7f9ad7-fe31-4c4a-86f7-5321c06a6735" popover="manual" data-direction="s" data-type="label" data-view-component="true" class="sr-only position-absolute">Appearance settings</tool-tip>
<template data-target="react-partial-anchor.template">
<script ... | HTML |
// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2019-present Datadog, Inc.
#include "util.h"
#include "datadog_agent.h"
#include "util.h"
#include <... | C |
/weirdcolumnnames_inputrecords_raw.jsonl"
)
)
val stream =
StreamConfig(
streamId,
ImportType.DEDUPE,
primaryKey,
Optional.of(cursor),
linkedMapOf(
generator.buildColumnId("id1") t... | Kotlin |
ui-icon-circle-arrow-s">I dislike this</button>
</span>
<div class="set">
<button data-icon="ui-icon-circle-plus" title="Add to Watch Later">Add to</button>
<button class="menu" data-icon="ui-icon-triangle-1-s">Add to favorites or playlist</button>
</div>
<button title="Share this video">Share</button>
<button... | HTML |
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 170000 && __IPHONE_OS_VERSION_MAX_ALLOWED < 180000
#import "Xcode_15_0_XCTestCore_CDStructures.h"
#import "Xcode_15_0_SharedHeader.h"
#import <Foundation/Foundation.h>
@class XCTestCase;
//
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-... | C |
ol("_cat_rule")).alias("_cat_rule"),
pl.when(desc.str.contains("electric|water|gas bill|internet|utility|utilities")).then(pl.lit("utilities")).otherwise(pl.col("_cat_rule")).alias("_cat_rule"),
pl.when(desc.str.contains("grocery|grocer|whole foods|trader joe|supermarket")).then(pl.lit("grocerie... | Python |
( dllexport )
# define S7API __stdcall
#else
# define EXPORTSPEC extern "C"
# define S7API
#endif
// Exact length types regardless of platform/processor
// We absolute need of them, all structs have an exact size that
// must be the same across the processor used 32/64 bit
// *Use them* if you change/expand the code ... | C |
#ifndef FLOSSIEC_H
#define FLOSSIEC_H
// When building you can use various defines to change the behaviour
// FLOSSIEC_BORDER=1 Enable border flashing while loading
// FLOSSIEC_NODISPLAY=1 Disable the display while loading
// FLOSSIEC_NOIRQ=1 Disable IRQ during load
// FLOSSIEC_CODE=cseg Code segment to be used... | C |
//
// TZImagePickerController.h
// TZImagePickerController
//
// Created by 谭真 on 15/12/24.
// Copyright © 2015年 谭真. All rights reserved.
//
/*
经过测试,比起xib的方式,把TZAssetCell改用纯代码的方式来写,滑动帧数明显提高了(约提高10帧左右)
最初发现这个问题并修复的是@小鱼周凌宇同学,她的博客地址: http://zhoulingyu.com/
表示感谢~
原来xib确实会导致性能问题啊...大家也要注意了...
*/
#import <UIKi... | C |
code, that does thvle same is here:
// https://github.com/scylladb/scylladb/blob/f014ccf36962135889a84cff15b0478d711b2306/sstables/generation_type.hh#L258-L262
return fmt.Sprintf("%04s_%04s_%05s%013s",
encodeBase36(uint64(days.Hours()/24)),
encodeBase36(uint64(seconds.Seconds())),
// the timestamp of UUID v1 i... | Go |
.xword vfmw_Osal_Func_Ptr_S
.align 3
.LC279:
.xword .LANCHOR1+504
.global _mcount
.align 2
.p2align 3,,7
.global HEVC_SetScalingList
.type HEVC_SetScalingList, %function
HEVC_SetScalingList:
stp x29, x30, [sp, -32]!
add x29, sp, 0
stp x19, x20, [sp, 16]
mov x19, x0
mov x0, x30
bl _mcount
ldr x0, [x19, 281... | Assembly |
or">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../javax/xml/soap/AttachmentPart.html" title="class in javax.xml.soap">AttachmentPart</A></CODE></FONT></TD>
<TD><CODE><B>SOAPMessage.</B><B><A HREF="../../../../javax/xml/soap/SOAPMessage.html#createAttachmentPart(javax.activ... | HTML |
Infernal Flames in Crystal Prison")]
LV_97_99_INFERNAL_FLAMES_IN_CRYSTAL_PRISON = 18001,
[Text("|Lv. 97-99| Infernal Flames in Crystal Prison (In progress)")]
LV_97_99_INFERNAL_FLAMES_IN_CRYSTAL_PRISON_IN_PROGRESS = 18002,
[Text("|Lv. 97-99| Infernal Flames in Crystal Prison (Completed)")]
LV_... | C# |
": 0
},
"customInstancesEnabled": true,
"customInstancesWithExtendedMemoryEnabled": true
}
}
]
}
`)))
mockClient.EXPECT().
NodeTemplatesAPIListNodeTemplates(gomock.Any(), clusterId, &sdk.NodeTemplatesAPIListNodeTemplatesParams{IncludeDefault: lo.ToPtr(true)}).
Return(&http.Response{Statu... | Go |
|如何在电商平台上提高产品的曝光率?|
|金融投资|对于风险投资者来说,哪些因素是决定是否进行投资的关键因素?|
|文化艺术|在当今社会中,文化艺术产业面临哪些挑战和机遇?|
|旅游规划|如果要规划一次完美的自驾游,需要注意哪些方面?|
|科技趋势|未来科技发展的趋势有哪些?|
|健康养生|如何通过饮食调理来提高身体免疫力?|
|教育教学|在教学中,如何培养学生的创造力和创新精神?|
|商业管理|在企业管理中,如何平衡效率和员工工作质量?|
|社交媒体|社交媒体营销中,怎样才能吸引更多的用户参与活动?|
|人工智能|在人工智能领域,有哪些最新的技术应用和研究进展?|
|自然语言处理|请问有哪些目前流行的自然语言处理技术?|
|股票投... | Markdown |
</div>
</div>
{% include "footer.html" %}
<!-- loader -->
<div id="loader" class="show fullscreen"><svg class="circular" width="48px" height="48px">
<circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee... | HTML |
R_PCT, Unpredictable_CounterReservedForEL2, Unpredictable_BRBFILTRATE, Unpredictable_MOPSOVERLAP31, Unpredictable_STOREONLYTAGCHECKEDCAS, Unpredictable_RES_ETBAD, Unpredictable_RESTC }">Unpredictable_CHECKSPNONEACTIVE</a>) then
<a href="shared_pseudocode.html#impl-aarch64.CheckSPAlignment.0" title="func... | HTML |
N_1_6:
case ObjectID.REDWOOD_TREE_FULLYGROWN_1_8:
redwoods.add(gameObject);
break;
case ObjectID.GATHERING_EVENT_RISING_ROOTS:
case ObjectID.GATHERING_EVENT_RISING_ROOTS_SPECIAL:
if (roots.isEmpty())
{
notifier.notify(config.forestryRisingRootsNotification(), "A Rising Roots Forestry even... | Java |
.arch armv7-m
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 1
.eabi_attribute 18, 4
.file "hello.c"
.text
.align 2
.syntax unified
.thumb
.fpu softvfp
.type my_local_func, %fun... | Assembly |
buildStep.inputId} with ddc because some of its
transitive libraries have sdk dependencies that not supported on this platform:
$librariesString
https://github.com/dart-lang/build/blob/master/docs/faq.md#how-can-i-resolve-skipped-compiling-warnings
''');
return;
}
var jsId = module.primarySource.changeExtens... | Dart |
if we were already at beginning
// of buffer, we'd have never gotten to this code
return (newPos);
}
}
/*
@METHOD: TextStore::FindWordBreaks
@DESCRIPTION: <p>NB: *wordEndResult refers to the MARKER (as opposed to character) position after the
end of the word - so for example - the... | C++ |
dProps.description),t.data("placement","top"),KTApp.initPopover(t)):t.hasClass("fc-time-grid-event")?t.find(".fc-title").append('<div class="fc-description">'+e.event.extendedProps.description+"</div>"):0!==t.find(".fc-list-item-title").lenght&&t.find(".fc-list-item-title").append('<div class="fc-description">'+e.event... | JavaScript |
<tt id="link-3826" class="py-name" targets="Method gluon.dal.Expression.__str__()=gluon.dal.Expression-class.html#__str__,Method gluon.dal.Field.__str__()=gluon.dal.Field-class.html#__str__,Method gluon.dal.FieldVirtual.__str__()=gluon.dal.FieldVirtual-class.html#__str__,Method gluon.dal.Query.__str__()=gluon.dal.Query... | HTML |
cn/tools/)
- [dnsdumpster](https://dnsdumpster.com/)
- [chinacycc](https://d.chinacycc.com/)
- [zcjun](http://z.zcjun.com/)
### 权重综合查询
- [爱站](https://www.aizhan.com/seo/)
- [站长工具](http://rank.chinaz.com/all/)

### 全国政府网站基本数据库
- [Address Link](http://114.55.181.2... | Markdown |
local addonName, addon = ...
local L = addon.L
addon.QT = addon.QT or {}; local QT = addon.QT -- Data/QuestTools
addon.CG = addon.CG or {}; local CG = addon.CG -- CurrentGuide
addon.F = addon.F or {}; local F = addon.F -- Frames
addon.QS = addon.QS or {}; local QS = addon.QS -- QuestScan
addon.QL = addon.QL or {}... | Lua |
EXT),
val outputModalities: List<Modality> = listOf(Modality.TEXT),
val abilities: List<ModelAbility> = emptyList(),
val tools: Set<BuiltInTools> = emptySet(),
val providerOverwrite: ProviderSetting? = null,
)
@Serializable
enum class ModelType {
CHAT,
IMAGE,
EMBEDDING,
}
@Serializable
enu... | Kotlin |
/*
* This file Copyright (C) 2007-2014 Mnemosyne LLC
*
* It may be used under the GNU GPL versions 2 or 3
* or any future license endorsed by Mnemosyne LLC.
*
*/
#pragma once
#include <gtk/gtk.h>
GtkWidget* gtr_prefs_dialog_new(GtkWindow* parent, GObject* core);
/* if you add a key here, you /must/ add its
... | C |
require.NoError(t, err)
require.Equal(t, "devID2", mwed.MDMDeviceID)
require.Equal(t, "hwID2", mwed.MDMHardwareID)
require.Equal(t, "ds", mwed.MDMDeviceState)
require.Equal(t, "dn", mwed.MDMDeviceName)
require.Equal(t, "et", mwed.MDMEnrollType)
require.Equal(t, "euid", mwed.MDMEnrollUserID)
require.Equal(t, "e... | Go |
n object
import { Draft } from "immer";
import { ActionDispatch } from "./dispatcher";
import { StateFn } from "./stateFn";
export type ReducerWithoutPayload<S> = (
getState: StateFn<Draft<S>>
) => Draft<S> | Promise<Draft<S>>;
export type ReducerWithoutPayloadWithDispatch<
S,
AD extends ActionDispatc... | Typescript |
Copyright 2019 Samaritan Authors
//
// 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 t... | Go |
var frame =
Frame.parseV8(' at https://example.com/stuff.dart.js:560:28');
expect(frame.uri, equals(Uri.parse('https://example.com/stuff.dart.js')));
expect(frame.line, equals(560));
expect(frame.column, equals(28));
expect(frame.member, equals('<fn>'));
});
test('pa... | Dart |
a class="code hl_struct" href="struct_vma_allocation.html">VmaAllocation</a> alloc;</div>
<div class="line"><a class="code hl_function" href="group__group__alloc.html#ga02a94f25679275851a53e82eacbcfc73">vmaCreateImage</a>(allocator, &imgCreateInfo, &allocCreateInfo, &img, &alloc, <span class="keyword">n... | HTML |
x1, y1, z1);
TileEntityPylonBase second = ((TileEntityPylonBase) te);
switch (TileEntityPylonBase.canConnect(first, second)) {
case 0:
first.addConnection(x, y, z);
second.addConnection(x1, y1, z1);
player.addChatMessage(new ChatComponentText("Wire end"));
break... | Java |
ctl path ctx pointer
* @lm : layer mixer enumeration
* @cfg : blend stage configuration
*/
void (*setup_blendstage)(struct dpu_hw_ctl *ctx,
enum dpu_lm lm, struct dpu_hw_stage_cfg *cfg);
void (*set_active_pipes)(struct dpu_hw_ctl *ctx,
unsigned long *fetch_active);
};
/**
* struct dpu_hw_ct... | C |
/*
* Serial function implementations
*/
#include "serial.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
* Sorting the nodes based on the frequency
* The man frequency is represented by the distinct char count
*/
void sortHuffmanTreeNodes(int a, int distinctCharacterCount, int combinedHuffmanNo... | C |
,0x1
bfc0f030: 00240821 addu at,at,a0
bfc0f034: ac24f290 sw a0,-3440(at)
bfc0f038: 3c010001 lui at,0x1
bfc0f03c: 00250821 addu at,at,a1
bfc0f040: ac25f290 sw a1,-3440(at)
bfc0f044: 3c020001 lui v0,0x1
bfc0f048: 00481021 addu v0,v0,t0
bfc0f04c: 9442f292 lhu v0,-3438(v0)
bfc0f050: 3c050001 lui a1,0x1
bfc0f054: 0... | Assembly |
sElu kemySl4uEpDd8aLVIderj9aYLEd3ZdTw754jfyKWmqvvyfeECw7q8Ed3F4E8GaGOzRwGiLP
aiwvY a+FfXSpXy/XYD7ZD3n7k9qfLd+VbbJ8FXeTJcoDsz94hcjwwevZiP7m7Wn4r87Ggb+X39AM9KOkd ftfBsj+Io7zIU4VI8v
deip/xqHvVAds81CriZ8oYeSmyz5S7iPdrceoMtHCwdbnD19COA6V/cn9M FjLHvAMSV09G/W3WoWXEr3qR/R969NBhRyvEr3118s
vHLU1uQH+O3HCUlisPmdudxJ+OU... | HTML |
"\f2b4"; }
.ion-star:before { content: "\f24e"; }
.ion-stats-bars:before { content: "\f2b5"; }
.ion-steam:before { content: "\f30b"; }
.ion-stop:before { content: "\f24f"; }
.ion-thermometer:before { content: "\f2b6"; }
.ion-thumbsdown:before { content: "\f250"; }
.ion-thumbsup:before { content: "\f251"; }
.io... | CSS |
Button (bool) {}
virtual void getSliderEffect() {}
virtual void getSliderPopupFont() {}
virtual void getSliderPopupPlacement() {}
#endif
};
//==============================================================================
/** @internal */
void paint (Graphics&) override;
... | C |
import numpy as np
import pandas as pd
from sdmetrics.demos import load_demo
from sdmetrics.reports.single_table._properties import Structure
class TestStructure:
def test_get_score(self):
"""Test the ``get_score`` method."""
# Setup
real_data, synthetic_data, metadata = load_demo('single... | Python |
OR137
add x0, x0, :lo12:.LC0
bl printf
.L1235:
mov w0, w19
ldr x19, [sp, 16]
ldp x29, x30, [sp], 32
ret
.size pm_select_ram_region, .-pm_select_ram_region
.section .text.idb_init,"ax",@progbits
.align 2
.global idb_init
.type idb_init, %function
idb_init:
adrp x0, .LANCHOR138
str xzr, [x0, #:lo12:.LANCHOR1... | Assembly |
1.0.0-M01", "1.0.0-RC2", "1.0.0-RC4")
val version = "1.0.0-RC3"
val foundVersion = VersionUtil.findNearestVersionTagsBefore(list, version)
assertEquals("1.0.0-RC2", foundVersion.get())
}
@Test
@Throws(Exception::class)
fun testFindNearestVersionTagsBeforeMC2() {
val list... | Kotlin |
{% static "js/game.js" %}' type="module"></script>
<script src='{% static "js/2fa.js" %}' type="module"></script>
<script src='{% static "js/login.js" %}' type="module"></script>
<script src='{% static "js/register.js" %}' type="module"></script>
<script src='{% static "js/oauth_callback.js" %}' type="module"></script>... | HTML |
}
if checked {
if blocked {
regs.rax = (-libc::EPERM) as libc::c_ulonglong;
ptrace::setregs(pid, regs).unwrap();
log::info!("The deletion of {} has been blocked", &path);
break;
} else {
log::debug!("The... | Rust |
message'],
};
/**
* @param {LH.Audit.Details.SnippetValue['lines']} lines
* @param {number} lineNumber
* @return {{line?: LH.Audit.Details.SnippetValue['lines'][0], previousLine?: LH.Audit.Details.SnippetValue['lines'][0]}}
*/
function getLineAndPreviousLine(lines, lineNumber) {
return {
line: lines.find(l =... | HTML |
"Name",
"No name provided",
1,
0,
"Birthday",
0,
1,
false,
"No present ideas provided",
"1 Test Drive",
true
);
export const birthdayWithYear: Event = new Event(
"1",
"Name",
"No name provided",
1,
0,
"Birthday",
1991,
1,
false,
"No ideas provided",
"No address provided",
true
);
export const fut... | Typescript |
.breadscrumb-contain .search-box-breadscrumb{position:relative;width:70%;margin:0 auto}@media (max-width: 575px){.breadscrumb-section .breadscrumb-contain .search-box-breadscrumb{width:90%}}@media (max-width: 360px){.breadscrumb-section .breadscrumb-contain .search-box-breadscrumb{width:100%}}.breadscrumb-section .bre... | CSS |
(this, feature1, feature2, affinity);
if (!correspondence) RNAbort("Unable to create correspondence");
}
else {
FETCorrespondence *correspondence = new FETCorrespondence(this, feature2, feature1, affinity);
if (!correspondence) RNAbort("Unable to create correspondence");
}
}
}
void FE... | C++ |
g model to ' .. model_save_path)
best_dev_model:save(model_save_path)
-- to load a saved model
-- local loaded = model_class.load(model_save_path) | Lua |
donly int dataCodewords;
public ECB(int count, int dataCodewords)
{
this.count = count;
this.dataCodewords = dataCodewords;
}
public int GetCount() => count;
public int GetDataCodewords() => dataCodewords;
}
} | C# |
petit groupe de Sentinelles pour protéger l\'arbre-oracle des harpies qui ont construit leurs nids tout autour de la clairière. Nous essayons de les repousser petit à petit.$b$bLorsque l\'arbre-oracle a tenté d\'envoyer un messager avec un rapport, il a été attaqué par un groupe de harpies et tué.$b$bSi vous vous sente... | Lua |
125"; }
.icofont-social-photobucket:before {
content: "\f126"; }
.icofont-social-qq:before {
content: "\f127"; }
.icofont-social-renren:before {
content: "\f128"; }
.icofont-social-slack:before {
content: "\f129"; }
.icofont-social-slidshare:before {
content: "\f12a"; }
.icofont-social-snapchat:before {... | CSS |
.toggle('eiti-bar-bar_negative', value < 0);
var x = scale(value, min, max) * 100;
var zero = min < 0 ? scale(0, min, max) * 100 : 0;
var width = Math.abs(x - zero);
if (width > 0) {
bar.style.setProperty('width', (width < EPSILON
? EPSILON
... | JavaScript |
期:1956-0-0 作者:[待确定]
</p>
<h3>
一、情 况:
</h3>
<p>
南京市的资产阶级分子共6408人(缺交通运输业),其中商业资本家3980人,工业资本家2428人。去年全国工商联执委会一届二次会议以前,根据典型调查和分析,全市资产阶级分子中,进步、中间、落后之比数为20、60、20,自传达毛主席在全国工商联执委会上的指示以来,尤其是经过今年1月份的社会主义改造高潮,进步分子大量涌现。据最近对资产阶级上层分子141人的调查,其中核心分子占20%,进步分子占39%,中间分子占36%,落后分子占5%。
</p>
<h3>
二、改造指标:
</h3>
<p>... | HTML |
/* $NetBSD: onewire_subr.c,v 1.6 2007/12/11 12:36:02 lukem Exp $ */
/* $OpenBSD: onewire_subr.c,v 1.1 2006/03/04 16:27:03 grange Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereb... | C |
(rval.height, p.y + 1);
});
}
return rval;
}
public static scaleVector(src: Plane2d, dst: Plane2d): Point2d {
let rval: Point2d = null;
if (Ratchet2d.validPlane(src) && Ratchet2d.validPlane(dst)) {
rval = {
x: dst.width / src.width,
y: dst.height / src.height,
};
... | Typescript |
g_apple: true,
has_img_google: true,
has_img_twitter: true,
has_img_facebook: true
}
},
a: "Woman",
b: "1F469",
j: [
"female",
"girls",
"lady"
],
k: [
20,
9
],
o: 2
},
video_game: {
a: "Video Game",
b: "1F3AE",
j: [
"play",
"console",
"PS4",
"controller"... | JavaScript |
task
st %r15,__THREAD_ksp(%r2) # store kernel stack of prev
l %r15,__THREAD_ksp(%r3) # load kernel stack of next
lctl %c4,%c4,__TASK_pid(%r3) # load pid to control reg. 4
lm %r6,%r15,__SF_GPRS(%r15) # load gprs of next task
st %r3,__LC_CURRENT # store task struct of next
st %r5,__LC_THREAD_INFO # store thre... | Assembly |
#1
bl ToggleBgLayer
ldr r0, [r4, #8]
ldr r1, _022204C8 ; =ov08_02220304
add r2, r4, #0
bl ov08_02212400
add sp, #8
pop {r3, r4, r5, pc}
nop
_022204C0: .word 0xFFFF1FFF
_022204C4: .word 0xFFFFC0FF
_022204C8: .word ov08_02220304
thumb_func_start ov08_022204CC
ov08_022204CC: ; 0x022204CC
push {r4, lr}
add r4, ... | Assembly |
e {
if o == nil {
return nil
}
return o.ErrorType
}
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
import (
"encoding/json"
"fmt"
)
type EditAnswerRequestSourceType string
const (
EditAnswerRequestSourceTypeDocument EditAnswerRequestSourceType = "DOCUMENT"
EditAnsw... | Go |
)
except:
print('No EIS-Data for 100A Current')
try:
hfr_df.to_csv(dir_target + '\hfr.csv', index=False)
except:
pass
try:
eis5a_df.to_csv(dir_target + '\eis_5a.csv', index=False)
except:
pass
try:
eis25a_df.to_csv(dir_target + '\eis_25a.csv', ind... | Python |
(pScr)
ScreenPtr pScr;
{
int x, y;
if (useSWCursor)
return;
miPointerPosition(&x, &y);
if (i128RamdacType == TI3025_DAC)
i128TiMoveCursor(pScr, x, y);
else
i128IBMMoveCursor(pScr, x, y);
}
void
i128WarpCursor(pScr, x, y)
ScreenPtr pScr;
int x, y;
{
if (xf86VTSema... | C |
oparse") == "1" {
err := example.DownloadAccessToken(fmt.Sprintf("http://localhost:14000%s", aurl),
&osin.BasicAuth{"1234", "aabbccdd"}, jr)
if err != nil {
w.Write([]byte(err.Error()))
w.Write([]byte("<br/>"))
}
}
// show json error
if erd, ok := jr["error"]; ok {
w.Write([]byte(fmt.Spri... | Go |
تيلاء على المستثمرين غير المتعلمين. </p>\n\n<p> الواقع لا يمكن أن يكون أكثر اختلافًا. تدرك Monero تمامًا نقاط ضعفها ، وتسعى إلى مواصلة البناء من أجل تحسينها ، وتشديد المفاصل الرخوة ، وتحقيق الهدف الحقيقي للغاية ، ولكن الصعب للغاية المتمثل في منح العالم عملة مشفرة خاصة قابلة للاستبدال يمكن للجميع استخدامها ، و القيام بك... | Dart |
CRASH("crash_change_partition_6") ||
ERROR_INJECT_ERROR("fail_change_partition_6") ||
write_log_final_change_partition(lpt) ||
(action_completed= TRUE, FALSE) ||
ERROR_INJECT_CRASH("crash_change_partition_7") ||
ERROR_INJECT_ERROR("fail_change_partition_7") ||
((!thd->lex... | C++ |
ne_4x4_vs_libc)
#endif
// subroutine
//
// triangular substitution:
// side = right
// uplo = lower
// tran = not-transposed
// requires explicit inverse of diagonal
//
// input arguments:
// x8 <- E
// x9 <- lde
// x10 <- inv_diag_E
//
// output arguments:
// x8 <- E
// x9 <- lde
// x10 <- inv_diag_E
#... | Assembly |
atforms (using VK_PRESENT_MODE_FIFO_KHR)
dispatch_group_t concurrentGroup;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
[NSApp activateIgnoringOtherApps:YES]; // SRS - Make sure app window launches in front of Xcode window
concurrentGroup = dispatch_group_create();
dispatch_queue_t con... | C++ |
rsax));
// log('rsaX:'+typeof(rsaX));
// let data = base64Encode('你好');
// let publicKey = 'dzyyds';
// console.log(typeof (RSA.encode));
// let encryptBase64Data = RSA.encode(data,publicKey);
// log('encryptBase64Data:'+encryptBase64Data);
// let str = RSA.decode(data,publicKey);
// log... | JavaScript |
- `wallet.p2p.dht.excluded_dial_addresses=<addresses>` - Excluded dial addresses
- `wallet.p2p.dht.enable_forwarding=<bool>` - Enable message forwarding
**Store and Forward (SAF) Configuration**:
- `wallet.p2p.dht.saf.msg_validity=<seconds>` - Message validity period (default: 10,800)
- `wallet.p2p.dht.saf.msg_storag... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.