content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
", /* -36 */
"failed to find projection to be rotated", /* -37 */
"failed to load datum shift file", /* -38 */
"both n & m must be spec'd and > 0", /* -39 */
"n <= 0, n > 1 or not specified"... | C++ |
VLayout->addSpacing(20);
centerVLayout->addWidget(subWord);
centerVLayout->addSpacing(20);
centerVLayout->addLayout(flowLayout);
centerVLayout->addStretch(1);
}
T_Home::~T_Home(){
}
#include "Headers/F_SteamUserQuery.h"
#include <QsLog.h>
#include <QFile>
#include <QTextStream>
#include <QRegularExpre... | C++ |
x.decimalPlaces(1) // '1234.6'
x.decimalPlaces(2) // '1234.56'
x.decimalPlaces(10) // '1234.56'
x.decimalPlaces(0, 1) // '1234'
x.decimalPlaces(0, 6) // '1235'
x.decimalPlaces(1, 1) ... | JavaScript |
ufrecht, riesig - VAL",
[174879] = "Stuhl",
[20970] = "Blubbernder Kessel",
[2670] = "Das Sumpfland",
[2702] = "Stein der Inneren Bindung",
[59854] = "Herd",
[174880] = "Stuhl",
[52175] = "Schmiede",
[22250] = "Holzsitz",
[74138] = "Kohlenpfanne",
[174881] = "Stuhl",
[23018] = "Holzstuhl",
[2910... | Lua |
Secs = 60; // 1 minute
late final ValueNotifier<GameState> state = ValueNotifier(GameState.idle)
..addListener(() {
if (state.value != GameState.shooting) {
timeDilation.value = 1.0;
}
});
late final player = Player();
late final aimGuide = AimGuide();
late final background = Backg... | Dart |
FirstOfMonthLabelAlignment : pOwner->m_verticalDayItemAlignment;
}
return pOwner != nullptr;
}
XTHICKNESS CCalendarViewDayItemChrome::GetTextBlockMargin(
bool isLabel) const
{
auto owner = GetOwner();
if (owner)
{
return isLabel ? owner->m_firstOfMonthLabelMargin : owner->m_dayItemMar... | C++ |
�事件影响
此次数据泄露事件对HPE的运营和声誉可能产生深远影响:
- **知识产权盗窃**
:Zerto和iLO等技术的产品源代码泄露,可能导致竞争对手获取HPE的专有解决方案,削弱其市场竞争力。
- **客户信任受损**
:泄露的客户PII和交付记录可能损害HPE在客户中的声誉,导致客户流失或法律纠纷。
- **运营中断风险**
:攻击者通过获取API访问凭证和证书,可能进一步利用漏洞破坏HPE的服务,导致业务中断。
- **潜在后续攻击**
:泄露的API访问凭据和证书可能被用于发起更多攻击,进一步扩大安全风险。
#### 应对建议
为应对此次数据... | Markdown |
ldr x0, [x19, 2344]
mov w1, 1
bl BsGet
str w0, [x20]
mov w1, 1
ldr x0, [x19, 2344]
bl BsGet
str w0, [x20, 4]
ldr x0, [x19, 2344]
bl BsToNextByte
mov w0, 0
.L262:
ldp x19, x20, [sp, 16]
ldp x29, x30, [sp], 32
ret
.p2align 3
.L263:
mov w0, -1
b .L262
.size HEVC_Sei_Temporal_Sub_Layer_Zero_Index, .-HEVC_S... | Assembly |
true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while ascending descending from get group into join let orderby partial select set value var where yield",c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",b:"///|<!--|-->"},{cN:"xmlDocTag",b:"</?",e:">"}]},a.CLCM,a.CBLCLM,{cN:"prep... | JavaScript |
): number { return this.np.imageHeight() }
currentTrackIsAd(): number { return this.np.isAd(); }
currentTrackIsEpisode(): number { return this.np.isEpisode(); }
currentTrackIsTrack(): number { return this.np.isTrack(); }
currentTrackIsVideoAd(): number { return this.np.isVideoAd(); }
}
import Vue, {... | Typescript |
% curve_p
see PDF "Comparing Elliptic Curve Cryptography and RSA on 8-bit CPUs"
section "Curve-Specific Optimizations" */
static void vli_mmod_fast(uint8_t *p_result, uint8_t *p_product)
{
uint8_t l_tmp[2*NUM_ECC_DIGITS];
while(!vli_isZero(p_product + NUM_ECC_DIGITS)) /* While c1 != 0 */
{
... | C++ |
主动与行为准则执行者互动。违反这些条款可能会导致永久封禁。
### 4. 永久封禁
**社区影响**:行为模式表现出违反社区准则,包括持续的不当行为、骚扰个人或攻击或贬低某个类别的个体。
**处理意见**:永久禁止在社区内进行任何形式的公开互动。
## 参见
本行为准则改编自 [Contributor Covenant][homepage] 2.1 版, 参见 [https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1]。
社区处理方针灵感来源于 [Mozilla's code of conduct enforcement la... | Markdown |
vert.base64Decode(
'Ch5QdWd2U2Vhc29uUHJpbWFyeVNlbGxQb2ludFR5cGUSMwovUFVHVl9TRUFTT05fUFJJTUFSWV'
'9TRUxMX1BPSU5UX1RZUEVfVU5TUEVDSUZJRUQQABIuCipQVUdWX1NFQVNPTl9QUklNQVJZX1NF'
'TExfUE9JTlRfVFlQRV9NQU5VQUwQARIsCihQVUdWX1NFQVNPTl9QUklNQVJZX1NFTExfUE9JTl'
'RfVFlQRV9BVVRPEAI=');
@$core.Depreca... | Dart |
, input) {
//console.log('removing ', $(input).val());
bod.removeClass('config-' + prefix + '-' + $(input).val() );
});
// select this one
bod.addClass( 'config-' + prefix + '-' + $(this).val() );
});
configBlock.append($('<div id="font-slider"></div>')... | JavaScript |
&featureOptions13, sizeof(featureOptions13)))) {
info.supportsTextureCopyBetweenDimensions =
featureOptions13.TextureCopyBetweenDimensionsSupported;
info.supportsUnrestrictedBufferTextureCopyPitch =
featureOptions13.UnrestrictedBufferTextureCopyPitchSupported;
}
info.su... | C++ |
: T, max: T) -> T {
if value > max {
max
} else {
value
}
}
#[cfg(test)]
mod test {
use super::{Gradient, Range};
use crate::LinSrgb;
#[test]
fn range_clamp() {
let range: Range<f64> = (0.0..1.0).into();
assert_relative_eq!(range.clamp(-1.0), 0.0);
a... | Rust |
}
else if (angle >= 0.0 && angle <= 0.7853981633974483) {
TextureOpKaleidoscope.x0 = Texture.width - x;
TextureOpKaleidoscope.y0 = Texture.height - y;
}
else if (angle >= 0.7853981633974483 && angle <= 1.5707963267948966) {
TextureOpKaleidoscope.x0 = Textur... | JavaScript |
tCamera::InputSetOff( inputdata_t &inputdata )
{
m_bIsOn = false;
SetActive( false );
}
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
void CPointCamera::InputForceActive( inputdata_t &inputd... | C++ |
tKey + ":AspBackend/Controllers/WeatherForecastController.cs"),
tuple("csharpsquid:S6966", context.projectKey + ":AspBackend/Program.cs"),
tuple("typescript:S3626", context.projectKey + ":src/components/HelloWorld.vue"),
tuple("javascript:S3358", context.projectKey + ":vite.config.js"),
tuple("j... | Java |
、チェックアウトできます [星空観察ページ](https://github.com/mazipan/hello-open-source/stargazers)
- 従わなければならない github [@mazipan](https://github.com/mazipan)
- 確認します PR,そして意志 **プラス `invalid` ラベル** そして **閉じる PRs** 手順に従わない
- 我会检查您的 PR,然后我会 **プラス `invalid` ラベル** そして **閉じる PRs** リストされている手順に従うことに加えて
- 楽しんで、オープンソースの世界へようこそ。
- 覚えておいてください:品質は最初... | Markdown |
}
func (p *protoConverter) addTag(f *ast.Field, body string) {
tag := "@protobuf(" + body + ")"
f.Attrs = append(f.Attrs, &ast.Attribute{Text: tag})
}
func (p *protoConverter) topElement(v proto.Visitee) {
switch x := v.(type) {
case *proto.Syntax:
p.proto3 = x.Value == "proto3"
case *proto.Comment:
addComm... | Go |
TABLE_SUCCESS or errors
*/
hash_error_t hashtable_getref(hash_table_t *ht, struct gsh_buffdesc *key,
struct gsh_buffdesc *val,
void (*get_ref)(struct gsh_buffdesc *))
{
/* structure to hold retained state */
struct hash_latch latch;
/* Stored return code */
hash_error_t rc = 0;
rc = hashtable_g... | C |
ense for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
using JetBrains.Annotations;
using Remora.Discord.API.Abstractions.Gateway.Events;
using Remora.Rest.Core;
namespace Remora.Discord.API.Ga... | C# |
]" data-index="11"></td></tr></tbody></table><p dir="ltr"><br dir="ltr"></p><p dir="ltr"><br></p><p dir="ltr"><span dir="ltr" style="color: rgb(0, 0, 0); font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 13px; font-weight: 400; tex... | HTML |
((lightbar.rect.size.width > lightbar.rect.size.height) ?
(lightbar.rect.size.width) : (lightbar.rect.size.height));
}
void rm::setLightbar(Lightbar& lightbar, const std::vector<cv::Point>& contour) {
lightbar.contour = contour;
setLightbarRotatedRect(lightbar);
setLigntbarAngleRec... | C++ |
SC 11₃₉₅, TC 12₄₉₇.
'1x3t9n3x,'
// #1142: 4 fonts: HK 23₅₀, JP 11₁₄₇, KR 67₃₂₇, TC 13₄₉₈.
'1y3s6x6o,'
// #1143: 4 fonts: HK 23₅₀, JP 11₁₄₇, SC 13₃₉₇, TC 14₄₉₉.
'1y3s9p3x,'
// #1144: 5 fonts: HK 23₅₀, JP 12₁₄₈, KR 67₃₂₇, SC 13₃₉₇, TC 14₄₉₉.
'1y3t6w2r3x,'
// #1145: 1 font: HK 25₅₂.
'2a... | Dart |
theweek-progressive',
content: 'unknown',
type: 'standard',
};
</script>
<script>
const headElement = document.querySelectorAll('head')[0];
const BORDEAUX_QUERY_PARAM = 'hybrid_bordeaux_version';
const CHAMPAGNE_QUERY_PARAM = 'hybrid_champagne_version';
const bordeauxScriptTag = document.createElement('script');
bordea... | HTML |
string(), Box::new(hello));
handlers.insert("echo".to_string(), Box::new(echo));
let mut server = jsonrpc::server::listen("127.0.0.1:5000", handlers).await?;
server.run().await?;
Ok(())
}
fn hello(_: Option<&jsonrpc::Params>) -> Result<Option<Value>, jsonrpc::message::Error> {
Ok(Some(json!("Hell... | Rust |
"copy" syntaxes will work:
```dart
Company company;
company = company.copyWith(name: 'Google', director: Director(...));
company = company.copyWith.director(name: 'Larry', assistant: Assistant(...));
company = company.copyWith.director.assistant(name: 'John', age: 42);
```
**Null consideration**
Some objects may a... | Dart |
show how to get started with recent search & filtered stream endpoints on the #TwitterAPI v2, the new Tweet payload, annotations, & more. https://t.co/IraD2Z7wEg"
},
{
"id": "1338923691497959425",
"text": "📈 Live now with @jessicagarson and @i_am_daniele! https://t.co/Y1AFzsTTxb"... | Go |
AXUIElementRef)(id element);
typedef const struct __CFURLStorageSession* CFURLStorageSessionRef;
extern CFURLStorageSessionRef (*wkCreatePrivateStorageSession)(CFStringRef);
extern NSURLRequest* (*wkCopyRequestWithStorageSession)(CFURLStorageSessionRef, NSURLRequest*);
typedef struct OpaqueCFHTTPCookieStorage* CFHTTP... | C |
haustiveTyped(A<num> a) => switch (a) {
A<int>(:void Function(int) member) => 0,
A<num>(:void Function(num) member) => 1,
};
unreachable(A<num> a) => switch (a) {
A<num>(:var member) => 1,
A<int>(:var member) => 0,
};
nonExhaustiveRestricted(A<num> a) => switch (a) {
A<num>(:void... | Dart |
"progress" => Deserialize<ProgressEventArgs>(eventArgsJson),
"touch" => Deserialize<TouchEventArgs>(eventArgsJson),
"unknown" => EventArgs.Empty,
"wheel" => Deserialize<WheelEventArgs>(eventArgsJson),
_ => throw new InvalidOperation... | C# |
_CheckState(res);
if (_v) {
void *vptr = 0;
int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_FIX__DataDictionary, SWIG_POINTER_NO_NULL);
_v = SWIG_CheckState(res);
if (_v) {
return _wrap_new_Message__SWIG_5(nargs, args, self);
}
}
}
if (argc == 2) {
int _v = 0;
... | C++ |
streams[0], streams[1], app.create_initialization_options()
)
finally:
auth_token_context.reset(token)
return Response()
# Set up StreamableHTTP transport
session_manager = StreamableHTTPSessionManager(
app=app,
event_store=None, # Sta... | Python |
>
<tr>
<td><a href="sel-parent-descendant.html">parent descendant</a></td>
<td>$("div p")</td>
<td><div> 元素的后代的所有 <p> 元素</td>
</tr>
<tr>
<td><a href="sel-previous-next.html">element + next</a></td>
<td>$("div + p")</td>
<td>每个 <div> 元素相邻的下一个 <p> 元素</td>
</tr>
<tr>
<td><a href="sel-previous-sibli... | HTML |
8, U+cc44, U+cca0, U+cd1d, U+cd95, U+cda9, U+ce5c, U+cf00, U+cf58, U+d150, U+d22c, U+d305, U+d328, U+d37c, U+d3f0, U+d551, U+d5a5, U+d5c8, U+d5d8, U+d63c, U+d64d, U+d669, U+d734, U+d76c;
}
/* [116] (Noto Sans KR) */
@font-face {
font-family: 'Noto Sans KR';
font-style: normal;
font-weight: 300;
src: url(/fonts... | CSS |
_params);
IEnumerator CoroutineCall (CQ_Content content, object object_this, string func, CQ_Value[] _params, UnityEngine.MonoBehaviour coroutin);
CQ_Value MemberCall (CQ_Content content, object object_this, string func, CQ_Value[] _params, MethodCache cache);
CQ_Value MemberCallCache (CQ_Conte... | C# |
/main.dart::topLevelMethod4.topLevelMethod4_closure.call"
},
{
"id": "closure/memory:sdk/tests/web/native/main.dart::topLevelMethod4.topLevelMethod4_local",
"kind": "closure",
"name": "topLevelMethod4_local",
"size": 321,
"outputUnit": "outputUnit/main",
"parent": "function/memory:sdk/tests/web/native/mai... | Dart |
RIMARY
};
let instance = wgpu::Instance::new(backend);
let surface = unsafe { instance.create_surface(window) };
let power_pref = if let Ok(pref) = std::env::var("WGPU_POWER_PREF") {
match pref.to_lowercase().as_str() {
"low" => wgpu::PowerPreference::LowPower... | Rust |
ue);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return (Builder) super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message oth... | Java |
des': launchOverrides,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/startapp',
exceptionFnMap: _exceptionFns,
);
return StartAppOutput.fromJson(response);
}
/// Starts the simulation clock.
///
/// May throw [ResourceNotFound... | Dart |
import random
import pytest
from thinc.api import (
Adam,
HashEmbed,
Model,
Relu,
Softmax,
chain,
expand_window,
strings2arrays,
with_array,
)
@pytest.fixture(scope="module")
def ancora():
pytest.importorskip("ml_datasets")
import ml_datasets
return ml_datasets.ud_an... | Python |
)
{
}
public override void BuildPacket()
{
this.PushIntoStack(abilityList.Count);
foreach (AbilityInfo abilityInfo in abilityList)
{
DataStruct dsItem = new DataStruct();
dsItem.PushIntoStack(abilityInfo.AbilityID);
... | C# |
165.6
L 345.6 129.6
" clip-path=url(#p5287c560c3) style="fill: none"/><path d="M 446.4 129.6
L 547.2 129.6
L 547.2 165.6
L 446.4 165.6
L 446.4 129.6
" clip-path=url(#p5287c560c3) style="fill: none"/><path d="M 144 165.6
L 244.8 165.6
L 244.8 201.6
L 144 201.6
L 144 165.6
" clip-path=url(#p5287c560c3) style... | HTML |
EQ( CLFFT_SUCCESS, clfftSetPlanDistance( test_plan, 8*16, 8*16 ) );
size_t clStrides[ ] = { 1, 8 };
ASSERT_EQ( CLFFT_SUCCESS, clfftSetPlanInStride( test_plan, CLFFT_2D, clStrides ) );
ASSERT_EQ( CLFFT_SUCCESS, clfftSetPlanOutStride( test_plan, CLFFT_2D, clStrides ) );
// TODO need to have created context by now; ... | C++ |
choices=["json", "text"],
default="json",
help="Output format (default: json)"
)
parser.add_argument(
"-v",
"--verbose",
action="store_true",
help="Enable verbose output"
)
return parser.parse_args()
#
# OMG... finally... it begins!
#
args = parse_... | Python |
tItem = parentItem
}
translateFunc = append(translateFunc, splitTranslationComment(line))
} else if strings.Contains(line, "_set_buddy(") {
setBuddy = append(setBuddy, line)
} else if strings.Contains(line, "_set_current_row(") {
setCurrentRow = append(setCurrentRow, line)
} else if strings.Contains(l... | Go |
('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#nested_class... | HTML |
},
},
},
},
},
want1: []corev1.VolumeMount{
{
Name: "s1-1614",
MountPath: "/pkg/mounts/volumes1",
},
{
Name: "s2-1229",
MountPath: "/pkg/mounts/volumes2",
},
},
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got,... | Go |
.L34
ALIGN_2
.L33:
#ifdef LN
movl K, %eax
sall $ZBASE_SHIFT, %eax
addl %eax, STACK_B
#endif
#if defined(LT) || defined(RN)
movl B, STACK_B
#endif
#ifdef RN
addl $1, KK
#endif
#ifdef RT
subl $1, KK
#endif
decl STACK_N
jg .L30
ALIGN_2
.L29:
popl %ebx
popl %esi
popl %edi
popl %ebp
addl $ARGS, %esp
ret... | Assembly |
, tem_max, f'{tem_max}℃', ha='center', va='bottom')
plt.text(tem_min_date + 1, tem_min, f'{tem_min}℃', ha='center', va='top')
plt.xticks(x, date, rotation=45) # 显示日期标签
plt.legend()
plt.title('未来14天高低温变化曲线图')
plt.xlabel('日期')
plt.ylabel('摄氏度/℃')
plt.grid(True, linestyle='--', alpha=0.7)
... | Markdown |
font-weight-light font-italic returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">T</span></td>
<td><p>Map created by c... | HTML |
= 'newline-before-return';
static const _warning = 'Missing blank line before return.';
NewlineBeforeReturnRule([Map<String, Object> config = const {}])
: super(
id: ruleId,
severity: readSeverity(config, Severity.style),
excludes: readExcludes(config),
includes: rea... | Dart |
.isOpaque = true //content panes must be opaque
frame.contentPane = newContentPane
//Display the window.
//}
}
val VPK_GAME_FILES = hashSetOf<File>()
val statusLabel = JLabel(Texts.format("STEP_STARTED"))
override fun updateStatus(status: String) {
//println(status)
SwingUtilities.invokeLater {
st... | Kotlin |
3860;--scarletRed-300: #e81c4f;--scarletRed-400: #fc0c18;--scarletRed-500: #d1002a;--scarletRed-600: #ff0033;--scarletRed-700: #c92828;--blueViolet-50: #4f6cee;--blueViolet-100: #485fc7;--blueViolet-200: #3b5998;--blueViolet-300: #004fff;--blueViolet-400: #071636;--blueViolet-500: #040d21;--blueViolet-550: #002238;--bl... | HTML |
3, trapped to EL3.
</li><li><a href="AArch64-cptr_el3.html">CPTR_EL3</a>.ESM, for MSR or MRS accesses to <a href="AArch64-smprimap_el2.html">SMPRIMAP_EL2</a> at EL2 and EL3, trapped to EL3.
</li><li><a href="AArch64-sctlr_el1.html">SCTLR_EL1</a>.EnTP2, for MSR or MRS accesses to <a href="AArch64-tpidr2_el0.html">TPIDR2... | HTML |
is_unimplemented /* rfstop 77 */
.word solaris_unimplemented /* rfsys 78 */
.word CHAIN(rmdir) /* rmdir s 79 */
.word CHAIN(mkdir) /* mkdir so 80 */
.word CHAIN(getdents) /* getdents dxd 81 */
.word solaris_unimplemented /* libattach 82 */
.word solaris_unimplemented /* libdetach 83 */
.word CHAIN(sysfs) ... | Assembly |
print('------------ IMC -------------')
print('Entre 18.5 e 24.99 = Peso Normal')
print('Entre 25.00 e 29.99 = Sobrepeso I')
print('Entre 30.00 e 39.99 = Obesidade II')
print('Acima de 40.00 = Obesidade Grave III')
nome = input('Insira o seu nome: ')
peso = float(input('Insira o seu peso: '))
alt = float(input('Insira ... | Python |
lcw== 34948
IH19 34949
IENoYWlucw== 34950
IDI0Ng== 34951
bm9i 34952
IHBlcmNlcHQ= 34953
IGdyaXQ= 34954
IGZpc2hlcm1lbg== 34955
IElyYXFpcw== 34956
IERJU1RS 34957
IEZVTEw= 34958
IEV2YWx1YXRpb24= 34959
Z3JhcGg= 34960
YXRpYWw= 34961
IGNvb3BlcmF0aW5n 34962
IG1lbGFu 34963
IGVubGlnaHRlbmVk 34964
IGFsaQ== 34965
dGFpbGVk 34966
IH... | Kotlin |
e = (DateTimeAccessor)value;
return this == date;
}
return false;
}
/// <summary>
/// Returns the hash code for this instance.
/// </summary>
/// <returns>A 32-bit signed integer hash code.</returns>
public override int GetHashCod... | C# |
Page"], "accepts": ["string"], "members": [{"name": "CURRENT", "value": "CURRENT"}, {"name": "ACTIVE", "value": "CURRENT"}, {"name": "ALL", "value": "ALL"}, {"name": "ANY", "value": "ALL"}]}, {"type": "Enum", "name": "SizeFields", "doc": "<p>Enum that defines how the returned size is filtered.</p>\n<p><code>ALL</code>... | HTML |
elationshipReferenceError()
}
};
let types: string[] = [];
Object.keys(models).forEach((key: string) => {
const m = models[key];
if (m.type === undefined) {
m.type = key;
}
if (types.indexOf(m.type) >= 0) {
throw new TypeConflictError();
}
types... | Typescript |
prototype.setData(Object%20data,%20Function%20callback)) 第二个参数一样,引起界面更新渲染完毕后的回调函数
### `updataInit(Page, config)`
1. `Page`: 页面对象,需要在 `app.js` 中调用;
2. `config` 配置
- 配置参数 `{ debug: true }`,会将路径化后的 data 打印出来,帮助用户进行调试,默认 false 不开启;
- 配置参数 `{ arrObjPath: true }`,会开启数组的对象路径方式功能,默认 false 不开启;
- 配置参数 `{ arrCover: tr... | Markdown |
= IExpressApiRequest<TBody, TResponse, TParams, TQuery>
export type IGetRequest<TResponse, TParams, TQuery> = IExpressApiRequest<void, TResponse, TParams, TQuery>
export interface ISimpleResponse {
name: string
}
interface IComplexResponse {
age: number
extra: IExtra[]
}
interface IExtra {
}
@api.controlle... | Typescript |
terrain: Terrain,
pub mob_id: Option<MobId>,
}
#[derive(PartialEq, Eq, Debug, Copy, Clone, Serialize, Deserialize)]
pub enum Terrain {
Wall,
Floor,
ShortGrass,
TallGrass,
Brownberry,
Exit,
Entrance,
Water,
}
#[derive(Serialize, Deserialize, PartialEq, Eq)]
pub enum TileView {
V... | Rust |
otName);
}
return slotIndex;
}
Animation *SkeletonJson::readAnimation(Json *root, SkeletonData *skeletonData) {
Vector<Timeline *> timelines;
Json *bones = Json::getItem(root, "bones");
Json *slots = Json::getItem(root, "slots");
Json *ik = Json::getItem(root, "ik");
Json *transform = Json::getItem(root, "trans... | C++ |
// PR c++/43906
// { dg-options "-Waddress -pedantic" }
extern void z();
typedef void (*ptrf) ();
typedef int (*ptrfn) (int);
int n;
const int m = 1;
struct S { };
struct T : S { };
struct U;
S s;
T t;
double d;
void f() { if (z) z(); } // { dg-warning "17:address" }
void gl() { if (z != 0) z(); } ... | C |
point</p>
</dd>
<dt><kbd><span class="option">--certfile <var>string</var></span></kbd></dt>
<dd><p>Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint</p>
</dd>
<dt><kbd><span class="option">--clientauth</span></kbd></dt>
<dd><p>Use mutual TLS when communic... | HTML |
<code>50</code> and the maximum value is <code>100</code>.</p>
*/
MaxRecords?: number;
}
export namespace DescribeInstanceRefreshesType {
/**
* @internal
*/
export const filterSensitiveLog = (obj: DescribeInstanceRefreshesType): any => ({
...obj,
});
}
export interface LaunchConfigura... | Typescript |
al, 2023; Chen et al, 2023;b)를 생성하기 위해** 트랜스포머 기반 디퓨전모델** 레센트는 확산 모델에 변압기를 적용하여 잠재 확산 설정(Ramesach et al., 2023; Bao et al., 2023; Bao et al, 2023; Bao et al, 2023; Chen et al., 2023; Chen et al, 2023; Chen et al, 2023)에서 압축된 이미지 래치들)을 생성하기 위해 확산 모델에 형질전환체를 적용했으며, Bao et al, 2023, Bao et al, 2023; Chen et al, 2023; Che... | HTML |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using HUX.Dialogs;
using HUX.Focus;
using HUX.Interaction;
using HUX.Receivers;
using UnityEngine;
namespace MRDL
{
public class StartupScreen : GameScreen... | C# |
nt());
var item = data.Where(t => t._id == "626294206563254273").FirstOrDefault();
Assert.AreEqual("626294206563254273", item._id);
Assert.AreEqual(DateTime.ParseExact("Wed Jul 29 07:32:29 +0000 2015", "ddd MMM dd HH:mm:ss zzz yyyy", CultureInfo.InvariantCulture), item.CreationDateT... | C# |
await getTemperature('60630');
expect(temp).toEqual('55')
expect(axios.get).toBeCalledWith("http://api.openweathermap.org/data/2.5/weather", {"params": {"appid": process.env.REACT_APP_OPENWEATHER_API_KEY, "units": "imperial", "zip": "60630"}});
});
it("returns 404 status for invalid request", async () => ... | Typescript |
></div>
<div class="wpforms-container one-line save-recipe wpforms-location-save_recipe_wprm wpforms-render-modern" id="wpforms-92485"><form id="wpforms-form-92485" class="wpforms-validate wpforms-form wpforms-ajax-form" data-formid="92485" method="post" enctype="multipart/form-data" action="/easy-vegetable-stir... | HTML |
9Yv5gu_yK4GGsA60IafJ3N9We4ubabgZ4lsl4kd0zqcH7JC70UsQ951Ndur4ejSIz7VvroBJn4g","2014-01-01","2015-01-30");
if(msgInfoList!=null&&msgInfoList.size()>0){
for (WxDataCubeStreamMsgMonthInfo wxDataCubeStreamMsgInfo : msgInfoList) {
System.out.println(wxDataCubeStreamMsgInfo.getMsg_count());
System.out.printl... | Java |
});
Expect.type<Set<num>>({
...[1],
...[0.2],
});
Expect.type<Set<num>>({
...{1},
...[0.2],
});
Expect.type<Set<num>>({
...{1},
...{0.2},
});
// If the iterable's type is dynamic, the element type is inferred as dynamic.
Expect.type<List<dynamic>>([...([] as dynamic)]);
Expect... | Dart |
sh", "fish"];
const FUNC_POSSIBLE_VALUES: &[&str] = &["url::open", "welcome", "widget::last_command", "map::expand"];
const INFO_POSSIBLE_VALUES: &[&str] = &["cheats-example", "cheats-path", "config-path", "config-example"];
impl FromStr for Shell {
type Err = &'static str;
fn from_str(s: &str) -> Result<Self... | Rust |
// if (score !== 0) {
return {
animate: {
appear: {
animation: 'label-appear',
delay: 0,
duration: 1000,
easing: 'easeLinear'
},
update: {
animation: '... | HTML |
irstValue | BuiltInWindowFunction::LastValue => {
Signature::any(1, Volatility::Immutable)
}
BuiltInWindowFunction::Ntile => {
Signature::exact(vec![DataType::UInt64], Volatility::Immutable)
}
BuiltInWindowFunction::NthValue => Signature::any(2, Volatility::Immuta... | Rust |
../trait.Entity.html) extended interface.
///
/// Rather than add a non-standard member to the [`Document`](../trait.Document.html) trait
/// this function takes a `Document` as the first parameter.
///
pub fn create_notation(
owner_document: RefNode,
notation_name: &str,
public_id: Option<&str>,
system... | Rust |
imitations
* under the License.
*/
using System.Collections.Generic;
using Newtonsoft.Json;
using Aliyun.Acs.Core;
namespace Aliyun.Acs.live.Model.V20161101
{
public class AddCasterProgramResponse : AcsResponse
{
private string requestId;
private List<AddCasterProgram_EpisodeId> episodeIds;
public string ... | C# |
nk IProtocol.replyData IProtocol.replyData()} method.
*
* <a href="http://samchon.github.io/framework/images/design/ts_class_diagram/protocol_basic_components.png"
* target="_blank">
* <img src="http://samchon.github.io/framework/images/design/ts_class_diagram/protocol_basic_components.png"
* style="max... | Typescript |
}
}
reorder(int oldIndex, int newIndex) {
if (oldIndex < newIndex) {
newIndex -= 1;
}
if (oldIndex < 0 || oldIndex >= visibleEnabledOrderedIndexs.length) {
return;
}
if (newIndex < 0 || newIndex >= visibleEnabledOrderedIndexs.length) {
return;
}
final oldTabValue ... | Dart |
㎵; ㎵; ㎵; nV; nV; ) SQUARE NV
33B6;33B6;33B6;03BC 0056;03BC 0056; # (㎶; ㎶; ㎶; μV; μV; ) SQUARE MU V
33B7;33B7;33B7;006D 0056;006D 0056; # (㎷; ㎷; ㎷; mV; mV; ) SQUARE MV
33B8;33B8;33B8;006B 0056;006B 0056; # (㎸; ㎸; ㎸; kV; kV; ) SQUARE KV
33B9;33B9;33B9;004D 0056;004D 0056; # (㎹; ㎹; ㎹; MV; MV; ) SQUARE MV MEGA
33BA;33BA;33... | Kotlin |
n_0WX.upperCase-Hsmn_0WX{text-transform:uppercase}.symbolType-Hsmn_0WX{max-width:180px}.spinnerWrap-Hsmn_0WX{height:100%;position:relative;width:100%}.emptyText-Hsmn_0WX{color:#131722;font-size:16px;line-height:24px;margin:0 20px;text-align:center}html.theme-dark .emptyText-Hsmn_0WX{color:#b2b5be}.noResultsDesktop-Hsmn... | CSS |
04))
- *(exit)* Add "Rsvim.rt.exit()" API to quit editor process (#619) ([1e5eeb0c](https://github.com/rsvim/rsvim/commit/1e5eeb0c7cbb0f471ee1ad422cd1f3dd8612b272)) by @linrongbin16 ([#619](https://github.com/rsvim/rsvim/pull/619))
- *(exit)* No longer press "ESC" to quit editor (#621) ([81c1e92f](https://github.com/... | Markdown |
headers) return false
if (connectionSecurity != other.connectionSecurity) return false
if (rawExchange != other.rawExchange) return false
if (payloadExchanges != other.payloadExchanges) return false
if (requestData != other.requestData) return false
if (closeReason != other.close... | Kotlin |
new Int64(-3), new Int64(3333));
expect(new Int64(100) * Int64.ZERO, Int64.ZERO);
expect(new Int64.fromInts(0x12345678, 0x12345678) *
new Int64.fromInts(0x1234, 0x12345678),
new Int64.fromInts(0x7ff63f7c, 0x1df4d840));
expect(new Int64.fromInts(0xf2345678, 0x12345678) *
... | Dart |
.test7 { font-family: test7, testbackup; }
@font-face { font-family: test8; src: local("Arial Black Κανονικά"); }
.test8 { font-family: test8, testbackup; }
@font-face { font-family: test9; src: local("Arial Corsivo"); }
.test9 { font-family: test9, testbackup; }
@font-face { font-family: test10; src: local("Arial Cur... | HTML |
config.Clusters[0].SSLEnabled)
})
t.Run("Registering a SASL cluster with SSL", func(t *testing.T) {
// given
config := New(&InMemoryConfigIO{})
// when
config.RegisterCluster(RegistrationDetails{
Name: "prd",
Color: "#880808",
Host: "localhost:9092",
AuthMetho... | Go |
the returned string. Before the formatting,
// a couple of preparatory steps are carried out. The message attribute of
// the record is computed using LogRecord.GetMessage(). If the formatting
// string uses the time, FormatTime() is called to format the event time.
func (self *StandardFormatter) Format(record *LogRec... | Go |
wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh... | Markdown |
Repository: ITarifasRepository,
) {}
public async execute({
id,
origem,
destino,
custo,
}: IRequest): Promise<Tarifa> {
if (origem === destino) {
throw new AppError(
'Não é possível atualizar uma tarifa com origem e destino iguais',
);
}
const tarifa = await this.... | Typescript |
cket is to be forwarded, 0 if it is to be dropped
*/
int rpl_process_hbh(rpl_nbr_t *sender, uint16_t sender_rank, int loop_detected, int rank_error_signaled);
/**
* Processes incoming DIS
*
* \param from The IPv6 address of the originator
* \param is_multicast Set to 1 for multicast DIS, 0 for unicast DIS
*/
void ... | C |
ose Transfer, IEEE T-IP 2020 - [Paper](https://ieeexplore.ieee.org/abstract/document/9222550)
- Pose-Guided High-Resolution Appearance Transfer via Progressive Training - [Paper](https://arxiv.org/pdf/2008.11898.pdf)
- Recapture as You Want - [Paper](https://arxiv.org/pdf/2006.01435.pdf)
- Generating Person Images with... | Markdown |
2.765 0 5.004-2.299 5.004-5.132 0-2.833-2.239-5.132-5.004-5.132zm-5.004 0v-8.799h-8.581V.19H6.582v10.292H0v8.799h6.582v5.132a24.422 24.422 0 0 0 6.913 17.109l7.075-7.257a14.073 14.073 0 0 1-3.978-9.85V19.28h8.581z"/></symbol><symbol viewBox="0 0 18 18" id="s-loupe" xmlns="http://www.w3.org/2000/svg"><path d="M12.502 1... | HTML |
data = function(){
progress.max = song.duration;
progress.value = song.currentTime;
}
function playPause(){
if(ctrlIcon.classList.contains('fa-pause')){
song.pause();
ctrlIcon.classList.remove('fa-pause');
ctrlIcon.classList.add('fa-play');
}
... | HTML |
access to all sessions.
// This should cause all the other allow rules' conditions to be dropped.
role = allowWhere(``)
set = append(set, role)
cond, err = set.ExtractConditionForIdentifier(&Context{}, apidefaults.Namespace, types.KindSession, types.VerbList, SessionIdentifier)
require.NoError(t, err)
require.E... | Go |
LevelDesign)
* 1.7.1. [Flow description:](#Flowdescription:)
* 1.7.2. [Password Hardening Constrains](#PasswordHardeningConstrains)
* 1.8. [Init Flow](#InitFlow)
* 1.8.1. [Compilation](#Compilation)
* 1.8.2. [dependencies](#dependencies)
* 1.8.3. [Feature default](#Featuredefault)
* 1.9. [SAI API](#SAIAPI)
... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.