content
stringlengths
2
6.21k
label
stringclasses
16 values
ut/screens/home/home_category/home_category.dart'; import 'package:flutter/material.dart'; import 'package:jellyflut_models/jellyflut_models.dart'; import 'home_cubit/home_cubit.dart'; import 'home_category/cubit/home_category_cubit.dart'; @RoutePage(name: "HomePage") class HomePage extends StatefulWidget { // Thi...
Dart
if (seatLayout[i][k] == 0) { consecutiveSeats++; if (consecutiveSeats == numSeats) { for (int l = k - numSeats + 1; l <= k; l++) { selectedSeats.add(new int[]{i, l}); ...
Java
decimalDigits: 2); } /* Copyright © OnePub IP Pty Ltd. S. Brett Sutton. All Rights Reserved. Note: This software is licensed under the GNU General Public License, with the following exceptions: • Permitted for internal use within your own business or organization only. • Any external distribution, re...
Dart
if (endTime > startTime) { buffered += TimeInterval(TimeUnit::FromMicroseconds(startTime - StartTime()), TimeUnit::FromMicroseconds(endTime - StartTime())); } } } return buffered; } void OggDemuxer::FindStartTime(int64_t& aOutStartTime) { // Extract t...
C++
字符串值")] public string strValue = "字符串"; public override void SetValue(string v) { strValue = v; } public override string Value() { return strValue; } } [Serializable, TypeRegistryItem("原型参数值_布尔值")] public class ArchitectureTypeValue_B...
C#
ease/distribution")) } } // Configuration common to all test tasks tasks.withType<Test>().configureEach { dependsOn(tasks.publish) workingDir = projectDir systemProperty("local.repo", projectDir.toPath().relativize(localRepo.get().asFile.toPath()).toString()) systemProperty("pluginGroupId", pluginG...
Kotlin
optimistas no son siempre verdaderas. Si cada lectura siempre tardara 50 μs, entonces solo debería tomar 2 ms leer 0,19 MB en bloques de 4 KB (y se lee en bloques mayores). Pero nuestras propias mediciones demostraron que nuestro tiempo hasta el primer byte a veces es mucho peor, especialmente en los percentiles 99 y 9...
HTML
)} `,i=e.layers.map(a=>this.$editor.svg.render(a));shiki&&shiki.getHighlighter({theme:"light-plus"}).then(a=>{if(html_beautify){r=html_beautify(r,{indent:2});const n=a.codeToHtml(r,"html");this.refs.$html.html(n),t=html_beautify(t,{indent:2});const o=a.codeToHtml(t,"html");this.refs.$css.html(o),i=html_beautify...
JavaScript
=this;b?(d.__webfontfontdeckmodule__||(d.__webfontfontdeckmodule__={}),d.__webfontfontdeckmodule__[b]=function(b,d){for(var g=0,k=d.fonts.length;g<k;++g){var h=d.fonts[g];c.a.push(new H(h.name,ga("font-weight:"+h.weight+";font-style:"+h.style)))}a(c.a)},B(this.c,z(this.c)+(this.f.api||"//f.fontdeck.com/s/css/js/")+ea(t...
HTML
fun foo() { print(property) } } class Child : MyInterface { override val property: Int = 29 } interface A { fun foo() { print("A") } fun bar() } interface B { fun foo() { print("B") } fun bar() { print("bar") } } class C : A { override fun bar() { print("bar") } } class D : ...
Kotlin
der = new WaveToSampleProvider(waveProvider); } else { throw new ArgumentException("Unsupported source encoding"); } if (sampleProvider.WaveFormat.Channels == 1) { sampleProvider = new MonoToStereoSampleProvider(samp...
C#
oc 2 1392 #1392 } $164: .loc 2 1397 #1393 #1394 /* #1395 * compute the composite graphics exposure region #1396 */ #1397 if (winExposed) lw $24, 76($sp) beq $24, 0, $165 .loc 2 1399 #1398 { #1399 if (pixExposed){ lw $14, 80($sp) beq $14, 0, $166 .loc 2 1400 #1400 (*pDst-...
Assembly
<div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000077">[]</a>&nbsp;&nbsp; <a href="#M000078">[]=</a>&nbsp;&nbsp; <a href="#M000069">allow_nan?</a>&nbsp;&nbsp; <a href="#M000070">ascii_only?</a>&nbsp;&nbsp; <a href="#M000068">...
HTML
cbp-filter-item">实物奖品</div> <div data-filter=".cash" class="g-font-size-15--md s-portfolio__filter-v1-item cbp-filter-item">现金奖品</div> <div data-filter=".virtual" class="g-font-size-15--md s-portfolio__filter-v1-item cbp-filter-item">虚拟奖品</div> </div> ...
HTML
outside Breakpoint @each $key, $setup in map-get($map, sets) { @if map-get($setup, breakpoint) == false { // Base Wrapper Style @include _grid-connect($setup, $map, $root, true); } @else { // Generate Styles inside Breakpoints @if $cq { @at-root { #{$root}#{cq(map-get...
CSS
得加租,以奖励生产。 </p> <p> 第五条 凡租地内之一切副产物,原为全归农民者仍照旧不变,原为业佃分益者,业主所得按原租额减低1成半至3成,原为全归业主者,随减租后租额比例按成分配。副产物系指:(甲)田边及主要作物中寄种之少量作物。(乙)农作物之秸草。(丙)业佃双方原约中未计算之其他作物。 </p> <p> 第六条 地租必须于产物收获后交纳,不得预收地租。凡已预收1951年及其以后之地租者,应全部退还;业已预收1950年地租者,应按减租办法退还多交部分;均不得加利。 </p> <p> 第七条 佃户除交租外,其他额外剥削和封建陋规(如无偿劳动、送新、送礼、请酒、指仓交谷、大秤大斗、柴草糯...
HTML
jtjujpo-415[gvkud] zloolpfsb-zxkav-zlxqfkd-lmboxqflkp-393[lfkox] zilqwikbqdm-jcvvg-kwvbiqvumvb-174[vbiqk] kzeed-wfggny-xmnuunsl-853[negud] ftzgxmbv-xzz-phkdlahi-657[grbhi] bnqqnrhud-bzmcx-sqzhmhmf-131[hmqbn] zntargvp-pnaql-pbngvat-nanylfvf-169[napvf] jxdkbqfz-pzxsbkdbo-erkq-absbilmjbkq-315[uzmcf] jshzzpmplk-buzahisl-kf...
Rust
0.0: 2.0s<br>HiGHS-1.1.1: 28.0s<br>factor:0.316","COPT-4.0.0: 2.0s<br>HiGHS-1.1.1: 28.0s<br>factor:0.316","COPT-4.0.0: 143.0s<br>HiGHS-1.1.1: 29.0s<br>factor:3.923","COPT-4.0.0: 3.0s<br>HiGHS-1.1.1: 29.0s<br>factor:0.333","COPT-4.0.0: 6.0s<br>HiGHS-1.1.1: 34.0s<br>factor:0.364","COPT-4.0.0: 5.0s<br>HiGHS-1.1.1: 35.0s<b...
HTML
: LogicalSize(wm, rowSize, colSize); } LogicalRect nsGridContainerFrame::GridReflowInput::ContainingBlockFor( const GridArea& aArea) const { nscoord i, b, iSize, bSize; MOZ_ASSERT(aArea.mCols.Extent() > 0, "grid items cover at least one track"); MOZ_ASSERT(aArea.mRows.Extent() > 0, "grid items cover at ...
C++
long mqCount = 0L; List<TableStat> tableStats = new ArrayList<TableStat>(); for (LoadCounter counter : counters) { TableStat stat = new TableStat(); stat.setPipelineId(identity.getPipelineId()); stat.setDataMediaPairId(counter.getPairId()); stat.setFileCou...
Java
intstr.IntOrString{IntVal: 8080}, }, }, }, } ser.SetGroupVersionKind(schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Service"}) ser.Name = "sonobuoy-aggregator" ser.Namespace = cfg.Config.Namespace ser.Labels = map[string]string{ "component": "sonobuoy", "sonobuoy-component": "aggre...
Go
set { if (this.icon != value) { this.icon = value; this.OnPropertyChanged(); } } } public bool IsPopupOpen { get { return this.isPopupO...
C#
/* ChessLib, a chess data structure library MIT License Copyright (c) 2017-2023 Rudy Alex Kohn Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation ...
C#
a, /// TRINIDAD AND TOBAGO #[serde(rename = "TT")] TrinidadAndTobago, /// TUNISIA #[serde(rename = "TN")] Tunisia, /// TURKEY #[serde(rename = "TR")] Turkey, /// TURKMENISTAN #[serde(rename = "TM")] Turkmenistan, /// TURKS AND CAICOS ISLANDS #[serde(rename = "TC")] TurksAndCaicosIslands, /// TUVALU #[s...
Rust
dict::PrefixDict; use lindera_core::core::unknown_dictionary::UnknownDictionary; use lindera_core::core::viterbi::{Lattice, Mode}; use lindera_core::core::word_entry::WordId; use lindera_dictionary; use lindera_ipadic; use lindera_ipadic_builder; #[derive(Serialize, Clone)] pub struct Token<'a> { pub text: &'a str...
Rust
iPage != 0) { ResetProcs(hwnd, IDC_TASKLIST); STATE = 1; col.mask=LVCF_TEXT|LVCF_WIDTH; col.cx=600; col.pszText="Window"; ListView_SetColumn(GetDlgItem(hwnd,IDC_TASKLIST),0,&col); col.mask=LVCF_TEXT|LVCF_WIDTH; col.cx=...
C++
n(((((-1.0)*gconst2*r01))+(((-1.0)*r00*x9279)))),-1); if(!x9283.valid){ continue; } CheckValue<IkReal> x9284 = IKatan2WithCheck(IkReal((((x9281*x9282))+(((-1.0)*r11*x9279*x9282))+(((-1.0)*r11*x9279*x9280))+((x9280*x9281)))),IkReal((((r12*x9280))+((r12*x9282)))),IKFAST_ATAN2_MAGTHRESH); if(!x9284.valid){ continue; } j4a...
C++
fun onBindViewHolder(holder: VH, position: Int, payloads: MutableList<Any>?) { block(holder, position, payloads) } }) return this }package com.wuhenzhizao.adapter.example.widget import android.content.Context import android.util.AttributeSet import com.wuhenzhizao.adapter.example.image.Dra...
Kotlin
if (buildCounterConnectorVersion < 3) { o.authConfigTemplates = buildUnnamed17(); o.authOverrideEnabled = true; o.configVariableTemplates = buildUnnamed18(); o.connectorInfraConfig = buildConnectorInfraConfig(); o.createTime = 'foo'; o.destinationConfigTemplates = buildUnnamed19(); o.disp...
Dart
Source | TexImageSource[] | string | string[] | TextureFunc; crossOrigin?: string; }; /** * The src image(s) used to create a texture. * * When you call {@link createTexture} or {@link createTextures} * you can pass in urls for images to load into the textures. If it's a single url * then this will be a single...
Typescript
"$tmdbAPI/discover/movie?region=IT&language=it-IT&with_genres=878" to "Fantascienza", "$tmdbAPI/discover/movie?region=IT&language=it-IT&with_genres=14" to "Fantasy", "$tmdbAPI/discover/movie?region=IT&language=it-IT&with_genres=27" to "Horror", "$tmdbAPI/discover/movie?language=it-IT&so...
Kotlin
tor.submit { Thread.sleep(500) } futureTask.cancel(true) Thread.sleep(DEFAULT_SLEEP_DURATION_MS) // Then assertThat(futureTask.isCancelled).isTrue mockInternalLogger.verifyLog( InternalLogger.Level.ERROR, listOf(InternalLogger.Target....
Kotlin
0, 80, 50, "C rich black") self.ctx.cmd_k(0.0, 0.1, 0.0, 1.0) self.draw_gray_and_text(50, 80 + deltax, 50, "M rich black") self.ctx.cmd_k(0.0, 0.0, 0.1, 1.0) self.draw_gray_and_text(50, 80 + 2*deltax, 50, "Y rich black") self.ctx.cmd_k(0.1, 0.1, 0.1, 1.0) self.draw_gray_a...
Python
FILE, DO NOT MODIFY! // // @dart=2.18 // ignore_for_file: unused_element, unused_import // ignore_for_file: always_put_required_named_parameters_first // ignore_for_file: constant_identifier_names // ignore_for_file: lines_longer_than_80_chars part of openapi.api; class SyncAckDto { /// Returns a new [SyncAckDto]...
Dart
#pragma once // @generated by torchgen/gen.py from DispatchKeyFunction.h // NB: The implementing C++ file is RegisterDispatchKey.cpp // The only #includes we need are for custom classes that have defaults in the C++ API #include <c10/core/MemoryFormat.h> #include <c10/core/Scalar.h> #include <ATen/core/Reduction.h> ...
C
bits // c4 BIT(64) // 64 bits Boolean c1 = after.getBoolean("c1"); assertThat(c1).isEqualTo(Boolean.TRUE); byte[] c2 = after.getBytes("c2"); assertThat(c2.length).isEqualTo(1); assertThat(c2[0]).isEqualTo((byte) 2); ...
Java
Code below (the next five std's) needs to be changed #endif std %r3,0x00(%r4) /* Hardwired 0x1... kernel Vaddr start*/ ldo _PAGE_TABLE(%r1),%r3 std %r3,0x400(%r5) /* Hardwired 0x1... kernel Vaddr start*/ ldo 0x1000(%r3),%r3 std %r3,0x408(%r5) ldo 0x1000(%r3),%r3 std ...
Assembly
5px; } #ping-source-picker { margin-left: 5px; margin-bottom: 10px; } .data-section { background-color: -moz-Field; color: -moz-FieldText; border-top: 1px solid threedshadow; border-bottom: 1px solid threedshadow; margin: 0px; padding: 10px; } .data-section:not(.has-data) { color: gray; } .secti...
CSS
ot-sdk/blob/00b85c51dfbc0fecbb8a4dd3635d4c177a6527a6/substrate/frame/staking/runtime-api/src/lib.rs#L25-L33</div></div></a></li><li><a href="../variables/_dedot_runtime_specs.TaggedTransactionQueue.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-32"></use></svg><div>Tagged<wbr/>...
HTML
", "述", "迷", "追", "退", "送", "逃", "逆", "途", "通", "速", "造", "連", "週", "進", "遅", "遊", "運", "過", "道", "達", "違", "遠", "適", "選", "遺", "避", "邪", "郊", "郡", "部", "郵", "郷", "都", "配", "酒", "酸", "里", "重", "野", "量", "金", "針", "鈍", "鉄", "鉱", ...
Dart
n</div>\n", 'alternative_names': { 'name': '', 'description': '' }, 'width': 226, 'headerColor': { 'color': { 'fixed': '#35AAE5', 'opacity': 1 } }, 'template_type': 'mustache' }, 'tooltip': { ...
JavaScript
StoreInfoOuterClass.getDescriptor(); emu.grasscutter.net.proto.VintageMarketDealInfoOuterClass.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) } // Generated by the protocol buffer compiler. DO NOT EDIT! // source: GetReunionPrivilegeInfoRsp.proto package emu.grasscutter.net.proto; public ...
Java
args []expression.Expression, row chunk.Row, ) ([]byte, bool, error) { dbName, isNull, err := args[0].EvalString(ctx, row) if err != nil || isNull { return nil, isNull, err } tblName, isNull, err := args[1].EvalString(ctx, row) if err != nil || isNull { return nil, isNull, err } is := isVer.(infoschema.Info...
Go
性能。 [traces](https://github.com/datascopeanalytics/traces) 一个用于不均匀间隔时间序列分析的Python库。 [django-map-widgets](https://github.com/erdem/django-map-widgets) 用于Django PostGIS域的可配置、可插拔,以及更友好的地图控件。 # 最新发布 [Django安全版本发布:1.9.10和1.8.15](https://www.djangoproject.com/weblog/2016/sep/26/security-releases/) [S...
Markdown
170519,4337.17,N,11612.34,W,0.0,294.7,,,,,,,")); verifyPosition(decoder, text( "+12084014675,162658,4337.174385,N,11612.338373,W,0.0,,Verizon,,-71,-44,-11,,")); } } package org.traccar.protocol; import org.junit.jupiter.api.Test; import org.traccar.ProtocolTest; public class TelicProtoc...
Java
ItemIterator & operator++() /* */ func (this *QTreeWidgetItemIterator) Operator_add_add() *QTreeWidgetItemIterator { rv, err := qtrt.InvokeQtFunc6("_ZN23QTreeWidgetItemIteratorppEv", qtrt.FFI_TYPE_POINTER, this.GetCthis()) qtrt.ErrPrint(err, rv) rv2 := /*==*/ NewQTreeWidgetItemIteratorFromPointer(unsafe.Pointer(u...
Go
iers:r,pluralRules:i,messageResolver:l,fallbackLocale:s,fallbackWarn:a,missingWarn:c,fallbackContext:f}=e,d={locale:t,modifiers:r,pluralRules:i,messages:h=>{let p=l(n,h);if(p==null&&f){const[,,v]=Qf(f,h,t,s,a,c);p=l(v,h)}if(le(p)||Jo(p)){let v=!1;const A=Zf(e,h,t,p,h,()=>{v=!0});return v?dc:A}else return Jt(p)?p:dc}};r...
JavaScript
.loading-wrap .animation-wrap{align-items:center;display:flex;justify-content:center}.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap:after,.bootstrap-...
CSS
512{F,VL} vshuff32x4 ymm30, ymm29, ymm28, 123 # AVX512{F,VL} vshuff32x4 ymm30, ymm29, YMMWORD PTR [rcx], 123 # AVX512{F,VL} vshuff32x4 ymm30, ymm29, YMMWORD PTR [rax+r14*8+0x1234], 123 # AVX512{F,VL} vshuff32x4 ymm30, ymm29, [rcx]{1to8}, 123 # AVX512{F,VL} vshuff32x4 ymm30, ymm29, YMMWORD PTR [rdx+4064], 123 ...
Assembly
Attributes = 2 }; Advapi32Library.LookupPrivilegeValue(string.Empty, "SeShutdownPrivilege", out tokenPrivileges.Luid); Advapi32Library.AdjustTokenPrivileges(tokenHandle, false, ref tokenPrivileges, 0, nint.Zero, nint.Zero); Advapi32Library.InitiateSystemShu...
C#
DefineClass.DroneBase = { __parents = { "Vehicle", "CityObject", "NightLightObject", "InfopanelObj" }, flags = { gofPermanent = true, cofComponentSound = true }, moving = false, fx_moving_target = false, work_spot_task = "Workdrone", work_spot_deposit = "Workdrone", work_spot_drone_recharge = "Rechargedrone", ...
Lua
-hub-retry-button:hover,.h5p-hub .h5p-hub-error .h5p-hub-button.h5p-hub-retry-button:active{background-color:#c64750;border-color:#c64750;color:#fff}.h5p-hub .h5p-hub-error .h5p-hub-button.h5p-hub-retry-button:focus{box-shadow:0.06em 0 0.6em 0.1em #c64750}.h5p-hub .h5p-hub-error .h5p-hub-button.h5p-hub-retry-button[dis...
CSS
) { for(BrandingProvider p : providers) { Boolean enabled = p.isExtendedHelpMenuEnabled(); if (enabled != null) return enabled; } return true; } } /** * NetXMS - open source network management system * Copyright (C) 2003-2025 Victor Kirhenshtein * * This p...
Java
countIdAsync(Guid accountId); /// <summary> /// L?y danh sách ??a ch? theo c?a hàng /// </summary> Task<IEnumerable<AddressDto>> GetAddressesByShopIdAsync(Guid shopId); /// <summary> /// L?y ??a ch? giao hàng m?c ??nh c?a tài kho?n /// </summary>...
C#
italize="off" autocorrect="off" autocomplete="username" data-a-target="tw-input" id="login-username" value=""></div></div></div><div class="tw-mg-t-2"><div class="login-password-input"><div class=""><div class="password-input__label tw-align-items-center tw-flex tw-mg-b-05"><div class="tw-flex-grow-1"><label class="tw-...
HTML
{} /// Marks a type as a DA3 pin pub trait DA3 {} /// Marks a type as a DA4 pin pub trait DA4 {} /// Marks a type as a DA5 pin pub trait DA5 {} /// Marks a type as a DA6 pin pub trait DA6 {} /// Marks a type as a DA7 pin pub trait DA7 {} /// Marks a type as a DA8 pin pub trait DA8 {} /// Marks a type as a DA9 pin pub t...
Rust
APIVersion: "v1", }, ObjectMeta: metav1.ObjectMeta{ UID: "12345678", Name: "foo", Namespace: "new", }, } } // After adding reconciliation, if status in pod manager is different from the cached status, a reconciliation // will be triggered, which will mess up all the old unit test. // To sim...
Go
source-around' }, { 'Shougo/ddc-ui-native' }, { 'Shougo/ddc-filter-matcher_head' }, { 'Shougo/ddc-filter-sorter_rank' }, -- auto complement { 'cohama/lexima.vim' }, -- status line { 'nvim-tree/nvim-web-devicons' }, { 'nvim-lualine/lualine.nvim' }, -- fuzzy finder { 'ibhagwan/f...
Lua
ield, bypassFieldLimit = false ): string | undefined => { if (field.sold) { return "You don't own this field."; } if (bypassFieldLimit) { return undefined; } const { red, white } = fieldYields({ ...field, vines: [...field.vines, vineId], }); return red + w...
Typescript
set(value) { ItemlistItemviewBinding.bind(this) .itemTextView.text = value } } /* * Copyright 2018 Niek Haarman * * 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 c...
Kotlin
59.637 17.317 19.522.0 46.86-4.536 59.657-17.321 3.016-2.999 7.886-2.995 10.885.008 3.008 3.011 3.003 7.882-.008 10.889zm-5.23-48.781c-16.373.0-29.701-13.324-29.701-29.698.0-16.381 13.328-29.714 29.701-29.714 16.378.0 29.706 13.333 29.706 29.714.0 16.374-13.328 29.698-29.706 29.698zM160.91 295.348c0-16.381 13.328-29.7...
HTML
14c, U+614e, U+6151, U+6155, U+6162, U+6167-6168, U+6170, U+6175, U+6177, U+618b, U+618e, U+6194, U+61a7-61a9, U+61ac, U+61be, U+61c2, U+61c8, U+61ca, U+61d1-61d2, U+61d4, U+61e6, U+61f5, U+61ff, U+6208, U+620a, U+620c-6212, U+6216, U+6218, U+621a-621b, U+621f, U+622a, U+622c, U+622e, U+6233-6234, U+623...
CSS
class="post-header"><div class="post-meta-container"><time itemprop="dateCreated" datetime="2024-02-10T23:42:00+08:00" content="2024-02-10">02-10</time></div><div class="post-title"><a class="post-title-link" href="/p/59607/" itemprop="url"><span itemprop="name">星光咖啡馆与死神之蝶/星巴克与扑棱蛾子/喫茶ステラと死神の蝶/Cafe Stella and the Reaper...
HTML
나리온 정찰병 란디온과 접선한 후 세나리온 요새에 있는 바람소환사 프라우드혼에게 하이브레갈 정찰 보고서를 가지고 돌아가십시오. 또한, 이 퀘스트를 완료하려면 전술 임무 지령 VII도 함께 가져가야 합니다.", ["T"] = "하이브레갈 정찰 보고서", }, [8739] = { ["D"] = "우리는 최고의 정찰병들을 실리시드 곤충 집으로 침투시켰습니다. 그중 정찰병 잘리나는 지금까지 며칠 동안 하이브아쉬에서 실리시드의 동태를 감시해 왔습니다. 그녀를 찾아 그동안의 경과를 기록해 놓은 보고서를 입수해 오십시오. 우린 그 정보를 바탕으로 최대한 신속...
Lua
alse; std::string local_buff; bucket_head bh = {0}; uint32_t conn_index = 0; CRITICAL_REGION_BEGIN(m_recieved_packets_lock); if(m_recieved_packets.size()) { bh = m_recieved_packets.begin()->m_hd; conn_index = m_recieved_packets.begin()->m_connection_index; local_buff.swap(m_recie...
C
= rep(NA, 8) data.test = data.frame(x = x.test, y = y.test, z = z.test) for (i in 1:length(all.costs)) { svm.fit = svm(as.factor(z) ~ ., data = data, kernel = &quot;linear&quot;, cost = all.costs[i]) svm.predict = predict(svm.fit, data.test) test.errors[i] = sum(svm.predict != data.test$z) } data.frame(co...
HTML
--!strict --[=[ @class DisableHatParticles ]=] local require = require(script.Parent.loader).load(script) local BaseObject = require("BaseObject") local Maid = require("Maid") local RxInstanceUtils = require("RxInstanceUtils") local String = require("String") local DisableHatParticles = setmetatable({}, BaseObject)...
Lua
/* * Copyright 2024 Redpanda Data, Inc. * * Use of this software is governed by the Business Source License * included in the file licenses/BSL.md * * As of the Change Date specified in that file, in accordance with * the Business Source License, use of this software will be governed * by the Apache License, V...
C
*/ private var cachedPackets = mutableListOf<PacketInfo>() /** * Transforms a list of packets using [#transformer] * * We pass it as an arg (rather than referencing it from the object) so Kotlin * knows it's non-null here. */ private fun transformList( packetInfos: List<P...
Kotlin
Region": "China", "Lat": 44.0935, "Long": 113.9448, "1/22/20": 0, "1/23/20": 0, "1/24/20": 0, "1/25/20": 0, "1/26/20": 0, "1/27/20": 0, "1/28/20": 0, "1/29/20": 0, "1/30/20": 0, "1/31/20": 0, "2/1/20": 0, "2/2/20": 0, "2/3/20": 0, "2/4/20": 0, "2/5/20"...
JavaScript
"description": "The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.", // "type": "string" // } // ...
Go
,中央文献出版社、军事科学出版社 1993 年版;廖述江《“备战、备荒、为人民”口号的由来和历史演变》,《党史文苑》[纪实版] 20060710 ,转自“万方数据资源系统” ) </p> <h3> 见马克思 </h3> <p> 死的委婉语(限于信仰马克思主义的人)。在世俗社会,不直接说死,而是说死后将去见某人,以此间接指称,取得委婉的修辞效果。信仰什么就假定见什么人(祖宗、上帝等)。[注 1] </p> <p> 毛泽东 1960 年代以后多次以此喻死[注 2]:“我死后上天去,不会去见玉皇大帝,要去见马克思汇报工作,也向他报个‘三七开’吧。”“我早晚会去见马克思,我已经收到了请柬。” 197...
HTML
uerbrandfalle IV", [164875] = "Feuerbrandfalle V", [164876] = "Eiskältefalle II", [164877] = "Eiskältefalle III", [164878] = "Wachposten des Freiwindpostens", [164879] = "Sprengfalle II", [164880] = "Sprengfalle III", [164881] = "Gesäuberter Nachtdrache", [164882] = "Gesäuberte Liedblume", [164883] = "Gesäuberte Peitsc...
Lua
vmName("astNodes") fun AstNode.ast(): List<AstNode> { return this.ast<AstNode>() } inline fun <reified T : AstNode> AstNode.ast(): List<T> { val children = SubgraphWalker.getAstChildren(this) return children.filterIsInstance<T>() } inline fun <reified T : Node> Node.dfgFrom(): List<T> { return this.p...
Kotlin
# Copyright (c) 2020 PaddlePaddle Authors. 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/licenses/LICENSE-2.0 # # Unless required by applic...
Python
<div id="sidebar_toggler"></div> - блок для скрытия/показа боковой панели (строится на яваскрипте, добавлять его в HTML не надо) --> <dl id="main_menu"></dl> - главное меню </div> </div> Popup: <div id="popup_wrapper"> - контейнер для popup-окна <form> - фор...
Markdown
ր","Կուբա","Կուկի կղզիներ","Հայաստան","Հայիթի","Հասարակածային Գվինեա","Հարավային Կորեա","Հարավաֆրիկյան Հանրապետություն","Հյուսիսային Կորեա","Հյուսիսային Մակեդոնիա","Հյուսիսային Մարիանյան կղզիներ","Հնդկաստան","Հոնդուրաս","Հոնկոնգ","Հորդանան","Հունաստան","Հունգարիա","Ղազախստան","Ղրղզստան","Ճամայկա","Ճապոնիա","ՄԱԷ","ՄԹ","...
JavaScript
QzMQ==&mid=2247497937&idx=1&sn=5c77080107f7b471da671cc757b2e124&chksm=9ae1b9e9ad9630fffe26414d0c6ead51a0ab17287aa481ef99d7e4c9e6275a6619689ae4ec22&scene=21#wechat_redirect) [恶意样本分析之恶意软件的功能和持久化(二)](http://mp.weixin.qq.com/s?__biz=MzAwMDgyNTQzMQ==&mid=2247498356&idx=1&sn=dc8f10985c3a0fa6083493a5a2be00ce&chksm=9a...
Markdown
ault:'16px' }}; --texto_texto_explicacao2_agencia: "{{ agencia.texto_explicacao2_agencia|default:'Seu Texto de Apresentação Aqui' }}"; --explicacao2_font_size: {{ agencia.explicacao2_font_size|default:'16px' }}; --texto_texto_explicacao3_agencia: "{{ agencia.texto_explicacao3_agencia|...
HTML
(FACT_NAME)!.value).toBeUndefined() }) test('allows a fact instance', () => { let options = { cache: false } let fact = new Fact(FACT_NAME, 50, options) engine.addFact(fact) assertFact(engine) expect(engine.facts.get(FACT_NAME)).toBeDefined() ...
Typescript
灵长矛", [39222] = "断裂的鳍", [39223] = "巨型腭骨", [39224] = "分歧护腿", [39225] = "武装冲突披风", [39226] = "迈克斯纳的腿骨", [39227] = "巨型石钥匙", [39228] = "蛛茧之握", [39229] = "蜘蛛的拥抱", [39230] = "畸形护肩", [39231] = "古旧丝环", [39232] = "失职坠饰", [39233] = "诅咒的庇护", [39234] = "疫病防护之靴", [39235] = "骨架护腕", [39236] = "侵犯者之靴", [39237] = "鏖战护肩", [39238] = "命令节杖...
Lua
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 // limitations und...
C++
*/ p5.Element.prototype.hide = function() { this.elt.style.display = 'none'; return this; }; /** * * Sets the width and height of the element. AUTO can be used to * only adjust one dimension. If no arguments given returns the width and height * of the element in an object. * * @metho...
JavaScript
in the [pinouts section](#pinouts)). ### Верх ![Durandal - Top Pinouts (Schematic)](../../assets/flight_controller/durandal/durandal_pinouts_top.jpg) ### Перед ![Durandal - Front Pinouts (Schematic)](../../assets/flight_controller/durandal/durandal_pinouts_front.jpg) ### Тил ![Durandal - Back Pinouts (Schematic)]...
Markdown
ObjectAnimator.ofFloat(view, "scaleX", from, 1f) val scaleY = ObjectAnimator.ofFloat(view, "scaleY", from, 1f) return arrayOf(scaleX, scaleY) } companion object { private const val DEFAULT_SCALE_FROM = .5f } } package org.wasabifx.wasabi.core import io.netty.channel.ChannelHandlerContext import io.n...
Kotlin
\n' + '春天:倍数x2。\n' + '【选项】明牌:倍数x5/4/3/2\n' + '【选项】踢拉:踢、拉倍数x2\n' + '【选项】抓底:x2/3\n' + '2、分数结算:\n' + '若农民赢:底分x倍数(x其他勾选加倍项)。\n' + '若地主赢:两个农民输的分数相加。', }, { title: '普通癞子', content:'<color=#0A92E1>癞子斗地主规...
Typescript
al ok = os.execute('curl ' .. URL .. ' | tar xz -C gen/') assert(ok == true or ok == 0, 'error downloading CIFAR-10') end print(" | combining dataset into a single file") local trainData = convertToTensor({ 'gen/cifar-10-batches-t7/data_batch_1.t7', 'gen/cifar-10-batches-t7/data_batch_2.t7',...
Lua
a property. Use this method to query whether a given /// exception has that marker set to identify as a ZlpSimpleFileAccessProtectorException /// even if it is not of the exact type. /// </summary> public static bool IsSimpleFileAccessProtectorException(Exception x) { return x switch ...
C#
this.initializeCharts(); this.startPolling(serverId); } clearChartData() { // Clear data from existing charts without destroying them Object.values(this.charts).forEach((chart) => { if (chart && chart.data) { chart.data.datasets.forEach((dataset) => { dataset.data = Array(...
JavaScript
MutableList<Notification>, val profiles: List<Profile>, val api: SzkolnyApi) { companion object { private const val TAG = "AppSync" } /** * Run the app sync, sending all pending notifications * and retrieving a list of shared events. * * Events are automatically saved to app da...
Kotlin
UniString::from(env!("GIT_HASH")); make_json_response(&resp) } pub async fn active_chains( _: Request<Body>, _: Params, _: Query, _: Arc<RpcServiceEnvironment>, ) -> HResult { empty() } pub async fn protocols( _: Request<Body>, _: Params, _: Query, _: Arc<RpcServiceEnvironment>...
Rust
r.COMMENT, '--', lexer.fold_line_comments('--'))</code></li> <li><code>lex:add_fold_point(lexer.COMMENT, '//', lexer.fold_line_comments('//'))</code></li> </ul> <p><a id="lexer.get_rule"></a></p> <h3><code>lexer.get_rule</code> (lexer, id)</h3> <p>Returns the rule identified by string <e...
HTML
// // Generated by class-dump 3.5b1 (64 bit) (Debug version compiled Dec 3 2019 19:59:57). // // Copyright (C) 1997-2019 Steve Nygard. // #import <MailFW/MFEWSRequestOperation.h> #import <MailFW/NSSecureCoding-Protocol.h> @class MFEWSCreateItemResponseOperation, NSString; @interface MFEWSCreateItemRequestOper...
C
namespace ValveKeyValue.Deserialization { class KVTokenReader : IDisposable { public KVTokenReader(TextReader textReader) { ArgumentNullException.ThrowIfNull(textReader); this.textReader = textReader; } protected TextReader textReader; protected ...
C#
# timetable/views.py from django.shortcuts import render, get_object_or_404, redirect from .models import Classroom, Course, Timetable from .forms import ClassroomForm, CourseForm, TimetableForm def timetable_list(request): timetables = Timetable.objects.all() return render(request, 'timetable/timetable_list...
Python
err != nil { return "", err } return inspect.Driver.IPAddress, nil } func (machine DockerMachine) ReservedIPs() (rtn []string) { for i := 0; i < 20; i++ { rtn = append(rtn, fmt.Sprintf("192.168.99.%d", 100+i)) } return } // Run a command in the vm func (machine DockerMachine) Run(command []string) ([]byte,...
Go
child):not(:last-child) .vc_tta-panel-heading, .wpb-js-composer .vc_tta.vc_general.vc_tta-shape-square.vc_tta-o-shape-group.vc_tta-o-no-fill .vc_tta-panel.vc_active + .vc_tta-panel:last-child:not(:first-child) .vc_tta-panel-heading { border-top-left-radius: 0px; border-top-right-radius: 0px; } .wpb-js-composer .vc_tt...
CSS
th="35" height="22" class="mw-file-element" srcset=" //upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/53px-Zh_conversion_icon_m.svg.png 1.5x, //uplo...
HTML
40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l...
HTML
TxOutRef (StateMachine s i))) -&gt; Either ConnectionError (TypedScriptTxOutRef (StateMachine s i)) -&gt; Maybe (TypedScriptTxOutRef (StateMachine s i)) forall a c b. (a -&gt; c) -&gt; (b -&gt; c) -&gt; Either a b -&gt; c </span><a href="../file:///nix/store/sc7phsrhp1xzn7n38mdjvapkbif3753i-ghc-8.10.7-doc/share/doc/ghc...
HTML