content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
e LICENSE file.
import 'dart:async';
void voidValue = null;
void main() {
test0();
test1();
test2();
test3();
test4();
test5();
test6();
}
// Testing that a block bodied async function may have an empty return
void test0() async {
return;
}
// Testing that a block bodied async function may have no ... | Dart |
x=1&sn=d3612bcdf320efdc783e5740d519c69d&scene=21#wechat_redirect)
[](https://mp.weixin.qq.com/s?__biz=MzAxNDY2MTQ2OQ==&mid=2650990591&idx=1&sn=a1f162313bc06603add4797b30daeba3&scene=21#wechat_redirect)
[](https://mp.weixin.qq.com/s?__biz=MzAxNDY2MTQ2OQ==&mid=2650990418&idx=1&sn=405bbaf00d5b589ebc3756c200afd631&scen... | Markdown |
_GiftCard_Pay_Done 属性" tocid="Properties_T_Senparc_Weixin_MP_Entities_RequestMessageEvent_GiftCard_Pay_Done">RequestMessageEvent_GiftCard_Pay_Done 属性</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="../html/Methods_T_Senparc_Weixin_MP_Entities_RequestMessageEvent_GiftCard_Pa... | HTML |
github.io/webaudio-examples/violent-theremin/), eine einfache Webanwendung, die es Ihnen ermöglicht, Tonhöhe und Lautstärke durch Bewegen Ihres Mauszeigers zu ändern. Es bietet auch eine psychedelische Lightshow ([siehe Violent Theremin Quellcode](https://github.com/mdn/webaudio-examples/tree/main/violent-theremin)).
... | Markdown |
as voided
/// </summary>
/// <param name="order">Order</param>
/// <returns>A value indicating whether order can be marked as voided</returns>
public virtual bool CanVoidOffline(Order order)
{
if (order == null)
throw new ArgumentNullException("order")... | C# |
n',
F0FFFF: 'Svak asurblå',
F0F8FF: 'Svak cyan',
E6E6FA: 'Lavendel',
FFF: 'Hvit',
'1ABC9C': 'Sterk cyan',
'2ECC71': 'Smaragd',
'3498DB': 'Lys blå',
'9B59B6': 'Ametyst',
'4E5F70': 'Gråaktig blå',
'F1C40F': 'Livaktig gul',
'16A085': 'Mørk cyan',
'27AE60': 'Mørk smaragd',
'2980B9': 'Sterk blå',
... | JavaScript |
93,0,0,1-31.43-41.86L216,240.62V74.76a186.89,186.89,0,0,1,64,0V240.62Z", "M248,8C111,8,0,119,0,256S111,504,248,504,496,393,496,256,385,8,248,8ZM378.11,386.11a184,184,0,0,1-260.22,0h0a183.93,183.93,0,0,1,0-260.21c71.74-72,188.25-72.15,260.21-.41s72.16,188.25.41,260.22Z"]],
"pegasus": [576, 512, [], "f703", ["M64.36 ... | JavaScript |
h = 1960,
speed = 33,
id = 1001072,
scale = 0.75,
weapon_ID = {
1001082,
1001087
},
position_offset = {
0,
5,
0
},
cld_box = {
1,
1,
1
},
cld_offset = {
0,
0,
0
},
bound_bone = {
weapon = {
{
0.56,
-0.76,
0
},
{
0.48,
0.99,... | Lua |
from django import forms
from django.core.exceptions import ValidationError
from shop.models import ProductModel,ProductImages
class ProductForm(forms.ModelForm):
class Meta:
model = ProductModel
fields=[
'category',
'title',
'slug',
'im... | Python |
[14] != "") {
[row[14], row[15]].map((fas, j) => {
fas = fas.replaceAll("; ", "/");
fas = fas.replaceAll(";", "/");
fas = fas.replaceAll("・", "/");
fas.split("/").map((party) => {
if (party in parties) {
... | JavaScript |
I_BattleParty_C_BI_GetMagatsuhiDevilDropItemID::ItemIDArray' has a wrong offset!");
// Function BPI_BattleParty.BPI_BattleParty_C.BI_GetMagatsuhiDevilMagatsuhiSkill
// 0x0018 (0x0018 - 0x0000)
struct BPI_BattleParty_C_BI_GetMagatsuhiDevilMagatsuhiSkill final
{
public:
int32 Par... | C++ |
PX5pFkPhVjjai
/mkxX9LpD8oK1445DFHxK5UjLMmPIIWd8EOi+v5a+hgGwnJpoW7hntSl8kHMtTmy
fnnktsblSUV4lRCit0ymC7Ojhe+gzCCwkgs5kDzVVag+tnl/0e2DloIjASwOhpbH
KVcg7fBd484ht/sS+l0dsB4KDOSpd8JzVDMF8OZqlaydizoJO0yWr9GbCN1+OKq5
EhLrEqU=
-----END CERTIFICATE-----`
const ed25519CRLCertificate = `
Certificate:
Data:
Version: 3 (0x2)
Seri... | Go |
g()?;
test.heap()?;
test.drivers_only_instantiable_once()?;
#[cfg(not(feature = "__internal_disable_timer_in_integration_test"))]
test.callbacks(timer).await?;
#[cfg(not(feature = "__internal_disable_gpio_in_integration_test"))]
test.gpio(gpio)?;
Ok(())
}
struct LibtockTest {
success: b... | Rust |
.28.05 1.72 2.75 4.22 5.25 4.22h156.6c5.188 0 10.14 1.688 14.3 4.797l78.22 58.67a24.048 24.048 0 019.594 19.2L367.1 424c0 13.25-10.75 24-24 24s-24-10.75-24-24v-1.328L257.8 376H109.3c-28.48 0-52.39-22.72-53.28-50.64-.719-22.61 7.531-43.98 23.23-60.2C94.1 248.9 116.1 240 138.7 240h96.19a5.341 5.341 0 005.063-3.656l9.781-... | Dart |
new CoordinateSystem((Vec3) orig1.blend(orig2, orig3, orig4, weight1, weight2, weight3, weight4),
Vec3.vz(), Vec3.vy());
((RotationKeyframe) rot1.blend(rot2, rot3, rot4, weight1, weight2, weight3, weight4)).applyToCoordinates(c1, 1.0,
null, null, false, true, true, true);
// Find the new co... | Java |
movdqa 32(%rsp), %xmm8
movdqa 48(%rsp), %xmm9
movdqa 64(%rsp), %xmm10
movdqa 80(%rsp), %xmm11
addq $96, %rsp
popq %rdi
#endif
ret
.text
.p2align 6
sha256_transform_8way_core_avx2:
leaq 8*64(%rsp), %rax
vmovdqa -2*32(%rax), %ymm3
vmovdqa -1*32(%ra... | Assembly |
$callback = '')
{
$response = array();
if (empty($urls)) {
return $response;
}
$chs = curl_multi_init();
$map = array();
foreach($urls as $url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_TIMEOUT, 1);
curl_setopt($ch,... | Markdown |
01cfc94">shark::TrainingProgress< PointType ></a></li>
<li>ResultTable() : <a class="el" href="classshark_1_1statistics_1_1_result_table.html#a55b1f8bc5a3768c332a6812adf52111c">shark::statistics::ResultTable< Parameter ></a></li>
<li>ResultType : <a class="el" href="classshark_1_1_abstra... | HTML |
SetFieldValues">nlapiSetFieldValues</a></li><li><a href="global.html#nlapiSetLineItemDisabled">nlapiSetLineItemDisabled</a></li><li><a href="global.html#nlapiSetLineItemMandatory">nlapiSetLineItemMandatory</a></li><li><a href="global.html#nlapiSetLineItemValue">nlapiSetLineItemValue</a></li><li><a href="global.html#nla... | HTML |
;
}
static Future<List<int>?> loadFile(String filePath) async {
if (BASE64.check(filePath)) {
return BASE64.toData(filePath);
} else {
var file = File(filePath);
if (await file.exists()) {
return await file.readAsBytes();
}
}
}
static Future<String?> upload(String l... | Dart |
local err = shell
print("WARNING: failed to link up with lua-aplicado:\n" .. err)
print("WARNING: using ah-hoc shell read")
shell_read = adhoc_shell_read
end
local get_interpreter = function(name)
local ok, lua = pcall(shell_read, "which", name)
if ok then
return lua:sub(1, #lua - 1) -... | Lua |
)
macro[ofs+3] = byte(ms/255 + 1)
ofs += 4
case Keycode:
kc := keycodeTGKtoVia(Keycode(v))
macro[ofs+0] = 0x01
macro[ofs+1] = 0x01
macro[ofs+2] = byte(kc)
if kc <= 0x00FF {
ofs += 3
} else {
macro[ofs+1] += 4
macro[ofs+3] = byte(kc >> 8)
ofs += 4
}
case MacroDown:
kc :=... | Go |
from rest_framework import permissions
class IsOwnerOrReadOnly(permissions.BasePermission):
"""
Custom permission to only allow owners of an object to edit it.
"""
def has_object_permission(self, request, view, obj):
# Read-only permissions are allowed for any request
if request.method... | Python |
Twisted经常见到。例如,[NetstringReceiver protocol](http://twistedmatrix.com/trac/browser/tags/releases/twisted-8.2.0/twisted/protocols/basic.py#L31)即能从连接中读也能向连接中写[netstrings](http://en.wikipedia.org/wiki/Netstrings)。
我们略去了从低层实现服务器端的工作,但我们可以来思考一下这里做了些什么。首先,调用listenTCP来告诉Twisted创建一个 [listening socket](http://en.wikipedia.org/w... | Markdown |
a, 'tcx> HashStable<StableHashingContext<'a, 'tcx>> for ty::adjustment::Adjust<'tcx> {
fn hash_stable<W: StableHasherResult>(&self,
hcx: &mut StableHashingContext<'a, 'tcx>,
hasher: &mut StableHasher<W>) {
mem::discriminant(... | Rust |
/* Copyright (c) 2013-2017 Jeffrey Pfau
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "flags.h"
#define CREATE_SHIM(PLAT, NAME, RETURN) \
RETURN _p... | C |
oji found":{v:["Geen emoji gevonden"]}}},{l:"nn_NO",t:{"No emoji found":{v:[""]}}},{l:"oc",t:{"No emoji found":{v:[""]}}},{l:"pl",t:{"No emoji found":{v:["Nie znaleziono emoji"]}}},{l:"ps",t:{"No emoji found":{v:[""]}}},{l:"pt_BR",t:{"No emoji found":{v:["Nenhum emoji encontrado"]}}},{l:"pt_PT",t:{"No emoji found":{v:[... | JavaScript |
ne;
}
div.clusters-list-page div.fixedDataTableRowLayout_rowWrapper div.header-cell.action-header .public_fixedDataTableCell_cellContent {
padding-right: 16px !important;
}
div.clusters-list-page div.fixedDataTableRowLayout_rowWrapper:hover div.cluster-row-action-cover {
display: none;
}
div.clusters-list-page div.... | CSS |
);
fiveByFiveGrid.test(
'(0, 1), (1, 1) 셀을 선택하면, 2개의 셀이 선택 되어야 한다.',
(tester) async {
await grid.selectCells(
startCellValue: 'column0 value 1',
endCellValue: 'column1 value 1',
tester: tester,
);
final selected = [
// @formatter:off
... | Dart |
# Periodically generate proofs
if i % 100 == 0 and i > 0:
for j in range(0, i, 100):
proof = tree.get_inclusion_proof(j, i+1)
leaf_hash = tree._hash_leaf(f"leaf-{j}".encode())
assert tree.verify_in... | Python |
ode
/// Such as inserting or deleting messages.
normal,
/// Generative mode
/// Such as ChatGPT streaming messages.
generative,
/// Specified mode
/// You can specify the index of the reference message in this mode.
specified,
}
enum ChatScrollObserverRefIndexType {
/// relativeIndex tra... | Dart |
95953
IOCmieCmquCmuOCnjeCmpeCmv+CmpA== 95954
4bmF 95955
IFRpZW5l 95956
6L6+5Yiw 95957
IGJldGU= 95958
IG5kw6ty 95959
IG1vcnRnYWdlcw== 95960
emVsYQ== 95961
5LiW57qq 95962
IHZ1b25uYQ== 95963
IHNjcmVlbnNob3Rz 95964
IGZlbG9ueQ== 95965
LU1hcnQ= 95966
IEFsbG93cw== 95967
X21vbml0b3I= 95968
IOCmrOCmvuCmrA== 95969
IOCyleCziw== ... | Kotlin |
hed to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
* the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
* LIMITED TO THE WARRANT... | Kotlin |
id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </sp... | HTML |
br>
* <b>See also : </b>
* {@link <a href=http://developer.android.com/guide/topics/manifest/supports-gl-texture-element.html>
* Support-screens Xml documentation</a>}
*/
SUPPORTS_GL_TEXTURE(MergeType.MERGE, DEFAULT_NAME_ATTRIBUTE_RESOLVER),
/**
* Suppor... | Java |
468b228a8279be331a703c33596fd15c13b1b07f9aa1d3bea57789ca031ad85c7a71dd70354ec631238ca3445"
} },
TestSpec("abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmnhijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu", 1, "length 896 bits") { when(it) {
Digest.SHA1 -> "a49b2446a02c645bf419... | Kotlin |
_oViewer = oViewer;
m_oField = oField;
m_clr = clr;
m_nStep = nStep;
m_fArrow = fArrow;
m_nGroup = nGroup;
}
protected void Run()
{
m_oField.TraverseActive(this);
}
public void InformAc... | C# |
theme.display-author .theme-author a {
color: inherit;
text-decoration: none;
}
/**
* Add new theme
*/
.theme-browser .theme.add-new-theme {
border: none;
box-shadow: none;
}
.theme-browser .theme.add-new-theme a {
text-decoration: none;
display: block;
position: relative;
z-index: 1;
}
.theme-browser .the... | CSS |
ided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNE... | Java |
}
}
bot.guilds.map(guild => {
if (!inGuildList(guildSettings, guild)) {
console.log("Pushing new guild (not json)");
guildSettings.push(new GuildSettings(guild.id));
}
});
exportGuildSettings(guildSettings);
//need to generalize this action beyond just my s... | Typescript |
e, Err: "Uid必须大于0"}
}
局_值 := Ser_UserConfig.Q取值(局_在线信息.LoginAppid, 局_在线信息.Uid, 配置名称)
return js对象_通用返回{IsOk: true, Err: "成功", Data: 局_值}
}
func jS_取缓存(配置名称 string) (ret string) {
if 配置名称 == "" {
return
}
if 临时数据, ok := global.H缓存.Get("gghsjs_" + 配置名称); ok {
ret = 临时数据.(string)
}
return
}
func jS_置缓存(配置名称,... | Go |
दि आपको महत्वपूर्ण मात्रा में डेटा संग्रहीत करने की आवश्यकता है, क्योंकि यह उपयोग करने के लिए अधिक जटिल है।
### टास्क
हम चाहते हैं कि हमारे उपयोगकर्ता तब तक लॉग इन रहें जब तक कि वे स्पष्ट रूप से *लॉगआउट* बटन पर क्लिक न करें, इसलिए हम खाता डेटा संग्रहीत करने के लिए `localStorage` का उपयोग करेंगे। सबसे पहले, एक कुंजी प... | Markdown |
18_Regs[ 10 ] = ( Map18_Regs[ 10 ] & 0x0f ) | ( ( byData & 0x0f ) << 4 );
PPUBANK[ 7 ] = VROMPAGE( Map18_Regs[ 10 ] % ( NesHeader.byVRomSize << 3 ) );
InfoNES_SetupChr();
break;
case 0xE000:
Map18_IRQ_Latch = ( Map18_IRQ_Latch & 0xfff0 ) | ( byData & 0x0f );
break;
case 0xE001:
... | C++ |
atches.push(m);
// Remove all blocks until wrap and maybe one more, to ensure that remove
// the block with the detected syncword.
first.len() + blocks_before
}
else {
// Remove all items until wrap (there i... | Rust |
emes/presentation/state/theme_state.dart';
import 'package:luciapp/main.dart';
import 'package:mocktail/mocktail.dart';
import '../test/auth/mocks/mock_auth_service.dart';
import '../test/common/mocks/mock_auth_repository.dart';
import '../test/common/robot/testing_robot.dart';
import '../test/font_size/constants/stri... | Dart |
::args().collect();
if args.len() != 2 {
eprintln!("Expected usage: <{}> <configuration file>", args[0]);
std::process::exit(1);
}
let path = std::path::PathBuf::from(&args[1]);
Configuration::load(&path)
}
// TODO: replace with bitcoin example once bitc... | Rust |
/*
+----------------------------------------------------------------------+
| PHP Version 7 |
+----------------------------------------------------------------------+
| Copyright (c) 1997-2018 The PHP Group |
+--------------... | C |
if (Value == null) return 0;
return Value.GetOffset(cData, segmentData, animatorData, ignoreAnimatorScaling);
}
public void GetMinMaxOffset(out float min, out float max, ITMPSegmentData segmentData,
IAnimatorDataProvider animatorData, bool ignoreAnimatorScaling = ... | C# |
">З</td>
<td>0417</td>
<td>CYRILLIC CAPITAL LETTER ZE</td>
<td>キリール大文字ZE</td>
<td><span its-locale-filter-list="en" lang="en">proportionally-spaced</span> <span its-locale-filter-list="ja" lang="ja">プロポーショナル</span></td>
</tr>
<tr>
<td class="character">И... | HTML |
otypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.cons... | JavaScript |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | C |
newArray.forEach((v:string,i:number)=>{
console.log(v);
});
const sizes: Array<number> = [];
let maxWidth: number | undefined;
let _baseUrl = '';
export function addSize(width: number): void {
sizes.push(width);
}
export function setMaxWidth(width: number): void {
maxWidth = width;
}
export func... | Typescript |
ster/examples/adc.rs
let mut adc = p.ADC.adc(&mut rcc);
adc.set_precision(Precision::B_12);
let adcs: Adcs<Adc> = Adcs { ad_1st: adc };
// no channel one-shot conversion
//There is no MCU temperature sensor (I think).
let mcutemp: Sensor<Option<PB1<Analog>>> = Sensor { ch: None }; // intern... | Rust |
.codedefault.com/img/dnczeus/docs/dnczeus-document-002-install-nodejs.png
[4]: https://www.npmjs.com/package/nrm
[5]: https://npm.taobao.org/
[6]: https://dotnet.microsoft.com/download
[7]: https://visualstudio.microsoft.com/
[8]: https://git-scm.com/
[9]: https://statics.codedefault.com/img/dnczeus/docs/dnczeus-docume... | Markdown |
ip.kind, DDS::SHARED_OWNERSHIP_QOS);
}
TEST(dds_DCPS_Qos_Helper, TopicQosBuilder_topic_data_value)
{
using OpenDDS::DCPS::operator==;
DDS::OctetSeq topic_data;
topic_data.length(1);
topic_data[0] = 'A';
OpenDDS::DCPS::TopicQosBuilder uut;
uut.topic_data_value(topic_data);
EXPECT_TRUE(uut.qos().topic_data... | C++ |
Information/getDepthInMeters(x, y)" data-dfn-type="argument" data-export id="dom-xrcpudepthinformation-getdepthinmeters-x-y-y"><code><c- g>y</c-></code></dfn>);
};
</pre>
<p>The <code class="idl"><a data-link-type="idl" href="#dom-xrcpudepthinformation-data" id="ref-for-dom-xrcpudepthinformation-data③">data</a></cod... | HTML |
to this) that
// allows caller to get a list of curves surpassing 180 degrees.
factory Cubic.circularArc(
double centerX,
double centerY,
double x0,
double y0,
double x1,
double y1,
) {
final p0d = directionVector(x0 - centerX, y0 - centerY);
final p1d = directionVector(x1 - cente... | Dart |
efore_all hook with Rails' parallelize feature (using processes). ([@peret][])
Make sure to include `TestProf::BeforeAll::Minitest` before you call `parallelize`.
## 1.0.6 (2021-06-23)
- Fix Spring detection when `DISABLE_SPRING=1` is used. ([@palkan][])
- Make `before_all` in Minitest inheritable. ([@palkan][])
#... | Markdown |
// OringinalBitArray returns a BitArray that only missing parts if they are in the original
// part set.
func (cps *CombinedPartSet) MissingOriginal() *bits.BitArray {
cps.mtx.Lock()
defer cps.mtx.Unlock()
out := bits.NewBitArray(int(cps.original.Total() * 2))
missOrig := cps.original.BitArray().Not()
for _, ind ... | Go |
: $recentFile');
try {
await disposeNativeSourceIdentifier(recentFile.identifier);
} on Exception catch (e, s) {
logError(e, s);
}
_prefs.removeRecentFile(recentFile);
}
void pinFile(RememberedFile recentFile) {
_prefs.pinFile(recentFile);
}
void unpinFile(RememberedFile recent... | Dart |
urn AVERROR_INVALIDDATA;
/* excitation function */
band_start = ff_ac3_bin_to_band_tab[start];
band_end = ff_ac3_bin_to_band_tab[end-1] + 1;
if (band_start == 0) {
lowcomp = 0;
lowcomp = calc_lowcomp1(lowcomp, band_psd[0], band_psd[1], 384);
excite[0] = band_psd[0] - fast_gai... | C |
/*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/* GCC ARM assembler */
.text
.code 32
.align 4 /* 0 */
/* Constants */
.eq... | Assembly |
secretCode := "cmd"
for {
retcode, selector, err = s.SyncCheck(&loginMap)
if err != nil {
fmt.Println(retcode, selector)
printErr(err)
if retcode == 1101 {
fmt.Println("帐号已在其他地方登陆,程序将退出。")
os.Exit(2)
}
continue
}
if retcode == 0 && selector != 0 {
fmt.Printf("selector=%d,有新消息产生,准备拉... | Go |
// Badges
$badge-font-weight: 400 !default;
$badge-padding-y: .6em !default;
$badge-padding-x: 1.2em !default;
// Alerts
$alert-border-width: 0 !default;
@charset "UTF-8";/*!
* Bootswatch v5.3.3 (https://bootswatch.com)
* Theme: litera
* Copyrig... | CSS |
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2025 OpenFOAM Foundation
\\/ ... | C |
)
}
},
componentUpdated(
el: HTMLElement,
bindings: DirectiveBinding,
vnode: VNode
): void /* istanbul ignore next: not easy to test */ {
if (bindings.value !== bindings.oldValue) {
constructor.Apply(el, bindings, vnode)
}
},
unbind... | Typescript |
launch, ensuring there is breathing room before
* each call.
*/
val launcherDelayer = ProgressiveDelayer()
// Will not run if there are no downloads to complete or if the download is paused
while (getDownloadCount() >= 1 && !isDownloadPaused()) {
/*
* Launches a job as long as there are thread... | Kotlin |
// -*- C++ -*-
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... | C |
<g id=line2d_9><g><use xlink:href=#m7307817743 x=464.904 y=47.52 style="fill: #262626; stroke: #262626"/></g></g><g id=text_55><g style="fill: #262626" transform="translate(475.404 51.098906) scale(0.1 -0.1)"><use xlink:href=#ArialMT-31 /><use xlink:href=#ArialMT-2e x=55.615234 /><use xlink:href=#ArialMT-30 x=83.398438... | HTML |
"black" => ConsoleColor.Black,
"blue" => ConsoleColor.Blue,
"cyan" => ConsoleColor.Cyan,
"green" => ConsoleColor.Green,
"gray" => ConsoleColor.Gray,
"darkred" => ConsoleColor.DarkRed,
"darkblue" => ConsoleColor.DarkBlue,... | C# |
# =>This Inner Loop Header: Depth=1
mov eax, edx
movzx edx, byte ptr [rdi]
mov edx, dword ptr [rcx + 4*rdx]
mov dword ptr [rsi], edx
movzx edx, byte ptr [rdi + 1]
mov edx, dword ptr [rcx + 4*rdx]
mov dword ptr [rsi + 4], edx
movzx edx, byte ptr [rdi + 2]
mov edx, dword ptr [rcx + ... | Assembly |
: number): RGBA {
return {
r: parseInt(hex.slice(1, 3), 16) / 256,
g: parseInt(hex.slice(3, 5), 16) / 256,
b: parseInt(hex.slice(5, 7), 16) / 256,
a,
};
}
import { Component, Input } from '@angular/core';
import { Attribute } from '../../../shared/model/attribute';
import { Utils } from '../../../sh... | Typescript |
.Logger.getLogger(Textencryption.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
}
//</editor-fold>
/* Create and display the form */
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Textencryption().setVisible(true);
... | Java |
0:
continue
frame = self._process_frame(frame, landmarker, calc_ts, fps)
if self.display:
cv2.imshow("Frame", frame)
# Press Q on keyboard to exit
if cv2.waitKey(1) & 0xFF == ord("q"):
... | Python |
l')),
('create_at', models.DateTimeField(auto_now_add=True)),
('cadastro', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='imagens', to='efetivo.cadastro')),
('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.A... | Python |
new String[] { "p2" });
assertNotNull(m2x, "Module should not be null");
ModuleHelper.DefineModule(m2x, false, "9.0", "m2x/there", new String[] { "p2" });
ModuleHelper.AddReadsModule(m2x, jlObject_jlM);
// Make package p1 in m1x visible to everyone.
ModuleHelper.AddModuleExport... | Java |
*client.OracleClients).DisasterRecoveryClient()
return tfresource.ReadResource(sync)
}
type DisasterRecoveryDrPlanDataSourceCrud struct {
D *schema.ResourceData
Client *oci_disaster_recovery.DisasterRecoveryClient
Res *oci_disaster_recovery.GetDrPlanResponse
}
func (s *DisasterRecoveryDrPlanDataSourceCru... | Go |
statMap = {
["wind_dancer_evasion_rating_+%_final_per_stage"] = {
mod("Evasion", "MORE", nil, 0, 0, { type = "Multiplier", var = "WindDancerStacks", limitVar = "WindDancerStacksLimit" }, { type = "GlobalEffect", effectType = "Buff", effectName = "Wind Dancer"}),
},
["wind_dancer_maximum_number_of_stage... | Lua |
spellStruct.counts[1], spellStruct.counts[2],
spellStruct.damageType, spellStruct.resistanceSum, spellStruct.resistanceCount);
local newPartLen = string.len(newMsgPart);
local MAX_MSG_LEN = 255;
if (newPartLen + msgLen >= MAX_MSG_LEN) then
--DMPrintD("Aborting at eventIx = "..eventIx);
... | Lua |
await createSetupIntent();
if (context.mounted) {
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
// Main params
setupIntentClientSecret: setupKeys.clientSecret,
customerId: setupKeys.customerId,
merchantDisplayName... | Dart |
tèfȩ tèfəˈte tèfəˈtsə tèfɨŋ tèfɨŋke tèfɨŋtsə tèfɔbtsə tègème tèghaŋ tèghaŋtsə tèghàŋtsə tègwèt tègwòŋ tèjî teka tèka tèkàŋ tèkaŋtsə tèkate tèkitebu Tȩ̀kɨkùs teko tèku̧ tèku̧tsə tèku̧u̧nè tèkwȩ tèkwȩte tekwì Tela tèlen tèlente tèlete tèlɨ̧ tem tèm teme tèmè temte tèngète tènjǔŋ tènkìtewèt tentem těnto̧ těnto̧tsə tèntsɔ... | HTML |
# ------------------------------------------------------------------
# Tensorflow implementation of
# "Learning Dynamic Memory Networks for Object Tracking", ECCV,2018
# Licensed under The MIT License [see LICENSE for details]
# Written by Tianyu Yang (tianyu-yang.com)
# -----------------------------------------------... | Python |
meUnavailable {
Skip(err.Error())
} else if err != nil {
Fail(err.Error())
}
By("prepearing repos")
{
mainRepoDirName := "main_repo"
fixtureRelPath := "basic"
SuiteData.InitTestRepo(ctx, mainRepoDirName, filepath.Join(fixtureRelPath, mainRepoDirName))
remoteRepoDirName1 := "remote_... | Go |
WrapAnimation;
flFrameRate = m_FrameRate;
iLastFrame = (numFrames - 1);
}
// Have we already reached the end? If so, stay there.
if ( m_bReachedEnd && !bWrapAnimation )
{
m_AnimatedTextureFrameNumVar->SetIntValue( iLastFrame );
return;
}
// NOTE: Must not use relative time based methods here
// because... | C++ |
nitializing user.")
uid = get_init_user()
if uid:
# 更新请求数据
request_data = {"videoUrl": url, "version": 202, "uid": uid}
# 打印 curl 命令
curl_command = f"curl -X POST http://xvideoget.com/twitter/resolutionVideo -H 'Content-Type: appli... | Python |
.global _shellcode_start_s
.global _shellcode_end_s
.global _hookstub_function_addr_s
.global _old_function_addr_s
.data
_shellcode_start_s:
sub sp, sp, #0x20
mrs x0, NZCV
str x0, [sp, #0x10]
str x30, [sp]
add x30, sp, #0x20
str x30, [sp, #0x8]
ldr x0, ... | Assembly |
6(s0)
lw t1, -80(s0)
lw t2, -88(s0)
lw t3, -84(s0)
addi a0, t0, 0
addi a1, t1, 0
addi a2, t2, 0
addi a3, t3, 0
jal ra, merge
jal x0, L_2_0
L_2_0:
lw ra, 0(sp)
lw s0, 4(sp)
addi sp, sp, 96
jalr x0, ra, 0
main:
addi sp, sp, -96
sw ra, 0(sp)
sw s0, 4(sp)
addi s0, sp, 96
addi t0, x0, 10
sw t0, -76(s0)
... | Assembly |
lz_h
sta arg3_h
lda lx_l
sta arg4_l
lda lx_h
sta arg4_h
jsr length_cordic
;========================
; after
; check arg1=$CC arg3=$D0
; T2=B4 LZ=BC
; TEST OK
lda arg1_l
sta t2_l
lda arg1_h
sta t2_h
lda arg3_l
sta lz_l
lda arg3_h
sta lz_h
;==============
; d = t2 - r1i;
; TEST: ok
sec
lda t... | Assembly |
SCROLL_FORWARD)
// 向上滑动一下
fun AccessibilityNodeInfo.scrollBackward() =
performAction(AccessibilityNodeInfo.ACTION_SCROLL_BACKWARD)
// 填充文本
fun AccessibilityNodeInfo.input(content: String) = performAction(
AccessibilityNodeInfo.ACTION_SET_TEXT, Bundle().apply {
putCharSequence(AccessibilityNodeInfo.ACT... | Kotlin |
event.
///
/// The triple `(project_id, event_id, id)` identifies an attachment uniquely.
id: String,
/// File name of the attachment file.
name: String,
/// Content type of the attachment payload.
content_type: Option<String>,
/// The Sentry-internal attachment type used in the proc... | Rust |
;
use std::sync::Arc;
#[derive(Debug)]
struct IncrementTask(i32);
#[async_trait::async_trait]
impl Task for IncrementTask {
async fn run(&self, context: Context) -> Result<(), GraphError> {
// Simple API - no manual lock handling needed
let current = context.get_or_default::<i32>("counter").await;... | Markdown |
CAPITAL LETTER H WITH DIAERESIS
'h', ':', '\u1e27', // 7719 ḧ LATIN SMALL LETTER H WITH DIAERESIS
'H', ',', '\u1e28', // 7720 Ḩ LATIN CAPITAL LETTER H WITH CEDILLA
'h', ',', '\u1e29', // 7721 ḩ LATIN SMALL LETTER H WITH CEDILLA
'K', '\'', '\u1e30', // 7728 Ḱ LATIN CAPITAL LETTER K WITH ACUTE
'k', '... | Kotlin |
zmm24, %zmm10
// vfmadd231pd %zmm29, %zmm24, %zmm18
// vbroadcastsd 24(%r13), %zmm24 // B
// vfmadd231pd %zmm25, %zmm24, %zmm3
// vfmadd231pd %zmm27, %zmm24, %zmm11
// vfmadd231pd %zmm29, %zmm24, %zmm19
addq $ 64, %r11
addq $ 64, %r13
subl $ 1, %r10d
cmpl $ 0, %r10d
jg 3b // clean up loop
2: // return
#... | Assembly |
nsition: transform var(--ld-sidenav-transition-duration-collapse-expand)
ease;
pointer-events: none;
}
/*
Using z-index -1 on .ld-sidenav-back__bg results
in .ld-sidenav-back__bg not being clickable.
That's why we set z-index 0 on the following elements.
*/
.ld-sidenav-back__icon,
.ld-sidenav-back__btn-back-labe... | CSS |
this.container.textContent = "";
if (!keepRenderedCapability) {
this._renderedCapability = (0, _pdfjsLib.createPromiseCapability)();
}
}
_dispatchEvent(attachmentsCount) {
this._renderedCapability.resolve();
this.eventBus.dispatch("attachmentsloaded", {
source: this,
attachment... | JavaScript |
end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,e:GetHandler(),1,0,0)
end
function s.thop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) then
Duel.SendtoHand(c,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,c)
end
end | Lua |
Provider,{value:t},e.children)},s="mdxType",m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},b=r.forwardRef((function(e,t){var o=e.components,n=e.mdxType,a=e.originalType,p=e.parentName,u=i(e,["components","mdxType","originalType","parentName"]),s=c(o),b=n,f=s["".conca... | JavaScript |
null,
)
val b2c: Array<CharArray?> = arrayOfNulls<CharArray>(b2cStr.size)
val b2cSB: CharArray?
init {
for (i in b2cStr.indices) {
if (b2cStr[i] == null) b2c[i] = DoubleByte.B2C_UNMAPPABLE
else b2c[i] = b2cStr[i]!!.toCharArray()
... | Kotlin |
CLEANUP;
if(ret_val != UNDEFINED_EVAL) {
FAIL;
}
PASS;
}
static bool test_analyze_policy_undefined_timer_remove() {
emit_test("Test that AnalyzePolicy() returns UNDEFINED_EVAL when used with "
"a ClassAd that has TimerRemove evaluate to undefined.");
emit_comment("See ticket #1571.");
ad = new ClassAd();
... | C++ |
在启动app时删除
var editCacheEnable:Boolean = false, //是否启用编辑缓存,修改后重启app生效
// conflict text split for merge, it should be able custom in settings page
var conflictStartStr:String = SettingsCons.defaultConflictStartStr,
var conflictSplitStr:String = SettingsCons.defaultConfilctSplitStr,
var conflictEndSt... | Kotlin |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.