content
stringlengths
2
6.21k
label
stringclasses
16 values
-out } .nav,.nav:hover,.nav:focus { text-shadow: 0 0 5px #000; color: #fff; cursor: pointer!important; overflow: hidden } .arrow_up,.arrow_right,.arrow_down,.arrow_left,nav.paginator a.previous,nav.paginator a.next { background-image: url(/static/images/nav_arrows.png); background-repeat: no-repeat; font-size: 14px; fo...
CSS
background-color: #4A90E2; color: #FFFFFF; } #newtab-intro-buttons > input:hover { background-color: #2C72E2; color: #FFFFFF; } /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mo...
CSS
assert response.voice == "alloy" assert response.provider == "openai" @pytest.mark.asyncio async def test_agenerate_speech(tts_model): """Test asynchronous speech generation.""" response = await tts_model.agenerate_speech( text="Hello world", voice="nova" ) # Verify async HTTP P...
Python
heetch-light-min .ruby .hljs-property { color: #47f9f5; } .theme-base16-heetch-light-min .diff .hljs-meta, .theme-base16-heetch-light-min .hljs-keyword, .theme-base16-heetch-light-min .hljs-template-tag, .theme-base16-heetch-light-min .hljs-type { color: #bd0152; } .theme-base16-heetch-light-min .hljs-emphasis { col...
CSS
𦬹𦬺𦬻𦬼𦬾𦭀𦭁𦭈𦭌𦭎𦭏𦭐𦭑𦭒𦭓𦭔𦭕𦭖𦭘𦭛𦭜𦭝𦭞𦭟𦭡𦭤𦭥𦭦𦭧𦭪𦭭𦭰𦭲𦭳𦭴𦭵𦭶𦭸𦭹𦭻𦭽𦭿𦮀"; TRIMMED[26] = "旨㕄䏍共夅囡⑥汣忙戌圴吁㕦份伒氽㓇刖亦礼企年吻貝矣夿私肙忌告抐劬坌囤局序伯決耴囱佋皁仰阻宋圼㧎皃肟乱"; GRASSED[26] = "𦮂𦮈𦮌𦮎𦮔𦮗𦮙𦮛𦮝𦮠𦮢𦮣𦮥𦮪𦮬𦮭𦮮𦮯𦮰𦮲𦮳𦮴𦮶𦮷𦮸𦮹𦮺𦮻𦮼𦮽𦮾𦮿𦯀𦯁𦯃𦯅𦯉𦯊𦯍𦯎𦯐𦯑𦯒𦯓𦯕𦯖𦯙𦯜𦯟𦯠"; TRIMMED[27] = "伹杓佘弅冏妙沁汶罕㝴李扲盁妟条伶佦姆拋厎沃汾陁甹阮那低牢...
JavaScript
WiFiWidth.MHZ_40), Triple(channelsAvailable5GHz80MHz, WiFiBand.GHZ5, WiFiWidth.MHZ_80), Triple(channelsAvailable5GHz160MHz, WiFiBand.GHZ5, WiFiWidth.MHZ_160), Triple(channelsAvailable6GHz20MHz, WiFiBand.GHZ6, WiFiWidth.MHZ_20), Triple(chann...
Kotlin
{name = "b"}> // %4 = jsir.numeric_literal() <{value = 3}> // %5 = jsir.variable_declarator(%3, %4) // %6 = jsir.identifier_ref() <{name = "c"}> // %7 = jsir.numeric_literal() <{value = 4}> // %8 = jsir.variable_declarator(%6, %7) // jsir.exprs_region_end(%5, %8) //...
C++
lists up to 100 tracks without any login.": "Importuj playlisty Spotify do 100 utworów bez żadnego logowania.", "Download imported tracks": "Pobierz zaimportowane utwory", "Start import": "Rozpocznij importowanie", "Spotify v2": "Spotify v2", "Import any Spotify playlist, import from own Spotify library. Requires free ...
Dart
)); } void DefaultNetwork::Cancel(RequestId id) { network_->Cancel(id); } void DefaultNetwork::SetDefaultHeaders(Headers headers) { std::unique_lock<std::mutex> lock(default_headers_mutex_); default_headers_ = std::move(headers); user_agent_ = NetworkUtils::ExtractUserAgent(default_headers_); } void DefaultNet...
C++
(); createGameDto.mapRequest(req); const errors = await validate(createGameDto); if (errors.length > 0) { console.log('got errors on create game', errors); return res.status(400).json(errors); } const gameEntity = createGameDto.toGameEntity(); ...
Typescript
fn get_chunks(&self) -> &Vec<u8>; fn get_spawnarea(&self) -> Vec3D { let size = self.get_size(); Vec3D::new(size.get_x() * 16, size.get_y() * 32, size.get_z() * 16) } fn get_spawnyaw(&self) -> u8 { 0 } fn get_spawnpitch(&self) -> u8 { 255 } fn get_b...
Rust
Result&>(top_k); detail::merge_desc_sorted_arrays(top_k_, synced_v.top_k_); } else if constexpr (TopK == 4) { static_assert(sizeof(TopKResult) == 2 * sizeof(uint64_t)); uint64_t* top_k_ptr = reinterpret_cast<uint64_t*>(this); uint64_t top_k_arr[2]; top_k_arr[0] = top_...
C++
000X"); private final String value; TransportationServicesProviderCodes(String v) { value = v; } public String value() { return value; } public static TransportationServicesProviderCodes fromValue(String v) { for (TransportationServicesProviderCodes c: Transportati...
Java
.railsui .hljs-quote { color: #697098; font-style: italic; } .railsui .hljs-selector-id { color: #fad430; } .railsui .hljs-selector-class { color: #00bcff; font-style: italic; } .railsui .hljs-selector-attr, .railsui .hljs-selector-pseudo { color: #c792ea; font-style: italic; } .railsui .hljs-template-ta...
CSS
r, itype, rtype, ltype) \ asm volatile("1: mov"itype" %"rtype"0,%1\n" \ "2:\n" \ _ASM_EXTABLE(1b, 2b - 1b) \ : : ltype(x), "m" (__m(addr))) /* * uaccess_try and catch */ #define uaccess_try do { \ int prev_err = current_thread_info()->uaccess_err; \ current_thread_info()->uac...
C
require.NoError(t, err) // Verify that new host count includes ABM Pending devices (they are new, not missing) // The new count should include all hosts created within the last day assert.Greater(t, summary.NewCount, uint(0), "New count should include ABM Pending hosts that are recently created") } func testHosts...
Go
--> fifo) task and IRQ */ lpbfifo.bcom_tx_task = bcom_gen_bd_tx_init(2, res.start + LPBFIFO_REG_FIFO_DATA, BCOM_INITIATOR_SCLPC, BCOM_IPR_SCLPC); if (!lpbfifo.bcom_tx_task) goto err_bcom_tx; lpbfifo.dev = &op->dev; return 0; err_bcom_tx: free_irq(bcom_get_task_irq(lpbfifo.bcom_rx_task), &lpbfifo); ...
C
27646 IEJlaWppbmc= 27647 L3d3dw== 27648 IG1ha2V1cA== 27649 IGRpc3RhbmNlcw== 27650 IHNhdGlzZnk= 27651 Q09ORA== 27652 IHdvdW5k 27653 KCld 27654 IHZpb2xhdGlvbnM= 27655 IHN0YXlz 27656 LyM= 27657 aWxpbmU= 27658 XEV4Y2VwdGlvbg== 27659 IE1vdGlvbg== 27660 IGhlYWw= 27661 X3BsYW4= 27662 cmFzZXM= 27663 KG1haW4= 27664 QXBwbGU= 27...
Kotlin
scribe("os", function() describe("construction", function() it("installs os mock", function() expect(os).never.toBeNil() expect(timers.osOverride.time).never.toBeNil() expect(timers.osOverride.clock).never.toBeNil() end) it("os methods pass through", function() timers:useFakeTimers() expect(time...
Lua
sort((lit1: Literal, lit2: Literal) => { assert(lit1.literalInParent !== null); assert(lit2.literalInParent !== null); const index1 = conclusionIndexMap.get(lit1.literalInParent!); const index2 = conclusionIndexMap.get(lit2.literalInParent!); assert(index1 !== undefined); assert(inde...
Typescript
} #[test] fn test_serde() { assert_eq!(REPORT_BODY_SIZE, size_of::<sgx_report_body_t>()); let body = ReportBody::try_from(&REPORT_BODY_SRC).expect("Could not read report"); let serialized = serialize(&body).expect("Error serializing report"); let body2: ReportBody = deserialize...
Rust
_802645C8 /* 802645A8 002614E8 3C 80 80 4E */ lis r4, __vt__Q23efx5TSync@ha /* 802645AC 002614EC 38 7E 00 04 */ addi r3, r30, 4 /* 802645B0 002614F0 38 A4 69 8C */ addi r5, r4, __vt__Q23efx5TSync@l /* 802645B4 002614F4 38 80 00 00 */ li r4, 0 /* 802645B8 002614F8 90 BE 00 00 */ stw r5, 0(r30) /* 802645BC 002614FC ...
Assembly
his node */ label:string; /** Color of the background */ background=new Color();//white by default /** Color of the foreground(text) */ foreground=new Color(0,0,0,0); /** Color of the stroke */ stroke=new Color(0,0,0,0); /** Gives the geometrical shape for this diagram block */ geometry?:Geometry; /** Transi...
Typescript
out_ip6ip6: xfrm6_tunnel_deregister(&ip4ip6_handler, AF_INET); out_ip4ip6: unregister_pernet_device(&ip6_tnl_net_ops); out_pernet: return err; } /** * ip6_tunnel_cleanup - free resources and unregister protocol **/ static void __exit ip6_tunnel_cleanup(void) { rtnl_link_unregister(&ip6_link_ops); if (xfrm6_tu...
C
278 3.167 5.333l.052-.031 6.062-3.465c.397-.227 1.041-.227 1.438 0l6.062 3.465c.017.01.035.02.052.032zm.658 1.063a.969.969 0 0 1 .009.13v6.946c0 .45-.322.998-.72 1.225l-6.06 3.465c-.03.017-.062.033-.095.048v-7.85l6.866-3.964zM9.375 18.21a1.06 1.06 0 0 1-.094-.048l-6.062-3.465c-.397-.227-.719-.78-.719-1.225V6.527c0-.043...
CSS
if c == None: continue barX += [(j, 1.0)] barColors += [c] if barX: ax.broken_barh(barX, (startYear + (i / 12.0), 1.0 / 12.0), facecolors = barColors) else: for i in range(maxUID + 1): barX = [] barColors...
Python
),C(),x(),v())),{refreshContentEditable:N,isHidden:()=>{if(!l||e.removed)return!1;const t=e.selection.getSel();return!t||!t.rangeCount||0===t.rangeCount}}})(e),(e=>{e.dispatch("PostRender")})(e);const o=vd(e);void 0!==o&&(n.dir=o);const r=oc(e);r&&e.on("BeforeSetContent",(e=>{Dt.each(r,(t=>{e.content=e.content.replace(...
JavaScript
Cache[K]) SetIfAbsent(key K, value Value) { lru.mu.Lock() defer lru.mu.Unlock() if element := lru.table[key]; element != nil { lru.moveToFront(element) } else { lru.addNew(key, value) } } // Delete removes an entry from the cache, and returns if the entry existed. func (lru *Cache[K]) Delete(key K) bool { l...
Go
atoffset = mod.table.raidthreatoffset + threatchange -- ask for a redraw of the personal window KLHTM_RequestRedraw("self") end --[[ me.resetaction() Sets the values of me.action to their defaults. ]] me.resetaction = function(mobname, ability) me.action.mobname = mobname me.action.ability = ability me.actio...
Lua
32, #[serde(rename="Fee")] pub fee: u64, #[serde(rename="TransactionType")] pub transaction_type: String, #[serde(rename="Account")] pub account: String, #[serde(rename="Amount")] pub amount: u64, #[serde(rename="Method")] pub method: i32, #[serde(rename="Destination")]...
Rust
= newPropertyInfo; } for(let i = 0; i < nodeInfo.previousNodeIds.length; i++){ let childNodeId = nodeInfo.previousNodeIds[i]; newNodeInfo.previousNodeIds.push(childNodeId); } } newProgressInfo.nodeMap[id] =...
JavaScript
this.addCache(url, result); resolve(result); } }) }else { cc.loader.loadRes(url, (error, result)=>{ if(error){ Global.logger.error("LoaderManager.LoadRes error ...
Typescript
ion.Theme.LEGEND_JUSTIFICATION, Option.Theme.Legend.JUSTIFICATION_CENTER) /** * Specifies the anchor point for positioning legend inside plot. * Justification (0, 0) corresponds to the left, lower corner of the legend. * Justification (1, 1) corresponds to the right, upper corner of the legend. ...
Kotlin
end ``` Meanwhile, this snippet doesn't make sense, because `foo` is already an instance method—there is no attached class to speak of for non-singleton classes: ```ruby class A sig { returns(T.attached_class) } # error! def foo x = T.let(new, T.attached_class) # error! end end ``` For more information se...
Markdown
poster-coupon .le-content .le-content-condition[data-v-bc724c9e]{font-size:24px;font-family:PingFang SC;font-weight:500;line-height:14px;margin-left:8px}.le-promote #poster-coupon .le-poster__content .le-poster-coupon .le-content-number[data-v-bc724c9e]{margin-top:33px}.le-promote #poster-coupon .le-poster__content .le...
CSS
TE_POWDER: case YELLOW_CONCRETE_POWDER: // ----- Legacy Separator ----- case LEGACY_SAND: case LEGACY_GRAVEL: case LEGACY_ANVIL: case LEGACY_CONCRETE_POWDER: //</editor-fold> return true; default: ...
Java
OLOR: #dbe4f4 } .hpLst_style4 .hpLst_title { BORDER-BOTTOM: transparent 1px solid; COLOR: #4f4f4f } .hpLst_style4 .hpLst_description { COLOR: #4f4f4f } .hpLst_style4 .hpLst_description A { COLOR: #0060a6 } .hpLst_style4 .hpLst_description A:link { COLOR: #0060a6 } .hpLst_style4 .hpLst_description A:visited { COLOR...
CSS
ivec2(0), dd.size ), dd.cliprect, dd.alpha ); if (tdp.sz) *tdp.sz = gui->tr().lastdrawsize; } /*virtual*/ void rectengine_root_c::draw( const ts::irect & rect, ts::TSCOLOR color, bool clip ) { ts::bitmap_t<ts::bmpcore_exbody_s> backbuffer( syswnd.wnd->get_backbuffer() ); const draw_data_s &dd = ...
C++
/* * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information * * This program 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 2 of the License, or (at your ...
C
",lineDashOffset:"stroke-dashoffset",miterLimit:"stroke-miterlimit",font:"font",fontSize:"font-size",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",fontFamily:"font-family",startArrow:"marker-start",endArrow:"marker-end",path:"d",class:"class",id:"id",style:"style",preserveAspectRatio:"prese...
JavaScript
* aw + b.blue * bw) ~/ (aw + bw); return Color.fromRGBO(red, green, blue, 1); } MaterialColor toMaterialColor(Color clr) { Map<int, Color> colors = { 50: clr.withOpacity(0.1), 100: clr.withOpacity(0.2), 200: clr.withOpacity(0.3), 300: clr.withOpacity(0.4), 400: clr.withOpacity(0.5), 500: c...
Dart
C()'],['../classcutlass_1_1gemm_1_1device_1_1Gemm_3_01ElementA___00_01LayoutA___00_01ElementB___00_01Layout4d0960ae6b1d1bf19e6239dbd002249c.html#ad74a049e26f4b9224362b4d1c93ca14b',1,'cutlass::gemm::device::Gemm&lt; ElementA_, LayoutA_, ElementB_, LayoutB_, ElementC_, layout::ColumnMajor, ElementAccumulator_, OperatorCl...
JavaScript
: {@link Stairs} */ QUARTZ_STAIRS(24079, Stairs.class), WHITE_TERRACOTTA(20975), ORANGE_TERRACOTTA(18684), MAGENTA_TERRACOTTA(25900), LIGHT_BLUE_TERRACOTTA(31779), YELLOW_TERRACOTTA(32129), LIME_TERRACOTTA(24013), PINK_TERRACOTTA(23727), GRAY_TERRACOTTA(18004), LIGHT_GRAY_TE...
Java
04, DockPanelRight20 = 0xFC05, DockPanelRight24 = 0xFC06, DockPanelRight28 = 0xFC07, DockPanelRight48 = 0xFC08, DocumentProhibited20 = 0xFC09, DocumentProhibited24 = 0xFC0A, DocumentSync24 = 0xFC0B, DrinkToGo24 = 0xFC0C, DualScreenHeader24 = 0xFC0D...
C#
rowser = new WpfCefBrowser(app) { Visibility = Visibility.Hidden, HorizontalAlignment = HorizontalAlignment.Stretch, VerticalAlignment = VerticalAlignment.Stretch, ContextMenu = new ContextMenu() { Visibility = Visibility.Collapsed } ...
C#
s = (s & 0x3333_3333_3333_3333) + ((s >> 2) & 0x3333_3333_3333_3333); s = ((s + (s >> 4)) & 0x0F0F_0F0F_0F0F_0F0F).wrapping_mul(L8); let b = (i_le8(s, r.wrapping_mul(L8)) >> 7).wrapping_mul(L8)>> 53 & !7; let l = r - ((s << 8).wrapping_shr(b as u32) & 0xFF); s = (u_nz8((x.wrapping_shr(b as u32) & 0xFF)...
Rust
Stream()).use { writer -> writer.println("# Orarul grupei $groupName • $specialisationName") val date = Clock.System.todayIn(timezone) val fetchDate = "${date.dayOfMonth}.${date.monthNumber.toString().padStart(2, '0')}.${date.year}" writer.println("###### Anul $year-${yea...
Kotlin
vlist, int_mv *nearest_mv, int_mv *near_mv, int is_integer); uint8_t av1_selectSamples(MV *mv, int *pts, int *pts_inref, int len, BLOCK_SIZE bsize); uint8_t av1_findSamples(const AV1_COMMON *cm, MACROBLOCKD *xd, int *pts, int *pts_inref); #d...
C
xfa,0x04,0x0a,0x26,0x01,0x01,0x01,0xff] v_min_u32 v5, v1, v2 row_shl:15 // GFX11: encoding: [0xfa,0x04,0x0a,0x26,0x01,0x0f,0x01,0xff] v_min_u32 v5, v1, v2 row_shr:1 // GFX11: encoding: [0xfa,0x04,0x0a,0x26,0x01,0x11,0x01,0xff] v_min_u32 v5, v1, v2 row_shr:15 // GFX11: encoding: [0xfa,0x04,0x0a,0x26,0x01,0x1f,0x01,0x...
Assembly
ntainSubstring("A running node failed to exit in time")) Ω(reporter.ProgressReports[1].CapturedGinkgoWriterOutput).Should(Equal("aft-1\naft-2\n")) Ω(reporter.ProgressReports[2].Message).Should(ContainSubstring("A running node failed to exit in time")) Ω(reporter.ProgressReports[2].CapturedGinkgoWriterOutput)....
Go
yukihookapi.hook.xposed.application /** * ModuleApplication 注入 Stub */ object ModuleApplication_Impl { /** * 调用 Hook 入口类的 onInit 方法 * * 方法内容将在每次编译时自动生成 */ fun callHookEntryInit(): Unit = error("Stub!") }/* * YukiHookAPI - An efficient Hook API and Xposed Module solution built in Kotlin....
Kotlin
.y = 0; Laya.Pool.recover(this._enemyName, this._sp); } protected BulletExcute(bulletName: string): void { let bulletSp: Laya.Sprite = BulletControl.GetInst().PopBullet(bulletName); let bullet: Bullet = bulletSp.getComponent(Bullet); bullet.Excute(bulletName, this._sp.x, this._sp.y, this._iDirection); } }i...
Typescript
d:"), value) } // The time interval that represents the date range. [Full Topic] // // [Full Topic]: https://developer.apple.com/documentation/appkit/nsdatepickercell/1459589-timeinterval?language=objc func (d_ DatePickerCell) TimeInterval() foundation.TimeInterval { rv := objc.Call[foundation.TimeInterval](d_, objc....
Go
import matplotlib.pyplot as plt import pandas as pd from io import StringIO # Assuming 'your_file_path.csv' is the path to your CSV file # file_path = 'your_file_path.csv' file_path = r"C:\Code\IFC-extracted_elements_dataset\data_stats.csv" # Read the CSV data into a pandas DataFrame # df = pd.read_csv(file_path, en...
Python
s been shared %{tweets} times. View these Tweets.":"Den här sidan har delats %{tweets} gånger. Visa dessa tweets.",Tweet:"Tweeta","Tweet %{hashtag}":"Tweeta %{hashtag}","Tweet to %{name}":"Tweeta till %{name}","You are following %{name} on Twitter":"Du följer %{name} på Twitter","{{#followers_count_one}}1 follower{{/fo...
HTML
sub-$i/sub-$j/file-$k.txt')); await startWatcher(path: 'dir'); renameDir('dir/sub', 'sub'); renameDir('sub', 'dir/sub'); await allowEither(() { inAnyOrder(withPermutations( (i, j, k) => isRemoveEvent('dir/sub/sub-$i/sub-$j/file-$k.txt'))); inAnyOrder(withPermutations( ...
Dart
climb_speed = 0 burrow_speed = 40 hp_max = 94 hit_dice = '9d10 + 45' condition_immunities = '' damage_immunities = '' damage_resistances = '' damage_vulnerabilities = '' spells = [] class Burrowshark(Monster): """ Elite warriors of the earth cult, burrowsharks are fierce ch...
Python
), &felt.Zero, &invalidPath, false) require.Error(t, err) require.Nil(t, blob) // Invalid contract storage node blob, err = layer.node(trieutils.NewContractStorageTrieID(felt.Zero, validRoot), &felt.Zero, &invalidPath, false) require.Error(t, err) require.Nil(t, blob) }) } } func TestLayersCap(t ...
Go
ePrivilege: 1 }, ); }), (e.GetChangeLog = function (e, r) { return e.SendMsg( "FamilyGroups.GetChangeLog#1", (0, n.I8)(Z, r), ee, { bConstMethod: !0, ePrivilege: 1 }, ); }), (e.SetFamilyC...
JavaScript
e(SEED_CLEAR_FLAG); } } Future restoreAccounts( Map<String, String> data, String seed, String? passphrase) async { try { //store seed before restoring accounts await store(seed); List<dynamic> accounts = jsonDecode(data[NgAccountManager.accountsPrefKey]!); List<NgAcc...
Dart
: ID! value: Int! } input ItemCommand { create: CreateItem updateValue: UpdateItemValue } type Item { id: ID! category: Category! value: Int! } type Mutation { action(input: ItemCommand!): Item } type Query { find(id: ID...
Typescript
using Microsoft.Xrm.Sdk; using System; namespace Dev.DevKit.Shared.Entities { public partial class flowmachinenetwork { #region --- PROPERTIES --- //public string StringField { get { return GetAliasedValue<string>("aliased.field"); } } //public int? IntField { get { return GetAliasedValue<int?>("aliased.fiel...
C#
</TD> <TD> <A HREF="vcslider.html">フェーダー(スライダー)</a>を追加します。 </TD> <TR> <TD> <IMG SRC="qrc:/slidermatrix.png"> </TD> <TD> <A HREF="vcslidermatrix.html">複数のフェーダー(スライダー)</a>を選択したフレームに一括で追加します。 </TD> </TR> <TR> <TD> <IMG SRC="qrc:/rgbmatrix.png"> </TD> <TD> <A HREF="vcmatrix.html">アニメー...
HTML
,0x00,0x00,0x28,0xfe] #CHECK: vmnf %v18, %v3, %v20 # encoding: [0xe7,0x23,0x40,0x00,0x2a,0xfe] vmnf %v0, %v0, %v0 vmnf %v0, %v0, %v31 vmnf %v0, %v31, %v0 vmnf %v31, %v0, %v0 vmnf %v18, %v3, %v20 #CHECK: vmng %v0, %v0, %v0 # encoding: [0xe7,0x00,0x00,0x00,0x30,0xfe] #CHECK: vmng %v0, %v...
Assembly
trix { /// <summary> /// Generic ColorMatrix /// </summary> /// <seealso cref="Structure.Sketching.Filters.ColorMatrix.BaseClasses.MatrixBaseClass"/> public class ColorMatrix : MatrixBaseClass { /// <summary> /// Initializes a new instance of the <see cref="ColorMatrix"/> class. ...
C#
KxUoeoLE9IGrkHR0PzVt89YUQ5DRMhkMsjn85+qFKoLMJcuXQIR4eTkBET0q+qe1Csrr9I/ansBePg+vBwh1VYAAAAASUVORK5CYII="); background-position: -1px -1px; width:33px; } .bb-action-bar-back-slash-portrait { height: 138px; } .bb-action-bar-back-slash-landscape { height: 98px; } .bb-action-bar-tab-overflow-portait { /*place ho...
CSS
định là 0 nếu chưa có giá trị currentPage.value = currentValue + 1 // Gán giá trị mới cho currentPage là giá trị hiện tại cộng thêm 1 } fun resetAllValue() { // currentSearchValue.value = "" currentProductList.value = null totalElement.value = 0 currentPage.value = 0 // ...
Kotlin
osition_measurement.timestamp_sample = _node.get_clock()->now(); global_position_measurement.lat_lon = Eigen::Vector2d {12.34321, 23.45432}; global_position_measurement.horizontal_variance = 0.1f; global_position_measurement.altitude_msl = 12.4f; global_position_measurement.vertical_variance = 0.2f; ...
C++
wers Shortsleeve",Price=1018},['15']={NameHash="DLC_MP_H4_F_JBIB_3_15",label="Orange Ocean Shortsleeve",Price=1683},['16']={NameHash="DLC_MP_H4_F_JBIB_3_16",label="Blue Butterfly Shortsleeve",Price=1319},['17']={NameHash="DLC_MP_H4_F_JBIB_3_17",label="Orange Butterfly Shortsleeve",Price=1382}},['273']={['1']={NameHash=...
Lua
de-function: #e0ac00; --code-important: #ec7500; --code-keyword: #d53984; --code-normal: oklch(0 0 0); --code-operator: #e93147; --code-property: #00bfbc; --code-punctuation: oklch(0.3 0 0); --code-radius: calc(6px * 0.5); --code-size: 0.875em; --code-string: #08b94e; --code-tag: #e93147; --code-v...
CSS
case Types.USERS.LOGIN.RECEIVE: { const { activeUser } = action.payload; return { ...state, activeUser, }; } case Types.USERS.LOGOUT.RECEIVE: { return { ...state, activeUser: null, }; } case Types.USERS.LIST.RECEIVE: { const { users } ...
Typescript
etadataKeyS3UploadFileUrl, fileUrl) if notificationCh != nil { notificationCh <- o.notificationBuilder().Finished("S3 file upload has finished", pf) } outHolder.AppendToOut(pf) }(pf) } wg.Wait() return outHolder.Out, nil } // InitPutObjectAPI Init PutObjectAPI that we need to upload the files to ...
Go
# -----------------------------------------------------------------------------. # MIT License # Copyright (c) 2024 GPM-API developers # # This file is part of GPM-API. # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software")...
Python
::Expression& SQLOps::OpCodeBuilder::arrangePredicate( const SQLExprs::Expression &src) { SQLExprs::ExprFactoryContext &factoryCxt = getExprFactoryContext(); SQLExprs::ExprFactoryContext::Scope scope(factoryCxt); if (factoryCxt.getAggregationPhase(true) == SQLType::END_AGG_PHASE) { factoryCxt.setAggregationPhas...
C++
置: 电影照片 */ public void setDianyingPhoto(String dianyingPhoto) { this.dianyingPhoto = dianyingPhoto; } /** * 获取: 电影类型 */ public Integer getDianyingTypes() { return dianyingTypes; } /** * 设置: 电影类型 */ public void setDianyingTypes(Integer dianyingTypes...
Java
rder { fill: #1e1e1e; } b787-10-sys-element #PageButtons .page-button-active .bottomRightBorder { fill: #646464; } b787-10-sys-element #PageButtons .page-button-inactive .inner { fill: #414141; } b787-10-sys-element #PageButtons .page-button-inactive .topLeftBorder { fill: #646464; } b787-10-sys-element #PageBu...
CSS
// SPDX-License-Identifier: GPL-2.0-only /* * Delta TN48M CPLD reset driver * * Copyright (C) 2021 Sartura Ltd. * * Author: Robert Marko <robert.marko@sartura.hr> */ #include <linux/device.h> #include <linux/kernel.h> #include <linux/mod_devicetable.h> #include <linux/module.h> #include <linux/platform_device.h>...
C
), mods: KeyMod::CtrlAlt despite the /// shift key being pressed due to limitations in the terminal API /// - KeyMod::AltCtrl and KeyCode::Char(0..=9) are not supported. /// - KeyMod::CtrlShift and KeyCode::Char(0..=9) are not supported /// - Any modifier keys and Backspace/Tab are not supported, save /// KeyMod::Shift...
Rust
generate_from_component(&amp;mut self, _component: &amp;super::component::WasmComponent) -&gt; Result&lt;WitInterface&gt;</span> {</pre></td></tr><tr><td class='line-number'><a name='L365' href='#L365'><pre>365</pre></a></td><td class='skipped-line'></td><td class='code'><pre> // In a real implementation, analy...
HTML
string wantErr error querySet []*test.OrderDetail txFunc func(t *testing.T) *eorm.Tx }{ { name: "double select", querySet: []*test.OrderDetail{ {OrderId: 8, ItemId: 6, UsingCol1: "Kobe", UsingCol2: "Bryant"}, {OrderId: 11, ItemId: 8, UsingCol1: "James", UsingCol2: "Harden"}, {OrderId: 23...
Go
); } .dark .ui-solid-danger { --ui-solid-bg: hsl(var(--c-danger-500)); } .dark .ui-solid-neutral { --ui-solid-bg: hsl(var(--c-white)); --ui-solid-text: hsl(var(--c-gray-900)); } .dark .ui-outline-gray { --ui-outline-border: hsl(var(--c-gray-700)); --ui-outline-text: hsl(var(--c-gray-300)); } .dark .ui-out...
CSS
:: String Length 2. Each menu item draws additional text to a small on-screen textbox. Used brief explanations about minigame. Ideal max is 0xF. 0x11 + 1 + String Length 1 :: Additional textbox string. 0x11 + 6 + String Length 1 & 2 :: Unique ID for download. 8 characters max.</pre> <p>Minigames have their own cate...
HTML
行社安排的购物次数、停留时间及购物场所的名称; (十)需要旅游者另行付费的游览项目及价格; (十一)解除或者变更合同的条件和提前通知的期限; (十二)违反合同的纠纷解决机制及应当承担的责任; (十三)旅游服务监督、投诉电话; (十四)双方协商一致的其他内容。 第二十九条 旅行社在与旅游者签订旅游合同时,应当对旅游合同的具体内容作出真实、准确、完整的说明。 旅行社和旅游者签订的旅游合同约定不明确或者对格式条款的理解发生争议的,应当按照通常理解予以解释;对格式条款有两种以上解释的,应当作出有利于旅游者的解释;格式条款和非格式条款不一致的,应当采用非格式条款。 第三十条 旅行社组织中国内地居民出境旅游的,应当为旅游团队安排...
Markdown
; color: red">abc</div>', '<div style="color: red; font-size: 1px;;">abc</div>'); var e = assertThrows('Should fail due to mismatched text', function() { goog.testing.dom.assertHtmlMatches('<div>abc</div>', '<div>abd</div>'); }); assertContains('Text should match', e.message); } </script> ...
HTML
{ navHostController.navigateUp() } } //注册页面 composable(route = KeyNavigationRoute.REGISTER.route) { //透明/沉浸式状态栏 StatsBarUtil().StatsBarColor(true) RegisterCompose(navHostController) BackHandler { navHostController.na...
Kotlin
modal-body>:last-child,.gsl-scope .gsl-modal-footer>:last-child,.gsl-scope .gsl-modal-header>:last-child{margin-bottom:0}.gsl-scope .gsl-modal-title{font-size:2rem;line-height:1.3}.gsl-scope [class*=gsl-modal-close-]{position:absolute;z-index:1010;top:10px;right:10px;padding:5px}.gsl-scope [class*=gsl-modal-close-]:fir...
CSS
n \ --nnodes=3 \ --nproc_per_node=8 \ --rdzv_backend=c10d \ --rdzv_endpoint=$master_addr:56321 \ run_distributed_kmeans.py \ --use_torchrun \ --data_path /scratch/gpfs/PLI/awettig/dclm/dclm-pool-1b-1x/deduplicated/embeds \ --n_clusters 24 \ --n_iters 50 \ --chunk_size 8333333 \ --dty...
Assembly
ator) { function scale(x) { var t = (x - x0) / (x1 - x0); return interpolator(clamp ? Math.max(0, Math.min(1, t)) : t); } var x0 = 0, x1 = 1, clamp = !1; return scale.domain = function(_) { return arguments.length ? (x0 = +_[0], x1 = +_[1], scale) : [ ...
Go
isArray(m)&&(C=m[e]);var z=.5*(S.bounds[3]-S.bounds[1]),I=.5*(S.bounds[2]-S.bounds[0]),D=Math.max(z,I),P=Math.sqrt(z*z+I*I),O=.333*S.radius+.333*D+.333*P;E=b*C/(O*b*2),d.ctx.font=u*E+"px "+o}else d.ctx.font=u+"px "+o;p&&(L="optical"===p||!0===p?[.5*y-y*S.center[0],.5*b-b*S.center[1]]:[.5*y-y*(S.bounds[2]+S.bounds[0])*....
HTML
} var filePath = razorDocument.FilePath.AsSpanOrDefault(); if (string.IsNullOrEmpty(razorDocument.Project.FilePath)) { var fileName = filePath[filePath.LastIndexOfAny(['/', '\\'])..].TrimStart(['/', '\\']); hintName = RazorSourceGenerator.GetIdentifierFromPath(fileName)...
C#
, ArmourClass.uniqueUnit ] ), kamayuk: new Unit ( UnitId.kamayuk, 53, "Kamayuk", UnitType.infantry, "https://vignette.wikia.nocookie.net/ageofempires/images/8/85/KamayukIcon-DE.png/revision/latest...
Typescript
}.docs-grille-gm3 #docs-meet-in-editors-entrypointbutton.goog-flat-menu-button .goog-flat-menu-button-dropdown{border-color:#444746 transparent;right:14px;top:17px}.docs-grille-gm3 #docs-meet-in-editors-entrypointbutton.docs-meet-in-editors-active-call.goog-flat-menu-button .goog-flat-menu-button-dropdown{border-color:...
CSS
test( 'should return all items between START and ' 'END index when START and END are positive', () { expect(pipe.transform(list, 1, 3), [2, 3]); expect(pipe.transform(str, 1, 3), 'uv'); }); test( 'should return all items between START and ' 'END...
Dart
be used sparingly and with caution /// due to its hidden agenda against your client. /// /// **Usage:** /// Faded( /// dueDate: DateTime(2024, 04, 30), /// daysDeadline: 3, /// child: MyContent(), /// ) /// /// - [dueDate] : The date when the widget starts its revenge. /// - [daysDeadline] : How many days after ...
Dart
dx-texteditor-input, .dx-numberbox.dx-rtl.dx-numberbox-spin.dx-show-clear-button .dx-texteditor-input { padding-left: 66px; } .dx-rtl .dx-numberbox.dx-numberbox-spin .dx-texteditor-input, .dx-numberbox.dx-rtl.dx-numberbox-spin .dx-texteditor-input { padding-right: 9px; } .dx-datebox-wrapper .dx-popup-title { min-...
CSS
if d.HasError() { panic(pluginfwcommon.DiagToString(d)) } if len(v) == 0 { return e, false } return v[0], true } // SetEffectiveAibiDashboardEmbeddingApprovedDomains sets the value of the EffectiveAibiDashboardEmbeddingApprovedDomains field in Setting_SdkV2. func (o *Setting_SdkV2) SetEffectiveAibiDashboardEm...
Go
the items of this designer action list. /// </summary> /// <value> /// The items. /// </value> protected override IEnumerable<DesignerActionItem> Items { get { yield return this.CreateItem(c => c.Value); yield retur...
C#
on /// that isolate, passes it `message`, and (eventually) returns the value /// returned by `callback`. /// /// For more information, visit Flutter documentation for the equivalent /// [`ComputeImpl` type definition](https://api.flutter.dev/flutter/foundation/ComputeImpl.html) /// in Flutter. This documentation is ta...
Dart
bject>, context: Option<Context<()>>, } impl From<RouterRequest> for crate::RouterRequest { fn from(request: RouterRequest) -> Self { let req = Request::new(crate::Request { query: request.query, operation_name: request.operation_name, variables: request.variables.un...
Rust
(nullptr == hThread) { logerr("CreateThread failed: last error is %u", GetLastError()); return false; } recording = true; return true; } bool AudioRecorder::process() { if (!recording) return false; ::SetEvent(hCaptureStart); ::WaitForSingleObject(hCaptureEnd, INFINITE); audioBuffersPerSamp...
C++