content
stringlengths
2
6.21k
label
stringclasses
16 values
/ Copyright (c) 1990 UNIX System Laboratories, Inc. / Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T / All Rights Reserved / THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF / UNIX System Laboratories, Inc. / The copyright notice above does not evidence any / actual or intended publication of such source code. ...
Assembly
18, 216, 1) 40%, rgba(47, 201, 226, 1) 50%, rgba(28, 127, 238, 1) 60%, rgba(95, 21, 242, 1) 70%, rgba(186, 12, 248, 1) 80%, rgba(251, 7, 217, 1) 90%, rgba(255, 0, 0, 1) 100%) 0/200%; &:hover { background: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, ...
CSS
Ok(TestStruct(value.parse()?)) } } impl fmt::Display for TestStruct { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "{}", self.0) } } forward_from_str_to_serde!(Test); forward_display_to_serde!(Test); forward_from_str_to_serde!(Test2, Test2Error); forward_display_to_serde!...
Rust
GRlZnM+PC9kZWZzPgogICAgPGcgaWQ9InNlbGVjdCIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9Imlvcy1zZWxlY3QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xOTguMDAwMDAwLCAtMTE0LjAwMDAwMCkiIGZpbGw9IiM3NTc1NzUiPgogICAgICAgICAgICA8ZyBpZD0ibWVudS1iYXItKy1vcGVuLW1lbnUiIHRyYW5zZm9ybT0id...
CSS
reateCommit(r *git.Repository) (*git.Oid, error) { parentCommit, err := op.findParentCommit(r) check(err, "Failed to lookup parent commit") index, err := op.createIndex(r, op.Payload, parentCommit) check(err, "Failed to create index from payload.") defer index.Free() treeId, err := index.WriteTreeTo(r) check(e...
Go
import datetime from dataclasses import dataclass from decimal import Decimal from typing import Any, ClassVar from urllib.parse import urljoin import holidays import httpx from moex_alerter_bot.config import MOEX_BOARD_ID, MOEX_BOARD_NAME, MOEX_ENGINES, MOEX_MARKETS """ SECID - Идентификатор финансового инструмента...
Python
// Breadcrumbs $breadcrumb-padding-vertical: map-get($map: $cdk-size, $key: "size-5"); $breadcrumb-padding-horizontal: map-get($map: $cdk-size, $key: "size-5"); $breadcrumb-bg: transparent; $breadcrumb-color: map-get($map: $cdk-primary, $key: "primary-700"); $breadcrumb-active-color: map-get($map: $cdk-primary, $key...
CSS
0x13 beq _0221DA88 b _0221DA86 _0221DA5A: add r5, r4, #0 mov r6, #1 b _0221DA88 _0221DA60: ldr r0, _0221DAE4 ; =0x02241AC0 ldr r0, [r0] cmp r0, #0 beq _0221DA6E add r5, r4, #0 ldr r6, [sp, #4] b _0221DA88 _0221DA6E: add r0, r7, #0 add r1, r4, #0 ldr r2, _0221DAD4 ; =0x00030000 bl ov13_0221DE44 cmp r0, ...
Assembly
*(here->B1DPbPtr +1) += m * ((-xcdgb-xcddb-xcdsb) * s->imag); *(here->B1DPspPtr ) += m * (xcdsb * s->real); *(here->B1DPspPtr +1) += m * (xcdsb * s->imag); *(here->B1SPgPtr ) += m * (xcsgb * s->real); *(here->B1SPgPtr +1) += m * (xcsgb * s->imag); ...
C
PA7, 0, A15, PA7, 0 GCOMPLEXMADD GXCONJ1, GCONJ1, \ xvf, s, TP0, A0, X0, TP0, TMP0, TMP1, TMP2, TP0, A1, X1, TP0, TMP0, TMP1, TMP2, \ TP1, A2, X0, TP1, TMP0, TMP1, TMP2, TP1, A3, X1, TP1, TMP0, TMP1, TMP2, \ TP2, A4, X0, TP2, TMP0, TMP1, TMP2, TP2, A5, X1, TP2, TMP0, TMP1, TMP2, \ TP3, A6, X0...
Assembly
query(func.args(" { 1: 2, 3: 4 }") + "?key", "1\n3"); query(func.args(" { 1: 2, 3: 4 }") + "?value", "2\n4"); check("map:build(1 to 10, string#1) => " + func.args() + " => count()", 10, type(func, "(record(key as xs:string, value as xs:integer+))*")); } /** Test method. */ @Test public void p...
Java
ic WAIT_QUEUE: RefCell<BTreeMap<usize, Rc<RefCell<Task>>>> = RefCell::new(BTreeMap::new()); static TASK_COUNTER: Cell<usize> = Cell::new(0); } pub fn spawn<F>(future: F) -> JoinHandle<F::Output> where F: Future + 'static, F::Output: 'static, { let (task, handle) = joinable(future); RUNNING_...
Rust
et { fixed (byte* ptr = name) { return SHVDN.StringMarshal.PtrToStringUtf8(new IntPtr(ptr)); } } } } [StructLayout(LayoutKind.Explicit, Size = 0x110)] internal unsafe struct DlcWeaponComponentData { ...
C#
{ return; } // already disposed using var connection = ZooKeeperConnection.DefaultPool.ConnectAsync( new ZooKeeperConnectionInfo(ZooKeeperPorts.DefaultConnectionString, TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(30), new EquatableReadOnlyList<ZooKeeperAuthInfo>(Array.Empty<ZooKeepe...
C#
ath, 'w') as f: json.dump(rows, f, indent=2) print(f"Ledger exported to {export_path}") return str(export_path) def archive_entry(self, entry_id: int, secret_key: str, archive_by: str = "admin") -> str: if archive_by == "admin" and secret_key != ADMIN_SECRET_KEY: ret...
Python
c.insets = new Insets(4, 4, 4, 4); gbc.anchor = GridBagConstraints.CENTER; _autoCommitChk.addChangeListener(_controlMediator); _stmtSepField.setColumns(5); _limitSQLResultTabsChk.addChangeListener(_controlMediator); _limitSQLResultTabsField.setColumns(5); gbc.gridx = 0; gbc.gridy =...
Java
[ '但是與氣流相反的方向准沒錯', [ '準', ], ], [ '「干吧」', [ '幹', ], ], [ '快干趴那種傢伙', [ '幹', ], ], [ '雖然大概沒機會再干一次了」', [ '幹', ], ], [ '反正在船上什麼也干不了吧', [ '幹', ], ], [ '她不會干那種下流的事', [ '幹', ], ], [ '為你們擦屁股的活會由我來干', [ '幹', ], ], [ '“鬼知道啊!你去干呀!”', [ '幹...
Typescript
itSorts); const updateFilter = React.useCallback( (_filter: Filter) => { setFilter({ ...filter, ..._filter }) setPagination(({...pagination, offset: 0}) as unknown as Pagination); }, [filter, pagination] ); const updatePagination = React.useCallback( (_paginatio...
Typescript
stHoverTarget: View; protected reset() { this.isClickCandidate = true; this.lastHoverTarget = null; } public handleActionEvent(e: ActionEvent) { if (e.section !== 'select') return; switch (e.name) { case 'all': this.select(this.controller.canvas.getAll()); break; cas...
Typescript
.87013 12.980058 200.84224 13.085938 200.80273 L 13.085938 200.37891 C 13.085938 200.22863 13.111295 200.08474 13.130859 199.93945 L 12.919922 199.93945 z M 19.882812 199.93945 C 19.902378 200.08474 19.927734 200.22863 19.927734 200.37891 L 19.927734 200.79102 C 20.168811 200.87511 20.455966 200.91694 20.613281 201.066...
CSS
// .addProperty(KebaEvcs.Property.IP.name(), "1.1.1.2") // .addProperty(KebaEvcs.Property.READ_ONLY.name(), false) // .build()) // .build()) .build().toString(); this.appManagerTestBundle.modified(MyConfig.create() // .setKey("0000-0000-0000-0000") // .setApps(apps) // ...
Java
0,"\\ No newline at end of file"),(!A&&!ge||!Ae)&&f.push("\\ No newline at end of file")}c.push(_),u=0,g=0,f=[]}h+=T.length,p+=T.length}},y=0;y<a.length;y++)C(y);return{oldFileName:r,newFileName:e,oldHeader:n,newHeader:s,hunks:c}}var Z0=Pe(x$()),_0=Pe(Jg()),F$=Pe(Xr()),zN=J("util"),WN=Pe(J("v8")),VN=Pe(J("zlib"));var U...
JavaScript
57 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 8...
CSS
l(text.charCodeAt(2), 10) assert.deepStrictEqual(scanner.pos(), { pos : 0, line : 1, col : 1 }) assert.strictEqual(scanner.tryMatchLineBreak(), true) assert.deepStrictEqual(scanner.pos(), { pos : 2, line : 2, co...
Typescript
2113', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'1022113', '', '你不要太乱来,我不想再像那一次一样帮你善后。', '', '', '', '', '', '', '', '', '', '2024001', '', '', '2', '', '乌琳', 'Uillean', '', '', '4', '', '', '', '', '', '', '', '', '1022114', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ''}, {'10...
Lua
�� 높이" L["Maximum stack size"] = "최대 중첩 크기" L["Merge bag types"] = "가방 유형 병합" L["Merge free space"] = "빈 칸 합치기" L["Merge incomplete stacks with complete ones."] = "불완전 중첩을 온전한 하나로 합칩니다." L["Merge stackable items"] = "중첩 가능한 아이템 합치기" L["Merge unstackable items"] = "겹칠 수 없는 아이템 합치기" L["Merged sets"] = "장비 구성 병합" L["MININ...
Lua
import torch import litgpt from litgpt.lora import GPT, merge_lora_weights from litgpt.data import Alpaca2k import lightning as L class LitLLM(L.LightningModule): def __init__(self): super().__init__() self.model = GPT.from_name( name="Llama-3.2-1B", lora_r=32, ...
Python
screen to a Raspberry using the I2C bus (SCL and SDA pin). We also made a variant to support the NiceRF SX1280 module which provides LoRa modulation on the 2.4GHz band (I really don't know why the SX1280 did not use the same pinout than the SX1262 which is similar to the RFM95W!). All these breakout PCBs are illustra...
Markdown
// Copyright 2022 The Chromium 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
C
" + " indexCount: 8,\n" + " indexSpacing: 1,\n" + " index2Index: 200,\n" + " lastIndex: 3\n" + " },\n" + " dataFormat: 1\n" + "}\n" + "# position:...
Java
http2 的工作流程](#什么是-http什么是-http2说下-http-与-http2-的工作流程) - [客户端如何发送 http 请求](#客户端如何发送-http-请求) - [使用正则去掉 Dom 中的内联样式](#使用正则去掉-dom-中的内联样式) - [写一个匹配 ip 地址的正则](#写一个匹配-ip-地址的正则) - [写一个匹配 Html 标签的正则](#写一个匹配-html-标签的正则) - [使用 typescript 的装饰器能否实现函数调用前出现加载动画,调用后关闭,如果能,这个加载动画的控制代码是放在哪种装饰器上呢](#使用-typescript-的装饰器能否实现函数调用前出现加载动画调用后关闭...
Markdown
Forma)); } q.where(whereList.toArray(new Predicate[0])); try { return em().createQuery(q).getSingleResult(); } catch (NoResultException ne) { return null; } } public ExFormaDocumento consultarExFormaPorId(Long idFormaDoc) { CriteriaQuery<ExFormaDocumento> q = cb().createQuery(ExFormaDocumento.cla...
Java
#include "../core.h" #define HASH_C 1 #include "hash.h" #include "time.h" B asNormalized(B x, usz n, bool nanBad); // from search.c NOINLINE u64 bqn_hashObj(B x, const u64 secret[4]) { // TODO manual separation of atom & arr probably won't be worth it when there are actually sane typed array hashing things if (isArr...
C
15.7 所示。可以使用背面三角形的斜率来调整多边形向前的偏移量,同时线条的粗细也将取决于正面三角形的斜率。 ![图15.8:三角形扩展技术(Triangle fattening)。左侧:一个背面三角形按照其平面进行扩展,其中三角形的每个边缘在世界空间中的偏移量都不同,从而使得最终生成的边缘在屏幕空间中具有相同的厚度。然而对于细长的三角形而言,这个技巧将会失效,因为其中一个角会被过分拉长。右侧:将三角形的边缘进行扩展,并将其连接形成斜切角,从而避免这个问题。](https://ngte-superbed.oss-cn-beijing.aliyuncs.com/book/Real-Time-Rendering/images/Cha...
Markdown
, ) : Action<Boolean>() { @TgAPI.Name("unbanChatMember") override val method = "unbanChatMember" override val returnType = getReturnType() init { parameters["user_id"] = userId.toJsonElement() if (onlyIfBanned != null) parameters["only_if_banned"] = onlyIfBanned.toJsonElement() } } ...
Kotlin
/* * Copyright 2001-2018 Adrian Thurston <thurston@colm.net> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal in the Software without restriction, including without limitation the * rights to use, cop...
C
chapter.title, order: chapter.order, ), ) .toList(), ), ); context.pop(); Toast.show(message: "已添加到下载队列"); } @override void initState() { super.initState(); initDownloadedChapters(); } @override Widget build(Bu...
Dart
? Colors.red.withOpacity(0.8) : Colors.grey.withOpacity(0.2), borderRadius: const BorderRadius.all(Radius.circular(8.0))), child: const Center( child: Icon( ...
Dart
. // TODO: implement ability to remove peers too func (hvs *HeightVoteSet) SetPeerMaj23( round int32, voteType tmproto.SignedMsgType, peerID types.NodeID, blockID types.BlockID) error { hvs.mtx.Lock() defer hvs.mtx.Unlock() if !types.IsVoteTypeValid(voteType) { return fmt.Errorf("setPeerMaj23: Invalid vote typ...
Go
table, div, p, dl { font-family: 'DejaVu Sans', sans-serif; } p.reference, p.definition { font-family: 'DejaVu Sans', sans-serif; } .title { font-family: 'DejaVu Sans', sans-serif; } pre.fragment { font-family: 'DejaVu Sans Mono', monospace; } div.line { font-family: 'DejaVu Sans Mono', monospace; } div....
CSS
"そうなん", "そうび", "そうめん", "そうり", "そえもの", "そえん", "そがい", "そげき", "そこう", "そこそこ", "そざい", "そしな", "そせい", "そせん", "そそぐ", "そだてる", "そつう", "そつえん", "そっかん", "そつぎょう", "そっけつ", "そっこう", "そっせん", "そっと", "そとがわ", "そとづら", "そなえる", "そなた", "そふぼ", "そぼく", "そぼろ", "そまつ", "そまる", "そむく", "そむりえ", "そめる", "そもそも", "そよかぜ"...
Go
0-277.5c0-17-6.7-33.3-18.7-45.3L258.7 18.7C246.7 6.7 230.5 0 213.5 0L64 0zM325.5 176L232 176c-13.3 0-24-10.7-24-24L208 58.5 325.5 176zM64 384l0-64c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32l0 64c0 17.7-14.3 32-32 32L96 416c-17.7 0-32-14.3-32-32zM88 64l48 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-48 0c-13.3 0-24-10.7-...
JavaScript
tor (props) { super(props) this.state = { appOpenedType: false, contentLoaded: false, displayedContentList: [], userFilter: '', loadingShareFolder: true, selectedSortCriterion: SORT_BY.LABEL, shareFolder: { isOpen: (qs.parse(props.location.search).share_folder |...
JavaScript
"_" else "") + animal val baseName = leetRandomly(adjective) + (if (adjective.length + animal.length < maxLength) random( 1, FILLER_CHARS ) else "") + leetRandomly(animal) val fillerCount = maxLength - baseName.length //Adds random prefix and suffix made up from...
Kotlin
#pragma once #include "wled.h" // the frequency to check photoresistor, 10 seconds #ifndef USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL #define USERMOD_SN_PHOTORESISTOR_MEASUREMENT_INTERVAL 10000 #endif // how many seconds after boot to take first measurement, 10 seconds #ifndef USERMOD_SN_PHOTORESISTOR_FIRST_MEASUR...
C
_segment + v2_segment + v3_segment + // + v1_body + v2_body + v3_body assert_eq!(buf.len(), 64 + v1.len() + v2.len() + v3.len() + 3 * 8); } fn assert_write_check_read<T>(input: T, header_size: Offset) where T: for<'r> Field<'r> + PartialEq + ::std::fmt::Debug, { let mut buffer = vec![0; header_size as ...
Rust
delay(5000) // 5秒超时 throw Exception("DNS解析超时") } val dnsJob = async { val inetAddress = InetAddress.getByName(hostname) inetAddress.hostAddress ?: hostname } val ip = select { timeou...
Kotlin
Helicopter(); console.log(namelessheli.description()); console.log("A new helicopter.") console.log(`Speed = ${randomheli.getSpeed()}, Color = ${randomheli.getColor()}, Material = ${randomheli.getMaterial()}`); randomheli.acceleration(10); console.log("The helicopter accelerates.") console.log(`Speed = ${randomhel...
Typescript
browser zooming or adjusting text-size.\n\n<ItemSnippet item={this.props.item} />\n\n### What to do\n\n* Implement any of the sufficient techniques of the related WCAG requirement using font size units or technology that can scale up to 200% without loss of content or functionality, and without requiring scrolling in ...
JavaScript
ta: metav1.ObjectMeta{ Name: "my-deployment-2", Namespace: ns, Labels: map[string]string{ labels.K8SCommon.PartOf: "baz", }, }, }, ), ) g.Expect(err).ShouldNot(HaveOccurred()) action := deleteresource.NewAction( deleteresource.WithDeleteResourcesTypes(&appsv1.Deployment{})...
Go
是萬有引力常數,\( c \) 是光速。 這是一組偏微分方程,它描述了重力場(時空的幾何)與物質分佈之間的相互作用。 ### 4. **張量場和偏微分方程的數值解法** 許多張量場的偏微分方程無法得到解析解,因此需要使用數值方法來求解。常見的數值方法包括: - **有限差分法(FDM)**:用於近似微分運算,適用於規則網格。 - **有限元法(FEM)**:在物理問題中使用來處理復雜邊界條件和不規則網格。 - **光滑粒子流體動力學(SPH)**:用於模擬流體和粒子系統,尤其是在天體物理中。 這些方法依賴於將連續的偏微分方程離散化,並在計算機上進行數值求解。 ### 5. **總結** - 張量場是一種在每個空間點對應...
Markdown
// White Particle // 0x0302C660 static const Vtx white_particle_vertex[] = { {{{ -15, -15, 0}, 0, { 0, 480}, {0xff, 0xff, 0xff, 0xff}}}, {{{ 15, -15, 0}, 0, { 480, 480}, {0xff, 0xff, 0xff, 0xff}}}, {{{ 15, 15, 0}, 0, { 480, 0}, {0xff, 0xff, 0xff, 0xff}}},...
C
-4a3dacafc658) | ![img](https://github.com/PKU-YuanGroup/Open-Sora-Plan/assets/88202804/4f41b432-a3ef-484e-a492-8afd8a691bf7) | ### 数据构建 **数据源**:正如上文提到,我们的数据集中超过60%为风景视频。这意味着我们的开域视频生成能力有限。然而当前的大规模开源数据集大多从YouTube爬取,尽管视频的数量多,但我们担忧视频本身的质量是否达标。因此,我们将继续收集高质量的数据集,同时也欢迎开源社区的推荐。 **Caption生成流程**:当我们训练时长增加时,我们不得不考虑更有效的视频ca...
Markdown
�的背景音乐。 | | 电影推荐 | 最近有哪些值得看的电影? | | 汽车保养 | 汽车保养应该注意哪些事项? | |文本分类| 将以下新闻分到体育、娱乐和科技三个类别中:1. 研究团队发现新材料可用于制造更耐用的运动鞋 2. 电影《流浪地球》获得了2019年度中国电影票房冠军 3. 苹果公司推出了最新款iPhone手机 | |意见征集| 如果您是某大学的校长,请问您将如何改善学校图书馆的服务? | |编辑修改| 请帮我修改下面这段话,使其更加通顺准确:“我的朋友们每天都在为我祈祷,这让我感到很窝心。”| |命名实体识别| 请找出以下句子中的人名、地名及组织名称: “张伟在北京工作,他是一名中国科学院的研究员。”| |语言翻译| ...
Markdown
t $spanned_ty:ident, kw $field:ident ) => { impl SetSpan for $spanned_ty { fn set_span(&mut self, s: Span) { self.$field.span = s; } } }; ( struct $spanned_ty:ident, field $field:ident ) => { impl SetSpan for $spanned_ty { fn set_span(&...
Rust
OutputCurrPic subs r5, r0, #0 bne .L1120 add r3, r4, #53248 add r1, r4, #61440 mov r2, #1 mov ip, #2 ldr r0, [r3, #420] str ip, [r0, #8] mov r0, r5 str r2, [r1, #672] ldr r1, [r3, #376] str r1, [r4, #244] ldr r3, [r3, #420] strb r2, [r3, #2] ldmfd sp, {r4, r5, fp, sp, pc} .L1120: ldr r2, .L1121 mov r0,...
Assembly
ef, com_tag, node_info))) } pub fn exportEnumType(EnumType(sue_ref, enumerators, attrs, node_info): EnumType) -> Vec<CTypeSpec> { let __enum = CEnum((exportSUERef(sue_ref)), (Some((__map!(exportEnumerator, enumerators)))), (exportAttrs(attrs)), ...
Rust
2 10.3.3 IMPLEMENT_BACKEND_FUNCTION(OdfDrawReader, DrawPolyline); // ODF 1.2 10.3.4 IMPLEMENT_BACKEND_FUNCTION(OdfDrawReader, DrawPolygon); // ODF 1.2 10.3.5 IMPLEMENT_BACKEND_FUNCTION(OdfDrawReader, DrawRegularPolygon); // ODF 1.2 10.3.6 IMPLEMENT_BACKEND_FUNCTION(OdfDrawReader, DrawPath); // ODF 1.2 10.3.7 IMPLE...
C++
li r30, -12 /* 80470444 0046D244 48 00 00 80 */ b lbl_804704C4 lbl_80470448: /* 80470448 0046D248 3C 1A 00 00 */ addis r0, r26, 0 /* 8047044C 0046D24C 28 00 FF FF */ cmplwi r0, 0xffff /* 80470450 0046D250 40 82 00 50 */ bne lbl_804704A0 /* 80470454 0046D254 2C 1B 00 04 */ cmpwi r27, 4 /* 80470458 0046D258 41 82 0...
Assembly
and http.Request passed to it, and then calls the handler passed as parameter to the MiddlewareFunc (closures can access variables from the context where they are created). A very basic middleware which logs the URI of the request being handled could be written as: func simpleMw(next http.Handler) http.Handler { ...
Go
local UI = Z.UI local super = require("ui.ui_subview_base") local Union_member_subView = class("Union_member_subView", super) local loopScrollRect = require("ui.component.loopscrollrect") local memberListItemTemplate = require("ui.component.union.union_member_list_item") function Union_member_subView:ctor(parent) se...
Lua
= "Estátua de Pedra Pesada", [25882] = "Estátua de Pedra Maciça", [25883] = "Estátua de Pedra Densa", [25884] = "Estátua de Pedra Primeva", [25886] = "Sinalizador de Fumaça Roxa", [25887] = "Diagrama: Sinalizador de Fumaça Roxa", [25889] = "Água Benta Draeneica", [25890] = "Diamante Fogocéu Destrutivo", [25891] = "Engu...
Lua
a defender o Rancho Ambarmanso dos Saqueadores Jubafria."}}, [25933] = {"Ajuda na pedreira", nil, {"Fale com o Encarregado Pedracenho na Pedreira Gol'Bolar."}}, [25934] = {"O primeiro gnomogen do mundo", nil, {"Consiga 1 Coração de Fogo Fulgurante"}}, [25935] = {"Filhotes famintos", nil, {"Consiga 6 Filés de Filhote d...
Lua
import argparse from copy import deepcopy import torch import torch.distributed as dist from _utils import split_1d, gather_1d from oslo.torch.distributed import ParallelContext, ParallelMode from oslo.torch.nn import VocabParallelEmbedding1D parser = argparse.ArgumentParser() parser.add_argument("--memory_priority"...
Python
dyContent(originalReq, function(postBody) { req.params = { url: self.getUrlParams(path, template), query: self.getQueryParams(req.url), body: postBody }; cb(req); }); } } /*! jQuery UI - v1.8.23 - 2012-08-15 * http...
JavaScript
garde (Nature)", [29195] = "Glyphe de sauvegarde (Arcanes)", [29196] = "Glyphe de sauvegarde (Feu)", [29197] = "Glyphe de sauvegarde (Feu)", [29198] = "Glyphe de sauvegarde (Givre)", [29199] = "Glyphe de sauvegarde (Ombre)", [29200] = "Pétoire de Falfindel", [29201] = "Fléchettes lourdes en bronze", [29202] = "Haches t...
Lua
if ( BNet_GetBNetIDAccount(editBox:GetAttribute("tellTarget")) ) then editBox:SetAttribute("chatType", "BN_WHISPER"); else editBox:SetAttribute("chatType", "WHISPER"); end ChatEdit_UpdateHeader(editBox); return; elseif ( type == "WHISPER" ) then header:SetFormattedText(CHAT_WHISPER_SEND, editBox:GetAt...
Lua
using System.IO; namespace Microsoft.ReportingServices.Rendering.WordRenderer.WordOpenXmlRenderer.Models { internal sealed class OpenXmlTableCellPropertiesModel : IHaveABorderAndShading { public enum MergeState : byte { None, Continue, Start } public enum VerticalAlign : byte { Top, Bottom,...
C#
personality_level) ic = get_ic(valid_scores) mean_of_response = append_valid_scores(mean_of_response, mean) acc_of_response = append_valid_scores(acc_of_response, accuracy) ic_of_response = append_valid_scores(ic_of_response, ic) mq = get...
Python
"wilaya_code": "06", "wilaya_name_ascii": "Béjaïa", "wilaya_name": " بجاية" }, { "id": 215, "commune_name_ascii": "Souk El Tenine", "commune_name": "سوق لإثنين", "daira_name_ascii": "Souk El Tenine", "daira_name": "سوق الإثنين", "wilaya_code": "06", "wilaya_name_ascii": "Béj...
Dart
rai.d I, N, 3 bne INCX, TEMP, .L20 bge $r0, I, .L15 LD a1, X, 0 * SIZE LD a2, X, 1 * SIZE LD a3, X, 2 * SIZE LD a4, X, 3 * SIZE LD a5, X, 4 * SIZE addi.d I, I, -1 fcvt.d.s t1, a1 LD a6, X, 5 * SIZE fcvt.d.s t2, a2 LD a7, X, 6 * SIZE fcvt.d.s t3, a...
Assembly
// 获取文件变化的时间戳 timestamp := info.ModTime().Unix() if currentTimestamp < timestamp || reload { currentTimestamp = timestamp // 如果上一次的时间戳小于当前时间戳,则刷新数据 raw, err := ioutil.ReadFile(w.path) if err != nil { ...
Markdown
* the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * AndroidIDE is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU ...
Kotlin
: Text( name, style: greyStyle, textAlign: TextAlign.start, overflow: ...
Dart
BOX_TRAITS_TEMPLATED(Box) \ BOOST_GEOMETRY_DETAIL_SPECIALIZE_BOX_ACCESS_TEMPLATED(Box, MinCorner, MaxCorner) \ }}} /*! \brief \brief_macro{box} \ingroup register \details \details_macro{BOOST_GEOMETRY_REGISTER_BOX_2D_4VALUES, box} \param Box \param_macro_type{Box} \param Point Point type reported as point_type by ...
C++
; ["secspassedu"] = 10; ["stype"] = "Macro"; ["tbuffowner"] = "Any"; ["tecount"] = 3; ["terange"] = 7; ["trg"] = "Player"; }; [20] = { ["alias"] = "Suiton (TA)"; ["condition"] = ""; ["gcd"] = "False"; ["gcdtime"] = 0.5; ["id"] = 2271; ["levelmin"] = 50; ["m1actionid"] = 2259; ...
Lua
0, [r4, #0x10] pop {r3-r4, pc} _02065778: mov r0, #0x3 add sp, #0x4 strh r0, [r4, #0x10] pop {r3-r4, pc} _02065780: add r0, r4, #0x0 bl sub_020664D8 ldr r1, _020657E4 ; =sub_02065674 ldr r2, _020657E8 ; =sub_020654B0 add r0, r4, #0x0 bl sub_02065FE4 mov r0, #0x0 add sp, #0x4 strh r0, [r4, #0x10] pop {r3-...
Assembly
} fun setType(type: String) = renderComposable(document.head!!) { MetaProperty("og:type", type) } fun setTwitterCard(card: String) = renderComposable(document.head!!) { MetaName("twitter:card", card) } fun setTwitterCreator(creator: String) = renderComposable(document.head!!) { MetaName("twitter:creator", creator...
Kotlin
// // The reason we're preferring scancodes over virtual keys is detailed here: // https://github.com/AdamsLair/duality/issues/289#issuecomment-184367749 // } private static DualityKey ParseScanCode(uint scancode) { switch (scancode) { case 0: return...
C#
rectBBox.getAttribute('x') === '0' && rectBBox.getAttribute('y') === '0' && rectBBox.getAttribute('width') === '0' && rectBBox.getAttribute('height') === '0' ) { rectBBox.setAttribute('x', x.toString()); rectBBox.setAttribute('y', y.toString()); rectBBox.setAttribute('widt...
Typescript
using log4net; using log4net.Appender; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Threading; namespace EQLogParser { /// <summary> /// Interaction logic for SplashWindow.xaml ///...
C#
} l.childIdx[child][parent][alias] = struct{}{} l.mu.Unlock() } // unlink removes the requested alias for the given parent/child func (l *linkIndex) unlink(alias string, child, parent *container.Container) { l.mu.Lock() delete(l.idx[parent], alias) delete(l.childIdx[child], parent) l.mu.Unlock() } // children ...
Go
[`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [fcfg_b6_ssize0](fcfg_b6_ssize0) module"] pub type FCFG_B6_SSIZE0 = crate::Reg<u32, _FCFG_B6_SSIZE0>; #[allow(missing_docs)] #[doc(hidden)] pub struct _FCFG_B6_SSIZE0; #[...
Rust
bp) { Some(pos) => { self.breakpoints.remove(pos); Some(bp) }, None => None, } } /// returns a Vec with breakpoints sorted ascending pub fn get(&self) -> Vec<u32> { let mut sorted = self.breakpoints.clone(); sorted...
Rust
). ### 2. Initialize the Project ```bash mkdir my-mcp-project cd my-mcp-project uv init uv venv .\.venv\Scripts\activate uv sync ``` **Note**: ### (Optional) Add further packages according to your requirements ```bash uv add <package-name> # Example: uv add langgraph ``` --- # 🧩 LangGraph Example This section c...
Markdown
e = jbvString; val.val.string.len = HSTORE_VALLEN(entries, i); val.val.string.val = HSTORE_VAL(entries, base, i); } (void) pushJsonbValue(&state, WJB_VALUE, &val); } res = pushJsonbValue(&state, WJB_END_OBJECT, NULL); PG_RETURN_POINTER(JsonbValueToJsonb(res)); } PG_FUNCTION_INFO_V1(hstore_to_jsonb_loose...
C
anguageCode: 'es', scriptCode: 'Latn'); expect(locale.format(), equals('es-Latn')); }); test('formats invalid locale as "und" (undefined)', () { const locale = Locale(' ', ' '); expect(locale.format(), 'und'); }); test('formats locale with multiple separators', () { const local...
Dart
ox-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: solid 1px #a2a2a2; } .mgwt-CheckBox-middle { position: absolute; left: 40px; height: 25px; z-index: 1; } @if user.agent safari { .mgwt-CheckBox-middle { -webkit-transition: all 0.1s ease-in-out; } } @if user.age...
CSS
romaticity; import javax.print.attribute.standard.ColorSupported; import javax.print.attribute.standard.Copies; import javax.print.attribute.standard.CopiesSupported; import javax.print.attribute.standard.Destination; import javax.print.attribute.standard.Fidelity; import javax.print.attribute.standard.Media; import ja...
Java
ade_details_tracking(report_service): """顯示交易明細追蹤""" st.subheader("📋 5.2.10.2 交易明細與資產變化追蹤") # 查詢參數 col_query1, col_query2, col_query3 = st.columns(3) with col_query1: detail_start_date = st.date_input( "查詢開始日期", value=datetime.now().date() - timedelta(days=90), ...
Python
�入,返回一个字节数组表示该字符串的二进制数据。如果转换失败,它将返回一个错误。 - StdEncoding StdEncoding是一个Base32编码器,它由RFC 4648定义。它使用ABCDEFGHIJKLMNOPQRSTUVWXYZ234567字符集进行编码,并使用=填充。它是最常用和最稳定的Base32编码方式。 - NewEncoder(enc *Encoding, w io.Writer) *Encoder NewEncoder函数创建一个Base32编码器,它从给定的io.Writer接口中写入编码数据。它接受一个编码器和一个写入器作为参数,并返回一个编码器指针。 - NewDecoder(enc *En...
Markdown
STINT_I32_UPDREF DUK_TVAL_SET_FASTINT_I32_UPDREF_ALT0 #define DUK_TVAL_SET_FASTINT_U32_UPDREF DUK_TVAL_SET_FASTINT_U32_UPDREF_ALT0 #else #define DUK_TVAL_SET_FASTINT_UPDREF DUK_TVAL_SET_DOUBLE_CAST_UPDREF /* XXX: fast-int-to-double */ #define DUK_TVAL_SET_FASTINT_I32_UPDREF DUK_TVAL_SET_DOU...
C
n-secondary: #e6e6e6; --icon-tertiary: #848484; --icon-inverted: #0a0a0a; --accent-main-highlight: #ff8800; --accent-main-bg: rgba(255, 136, 0, 0.16); --accent-positive-highlight: #00d992; --accent-positive-bg: rgba(0, 217, 146, 0.16); --accent-info-highlight: #59a8e1; --accent-info-bg: rgba(89, 168,...
CSS
_ITEM_OBJECT_NAMES ? "Perfect " : "") + "gold", "this needs refining", "", 150, 73, "items:73", false, false, 0, 16763980, true, true, true, 690)); items.add(new ItemDef((Config.S_IMPROVED_ITEM_OBJECT_NAMES ? "Perfect " : "") + "gold bar", "this looks valuable", "", 300, 79, "items:79", false, false, 0, 16763980, tru...
Java
);border-start-start-radius:var(--border-radius)}trix-toolbar .trix-button-group{border:0;margin-block-end:0}trix-toolbar .trix-button{border:0;color:var(--form-type-text-editor-toolbar-button-color);margin:0}trix-toolbar .trix-button:not(:first-child){border-inline-start:0}trix-toolbar .trix-button:hover{background:va...
CSS
using System; namespace Palmmedia.ReportGenerator.Core.Logging { /// <summary> /// Factory for loggers. /// </summary> public static class LoggerFactory { /// <summary> /// Inner factory. /// </summary> private static volatile ILoggerFactory innerFactory = new Consol...
C#
Fun, arguments)).ToString(); Console.WriteLine(result); Console.ReadLine(); } static string Style1() { return @" 竹籬上 停留著 蜻蜓 玻璃瓶裡插滿 小小 森林 青春 嫩綠的很 鮮明 百葉窗 折射的 光影 像有著心事的 一張 表情 而...
C#
, true); runTest([SetIsEqual, [4, 5], [3, 4]], {}, false); runTest([SetIsEqual, [5, 6], [3, 4]], {}, false); runTest([SetIsEqual, ['$', 'set1'], [3, 4]], {}, false); runTest([SetIsEqual, ['$', 'set1'], [3, 4]], { set1: [2, 3] }, false); runTest([SetIsEqual, ['$', 'set1'], [3, 4]], { set1: [1, 2] }, false); ...
Typescript
,236;--semi-light-blue-5: 71,173,240;--semi-light-blue-6: 115,195,244;--semi-light-blue-7: 160,216,247;--semi-light-blue-8: 207,236,251;--semi-light-blue-9: 236,247,253;--semi-light-green-0: 36,60,19;--semi-light-green-1: 56,91,29;--semi-light-green-2: 76,121,40;--semi-light-green-3: 98,151,51;--semi-light-green-4: 120...
CSS
} EnvironmentError::CannotImportPrivateSymbol(s) => { format!("Cannot import private symbol '{}'", s) } EnvironmentError::BorrowMut(ref e) => { format!("Cannot borrow environment mutably: {}", e) } }, ...
Rust