content
stringlengths
2
6.21k
label
stringclasses
16 values
@extend .icon-lg; } &-orange { @extend .icon-orange; @extend .icon-lg; } &-party { @extend .icon-party; @extend .icon-lg; } } .icon-xl { border-radius: #{$border-radius-lg}; width: 80px; height: 80px; padding: 16px; &-party { @...
CSS
GetPpuModel()); } else if ((profile.system.type) == Profile::System::VS_DUALSYSTEM) { throw RESULT_ERR_UNSUPPORTED_VSSYSTEM; } if (Cartridge::QueryExternalDevice( EXT_DIP_SWITCHES )) Log::Flush( "Cartridge: DIP Switches present" NST_LINEBREAK ); } catch (...) { Destroy(); ...
C++
es[i].key, testValues[i].spec); c.updateAAD(testValues[i].aad); byte[] ctPlusTag = c.doFinal(testValues[i].plainText); c.init(Cipher.DECRYPT_MODE, testValues[i].key, testValues[i].spec); c.updateAAD(testValues[i].aad); byte[] pt = c.doFina...
Java
kground: url(@path) @extras; background-size: @size; /* * Create an @2x-ish media query. */ @media @lowretina { background : url(@2xpath) @extras; background-size : @size; } /* * Create media queries for all environments that the user has * provided images for. */ .create-queri...
CSS
Info: &info.PacOpts{ Settings: settings.Settings{ BitbucketCloudCheckSourceIP: false, BitbucketCloudAdditionalSourceIP: "", }, }, } req := &http.Request{Header: map[string][]string{}} req.Header.Set("X-Event-Key", tt.eventType) req.Header.Set("X-Forwarded-For", tt.sourceIP) ...
Go
ndl $255,%ebx shrl $16,%edx xorl %eax,%eax movb %dh,%al andl $255,%edx movl CAST_S_table0(,%ecx,4),%ecx movl CAST_S_table1(,%ebx,4),%ebx xorl %ebx,%ecx movl CAST_S_table2(,%eax,4),%ebx subl %ebx,%ecx movl CAST_S_table3(,%edx,4),%ebx addl %ebx,%ecx xorl %ecx,%esi movl 32(%ebp),%edx movl 36(%ebp),%ecx xor...
Assembly
devices`() { val currentSessionCrossSigningInfo = givenCurrentSessionVerified(true) val filteredDeviceList = filterDevicesUseCase.execute(currentSessionCrossSigningInfo, devices, DeviceManagerFilterType.VERIFIED, emptyList()) filteredDeviceList.size shouldBeEqualTo 2 filteredDeviceList...
Kotlin
t/6.0). Once the .NET 6 SDK is installed, you can open a Command Prompt and install the MonoGame templates by typing the following command: ```sh dotnet new --install MonoGame.Templates.CSharp ``` **Next up:** [Creating a new project](2_creating_a_new_project_vs.md) **This package only works if you are targeting .NE...
Markdown
(var i = 0, l = a.length; i < l; i++) { zipped.push([a[i], b[i]]) } return zipped } /** compareArrays(left, right) assumes that `left` and `right` are both Arrays. */ function compareArrays<L, R>(left: L[], right: R[]): boolean { if (left.length !== right.length) { return false } return zip(left, rig...
Typescript
xFFu)<<16)|((uint(v.a)&0xFFu)<<24))"); if (opt.use_int8_storage) { custom_defines.append("i8buffer_ld1(buf,i)", "int(buf[i])"); custom_defines.append("i8buffer_st1(buf,i,v)", "{buf[i]=int8_t(v);}"); custom_defines.append("i8buffer_cp1(buf,i,sbuf,si)", "{buf[i]=sbuf[si];}"); } el...
C++
using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; using AppStudio.DataProviders.Twitter; namespace AppStudio.Uwp.Samples { public sealed partial class TwitterSample : Page { ...
C#
;font-size:16px}.checkout-buttons .checkout-submit b{position:absolute;left:0;top:0;width:135px;height:36px;background:url(../images/btn-submit.jpg) no-repeat;cursor:pointer;overflow:hidden}.checkout-buttons .checkout-submit:hover{background-color:#EF494D}.checkout-buttons .checkout-submit:hover b{background-position:0...
CSS
lyException>(() => Preferences.ContainsKey("anything")); Assert.Throws<NotImplementedInReferenceAssemblyException>(() => Preferences.ContainsKey("anything", "shared")); } [Fact] public void Preferences_Remove_Fail_On_NetStandard() { Assert.Throws<NotImplementedInReferenceAssemblyException>(() => Preferen...
C#
ع کرے", }, { "surah_number": 42, "verse_number": 14, "content": "لوگوں میں جو تفرقہ رو نما ہوا وہ اِس کے بعد ہوا کہ اُن کے پاس علم آ چکا تھا، اور اس بنا پر ہوا کہ وہ آپس میں ایک دوسرے پر زیادتی کرنا چاہتے تھے اگر تیرا رب پہلے ہی یہ نہ فرما چکا ہوتا کہ ایک وقت مقرر تک فیصلہ ملتوی رکھا جائے گا تو ...
Dart
, method.sizeCDParameters()); assertEquals("stereoinfo", method.getCDParameter(0).getName()); assertDeepEquals( mcTypeFacade.createMapTypeOf( mcTypeFacade.createQualifiedType(I_STEREOTYPE_REF), mcTypeFacade.createOptionalTypeOf(VALUE) ), method.getCDParameter(0).getMCType() ...
Java
src1[i] * src2[i]; } // compiler can not optimize this code // because of the pointer aliasing scenario // there might be a chance that those pointers // are pointing to the same object. // so compiler can not done SIMD optimization. // --------------------------------------------------- void multipl...
C
we should see this", e); } byte[] bytes = byteArrayOutputStream.toByteArray(); return bytes; } /** * unpack an array packed by pack() * * @param packedArray * @return * @see #pack(byte[]...) */ public static byte[][] unpack(byte[] packedArray) { try { DataInput input = ...
Java
.dropzone-previews .dz-preview .dz-progress{position:absolute;top:118px;left:8px;right:8px;height:4px;background-color:#eee;display:none;border-radius:2px}.dropzone .dz-preview .dz-progress .dz-upload,.dropzone-previews .dz-preview .dz-progress .dz-upload{display:block;position:absolute;top:0;bottom:0;left:0;width:0;he...
CSS
tilo","ok":"CONFIRMAR","cancel":"Cancelar","close":"Fechar","preview":"Pré-visualização","resize":"Redimensionar","generalTab":"Geral","advancedTab":"Avançado","validateNumberFailed":"Este valor não é um numero.","confirmNewPage":"Irão ser perdidas quaisquer alterações não guardadas. Tem a certeza que deseja carregar a...
JavaScript
/************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availab...
C
te str; call String_Append_INT(&str, 0, _); call String_Append_INT(&str, 10, 2); escape $str as int; ]], wrn = true, opts_pre = true, _opts = { ceu_features_trace='true' }, run = 6, } Test { [[ #include "string.ceu" var[30] byte str; call String_Append_INT(&str, 0, _); call String_Append_STR(&str, " 0...
Lua
using Warehouse.Api.Core.Commands; namespace Warehouse.Api.Products; internal class HandleRegisterProduct( Func<Product, CancellationToken, ValueTask> addProduct, Func<SKU, CancellationToken, ValueTask<bool>> productWithSKUExists) : ICommandHandler<RegisterProduct> { public async Task Handle(Register...
C#
ut labore et dolore magna aliqua' }, { title: 'Mon second post', content: '2Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua' }, { title: 'Encore un post', content: '3Lorem ipsum dolor sit amet, consectetur...
Typescript
= adapterFactory; } public bool TryVisit( ref object target, #if !NETSTANDARD2_0 [NotNullWhen(true)] #endif out IAdapter? adapter, out string? errorMessage ) { if (target == null) { adapter = null; errorMessage = null; return false; } adapter = SelectAdapter(target); // Traverse until...
C#
�니라 시각적 교차-어텐션 계층들 모두가 일반적인 텍스트-이미지 데이터세트들에 대해 트레이닝되기 때문에, 추론은 임의의 타겟 실수 단어들을 사용함으로써 임의의 카테고리들에 일반적으로 적용될 수 있어서, 우수한 오픈-도메인 커스터마이징 능력을 가능하게 한다.\n' + '\n' + '## 4 Experiments\n' + '\n' + '### Experimental Setups\n' + '\n' + '**구현.**_RealCustom_는 Stable Diffusion 상에서 구현되고, 1e-5 학습률을 갖는...
HTML
S_10ColorModelEhhhhhhNS_10AlphaUsageENS_13AlphaPositionENS_18AlphaPremultipliedENS_18TypeInterpretationENS_9ByteOrderEh", qtrt.FFI_TYPE_POINTER, colorModel, firstSize, secondSize, thirdSize, fourthSize, fifthSize, alphaSize, alphaUsage, alphaPosition, premultiplied, typeInterpretation, byteOrder, subEnum) qtrt.ErrPrin...
Go
*/ private static final char QUOTE = '\''; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ private static DateFormat formatHelper(Calendar cal, ULocale loc, int dateStyle, int timeStyle) /* */ { /* 3270 */ PatternData patternData = PatternData.make(cal, lo...
Java
--Gross Michael (Uncommon) - Creates Gros Michel at end of shop (must have room). --Gains x0.25 Mult for each Gros Michel held at end of round. --Destroyed with Gros Michel. (Ew! Just DIE already!) --kidnaps gros michel, credit https://github.com/Steamodded/examples/blob/master/Mods/ExampleJokersMod/ModdedVanilla.lu...
Lua
2HSjWlhzbaw.ttf', 'ZillaSlab-SemiBold', ); return font.getFont(); } /// @nodoc /// Zilla Slab 600italic static Future<Font> zillaSlabSemiBoldItalic() { const font = PdfGoogleFonts._( 'https://fonts.gstatic.com/s/zillaslab/v11/dFanZfeM_74wlPZtksIFaj8CIHCpXnp2fazkfg.ttf', 'ZillaSlab...
Dart
AIMove() {x = 1, y = 3, direction = 1}, "0 0 0 0\n" + "0 1 0 0\n" + "0 1 0 0\n" + "2 1 2 2" ); } [Test] public void TestInternalFunctions() { TestGetHighestY("1 1 1 0", 0); TestGetHighestY("2 0 2 0\n1 1 1 0", 1); TestGetHighestY("2 0 0 0\n1 0 0 0\...
C#
transform coordinates from the lamp frame of reference to the world Scale parameter should generally only be used for photometric_coords """ coords = self.inverse_rotation_matrix @ coords.T coords = (coords / scale).T + self.position if which == "polar": retu...
Python
); } } /* Copyright 2016 Ling Zhang 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 Unless required by applicable law or agreed to in writing, soft...
Typescript
= uni.requireNativePlugin('Fvv-UniSerialPort') ``` #### API //获取设备信息 **[getAllDeviceList(callback)](#getAllDeviceList)** **[getAllDevicePath(callback)](#getAllDevicePath)** //设置串口连接信息 **[setPath(path)](#setPath)** **[setBaudRate(baudRate)](#setBaudRate)** **[setStopBits(stopBits)](#setStopBits)** **[s...
Markdown
" media="screen"> <link rel="stylesheet" href="/css/moztw.css" media="screen"> <link rel="stylesheet" href="/css/cavendish/narrow.css" title="Cavendish" media="screen and (max-width: 500px)"> <link rel="alternate" type="application/rss+xml" title="RSS" href="/xmlnews.rdf"> <meta name="facebook-domain-verificati...
HTML
--&gt; B1(outbound); D --&gt; B2(outbound); D --&gt; B3(outbound); D --&gt; B4(outbound); </div> <p>Notes:</p> <ul> <li>You have to configure at least one inbound and one outbound to make V2Ray work properly.</li> <li>The inbound proxy communicates with client software such as browser.</li> <li>The outbound proxy comm...
HTML
ifdef CONFIG_ACPI pm->acpi_nb.notifier_call = nouveau_pm_acpi_event; register_acpi_notifier(&pm->acpi_nb); #endif return 0; } void nouveau_pm_fini(struct drm_device *dev) { struct drm_nouveau_private *dev_priv = dev->dev_private; struct nouveau_pm_engine *pm = &dev_priv->engine.pm; if (pm->cur != &pm->boot) ...
C
OR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ package org.openspcoop2.core.protocolli.trasparente.testsuite.connettori.redirect; im...
Java
/* Copyright (c) 2011-2016, 2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed ...
C
; struct kxcjk1013_data *data = iio_priv(indio_dev); int ret = 0; mutex_lock(&data->mutex); ret = kxcjk1013_set_mode(data, OPERATION); if (ret == 0) ret = kxcjk1013_set_range(data, data->range); mutex_unlock(&data->mutex); return ret; } #endif #ifdef CONFIG_PM static int kxcjk1013_runtime_suspend(struct dev...
C
U+6790, U+6838, U+68d2, U+68ee, U+6982, U+69ae, U+69cb, U+6a39, U+6b66, U+6bba, U+6c5f, U+6ce1, U+6d0b, U+6d3e, U+6d6a, U+6e1b, U+6ed1, U+6f22, U+6f54, U+6f6e, U+6fc0, U+6fdf, U+719f, U+71c8, U+71d2, U+7259, U+72c2, U+7389, U+73e0, U+745e, U+751a, U+751c, U+7530, U+7533, U+7562, U+7591, U+75c5, U+75db, U+7642, U+7686,...
CSS
else if (activeChar.isFestivalParticipant()) { requestedPointType = 4; } if (activeChar.isPhoenixBlessed()) { activeChar.stopPhoenixBlessing(null); } switch (requestedPointType) { case 1: // to clanhall if (activeChar.getClan() != null) { ...
Java
if (onClick === null) { if (type === 'user') { onClick = { location: 'user/home', args: { userID: id }, preload: true }; } else if (type === 'group') { onClick = { location: 'group/home', args: { id: id }, preload: true }; } else if (type === ...
JavaScript
ce3cf072aa10ec8509c801.bindPopup(popup_f831bb7445fb081cf6986ab4a9e5aa32) ; var marker_6d52f0637a3545e4d253a828197663a6 = L.marker( [-12.30296, -76.84808], {} ).addTo(map_f703685615a79fc8ba49f3f1c045a01c); var popup...
HTML
, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, // under top rung 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, // between top rung and middle 1, 0, 0, 1, 0, 0, 1, ...
HTML
#pragma once #include <rocksdb/db.h> #include <rocksdb/slice.h> #include <string> #include "lintdb/constants.h" #include "lintdb/invlists/Iterator.h" #include "lintdb/invlists/KeyBuilder.h" namespace lintdb { class ContextIterator { public: ContextIterator( const std::shared_ptr<rocksdb::DB> db, ...
C
t msg_str; if tx_hash_opt.is_none() { msg_str = json!({ "script_hash": scripthash, "status_hash": new_statushash }).to_string(); } else { let tx_id = hash_from_value(Some(&Value::String(tx_hash_opt.unwrap().to_string()))).chain_err(|| ...
Rust
if n.modules.WAL != nil { if err := n.processWAL(); err != nil { n.workErrNotifier.Fail(err) n.workErrNotifier.SetExitStatus(nil, fmt.Errorf("node not started")) return fmt.Errorf("could not process WAL: %w", err) } } // Submit the Init event to the modules. if err := n.workItems.AddEvents((&events.Eve...
Go
0020 ÷ 2024 ÷ # × [0.3] PERCENT SIGN (PO) × [7.01] SPACE (SP) ÷ [18.0] ONE DOT LEADER (IN) ÷ [0.3] × 0025 × 0308 × 2024 ÷ # × [0.3] PERCENT SIGN (PO) × [9.0] COMBINING DIAERESIS (CM1_CM) × [22.0] ONE DOT LEADER (IN) ÷ [0.3] × 0025 × 0308 × 0020 ÷ 2024 ÷ # × [0.3] PERCENT SIGN (PO) × [9.0] COMBINING DIAERESIS (CM1_C...
Dart
PlaceId*' style 'TouchButtonImageFamily' widget '*.buttonOrderId*' style 'TouchButtonImageArticle' widget '*.buttonTableId*' style 'TouchButton_Grey' widget '*.buttonUserId*' style 'TouchButton_Grey' #Color TouchButtons widget '*.touchButton*_Red' style 'TouchButton_Red' widget '*.touchButton*_DarkGrey' style 'TouchBu...
C#
size)); } catch (ArgumentException) { broken = true; } } else { dc.DrawImage(bi, new Rect(_offset, _size)); } } if (broken && ShowBroken && _broken) { dc.DrawImage...
C#
using FluentAssertions; using Runly.Diagnostics; using Runly.Testing; using System.Linq; using System.Threading.Tasks; using Xunit; namespace Runly.Tests.Scenarios.Execution { public class Handling_exceptions { readonly TestHost<DiagnosticJob> testHost; readonly DiagnosticConfig config; public Handling_excep...
C#
/* * Copyright (c) 2002-2013 Balabit * Copyright (c) 2013 Viktor Juhasz * Copyright (c) 2013 Viktor Tusa * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of ...
C
""" Read sensor values using I2C bus This script demonstrates using I2C to read values from DHT12 temperature and humidity sensor. Components: - ESP32-based board - DHT12 temperature and humidity sensor """ from machine import I2C from machine import Pin import time SENSOR_ADDR = 0x5c # DHT12 # Init I2C using pin...
Python
0a0: 00 00 00 804f0a3: 48 01 c8 add %rcx,%rax 804f0a6: 8b 4d f4 mov -0xc(%rbp),%ecx 804f0a9: 48 63 c9 movslq %ecx,%rcx 804f0ac: 48 89 ca mov %rcx,%rdx 804f0af: 48 c1 e2 03 shl $0x3,%rdx 804f0b3: 48 8b 08 mov (%rax),%rcx 80...
Assembly
습니다.</li> </ul> <div class="alert note"> 작업자 노드 수를 급격하게 줄이는 것은 권장하지 않습니다. 예를 들어 클러스터에 5개의 데이터 노드가 있는 경우, 서비스 가용성을 보장하기 위해 한 번에 하나의 데이터 노드를 줄이는 것이 좋습니다. 첫 번째 스케일 인 시도 후 서비스를 사용할 수 있게 되면 계속해서 데이터 노드 수를 더 줄일 수 있습니다.</div> <h2 id="Prerequisites" class="common-anchor-header">전제 조건<button data-href="#Prerequisites" class="an...
Markdown
), child: SvgPicture.asset( '$assetsPath/others/round_question_mark.svg', colorFilter: ColorFilter.mode( Theme.of(context).textTheme.bodySmall?.color ?? Colors.white, BlendMode.srcIn, ),...
Dart
assert_eq!(parse_mode(Some("-4".to_owned())).unwrap(), 0o662); assert_eq!(parse_mode(None).unwrap(), 0o666); } use std::prelude::v1::*; quickcheck! { fn check_against_baseline(init: u32, chunks: Vec<(Vec<u8>, usize)>) -> bool { let mut baseline = crc32fast::baseline::State::new(init); let m...
Rust
64[1], f64@imm[2]).k[3] // TEXT bccmpgef64imm(SB), NOSPLIT|NOFRAME, $0 BC_CMP_OP_F64_IMM($VCMP_IMM_NLT_UQ) NEXT_ADVANCE(BC_SLOT_SIZE*3 + BC_IMM64_SIZE) // // k[0] = cmpeq.i64(i64[1], i64[2]).k[3] // TEXT bccmpeqi64(SB), NOSPLIT|NOFRAME, $0 BC_CMP_OP_I64($VPCMP_IMM_EQ) NEXT_ADVANCE(BC_SLOT_SIZE*4) // // k[0] =...
Assembly
1 - uv2 >= 0 SetActive(uv0.completeEffectTF, slot2) if slot2 then slot1.material = uv0.material1 slot1.material:SetFloat("_LineDensity", 7) uv3(slot1) else slot1.material = uv0.material slot1.material:SetFloat("_Range", 16) slot1.material:SetFloat("_Degree", 7) end end end) s...
Lua
83A2 */ sb $v1, 0x3C($s4) /* 402A34C 80080584 A6DF000C */ jal func_80037E98 /* 402A350 80080588 3E0085A2 */ sb $a1, 0x3E($s4) .Llevel_44_8008058C: /* 402A354 8008058C 21200002 */ addu $a0, $s0, $zero /* 402A358 80080590 794A010C */ jal func_800529E4 /* 402A35C 80080594 04000524 ...
Assembly
UnitLabel = new JLabel("degress", JLabel.LEFT); layout.gridx = 2; gpsPanel.add(gpsLatitudeUnitLabel, layout); JLabel gpsAltitudeLabel = new JLabel("GPS Altitude: ", JLabel.LEFT); layout.gridwidth = 1; layout.gridx = 0; layout.gridy++; gpsPanel.add(gpsAltitudeLabel, layout); layout.gridx = 1; gpsPane...
Java
((s+D:\Python27_64\lib\xml\etree\ElementTree.pyt __setitem__scCs|j|=dS(N(R-(RR=((s+D:\Python27_64\lib\xml\etree\ElementTree.pyt __delitem__!scCs|jj|dS(N(R-tappend(RR...
Python
ion_ehci_1_init(unsigned long mapbase, unsigned long irq) { fill_resources(&orion_ehci_1, orion_ehci_1_resources, mapbase, SZ_4K - 1, irq); platform_device_register(&orion_ehci_1); } /***************************************************************************** * EHCI2 **************************...
C
32 = -10_000; // Opponent can win const _OPPONENT_LINE_OF_TWO: i32 = -3; // Opponent can setup for win let win_pattern = match player { TOOT => [T, O, O, T], OTTO => [O, T, T, O], }; let mut score = 0; let calculate_window_score = |window: &[(BoardCell, bool)]| -> i32 { let mut own_count = 0; l...
Rust
) val textView = parent.findViewById<MaterialTextView>(R.id.textView) var cpuTemp = 0.0f try { val cpuTempProcess = Runtime.getRuntime().exec("cat sys/class/thermal/thermal_zone0/temp") cpuTempProcess.waitFor() val cpuTempReader = BufferedReader(InputStreamRe...
Kotlin
// TweetTokeniser("@geektome this is where I point out the 6-mile long #Blackhawks bandwagon and the #fire players on #USMNT #supportchicagoregardlessofsport"); } /** * Test a bunch of tweets with known outputs * * @throws UnsupportedEncodingException * @throws TweetTokeniserException */ /*@formatter:off*...
Java
# Sadece sunucudaki yetkililer için komut menüsü. import discord from discord.ext import commands import paginator class ModMenu(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot @commands.command() @commands.has_permissions(change_nickname=True) async def mod(self, ctx): ...
Python
/* * linux/arch/arm/lib/csumpartialcopyuser.S * * Copyright (C) 1995-1998 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/config.h> #include...
Assembly
",this.dom.onItemUpdateTimeTooltip.style.transform="translateX(-50%)",this.dom.onItemUpdateTimeTooltip.style.left="50%";var n,o,r=this.parent.itemSet.body.domProps.scrollTop;if(("top"==this.options.orientation.item?this.top:this.parent.height-this.top-this.height)+this.parent.top-50<-r?(this.dom.onItemUpdateTimeTooltip...
JavaScript
y remove-omega to a specific subset of elements. // // $n : [first | only | last | <equation>] // $selector : [child | last-child | of-type | last-of-type ] // $context : [optional] The context (columns spanned by parent). // $from : The start-direction for your document. // $style : The container s...
CSS
protection": { * "status": "ELIGIBLE", * "dispute_categories": [ * "ITEM_NOT_RECEIVED", * "UNAUTHORIZED_TRANSACTION" * ] * }, * "seller_receivable_breakdown": { * "gross_amount": { * "total": "10.99", * "currency": "USD" ...
Java
self.P[:, :, 1::2] = paddle.cos(X) def forward(self, X): X = X + self.P[:, :X.shape[1], :] return self.dropout(X) ``` 在位置嵌入矩阵$\mathbf{P}$中, [**行代表词元在序列中的位置,列代表位置编码的不同维度**]。 从下面的例子中可以看到位置嵌入矩阵的第$6$列和第$7$列的频率高于第$8$列和第$9$列。 第$6$列和第$7$列之间的偏移量(第$8$列和第$9$列相同)是由于正弦函数和余弦函数的交替。 ```{.python .input} enco...
Markdown
-size: cover; } /* line 191, ../../SAIFUL/Running_project/250 eCommerce_HTML/250 eCommerce_HTML/250 eCommerce_HTML/assets/scss/_best-product.scss */ .latest-wrapper .latest-area { position: relative; } /* line 193, ../../SAIFUL/Running_project/250 eCommerce_HTML/250 eCommerce_HTML/250 eCommerce_HTML/assets/scss/_be...
CSS
services/ipv4-static </p> </li> <li class="up"> <a accesskey="u" href="scripts.html" title= "Appendix&nbsp;D.&nbsp;Boot and sysconfig scripts version-20150222"> Up</a> </li> <li class="home"> <a accesskey="h" href="../index.html" title= ...
HTML
:handle:vertical { background: #cbd5e0; border-radius: 6px; min-height: 20px; } QScrollBar::handle:vertical:hover { background: #a0aec0; } """ def get_chat_input_style() -> str: """ Get the chat input stylesheet. Returns: str: The chat input sty...
Python
t; position: absolute; top: 25%; vertical-align: middle; width: 100%; z-index: get-layer(bottom); } &--active { color: $c-step--active---color; & .c-step__box { border: $c-step__box--active---border; } } &--enabled { & .c-step__box { border: $c-step__box--enable...
CSS
m::zeroed() } } } pub type CUipcMemHandle = Struct_CUipcMemHandle_st; pub type Enum_CUipcMem_flags_enum = ::libc::c_uint; pub const CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS: ::libc::c_uint = 1; pub type CUipcMem_flags = Enum_CUipcMem_flags_enum; pub type Enum_CUmemAttach_flags_enum = ::libc::c_uint; pub const CU_MEM_ATTACH_G...
Rust
professionals_in_city = getProfessionals(profession, city_name) if professionals_in_city: all_found_professionals.extend(professionals_in_city) if all_found_professionals: logger.info(f"Trovati professionisti in città alternative: {le...
Markdown
d+)?[^>]+>",w=[{b:/^\s*=>/,starts:{e:"$",c:d}},{cN:"meta",b:"^("+l+"|"+o+"|"+u+")",starts:{e:"$",c:d}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:r,i:/\/\*/,c:s.concat(w).concat(d)}});hljs.registerLanguage("lisp",function(b){var e="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\...
JavaScript
holes.map { it.toMessage() }) .build() private fun MultiPolygon.toMessage(): MultiPolygonProto = MultiPolygonProto.newBuilder().addAllPolygons(polygons.map { it.toMessage() }).build() private fun LoiProperties.toMessageMap(): Map<String, Property> { val propertiesBuilder = mutableMapOf<String, Property>() f...
Kotlin
"; /** * Set Picking Slot HU. * * <br>Type: ID * <br>Mandatory: true * <br>Virtual Column: false */ void setM_PickingSlot_HU_ID (int M_PickingSlot_HU_ID); /** * Get Picking Slot HU. * * <br>Type: ID * <br>Mandatory: true * <br>Virtual Column: false */ int getM_PickingSlot_HU_ID(); ModelC...
Java
ure:y[e],elementCount:y[e].width*y[e].height};this.meanTransform?this.meanTransform.update(_):this.meanTransform=function(t,e){return new w.a(t,et({vs:"#define SHADER_NAME gpu-aggregation-transform-mean-vs\nattribute vec4 aggregationValues;\nvarying vec4 meanValues;\n\nvoid main()\n{\n bool isCellValid = bool(aggregat...
JavaScript
eight="512" preserveAspectRatio="xMidYMid meet" viewBox="0 0 460 512"><path fill="currentColor" d="m220.6 130.3-67.2 28.2V43.2L98.7 233.5l54.7-24.2v130.3l67.2-209.3zm-83.2-96.7-1.3 4.7-15.2 52.9C80.6 106.7 52 145.8 52 191.5c0 52.3 34.3 95.9 83.4 105.5v53.6C57.5 340.1 0 272.4 0 191.6c0-80.5 59.8-147.2 137.4-158zm311.4 4...
Dart
memory> #include <string> #include <vector> #include <absl/types/optional.h> #include <gtest/gtest.h> #include <gsl/gsl> #include "chainerx/array.h" #include "chainerx/array_repr.h" #include "chainerx/context.h" #include "chainerx/device_id.h" #include "chainerx/shape.h" #include "chainerx/testing/array.h" #include "...
C++
twork.storages.onedrive.models.request.RenameRequest import app.documents.core.network.storages.onedrive.models.request.UploadRequest import app.documents.core.network.storages.onedrive.models.response.ExternalLinkResponse import app.documents.core.network.storages.onedrive.models.response.UploadResponse import io.reac...
Kotlin
object[keyValue.key] = value; } return object; }; } } ////////////////////////////////////////////////// // Parser helper functions ////////////////////////////////////////////////// function setter(obj, path, setValue) { var element = path.split('.'); for (var i = 0; element.length > 1;...
JavaScript
ex Индекс места * @param povIndex Индекс позиции обзора */ export function placePlayer(seatIndex: number, povIndex: number): void { let currentSeat = playerView.seatIndex; let currentPov = playerView.povIndex; let isChanged = seatIndex != currentSeat || povIndex != currentPov; if (isChanged && !anima...
Typescript
#include "ntag4xx_poller_i.h" #include <furi.h> #include "ntag4xx_i.h" #define TAG "Ntag4xxPoller" Ntag4xxError ntag4xx_poller_send_chunks( Ntag4xxPoller* instance, const BitBuffer* tx_buffer, BitBuffer* rx_buffer) { furi_check(instance); NxpNativeCommandStatus status_code = NXP_NATIVE_COMMAND_...
C
ng R7 points to doubleword * below where F0 will go; doubleword align in and backfill FSR */ TEXT savefpregs(SB), $0 ADD $8, R7 ANDN $7, R7 /* now MOVD-aligned */ MOVW FSR, -4(R7) MOVD F0, (0*4)(R7) MOVD F2, (2*4)(R7) MOVD F4, (4*4)(R7) MOVD F6, (6*4)(R7) MOVD F8, (8*4)(R7) MOVD F10, (10*4)(R7) MOVD F12,...
Assembly
o: 6fb7a669aca457a9e43009b3d66baef8bdefb49aa85434a5adb906d3f920bfeA \ * Negado: 6fb7a669aca457a9e43009b3d66baef8bdefb49aa85434a5adb906d3f920bfeB */ CardToken: string; /** * Bandeira do cartão */ Brand: string; }, /** * Número da autorização, identico ao NSU. ...
Typescript
y(true)//To show cancel button .moveButtonsVisibility(true) .add() .build() .show() } override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_showcase_sample) ...
Kotlin
以教育和鼓 舞人民群众,推进国家建设事业,各级党委宣传部和政府文化主管部门应抓紧对文艺创作(包括文学、戏剧、电影、美术、音乐等)的领导,引导作家按照为工农兵 服务的政治方向和社会主义现实主义的创作原则前进,鼓励他们好好学习,深入实际生活,努力艺术实践。在他们进行创作活动的过程中,应耐心地、分别地给以必 要的具体指导和帮助,使能有良好的成就。总之,必须切实克服在领导创作上的简单行政方式和粗暴态度。 </p> <p> (二)文化事业所包括的范围和联系的群众 十分广泛,必须加强文化事业发展的计划性,克服盲目性,并加强对每一事业的管理。在计划或部署工作时,必须注意各地区发展的不平衡性,必须根据群众需要和 自愿的原则,采取有步骤...
HTML
<string>()); sseClient.Error += (s, e) => { sseClient.Close(); Assert.Fail("EventSource Error Occurred. Details: {0}", e.Exception.Message); }; sseClient.MessageReceived += (s, m) => { sseClient.Close(); Assert.Pass(m.ToString()); }; await sseClient.StartAsync(); } [Test] [Te...
C#
:= exception.Message() errRejected = errors.New(message) } if reject != nil { reject(errRejected) } return nil } } if strerr, errRejected = baseobject.ToStringWithErr(args[0]); errRejected == nil { errRejected = errors.New(strerr) } } if reject != nil { reje...
Go
ithmTestCase.setOutput(testCase.getOutput()); algorithmTestCase.setCreate_time(new Date()); algorithmTestCaseMapper.insert(algorithmTestCase); }); return true; } @Override public Boolean problemTestCasesFileAdd(MultipartFile TestFile, boolean isAdmin, Long problem_i...
Java
Bean>() { @Override public void getDataSuccess(AppMoreRecommendBean appMoreRecommendBean) { mPresenterView.getAppMoreRecommendDataSuccess(appMoreRecommendBean); } @Override public void getDataError(String msg) { mPresenterView.getAppMoreRecommendDataError...
Java
abort_handler(PARSE_ERROR); } dataModelIter = dataModelList.begin(); std::advance(dataModelIter, model_index); // unlock if not advanced to end() if (model_index == num_model_spec) modelDBLocked = variablesDBLocked = interfaceDBLocked = responsesDBLocked = true; else { const D...
C++
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. import 'dart:math' as math; abstract interface class ProgressPercent { int get flex; num get percentage; bool get isComplete; factory ...
Dart
ent lies outside of the extent of the chromosome." << EidosTerminate(); } // Check that the new element will not overlap any existing element; if end_position > last_genomic_element_position we are safe. // Otherwise, we have to check all previously defined elements. The use of last_genomic_element_position i...
C++
mi, {0, Unknown}}, {X86::CMPPDrri, {0, Unknown}}, {X86::CMPPSrmi, {0, Unknown}}, {X86::CMPPSrri, {0, Unknown}}, {X86::CMPSB, {0, Unknown}}, {X86::CMPSDrm, {0, Unknown}}, {X86::CMPSDrm_Int, {8, SSE_COMPARE_RM}}, {X86::CMPSDrr, {0, Unknown}}, {X86::CMPSDrr_Int, {0, SSE_COMPARE_RR}}, {X...
C++