content
stringlengths
2
6.21k
label
stringclasses
16 values
) { b -= a; return function(t) { return a + b * t; }; }; d3.interpolateRound = function(a, b) { b -= a; return function(t) { return Math.round(a + b * t); }; }; d3.interpolateString = function(a, b) { var m, i, j, s0 = 0, s1 = 0, s = [], q = [], n, o; d3_interpolate_n...
JavaScript
rn number GetCurrencyListSize = function() end ManageBackpackTokenFrame = {} ---@param index number ---@return string, boolean, boolean, boolean, number, string, number, number, number, nil, number GetCurrencyListInfo = function(index) end ---@param index number ---@param state 0|1 ExpandCurrencyList = function(index, ...
Lua
if (PAGE_OFFSET & 0xffff) != 0 # error Code here assumes PAGE_OFFSET can be loaded with just hi16() #endif #if ATOMIC_LOCKS_FOUND_VIA_TABLE() { /* Check for unaligned input. */ bnz sp, .Lcmpxchg_badaddr mm r25, r0, zero, 3, PAGE_SHIFT-1 } { crc32_32 r25, zero, r25 moveli r21, lo16(atomic_lock_ptr) ...
Assembly
using Panda.Messaging.Domain; using Panda.Messaging.Domain.Shared.Constants; using Panda.Messaging.Domain.Shared.Enums; using Panda.Messaging.Domain.Shared.EventData; using Panda.Messaging.Domain.Shared.Models; using Panda.Net.Bases.Announcements.Dtos; using Panda.Net.Bases.Announcements.Entities; using System; using ...
C#
6,D6 rol.b #1,D5 ror.b #2,D4 roxl.b #3,D4 addx.b D5,D5 roxl.b #2,D4 addx.b D3,D3 ror.b #1,D3 addx.b D5,D5 roxl.b #2,D3 addx.b D4,D4 addx.b D2,D2 ror.b #1,D2 addx.b D5,D5 roxl.b #2,D2 addx.b D4,D4 addx.b D1,D1 ror.b #1,D1 addx.b D5,D5 roxl.b #2,D1 addx.b D4,D4 addx.b D0,D0 ror.b #1,D0 addx.b D5,D5...
Assembly
t\t\t// Rodrigues' axis-angle rotation\n\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross(axis, vOutputDirection) * sin(theta)\n\t\t\t\t\t+ axis * dot(axis, vOutputDirection) * (1.0 - cosTheta);\n\t\t\tgl_FragColor.rgb +=\n\t\t\t\t\tweights[i] * bilinearCubeUV(envMap, sampleDirection, mipInt);...
JavaScript
sizeof(overlapped)); overlapped.hEvent = CreateEvent(NULL,FALSE,FALSE,NULL); if (!overlapped.hEvent) { hr = E_OUTOFMEMORY; DebugPrintf(TRACE_ERROR,TEXT("CKsIrpTarget::SyncIoctl CreateEvent failed")); } else { // Flag the event by settin...
C++
7F 43 D3 78 */ mr r3, r26 lbl_8030497C: /* 8030497C 003005DC 2C 03 00 00 */ cmpwi r3, 0 /* 80304980 003005E0 40 80 00 74 */ bge lbl_803049F4 /* 80304984 003005E4 80 6D AF 90 */ lwz r3, lbl_80640250-_SDA_BASE_(r13) /* 80304988 003005E8 2C 1F 00 00 */ cmpwi r31, 0 /* 8030498C 003005EC 38 63 30 00 */ addi r3, r3, 0x...
Assembly
length(v) return Float4(v.x * l, v.y * l, v.z * l, v.w * l) } inline fun clamp(v: Float4, min: Float, max: Float): Float4 { return Float4( clamp(v.x, min, max), clamp(v.y, min, max), clamp(v.z, min, max), clamp(v.w, min, max)) } inline fun clamp(v: Float4, min: ...
Kotlin
Fields::Named(ref fields) => generate_write_body_for_struct(fields), Fields::Unnamed(_) => unimplemented!(), Fields::Unit => quote!(Ok(())), }, Data::Enum(ref data) => generate_write_body_for_enum(data), Data::Union(_) => unimplemented!(), }; // Complete ...
Rust
ingle argument with the listed properties // run test/logs.html for any related changes begin: function() {}, // done: { failed, passed, total, runtime } done: function() {}, // log: { result, actual, expected, message } log: function() {}, // testStart: { name } testStart: function() {}, // testDone: { name, ...
JavaScript
} if bundle.BundleDataReader != nil { bundle.BundleDataReader.Close() os.Remove(bundle.BundleDataReader.Name()) } }() onChainItems, err = s.getOnChainBundleStream(itemIds) if err != nil { log.Error("s.getOnChainBundleStream(itemIds)", "err", err) return } // assemble and send to arwea...
Go
" label="190 - Artificial areas "/>' + '<ColorMapEntry color="#e3fdfd" quantity="200" label="200 - Bare areas"/>' + '<ColorMapEntry color="#3f72af" quantity="210" label="210 - Water bodies"/>' + '<ColorMapEntry color="#f5f5f5" quantity="220" label="220 - Permanent snow and ice "/>' + '...
JavaScript
m[team] = by_team.get(team, 0) + 1 observations = [] for team, count in by_team.items(): observations.append((count, {"team": team})) return observations except Exception: return [(0, {"team": "error"})] def observe_team_capacity(options): """Callba...
Python
table.insert(groups, group) if self.listsCached and groupDetails.type == GroupType.List then local infos = {} for _, link in ipairs(groupDetails.list) do local info = AuctionatorBagCacheFrame:GetByLinkInstant(link, true) if info ~= nil then table.insert(infos, info) en...
Lua
/* * This file is part of OpenATS COMPASS. * * COMPASS 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) any later version. * * COMPASS is distribut...
C
918417930603, y: 1.5595645904541016, z: -0.26586905121803284, }, Quaternion: { x: 0.04017375037074089, y: 0.4819274842739105, z: 0.023559853434562683, w: -0.8749725818634033, }, EulerAngles: { x: 354.6632080078125, ...
JavaScript
licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, 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 // limit...
Go
-- SPDX-FileCopyrightText: 2019 The CC: Tweaked Developers -- -- SPDX-License-Identifier: MPL-2.0 local capture = require "test_helpers".capture_program describe("The rm program", function() local function touch(file) io.open(file, "w"):close() end it("deletes one file", function() touch(...
Lua
56|N|Kill gyreworms in and around the Crumbling Depths.| C Motes|QID|27047|NC|S|M|66.43,20.61|N|Gather painite motes inside the Crumbling Depths.| A Underground Economy|QID|27048^28488^26710|M|61.38,26.16|N|From Ricket.| C Beneath the Surface|QID|28488|M|58.46,25.57;61.32,29.20;66.07,28.13;59.80,23.63;64.40,15.11;68.23...
Lua
length: " + statOutput(df, length, "")); outputWriter("F-Measure on training set: " + statOutput(df, fMeasureTraining, "%")); outputWriter("F-Measure: " + statOutput(df, fMeasure, "%")); outputWriter("predictive accuracy on training set: " + statOutput(df, accuracyTraining, "%")); outputWriter("predictive accur...
Java
/* * Copyright (c) 2015 Parag Salasakar (parag.salasakar@imgtec.com) * Zhou Xiaoyong <zhouxiaoyong@loongson.cn> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by t...
C
LOOR_MAGTHERIDONSLAIR1 = "마그테리돈의 둥지"; DUNGEON_FLOOR_MANATOMBS1 = "마나 무덤"; DUNGEON_FLOOR_MARAUDON1 = "마라우돈 동굴"; DUNGEON_FLOOR_MARAUDON2 = "재타르의 무덤"; DUNGEON_FLOOR_MARDUMTHESHATTEREDABYSS2 = "영혼의 기계 하층"; DUNGEON_FLOOR_MARDUMTHESHATTEREDABYSS3 = "영혼의 기계 상층"; DUNGEON_FLOOR_MOGUSHANPALACE1 = "진홍빛 회합 전당"; DUNGEON_FLOOR_MOGUS...
Lua
m_notes(), m_sustainPedalPressed(false), m_silentBuffersProcessed(false), m_previewMode(false), m_baseNoteModel(0, 0, NumKeys - 1, this, tr("Base note")), m_firstKeyModel(0, 0, NumKeys - 1, this, tr("First note")), m_lastKeyModel(0, 0, NumKeys - 1, this, tr("Last note")), m_hasAutoMidiDev(false), m_volumeModel...
C++
using System.Numerics; using LottieUWP.Model.Animatable; using LottieUWP.Model.Content; namespace LottieUWP.Parser { static class CircleShapeParser { internal static CircleShape Parse(JsonReader reader, LottieComposition composition, int d) { string name = null; IAnimat...
C#
\\\\d{1,3}\\\\.\\\\d{1,3}(:\\\\d{1,5})?\\\\b\"},{cN:\"number\",b:\"\\\\b\\\\d+[kKmMgGdshdwy]*\\\\b\",r:0},r]};return{aliases:[\"nginxconf\"],c:[e.HCM,{b:e.UIR+\"\\\\s+{\",rB:!0,e:\"{\",c:[{cN:\"section\",b:e.UIR}],r:0},{b:e.UIR+\"\\\\s\",e:\";|{\",rB:!0,c:[{cN:\"attribute\",b:e.UIR,starts:b}],r:0}],i:\"[^\\\\s\\\\}]\"}...
Kotlin
t = "sale", payer = { payment_method = "credit_card", funding_instruments = { { credit_card = { number = "4727732872543303", type = "visa", expire_month = 11, expire_year = 2021, cvv2 = 111, first_name = "Stepan", last_name = "Mitkin" } } } }, transactions = { ...
Lua
->next; } /* we have to clear out the declare name here or else it may cause issues * when we try to process it's children, and when we try to free the token * data */ if (token->kind == ADA_KIND_ANONYMOUS && strncasecmp (token->name, AdaKeywords[ADA_KEYWORD_DECLARE], strlen (AdaKeywords[ADA_KEYWORD_DEC...
C
_previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevSignature !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n }...
JavaScript
()); } TEST_P(HttpServerPropertiesCacheImplTest, CanonicalSuffixQuicBrokenness) { Runtime::maybeSetRuntimeGuard( "envoy.reloadable_features.use_canonical_suffix_for_quic_brokenness", true); std::string suffix = ".example.com"; std::string host1 = "first.example.com"; std::string host2 = "www.second.examp...
C++
fmul.x %fp0,%fp1 # S(B5+...) fmul.x %fp0,%fp2 # S(A4+...) fadd.d COSB4(%pc),%fp1 # B4+S(B5+...) fadd.d SINA3(%pc),%fp2 # A3+S(A4+...) fmul.x %fp0,%fp1 # S(B4+...) fmul.x %fp0,%fp2 # S(A3+...) fadd.x COSB3(%pc),%fp1 # B3+S(B4+...) fadd.x SINA2(%pc),%fp2 # A2+S(A3+...) fmul.x %fp0,%fp1 # S(B...
Assembly
ng.""" temperature: float """A higher temperature increases randomness in the outputs.""" top_p: float """An alternative to temperature for nucleus sampling; 1.0 includes all tokens.""" class CreateEvalCompletionsRunDataSourceParam(TypedDict, total=False): source: Required[Source] """Determi...
Python
,1), inset 0px 1px 1px rgba(0,0,0,0.2); } .camera_wrap .camera_pag .camera_pag_ul li > span { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; height: 8px; left: 4px; overflow: hidden; position: absolute; top: 4px; width: 8px; } .camera_commands_emboss .camera_pag .camera_pag_ul li:ho...
CSS
mass number)', 'Nh' : '[286] (mass number)', 'Fl' : '[289] (mass number)', 'Mc' : '[290] (mass number)', 'Lv' : '[293] (mass number)', 'Ts' : '[294] (mass number)', 'Og' : '[294] (mass number)', }; /// Mapping for element names to Wikipedia titles. /// If no mapping is provided, the element name itself is ...
Dart
76d)); assertThat(ByteUnit.MiB.convert(1d, ByteUnit.PiB), equalTo(1073741824d)); } @Test(expected = ArithmeticException.class) public void shouldThrowArithmeticExceptionWhenCannotConvertMebiToBytes1() { assertThat(ByteUnit.MiB.toBytes(Integer.MIN_VALUE + 1), equalTo(Integer.MIN_VALUE)); ...
Java
i % 8 == 0 ? "\n " : " "); printk("\nlocally unmasked:\n "); for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--) { xen_ulong_t pending = sh->evtchn_pending[i] & ~sh->evtchn_mask[i] & cpu_evtchn[i]; printk("%0*"PRI_xen_ulong"%s", (int)(sizeof(sh->evtchn_mask[0])*2), pending, i % 8 =...
C
bFKRmDUTxS3N7QYGYmwzCkqklBGlPDEcTNv+sg9tNCbTXuvBWujE0bHrZj9JE1B/wU1Pm5PwJN6YBS9a2kVvQEcWnrh5GTFD3lxkYkqRMgYQlwVldUvDnen73LHTUuqitdKM0eAr9AFQfd1J/yo2aJn+2sn4Wdn5qEFODJskgBIjx5T0uCrQA08pnIjS9PERDjPnfOKXAMEBECUoGEIHBj+2zkt76UQ6dXheGAev3+cg74Kf6uJPqcicbfuond7cPy4SOiy7+tD9nFvZurx00KOk3CNEC+mE+vjSPBc7IWqgqTaPT60IMcO/xsXGa3Hf...
CSS
/* mdb_copy.c - memory-mapped database backup tool */ /* * Copyright 2012-2021 Howard Chu, Symas Corp. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP * Public License. * * A copy of this license is av...
C
+ 1) } if (prevTextChapter == null) { loadContent(durChapterIndex - 1) } } /** * 加载章节内容 * @param index 章节序号 * @param upContent 是否更新视图 * @param resetPageOffset 滚动阅读是否重置滚动位置 * @param success 加载完成回调 */ fun loadContent( index: Int, ...
Kotlin
0x8b44f7afL); /* 10 */ c = FF(c, d, a, b, x[10], S13, 0xffff5bb1L); /* 11 */ b = FF(b, c, d, a, x[11], S14, 0x895cd7beL); /* 12 */ a = FF(a, b, c, d, x[12], S11, 0x6b901122L); /* 13 */ d = FF(d, a, b, c, x[13], S12, 0xfd987193L); /* 14 */ c = FF(c, d, a, b, x[14], S13, 0xa679438eL); /* 15 */ b = FF(b, c, d...
Java
oncat(d,"-picker-range\n "),{display:"inline-flex"}),(0,r.Z)(l,"& > *:not(:last-child)",{marginInlineEnd:-e.lineWidth,borderInlineEndWidth:e.lineWidth}),(0,r.Z)(l,"".concat(u),{float:"none"}),(0,r.Z)(l,"& > ".concat(d,"-select > ").concat(d,"-select-selector,\n & > ").concat(d,"-select-auto-complete ").concat...
JavaScript
p = 'whatsapp', } const platformNames = new Map([ [SocialMediaPlatform.Twitter, 'Twitter'], [SocialMediaPlatform.LinkedIn, 'LinkedIn'], [SocialMediaPlatform.GitHub, 'GitHub'], [SocialMediaPlatform.Telegram, 'Telegram'], [SocialMediaPlatform.WhatsApp, 'WhatsApp'], ]); const defaultSocialMediaDefinitionOption...
Typescript
.998\tc0,0.891,1.077,1.337,1.707,0.707L24.412,38H42c1.105,0,2-0.895,2-2V10C44,8.895,43.105,8,42,8z" />\n </svg>\n </span>\n <span class="ycs-like-count">${D}</span>\n <button class="ycs-open-reply" data-idcom="${V}" title="Open replies to t...
JavaScript
battleTooltip.mapName = GetTooltipLine(battleTooltip.mainControl) end battleTooltip.mapName.Update(offset, "Map: " .. battle.mapName) offset = offset + 21 elseif battleTooltip.mapName then battleTooltip.mapName.Hide() end -- Players and Spectators if battle.spectatorCount and battle.maxPlayers and battle...
Lua
Gender = 2, Ability = Any12, Location = 3000, EggLocation = 3000 }, // Phione ]; internal static readonly EncounterTrade4PID[] TradeGift_DPPtIngame = [ new(TradeNames, 00, DPPt, 0x0000008E, 063, 01) { Ability = OnlyFirst, TID16 = 25643, SID16 = 00000, OTGender = 1, Gender = 0, IVs = new(15,15,15,2...
C#
rino Grande Temerário", [39947] = "Citrino Grande Inscrito", [39948] = "Cristal Sombrio Cinzelado", [39949] = "Citrino Grande do Campeão", [39950] = "Citrino Grande Resplandecente", [39951] = "Citrino Grande Tenaz", [39952] = "Citrino Grande Mortal", [39953] = "Cristal Sombrio Irisado", [39954] = "Citrino Grande Luzidi...
Lua
arset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='%23cccccc'/%3E%3C/svg%3E") left 0 top 0 #fff!important}.tox .tox-menubar+.tox-toolbar-overlord{border-top:none}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-t...
CSS
int32_t branching_factor) : kMaxHeight_(static_cast<uint16_t>(max_height)), kBranching_(static_cast<uint16_t>(branching_factor)), kScaledInverseBranching_((Random::kMaxNext + 1) / kBranching_), compare_(cmp), allocator_(allocator), head_(NewNode(0 /* any key will do */, max_heigh...
C
entError) { throw new ArgumentError("Illegal path character $segment"); } else { throw new UnsupportedError("Illegal path character $segment"); } } }); } static _checkWindowsPathReservedCharacters(List<String> segments, bool...
Dart
keNotifyType>( selector: (_, model) => model.monitor, builder: (context, monitor, child) { return ListSectionTile( title: '強震監視器'.i18n, subtitle: Text(getEarthquakeNotifyTypeName(monitor)), ...
Dart
797fa8bL, (0x5d49eeb1L << 32) | 0xfaf97c5eL, (0xcf41ce7dL << 32) | 0xe294a4baL, 0x9afed7ecL << 32 }; /** Bits of pi/4, need for reducePayneHanek(). */ private static long PI_O_4_BITS[] = new long[] { (0xc90fdaa2L << 32) | 0x2168c234L, (0xc4c6628bL << 32) | 0x80dc1cd1L ...
Java
= `The correct answer is: <br><b style="color:yellow; font-size:2.5vw;">${correctAnswer}</b>`; feedback.className = 'incorrect'; document.querySelector('.question-container').classList.add('shake'); incorrectQuestions.push(question); setTimeout(() => { document.querySelecto...
JavaScript
.7 24 24s-10.7 24-24 24l-11 0c-2.2 8.6-5.6 16.9-10.3 24.8L601 343c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-4.1-4.1-30.1 30.1 4.1 4.1c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-4.1-4.1c-10 10-20 20-30.1 30.1L473 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-6.3-6.3c-7.8 4.6-16.2 8-24.8 10.3l0 11c0 13.3-10.7 24-24 24s-24...
JavaScript
, 1024, L"Calling: %ls\n", strMsg ); swprintf_s( strBuffer, BUFFER_SIZE, L"File: %ls\nLine: %ls\nError Code: %ls\n%lsDo you want to debug the application?", strBufferFile, strBufferLine, strBufferError, strBufferMsg ); int nResult = MessageBoxW( GetForegroundWindow(), strBuffer, L"...
C++
using System; namespace Unity.VisualScripting { public partial class EnsureThat { public void HasAttribute(Type param, Type attributeType) { if (!Ensure.IsActive) { return; } if (!param.HasAttribute(attributeType)) { ...
C#
local Modules = game:GetService("Players").LocalPlayer.PlayerGui.AvatarEditorInGame.Modules local Roact = require(Modules.Packages.Roact) local UIBlox = require(Modules.Packages.UIBlox) local RoactRodux = require(Modules.Packages.RoactRodux) local RoactServices = require(Modules.Common.RoactServices) local AvatarEdit...
Lua
.katex { text-align: left; padding-left: 2em; } @import url(/fonts/inter/web/inter.css); @tailwind base; @tailwind components; @tailwind utilities; @layer base { :root { --background: 0 0% 100%; --foreground: 240 10% 3.9%; --card: 0 0% 100%; --card-foreground: 240 10% 3.9%; --popover: 0 0% 100%; --p...
CSS
', }, // { // type: 2, // disabled: sel === 'colors', // style: 1, // label: 'Colors', // custom_id: 'colors', // }, { type: 2, style: 1, disabled: sel === 'other', label: 'Other', custom_id: 'other', }, ]; import { createReducer, on } from "@ngrx/store"; import { addT...
Typescript
ction(t){return t>=65136&&t<=65279},"Halfwidth and Fullwidth Forms":function(t){return t>=65280&&t<=65519}};function ni(t){for(var e=0,r=t;e<r.length;e+=1)if(ii(r[e].charCodeAt(0)))return !0;return !1}function ii(t){return !(746!==t&&747!==t&&(t<4352||!(ri["Bopomofo Extended"](t)||ri.Bopomofo(t)||ri["CJK Compatibility ...
JavaScript
clickable-icon { height: 34px; min-width: 34px; margin-top: auto; margin-bottom: auto; } .sidebar-toggle-button.mod-left .clickable-icon { @include replace-svg(var(--adwaita-icon-sidebar-show-symbolic)) } .sidebar-toggle-button.mod-right .clickable-icon { ...
CSS
&IInspectable, localName: &HStringArg) -> Result<Option<XmlAttribute>> { unsafe { let mut out = null_mut(); let hr = (self.get_vtbl().GetAttributeNodeNS)(self.get_abi() as *const _ as *mut _, namespaceUri.get_abi() as *const _ as *mut _, localName.get(), &mut out); if hr == S_OK { Ok(XmlAttrib...
Rust
Code(url, contentProvider.contentType()); this.addUISourceCodeWithProvider(uiSourceCode, contentProvider, null, mimeType); return uiSourceCode; } /** * @param {string} path */ removeFile(path) { delete this._contentProviders[path]; this.removeUISourceCode(path); } reset() { this._c...
JavaScript
çalışmıştım... Başbuğ dönemi Genelkurmay stratejisi “AK Parti hükümetine yakınlaşarak Gülen hareketini yalnızlaştırma ve izole etme” makro planı üstüne kuruluydu...</p> <p>İlker Başbuğ’da çok ciddi bir “Gülen hareketi obsesyonu” vardı. Aslında şu anki mevcut generaller kadrosunun çoğunluğunda bu obsesyon mevcut. Öyle ...
Markdown
} _in.Close(); } ms.Close(); } return hasData; } void MulAdRandMisOperation(TargetType curType, int targetid) { switch (curType) { case TargetType.TargetType_KillMonster: ...
C#
ate = 0.0001 # 0.0005 # 0.001 n_layers = 1 #2 n_neurons = 256 #512 batch_size = 64 n_epochs = 1000 early_stop_patience = 150 #100 #50 lr_scheduler_patience = 10 model_type = 'MobileNetV1' n_splits = 10 #Para rodar teste de leave-one-out cross validation descomente abaixo #run_lo...
Python
EXT: Total uOps: 4 # ZNVER1-NEXT: Total Cycles: 11 # ZNVER1-NEXT: Total uOps: 2 # ZNVER2-NEXT: Total Cycles: 11 # ZNVER2-NEXT: Total uOps: 2 # BDVER2: Dispatch Width: 4 # BDVER2-NEXT: uOps Per Cycle: 0.20 # BDVER2-NEXT: IPC: 0.20 # BDVER2-NEXT: Block RT...
Assembly
":"Dictionaries","btn_disable":"Disable SCAYT","btn_enable":"Enable SCAYT","btn_langs":"Languages","btn_options":"Options","text_title":"Spell Check As You Type"},"stylescombo":{"label":"Stil","panelTitle":"Formatarea stilurilor","panelTitle1":"Block Styles","panelTitle2":"Inline Styles","panelTitle3":"Object Styles"},...
JavaScript
ntext db) { _repository = repository; _db = db; } public async Task<Unit> Handle(Command command, CancellationToken cancellationToken) { var reviewIds = await GetReviewIds(command.UserId); var reviews = awa...
C#
(FString::Printf(TEXT("%s.%s"), *VertexName, *PinNameString)); } PinLiteralObject->LiteralValue = LiteralValue; InputM2SoundPins.Add(PinName, PinLiteralObject); } //PinObject->bIsConstructorPin = bIsConstructorPin; } //now the outputs for (const auto& Handle : OutHandles) { FName PinName; FNam...
C++
using System; using NUnit.Framework; using Streamiz.Kafka.Net.Crosscutting; using Streamiz.Kafka.Net.Metrics.Stats; namespace Streamiz.Kafka.Net.Tests.Metrics.Stats { public class MinTests { private Min min; private readonly MetricConfig config = new MetricConfig(); [SetUp] pub...
C#
String packages = packageBase + "." + classNameSmall.toLowerCase(); paraMap.put("package", packages); paraMap.put("className", className); paraMap.put("classNameSmall", classNameSmall); paraMap.put("basePath", basePath); String filePath = System.getProperty("user.dir") + "/" + srcFolder + "/" + packages...
Java
inal static Color BLUE = blue; /** * The color value. * @serial * @see #getRGB */ int value; /** * The color value in the default sRGB <code>ColorSpace</code> as * <code>float</code> components (no alpha). * If <code>null</code> after object construction, this must be an...
Java
onIds or whose error value is an `Error<Value>` describing the error that occurred. pub async fn get_transactions(self, transaction_ids: Vec<&str>) -> Result<Transactions> { valid_vec_len(&transaction_ids, ERR_EMPTY_TRANSACTION_IDS)?; valid_vec_hash(&transaction_ids)?; let ids = Transactio...
Rust
us: 3px; border-radius: 3px; background-image: url(../images/gf-entry-paging-sprite.jpg); background-repeat: no-repeat; background-position: -144px 0; } div.gf_entry_detail_pagination { clear: both; float: right; font-size: 13px; } div.gf_entry_detail_pagination ul{ height: 15px; } div.gf_entry_deta...
CSS
x) { .primary-navigation > .primary-menu-container { height: 100vh; z-index: 499; overflow-x: hidden; overflow-y: auto; border: 2px solid transparent; } .has-logo.has-title-and-tagline .primary-navigation > .primary-menu-container { position: fixed; transform: translateY(0) translateX(100%); } .ad...
CSS
from!(i8, NonMaxI32); impl_smaller_from!(i8, NonMaxI64); impl_smaller_from!(i8, NonMaxI128); impl_smaller_from!(i8, NonMaxIsize); impl_smaller_from!(i16, NonMaxI32); impl_smaller_from!(i16, NonMaxI64); impl_smaller_from!(i16, NonMaxI128); impl_smaller_from!(i16, NonMaxIsize); impl_smaller_from!(i32, NonMaxI64); impl_sm...
Rust
CMYK, CIE L*a*b*, unknown. if (bitsPerSample % 8 == 0) { imageType = TiffImageType.generic; } break; } } bool get isValid => width != 0 && height != 0; Image decode(InputBuffer p) { final isFloat = sampleFormat == TiffFormat.float; final isInt = sampleFormat == Tif...
Dart
default') { runCode = getCodeAtIndex(i); break; } } // If there is still nothing return an empty var if (!runCode) return new TclSimple(''); } // Interpret the procedures tcl code with the new scope let newInterpreter = new Interpreter( ...
Typescript
crypto::verify_chunking( &crypto::ChunkingInstance { g1_gen: miracl::ECP::generator(), public_keys: public_keys.clone(), ciphertext_chunks: ciphertext.cc.clone(), randomizers_r: ciphertext.rr.clone(), ...
Rust
*/ @Deprecated public Builder withNetworks(final List<NetworkAttachmentConfig> networks) { if (networks != null && !networks.isEmpty()) { networks(networks); } return this; } public abstract Builder logDriver(Driver logDriver); /** * @deprecated As of release 7.0...
Java
t, this.prefix = "", }) { dateFmt ??= DateFormat("y-M-d"); } } class SuperLogging { /// The logger for SuperLogging static final $ = Logger('ente_logging'); /// The current super logging configuration static late LogConfig config; static late SharedPreferences _preferences; static const keyS...
Dart
const map = new Mock<AzureMap>() .onPromised('searchAddress', RESP4) .onPromised('getTimezoneByCoordinates', RESP2) .mock(); const loc = new LocationResolver(map); const resp = await loc.resolve('foo'); expect(resp.coordinates).to.deep.equal([1, 2]); expect(resp.timezone).to.equal...
Typescript
Vec3(lightOffset); savefile->ReadInt(lightStartTime); savefile->ReadInt(lightEndTime); savefile->ReadVec3(lightColor); savefile->ReadParticle(smokeFly); savefile->ReadInt(smokeFlyTime); #ifdef _D3XP savefile->ReadInt(originalTimeGroup); #endif savefile->ReadInt((int &)state); savefile->ReadFloat(damagePower...
C++
merTsProps(); assert.equal('boolean', pt._PolymerTypeToTs('Boolean')); }); }); }); suite('jsDoc formatting', function () { let pt = new PT.PolymerTsProps(); pt.tabValue = ' '; test('format jsdoc', function () { const test1 = ` /** * bla bla ...
Typescript
кое описание:** URL-путь должен быть коротким, понятным и желательно содержать ключевые слова (слова разделяются символом `-`). (Пример: `/page-seo-guide/`) 5. **Опыт пользователя:** * **Скорость загрузки страницы (Core Web Vitals):** Оптимизируйте скорость загрузки. * **Адаптивность для мобильных устройств:** Убед...
Markdown
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file dma.c * @brief This file provides code for the configuration * of all the requested memory to memory DMA transfers. ************************************************************...
C
ger.enableCull(); this.mc.mcProfiler.endStartSection("weather"); if (shaders) { Shaders.beginWeather(); } this.renderRainSnow(partialTicks); if (shaders) { Shaders.endWeather(); } GlStateManager.depthMask(true); renderglobal.ren...
Java
and/or other materials provided with the distribution. // * Neither the name of Shadow Robot Company Ltd. nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT H...
C++
LOAD_OPENGL_DLL = ''' version(Windows) { private import std.c.windows.windows; } else { private import core.sys.posix.dlfcn; } version(Windows) { private __gshared HMODULE libGL; } else { private __gshared void* libGL; } extern(System) private @nogc alias gladGetProcAddressPtrType = void* function(con...
Python
g Lair"; GEM_EVENT_CALENDAR_INSTANCE_ZG_NAME = "Zul'Gurub"; GEM_EVENT_CALENDAR_INSTANCE_AQ20_NAME = "Ruins of Ahn'Qiraj"; GEM_EVENT_CALENDAR_INSTANCE_AQ40_NAME = "Temple of Ahn'Qiraj"; GEM_EVENT_CALENDAR_INSTANCE_IMAGES_DIR = "en"; GEM_EVENT_CALENDAR_INSTANCE_FIRST_RESET_TIME_1 = 1136242800; -- Onyxia G...
Lua
ers; /// <summary> /// The user parameters that are used in the environment. See User Parameters for more information. /// </summary> public InputList<Inputs.EnvironmentUserParameterGetArgs> UserParameters { get => _userParameters ?? (_userParameters = new InputList<...
C#
_bitmap(next_icon_name, this, 16, !is_enabled) : bitmap_cache().mkclear(norm_icon_width, icon_height)); bmp = bitmap_cache().insert(bitmap_key, bmps); } return bmp; #endif } bool PresetComboBox::is_selected_physical_printer() { auto selected_item = this->GetSelection(); auto marker = reinterpr...
C++
gx.cube:xbPoke(VA_NUM_LINES, num) end function gx:RGB565(r, g, b) -- Original colors are in floating point, between 0 and 1. -- Note that tobit() already appears to round rather than truncating, so we don't add 0.5 r = bit.tobit(clamp(r, 0, 1) * 31) g = bit.tobit(cl...
Lua
oding: [0x05,0x00,0x99,0xd5,0x02,0x00,0x00,0x00] v_rndne_f64_e64 v[5:6], s[104:105] // GFX12: encoding: [0x05,0x00,0x99,0xd5,0x68,0x00,0x00,0x00] v_rndne_f64_e64 v[5:6], vcc // GFX12: encoding: [0x05,0x00,0x99,0xd5,0x6a,0x00,0x00,0x00] v_rndne_f64_e64 v[5:6], ttmp[14:15] // GFX12: encoding: [0x05,0x00,0x99,0xd5,0x7a...
Assembly
ue) associated with the given position on the unit sphere, /// in `[0, 12*nside^2[` /// # Panics /// If `lat` **not in** `[-90, 90]`, this method panics. #[wasm_bindgen(js_name = multiLonlatToNested)] pub fn wasm_hash_multi(depth: u8, coords: &[f64]) -> Box<[f64]> { let mut vec: Vec<f64> = Vec::with_capacity(coor...
Rust
leText = GetString(SI_PROMPT_TITLE_BUY_BAG_SPACE) } ZO_GamepadGenericHeader_RefreshData(self.header, self.headerData) GAMEPAD_BUY_BAG_SPACE_SCENE = ZO_InteractScene:New(GAMEPAD_BUY_BAG_SPACE_SCENE_NAME, SCENE_MANAGER, BUY_BAG_SPACE_INTERACTION) local StateChanged = function(oldState, newState) ...
Lua
.dart'; import '../service/gpodder_api.dart'; import '../type/fireside_data.dart'; import '../type/podcastlocal.dart'; import '../util/helpers.dart'; void callbackDispatcher() { if (Platform.isAndroid) { Workmanager().executeTask((task, inputData) async { final gpodder = Gpodder(); final status = awa...
Dart
ionMessage { if (error.children && error.children.length) { const children = error.children; const messages: ValidationError[] = Object.keys(children).map(key => children[key]); const msg = messages.map(map => { const err = map.constraints ? map.constraints : map.children ? map.children : ...
Typescript
mJson = function (data) { var shape = this.svgdoc.createElementNS(this.svgns, data.element); this.assignAttributes(shape, data.Attr); this.cleanupElement(shape); this.svgroot.append(shape); return shape; }; private getId = function () { if (this.events["getid"]) ...
Typescript
'series_list.pkl'), 'wb') as pkl_fh: pickle.dump(series_list, pkl_fh) util.print_err('Dumping JSON file...') with open(os.path.join(output_dir, 'series_list.json'), 'w') as json_file: json.dump([dict(series) for series in series_list], json_file, indent=4, sort_keys=True, defau...
Python