content stringlengths 2 6.21k | label stringclasses 16
values |
|---|---|
class="xref">System.Int32</span>[]</td>
<td><span class="parametername">indices</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="MxNet.NDArrayList.html">NDArrayList</a></td>
<td><span class="parametername">weights</span></td>
<td></td>
</tr>
<tr... | HTML |
; } catch (ex) { }
if (NW_AmtScanMenuItem.checked == true) { globalAmtScanner.start(); } else { globalAmtScanner.stop(); }
updateComputerList();
}
function handleContextMenu(e) {
hideContextMenu();
if (xxdialogMode) return;
toolmenuclic... | HTML |
4009] = {"흉포한 천둥절벽도마뱀",nil},
[4011] = {"새끼 사자날개 와이번",nil},
[4012] = {"사자날개 와이번",nil},
[4013] = {"하늘발톱 사자날개 와이번",nil},
[4014] = {"어미 사자날개 와이번",nil},
[4015] = {"우두머리 사자날개 와이번",nil},
[4016] = {"마룡",nil},
[4017] = {"교활한 마룡",nil},
[4018] = {"순록",nil},
[4019] = {"큰 순록",nil},
[4020] = {"수액괴물",nil},
[4021] = {"타락한 수액괴물",nil},
... | Lua |
xoPlayer.play()
exoPlayer
}
var (counter, setCounter) = remember { mutableStateOf(0) }
val color =
when (counter % 5) {
0 -> Color.Black
1 -> Color.Blue
2 -> Color.Red
3 -> Color.Green
4 -> Color.Cyan
5 -> Color.Magent... | Kotlin |
er:say('You bring me a stinking cookie???', npc, creature)
npcHandler:setTopic(playerId, 2)
end
-- Mission 3 - Orc Fortress
elseif npcHandler:getTopic(playerId) == 1 then
if MsgContains(message, 'malor') then
if efreet == 1 then
player:setStorageValue(Storage.DjinnWar.EfreetFaction.DoorToLamp, 1)
e... | Lua |
<filename>httpbis/src/futures_misc/mod.rs
mod shutdown_signal;
pub(crate) mod select_lite;
pub use self::shutdown_signal::*;
mod game_client;
mod login_client;
mod world_client;
pub use game_client::{GameClient, GameClientError};
pub use login_client::{LoginClient, LoginClientError};
pub use world_client::{WorldCli... | Rust |
>
<p>
一般安排在星期二、星期五(或星期三)的下午(这时就不办公),有时候也延续到晚上。不少于工作时间的 10—25%。政治运动的高潮期间,也安排一些连续成片的时间,停下日常工作,脱产学习。适用于机关、文化单位、学校、工厂、军队、街道、农村一切单位。进入 1960 年代“突出政治”、文革时期,后一种情况就经常化了。政治学习被列入单位工作清单时,即使是经营企业在算政治账的指导思想下,成本也是可以任意透支的。
</p>
<p>
学习的文件,有报刊社论、时事报道或上级文件等指定的内容,也有自己单位针对实际选定的文章、毛泽东和马列的著作。先由指定的人读报、读文件,接着主持者启发性发言,再由群众围绕中心、联系实际讨... | HTML |
quals } from "../deps.ts";
import { ID } from "../types/id.ts";
import { HelloResponse, sayHello, sayRandomHello } from "./hello.ts";
Deno.test("Random Hello", () => {
const result = sayRandomHello();
const actual = typeof result;
const expected = "object";
assertStrictEquals(actual, expected);
});
Deno.test(... | Typescript |
for (var i in this.parts) {
this.resetPart(i);
}
};
p5.Score.prototype.resetPart = function (i) {
this.parts[i].stop();
this.parts[i].partStep = 0;
for (var p in this.parts[i].phrases) {
this.parts[i].phrases[p].phraseStep = 0;
}
};
/**
* Set the tempo for all parts in the ... | JavaScript |
dhold på hjemmesider og intranet</li>
<li>Officepakken - dokumenter, regneark og præsentationer</li>
<li>Scannede dokumenter og fotokopier</li>
<li>Billeder og PDF (OCR-scanning)</li>
</ul>
<p>
Webscanneren er også i stand til at følge et sitemap og s... | HTML |
Exists(manifestFolder))
Directory.CreateDirectory(manifestFolder);
string dstFile = manifestFolder + "/AndroidManifest.xml";
if (File.Exists(dstFile))
{
Debug.LogWarning("Cannot create Oculus store-compatible manifest due to conflicting file: \""
+ dstFile + "\". Please remove it and try again.");
... | C# |
Day = getDay(questList.first.openedAt);
final days = getDay(quest.openedAt) - firstDay + 1;
if (days > 1) {
conds.add("第$days天${getJpTime(quest.openedAt).split(' ').last}");
}
}
if (conds.isNotEmpty) {
buffer.writeln('${conds.join('&')}后');
} else {
buffer.writeln();
... | Dart |
le) : base (handle)
{
}
[Export ("initWithCoder:")]
public GenericTextViewWindowController (NSCoder coder) : base (coder)
{
}
public GenericTextViewWindowController () : base ("GenericTextViewWindow")
{
}
public GenericTextViewWindowCont... | C# |
to midnight of UTC timeZone.
*/
@JvmStatic
fun getUTCBeginOfDay(date: Date?): Date? {
return getUTCBeginOfDay(date, ThreadLocalUserContext.timeZone).utilDate
}
/**
* Converts a given date (in user's timeZone) to midnight of UTC timeZone.
*/
@JvmStatic
fun getUTCBeginOfDa... | Kotlin |
*pdwVal;
// 65 pdwVal = (u32 *)(wPMABufAddr * 2 + PMAAddr);
PMAToUserBufferCopy:
LDR.N R3,??DataTable1 ;; 0x40006000
ADD R1,R3,R1, LSL #+1
// 66 for (i = n; i != 0; i--)
ADDS R2,R2,#+1
ASRS R2,R2,#+1
BEQ.N ??PMAToUserBufferCopy_0
// 67 {
// 68 ... | Assembly |
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package gnu.java.util.regex;
import gnu.java.lang.CPStringBuilder;
final class RETokenPOSIX extends REToken
{
int type;
boolean insens;
boolean... | Java |
parsing
//! purposes in different contexts. Switch between these state machines
//! usually performed by the tree construction stage depending on the
//! state of the stack of open elements (HTML is a context-sensitive grammar).
//!
//! Luckily, in the majority of cases this tree construction stage feedback
//! can be... | Rust |
d1-start1+1)+(end2-start2+1);
auto inds = std::vector<Index>(nsize);
auto i = 0;
for(auto j1 : range1(start1,end1))
{
inds.at(i) = sites1(j1);
++i;
}
for(auto j2 : range1(start2,end2))
{
inds.at(i) = sites2(j2);
++i;
}
return SiteSetT{i... | C |
line" href="_gl_util_8h.html#a5cb125032d3591c70181c9c222f851a3"> 108</a></span> <span class="keyword">inline</span> GLuint <a class="code" href="_gl_util_8h.html#a5cb125032d3591c70181c9c222f851a3">createProgram</a>(<span class="keyword">const</span> std::string& vs, <span class="keyword">const</span> std::str... | HTML |
ms-inline-flexbox!important;display:inline-block}.ui.compact.menu:not(.secondary) .item:last-child{border-radius:0 .28571429rem .28571429rem 0}.ui.compact.menu .item:last-child::before{display:none}.ui.compact.vertical.menu{width:auto!important}.ui.compact.vertical.menu .item:last-child::before{display:block}.ui.menu.f... | CSS |
0x2350, 0x2350, 0x2350, 0x235c,
0x2377, 0x238f, 0x238f, 0x238f, 0x2398, 0x2398, 0x23ad, 0x23db, 0x2400, 0x2400, 0x241e, 0x242a,
0x242a, 0x243c, 0x243c, 0x243c, 0x245b, 0x2474, 0x248d, 0x24ac, 0x24c1, 0x24dc, 0x2501, 0x2513,
0x2513, 0x2513, 0x2525, 0x2531, 0x254c, 0x254c, 0x2571, 0x25a2, 0x25b7, 0x25b7, 0x25b7, 0x25... | Go |
ass="icon-sig-video" width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 3.333c-4.779 0-8.667 3.888-8.667 8.667S7.221 20.667 12 20.667s8.667-3.888 8.667-8.667S16.779 3.333 12 3.333M12 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10m-1.064-6.793l4.61-2.74a.715.... | HTML |
lassTable.has(name)) {
return this.classTable.get(name) as IdentifierProperties;
}
throw new Error(
`Identifier not recognized: "${name}". May not be declared.`
);
}
private isSubroutineKind(kind: SymbolKind): boolean {
return kind === SymbolKind.Arg || kind === SymbolKind.Var;
}
}
e... | Typescript |
#Identificar o que falta na função e arrumar ela.
#O esperado é que a função que recebe um parâmetro, deverá utilizar este parâmetro para fazer um calculo.
#exemplo, se receber a palavra "SOMA" no parametro operacao, ela vai fazer a soma dos parametros a e b, caso ela receba "SUB"
#vai fazer a subração.
def funcOpe... | Python |
// WordMap
ORIGINAL_STORAGE("tacOrigS", Tag.WordMap), // WordMap
ORIGINAL_TRANSIENT_STORAGE("tacOrigT", Tag.WordMap), // WordMap
TRANSIENT_STORAGE("tacT", Tag.WordMap), // WordMap
SIGHASH("tacSighash", Tag.Bit256), // the first 4 bytes of the tacCalldatabuf, if we were able to extract them
CODESI... | Kotlin |
一个小时即可到。景区内山石瀑布奇多,越往里走,江南的秀山美色就越来越多,沿途的瀑布十分壮丽。值得一提是,百泉山有一个猕猴谷。数不胜数的猕猴桃树,在百泉山的尽头,形成了一个美丽壮观的绿谷。 </p> <p> 交通指南:乘车线路:东直门乘916路至怀柔汽车站,换乘怀柔-汤和口的公交车,或是乘坐北京—丰宁的公交车即到 </p> <p> 自驾线路:从北京出发走京顺路上京密路到怀柔上111国道(怀丰公路)到达百泉山。 </p> <p> 景点门票:20元 </p> <p> 景区*:010-61622964-168 </p> <p> 小贴士:1、喜欢爬山的朋友,可以一路前行,但记得原路返回,如果你是懒人,就坐在湖边等朋友回来。 </p>... | HTML |
text-align:center;">View All Products</h1>
</div>
</div>
<div class="row mt-2">
<div class="col-sm-12">
<table class="table table-bordered">
<tr>
<th>ID</th>
<th>ProductNAme</th>
<... | HTML |
ToGulltownSoD = "OFF_TO_GULLTOWN_SoD",
/**
* <h5>The Wars To Come</h5>Neutral.<br><b><i>Omen.</i></b><br>Your plot deck
* must be exactly 10 cards. You may include a second copy of up to 2 different
* cards in your plot deck..<br><i>Sands of Dorne.</i><br>
**/
TheWarsToComeSoD = "THE_WARS_TO_COME_SoD",
... | Typescript |
.map(|(_, wave)| *wave);
match (start, end) {
(None, Some(end)) => Some(Wave::Initial { end }),
(Some(start), Some(end)) => Some(Wave::General { start, end }),
(Some(start), None) => Some(Wave::Last { start }),
_ => None,
}
}
pub fn update_ready... | Rust |
.M.bannerHelpClicked,{threadId:t}),!0),children:e})}})})}function e9(e){let{threadId:t}=e;(0,g.useEffect)(()=>{P.m9.logEvent("chatgpt_unauthenticated_signup_banner"),d.A.logEvent(u.M.unauthSignupBanner,{threadId:t})},[t]);let{navigateToAuth:n}=(0,M.E)();return(0,w.jsxs)(e1,{className:"flex flex-row items-center justify... | JavaScript |
Name = isDefault ? displayName + " (Default)" : displayName;
IsDefaultDomain = isDefault;
}
private ServerDto GetServerDto ()
{
var dto = Parent.Parent.Parent.Tag as AuthTokenDto;
return dto != null ? dto.ServerDto : null;
}
public void SetAsDefault (object sender, EventArgs e)
{
ActionHelper.... | C# |
{}@{}:~/push_scripts/{}/", SSH.custom_args, deployment_name, vm_summary.username, vm_summary.hostname, deployment_name), &SHELL.shell).panic_on_failure();
let data_str = format!("push_scripts/{}/data", deployment_name);
let data_path = std::path::Path::new(&data_str);
if data_path.is_d... | Rust |
kingQualifier = RankingQualifier.Balance
)
)
},
assertions = {
Assertions.assertThat(it.size).isEqualTo(6)
Assertions.assertThat(it[0].getBalance()).isEqualTo(2000.0)
Assertions.assertThat(it[1].getBalance()).isEqualTo(800.0)
Assertions.assertThat(it[2].getBalance()).isEqu... | Kotlin |
= params->u1.s.pages_in_vram;
tag->u.acorn.sounddefault = params->u1.s.sounddefault;
tag->u.acorn.adfsdrives = params->u1.s.adfsdrives;
tag = tag_next(tag);
tag->hdr.tag = ATAG_CMDLINE;
tag->hdr.size = (strlen(params->commandline) + 3 +
sizeof(struct tag_header)) >> 2;
strcpy(tag->u.cmdline.cm... | C |
pients (AddresseeList & addressees) const
{
_projectDb.XRetrieveBroadcastRecipients (addressees);
}
void XRetrieveMulticastRecipients (GidSet const & filterOut,
AddresseeList & addressees) const
{
_projectDb.XRetrieveMulticastRecipients (filterOut, addressees);
}
std::unique_ptr<MemberInfo> Ret... | C |
Body::Reader(..) => self
.header("Content-Length")
.unwrap_or("0")
.parse()
.unwrap_or(0),
_ => 0,
}
}
pub fn is_empty(&self) -> bool {
self.len() == 0
}
pub fn redirect_to<U: AsRef<str>>(url: U) -... | Rust |
d only ever be used internally inside an Option<T> such that it can be initialized before it is ready.
struct InternalGfxMachinery {
factory: gfx_device_gl::Factory,
device: gfx_device_gl::Device,
encoder: gfx::Encoder<gfx_device_gl::Resources, gfx_device_gl::CommandBuffer>,
target: gfx::handle::RenderT... | Rust |
: br_block_cbcenc_class;
}
extern "C" {
pub static br_aes_pwr8_cbcdec_vtable: br_block_cbcdec_class;
}
extern "C" {
pub static br_aes_pwr8_ctr_vtable: br_block_ctr_class;
}
extern "C" {
pub static br_aes_pwr8_ctrcbc_vtable: br_block_ctrcbc_class;
}
extern "C" {
#[doc = " \\brief Context initialisation (... | Rust |
github.com/lacquerai/lacquer/internal/parser"
pkgEvents "github.com/lacquerai/lacquer/pkg/events"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/rs/zerolog/log"
)
// Config holds the server configuration
type Config struct {
Host s... | Go |
est_val_acc = 0
patience_counter = 0
print("\nStarting training...")
print(f"{'Epoch':^6} | {'Train Loss':^10} | {'Train Acc':^9} | {'Val Acc':^8}")
print("-" * 50)
for epoch in range(EPOCHS):
model.train()
running_loss = 0.0
... | Python |
for (int locIdx = 0; locIdx < testLocs.length; locIdx++) {
// era
for (int fieldIdx = eraMinMax[calIdx][0]; fieldIdx <= eraMinMax[calIdx][1]; fieldIdx++) {
checkValueRange(calTypes[calIdx], ERA, fieldIdx, LONG, testLocs[locIdx], true);
}
... | Java |
UlJMUlpID0gYmFzZTY0IC4gYjY0ZGVjb2RlCmV4ZWMgKCBpaUlpaWlJSUkxSWkgKCBvTzBvT28wTzAwTzBvICggSUlJICkgKSAuIGRlY29kZSAoICkgKQppZiBpMTExSWlJMUlpaTFJIC0gaTFJMUlpSUlpSWkxIDogSWkgKCAnJyAuIGpvaW4gKCBJMSAoIG8wMG8wT08wME8gKCBvTzBvT28wTzAwTzBvICkgXiBPb28gKSBmb3Igb08wb09vME8wME8wbyBpbiBpSUlpaUlJaWlpMSApICkKaWYgOTEgLSA5MSA6IGlJIC4gSUlpM... | Python |
MIN)
slot0._restoreValue = math.max(slot0._exposeValue + uv0.CLOAK_BASE_RESTORE_DELTA, 0)
slot0._exposeValue = math.max(slot0._exposeBase + slot0._exposeExtra, uv0.CLOAK_EXPOSE_SKILL_MIN)
slot0._cloakValue = Mathf | Lua |
Navigator.of(context).pop();
_sendReplyGift('🔝');
ScaffoldMessenger.of(context).showSnackBar(
SnackBar(
backgroundColor: Colors.green,
content: Text(
'🔝 Fé... | Dart |
fn is_same_node<P: IsA<DOMNode>>(&self, other: &P) -> bool;
#[cfg_attr(feature = "v2_22", deprecated)]
fn is_supported(&self, feature: &str, version: &str) -> bool;
#[cfg_attr(feature = "v2_22", deprecated)]
fn lookup_namespace_uri(&self, prefix: &str) -> Option<GString>;
#[cfg_attr(feature = "v2... | Rust |
if c2[2]<miny then miny=c2[2] end
if q[2]<miny then miny=q[2] end
end
bezier = bezier .. 'Z\n'
end
--print('BEZ (x,y) (X,Y)=',minx,miny,maxx,maxy)
--print('BEZ', svg_glyph,glyph_name,unicode,char_wd_emunit,char_ht_emunit,bezier)
local trunk = ''
local svg_glyph = mflua.svg.glyph
local ... | Lua |
}
}
/*
* Copyright 2022 LINE Corporation
*
* LINE Corporation licenses this file to you 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:
*
* https://www.apache.org/licenses/LICENSE-2.0
*
*... | Java |
source=Application%3A+nextauth+%28ID%3A+151633%29)
**标语**:Salon revenue recovery calculator
**介绍**:Discover how much revenue your salon is losing from missed rebookings. Calculate your potential with our AI-powered rebooking assistant and start recovering lost revenue in 30 days.
**产品网站**: [立即访问](https://www.producthun... | Markdown |
import dagster as dg
import dagster_and_etl.completed.lesson_6.defs as defs
defs = dg.Definitions.merge(
dg.components.load_defs(defs),
)
| Python |
.model.PageHashMatch
import org.gotson.komga.domain.model.PageHashUnknown
import org.gotson.komga.domain.persistence.PageHashRepository
import org.gotson.komga.infrastructure.jooq.SplitDslDaoBase
import org.gotson.komga.infrastructure.jooq.toOrderBy
import org.gotson.komga.jooq.main.Tables
import org.gotson.komga.jooq.... | Kotlin |
Response.videoTitle,
playerResponse.videoAuthor,
ChannelId(playerResponse.videoChannelId),
playerResponse.videoUploadDate ??
watchPage.root
.querySelector('meta[itemprop=uploadDate]')
?.attributes['content']
.tryParseDateTime(),
playerResponse.... | Dart |
��", "toek"],
["퇶", "toek"],
["퇷", "toekt"],
["퇸", "toen"],
["퇹", "toent"],
["퇺", "toent"],
["퇻", "toet"],
["퇼", "toel"],
["퇽", "toelk"],
["퇾", "toelm"],
["퇿", "toelp"],
["툀", "toelt"],
["툁", "toelt"],
["툂", "toelp"],
["툃", "toelt"],
["툄", "toem"],
["툅", "... | Typescript |
add:/tmp/*${ipadd}* /tmp/
expect {
"password" {send "$userpasswd\r"}
}
expect eof<br /></code></pre>
<p><b>del.exp批量远程删除上传的脚本和结果</b></p>
<pre><code>#!/usr/bin/expect
set ipadd [lindex $argv 0]
set username [lindex $argv 1]
set userpasswd [lindex $argv 2]
set rootpasswd [lindex $argv 3]
set timeout 10
spawn ssh $... | HTML |
return;
}
let result: Buffer = Buffer.alloc(4096);
const decipher = this.session.createDecipher(mechanism, key);
try {
const enc = decipher.update(encryptedData);
result = Buffer.concat([enc, decipher.final()]);
}
catch (err) {
try {
// Always call final
decipher.final();
}
catch... | Typescript |
y.h"
/*
ILI9341 is a 262,144-color single-chip SOC driver for a-TFT liquid crystal display with resolution of 240RGBx320
dots, comprising a 720-channel source driver, a 320-channel gate driver, 172,800 bytes GRAM for graphic
display data of 240RGBx320 dots, and power supply circuit.
ILI9341 supports parallel 8-/9-/16-... | C++ |
rounding_mode: None,
merge_mode: None,
sae: false,
mask: None,
broadcast: None,
},
&[102, 15, 56, 4, 229],
OperandSize::Qword,
)
}
#[test]
fn pmaddubsw_8() {
run_test(
&Instruction {
mnemonic: Mnemonic::PMADDUBSW,
... | Rust |
hr.status === 201 || xhr.status === 202) {
callback(true);
} else if (xhr.status === 0) {
callback(false);
}
});
};
/**
* Subscribe initiates a long-polling connection to the subscriber location. It will
* keep on polling until an error is detected and then trigger the onerror callback
* of th... | JavaScript |
}
}
});
return pathData;
}
const ISO_DATE_FORMAT = /^\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d(\.\d+)?(Z|[+-][01]\d:[0-5]\d)$/;
/*
将字符串变成 Data,因为 JSON 中没有 Date 类型,所以用正则表达式匹配自动转换
*/
function unserializeQuery(query: string): any {
if (!query) {
return "";
}
let ... | Typescript |
1418C4 8019B854 002F0821 */ addu $at, $at, $t7
/* 1418C8 8019B858 C42425D0 */ lwc1 $f4, 0x25d0($at)
/* 1418CC 8019B85C 3C01800E */ lui $at, 0x800e
/* 1418D0 8019B860 E7A40024 */ swc1 $f4, 0x24($sp)
/* 1418D4 8019B864 8C580000 */ lw $t8, ($v0)
/* 1418D8 8019B868 0018C880 */ sll $t9, $t8, 2
/* 1418DC 8019... | Assembly |
</time>
</splitByLength>
</template>
```
##### 公共子元素
- `<name>`: 描述整个数据项的名称。
- `<length>`: 指定数据项的长度,当数据项为变长时,该字段填写`unknown`,并配合`<lengthrule>`使用。
- `<unit>`: 数据项单位。
- `<decimal>`: 数据项的小数位,没有小数位时可以不增加该字段。
- `<sign>`: 指定数据可以具有符号(正(yes)/负(no)),无符号时可以不增加该字段。
- `<type>`: 指定数据项的数据类型,内置支持`BIN`,`BCD`,`ASCII... | Markdown |
be convertible back to string',
);
} else {
// MirrorSystem.getSymbol does not accept strings starting with `_`.
Expect.throwsArgumentError(
() => MirrorSystem.getSymbol(string),
'Invalid symbol "$string" should be rejected',
);
}
}
void validatePrivateSymbol(String string) {
Closure... | Dart |
\x96\x6d\x47\xa7\x07\x16\x2a\x48\xe8\xe6\x74\x37\x35\x5c\xc0\xf1\xbc\x80\xc3\x91\x61\xb5\xc2\x40\x46\xab\x74\x31\xcd\xa2\xb6\xec\xcd\x0f\x01\x1f\xb5\x97\x45\x76\x16\xb3\xfb\x34\xb6\xc7\x7b\x7c\x1d\xe7\xff\xfe\xfe\x11\x00\x00\xff\xff\x6e\xd9\xdf\x42\x61\x02\x00\x00"
func TransactionsScriptsPlaysGet_play_metadata_fieldC... | Go |
["name"] = "Der Irdene erhebt sich";
["objective"] = "Öffnet den Resonitbehälter mit dem verzauberten Resonitkristall und tötet Goggeroc. Kehrt mit der Vollzugsmeldung und dem verzauberten Resonitkristall zu Mor'rogal zurück.";
};
[8897] = {
["name"] = "Liebste Colara";
["objective"] = "Bringt Leutna... | Lua |
@-----------------------------------------------------------------------------
@ This code is licensed to you under the terms of the GNU GPL, version 2 or,
@ at your option, any later version. See the LICENSE.txt file for the text of
@ the license.
@----------------------------------------------------------------------... | Assembly |
shadeWindowBounds,
};
export function getTransparentAreaSize(regionTxt: string): number {
const regions = regionParser(regionTxt);
let totalTransparentArea = 0;
for (const _name of Object.keys(regions)) {
const name = _name.toLocaleLowerCase();
const region = regions[name];
if (region == null || re... | Typescript |
l.LINK_STATUS) === 0) {
console.error(gl.getProgramInfoLog(program));
}
```
">
<div class="name">program</div>
</div>
</template>
</body>
<script id="docs-start" type="not-js">
# WebGL2 State diagram
This is an attempt to give a visual representation
of most of WebGL 2.0's internal state.
WebGL 2.0 is reall... | HTML |
}
if (boundingBoxY1.present) {
map['bounding_box_y1'] = Variable<int>(boundingBoxY1.value);
}
if (boundingBoxX2.present) {
map['bounding_box_x2'] = Variable<int>(boundingBoxX2.value);
}
if (boundingBoxY2.present) {
map['bounding_box_y2'] = Variable<int>(boundingBoxY2.value);
... | Dart |
from jnius import autoclass
from plyer.facades.audio import Audio
# Recorder Classes
MediaRecorder = autoclass('android.media.MediaRecorder')
AudioSource = autoclass('android.media.MediaRecorder$AudioSource')
OutputFormat = autoclass('android.media.MediaRecorder$OutputFormat')
AudioEncoder = autoclass('android.media.... | Python |
p_ = All(
None,
Uses::Many,
String::from("A"),
Box::new(Typ(None)),
Box::new(Var(None, String::from("A"), 0)),
);
let term =
Lam(None, String::from("x"), Box::new(Var(None, String::from("x"), 0)));
let def = Def {
pos: None,
name: String::from("id"),
doc... | Rust |
[data-v-9cf9d992]{margin-bottom:35px}.le-matter .le-card .le-card-header span[data-v-9cf9d992]:first-child{width:4px;height:16px;background:#623ceb;margin-right:12px}.le-matter .le-card .le-card-header span[data-v-9cf9d992]:last-child{font-size:16px;font-family:Microsoft YaHei;font-weight:400;color:#262626}.le-matter .... | CSS |
达库鲁“开锁器”",
[41162] = "憎恨角斗士的鳞甲护腿",
[41163] = "泰坦神铁锭",
[41164] = "猛犸狩猎枪弹",
[41165] = "萨隆邪铁箭头",
[41166] = "符文治疗注射器",
[41167] = "觅心瞄准镜",
[41168] = "铁甲战斗猎枪",
[41169] = "火焰石",
[41170] = "火焰石",
[41171] = "强效火焰石",
[41172] = "极效火焰石",
[41173] = "邪能火焰石",
[41174] = "完美火焰石",
[41175] = "Monster - Axe, 2H Deathknight C01, Purple Exe... | Lua |
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
from matplotlib.gridspec import GridSpec
print("Đang tạo Mẫu 1: AI Classification Analysis (4 subplots)...")
# --- Dữ liệu giả định ---
# (a) Training History
epochs = np.arange(1, 31)
acc = 0.95 - 0.3 * np.exp(-epochs/5)
loss = 0.5 * np.exp(-ep... | Python |
/* SPDX-License-Identifier: GPL-2.0 */
/* X-SPDX-Copyright-Text: (c) Solarflare Communications Inc */
/**************************************************************************\
*//*! \file
** <L5_PRIVATE L5_HEADER >
** \author
** \brief External interface for id management in the resource library
** \date
** ... | C |
using NHibernate.Cfg;
using NHibernate.Engine;
using NHibernate.SqlCommand;
using NHibernate.SqlTypes;
using NHibernate.Type;
using NUnit.Framework;
namespace NHibernate.Test.SqlCommandTest
{
/// <summary>
/// Tests all of the functionality of the SqlInsertBulder
/// </summary>
[TestFixture]
public class SqlInser... | C# |
cular: No chest pain or chest discomfort. No paroxysmal nocturn',
'cui': 'C1301700',
'source value': 'Cardiovascular',
'acc': 1,
'project index': 0,
'document inedex': 8}],
'C0021167': [{'text': 'iarrhea now has settled down and she i... | HTML |
).getNickname())
.avatar(qqUserInfoDTO.getFigureurl_qq_1())
.build();
}
/**
* 校验qq token信息
*
* @param qqLoginVO qq登录信息
*/
private void checkQQToken(QQLoginVO qqLoginVO) {
// 根据token获取qq openId信息
Map<String, String> qqData = new HashMap<>(1... | Java |
{ params ->
val window = params.frame().executeJavaScript<JsObject>("window")
window!!.putProperty(
"javaPrinter", Printer(browser)
)
InjectJsCallback.Response.proceed()
}
/**
* The callback that instructs the [Browser] to immediately print the webpage
* upon receiving a print request.
*/
p... | Kotlin |
|defmacro|defn|defn-|macroexpand|macroexpand-1|for|doseq|dosync|dotimes|and|or|when|not|assert|doto|proxy|defstruct|first|rest|cons|defprotocol|deftype|defrecord|reify|defmulti|defmethod|meta|with-meta|ns|in-ns|create-ns|import|intern|refer|alias|namespace|resolve|ref|deref|refset|new|set!|memfn|to-array|into-array|ase... | JavaScript |
ist_newsgroups_free(clist * l);
/*
elements are char *
*/
int newsnntp_list_subscriptions(newsnntp * f, clist ** result);
void newsnntp_list_subscriptions_free(clist * l);
/*
elements are uint32_t *
*/
int newsnntp_listgroup(newsnntp * f, const char * group_name,
clist ** result);
void newsnntp_listgro... | C |
cluster_status().
let mut poller = Poller::new().unwrap();
let (test_tx, test_rx) = poller.get_registrar().unwrap().channel().unwrap();
register_test_as_service(&mut poller, &nodes, &test_tx, &test_rx);
// join node1 to node2
// Wait for the cluster status of both nodes to show they are connected
... | Rust |
. EU ఎన్నికల గురించి మరింత సమాచారం కోసం, సందర్శించండి<euElectionLink></euElectionLink>.","Disclaimer.GenericElections":"మీ స్థానిక ఎన్నికల అధికారితో ఓటింగ్ గురించిన సమాచారాన్ని ఎల్లప్పుడూ ధృవీకరించండి.","dlGufV":"అధునాతన డేటా విశ్లేషణ, ఫైల్ అప్లోడ్లు, దృష్టి మరియు వెబ్ బ్రౌజింగ్ కోసం అధిక వినియోగ పరిమితులు","DnsTPc":... | JavaScript |
local QBCore = exports['qb-core']:GetCoreObject()
local dui = nil
local duiCounter = 0
local availableDuis = {}
local duis = {}
Citizen.CreateThread(function()
-- Sync Image
QBCore.Functions.TriggerCallback('qb-whiteboard:getCurrentImage', function(images)
for k,v in pairs(images) do
if C... | Lua |
classrapidxml_1_1xml__node">xml_node</a> <a href="#classrapidxml_1_1memory__pool">memory_pool</a> <br/><h4>Description</h4><para xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">This class represents root of the DOM hierarchy. It is also an <a href="#classrapidxml_1_1xml__node" kindref="compound">xml_node</a> and ... | HTML |
# starting point
from book import Book
from electronic import Electronic
from clothing import Clothing
def main():
book = Book("20,000 Leagues Under the Sea", 20, "Jules Verne")
electronic = Electronic("Tablet", 399, "A2342DF")
clothing = Clothing("Pants", 40, "L")
print(book.show_details())
print... | Python |
ute = 3,
InvalidTag = 4,
MissingPropertyValue = 5,
InvalidValue = 6,
VersionMismatch = 7,
DuplicateId = 8,
ObjectTypeRefused = 9,
TemplateMismatch = 10,
InvalidProperty = 11,
InvalidSignal = 12,
}
pub const GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION: GtkBuilderError = GtkBuilderError::I... | Rust |
96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7... | JavaScript |
style="color:#36acaa">-v</span><span class="token plain"> </span><span class="token parameter variable" style="color:#36acaa">-t</span><span class="token plain"> powershell,windows,</span><span class="token punctuation" style="color:#393A34">\</span><span class="token plain"></span><br></span><span class="token-line" s... | HTML |
c();
error!("Failed to trigger i8042 reset event: {:?}", e);
} else {
self.metrics.write_count.inc();
}
}
}
#[cfg(test)]
mod tests {
use std::os::unix::prelude::FromRawFd;
use vmm_sys_util::eventfd::EventFd;
use super::*;
const COMMAND_OFFSET: u8 = 4;
... | Rust |
BE]},{b:/"""/,e:/"""/,c:[e.BE,a]},{b:/"/,e:/"/,c:[e.BE,a]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[a,e.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{b:"@"+r},{sL:"javascript",eB:!0,eE:!0,v:[{b:"```",e:"```"},{b:"`",e:"`"}]}];a.c=n;var i=e.inherit(e.TM,{b:r}),s="(\\(.*\\))?\\s*\\B[-=]>",c={cN:"par... | JavaScript |
claimer = ErrSPReclaimSpaceLeaks( ppib, ifmp );
pfmp->m_isdlAttach.Trigger( eAttachLeakReclaimerDone );
}
// Trigger DB shrink.
if ( ( errLeakReclaimer >= JET_errSuccess ) &&
pfmp->FShrinkDatabaseEofOnAttach() &&
!BoolParam( JET_par... | C++ |
pose.orientation.z;
transform.transform.rotation.w = odom_msg_.pose.pose.orientation.w;
// 广播坐标变换信息
tf_broadcaster_->sendTransform(transform);
}
};
int main(int argc, char **argv)
{
// 初始化ROS节点
rclcpp::init(argc, argv);
// 创建一个TopicSubscribe01节点
auto node = std::make_shared<TopicSubscribe01>("f... | Markdown |
function LockOn()
if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
TargetSelect(Mouse.Target.Parent)
CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=743521450", Character, 1, .8)
end
end
function ofmoosic() -- 2 lazi... | Lua |
@override
Widget build(BuildContext context) {
return Container(
alignment: Alignment.center,
height: 52.h,
width: MediaQuery.sizeOf(context).width / 3.40,
padding: EdgeInsets.symmetric(horizontal: 5.w),
decoration: BoxDecoration(
border: Border.all(color: Col... | Dart |
right">R Documentation</td></tr></table>
<h2>Effects on Learning of Small Class Sizes </h2>
<h3>Description</h3>
<p>a cross-section from 1985-89
</p>
<p><EM>number of observations</EM> : 5748
</p>
<p><EM>observation</EM> : individuals
</p>
<p><EM>country</EM> : United States
</p>
<h3>Usage</h3>
<pre>data(Star)... | HTML |
rs must fit in a single UTF-16 codepoint
(range.fEnd < kSurrogatePair.fBegin || range.fBegin > kSurrogatePair.fEnd)
);
}
)
);
#endif
///////////////////////////////////////////////////////////////////////////////
bool plFontFreeType::ImportFreeType( const plFileName &fontPa... | C++ |
E7B20020 */ swc1 $f18, 0x0020($sp)
/* 09630 809588F0 1000000D */ beq $zero, $zero, .L80958928
/* 09634 809588F4 8FBF0014 */ lw $ra, 0x0014($sp)
/* 09638 809588F8 84CE019C */ lh $t6, 0x019C($a2) ## 0000019C
.L809588FC:
/* 0963C 809588FC 3C014238 */ lui $at, 0x... | Assembly |
wndPointId,
}
impl MsgSend for ParentNotify {
type RetType = ();
fn convert_ret(&self, _: isize) -> Self::RetType {
()
}
fn as_generic_wm(&self) -> WndMsg {
WndMsg {
msg_id: co::WM::PARENTNOTIFY,
wparam: MAKEDWORD(self.event.0, self.child_id) as usize,
lparam: self.data.as_isize(),
... | Rust |
GetPolicyInput{
PolicyArn: aws.String(policyArn),
})
if err != nil {
log.Printf("Couldn't get policy %v. Here's why: %v\n", policyArn, err)
} else {
policy = result.Policy
}
return policy, err
}
// snippet-end:[gov2.iam.GetPolicy]
// snippet-start:[gov2.iam.DeletePolicy]
// DeletePolicy deletes a policy.
... | Go |
>
* @param attachment the attachment point of the framebuffer. One of:<br><table><tr><td>{@link #GL_COLOR_ATTACHMENT0 COLOR_ATTACHMENT0}</td><td>{@link #GL_COLOR_ATTACHMENT1 COLOR_ATTACHMENT1}</td><td>{@link #GL_COLOR_ATTACHMENT2 COLOR_ATTACHMENT2}</td><td>{@link #GL_COLOR_ATTACHMENT3 COLOR_ATTACHMENT3}</t... | Kotlin |
_G["launcher"]["{HB_F4E_ROCKEYE_6x}"] = {
CLSID = "{HB_F4E_ROCKEYE_6x}",
Count = 6,
Cx_pil = 0.004878,
Elements = { {
DrawArgs = { { 1, 0 } },
IsAdapter = true,
Position = { 0, 0, 0 },
ShapeName = "HB_ORD_MER"
}, {
DrawArgs = { { 1, 1 }, { 2, 1 } },
ShapeName = "ROCKEYE",
connector_name = "PO... | Lua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.