content
stringlengths
2
6.21k
label
stringclasses
16 values
snippet. The snippet /// part has a quota cost of 2 units. /// /// [$fields] - Selector specifying which fields to include in a partial /// response. /// /// Completes with a [Comment]. /// /// Completes with a [commons.ApiRequestError] if the API endpoint returned an /// error. /// /// If the us...
Dart
311 33569.06909 1 124111111123131113113144311113311131324111322 43290.16667 1 124111111123131113113144311113311131323111311 23680.8 1 124111111123131113113443311113311131324111311 """ data_list = data_str.strip().split('\n') columns = data_list[0].split('\t') data = [line.split('\t') for line in data_list[1:]] ...
Python
de Joost. Como ésta era mi primera experiencia con el conjunto de herramientas, el lenguaje y la creación de patrones, elegí algo tan fácil como [una pajarita](https://freesewing.org/designs/benjamin/). Es un objeto simple, ya que es plano, con una anchura y una altura, pero sin profundidad real. Por lo tanto, no tuv...
Markdown
ain().CurrentHeader().Number.Uint64(); i++ { header := s.backend.Blockchain().GetHeaderByNumber(i) hash, number := header.Hash(), header.Number.Uint64() td := rawdb.ReadTd(s.db, hash, number) announce := announceData{hash, number, td, 0, nil} if p1.cpeer.announceType == announceTypeSigned { announce.sign(...
Go
C 00 0C */ lwz r12, 0xc(r12) /* 8025E180 00259DE0 7D 89 03 A6 */ mtctr r12 /* 8025E184 00259DE4 4E 80 04 20 */ bctr /* 8025E188 00259DE8 4E 80 00 20 */ blr .global func_8025E18C func_8025E18C: /* 8025E18C 00259DEC 94 21 FF F0 */ stwu r1, -0x10(r1) /* 8025E190 00259DF0 7C 08 02 A6 */ mflr r0 /* 8025E194 00259DF4 ...
Assembly
als::ModelManager* _modelManager; Materials::MaterialManager* _materialManager; }; TEST_F(TestMaterial, TestInstallation) { ASSERT_NE(_modelManager, nullptr); // We should have loaded at least the system library auto libraries = _materialManager->getLibraries(); ASSERT_GT(libraries->size(), 0); ...
C++
background-repeat:no-repeat; z-index:1002; cursor:pointer; margin: 0px 0px 15px 0px; display:none; } #Choco_loading{ width:9px; height:11px; background-image:url(../images/loading.gif); background-repeat:no-repeat; z-index:1002; cursor:pointer; float:right; margin-top:-20px; display:none; } #Choco_bigImage...
CSS
</button> <div className="border-l pl-3 ml-3 space-x-1"> <button className="relative p-2 text-gray-400 hover:bg-gray-100 hover:text-gray-600 focus:bg-gray-100 focus:text-gray-600 rounded-full"> <span className="sr-only">Notifications</span> <span className="a...
JavaScript
port const authorCRUD = generateCRUD( authorCollection, authorCreateDecoder, authorUpdateDecoder ); type ConfigureRouter = <T>( router: Router, collection: Collection, crudMethods: CrudMethods<T> ) => void; const configureRouter: ConfigureRouter = (router, collection, crudMethods) => { router.get("/", (r...
Typescript
: HttpRequest = HttpRequest( headers = Headers(Header("h", 42)), body = "b" ), response: HttpResponse = HttpResponse( headers = Headers(Header("h", 42)), body = "b", ), t: Long = 1_000_000, ...
Kotlin
: true, Description: "Source port for your rule. Only with TCP/UDP protocol", MarkdownDescription: "Source port for your rule. Only with TCP/UDP protocol", }, "state": schema.StringAttribute{ CustomType: ovhtypes.TfStringType{}, Computed: true, Descriptio...
Go
torage_type_ptr(__first), cast_traits::to_storage_type_ptr(__last))); } #if !defined(_STLP_DONT_SUP_DFLT_PARAM) void resize(size_type __new_size, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type)) #else void resize(size_type __new_size, const va...
C
return { -- ['ItemLists'] = { -- ['DefaultItemList'] = {index=8}, -- [1]={id='anguish',name='Anguish'}, -- [2]={id='dsk',name='DSK'}, -- [3]={id='fuku',name='FUKU'}, -- [4]={id='llhcitems',name='Lower Level HC Items'}, -- [5]={id='hcitems',name='Higher Level HC Items'}, -- [6]={id='jonas',name='Hand Aug'...
Lua
are http.StatusOK, http.StatusAccepted", resp.StatusCode)} } if !server.PollerResponderMore(beginStart) { d.beginStart.remove(req) } return resp, nil } func (d *DiskPoolsServerTransport) dispatchBeginUpdate(req *http.Request) (*http.Response, error) { if d.srv.BeginUpdate == nil { return nil, &nonRetriableE...
Go
, after) { enterSearch("sit") typeText("0w") // Cursor back on first "ipsum" } } @Test fun testDeleteToSearchResultWithCount() { doTest( "d3/ipsum<CR>", "lorem 1 ipsum lorem 2 ipsum lorem 3 ipsum lorem 4 ipsum lorem 5 ipsum", "ipsum lorem 4 ipsum lorem 5 ipsum" ) } ...
Kotlin
= " + ss); factors.clear(); factors.addAll(ss); return factors; } } /* * $Id$ */ package edu.jas.ufd; import java.util.Map; import java.util.SortedMap; import java.util.TreeMap; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import edu.jas.poly.Ex...
Java
client.offset_encoding, range['end'].character, false ) ranges[#ranges + 1] = range end response = response.parent end -- Clear selection ranges when leaving visual mode. api.nvim_create_autocmd('ModeChanged', { once = true, ...
Lua
]-s,l[1]+c],[...h]],[[l[0]+s,l[1]-c],[...h]]);return{type:"fillSketch",ops:this.renderLines(o,r)}}}class mL extends $c{fillPolygons(t,r){const i=this._fillPolygons(t,r),n=Object.assign({},r,{hachureAngle:r.hachureAngle+90}),a=this._fillPolygons(t,n);return i.ops=i.ops.concat(a.ops),i}}class yL{constructor(t){this.helpe...
JavaScript
e { // Background colors //--bg: var(--dark0); --bg: #131314; --bg-darker: var(--dark0); --bg-slightly-lighter: var(--dark4); --bg-lighter: var(--dark12); --bg-lightest: var(--dark24); --bg-super-light: #616161; --card-bg: var(--dark3); // Navigation & Panel backgrounds --sidenav-bg: transparent;...
CSS
time.Duration.Companion.days /** * Set of flags to configure the application. */ object Config { /** * Flag to allow external UnifiedPush distributors to be chosen by the user. * * Set to true to allow any available external UnifiedPush distributor to be chosen by the user. * - For Gplay vari...
Kotlin
hsla(var(--hue), 90%, 40%); } @media (prefers-color-scheme: dark) { .chart .series .bar { background-color: hsla(var(--hue), 70%, 50%); border-color: hsla(var(--hue), 55%, 35%); } .chart .series .error-bars { --error-bar-color: hsla(var(--hue), 60%, 40%); } .chart .series.selected .bar { back...
CSS
STUN_SHOCK: createvisualtask AnimTask_DynamaxGrowth, 0x5, 0x1, 0x1 waitforvisualfinish goto Move_ZAP_CANNON end Move_G_MAX_CHI_STRIKE: Move_G_MAX_ONE_BLOW: Move_G_MAX_RAPID_FLOW: Move_MAX_KNUCKLE: createvisualtask AnimTask_DynamaxGrowth, 0x5, 0x1, 0x1 waitforvisualfinish goto Move_CLOSE_COMBAT end Move_G_MAX_...
Assembly
= (mixindex + 1)%2 glext.glBindFramebuffer(glc.GL_READ_FRAMEBUFFER, mixfbos[mixindex].fb[0]); -- Make sure your multisampled FBO is the read framebuffer if old_framebuffer[0] == 0 then gl.glDrawBuffer(glc.GL_BACK); -- Set the back buffer as the draw buffer end glext.glBlitFramebuffer(0...
Lua
stUri_ShouldReturnApiEndpoint_WithOffsetAndCount() => GetBroadcastsRequest.Build() .WithApplicationId(this.applicationId) .WithCount(100) .WithOffset(1000) .Create() .Map(request => request.BuildRequestMessage().RequestUri!.ToString()) .Sho...
C#
(fl.DstMeta.Type), DestPort: int64(fl.Tuple.L4Dst), DestServiceName: fl.DstService.Name, DestServiceNamespace: fl.DstService.Namespace, DestServicePortName: fl.DstService.PortName, DestServicePort: int64(fl.DstService.PortNum), }, &types.FlowKeyMeta{ Proto: utils....
Go
d position: show tabs below header, hide tabs in header */ .float-moat.float-moat-right .float-moat-tabs-header, .float-moat:not(.float-moat-bottom):not(.float-moat-left) .float-moat-tabs-header { display: none !important; } .float-moat.float-moat-right .float-moat-tabs-below-header, .float-moat:not(.float-moat-bott...
CSS
* specific language governing permissions and limitations * under the License. */ using System; using System.Collections.Generic; using Aliyun.Acs.Core.Transform; using Aliyun.Acs.Mts.Model.V20140618; namespace Aliyun.Acs.Mts.Transform.V20140618 { public class DeleteCustomEntityResponseUnmarshaller { ...
C#
_mercury.mercury_b(t) / 365250.0; temp[2]=vsop87b_xsmall_velocities_mercury.mercury_r(t) / 365250.0; return temp; } public static double[] getNeptune(double t){ double[] temp=new double[3]; temp[0]=vsop87b_xsmall_velocities_neptune.neptune_l(t) / 365250.0; temp[1]=vsop87b_xsmall_vel...
Java
\f169"; $youtube-play: "\f16a"; $dropbox: "\f16b"; $stackexchange: "\f16c"; $instagram: "\f16d"; $flickr: "\f16e"; $adn: "\f170"; $bitbucket: "\f171"; $bitbucket-sign: "\f172"; $tumblr: "\f173"; $tumblr-sign: "\f174"; $long-arrow-down: "\f175"; $long-arrow-up: "\f176"; $long-arrow-left: "\f177"; $long-arr...
CSS
t (c) 2011 Companybook, released under the MIT license --- layout: doc --- <el-backtop></el-backtop> # AutoComplete 自动完成 <script setup lang="ts"> import { getCurrentInstance, ref, onMounted } from 'vue'; import '@company-ui/style'; const app = getCurrentInstance(); const apiType = ref('clearbit'); const value1 = ...
Markdown
a(bonus) inst.components.talker:Say(GetString(inst, "ANNOUNCE_GROWPLANT")) end end local function DoKillPlantPenalty(inst, penalty, overtime) if overtime then table.insert(inst.plantpenalties, { amt = -penalty / SANITY_DRAIN_TIME, t = SANITY_DRAIN_TIME }) els...
Lua
FillInterpolateFunc<uint16_t>; case PhysicalType::UINT32: return FillInterpolateFunc<uint32_t>; case PhysicalType::UINT64: return FillInterpolateFunc<uint64_t>; case PhysicalType::UINT128: return FillInterpolateFunc<uhugeint_t>; case PhysicalType::INT8: return FillInterpolateFunc<int8_t>; case PhysicalType...
C++
s = [ PlutoMenuItem( title: 'menu1', children: [ PlutoMenuItem(title: 'menu1-1'), PlutoMenuItem(title: 'menu1-2', onTap: mock.noParamReturnVoid), ], ), PlutoMenuItem(title: 'menu2'), PlutoMenuItem(title: 'menu3'), ]; awai...
Dart
sequenceTypeResult = variantAnnotationCalculator.getAllConsequenceTypesByVariant(new Variant("22", 17668822, "TCTCTACTAAAAATACAAAAAATTAGCCAGGCGTGGTGGCAGGTGCCTGTAGTACCAGCTACTTGGAAGGCTGAGGCAGGAGACTCTCTTGAACCTGGGAAGCCGAGGTTGCAGTGAGCTGGGCGACAGAGGGAGACTCCGTAAAAAAAAGAAAAAAAAAGAAGAAGAAGAAAAGAAAACAGGAAGGAAAGAAG...
Java
0, indices.capacity()) assertEquals(96000, texcoords.capacity()) } val leukocyteBoundingBox = leukocyte.boundingBox assertNotNull(leukocyteBoundingBox) assertEquals(-1.121471f, leukocyteBoundingBox.min.x()) assertEquals(-1.09877f, leukocyteBoundingBox.min.y()) ...
Kotlin
onAttrPopEth = 15 ActionAttrCtClear = 16 ActionAttrPushNsh = 17 ActionAttrPopNsh = 18 ActionAttrMeter = 19 __ActionAttrMax = 20 ) // ovsMeterCmd as declared in ovsh/openvswitch.h:894 //type ovsMeterCmd int32 // ovsMeterCmd enumeration from ovsh/openvswitch.h:894 const ( MeterCmdUnspec = iota...
Go
lıcı buldu. </p> <p>Fakat inanın, salgının “baş altı” ve “baş” seviyelerine de sirayet edeceğine asla ihtimal vermemiştim. </p> <p>Çünkü normal olarak bu seviyelerdeki yazarların, böyle zayıf bir argümanı çaplarına yakıştıramamaları, kendi zekâlarına hakaret saymaları ve kullanmamaları gerekirdi. Hatırlamaları gerekird...
Markdown
( "celer/context" "celer/pkgs/dirs" "celer/pkgs/fileio" "fmt" "os" "path/filepath" "strings" "github.com/BurntSushi/toml" ) type Project struct { DefaultPlatform string `toml:"default_platform,omitempty"` BuildType string `toml:"build_type"` Ports []string `t...
Go
t #line hidden WriteLiteral("</div>\r\n <div"); WriteLiteral(" class=\"bcms-region-button bcms-region-sortcancel\""); WriteLiteral(" style=\"display: none;\""); WriteLiteral(">"); #line 37 "..\..\Views\Shared\Partial\Region.cshtml" ...
C#
name"] = "Senirs Beobachtungen"; ["objective"] = "Sprecht mit Gebirgsjäger Thalos."; }; [283] = { ["name"] = "Eine dunkle Bedrohung"; ["objective"] = "Die Entschärfungsmixtur scheint gewirkt zu haben. Kehrt zu Chefingenieur Hinderweir zurück und berichtet ihm die guten Neuigkeiten."; }; [284] = {...
Lua
._dimensionInfos[dim]; // Currently, only dimensions that has ordinalMeta can create inverted indices. var ordinalMeta = dimInfo.ordinalMeta; if (ordinalMeta) { invertedIndices = invertedIndicesMap[dim] = new CtorInt32Array(ordinalMeta.categories.length); // The default value of ...
JavaScript
dule/networkswitchmanager/save-networkswitchconfiguration?view=windowsserver2022-ps&wt.mc_id=ps-gethelp schema: 2.0.0 title: Save-NetworkSwitchConfiguration --- # Save-NetworkSwitchConfiguration ## SYNOPSIS Saves configuration for starting a network switch. ## SYNTAX ``` Save-NetworkSwitchConfiguration [-CimSession...
Markdown
5V9M15,13H17V17H15V13M15,6H19V7.5H15V6M15,9H19V10.5H15V9Z", "lockminus": "M19 13C19.34 13 19.67 13.04 20 13.09V10C20 8.9 19.11 8 18 8H17V6C17 3.24 14.76 1 12 1S7 3.24 7 6V8H6C4.9 8 4 8.89 4 10V20C4 21.11 4.89 22 6 22H13.81C13.3 21.12 13 20.1 13 19C13 15.69 15.69 13 19 13M9 6C9 4.34 10.34 3...
Go
l, msg, pattern) if msg:match("not a note name") then pattern = msg:match("name:%s*(%S+)") msg = "not a note name" end col = tonumber(col) or 0 return { filename = main, lnum = tonumber(lnum) + 1, col = col, type = Utils.qf_type(loglevel), ...
Lua
hamburger-icon-left: false; // $tabbar-hamburger-icon-top: false; // $tapbar-hamburger-icon-thickness: 1px; // $tapbar-hamburger-icon-gap: 6px; // Off Canvas Back-Link Overlay // $off-canvas-overlay-transition: background 300ms ease; // $off-canvas-overlay-cursor: pointer; // $off-canvas-overlay-box-shadow: -4px 0 4px...
CSS
I card\n"); return -ENODEV; } printk(KERN_INFO "ivtv: End initialization\n"); return 0; } static void module_cleanup(void) { int i, j; pci_unregister_driver(&ivtv_pci_driver); for (i = 0; i < ivtv_cards_active; i++) { if (ivtv_cards[i] == NULL) continue; for (j = 0; j < IVTV_VBI_FRAMES; j++) { kfr...
C
local date = require("feed.parser.date") local config = require("feed.config") local M = {} ---@class feed.query ---@field after? integer #@ ---@field before? integer #@ ---@field limit? integer ## ---@field must_have? string[] #+ ---@field must_not_have? string[] #- ---@field feed? vim.regex #= ---@field not_feed? v...
Lua
lAttribute("width")] public int Width { get; set; } /// <summary> /// Gets the key. /// </summary> /// <value>The key.</value> int IColumnSettings.Key => (int)Column; /// <summary> /// Returns a <see cref="System.String"/> that represents this instance. ...
C#
back); } catch (CruxException exc) { AuthKit.redirect(helper, exc ); CoreLogger.error(/*****/ exc ); } } public static Map getUserInfo(String code, String appId, String appSk) throws CruxException { Map req; Map rsp; int err; ...
Java
reason ${settings.getSetting('cases') + 1} <reason text>\` to set a reason for this unban`, this._bot.user); }); // Add timer for auto-removal of expired user mutes this._bot.timers.add(new Timer(this._bot, 'mute', 30, async () => { const storage: LocalStorage = this._bot.storage; storage.nonConcurre...
Typescript
tbrains.kotlinx.binary-compatibility-validator:org.jetbrains.kotlinx.binary-compatibility-validator.gradle.plugin:0.18.1") implementation("com.github.gmazzo.buildconfig:com.github.gmazzo.buildconfig.gradle.plugin:5.6.8") implementation("com.gradle.plugin-publish:com.gradle.plugin-publish.gradle.plugin:2.0.0") ...
Kotlin
e.UnionApplyButton) end function Union_member_subView:BindEvents() Z.EventMgr:Add(Z.ConstValue.UnionActionEvt.UpdateUnionInfo, self.onEvtRefresh, self) Z.EventMgr:Add(Z.ConstValue.UnionActionEvt.UpdateMemberData, self.onEvtRefresh, self) end function Union_member_subView:UnBindEvents() Z.EventMgr:Remove(Z.Const...
Lua
Mark::fresh(Mark::root()); let span = $span.apply_mark(mark); $crate::swc_ecma_ast::Ident::new($s.into(), span) }}; } #[macro_export] macro_rules! quote_ident { ($s:expr) => { quote_ident!(::swc_common::DUMMY_SP, $s) }; ($span:expr, $s:expr) => {{ $crate::swc_ecma_ast::...
Rust
using System; namespace VersOne.Epub.Schema { /// <summary> /// <para>Reference element of the <see cref="EpubGuide" />.</para> /// <para>See <see href="https://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.6" /> for more information.</para> /// </summary> public class EpubGuideReference ...
C#
<PRE> * Takehiro Tominaga /date?? * Robert Hegemann 2000-09-06: made a function of it * * amplifies scalefactor bands, * - if all are already amplified returns 0 * - if some bands are amplified too much: * * try to increase scalefac_scale * * if already scalefac...
JavaScript
/* * SPDX-FileCopyrightText: 2020 Efabless Corporation * * 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 appl...
C
= _lib._objc_msgSend_57(_id, _lib._sel_initWithIndex_1, value); return NSIndexSet._(_ret, _lib, retain: true, release: true); } bool isEqualToIndexSet_(NSIndexSet indexSet) { return _lib._objc_msgSend_85( _id, _lib._sel_isEqualToIndexSet_1, indexSet._id, ); } int get count { ...
Dart
-service-connect-endpoint-name", PrivateServiceConnectEndpointIpAddress: "10.2.0.68", }, }, } } err = json.NewEncoder(w).Encode(accessPoint) require.NoError(t, err) } } package connect import ( "fmt" "github.com/spf13/cobra" connectv1 "github.com/confluentinc/ccloud-sdk-go-v2/connect/...
Go
#include "tree_sitter/parser.h" enum { LINE_BREAK }; void *tree_sitter_inverted_external_token_external_scanner_create() { return NULL; } void tree_sitter_inverted_external_token_external_scanner_destroy(void *payload) {} unsigned tree_sitter_inverted_external_token_external_scanner_serialize( void *payload, ...
C
s [tcd24_nbytes_mlno::R](tcd24_nbytes_mlno::R) reader structure"] impl crate::Readable for TCD24_NBYTES_MLNO {} #[doc = "`write(|w| ..)` method takes [tcd24_nbytes_mlno::W](tcd24_nbytes_mlno::W) writer structure"] impl crate::Writable for TCD24_NBYTES_MLNO {} #[doc = "TCD Minor Byte Count (Minor Loop Mapping Disabled)"...
Rust
: https://www.virustotal.com/gui/file/5144b12fc98f3e601225b4f3cb3545c6bb528e2fb8cbd166f1f3ec9abca459ad/detection/ ## File Similarity (ssdeep match) File | Score -- | -- [C:\ProgramData\Microsoft\Windows Defender\platform\4.18.2004.6-0\MpDlpCmd.exe](MpDlpCmd.exe-36505607C5FE18E2B6E868E5ADF6BD94.md) | 77 [C:\ProgramDat...
Markdown
notation("vertexid", "4"); AbstractEdge e2 = new Edge(v2, v3); e2.addAnnotation("type", "Used"); e2.addAnnotation("iotime", "12 ms"); e2.addAnnotation("edgeid", "2"); AbstractEdge e3 = new Edge(v4, v2); e3.addAnnotation("type", "WasGeneratedBy"); e3.addAnnotatio...
Java
ebrisNum, ExplosionData)); addField("debrisNumVariance", TypeS32, Offset(debrisNumVariance, ExplosionData)); addField("debrisVelocity", TypeF32, Offset(debrisVelocity, ExplosionData)); addField("debrisVelocityVariance", TypeF32, Offset(debrisVelocityVariance, ExplosionData)); addField("subExplosion", T...
C++
ReturnValue' has a wrong offset!"); // Function SparksCoreRuntime.SparksCore_BPFL.GetAllDrumMidiTextStrings // 0x0010 (0x0010 - 0x0000) struct SparksCore_BPFL_GetAllDrumMidiTextStrings final { public: TArray<class FString> ReturnValue; // 0x0000(0x0010)(Pa...
C++
} const singleAnimalCost = valueOfFirstItem / offer[0][1]; const animalsToRemoveFromOffer = difference / singleAnimalCost; offer[0][1] -= Math.round(animalsToRemoveFromOffer); } /** * updates players and banks herd */ private disposeResult( offer: Offer[], playerHerd: Herd, target: ...
Typescript
是否成人的世界背后总有残缺…… c:77 ### 以心换心 “以后要我做什么事情,不用加‘可不可以’这四个字,直接说就行了。” c:25 夜色中,他仰着头,满身月华,眉目如画。 c:126 听他说这些话,她突然明白那种感觉,自己使劲地想要证明自己给一个人看,但是最后才发现,你是那么微不足道,在她的生命里好像你就从没有出现过一样。是沮丧?绝望?还是恨? c:118 “那是因为我的真心已经不在这里了,如果你不能把你的那颗心换给我,我会像个行尸走肉一样活着。” c:265 他奶奶的原话是:这就跟谁要出远门,提前准备好鞋袜一样。” c:57 这——仅仅是出远门前为自己准备好的鞋袜而已。 她突然被这话中的淳朴豁达打动了。 ...
Markdown
este limba aplicației, folosit în header (titlu). Acum', 'Select language': 'Alege o limbă', 'Content country': 'Conținutul tării', 'Country used in headers. Now': 'Țara este utilizată în header-i (titluri). Acum', 'Log tracks': 'Log-ul pieselor', 'Send track listen logs to Deezer, enable i...
Dart
editor-state").append(this.element); var that = this; setTimeout( function() { // For FF that.element[0].contentWindow.document.designMode = "on"; that.contentWindow = that.element[0].contentWindow; if (that.editor.textarea.val()) { that.contentWindow.document.write(that.editor.textarea...
JavaScript
# 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://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_NAME = "mozcrash" PACKAGE_VERSION = "2.2.1" # dependencies deps = ["mozfile >= 1....
Python
- ✅ 第三方平台集成生态 --- ### 阶段四:平台优化和生态建设 (持续) **时间周期**:持续优化 **目标**:性能优化、生态建设和商业化探索 #### 持续优化重点 - [ ] 系统性能持续优化(目标:100万QPS) - [ ] AI/ML算法集成和智能化升级 - [ ] 移动端SDK开发和优化 - [ ] 国际化和多语言支持 - [ ] 云原生架构改造 - [ ] 开源社区建设和生态发展 - [ ] 商业化模式探索 ## 技术债务管理 ### 代码质量持续改进 - 每个Sprint预留20%时间用于重构和优化 - 定期进行代码质量评估和技术债务清理 - 建立代码质量门禁和自动化检查 ### 性能优化计划...
Markdown
); } bool SimpleActor::PathExists(void) const { return m_Path.CurrentNode() != NULL; } bool SimpleActor::PathIsValid(void) const { //Called by SetPath... return true; } bool SimpleActor::PathAvoidsSquadMates(void) const { Entity *player; float fDelta; float fDistSoFar; float ...
C++
testImplementation("org.assertj:assertj-core:3.26.3") testImplementation("androidx.navigation:navigation-testing:2.8.9") testImplementation("org.robolectric:robolectric:4.14.1") testImplementation("org.mockito:mockito-core:5.14.2") testImplementation("com.nhaarman:mockito-kotlin:1.6.0") testImp...
Kotlin
} } void GPlatesQtWidgets::ColouringDialog::insert_list_widget_item( const GPlatesGui::ColourSchemeInfo &colour_scheme_info, GPlatesGui::ColourSchemeContainer::id_type id) { QListWidgetItem *item = new QListWidgetItem( d_blank_icon, colour_scheme_info.short_description, colour_schemes_list); item->set...
C++
�行完毕"); try { var script = dbContext.Database.GenerateCreateScript(); SenparcTrace.SendCustomLog($"MigrateOnInstallAsync", $"{dbContext.GetType().Name}.Database.GenerateCreateScript:\r\n{script}"); dbContext.Migrate();//进行合并 ...
C#
verride bool updateShouldNotify(_InheritedState old) => state != old.state; } import 'dart:async'; import 'package:flutter/material.dart'; import '../core/core.dart'; import 'scene.dart'; /// /// Enum to handle the Status of the ScenesObject /// enum SceneStatus { active, stop } /// /// Interval in millisecond t...
Dart
using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; namespace NetOffice.AccessApi { #region Delegates #pragma warning disable public delegate void OptionGroup_BeforeUpdateEventHandler(ref Int16 cancel); public delegate void OptionGroup_AfterUpdateEventHandler()...
C#
''}, {'10218', '', '第二章-第9节', '洛基和地球人商量作战策略,并找出解决战力不足的办法。', '1021801', '', '', '1', '危机感', '1', ''}, {'10220', '', '第二章-第10节', '女武神长布伦希尔德爽快地同意了合作请求,但她也提出了一个条件。', '1022001', '', '', '1', '联合军', '1', ''}, {'10223', '', '第二章-第11节', '人类吹响了反击的号角,向造物的“巢穴”进发。', '1022301', '', '', '1', '尤弥尔', '1', ''}, {'10225', '', '第二章-第12节'...
Lua
iner'); // remove close button from target element if(mfp.st.showCloseBtn && (!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) { if(mfp.currTemplate.closeBtn) mfp.currTemplate.closeBtn.detach(); } if(mfp._lastFocusedEl) { $(mfp._lastFocusedEl).focus(); // put tab focus bac...
JavaScript
(sub1(n)), n) } // ------------------------------------- // Helpers to generate/count Peano integers func gen(n int) *Number { if n > 0 { return add1(gen(n - 1)) } return zero() } func count(x *Number) int { if is_zero(x) { return 0 } return count(sub1(x)) + 1 } func check(x *Number, expected int) { va...
Go
f the bitmap // for (int col = 0; col < Width; col ++) { unsigned int id = pixel_ptr[col];// + 1; unsigned int pixel = Id_To_Pixel(id); // // Convert the pixel into red, green, and blue components // BYTE red = BYTE(pixel & 0x000000FF); BYTE green = BYTE((pixel & 0x0000FF00) >> 8); ...
C++
onstructor(public teamId?: string) {} } export class LoadTeamSuccess implements Action { readonly type = TeamViewActionTypes.LoadTeamSuccess; constructor(public payload: Team) { } } export class LoadTeamFailure implements Action { readonly type = TeamViewActionTypes.LoadTeamFailure; } export class Updat...
Typescript
lessons = { { ["file"] = "A-29B - Training - M01 Cold Start (by Rudel_chw).miz", ["name"] = _("M01 Cold Start, Taxi and Take-Off."), ["description"] = _("On this Mission, we will learn how to do a detailed Cold Start on the A-29B Super Tucano.\n\nContents:\n\nThe Cold Start Procedure includes ...
Lua
吃草" // } // } // } import {A, B} from "./model/animal" var dog = new A.Dog("小狗") console.log(dog.eat()) var dog = new B.Rabbit("小兔") console.log(dog.eat())/** * 二叉树的所有路径 * * 给定一个二叉树,返回所有从根节点到叶子节点的路径。 * * 说明:叶子节点是指没有子节点的节点。 * * 示例: * 输入: * * 1 * / \ * 2 3 * \ * 5 * 输出: ["1->2->5", "1->3...
Typescript
.ui-body-a .ui-bar-inherit, html body .ui-group-theme-a .ui-bar-inherit { background-color: #e9e9e9 /*{a-bar-background-color}*/; border-color: #ddd /*{a-bar-border}*/; color: #333 /*{a-bar-color}*/; text-shadow: 0 /*{a-bar-shadow-x}*/ 1px /*{a-bar-shadow-y}*/ 0 /*{a-bar-shadow-radius}*/ #eee /*{a-bar-...
CSS
/* * Copyright (c) 2020 Hemanth Savarla. * * Licensed under the GNU General Public License v3 * * This 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 optio...
Kotlin
ishes', () => { it('returns the deathwish', () => { const deathwishes = [ deathwish({ id: '8586ead7' }), deathwish({ id: 'cc329569' }) ]; const id = 'cc329569'; const result = findDeathwish(deathwishes, id); if (!result) { return; } expect(result....
Typescript
FromKV(t *testing.T) { // sample kv store data var tests = []struct { pg string sn string s *Scope }{ { pg: "bridge", sn: "foo", s: &Scope{ id: uid.New(), name: "foo", scopeType: constants.BridgeScopeType, subnet: &net.IPNet{IP: net.ParseIP("10.10.10.0"), Mask: ne...
Go
ckeymon's moves are super effective against Water-Types.", onEffectiveness(typeMod, target, type) { if (type === 'Water') return 1; }, }, //#24 - Extinguishing extinguishing: { num: 24, name: "Extinguishing", rating: 3, desc: "This Zelckeymon's moves are forcibly made super effective against Fire-Type...
Typescript
import torch import torch.nn as nn import torch.nn.functional as F import numpy as np import matplotlib.pyplot as plt import os def gen_counting_label(labels, channel, tag): b, t = labels.size() device = labels.device counting_labels = torch.zeros((b, channel)) if tag: ignore = [0, 1, 198, 199,...
Python
} }); } } } /** * 显示加载框 */ private void showProgressDialog() { if (!isShowPorgress()) return; Context context = mActivity.get(); if (pd == null || context == null) return; if (!pd.isShowing()) { pd.show(); } ...
Java
{ "Shutting down the process via management socket: $message" } vertx.closeAndExitProcess(exitCode) } } } TYPE_MEDIA_CONTROL -> { val mediaControl = payload.mapTo(MediaControl::class.java) vertx.eventBus...
Kotlin
attr_many! { /// A complete file of TL language source text. #[cfg_derive!(Clone, Debug, Eq, Hash, PartialEq)] pub struct File { pub items: Vec<Item>, } } mod spanned { use super::*; use span::Span; use spanned::Spanned; use spanned::private::Sealed; impl Sealed for File {}...
Rust
nav-link.active { background: #292b30; color: #fff; margin-bottom: -1px; border-bottom: 1px solid #20c997; } nav.nav-code-group .nav-tabs { border-bottom: none; } nav.nav-code-group .nav-tabs .nav-item { margin-bottom: 0; } div.code-group .code-wrapper { border-radius: 0; } /*subject en...
CSS
// Copyright (c) Dapplo and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.IO; using Dapplo.Windows.Clipboard.Internals; namespace Dapplo.Windows.Clipboard; /// <summary> /// These are extensions to w...
C#
ized>() {} //! fn assert_is_non_distinct<T: NonDistinct + ?Sized>() {} //! //! assert_is_distinct::<(u32, u64)>(); //! assert_is_non_distinct::<(u32, u32)>(); //! ``` #![feature(negative_impls)] use std::marker::PhantomData; /// This struct exists for stuff internal to the module. Don't use it /// for anything (thou...
Rust
// RUN: %clang_cc1 %s -triple hexagon-unknown-elf -O2 -emit-llvm -o - | FileCheck %s typedef union __attribute__((aligned(4))) { unsigned short uh[2]; unsigned uw; } vect32; void bar(vect32 p[][2]); // CHECK-LABEL: define void @fred void fred(unsigned Num, int Vec[2], int *Index, int Arr[4][2]) { vect32 Tmp[4]...
C
om-control-input:valid:focus~.custom-control-label:before{box-shadow:0 0 0 .2rem #28a74540}.custom-control-input.is-valid:focus:not(:checked)~.custom-control-label:before,.was-validated .custom-control-input:valid:focus:not(:checked)~.custom-control-label:before{border-color:#28a745}.custom-file-input.is-valid~.custom-...
CSS
} .tools-right-pane { text-align: center; } .tools-right-pane .tools-logo { display: inline-block; background-image: url("../img/iconsprite.png"); height: 134px; margin: 20px 0; } .tools-right-pane .tools-logo.sts-logo { background-position: -328px 0; width: 124px; } .tools-right-pane .tools-logo.ggts-lo...
CSS
pr_in_power_2_base(2, idx, depth).to_vec() } fn update_db_with_key_val( key: &FieldElement, val: DBVal_4_ary, hash_db: &mut HashDb<DBVal_4_ary>, ) { hash_db.insert(key.to_bytes(), val); } } /* Constraints for 4-ary tree Hash all 4 children including the node on...
Rust
e, nil end function _M.rewrite(conf, ctx) local headers = core.request.headers(ctx) if conf.header_schema then local ok, err = core.schema.check(conf.header_schema, headers) if not ok then core.log.error("req schema validation failed", err) return conf.rejected_code, c...
Lua