added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7337 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chi-rei-den/Silverfish",
"max_stars_repo_path": "cards/GVG/GVG/Sim_GVG_031.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7338"
} | starcoder | <reponame>chi-rei-den/Silverfish<gh_stars>1-10
/* _BEGIN_TEMPLATE_
{
"id": "GVG_031",
"name": [
"回收",
"Recycle"
],
"text": [
"将一个敌方随从洗入你对手的\n牌库。",
"Shuffle an enemy minion into your opponent's deck."
],
"cardClass": "DRUID",
"type": "SPELL",
"cost": 6,
"rarity": "RARE",
"set": "GVG... | 1.889094 | ffd747355ea20b330526531b748b6893 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7338 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Vanaheimr/Hermod",
"max_stars_repo_path": "Hermod/Helpers/Datastructures/Delegates.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7339"
} | starcoder | <reponame>Vanaheimr/Hermod<filename>Hermod/Helpers/Datastructures/Delegates.cs
/*
* Copyright (c) 2010-2021, <NAME> <<EMAIL>>
* This file is part of Vanaheimr Hermod <https://www.github.com/Vanaheimr/Hermod>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in ... | 1.832253 | df9c198754673ddb4f70407cbf1977bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7339 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dh79pyun/TizenFX",
"max_stars_repo_path": "src/Tizen.NUI/src/public/ViewProperty/Shadow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7340"
} | starcoder | <reponame>dh79pyun/TizenFX<gh_stars>1-10
/*
* Copyright(c) 2020 Samsung Electronics Co., Ltd.
*
* 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.394465 | d11188870ceb4e51d2d8cc1c67722445 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7340 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MartinSvanholm/SvanholmTournaments",
"max_stars_repo_path": "Kode/SvanholmTournaments/SvanholmTournaments/Shared/Data/UserData/UserData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7341"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SvanholmTournaments.Shared.AuthenticationModels;
using SvanholmTournaments.Shared.Data.RoleData;
using SvanholmTournaments.Shared.Data.UserRolesData;
using SvanholmTournaments.Shared.Db... | 2.184369 | 599c12c82a7f5f097ebf2083faedb23e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7341 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/privatedns/Microsoft.Azure.Management.PrivateDns/tests/ScenarioTests/BaseScenarioTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7342"
} | starcoder | <gh_stars>1000+
// ------------------------------------------------------------------------------------------------
// <copyright file="BaseScenarioTests.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// -----------------------------------------------... | 1.847131 | f075fe84b84635250e58fa3536ad550e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rprgotu/WebApiHMACAuthentication",
"max_stars_repo_path": "WebApiHMACAuthentication-master/HMACAuthentication.WebApi/Controllers/OrdersController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7343"
} | starcoder | <filename>WebApiHMACAuthentication-master/HMACAuthentication.WebApi/Controllers/OrdersController.cs
using HMACAuthentication.WebApi.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Claims;
using System.Web.Http;
namespace HMACAu... | 2.584071 | c43caf1a730b367ed8bb385e6d1306b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasminequah/platform-sdk-csharp",
"max_stars_repo_path": "apis/platform_common/Credential.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7344"
} | starcoder | // Copyright (c) Improbable Worlds Ltd, All Rights Reserved
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Auth.OAuth2.Flows;
using Google.Apis.Auth.OAuth2.Responses;
namespace Improbable.SpatialOS.Platform.Common
{
/// <inheri... | 2.330305 | efeb0119e62ce6a3956cb4c3ea63ad4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7344 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "misiek-it/MassTransit",
"max_stars_repo_path": "src/MassTransit.HttpTransport/Clients/HttpClientContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7345"
} | starcoder | <reponame>misiek-it/MassTransit<filename>src/MassTransit.HttpTransport/Clients/HttpClientContext.cs
namespace MassTransit.HttpTransport.Clients
{
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Context;
using GreenPipes;
using MassTra... | 2.157372 | bb9d4a9d6aed4b6dd6bb3105315084c7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7345 | {
"extension": "c-sharp",
"max_stars_count": "72.0",
"max_stars_repo_name": "hu53yin/StratisFullNode",
"max_stars_repo_path": "src/Stratis.Bitcoin.Features.BlockStore/Pruning/PrunedBlockRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7346"
} | starcoder | <reponame>hu53yin/StratisFullNode<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.Logging;
using NBitcoin;
using Stratis.Bitcoin.Utilities;
namespace Stratis.Bitcoin.Features.BlockStore.Pruning
{
/// <inheritdoc />
public class PrunedBlockRepository : IPrunedBlo... | 2.299179 | f3fadcacb07b15db6c9ba5d02ae059d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7346 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Datasilk/CoreTemplate",
"max_stars_repo_path": "App/Controllers/Dashboard.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7347"
} | starcoder | <filename>App/Controllers/Dashboard.cs
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace CoreTemplate.Controllers
{
public class Dashboard: Controller
{
public struct structMenuItem
{
public string label;
public string id;
... | 2.454383 | 934470fe04bed8695de707b1f17fb35a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "middle-coast-software/serilog-sinks-mssqlserver",
"max_stars_repo_path": "src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlTableCreator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7348"
} | starcoder | <filename>src/Serilog.Sinks.MSSqlServer/Sinks/MSSqlServer/SqlTableCreator.cs<gh_stars>0
using System;
using System.Data;
using System.Data.SqlClient;
using System.Text;
namespace Serilog.Sinks.MSSqlServer
{
internal class SqlTableCreator
{
private readonly string connectionString;
private stri... | 2.785815 | 14611a11e8a293c13badb33fafaa2f5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexinea/Cosmos.Standard",
"max_stars_repo_path": "src/Cosmos.Extensions.Conversions/TinyMapper/Mappers/Classes/Members/MemberEmitterDescription.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7349"
} | starcoder | <reponame>alexinea/Cosmos.Standard<filename>src/Cosmos.Extensions.Conversions/TinyMapper/Mappers/Classes/Members/MemberEmitterDescription.cs
using TinyMapper.CodeGenerators.Emitters;
using TinyMapper.Core.DataStructures;
using TinyMapper.Core.Extensions;
using TinyMapper.Mappers.Caches;
namespace TinyMapper.Mappers.C... | 1.884343 | eed7e4e976e6039f909f87f4c67206a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SimonasBanys/disertation",
"max_stars_repo_path": "hist_mmorpg-master/RepairHist_mmo/Kingdom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7350"
} | starcoder | <filename>hist_mmorpg-master/RepairHist_mmo/Kingdom.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Runtime.Serialization;
namespace hist_mmorpg
{
/// <summary>
/// Class storing data on kingdom
/// </summary>
public class Kingdom : Place
{
... | 2.527092 | 29d555480a7162b099ba0909f415ece3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7350 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "bimgeek/speckle-sharp",
"max_stars_repo_path": "Objects/Converters/ConverterETABS/ConverterETABSShared/Partial Classes/Analysis/ConvertModelUnits.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7351"
} | starcoder | <reponame>bimgeek/speckle-sharp<filename>Objects/Converters/ConverterETABS/ConverterETABSShared/Partial Classes/Analysis/ConvertModelUnits.cs
using System;
using System.Collections.Generic;
using System.Text;
using Objects.Structural.Analysis;
namespace Objects.Converter.ETABS
{
public partial class ConverterETABS
... | 2.179861 | ca4c92c879da3c1a44d8c514454cb135 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iodes/EastAsianWidth.NET",
"max_stars_repo_path": "EastAsianWidth/EastAsianWidth.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7352"
} | starcoder | using System.Linq;
namespace Kodnix.Character
{
public static class EastAsianWidth
{
public static EastAsianWidthKind GetKind(char value)
{
var codePoint = (int)value;
if (0x3000 == codePoint ||
0xFF01 <= codePoint && codePoint <= 0xFF60 ||
... | 2.947908 | 9a55f59edfac93623a9551cca24367e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7352 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "aliyun/tea-xml",
"max_stars_repo_path": "csharp/core/Utils/StringUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7353"
} | starcoder | <reponame>aliyun/tea-xml<filename>csharp/core/Utils/StringUtils.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace AlibabaCloud.TeaXML.Utils
{
internal static class StringUtils
{
internal static int SubStringCount(string str, string subString)
{
if (str... | 2.506152 | 2631d6cc58c51be25c5940cf42d96351 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7353 | {
"extension": "c-sharp",
"max_stars_count": "82.0",
"max_stars_repo_name": "derigel23/resharper-xunit",
"max_stars_repo_path": "resharper/test/data/Runner/CapturesOutputFromTheory.xunit1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7354"
} | starcoder | using System;
using Xunit;
using Xunit.Extensions;
namespace Foo
{
public class CapturesOutputFromTheory
{
[Theory]
[InlineData(11)]
[InlineData(42)]
public void OutputFromSuccessfulTest(int value)
{
Console.Write("This is some output");
}
[T... | 2.396505 | c64f41221ecc1aab01c8e9f4429ab770 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7354 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "ChildishGiant/a-vs-an",
"max_stars_repo_path": "A-vs-An-DotNet/AvsAn.Result.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7355"
} | starcoder | <filename>A-vs-An-DotNet/AvsAn.Result.cs<gh_stars>10-100
//by <NAME> (from https://eamonnerbonne.github.io/a-vs-an/), Apache 2.0 license.
using System;
using System.ComponentModel;
using AvsAnLib.Internals;
namespace AvsAnLib {
public static partial class AvsAn {
// ReSharper disable MemberCanBeP... | 2.759338 | 5168c70b62bb51e4f5e2aea0e65c7170 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7355 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kmiltiadous/Chatter",
"max_stars_repo_path": "src/Chatter.MessageBrokers/src/Chatter.MessageBrokers/Routing/IReplyRouter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7356"
} | starcoder | <filename>src/Chatter.MessageBrokers/src/Chatter.MessageBrokers/Routing/IReplyRouter.cs
using Chatter.MessageBrokers.Context;
using Chatter.MessageBrokers.Receiving;
using Chatter.MessageBrokers.Routing.Context;
using System.Threading.Tasks;
namespace Chatter.MessageBrokers.Routing
{
public interface IReplyRouter... | 2.242128 | 24114c0ab6e4688b19bf637594290243 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7356 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ahorvat/RedRunner",
"max_stars_repo_path": "Assets/Scripts/RedRunner/UI/UIScreen/StartScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7357"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace RedRunner.UI
{
public class StartScreen : UIScreen
{
[SerializeField]
protected Button PlayButton = null;
[SerializeField]
protected Button HelpButton = null;
... | 2.269641 | 7a85b7290bc60c84a30cc58da3791db4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7357 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "tralivali1234/Anotar",
"max_stars_repo_path": "Splat/AssemblyToProcess/ClassWithMultipleLoggingCalls.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7358"
} | starcoder | <reponame>tralivali1234/Anotar
using System;
using Anotar.Splat;
public class ClassWithMultipleLoggingCalls
{
public void LogNoArgs()
{
LogTo.Debug("Debug");
LogTo.Info("Info");
LogTo.Warn("Warn");
}
public void LogWithArgs()
{
var args = new object[] ... | 2.253656 | f4cad878265cdcc60fbeaf51e59c40f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7358 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasBleijendaal/DevOIDC",
"max_stars_repo_path": "src/DevOidc/DevOidc.Business/Abstractions/ITenantManagementService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7359"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using DevOidc.Core.Models.Dtos;
namespace DevOidc.Business.Abstractions
{
public interface ITenantManagementService
{
Task<IReadOnlyList<TenantDto>> GetTenantsAsync(string ownerName);
Task<IReadOnlyList<TenantDto>> GetTenantsOfOth... | 1.748332 | aa64811a5a5ad52ee91af578aa73461a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7359 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "veena-udayabhanu/azure-storage-net",
"max_stars_repo_path": "Test/ClassLibraryCommon/File/FileMD5FlagsTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7360"
} | starcoder | // -----------------------------------------------------------------------------------------
// <copyright file="FileMD5FlagsTest.cs" company="Microsoft">
// Copyright 2013 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compl... | 1.827105 | 3f4ead78ce4b97a7f0811a9caafdb46a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ricardoivp/CriaBD_Crud",
"max_stars_repo_path": "frmContato.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7361"
} | starcoder | <gh_stars>0
namespace CriaBD_Crud
{
partial class frmContato
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 1.572087 | 0f6b89297d89cb2b7dc6e8d3ac880e76 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7361 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "matrix-platform/journal",
"max_stars_repo_path": "Matrix.Agent.Journal/Configuration/Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7362"
} | starcoder | <filename>Matrix.Agent.Journal/Configuration/Extensions.cs
using Matrix.Agent.Journal.Business.Services;
using Matrix.Agent.Journal.Database;
using Matrix.Agent.Journal.Database.Repositories;
using Matrix.Framework.Business;
using Matrix.Framework.Configuration;
using Matrix.Framework.Database;
using Microsoft.E... | 2.081041 | 8373481bbe93aa247e45bbd8362f8dc2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manishkrgaya/OnlineTaxiBookingSystem",
"max_stars_repo_path": "Sprint1 Final/Capgemini.Sprint.TaxiBooking/TaxiEntities/GlobalConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7363"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TaxiEntities
{
public static class GlobalConfig
{
public static string LoginID { get; set; }
public static int MyProperty { get; set; }
}
}
| 1.455663 | 25b5615752c7b4404f3dd0c0b44d6f0a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nexus-link/Nexus.Link.Libraries",
"max_stars_repo_path": "src/Libraries.Web/Serialization/ResponseData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7364"
} | starcoder | using System.Collections.Generic;
using System.Net;
using Microsoft.Extensions.Primitives;
namespace Nexus.Link.Libraries.Web.Serialization
{
public class ResponseData
{
public HttpStatusCode StatusCode { get; set; } = HttpStatusCode.InternalServerError;
public Dictionary<string, StringValues>... | 1.926035 | 90d831cd04bffa48ede928d66498a56d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7364 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alxandr/KRuntime",
"max_stars_repo_path": "src/Microsoft.Framework.Runtime/DependencyManagement/NuGetDependencyResolver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7365"
} | starcoder | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Versioning;
using NuGet;
name... | 2.070511 | 2bb81bbcc9cffb4702479db33affb69d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lotosbin/payment",
"max_stars_repo_path": "src/Essensoft.AspNetCore.Payment.Alipay/Response/KoubeiCraftsmanDataWorkBatchqueryResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7366"
} | starcoder | using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Domain;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
/// KoubeiCraftsmanDataWorkBatchqueryResponse.
/// </summary>
public class KoubeiCraftsmanDataWorkBatchqueryResponse : Alipa... | 1.464267 | 24655e076bdbb8c5bf70dc00a7d6a79a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7366 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Michael-Reeve/Revolt-Dissertation",
"max_stars_repo_path": "Dissertation/Assets/Resources/UI/SaveProfile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7367"
} | starcoder | <reponame>Michael-Reeve/Revolt-Dissertation
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class SaveProfile : MonoBehaviour
{
public MainMenu menu;
public int profileNumber = 1;
private Button button;
void Start()
{
button = GetComponent<Button>()... | 2.000762 | 361ded8e290b978b38d8cec2372c4cff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7367 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "inyutin-maxim/EsiaNET",
"max_stars_repo_path": "test/EsiaNET.Mvc/Areas/Identity/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7368"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using EsiaNET.Mvc.Areas.Identity
@using EsiaNET.Mvc.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.55177 | 67993b0593b04af7f0ac3f48036e2a4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7368 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fi-content2-games-platform/FIcontent.Gaming.Enabler.PoIMatchmaking",
"max_stars_repo_path": "Unity/POIMatchmakingDemo/Assets/POIMatchmaking/Json/JsonObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7369"
} | starcoder | <filename>Unity/POIMatchmakingDemo/Assets/POIMatchmaking/Json/JsonObject.cs
using System.Collections;
using System.Collections.Generic;
namespace Assets.POIMatchmaking
{
public class JsonObject : IEnumerable<string>
{
private readonly Dictionary<string, object> _data = new Dictionary<string, object>();... | 3.06568 | 2bbb80ca53258cf4561c16a309a102b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bakiya-sefer/bakiya-sefer",
"max_stars_repo_path": "Assets/FullInspector2/Modules/fiValue/fiValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7370"
} | starcoder | #if !UNITY_4_3
using FullInspector.Internal;
using FullSerializer.Internal;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityObject = UnityEngine.Object;
namespace FullInspector.Internal {
/// <summary>
/// Used by the fiValue property drawer to get a common editing API for all of... | 2.442447 | 5fb3638f63d5fe8b92bdaac08cf5ae05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yoldascevik/DevExtremeMongoDB",
"max_stars_repo_path": "DevExtreme.AspNet.Data.MongoDB/Extensions/FindFluentExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7371"
} | starcoder | using MongoDB.Driver;
namespace DevExtreme.AspNet.Data.MongoDB.Extensions
{
public static class FindFluentExtensions
{
public static bool IsSorted<TDocument, TProjection>(this IFindFluent<TDocument, TProjection> findFluent)
{
return findFluent.Options.Sort != null;
}
}
... | 1.931263 | c13af7e4fd51e54946ef89af2817301b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7371 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VelandelStudio/BulutoProject",
"max_stars_repo_path": "Assets/Scripts/TranslationService/MonoBehaviours/GUIUnlocalizedText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7372"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace TranslationService
{
[RequireComponent(typeof(Text))]
public class GUIUnlocalizedText : MonoBehaviour
{
private Text textField;
[SerializeField]private string key;
privat... | 2.226123 | 768acc88a3e5b9ac2319554727953bf7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7372 | {
"extension": "c-sharp",
"max_stars_count": "234.0",
"max_stars_repo_name": "nils-a/GitReleaseManager",
"max_stars_repo_path": "src/GitReleaseManager.Core/Model/Release.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7373"
} | starcoder | <reponame>nils-a/GitReleaseManager
using System;
using System.Collections.Generic;
namespace GitReleaseManager.Core.Model
{
public sealed class Release
{
public int Id { get; set; }
public string Body { get; set; }
public string Name { get; set; }
public string T... | 1.877404 | bb25db31bf3b4bda7bd2b00821121c73 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7373 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ArasExtensions/Aras.Model",
"max_stars_repo_path": "Aras.Model/Actions/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7374"
} | starcoder | /*
Copyright 2017 Processwall Limited
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 ... | 2.345068 | eddde6d4e52dc778f35f4aa9dbe9e006 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ixanza/listmakerTranq",
"max_stars_repo_path": "ListMaker/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7375"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Mutagen.Bethesda;
using Mutagen.Bethesda.Synthesis;
using Mutagen.Bethesda.Skyrim;
using System.Threading.Tasks;
namespace ListMaker
{
public class Program
{
public static Task<int> Main(string[] args)
{
... | 1.929458 | 5b43c034116f659fc33a58ba8eea1467 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7375 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "timandy/fy_directui",
"max_stars_repo_path": "src/Microsoft.Windows.Forms/Controls/UILink/UILink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7376"
} | starcoder | using System;
using System.Drawing;
using System.Drawing.Text;
using System.Windows.Forms;
using Microsoft.Drawing;
namespace Microsoft.Windows.Forms
{
/// <summary>
/// 虚拟超链接控件
/// </summary>
public class UILink : UIControl
{
//暂存进入控件前的光标
private Cursor m_Cursor;
private ... | 2.590609 | 744f46dbfb9b8012adf6befd96be0dd6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7376 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "omniaretail/nimator",
"max_stars_repo_path": "Nimator/Notifiers/OpsGenieAlertCreateRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7377"
} | starcoder | using Newtonsoft.Json;
namespace Nimator.Notifiers
{
internal class OpsGenieCreateAlertRequest : OpsGenieRequest
{
public OpsGenieCreateAlertRequest(string apiKey, string message)
: base(apiKey)
{
this.Message = message;
}
/// <summary>
/// [MAN... | 2.498486 | f327a325712c92ad459bbcc7c91ed79a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7377 | {
"extension": "c-sharp",
"max_stars_count": "307.0",
"max_stars_repo_name": "TwoUnderscorez/dlr",
"max_stars_repo_path": "Src/Microsoft.Dynamic/Utils/ThreadingUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7378"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Threading;
namespace Microsoft.Scripting.Utils {
public static class ThreadingUtils {
... | 2.127183 | a72913c749da6b458bfb5606f944dd00 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UnosquareBelfast/admin-backend",
"max_stars_repo_path": "AdminCore.Services.Tests/BaseMockedDatabaseSetUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7379"
} | starcoder | using System;
using AdminCore.Common.Interfaces;
using AdminCore.DAL;
using AdminCore.DAL.Database;
using AdminCore.DAL.Entity_Framework;
using AdminCore.DAL.Models;
using Microsoft.EntityFrameworkCore;
using NSubstitute;
using NSubstitute.Extensions;
using System.Collections.Generic;
using System.Linq;
namespace Adm... | 2.141029 | 8b64f281f9bc47a74862f790a557a50f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7379 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "jugstalt/gview5",
"max_stars_repo_path": "gView.Proj/Proj4Net/Projection/Eckert6Projection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7380"
} | starcoder | <filename>gView.Proj/Proj4Net/Projection/Eckert6Projection.cs
/*
Copyright 2011 <NAME>
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 require... | 2.576012 | 9c33e57f93983041da4aa2723b1eb1e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brianweet/bynder-c-sharp-sdk",
"max_stars_repo_path": "Bynder/Api/Impl/Oauth/OAuthMessageHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7381"
} | starcoder | // Copyright (c) Bynder. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
namespace Bynder.Api.Impl.Oauth
{
/// <summary>
/// C... | 2.420388 | 77ed152d331ace91078ef97f3ef83dcc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1Schema/Open-Source",
"max_stars_repo_path": "Decia.Business.Domain.Reporting/Elements/Header/IHeader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7382"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Decia.Business.Domain.Reporting
{
public interface IHeader : IContainer
{
}
} | 1.167518 | f8acc953b4b919c35f9d1e870026a544 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Lixquid/csharp-lutil",
"max_stars_repo_path": "LUtil/Random/RNGRandom.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7383"
} | starcoder | <reponame>Lixquid/csharp-lutil
using System;
using System.Security.Cryptography;
using JetBrains.Annotations;
using LUtil.Helpers.Extensions;
namespace LUtil.Random {
[PublicAPI]
public class RNGRandom : System.Random {
private RandomNumberGenerator Source { get; }
/// <summary>
/// ... | 2.593442 | 2e067bd942fe3c482446eb8723ef40e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7383 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "thomhurst/ILogger.UnitTest.Verifier",
"max_stars_repo_path": "TomLonghurst.ILogger.UnitTest.Verifier.Moq/Models/MessageOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7384"
} | starcoder | namespace TomLonghurst.ILogger.UnitTest.Verifier.Moq.Models;
public class MessageOptions
{
public FormattedMessageOptions FormattedMessageOptions { get; } = new FormattedMessageOptions();
public MessageTemplateOptions MessageTemplateOptions { get; } = new MessageTemplateOptions();
public MessageParameters... | 1.231591 | d0a9fe078a53880278058e076211af77 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Michel-Maia/Exercicios-desenvolvidos-durante-as-aulas-",
"max_stars_repo_path": ".NET c#/POO-MENTORIA/Entities/Heroi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7385"
} | starcoder | <filename>.NET c#/POO-MENTORIA/Entities/Heroi.cs
namespace POO_MENTORIA.src.Entities
{
public class Heroi
{
public Heroi(string Nome, string ClasseFantanstica){
this.Nome = Nome;
this.ClasseFantastica = ClasseFantanstica;
this.Nivel = 1;
this.PontosDeVida ... | 3.040425 | 085a758b233ee1ea59556737538af0f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "douchedetector/mvc-razor",
"max_stars_repo_path": "test/System.Net.Http.Formatting.Test.Unit/ObjectContentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7386"
} | starcoder | <reponame>douchedetector/mvc-razor<gh_stars>0
using System.Collections.Generic;
using System.IO;
using System.Net.Http.Formatting;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.TestCommon;
using Moq;
using Xunit;
using Xunit.Extensions;
using Assert = Microsoft.TestCommon.AssertEx;
name... | 2.174338 | f2e783ddf1dd05bd05617861a597a161 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Moleth/InnAdministratorTest",
"max_stars_repo_path": "InnAdministrator.Data/Context/InnAdministratorContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7387"
} | starcoder | using InnAdministrator.Data.Entities;
using System.Data.Entity;
namespace InnAdministrator.Data.Context
{
public class InnAdministratorContext : DbContext
{
public InnAdministratorContext(): base("InnAdministratorConnectionString")
{
}
public DbSet<Item> Items { g... | 1.96504 | b2793962dca0d2e70b58bccf499e581d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7387 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "jbtule/keyczar-dotnet",
"max_stars_repo_path": "Keyczar/Keyczar/Compat/VanillaVerifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7388"
} | starcoder | /*
* Copyright 2012 <NAME> (<EMAIL>)
*
* 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 agr... | 2.304396 | 930bf5f014dfb44a67f8ee710cc37d9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7388 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OfficeDevUnofficial/ews-managed-api",
"max_stars_repo_path": "ews-managed-api/Misc/NameResolutionCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7389"
} | starcoder | /*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* 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 restr... | 2.556345 | 57464328bf1df258a7f90fdb500fa658 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Neuralia/Neuralia.NClap",
"max_stars_repo_path": "src/Neuralia.NClap/Types/ArgumentTypeExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7390"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
namespace Neuralia.NClap.Types
{
/// <summary>
/// Base class for extending the argument semantics of an existing
/// implementation of the IArgumentType interface.
/// </summary>
public class ArgumentTypeExtens... | 3.10281 | 8e1cdd4f128d016e5256bf46e278d072 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7390 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stisociety/dominio-rico-sample",
"max_stars_repo_path": "src/MyCompany.InscricoesContexto.Dominio/Shared/Cpf.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7391"
} | starcoder | <gh_stars>0
using System;
using System.Text;
using CSharpFunctionalExtensions;
namespace MyCompany.Inscricoes.Shared
{
public sealed class Cpf
{
private Cpf(){}
private Cpf(string value)
{
Value = value;
}
public string Value { get; }
public static... | 3.006751 | 7ae2e1a01851de1b0c881670523c62a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7391 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nollidnosnhoj/Audiochan_old",
"max_stars_repo_path": "src/api/src/Audiochan.API/Features/Audios/Queries/GetAudioFeed/GetAudioFeedQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7392"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Audiochan.Core.CQRS;
using Audiochan.Core.Dtos;
using Audiochan.Core.Dtos.Wrappers;
using Audiochan.Core.Extensions;
using Audiochan.Core.Interfaces;
using Audiochan.Core.Persistence;
using AutoMapper;
usin... | 2.423637 | c87d031cb03027c01950ea923ff03ee4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7392 | {
"extension": "c-sharp",
"max_stars_count": "414.0",
"max_stars_repo_name": "BrunoZell/Skclusive.Material.Component",
"max_stars_repo_path": "Theme/src/Palette/PaletteBackground.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7393"
} | starcoder | using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Skclusive.Material.Theme
{
public partial class PaletteBackground
{
[JsonPropertyName("default")]
public string Default { get; set; }
[JsonPropertyName("paper")]
public str... | 1.845756 | 8adf0df2aca72e6045f0b3b523a2da7f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7393 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "easiwin/markdown-metadata",
"max_stars_repo_path": "src/Mdmeta.Core/Tasks/Walterlv/Smms.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7394"
} | starcoder | using System;
using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Mdmeta.Tasks.Walterlv
{
public sealed class Smms : IImageServer
{
public async Task<ImageUploadedResponse> UploadAsync(string localImagePath)
{
... | 2.58799 | 60e594221fa95eaf6d0be42569a69ed0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yacper/WpfLearning",
"max_stars_repo_path": "Devexpress/VisualStudioDocking/MainViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7395"
} | starcoder | <filename>Devexpress/VisualStudioDocking/MainViewModel.cs
using System;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using Syste... | 1.664753 | bb51f3871671e2e77910e83f771160f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrBliz/FunctionMonkey",
"max_stars_repo_path": "Source/FunctionMonkey.Compiler.Core/Implementation/SchemaReferenceRegistry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7396"
} | starcoder | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
// modified from https://github.... | 2.596175 | 991b5a9923a1411213c1566df84ea95e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quocbaouit/Thegioisticker",
"max_stars_repo_path": "Thegioisticker/App_Start/AllowSameSiteAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7397"
} | starcoder | <filename>Thegioisticker/App_Start/AllowSameSiteAttribute.cs
using System.Web.Mvc;
public class AllowSameSiteAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(ActionExecutingContext filterContext)
{
var response = filterContext.RequestContext.HttpContext.Response;
if ... | 2.191555 | bbb68d6d26eb173e36525cc9c68f037c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smartdockerbenchmarkingorchestrator/Smart-Docker-Benchmarking-Orchestrator",
"max_stars_repo_path": "src/Docker.Benchmarking.Orchestrator.Core/Entities/ContainerMetric.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7398"
} | starcoder | <filename>src/Docker.Benchmarking.Orchestrator.Core/Entities/ContainerMetric.cs
using Docker.Benchmarking.Orchestrator.Core.SharedKernel;
using Docker.DotNet.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespa... | 1.928957 | 8170df236b4d999601a960dd2c0d35b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ak-git1/Island1021-Hackathon-iCona",
"max_stars_repo_path": "Icona/Icona/Usercontrols/PagingControl.ascx.designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7399"
} | starcoder | <reponame>ak-git1/Island1021-Hackathon-iCona
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | 1.303664 | 4b9e265049986842ec8ffcd99dcac90c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7399 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wenfeifei/Surging.Sample",
"max_stars_repo_path": "src/Servers/Identity/Hl.Identity.Domain/Authorization/Users/IPasswordHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7400"
} | starcoder | <reponame>wenfeifei/Surging.Sample
using Surging.Core.CPlatform.Ioc;
namespace Hl.Identity.Domain.Authorization.Users
{
public interface IPasswordHelper : ITransientDependency
{
string EncryptPassword(string userName, string plainPassword);
}
}
| 1.364655 | 78612e31fffeeb8180018531a7aeaf8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Makadebinesi/screencapture",
"max_stars_repo_path": "screencapture/Forms/FormSetting.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7401"
} | starcoder | namespace screencapture
{
partial class FormSetting
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
///... | 2.250828 | e143c2f460bb4e5b4a1cad6f28ec91d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7401 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/EC2/Generated/Model/SubnetCidrReservation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7402"
} | starcoder | <gh_stars>1000+
/*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in ... | 1.646634 | 5f66730ac91929a37f07c27f57058306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7402 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "PetroslavGochev/CSharpAdvancedModule",
"max_stars_repo_path": "OOP Module C#/09.ExamPreparation/2019August11/ViceCity/ViceCity/Repositories/Models/Repository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7403"
} | starcoder | <reponame>PetroslavGochev/CSharpAdvancedModule<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using ViceCity.Models.Guns.Contracts;
using ViceCity.Repositories.Contracts;
namespace ViceCity.Repositories.Models
{
public class Repository : IRepository<IGun>
{
private List<IGun> model... | 2.901913 | 7ee6c062e920a37b52dcee8b409b4849 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Taranchuk/Horrors",
"max_stars_repo_path": "Source/DarkCreature/DarkCreature/ImprovedNoise.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7404"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Verse;
using Verse.AI;
using UnityEngine;
/*
* Author: TurboTuTone
* Based on Ken Perlin's Improved Noise.
*/
namespace Horrors
{
public class NoiseLayer
{
public int[] perm;
public double freq;
... | 1.959512 | f9319b71be33476422b05a352fb91edf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7404 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "FreedomBen/banshee",
"max_stars_repo_path": "src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/ImageFileChooserDialog.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7405"
} | starcoder | <filename>src/Core/Banshee.ThickClient/Banshee.Gui.Dialogs/ImageFileChooserDialog.cs
//
// ImageFileChooserDialog.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2006-2007 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated docume... | 1.82592 | 1ae3ee59b70a86cfab526526f26bfa63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Daramkun/ProjectLiqueur",
"max_stars_repo_path": "Daramkun.Liqueur.Core/Common/ExternLib/PngCs/Chunks/PngChunkITXT.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7406"
} | starcoder | <reponame>Daramkun/ProjectLiqueur
namespace Hjg.Pngcs.Chunks
{
using Hjg.Pngcs;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
internal class PngChunkITXT : PngChunkTextVar
{
public const String ID = ChunkHelper.iTXt;
priva... | 2.060562 | 31e0d479b7b762e0bbddb3d57f9e59ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chstar0426/c2ContosoUniveristy",
"max_stars_repo_path": "UtilLibrary/StringLibrary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7407"
} | starcoder | namespace UtilLibrary
{
public static class StringLibrary
{
/// <summary>
/// 주어진 문자열을 주어진 길이만큼만 잘라서 반환. 나머지 부분은 '...'을 붙임.
/// </summary>
/// <param name="strCut">원본 문자열</param>
/// <param name="intChar">잘라낼 길이</param>
/// <returns>안녕하세요. => 안녕...</returns>
... | 3.855625 | 752b10eb8aa9a55c4a5f9f5d82671ba7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7407 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alelievr/Unity-analytics-test",
"max_stars_repo_path": "Assets/Scripts/Win.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7408"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Win : MonoBehaviour
{
void OnCollisionEnter2D(Collision2D other)
{
GameManager.instance.Win();
}
}
| 1.614751 | 33976699de2f99be2ace79439a11cbed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7408 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jtenos/60-second-dev",
"max_stars_repo_path": "2021-02-22 csv writing/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7409"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Threading.Tasks;
using CsvHelper;
using CsvHelper.Configuration;
var items = new[]
{
new Item(1, "Something", DateTime.Now, null, 3.45m, null),
new Item(2, "Something else\nwith two lines", Dat... | 2.854581 | 347962cf18ecf2a675410e320ae86099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7409 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ArticySoftware/electron-edge-js",
"max_stars_repo_path": "src/double/Edge.js/dotnetcore/nodejsfuncinvokecontext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7410"
} | starcoder | using System;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
public delegate void NodejsFuncCompleteDelegate(IntPtr context, int taskStatus, IntPtr result, int resultType);
public class NodejsFuncInvokeContext
{
private NodejsFunc functionContext;
private object payload;
private sta... | 2.438658 | eaaa83920c6571c20977789e5e1b1106 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/CSharp-Fundamentals",
"max_stars_repo_path": "Exam Preparation/01. Anonymous Threat/Anonymous Threat.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7411"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _01.Anonymous_Threat
{
class Program
{
static void Main()
{
var inputStrings = Console.ReadLine().Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries).ToList();
var commands = Console.Read... | 3.404132 | 96b83a2f6271865e1cdd383d208f21a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7411 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "marionzr/nzr.orm",
"max_stars_repo_path": "dotnet/Nzr.Orm.Tests/Core/SelectTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7412"
} | starcoder | using Nzr.Orm.Core;
using Nzr.Orm.Tests.Core.Models.Audit;
using Nzr.Orm.Tests.Core.Models.Conversion;
using Nzr.Orm.Tests.Core.Models.Crm;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
using static Nzr.Orm.Core.Sql.Builders;
using static Nzr.Orm.Core.Sql.OrderBy;
using static Nzr.Orm... | 2.372019 | 1a9e4d5750a843f82a463b0014a51ae6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7412 | {
"extension": "c-sharp",
"max_stars_count": "80.0",
"max_stars_repo_name": "lucorp/ualbion",
"max_stars_repo_path": "src/Formats/Assets/Gender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7413"
} | starcoder | <reponame>lucorp/ualbion
using System;
namespace UAlbion.Formats.Assets
{
public enum Gender : byte
{
Male = 0,
Female = 1,
Neuter = 2,
}
[Flags]
public enum Genders : byte
{
Male = 1,
Female = 2,
Any = 3,
Neutral = 4,
}
}
| 1.760567 | 0fae0061c50007d4cf5054a2877e25b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elias-leinenweber/wanderer",
"max_stars_repo_path": "src/view/FormAide.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7414"
} | starcoder | <reponame>elias-leinenweber/wanderer
namespace Wanderer.view
{
partial class FormAide
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.... | 2.037572 | 4ae0636c315f0488e04b4247a6f07916 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "itoledo/Birdie.Tesseract",
"max_stars_repo_path": "tvn-cosine.ai/tvn-cosine.ai/learning/reinforcement/example/CellWorldPercept.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7415"
} | starcoder | using tvn.cosine.ai.environment.cellworld;
using tvn.cosine.ai.learning.reinforcement.api;
namespace tvn.cosine.ai.learning.reinforcement.example
{
/// <summary>
/// An implementation of the PerceptStateReward interface for the cell world
/// environment. Note: The getCell() and setCell() methods allow a... | 3.14831 | d0e2cea97de42e6112126bc611f250a7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7415 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sant-sh/musicmink",
"max_stars_repo_path": "MusicMink/Pages/LandingPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7416"
} | starcoder | <filename>MusicMink/Pages/LandingPage.xaml.cs
using MusicMink.ViewModels;
using System;
using Windows.Graphics.Display;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media.Animation;
using Windows.UI.Xaml.Navigation;
using Windows.UI.Xaml.Shapes;
namespace Music... | 2.054632 | b28392dda5a0edd59c09ed986ce6d4b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sadeqsoli/1100-Words",
"max_stars_repo_path": "1100 Words/Assets/Scripts/General/Editor/MakingBundles.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7417"
} | starcoder | <reponame>Sadeqsoli/1100-Words<gh_stars>0
using UnityEngine;
using System.IO;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
public class MakingBundles : MonoBehaviour
{
#region public Variables
#endregion
#region Private Variables
#endregion
#region Public Met... | 1.636789 | 92aeb16d7ccb9c5db5a7c932de9ad54b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7417 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "shawnwildermuth/PragADONETBookSource",
"max_stars_repo_path": "BookExamples/Chapter11.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7418"
} | starcoder | using System;
namespace BookExamples
{
/// <summary>
/// Summary description for Chapter11.
/// </summary>
public class Chapter11 : BaseChapter
{
}
}
| 1.29681 | 70ddbe96e83b7fa14472cba5b612bb7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7418 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "peteward44/auto-usb-backup",
"max_stars_repo_path": "SourceCode/GUI/AddNewVolume/AddNewVolumeControl3.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7419"
} | starcoder | namespace AutoUSBBackup.GUI
{
partial class AddNewVolumeControl3
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">tru... | 1.863742 | 7fe7c3a689ed5af7f2b17c02eeffbb50 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kotorihq/kotori-server",
"max_stars_repo_path": "KotoriServer/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7420"
} | starcoder | using Daifuku.Extensions;
using KotoriCore;
using KotoriServer.Filters;
using KotoriServer.Helpers;
using KotoriServer.Middleware;
using KotoriServer.Security;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Forma... | 1.590469 | 9c2d2e3035e8648841bae808957162f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liquidradio/FtpServer",
"max_stars_repo_path": "FubarDev.FtpServer/CommandHandlers/PwdCommandHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7421"
} | starcoder | <gh_stars>0
//-----------------------------------------------------------------------
// <copyright file="PwdCommandHandler.cs" company="Fubar Development Junker">
// Copyright (c) Fubar Development Junker. All rights reserved.
// </copyright>
// <author><NAME></author>
//------------------------------------------... | 2.356627 | 830e021593f4404efcbc19a0ca571915 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "weikio/ApiFramework.Plugins.Odbc",
"max_stars_repo_path": "samples/ApiFramework.Plugins.Odbc.Sample/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7422"
} | starcoder | <filename>samples/ApiFramework.Plugins.Odbc.Sample/Startup.cs<gh_stars>0
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Weikio.ApiFramework.Plugins.Odbc.Configurat... | 1.905363 | 45ffff8574ad1015229cf389be07082b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m0wo/boards-api",
"max_stars_repo_path": "Boards.API/Services/PostService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Boards.API.Domain.Models;
using Boards.API.Domain.Repositories;
using Boards.API.Domain.Services;
using Boards.API.Domain.Services.Communication;
using Boards.API.Extensions;
namespace Boards.API.Services
{
publi... | 2.703931 | bbf09878021869af58b3146ec25dfacd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7423 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Opdex/opdex-v1-api",
"max_stars_repo_path": "src/Opdex.Platform.Application.Abstractions/Models/TransactionEvents/LiquidityPools/StartStakingEventDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7424"
} | starcoder | <reponame>Opdex/opdex-v1-api<gh_stars>1-10
using Opdex.Platform.Common.Enums;
namespace Opdex.Platform.Application.Abstractions.Models.TransactionEvents.LiquidityPools;
public class StartStakingEventDto : StakeEventDto
{
public override TransactionEventType EventType => TransactionEventType.StartStakingEvent;
} | 1.060786 | 41179371b62900f5ae967c4da815d48f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7424 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "terrajobst/monkeywrench",
"max_stars_repo_path": "MonkeyWrench.DataClasses/Database/DBLanefile.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7425"
} | starcoder |
/*
* This file is autogenerated by the SqlToCSharp.cs tool.
* All modifications will be lost when the tool is ran.
*/
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.IO;
using System.Reflection;
#pragma warning disable 649
namespace MonkeyWrench.DataCl... | 2.178284 | 8430abecb6454dc44f400726be0d2007 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mortens4444/MagusCharacterGenerator",
"max_stars_repo_path": "MagusCharacterGenerator/GameSystem/Attributes/DiceThrowAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7426"
} | starcoder | <reponame>Mortens4444/MagusCharacterGenerator<filename>MagusCharacterGenerator/GameSystem/Attributes/DiceThrowAttribute.cs
using System;
namespace MagusCharacterGenerator.GameSystem.Attributes
{
class DiceThrowAttribute : Attribute
{
public ThrowType DiceThrowType { get; }
public DiceThrowAttribute(Thr... | 2.320469 | b58a4df2aea375a1385d427ea2dbc226 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EibrielInv/explorer",
"max_stars_repo_path": "unity-client/Assets/Scripts/MainScripts/DCL/Controllers/HUD/AvatarEditorHUD/Scripts/ItemToggle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7427"
} | starcoder | using System;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class ItemToggle : UIButton, IPointerEnterHandler, IPointerExitHandler
{
public event System.Action<ItemToggle> OnClicked;
public event System.Action<ItemToggle> OnSellC... | 2.238524 | c4cfdd8481ea9b96f33c2fa21d3fb83a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devkiloton/CombatSquad",
"max_stars_repo_path": "CombatSquad/Assets/Assets/Scripts/DestroyOverLifeTime.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7428"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DestroyOverLifeTime : MonoBehaviour
{
public float LifeTime = 1.5f;
void Start()
{
Destroy(gameObject, LifeTime);
}
void Update()
{
}
}
| 2.229439 | a090f70e8361fb9bb5e6517fa6d8f203 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7428 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Microsoft/sarif-visualstudio-extension",
"max_stars_repo_path": "src/Sarif.Viewer.VisualStudio.Core/Sarif/CodeFlow.Extensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7429"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.CodeAnalysis.Sarif;
using Microsoft.Sarif.Viewer.Models;
using Microsoft.Sarif.Viewer.VisualStudio;
using Microsoft.... | 1.948897 | 32372ee2e91f50c756c4a50aef77549e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7429 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OneFrameLink/Ofl.Collections",
"max_stars_repo_path": "src/Ofl.Collections/Generic/ConsecutiveReadOnlyLists.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7430"
} | starcoder | using System;
using System.Collections.Generic;
namespace Ofl.Collections.Generic
{
public class ConsecutiveReadOnlyLists<T> : ConsecutiveReadOnlyCollections<T>, IReadOnlyList<T>
{
#region Constructor
public ConsecutiveReadOnlyLists(params IReadOnlyList<T>[] lists) : this(lists?.WrapInReadOnl... | 3.287638 | 5bc1626d20611fdc8d8e86e62af5c91d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7430 | {
"extension": "c-sharp",
"max_stars_count": "132.0",
"max_stars_repo_name": "ZeroKeving/ET-EUI",
"max_stars_repo_path": "Unity/Codes/HotfixView/Demo/UIBehaviour/DlgLobby/DlgLobbyViewComponentSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7431"
} | starcoder |
using UnityEngine;
using UnityEngine.UI;
namespace ET
{
[ObjectSystem]
public class DlgLobbyViewComponentAwakeSystem : AwakeSystem<DlgLobbyViewComponent>
{
public override void Awake(DlgLobbyViewComponent self)
{
self.uiTransform = self.GetParent<UIBaseWindow>().uiTransform;
}
}
[ObjectSystem]
publi... | 1.475494 | 7a875f766e43b7f7ac3ac722f2c2fb79 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terry-u16/AtCoder",
"max_stars_repo_path": "AtCoderBeginnerContest116/AtCoderBeginnerContest116/AtCoderBeginnerContest116/Questions/QuestionC.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7432"
} | starcoder | <reponame>terry-u16/AtCoder
using AtCoderBeginnerContest116.Questions;
using AtCoderBeginnerContest116.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace AtCoderBeginnerContest116.Questions
{
public class QuestionC : AtCoderQuestionBase
... | 2.67217 | ad591f5011223527011bb209337c11bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sGeeK44/OpenNetCf",
"max_stars_repo_path": "OpenNet.Orm.UnitTests/ConcreteEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7433"
} | starcoder | <filename>OpenNet.Orm.UnitTests/ConcreteEntity.cs
using OpenNet.Orm.Attributes;
using OpenNet.Orm.Entity;
using OpenNet.Orm.Repositories;
namespace OpenNet.Orm.UnitTests
{
[Entity]
public class ConcreteEntity : EntityBase<ConcreteEntity>
{
private IRepository<ConcreteEntity> _repository;
... | 2.417858 | f3f91228c332374c8e31611be0d75539 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Stripped/DeployT",
"max_stars_repo_path": "DeployTracker/DeployTracker/Providers/YamlConfigurationExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7434"
} | starcoder | using Microsoft.Extensions.Configuration;
using System;
namespace DeployTracker.Providers
{
public static class YamlConfigurationExtensions
{
public static IConfigurationBuilder AddYaml(
this IConfigurationBuilder builder, string filePath)
{
if (builder == null)
... | 2.192969 | 97591ee7f0aed65537133ffb5eed9d01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yambal2019/Bonificaciones",
"max_stars_repo_path": "waEligeTuPremio/Views/Usuario/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7435"
} | starcoder | <gh_stars>0
@model waEligeTuPremio.Models.SP_GetUsuario
@Scripts.Render("~/bundles/jqueryval")
<script type="text/javascript">
//script para poner el focus del modal en un componente
$(document).ready(function () {
$("#modalGenerica").on('shown.bs.modal', function () {
$(t... | 1.688626 | 2efd2a98ac7c7601b8e4624eff406486 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7435 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "aroman35/OZON.Test",
"max_stars_repo_path": "OZON.Test.Api/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7436"
} | starcoder | <filename>OZON.Test.Api/Startup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using OZON.Test.Api.Settings;
using OZON.Test.Applica... | 1.902486 | c2da4829636194a983e1ddb1cdb1f25d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7436 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abdelrahmansaeedhassan/mvc",
"max_stars_repo_path": "test/WebSites/ActivatorWebSite/Controllers/ViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7437"
} | starcoder | <gh_stars>1-10
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using ActivatorWebSite.Models;
using Microsoft.AspNet.Mvc;
namespace ActivatorWebSite
{
/// <summary>
/// Controller that verifi... | 1.769651 | 388022111a2bc86dfdc714013e56d989 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.