content
stringlengths
2
6.21k
label
stringclasses
16 values
for (auto k : v[s.first]) { if (visited[k] == false) { visited[k] = true; q.push({k, s.second + 1}); } } } for (int o = 1; o < n + 1; o++) { cout << result[o] << " "; } cout <<...
C++
c.921-.131,1.869,.191,2.528,.852l7.589,7.405c1.946,1.945,1.957,5.107,.032,7.057Zm-3.438-1.67l-7.475-7.412c-.223-.223-.536-.326-.847-.287l-6.115,.837-.679,6.14c-.033,.303,.071,.601,.287,.816l7.416,7.353c.569,.57,1.322,.881,2.123,.881h.01c.806-.002,1.561-.319,2.126-.893l3.167-3.208c1.155-1.17,1.149-3.067-.014-4.229Z'/%3E...
CSS
model); let t1 = c1.to_rgb(YCbCrOutOfGamutMode::Preserve); assert_relative_eq!(t1, Rgb::new(0.9206, 0.216932, 0.8544), epsilon = 1e-5); assert_relative_eq!( YCbCr::<_, &CustomYCbCrModel>::from_rgb_and_model(&t1, &model), c1, epsilon = 1e-5 ); } ...
Rust
name>src/v2_0_1/enumerations/transaction_event_enum_type.rs<gh_stars>1-10 #[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq)] pub enum TransactionEventEnumType { Ended, Started, Updated, } <reponame>LU15W1R7H/lifeash pub mod core; pub mod node; pub mod universe; pub use crate::{ co...
Rust
public void run() { while (!done) { if(LOG.isDebugEnabled()) { LOG.debug("_06: checking for the limit " + test.getLastQueued() + " and " + MAX); } if (test.getLastQueued() >= MAX) { if(LOG.isDebugEnabled()) { LOG.debug("FI: Resume packets acki...
Java
(unsafe.Pointer(&size))) } func (m *TCEFLabelButtonComponent) SetMaximumSize(size TCefSize) { if !m.IsValid() { return } imports.Proc(def.LabelButtonComponent_SetMaximumSize).Call(m.Instance(), uintptr(unsafe.Pointer(&size))) } func (m *TCEFLabelButtonComponent) GetText() string { if !m.IsValid() { return "" ...
Go
XSize); new_y = round(this->_input->GetY() * old_ysize / this->_YSize); new_z = round(this->_input->GetZ() * old_zsize / this->_ZSize); // Determine the new voxel dimensions if (new_x < 1) { new_x = 1; new_xsize = old_xsize; } else { new_xsize = this->_XSize; } if (new_y < 1) { new_...
C++
$gp, 0x90+var_80($fp)\n0x407f68: sw $v0, 0xC($s0)\n0x407f6c: lw $v0, 0x90+s($fp)\n0x407f70: nop\n0x407f74: sh $zero, 6($v0)\n0x407f78: lw $v0, 0x90+arg_4($fp)\n0x407f7c: nop\n0x407f80: bnez $v0, loc_407FBC\n0x407f84: nop\n0x407f88: lw $v0, 0x90+s($fp)\n0x407f8c: nop\n0x407f90: addiu $v0, 0...
HTML
g/openwebflow/mgr/hibernate/entity/SqlUserDetailsEntity.html#setProperty(java.lang.String, T)"><B>setProperty(String, T)</B></A> - 类 org.openwebflow.mgr.hibernate.entity.<A HREF="../org/openwebflow/mgr/hibernate/entity/SqlUserDetailsEntity.html" title="org.openwebflow.mgr.hibernate.entity 中的类">SqlUserDetailsEntity</A>...
HTML
LocalPlayer.UserId < 0 then error("GetBlockedUserIds can not be called for guests!") end return BlockingUtility:GetBlockedUserIdsAsync() end StarterGui:RegisterSetCore("PromptBlockPlayer", PromptBlockPlayer) StarterGui:RegisterSetCore("PromptUnblockPlayer", PromptUnblockPlayer) StarterGui:RegisterGetCore("GetBlock...
Lua
i2cSTA_BIT; } else { /* No more messages were found to be waiting for transaction so the bus is free. */ ulBusFree = ( unsigned long ) pdTRUE; } } else { /* There are more bytes to receive but don't ack the last byte. */ if( lBytesL...
C
group * Retrieved as a property since the composition of the DOM may change over time */ get group(): JQuery; /** * Activate a tab by it's name. This gets called automatically when a tab in the navigation is clicked, * however you may also call this function directly. */ activateTab(tab: JQuery); } /** ...
Typescript
末尾增加了一个提交 `x`。 应用 `develop` 分支的最近一次提交,可以直接使用分支名: ```bash git cherry-pick develop ``` 转移多个提交: ```bash git cherry-pick <HashA> <HashB> ``` ## 注意 - 如果您从公共分支中挑选,您应该考虑使用: ```bash git cherry-pick -x <commit-hash> ``` 这将生成一个标准化的提交消息。这样,您(和您的同事)仍然可以跟踪提交的来源,并且可以避免将来发生合并冲突。 - 如果您在提交中附加了注释,则它们不会遵循 `cherry-pick`。要将它们也带过来,...
Markdown
#include <Expr_NumericValue.hxx> #include <Expr_Sign.hxx> #include <Standard_Type.hxx> #include <TCollection_AsciiString.hxx> IMPLEMENT_STANDARD_RTTIEXT(Expr_Sign, Expr_UnaryExpression) Expr_Sign::Expr_Sign(const Handle(Expr_GeneralExpression)& exp) { CreateOperand(exp); } Handle(Expr_GeneralExpression) Expr_Sign...
C++
<span class='nav-dp-left-column'> <img src='<#=item.image.url#>' class='nav-dp-image' height='<#=item.image.height#>'/> </span> <span class='nav-dp-right-column'> <#=item.status_text#> <div class='nav-dp-secondary-row'> <a href='/yo...
HTML
function bossModPrototype:CheckDispelFilter(dispelType) if not DBM.Options.FilterDispel or self:IsPostMidnight() then return true end -- Retail - Druid: Nature's Cure (88423), Remove Corruption (2782), Monk: Detox (115450) Monk: Detox (218164), Priest: Purify (527) Priest: Purify Disease (213634), Paladin: Cleanse ...
Lua
:nth-of-type(2) .logo { animation: logo-spin infinite 20s linear; } } .card { padding: 2em; } .read-the-docs { color: #888; } @tailwind base; @tailwind components; @tailwind utilities; @layer base { :root { --background: 0 0% 100%; --foreground: 222.2 84% 4.9%; --card: 0 0% 100%; --card-...
CSS
h-lg": "\f657", "translate": "\f658", "x-lg": "\f659", "safe": "\f65a", "apple": "\f65b", "microsoft": "\f65d", "windows": "\f65e", "behance": "\f65c", "dribbble": "\f65f", "line": "\f660", "medium": "\f661", "paypal": "\f662", "pinterest": "\f663", "signal": "\f664", "snapchat": "\f665", ...
CSS
bash grub-mkconfig -o /boot/grub/grub.cfg ``` ### 使用环境 ```bash pacman -S sudo ``` 增加一个用户。 ```bash useradd -m team passwd team ``` 将其加入超级用户。 ```bash usermod -aG wheel,audio,video,storage team ``` 删除 wheel 前面的注释。 ```bash EDITOR=vim visudo ``` 安装桌面环境。 ```bash pacman -S xorg networkmanager ``` 安装 gnome。 ```bash...
Markdown
MM_MESSAGING_SERVICE.clone() }, }; pub static ref BOB_DID_DOC: DIDDoc = DIDDoc { did: "did:example:bob".into(), authentications: vec![], key_agreements: vec![ "did:example:bob#key-x25519-1".into(), "did:example:bob#key-x25519-2".into(), "did:ex...
Rust
idx)) { continue } var link = matches[idx]; var linkKeyPrefixMatches = link.match(linkKeyPrefixMatcher); var linkPrefix = linkKeyPrefixMatches[0]; var formatterName = linkKeyPrefixMatches[1]; // Remove the leading @:, @.case: and the brackets var linkPlaceholder = li...
JavaScript
assert.strictEqual(list.right.offset, 0); assert.isTrue(list.left.isNone()); assert.isTrue(list.right.isRoot()); assert.deepEqual(createArray(list), values.slice(start, end)); }); test('a slice can occur between node boundaries', function() { this.timeout(30000); // tslint:disable-...
Typescript
E */ fctiwz f0, f0 /* 804ADDDC 004A931C D8 01 00 10 */ stfd f0, 0x10(r1) /* 804ADDE0 004A9320 80 01 00 14 */ lwz r0, 0x14(r1) /* 804ADDE4 004A9324 B0 03 04 8C */ sth r0, 0x48c(r3) /* 804ADDE8 004A9328 80 6D E0 E8 */ lwz r3, lbl_806A2D88-_SDA_BASE_(r13) /* 804ADDEC 004A932C A8 03 04 8E */ lha r0, 0x48e(r3) /* 804AD...
Assembly
dbd, in 0xdc0..0xdc6 -> XID_EITHER_FLAG 0xdca, in 0xdcf..0xdd4, 0xdd6, in 0xdd8..0xddf, in 0xde6..0xdef, in 0xdf2..0xdf3 -> XID_CONTINUE_FLAG in 0xe01..0xe30 -> XID_EITHER_FLAG 0xe31 -> XID_CONTINUE_FLAG 0xe32 -> XID_EITHER_FLAG in 0xe33..0xe3a -> XID_CONTINUE_FLAG in 0xe...
Kotlin
/* This file is part of Owl. * * Copyright © 2019-2021 Sergey Bugaev <bugaevc@gmail.com> * * Owl is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published * by the Free Software Foundation, either version 3 of the License, * or (at your option) an...
C
eless_G8X24_UInt: case PixelFormat.D24_UNorm_S8_UInt: case PixelFormat.R24_UNorm_X8_Typeless: case PixelFormat.X24_Typeless_G8_UInt: return true; default: return false; } } internal stati...
C#
-dark"> <h4>sp-dark</h4> <p>Similar to sp-light, only ... darker</p> <div class='example'> <input type='text' /> </div> </div> </div> <div id="theme-instructions"> <h3>Instructions for building themes</h3> <p> ...
HTML
yui3-dial-marker-vml,.yui3-dial-center-button-vml,.yui3-dial-ring-vml v\:oval,.yui3-dial-center-button-vml v\:oval{position:absolute}.yui3-dial-center-button-vml v\:oval{font-size:1px;top:0;left:0}.yui3-dial-content .yui3-dial-ring .yui3-dial-hidden v\:oval,.yui3-dial-content .yui3-dial-ring .yui3-dial-hidden{opacity:0...
CSS
łębiej połączony obiekt i przełącza do jego dokumentu. - <img alt="" src=images/Std_LinkSelectAllLinks.svg style="width:32px;">. [Zaznacz wszystkie łącza](Std_LinkSelectAllLinks/pl.md): Wybiera wszystkie łącza do obiektu. - Działania w zakresie widoku drzewa - <img alt="" src=images/Std_TreeSyncView.svg...
Markdown
ockType)arg5; - (id)tabSwitchView:(id)arg1 titleForTabAtIndex:(long long)arg2; - (long long)numberOfTabSwitchView:(id)arg1; - (void)viewDidDisappear:(_Bool)arg1; - (void)viewWillDisappear:(_Bool)arg1; - (void)viewDidAppear:(_Bool)arg1; - (void)viewWillAppear:(_Bool)arg1; - (void)registerCellForTableView:(id)arg1; - (vo...
C
n() vim.lsp.buf.range_formatting({}, { 0, 0 }, { vim.fn.line("$"), 0 }) end } }, } vim.cmd 'sign define LspDiagnosticsSignError text=' vim.cmd 'sign define LspDiagnosticsSignWarning text=' vim.cmd 'sign define LspDiagnosticsSignInformation text=' vim.cmd 'sign define LspDiagnos...
Lua
4QOb2OYdEL04eQOLFD2Y4T-BW6ag/viewform?usp=pp_url&entry.384948954=' + dialogData.name + '&entry.435235279=Coding+Challenge&entry.1734944650=Yes'" target="_blank"> <button mat-icon-button><mat-icon color="accent">thumb_up</mat-icon></button> </a> <a *ngIf="this.showFeedbackButtons && this.solved.fixIt...
HTML
0l7.99 7.99c.79.78.79 2.04 0 2.82l-7.99 7.99c-.78.79-2.04.79-2.82 0L2.6 13.41c-.79-.78-.79-2.04 0-2.82Z"/>'},github:{body:'<path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.0...
JavaScript
l: UDP est un protocole, au sein de IP, qui fournit un service de datagrammes. Ce service ajoute des fonctionalités à IP: Il offre un multiplexage et un démultiplexage, qui fait en sorte que les applications sur un poste client ou su un poste serveur, aient leur propre flux de datagrammes. Il offre également un ch...
HTML
中餐 ### 食材 茄子 | 葱姜蒜 | 辣椒 | 生抽 | 老抽 | 糖 | 盐 | 食用油 ### 烹饪步骤 准备食材,将茄子洗净切成适当大小的块状,葱姜蒜切末,辣椒切段备用。 | 在热锅中倒入适量的食用油,加热后放入葱姜蒜和辣椒爆香。 | 放入茄子块煸炒,煸炒至茄子稍微变软。 | 倒入适量的生抽和老抽,加入糖,盐调味,翻炒均匀。 | 加入适量的水,煮开后改小火煮至茄子软烂入味。 | 最后收汁,撒上葱花即可出锅享用。 # 凉拌黄瓜 ### 菜系 中餐 ### 食材 黄瓜 | 蒜瓣 | 香醋 | 生抽 | 白糖 | 食盐 | 辣椒油或花椒油(可选) ### 烹饪步骤 将黄瓜洗净,去掉两头,用拍的方式将黄瓜...
Markdown
dim_rt_secure", "dim_secure", "dm", "dm_dev", "dm_dev_secure", "dm_secure", "dw", "dwd", "dwd_dev", "dwd_dev_secure", "dw_dev", "dw_dev_secure", "dwd_rt", "dwd_rt_dev", "dwd_rt_dev_secure", "dwd_rt_secure", "dwd_secure", "dw_rt", "dws", "dws_dev", "dws_dev_secure", "dw_secure", "dws_rt", "dws_rt_dev", "dws_rt_dev_s...
Go
e_test_outline() original_children = root.v.children[:] first_child = root.firstChild() assert first_child first_gnx = first_child.gnx # Move. # c.selectPosition(first_child) c.selectPosition(first_child) c.moveOutlineToLastChild() # Tests. ...
Python
25248] = "Arco de caza de talbuks", [25249] = "Arco recurvado de forestal", [25250] = "Arco largo matarroc", [25251] = "Arco plano orco", [25252] = "Arco atrapasueños", [25253] = "Arco largo lanzavento", [25254] = "Ballesta de torre", [25255] = "Ballesta de cabeza de carnero", [25256] = "Ballesta de bastión", [25257] =...
Lua
not affiliated with Mojang AB, the original developer of Minecraft. */ package de.bixilon.minosoft.data.registries.item.items.armor import de.bixilon.minosoft.data.registries.identified.ResourceLocation import de.bixilon.minosoft.data.registries.item.items.Item abstract class ArmorItem( resourceLocation: Resour...
Kotlin
tationTranslation(Matrix3.IDENTITY, translation, result); }; /** * Computes a Matrix4 instance representing a non-uniform scale. * * @param {Cartesian3} scale The x, y, and z scale factors. * @param {Matrix4} [result] The object in which the result will be stored, if undefined a new instanc...
JavaScript
# ------------------------------------------------------------------ # Copyright (c) 2020 PyInstaller Development Team. # # This file is distributed under the terms of the GNU General Public # License (version 2.0 or later). # # The full license is available in LICENSE.GPL.txt, distributed with # this software. # # SPD...
Python
0, 0); position: relative; margin: .4em; padding: 1em; cursor: pointer; background: #e1e1e1; text-decoration: none; color: #666; } .hvr-curl-top-left:before { pointer-events: none; position: absolute; content: ''; height: 0; width:...
HTML
终还没有取得很好的成绩。拿托福来说,我认为阅读和听力确实是可以硬练出来的,把50个TPO做两遍,基本就可以保持25分以上。但是口语和写作真的需要专业指导,自己练确实是不行。建议还是找个假期,一个多月的时间,什么都不干,报上班学一下,学完了马上考,应该会取得不错的成绩。 ### 关于申请——慎重选择医学院的项目 我的本科专业是“生物医学科学“,biomedical science,是一个医学与生物学交叉的专业。这个专业在北美的学校里一般是属于医学院,于是我在申请的时候天真地为了”专业对口“,报了许多这样的专业。殊不知,美国很多学校医学院的项目其实招收国际生很少很少,即使不是临床,他们也更愿意招收美国的学生。但是这个信息他们不会在官...
Markdown
bineArgs(args, 1) if (tag.match(/\d+/g) !== null) { const doujin = await nhentai.getDoujin(tag.match(/\d+/g)!.toString()) this.getNhentaiDoujin(doujin, tag.match(/\d+/g)!.toString()) } else { const result = await nhentai.search(tag) ...
Typescript
ate_command) # # 清空該用戶的購物車資料 # delete_command = f"DELETE FROM CART WHERE Customer_account = '{Customer_account}';" # cursor.execute(delete_command) # table_name='ORDER_INFO' # OrderNo='001' # Customer_account='F74086250' # Address='太子學舍536' # Established_date='2022-05-01' # completion_date='202...
Python
1-22.6-54.6V269.2c0-20.5 8.1-40.1 22.6-54.6l36.7-36.7c6.2-6.2 6.2-16.4 0-22.6l-22.6-22.6c-6.2-6.2-16.4-6.2-22.6 0l-36.7 36.7c-26.5 26.5-41.4 62.4-41.4 99.9V288h-64v-50.9c0-8.7-1.8-17.2-5.2-25.2L364.5 29.1C356.9 11.4 339.6 0 320.3 0H176c-26.5 0-48 21.5-48 48v112h-16c-26.5 0-48 21.5-48 48v91.2C26.3 317.2 0 355.4 0 400c0 ...
Dart
/* * Copyright (C) 2015-2016 Socionext Inc. * Author: Masahiro Yamada <yamada.masahiro@socionext.com> * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __MACH_INIT_H #define __MACH_INIT_H #include <linux/types.h> #define UNIPHIER_MAX_NR_DRAM_CH 3 struct uniphier_dram_ch { unsigned long size; unsigned int w...
C
def exchange_original(lst1, lst2): """In this problem, you will implement a function that takes two lists of numbers, and determines whether it is possible to perform an exchange of elements between them to make lst1 a list of only even numbers. There is no limit on the number of exchanged elements betw...
Python
// SPDX-License-Identifier: GPL-2.0 /****************************************************************************** * * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. * ******************************************************************************/ #define _HCI_HAL_INIT_C_ #include <osdep_servi...
C
emonic().getWordList(Wordlist.CHINESE_TRADITIONAL); expect(wordList?.length, equals(2048)); }); test('french wordlist is complete', () async { var wordList = await new Mnemonic().getWordList(Wordlist.FRENCH); expect(wordList?.length, equals(2048)); }); test('italian wordlist...
Dart
appgamekit.com' && event.origin !== 'https://www.appgamekit.com' && event.origin !== 'http://appgamekit.com' && event.origin !== 'https://appgamekit.com' && event.origin !== 'http://agk.thegamecreators.com' && event.origin !== 'https://agk.thegamecreators.com' ) return;document.getElementById('comments').style.height =...
HTML
!= pAnalyzer) { // תȥĴ PUCHAR pInsn = BuildTruncationInstruction(pAnalyzer); if (NULL == pInsn) return STATUS_UNSUCCESSFUL; } return STATUS_SUCCESS; } PUCHAR BuildTruncationInstruction(_In_ PANALYZER pAnalyzer) { UCHAR code[] ={ // push rax 0x50, ...
C++
); if constexpr (run_bench) { BENCHMARK( "[kernel][maxsumexp][cpu][m=" + std::to_string(data.m) + "][n=" + std::to_string(data.n) + "][k=" + std::to_string(data.k) + "]" ) { cpu<T>( ...
C++
6H5Zm0-2h14V5L5 19Zm9.5-1v-2h-2v-1.5h2v-2H16v2h2V16h-2v2h-1.5ZM6 8.5h5V7H6v1.5Z"/></svg>',fb:'<svg width="24" height="24"><path fill-rule="evenodd" d="M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-11 6.7V14H8.1v-2.5h2v-1C10 8.2 11.5 7 12.8 7H16v2.5h-2.4c-.8 0-1 .7-1 1.3v.7h3.2l-1 2.5h-2v5a7 7 0 1 0-2.8-.2Z" clip-rule="evenodd...
JavaScript
if (userData.balance < amount) { message.reply("you don't have enough coins to do that. Cheeky."); return; } userData.balance = Math.max(userData.balance - amount, 0); userData.balance = Math.floor(userData.balance); userData.save(); this._bets...
Typescript
www.worldgovernmentsummit.org">World Government Summit</a>, Dubai</td> </tr> <tr class="odd"> <td align="left">2017</td> <td align="left"><span class="cv-entry-title"><a href="https://www.sbs.ox.ac.uk/research/skoll-centre-social-entrepreneurship/social-impact-education/leading-impact">Leading for Impact</a> fellow</sp...
HTML
+ ni); } catch (_) { } } if (ir > 0) { if (ts.p.records === 0) { ts.p.records = gl; } } if (ts.p.treeGrid === true) { try { self.jqGrid("setTreeNode", fpos + 1, ir + fpos + 1); } catch (e) { } } //if(!ts.p.treeGrid && !...
JavaScript
ttributes: ['Shadow', null] }] }, add({ name: 'shadow controls', borderColor: Color.rgb(23, 160, 251), borderWidth: 0, extent: pt(241, 76.6), layout: new TilingLayout({ align: 'right', hugContentsVertically: true, justifySubmorphs: 'spaced', orderByIndex: true, pa...
JavaScript
&ResolveResult<TxtLookup>) -> Spf { let mut spf_record = Spf::default(); match txt_response { Err(_) => println!("No TXT Records."), Ok(txt_response) => { for record in txt_response.iter() { if record.to_string().starts_with("v=spf1") { spf_record...
Rust
ngx.DEBUG,"delete c_group_target...param["..id.."]") user_log.print_log(store,user_log.module.api_router_target .."-删除","group_target_dao",{id=id}) local res = store:query({ sql = "delete from c_group_target where id = ?", params={id} }) return res; end function _M.query_rel_gray_tar...
Lua
tor &vecStart, const Vector &vecEnd, unsigned int collisionMask, const CBaseEntity *pTarget, AIMoveTrace_t* pMoveTrace) const; void ClimbMoveLimit( const Vector &vecStart, const Vector &vecEnd, const CBaseEntity *pTarget, AIMoveTrace_t* pMoveTrace) const; // A floorPoint that is useful only in the contect of iter...
C
<MY_AKS_CLUSTER_NAME> \ --enable-workload-identity \ --enable-oidc-issuer ``` The Azure CLI also lets you bind the AKS cluster to kubectl. You can do this by running the following command: ```bash az aks get-credentials --resource-group <MY_RESOURCE_GROUP_NAME> --name <MY_AKS_CLUSTER_NAME> ``` ## Configuring Azu...
Markdown
- 避免短時間內大量API調用 - 實現錯誤重試機制和冷卻期 4. **市場風險** - 加密貨幣市場高度波動,策略可能在極端市場條件下失效 - 定期評估和調整策略參數 - 配合使用其他風險控制手段 ## 📊 效能指標 - **最小延遲**: 從信號生成到訂單提交 < 500ms - **成功率**: 在正常市場條件下Z分數回歸成功率 > 85% - **API效率**: 支持每分鐘至少10次完整的分析和交易循環 - **資源佔用**: JVM內存佔用 < 512MB ## 🤝 貢獻指南 歡迎提交問題報告、功能請求和代碼貢獻!請查看我們的 [貢獻指南](CONTRIBUTING.md) 了解詳...
Markdown
; // Interal function that does most of the work for aviationMapsChanged() // emits geoJSONChanged() when done. This function is meant to be run in a // separate thread. struct aviationDataCacheResult { QList<Waypoint> waypoints; QList<Airspace> airspaces; QByteArray combinedGeo...
C
, // 0x73 's' {764, 8, 10, 11, 2, -9}, // 0x74 't' {774, 8, 8, 11, 1, -7}, // 0x75 'u' {782, 9, 8, 11, 1, -7}, // 0x76 'v' {791, 9, 8, 11, 1, -7}, // 0x77 'w' {800, 9, 8, 11, 1, -7}, // 0x78 'x' {809, 9, 11, 11, 1, -7}, // 0x79 'y' {822, 7, 8, 11, 2, -7}, // 0x7A 'z' {829, ...
C
ks until all of the given operations have finished. @param operations A set of RESTOperations. @return YES if all operations succeeded; NO if any of them failed. */ + (BOOL) wait: (NSSet*)operations; /** Stops an active operation. The operation will immediately complete, with error NSURLErrorCancelled in...
C
tes) entityJson, _ := entities.MarshalJSON() requestJson, _ := json.Marshal(request) klog.V(3).Info("Request entities ", string(entityJson)) klog.V(3).Info("Cedar request ", string(requestJson)) ok, diagnostic := e.stores.IsAuthorized(entities, request) klog.V(9).InfoS("Authorize", "ok", ok, "Diagnostic", diagno...
Go
search_for_normalized_tree) { Node * plus, * times; times = result; if (use_lib_linear_parsing && normalization_intercept_slope.second != 1.0) { // add scaling node Node * scaling_n = new Node(new OpRegrConstant(normalization_intercept_slope.second));...
C++
;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.relative{position:relative}big,small{font-size:100%}@media print{body,html,section{background:none!important}*{box-shadow:none!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{...
CSS
tes to not delete this array, array /// initialization code is generated. If \a IsInit is false, and \a MapType /// indicates to not this array, array deletion code is generated. void CGOpenMPRuntime::emitUDMapperArrayInitOrDel( CodeGenFunction &MapperCGF, llvm::Value *Handle, llvm::Value *Base, llvm::Value *Be...
C++
have associated only canonical declarations."); auto *VD = dyn_cast<VarDecl>(CurDeclaration); auto *FD = dyn_cast<FieldDecl>(CurDeclaration); assert((VD || FD) && "Only variables or fields are expected here!"); (void)FD; // OpenMP 4.5 [2.15.5.1, map Clause, Restrictions, p.10] // threadpriva...
C++
RE_LOGS(Type.LOGS_PYRE, "Pyre", "P", ItemID.LOGS_PYRE), ARCTIC_PYRE_LOGS(Type.LOGS_PYRE, "Art P", "AP", ItemID.ARCTIC_PINE_LOGS_PYRE), OAK_PYRE_LOGS(Type.LOGS_PYRE, "Oak P", "OAKP", ItemID.OAK_LOGS_PYRE), WILLOW_PYRE_LOGS(Type.LOGS_PYRE, "Wil P", "WILP", ItemID.WILLOW_LOGS_PYRE), TEAK_PYRE_LOGS(Type.LOGS_PYRE, "Tea...
Java
and g[2].lower ~= g[3].lower and #g == 3 and not g:hasDerivIndex() end, canSimplify = function(g, t, gi, ti) return t[ti].lower ~= g[gi].lower end, }, metric = { -- g^ij T_jk = T^i_k (provided T is not delta) isMetric = function(g) symmath = symmath or require 'symmath' local Tensor = symmath.T...
Lua
ter: &clusterv1.Cluster{}, Machines: collections.FromMachines(m1, m2, m3), } r := &KubeadmControlPlaneReconciler{ Client: env.GetClient(), recorder: record.NewFakeRecorder(32), managementCluster: &fakeManagementCluster{ Workload: &fakeWorkloadCluster{ EtcdMembersResult: nodes(controlPlane.M...
Go
性能测定的环境试验程序附于本标准的附录A。 ## 2.1 输出功率 输入额定电压时,输出功率不应低于制造商规定的额定值。在规定设备 额定值时,制造商应明确下述要求: a) 输出负载功率因数最小值; b) 任何特殊的温度控制要求; c) 包括容差限制值的电气负载情况。 静止变流器在输出超过额定负载至少10%的条件下应能连续工作2h不损 坏;在2.2 b)条件下,静止变流器输出额定负载的90%时应能连续工作5min。 ## 2.2 输入电压 在输入额定电压时,检测静止变流器输入接线端的电压应该是28V直流。 静止变流器应能: a) 当输入电压在28V±2V范围内时, 具有满载条件下无性能降低的连续 工作能力; ...
Markdown
ames, bool readOnly = false, }) async { await runZoned(() async { try { CollectionBox.transactionBoxes[Zone.current] = <String>{}; await action(); } finally { final flushFutures = <Future<void>>[]; for (final boxName in CollectionBox.transactionBoxes[Zone.current]!)...
Dart
</tr> <tr> <td class="gray">F19</td> <td class="gray">KEY_F19</td> <th class="gray"><code>00000182</code></th> <td class="gray"></td> </tr> <tr> <td>F21</td> <td>KEY_F20</td> <th class="white"><code>00000183</code></th> <td></td> </tr> <tr> <td class="gray">F22</td> ...
HTML
elist a { background: var(--body-bg); padding: 4px; } .calendar-cancel { padding: 8px 10px; } .clockbox h2 { padding: 8px 15px; } .calendar caption { padding: 10px; } .calendarbox .calendarnav-previous, .calendarbox .calendarnav-next { ...
CSS
public void clickShiptToThisAddress() { shiptToThisAddress.click(); } public void clickPnAddNewAddress() { addNewAddress.click(); } public void clickOnHereToPlaceOrder() { clickHereToPlaceOrder.click(); } } import java.util.*; class Solution { public List<Integer> findMinHeightTrees(int n, int...
Java
ing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Author: Dr. Oleg Trott <ot14@columbia.edu>, ...
C++
你搞大了,而是你上当了”。于是周和李瑾科打了招呼,表示要站出来造反了(见013卷388页、011卷57页)。 </p> <p> 1967年2月28日,周克仁接连写了四张大字报,揭发李瑾科对“1·26”夺权和对县武装部的错误态度。大字报还点了一些和李瑾科有过接触观点相同的科、局领导干部的名字。大字报贴出来后,县武装部的刘顺卿和一位姓于的科长立即找周克仁谈话,指出他支持“红联”错了,“红联”不纯,李瑾科问题大,不要和他们搞在一起。从此,在一派群众组织中开始散播临桂有一条以李瑾科为代表的黑线,有一个以李瑾科为首的黑司令部的舆论(见06卷87——100页)。 </p> <p> 1967年3月2日,周克仁贴出了《我...
HTML
try { color = DyeColor.valueOf(colorString.toUpperCase()); } catch (Exception ex) { color = null; } } sheared = ConfigUtils.getOptionalBoolean(parameters,"sheared"); } public EntitySheepData(Entity entity) { super(enti...
Java
) action(event) } val event = initialValue(this@valueChangeEvents).also { events.trySend(it) } val listener = listener(scope, events::trySend).apply { previousValue = event.previousValue } addOnChangeListener(listener) events.invokeOnClose { removeOnChangeListener(listener) } } /** * Perform an a...
Kotlin
viewBox="0 0 24 24"> <path d="M20.007,3H3.993C3.445,3,3,3.445,3,3.993v16.013C3,20.555,3.445,21,3.993,21h8.621v-6.971h-2.346v-2.717h2.346V9.31 c0-2.325,1.42-3.591,3.494-3.591c0.993,0,1.847,0.074,2.096,0.107v2.43l-1.438,0.001c-1.128,0-1.346,0.536-1.346,1.323v1.734h2.69 l-0.35,2.717h-2.34V21h4.587C20.555,21,21,20.555,21,...
HTML
ror: instruction requires: lse128 ldsetpa x1, x2, [x11] // CHECK: ldsetpa x1, x2, [x11] // encoding: [0x61,0x31,0xa2,0x19] // ERROR-NO-LSE128: [[@LINE-2]]:1: error: instruction requires: lse128 ldsetpa x21, x22, [sp] // CHECK: ldsetpa x21, x22, [sp] // encoding: [0xf5,0x33,0xb6,0x19...
Assembly
k8sVersion "k8s.io/apimachinery/pkg/version" fakediscovery "k8s.io/client-go/discovery/fake" "k8s.io/client-go/kubernetes/fake" "github.com/kubeshop/botkube/internal/analytics" "github.com/kubeshop/botkube/pkg/config" "github.com/kubeshop/botkube/pkg/execute/command" "github.com/kubeshop/botkube/pkg/loggerx" "...
Go
mas"), ("The Lion, The Witch and the Wardrobe", "C. S. Lewis"), ("Twenty Thousand Leagues Under the Sea", "Jules Verne"), ("The Wind-Up Bird Chronicle", "Haruki Murakami"), ("Fahrenheit 451", "Ray Bradbury"), ("Harry Potter And The Philosopher's Stone", "J. K Rowling"), ("Dune", "Frank Herbert")...
Python
2463\u2464"}],"title":"7.1. Identifying a resource with an unknown MIME type"},{"refs":[{"id":"ref-for-byte\u2463\u2465"}],"title":"7.2. Sniffing a mislabeled binary resource"},{"refs":[{"id":"ref-for-byte\u2463\u2466"},{"id":"ref-for-byte\u2463\u2467"},{"id":"ref-for-byte\u2463\u2468"},{"id":"ref-for-byte\u2464\u24ea"...
HTML
Verktygstips" L["v2.settings.tabname.centerhint.desc"] = "Visa verktygstips på ditt gränssnitt när vissa kriterier möts." L["v2.settings.centerhint.breath_hud.title"] = "När du Håller Andan" L["v2.settings.centerhint.breath_hud.desc"] = "Visar en bar med kvarstående anda när du håller andan." L["v2.settings.centerhin...
Lua
Here if path 4, |x| >= 2^51 LOG_COMMON1: { .mfi ldfpd log_P3,log_P2 = [NR_table_address],16 nop.f 0 nop.i 0 } ;; { .mfi ldfpd log_P1,log2 = [NR_table_address],16 frcpa.s1 log_C,p0 = f1,log_arg nop.i 0 } ;; { .mfi getf.exp log_GR_signexp_f8 = log_a...
Assembly
mal("26280.000"), sumMinutes = BigDecimal("1576800.000"), ), date1.minus(date2, 3), ) } } /* * Unitto is a calculator for Android * Copyright (c) 2023-2024 Elshan Agaev * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public ...
Kotlin
bsfq %rax, %rcx # CHECK: Timeline view: # CHECK-NEXT: 012345678 # CHECK-NEXT: Index 0123456789 # CHECK: [0,0] DeeeER . . . imulq $5, %rcx, %rax # CHECK-NEXT: [0,1] D=eeeER . . . lzcntl %ecx, %eax # CHECK-NEXT: [0,2] D====eER . . . ...
Assembly
#!/usr/bin/env python3 import subprocess import sys import re import os def main(): if len(sys.argv) < 2: tool = os.path.basename(sys.argv[0]) print('Usage: {} </path/to/test_bitcoin> [<subtest>]'.format(tool)) print('For example: {} src/test/test_bitcoin wallet_tests'.format(tool)) ...
Python
off) { if (i > 0 && newlist[i - 1].offset == off) { newlist[i] = s; } else { newlist.push(s); } } else { newlist.push(s...
Typescript
Stream.ComputeEnumSize((int) OverlapPolicy); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void Mer...
C#
且无论从数量上还是思想上业已强化。然而斯大林却在这个时期,采取了极端措施进行大规模镇压。 </p> <p> 一系列的事件显示了斯大林心胸狭窄,残忍和滥用职权。他不是去证明自己在政治上的正确性,不是去动员群众而是常常不仅对真正的敌人而且对那些对党和苏联政府毫无罪行的人们进行镇压并加以肉体消灭。这里没有一点道理,有的是对于弗·伊·列宁感到震惊的残忍暴力的炫耀。 </p> <p> 后来,尤其当贝利亚集团的假面具被揭露以后,中央委员会就这一集团捏造的一系列事件进行了调查,调查结果表明:这些残忍和丑恶的专横行为和斯大林不正当的行为是联系在一起的。事实证明:斯大林滥用其无限的权力,他用中央委员会全体的名义行动,但不用...
HTML
: ") r.sendline("1") def modify_engine(): r.recvuntil("E: ") r.sendline("3") def modify_transmission(gears,ratio,gear): r.recvuntil("E: ") r.sendline("4") r.recvuntil("? ") r.sendline(str(gears)) r.recvuntil("gear ratio for gear " + str(gears) + " is ") addr = r.recvuntil(", mo")[:-4] r.recvuntil(...
Markdown
/* * 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 ...
C#
pagateIRFlags(V0, EvenScalars); propagateIRFlags(V1, OddScalars); Value *V = Builder.CreateShuffleVector(V0, V1, ShuffleMask); E->VectorizedValue = V; ++NumVectorInstructions; if (Instruction *I = dyn_cast<Instruction>(V)) return propagateMetadata(I, E->Scalars); return V; ...
C++
:function(){const t=navigator.language;return{full:t.l(),base:t.ss(0,2),subset:t.ss(3,he(t))}}(),display:{DPR:Cc.devicePixelRatio},info:function(e=false){let n="::: Environmental :::\n",a=n;return!e&&t(n),n=te("Lang",fk.lang.base+"/"+fk.lang.full+", "+(yk!==zc?yk:wk>-1?["zh","en"][wk]:Su)),a+=n,!e&&t(n),n=te("Device",(...
HTML