content
stringlengths
2
6.21k
label
stringclasses
16 values
} break; case ParseError: break; } return ParseError; } // Parse int number from an (attribute) string) static bool parseNumber(const QString &n, int *target, QString *errorMessage) { bool ok; *target = n.toInt(&ok); if (!ok) { *errorMessage = QString::fromLati...
C++
}, ["koKR"] = {}, ["ruRU"] = {}, }, IMPROVEMENT = { ["zhCN"] = { "[游戏条] 新增开悟者炉石到炉石列表.", }, ["zhTW"] = { "[遊戲條] 新增受啟迪的爐石到爐石列表.", }, ["enUS"] = { "[Game Bar] Add Enlightened Hearthstone to the Hearthstone list.", }, ["koKR"] = { "[게임 바] 깨달음의 귀환석을 귀환석 목록에 추가했습니다.", }, ["ruRU"] = { "[...
Lua
#[test] fn test_parse_empty_uri() { // extra spaces after the version let mut buffer = RequestBuffer::new(http_token("GET HTTP/1.1")); let method = buffer.next_token(SP); assert_eq!( http_token("GET"), method.as_http_token(), "{}", ...
Rust
s.versions[c.raw].deprecated),l=a.length>0?a:o;return l.sort((c,u)=>-c.compare(u)),l.map(c=>{let u=P.makeLocator(e,`${gr}${c.raw}`),g=s.versions[c.raw].dist.tarball;return Ls.isConventionalTarballUrl(u,g,{configuration:i.project.configuration})?u:P.bindLocator(u,{__archiveUrl:g})})}async getSatisfying(e,t,i){let n=vt.v...
JavaScript
{ action: 'line', x: 'w/3/4*3.5', y: 'h/4/2+h/4/2-h/4/3+3' }, { action: 'line', x: 'w/3/4', y: 'h/4/2+h/4/2-h/4/3+3' }, { action: 'line', x: 'w/3/4', y: 'h/4/3+3' }, { action: 'close' }, ]) Schema.addGlobalCommand('choreography_task', [ { action: 'move', x: '0', y: '6' }, { action: 'quadrat...
JavaScript
to toggle Email Tracker Blocking in Private Mode with new `emailTrackerBlockingPrivateBrowsing` API [Bug 1866927](https://bugzilla.mozilla.org/show_bug.cgi?id=1866927) * **samples-browser** * Use `VerticalSwipeRefreshLayout` from AndroidComponents instead of AndroidX `SwipeRefreshLayout` to represent better Fenix be...
Markdown
#ifndef UNITTESTBOT_FUNCTIONPOINTERFORSTUBSVISITOR_H #define UNITTESTBOT_FUNCTIONPOINTERFORSTUBSVISITOR_H #include "AbstractValueViewVisitor.h" #include <unordered_map> namespace visitor { class FunctionPointerForStubsVisitor : public AbstractValueViewVisitor { public: explicit FunctionPointerForStub...
C
ing" class="typing-indicator">DeepSeek 正在思考...</div> <script> const chatBox = document.getElementById('chat-box'); const userInput = document.getElementById('user-input'); const sendBtn = document.getElementById('send-btn'); const typingIndicator = document.getElementById('typing');...
HTML
1:\n case TransitionLane2:\n case TransitionLane3:\n case TransitionLane4:\n case TransitionLane5:\n case TransitionLane6:\n case TransitionLane7:\n case TransitionLane8:\n case TransitionLane9:\n case TransitionLane10:\n case TransitionLane11:\n case TransitionLane12:\n case Transit...
JavaScript
" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512"><path fill="currentColor" d="M414.21 177.65c1.02 8.21 7.75 14.35 15.75 14.35h16.12c9.51 0 17.08-8.57 16-18.35-4.34-39.11-22.4-74.53-50.13-97.16-17.37-14.17-28.82-36.75-31.98-62.15C378.96 6.14 372.22 0 364.23 0h-16.12c-9.51 0-17.09 8.57-16 18.35 4.34 39.11 22.4...
Dart
LinqBinary(SqlSingle p) { return p.IsNull? null: new Binary(ToByteArray(p.Value)); } /// <summary>Converts the value from <c>SqlDouble</c> to an equivalent <c>Byte[]</c> value.</summary> public static Binary ToLinqBinary(SqlDouble p) { return p.IsNull? null: new Binary(ToByteArray(p.Value)); } /// <su...
C#
// SPDX-FileCopyrightText: 2023 DrSmugleaf <DrSmugleaf@users.noreply.github.com> // SPDX-FileCopyrightText: 2023 Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> // SPDX-FileCopyrightText: 2023 metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> // SPDX-FileCopyrightText: 2024 Nemanja <9856180...
C#
tone", Character: "👩🏿‍🦯", UnicodeName: "E12.0 woman with white cane: dark skin tone", CodePoint: "1F469 1F3FF 200D 1F9AF", Group: "People & Body", SubGroup: "person-activity", }, "👩🏿‍🦯‍➡": { Slug: "woman-with-white-cane-facing-right-dark-skin-tone", Character: "👩🏿...
Go
important;border:1px solid rgb(var(--ui-form-muted));border-radius:var(--ui-radius)!important;padding:.5rem}.uni-stat__select .uni-stat-box .uni-select .uni-select__selector .uni-popper__arrow_bottom{border-bottom-color:rgb(var(--ui-form-muted))}.uni-stat__select .uni-stat-box .uni-select .uni-select__selector .uni-pop...
CSS
EntityNotFoundError(`${this.tableName} with id ${id} not found`); const updatedEntity = { ...fullEntity, ...entityUpdates }; console.log("updatedEntity", updatedEntity); await this.repository.update(id, { ...entityUpdates } as any); return updatedEntity; } public async creat...
Typescript
python main.py
Python
ls!.length)) + '...'; } return actionFailureDetails!; } } import 'blob_entity_id.dart'; import 'converter_id.dart'; import 'entity_group_id.dart'; import 'group_permission_id.dart'; import 'integration_id.dart'; import 'role_id.dart'; import 'scheduler_event_id.dart'; import 'ota_package_id.dart'; i...
Dart
lshl_b32 s[s_wei_stride_k0], s[s_wei_stride_k], 6 s_mul_i32 s[s_out_stride_wo], s[s_k], s[s_group] s_mul_i32 s[s_tmp+1], s[s_wi], s[s_out_stride_wo] s_mul_i32 s[s_out_stride_n], s[s_hi], s[s_tmp+1] s_mul_i32 s[s_tmp], s[s_n], s[s_in_stride_n] s_mul_i32 s[s_tmp+1], s[s_n], s[s_out_stride_n] s_l...
Assembly
GISTER, reg_cmd, sizeof(reg_cmd)) < 0) { wpa_printf(MSG_ERROR, "L2: Failed to register with wpa_priv"); goto fail; } FD_ZERO(&rfds); FD_SET(l2->fd, &rfds); tv.tv_sec = 5; tv.tv_usec = 0; res = select(l2->fd + 1, &rfds, NULL, NULL, &tv); if (res < 0 && errno != EINTR) { perror("select"); goto fail; ...
C
r r7, [r10, #DDRC_STAT] and r7, r7, #0x3 cmp r7, #0x3 bne 3b 4: ldr r7, [r10, #DDRC_STAT] ands r7, r7, #0x20 beq 4b /* disable dram clk */ ldr r7, [r10, #DDRC_PWRCTL] orr r7, r7, #(1 << 3) str r7, [r10, #DDRC_PWRCTL] /* * TO1.1 adds feature of DDR pads power down, * although TO1.0 has no such function,...
Assembly
.Aux != s { break } _ = x1.Args[2] if idx != x1.Args[0] || p != x1.Args[1] || mem != x1.Args[2] || !(i1 == i0+4 && x0.Uses == 1 && x1.Uses == 1 && r0.Uses == 1 && r1.Uses == 1 && sh.Uses == 1 && mergePoint(b, x0, x1) != nil && clobber(x0) && clobber(x1) && clobber(r0) && clobber(r1) && clobber(sh)) { break ...
Go
0, block.offset); usage |= VK_BUFFER_USAGE_INDEX_BUFFER_BIT; } for (auto &block : dma.ubo) { VK_ASSERT(block.offset != 0); cmd->copy_buffer(*block.gpu, 0, *block.cpu, 0, block.offset); usage |= VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT; } dma.vbo.clear(); dma.ibo.clear(); dma.ubo.clear(); cmd->end_region()...
C++
"pair:map"); } // global settings for pair_style void PairE3GNN::settings(int narg, char **arg) { if (narg != 0) { error->all(FLERR, "Illegal pair_style command"); } } void PairE3GNN::coeff(int narg, char **arg) { if (allocated) { error->all(FLERR, "pair_e3gnn coeff called twice"); } allocate(); ...
C++
centage" /> <MSHelp:TOCTitle Title="TableSampleSystemPercentage Field" /> <MSHelp:RLTitle Title="PostgreSqlLimitOption.TableSampleSystemPercentage Field (Tortuga.Chain)" /> <MSHelp:Keyword Index="A" Term="F:Tortuga.Chain.PostgreSqlLimitOption.TableSampleSystemPercentage" /> <MSHelp:Keyword Index...
HTML
fs_match(int ncid, int varid, int dimids[], int ndimids, nc_type xtype) { int mydimids[NC_MAX_DIMS]; int myndims; (void)nc_inq_varndims(ncid, varid, &myndims); (void)nc_inq_vardimid(ncid, varid, mydimids); for (int i = 0; i < ndimids; i++) { if (mydimids[i] != dimids[i]) return (false); ...
C++
vim.cmd.packadd "kanagawa.nvim" local function clamp(component) return math.min(math.max(component, 0), 255) end local function rgb_to_hex(r, g, b) return string.format("#%06x", clamp(r) * 0x10000 + clamp(g) * 0x100 + clamp(b)) end local function hex_to_rgb(hex) if string.find(hex, "^#") then hex...
Lua
-4387-bff7-326aa5f82826.png?auto=format&fit=crop&frame=1&h=512&w=1024) **关键词**:-, 产品名称:定位器, -, 标语:将博客、抖音等内容转化为旅行地图, -, 简述:发现了美食推荐的博客或社交媒体上必去的咖啡馆?只需将这些信息交给定位器,立刻生成地图。非常适合旅行规划,帮助你高效保存和整理推荐信息。, 关键词:地图生成,旅行规划,信息整理,高效保存 **票数**: 🔺44 **是否精选**:否 **发布时间**:2025年02月19日 PM04:01 (北京时间) --- ## [24. FastPixel](https://www.product...
Markdown
"}.custom-file-input ~ .custom-file-label[data-browse]::after{content:attr(data-browse)}.custom-file-label{position:absolute;top:0;right:0;left:0;z-index:1;height:calc(1.5em + 0.75rem + 2px);padding:0.375rem 0.75rem;font-weight:400;line-height:1.5;color:#555;background-color:#fff;border:1px solid #ced4da;border-radius:...
CSS
能冲突 | 引入 `svelte-css` 模块化样式,或使用 `:global()` 严格隔离 | | **AI回复渲染性能** | 长文本 Markdown 渲染卡顿 | 使用 `web worker` 异步渲染,或分块渲染(chunked rendering) | | **无离线状态提示** | 网络中断时,搜索/刷新无提示 | 增加 `networkStatus` Store,UI 显示“离线模式” | | **未实现动画过渡** | 组件切换无过渡效果 | 使用 `svelte/animate` 实现淡入淡出、滑动效果 | ### **5.2 改进建议** 1. **组件拆分**:将 `ArticleReader.sv...
Markdown
{ expect(result).to.equal(store); }); }); describe('#statistics', () => { const store = new UserInputStore().add(7).add(7).add(5).add(5).add(5).add(5); const expectedResult = [{ value: 5, frequency: 4 }, { value: 7, frequency: 2 }]; it('should return an array of input numbers...
Typescript
"""Common get info functions for static routing""" # Python import logging # Genie from genie.metaparser.util.exceptions import SchemaEmptyParserError log = logging.getLogger(__name__) def get_static_routing_routes(device, vrf, address_family): """Execute 'show ip static route vrf <vrf>' and retrieve the route...
Python
def compress_pdf_content(pdf_content: bytes, compression_level: str) -> bytes: """ Compress PDF content based on the compression level. """ print(f"Compressing PDF content with level: {compression_level}") import fitz from io import BytesIO doc = fitz.open(stream=pdf_content, filetype="pdf"...
Python
# Copyright (c) 2024, Shanghai Iluvatar CoreX Semiconductor Co., Ltd. # All Rights Reserved. # # 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 # # http://www.apache.org/license...
Python
'IHD', 'HS', 'IS', 'Bcancer', 'Ccancer', 'Lcancer', 'DM1']: excel_file = 'outputs/Raw/scenario_total_%s.xlsx' % ncd_name xls = pd.ExcelFile(excel_file) # Initialize an empty dictionary to store your arrays res_total = {} # Iterate through each sheet in the Excel file for sheet_name in xls.shee...
Python
import tensorflow as tf from tensorflow.keras.preprocessing.image import ImageDataGenerator # Test veri seti yolu TEST_DATASET_PATH = "data/test" IMG_SIZE = (224, 224) BATCH_SIZE = 32 # Test veri hazırlığı test_datagen = ImageDataGenerator(rescale=1.0/255) test_generator = test_datagen.flow_from_directory( TEST_...
Python
60.8-88l94.3 294 94.3-294zm349.4 88l-28.8-88-226.3 294 247.9-184c6.9-5.1 9.7-14 7.2-22zM425.7 24.9c-3.1-8.9-15.7-8.9-18.9 0l-56.6 174.8h132z"],gitter:[384,512,[],"f426","M66.4 322.5H16V0h50.4v322.5zM166.9 76.1h-50.4V512h50.4V76.1zm100.6 0h-50.4V512h50.4V76.1zM368 76h-50.4v247H368V76z"],glide:[448,512,[],"f2a5","M252.8 ...
JavaScript
sult; use crate::indexes::Interval; use crate::metadata::{ColumnChunkMetaData, Descriptor}; use crate::page::{ read_dict_page, CompressedDataPage, DataPageHeader, DictPage, EncodedDictPage, PageType, ParquetPageHeader, }; use super::PageIterator; /// Type declaration for a page filter pub type PageFilter = A...
Rust
XAxGAogAygKMkYucHJvdG9idWZfdW5pdHRlc3QuVGVzdFBhcnNpbmdNZXJnZUxpdGUuUmVwZWF0ZWRGaWVsZHNHZW5lcmF0b3IuR3JvdXAxUgZncm91cDESXgoGZ3JvdXAyGBQgAygKMkYucHJvdG9idWZfdW5pdHRlc3QuVGVzdFBhcnNpbmdNZXJnZUxpdGUuUmVwZWF0ZWRGaWVsZHNHZW5lcmF0b3IuR3JvdXAyUgZncm91cDISOAoEZXh0MRjoByADKAsyIy5wcm90b2J1Zl91bml0dGVzdC5UZXN0QWxsVHlwZXNMaXRlUgRle...
Dart
(105%)}#pwa-install-element .install-dialog.apple.dialog-body .close:active .button-text,#pwa-install-element .install-dialog.apple.dialog-body .dialog-button.button:active .button-text{filter:brightness(90%)}#pwa-install-element .install-dialog.apple.dialog-body.desktop{--text-color-description:var(--text-color-normal...
JavaScript
,一致认为:组织再高产,5、7年内,在潮汕平原实现亩产水稻1500斤,是完全可能的。会议对今年大丰收的形势,取得大丰收的原因,今后再高产的可能性,增产指标、措施,以及增产增收、经济政策、国家支援等方面的问题,广泛地交换了意见。这些意见对全省各地很有参考价值,现特将会议纪要发给你们一阅。 </p> <p> 潮汕平原是本省的高产地区,自从1956年至1957年间达到千斤产量以来,单产基本上没有显著的提高。而人口的增长却很迅速。为了解决粮食问题,经济作物逐年被挤掉了一些,群众的收入日渐减少,而几年来多数地区的口粮却未恢复到“三定”的水平。 </p> <p> 潮汕平原的出路何在?每人4、5分土地究竟能否养活这许多...
HTML
count?: Maybe<Scalars['Int']> max?: Maybe<Users_Statuses_Max_Fields> min?: Maybe<Users_Statuses_Min_Fields> } /** aggregate fields of "users_statuses" */ export type Users_Statuses_Aggregate_FieldsCountArgs = { columns?: Maybe<Array<Users_Statuses_Select_Column>> distinct?: Maybe<Scalars['Boolean']> } /** ord...
Typescript
// Code duplicated from EnterLevel ((BLOCKSYM *)psym)->pParent = offParent; offParent = ULONG(PB(psym) - bufSyms.Start()); // REVIEW:WIN64 CAST iLevel++; break; case S_END: // Same as ExitLevel // fill in t...
C++
is required only when **timeIncrementationMethod** = AUTOMATIC_GLOBAL, AUTOMATIC_EBE, or FIXED_EBE. The default value is 1.0. massScaling A MassScalingArray object specifying mass scaling controls. The default value is PREVIOUS_STEP. linearBulkViscosity ...
Python
// This file is part of SharpNEAT; Copyright Colin D. Green. // See LICENSE.txt for details. using SharpNeat.Experiments; namespace SharpNeat.Windows.Experiments; /// <summary> /// <see cref="IExperimentUiFactory"/> extension methods. /// </summary> public static class ExperimentUiFactoryExtensions { /// <summar...
C#
var defaultGetNetworks = VpcFunctions.getNetworks(GetNetworksArgs.builder() * .nameRegex("^default-NODELETING$") * .build()); * * final var defaultGetSwitches = VpcFunctions.getSwitches(GetSwitchesArgs.builder() * .vpcId(defaultGetNetworks.ids()[0])...
Java
## 生成astroboy路由配置 * @description * @author Big Mogician * @export * @param {IControllerConstructor} ctor * @param {string} name * @param {string} root * @returns * @exports */ export function createRouter(ctor: IControllerConstructor, name: string, root: string): (string | string[])[][]; export function creat...
Typescript
completions ## 1.2.0 - 2017-06-21 ### Added * [#252](https://github.com/NeoVintageous/NeoVintageous/issues/252): The package is now available in Package Control * Git diff commands Command | Description | Documentation | Dependencies | Notes ------- | ----------- | ------------- | ------------ | ----- `[c` |...
Markdown
. Err(err) => Some(Err(err)), } } /* Copyright The containerd 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 http://www.apache.org/licenses/LICENSE-2.0 ...
Rust
= 100 while x > 0 and not PROXY.exception: P_MAIN_WINDOW.read(50) x -= 5 E_MAIN_PROGRESS_BAR.update_bar(x) E_MAIN_IMAGE.update_animation( source=IMG_IDLE, time_between_frames=50, ...
Python
T); for(BulletConfig conf : cfg) this.cfg.add(conf); this.count = count; this.baseDamage = baseDamage; } @Override public <T> T eval(T base, ItemStack gun, String key, Object parent) { if(key == Receiver.O_MAGAZINE) { if(base instanceof MagazineSingleReload) { MagazineSingleReload original = (Magazin...
Java
handle); GSDUtils::checkError(retval, m_fname); } m_nframes++; } void GSDDumpWriter::writeTypeMapping(std::string chunk, std::vector<std::string> type_mapping) { int max_len = 0; for (unsigned int i = 0; i < type_mapping.size(); i++) { max_len = std::max(max_len, (i...
C++
link--hover--BackgroundColor: transparent; --pf-c-button--m-link--hover--Color: var(--pf-global--link--Color--hover, #004080); --pf-c-button--m-link--focus--BackgroundColor: transparent; --pf-c-button--m-link--focus--Color: var(--pf-global--link--Color--hover, #004080); --pf-c-button--m-link--active--BackgroundColo...
CSS
# -*- coding: utf-8 -*- """ Created on Mon Feb 12 13:41:24 2024 @author: jaege """ import tensorflow as tf from tensorflow.keras import layers, models import numpy as np import matplotlib.pyplot as plt from keras.datasets import cifar10 from tensorflow.keras.models import Model # Generator 모델 정의 def build_generator(...
Python
oContext; // 音訊處理環境 let mediaStream; // 麥克風音訊串流 let analyser; // 音訊分析器,用於獲取頻域和時域資料 // 控制變數 let isDetecting = false; // 是否正在偵測音高 let animationId; // 動畫幀ID,用於停止動畫循環 // UI let outputArea; // 結果顯...
HTML
Node", Nl2SqlRetrieveNode). AddLambda("passRequestContext", passRequestContextNode) // 编排检索链 chain := compose.NewChain[*RetrieveContext, []*knowledgeModel.RetrieveSlice]() r, err := chain. AppendLambda(rewriteNode). AppendParallel(parallelNode). AppendLambda(reRankNode). AppendLambda(packResu...
Markdown
Link Bridge" energy_bridge_item.place_result = energy_bridge.name tint_icon(energy_bridge_item, energy_bridge_tint()) data.raw["item"]["ap-energy-bridge"] = energy_bridge_item local energy_bridge_recipe = table.deepcopy(data.raw["recipe"]["accumulator"]) energy_bridge_recipe.name = "ap-energy-bridge" energy_bridge_rec...
Lua
.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z"})),outline:react.createElement(react.Fragment,null,react.createElement("path",{d:"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v...
JavaScript
ADE], ["ff", FLIPFLOP], ["decode", DECODE], ["led0", LED], ["led1", LED], ["led2", LED], ["led3", LED], ["led4", LED], ["led5", LED], ["led6", LED], ["led7", LED], ["led8", LED], ["led9", LED], ["tick", TICK], ["ffmon", LED] ]; var wires = [ ["tick:OUT", "count1:...
HTML
s.toColumnSet() } public inline fun <T, reified R : Number?> Pivot<T>.sumOf( skipNaN: Boolean = skipNaNDefault, crossinline expression: RowExpression<T, R>, ): DataRow<T> = delegate { sumOf(skipNaN, expression) } // endregion // region PivotGroupBy public fun <T> PivotGroupBy<T>.sum(separate: Boolean = fals...
Kotlin
}; var addNextTokenToVoiceInfo = function(id, name, type) { var attr = tokenizer.getVoiceToken(line, start, end); if (attr.warn !== undefined) warn("Expected value for " + name + " in voice: " + attr.warn, line, start); else if (attr.err !== undefined) warn("Expected value for " + name + " in voic...
JavaScript
item\:h_C\(\$streamHoverClass\),.share-button:hover .share-button\:h_C\(\$streamHoverClass\){color:#0078ff!important}.user-intent-options:hover .user-intent-options\:h_C\(\$streamBrandHoverClass\){color:#6001d2!important}.wafer-countdown-expired .wafer-countdown-expired_C\(\#959595\){color:#959595!important}.wafer-coun...
HTML
(Note this macro does <em>not</em> return an <code>IDENTIFIER_NODE</code>, as you might expect, given its name!) You can look at the <code>DECL_NAME</code> of the <code>TYPE_DECL</code> to obtain the actual name of the type. The <code>TYPE_NAME</code> will be <code>NULL_TREE</code> for a type that is not a built-in...
HTML
} } } use super::super::indexed_vec::IndexVec; use super::{DirectedGraph, WithNumNodes, WithSuccessors}; use crate::bit_set::BitSet; #[cfg(test)] mod test; pub fn post_order_from<G: DirectedGraph + WithSuccessors + WithNumNodes>( graph: &G, start_node: G::Node, ) -> Vec<G::Node> { post_order_from_to...
Rust
xstoreBackups.Items, rc.Config().Backup().GetRestorePodSuffix(), heartbeatSName) var currentXStores polarxv1.XStoreList err = rc.Client().List(rc.Context(), &currentXStores, client.InNamespace(namespace), client.MatchingLabels{ meta.LabelName: pxcBackup.Spec.Cluster.Name, }) if err != nil { return nil, errors....
Go
t Element &z) const { assert(&x != &result && &y != &result && &z != &result); t = modp.Add(x.c2, y.c2); result.c1 = modp.Multiply(z.c1, modp.Subtract(y.c1, t)); modp.Accumulate(result.c1, modp.Multiply(z.c2, modp.Subtract(t, x.c1))); t = modp.Add(x.c1, y.c1); result.c2 = modp.Multiply(z.c2, modp.Subtract(...
C
= ["tao"], ['鞁'] = ["bei"], ['鞂'] = ["jie"], ['鞃'] = ["hong"], ['鞄'] = ["pao"], ['鞅'] = ["yang"], ['鞆'] = ["bing"], ['鞇'] = ["yin"], ['鞈'] = ["ge", "sa", "ta"], ['鞉'] = ["tao"], ['鞊'] = ["ji", "jie"], ['鞋'] = ["xie"], ['鞌']...
C#
a630d10785a3558406f9adb99b9.html#a24603f7fa0795c885eaefd097579ca5e"> 501</a></span>&#160; <a class="code" href="cutlass_8h.html#a28c2443a142676d3d71effdae1a986b1">CUTLASS_HOST_DEVICE</a></div><div class="line"><a name="l00502"></a><span class="lineno"> 502</span>&#160; <a class="code" href="classcutlass_1_1transfor...
HTML
тах на рекрутинг та навчання. - 30% збільшення внутрішньої мобільності, що призвело до вищого задоволення та утримання співробітників. ## Висновки для керівників **Для генеральних директорів:** - Визнайте аналітику персоналу стратегічним активом, який може підвищити організаційну продуктивність та конкурентну перев...
Markdown
e.write(LABEL .. ", ") end if tbl.name then console.write(VALUE .. tbl.name) end if tbl.output and type(tbl.output) == "string" then local output = jsonc.parse(tbl.output) if output.user_only t...
Lua
accent-danger .btn-link:hover,.accent-danger .nav-tabs .nav-link:hover,.accent-danger a:not(.dropdown-item):not(.btn-app):not(.nav-link):not(.brand-link):not(.page-link):not(.badge):not(.btn):hover{color:#a71d2a}.accent-danger .dropdown-item.active,.accent-danger .dropdown-item:active{background-color:#dc3545;color:#ff...
CSS
linux/linux-cloud-server.html" target="_blank" onclick="_hmt.push(['_trackEvent', 'yun', 'click', 'yun'])" title="云服务器">云服务器</a></li> <!-- <li><a href="/w3cnote/knowledge-start.html" style="font-weight: bold;" onclick="_hmt.push(['_trackEvent', '星球', 'click', 'start'])" title="我的圈子">我的圈子</a></li> <li><a...
HTML
mPrepareToForkCond(), mStopFlag(false), mUpdateFlag(false), mWaitForkDoneFlag(false), mDisabledFlag(false), mOverflowFlag(false), mUpdatePeriodNanoSec(QCMutex::Time(10) * 365 * 24 * 60 * 60 * 1000 * 1000 * 1000), mMinUserId(0), ...
C++
function aptInit(){} function hidInit(){} function gfxInit(){} function gfxSet3D(){} function aptMainLoop(){ ctxtopleft.putImageData(datatopleft, 0, 0); ctxtopright.putImageData(datatopright, 0, 0); ctxbottom.putImageData(databottom, 0, 0); return loops--; } function gspWaitForVBlank(){} function hidScanInput(...
HTML
// A chunk for the export descriptor table. class ExportDirectoryChunk : public NonSectionChunk { public: ExportDirectoryChunk(int baseOrdinal, int maxOrdinal, int nameTabSize, Chunk *d, Chunk *a, Chunk *n, Chunk *o) : baseOrdinal(baseOrdinal), maxOrdinal(maxOrdinal), nameTabSize...
C++
ml"><mo id="A1.E71.m1.3.3.1.1.3.3.2.1" stretchy="false" xref="A1.E71.m1.3.3.1.1.3.cmml">(</mo><mi id="A1.E71.m1.1.1" xref="A1.E71.m1.1.1.cmml">r</mi><mo id="A1.E71.m1.3.3.1.1.3.3.2.2" stretchy="false" xref="A1.E71.m1.3.3.1.1.3.cmml">)</mo></mrow></mrow><mo id="A1.E71.m1.3.3.1.1.2" xref="A1.E71.m1.3.3.1.1.2.cmml">=</mo>...
HTML
a693dbbd95850641d63fba12a0df3"></a><!-- doxytag: member="XED_IFORM_VCVTPD2DQ_XMMdq_XMMdq" ref="4e231bca35f78f25641be3eabcb35f6de21a693dbbd95850641d63fba12a0df3" args="" -->XED_IFORM_VCVTPD2DQ_XMMdq_XMMdq</em>&nbsp;</td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" name="4e231bca35f78f25641be3eabcb35f6d614a...
HTML
> arr1 = {TT(3,-4)}; std::array<TT,1> arr2 = {TT(6,14)}; std::array<TT,1> arr3 = {arr1[0]}; test_simd_complex_impl<simd_abi::scalar>(arr1,arr2,arr3); } #ifdef FASTOR_SSE2_IMPL template<> void test_simd_complex<double,simd_abi::sse>() { using TT = std::complex<double>; // These arrays are used to mim...
C++
0 - cubic.endpoints[1]) * 0.5; Some(Curve::new(&cubic.endpoints[0], &approx_control_point_0.lerp(approx_control_point_1, 0.5).to_point(), &cubic.endpoints[1])) } } <filename>surfman/src/platform/generic/egl/error.rs // surfman/surfman/src/platform/generic/egl...
Rust
\]:$'); for (var i = 0; i < lines.length; i++) { if (match.matchAsPrefix(lines[i]) case final match?) { final absoluteLuciUrl = match.group(1)!; final image = absoluteLuciUrl.split('dashboard/test/').last; final bytes = base64Decode(lines[i + 1].substring('Shell: '.length)); aw...
Dart
ns', () => { it('documents exported types', () => { testDocumentation({ 'index.ts': ` /** * Simple type description * line 2 * @see {@link https://test.url.1|Example url 1} * @see {@link https://test.url.2|Example url 2} * @example * example 1 li...
Typescript
TrinityLabs, Reworked by codexmas */ /** * Number of servos * * For some servo-related options NUM_SERVOS will be set automatically. * Set this manually if there are extra servos needing manual control. * Leave undefined or set to 0 to entirely disable the servo subsystem. */ //#define NUM_SERVOS 3 // Servo ind...
C
rem;border-left-color:rgba(0,0,0,.25)}.bs-popover-auto[data-popper-placement^=left]>.popover-arrow::after,.bs-popover-start>.popover-arrow::after{right:1px;border-width:.5rem 0 .5rem .5rem;border-left-color:#fff}.popover-header{padding:.5rem 1rem;margin-bottom:0;font-size:1rem;background-color:#f0f0f0;border-bottom:1px...
CSS
)) }) runtime.GOMAXPROCS(4) cfg := &config{} cfg.t = t cfg.net = labrpc.MakeNetwork() cfg.n = n cfg.kvservers = make([]*KVServer, cfg.n) cfg.saved = make([]*raft.Persister, cfg.n) cfg.endnames = make([][]string, cfg.n) cfg.clerks = make(map[*Clerk][]string) cfg.nextClientId = cfg.n + 1000 // client ids start...
Go
7E 1B 78 */ mr r30, r3 lbl_8037ECC8: /* 8037ECC8 0037A208 81 9D 00 00 */ lwz r12, 0(r29) /* 8037ECCC 0037A20C 7F A3 EB 78 */ mr r3, r29 /* 8037ECD0 0037A210 7F C4 F3 78 */ mr r4, r30 /* 8037ECD4 0037A214 81 8C 00 48 */ lwz r12, 0x48(r12) /* 8037ECD8 0037A218 7D 89 03 A6 */ mtctr r12 /* 8037ECDC 0037A21C 4E 80 04 ...
Assembly
ALL * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER * DEALINGS IN THE SOFTWARE. */ /** * \file ir_to_mesa.cpp * * Translate GLSL IR to Mes...
C++
r).ToNot(HaveOccurred()) for _, pod := range params.pods { _, err := fakeClient.KubeClient.CoreV1().Pods(pod.Namespace).Create(context.Background(), &pod, metav1.CreateOptions{}) Expect(err).ToNot(HaveOccurred()) } Expect(wf.Start()).To(Succeed()) defer wf.Shutdown() currentPod := params.pods[0] mi...
Go
trol Systems where I worked prior to joining Scantlin. The paper came in widths of about six inches, and had to be sliced . . . I know Jack Scantlin and I spent hours in the classified and other directories and on the phone finding plastic for the tape tank, motors to drive the tape, pushbuttons, someone to make the de...
HTML
.o-crop__content--right-bottom { top: auto; right: 0; bottom: 0; left: auto; } .o-crop__content--center-top { left: 50%; transform: translateX(-50%); } .o-crop__content--center, .o-crop__content--center-center { top: 50%; left: 50%; transform: translate(-50%, -50%); ...
CSS
dest) { for (int i = 0; i < 3; i++) { int col = i * 4; double sum = 0; for (int j = 0; j < 3; j++) { sum += m[col + j] * src[j]; } dest[i] = (float)sum; } } public double[] vecmult(double[] src) { double[] ret = new double[3]; mult3v(src, ret); return ret;...
Java
st import ( "testing" authtypes "github.com/cosmos/cosmos-sdk/x/auth/types" govtypes "github.com/cosmos/cosmos-sdk/x/gov/types" "github.com/elys-network/elys/v7/testutil/sample" "github.com/elys-network/elys/v7/x/perpetual/keeper" "github.com/elys-network/elys/v7/x/perpetual/types" ) func (suite *PerpetualKeep...
Go
== nullptr || b->eval_ == nullptr; } else if (b == nullptr || b->eval_ == nullptr) { return false; } // Check equality of the representative fields. return a->eval_ == b->eval_ && a->arg_ == b->arg_ && !memcmp(a->callback_, b->callback_, sizeof(a->callback_)); } ABSL_NAMESPACE_END } // namespace ...
C++
简直要让我发疯了。 </p><p>最后,她走到我坐的椅子旁,坐在椅子的扶手上,她的臀部碰到我的肩膀,一只手抚弄着我的头发。“啊,”她说。“就剩下你我两人了。” </p><p>“对极了。” </p><p>她探过身,轻轻吻吻我的额头。我像块木头一样坐着。我成功了,一切都会顺利起来的。 </p><p>“我随便吃点东西,”我说。“我要去见亨利,今天是星期一晚上。” </p><p>“我给你做一点什么。” </p><p>“不用了,我到街上买点吃,谢谢你,宝贝。” </p><p>“可是我喜欢给你做点吃的东西。” </p><p>“我不饿,琼。” </p><p>“我明白了,好吧,罗伯特。” </p><p>“也许回头再来看你。” </p><p>她冲我笑...
Dart
ELECTION = 1, /** Anchor point selected. */ ANCHORPOINT = 2, /** Left direction point selected. */ LEFTDIRECTION = 3, /** Right direction point selected. */ RIGHTDIRECTION = 4, /** Left and right direction points selected. */ LEFTRIGHTPOINT = 5 } /** * The path point type: smooth/corner. * @enum */ export d...
Typescript
* Pipes for filter data for property and value * @example " items | dataFilter :value :property " * @param {IDataModel[]} items List of data * @param {string} value Value for filter * @param {string} prop = 'id' Property name for filtering. Default id * @param {string[]} args Othe...
Typescript
ceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "gmock/gmock.h" #include "gtest/gtest.h" #include "lldb/Utility/Log.h" #include "lldb/Utility/S...
C++
#Load in Statsbomb competition and match data #This is a library for loading json files. import json #Load the competition file #Got this by searching 'how do I open json in Python' with open('Statsbomb/data/competitions.json') as f: competitions = json.load(f) #Womens World Cup 2019 has competition ID 72 com...
Python
permutation)?; if &statistic <= true_statistic { Ok(0.0) } else { Ok(1.0) } } struct PermutationIteration<T: Ord + Clone> { permutation: Vec<T>, greater_than_truth: Option<Result<f64>>, } fn do_permutation_iteration<T, B>( algorithm: &B, true_statistic: &T, permutation_...
Rust
{% endhighlight %} 交通信号灯的初始状态(initial)为green,events属性是触发状态改变的各种事件,比如warn事件使得green状态变成yellow状态,stop事件使得yellow状态变成red状态等等。 生成实例以后,就可以随时查询当前状态。 - fsm.current :返回当前状态。 - fsm.is(s) :返回一个布尔值,表示状态s是否为当前状态。 - fsm.can(e) :返回一个布尔值,表示事件e是否能在当前状态触发。 - fsm.cannot(e) :返回一个布尔值,表示事件e是否不能在当前状态触发。 Javascript Finite State Machine允许为每...
Markdown
') expect(exp('overlaps', [10])).toStrictEqual('"x"."y" && ?') expect(exp('greaterThan', 10)).toStrictEqual('"x"."y" > ?') expect(exp('greaterThanOrEqual', 10)).toStrictEqual('"x"."y" >= ?') expect(exp('lessThan', 10)).toStrictEqual('"x"."y" < ?') expect(exp('lessThanOrEqual', 10)).toStric...
Typescript
[4467] = { ["D"] = "", ["O"] = "", ["T"] = "被腐化的迎风花", }, [4481] = { ["D"] = "", ["O"] = "", ["T"] = "体质圣典", }, [4482] = { ["D"] = "三十个金币, $C. 三十个金币和所需的原料.$B$B需要金钱: 30 个金币$B$B坚韧圣契: (1)$B$B黑钻石: (1)$B$B守护水晶: (4)$B$B卡加之眼: (1)", ["O"] = "坚韧圣契", ["T"] = "坚韧圣契*", }, [4483] = { ...
Lua