added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fireflycons/Firefly.CloudFormationParser",
"max_stars_repo_path": "tests/Firefly.CloudFormationParser.Tests.Integration/QuotedKeysTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161632"
} | starcoder | namespace Firefly.CloudFormationParser.Tests.Integration
{
using System;
using Firefly.CloudFormationParser.Serialization.Settings;
using Firefly.CloudFormationParser.TemplateObjects;
using Firefly.EmbeddedResourceLoader;
using FluentAssertions;
using Xunit;
using YamlDotNet.Core;
... | 2.297363 | 66b3a883f7d915d8af2cfd350f0a6787 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sigurdur42/MtgInventory",
"max_stars_repo_path": "Legacy/MtgInventory/MtgInventory/MtgInventory.Application/ExtensionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161633"
} | starcoder | using System.IO;
namespace MtgInventory.Service
{
public static class ExtensionMethods
{
public static void EnsureExists(this DirectoryInfo dir)
{
if (!dir.Exists)
{
dir.Create();
}
}
}
} | 2.255954 | 99ee31724f83353cafea6dd7138c0ee1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842414 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TESTARtool/ChangeDetection.NET",
"max_stars_repo_path": "src/Core/Strategy/AbstractStateComparison/ActionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161634"
} | starcoder | <reponame>TESTARtool/ChangeDetection.NET
namespace Testar.ChangeDetection.Core.Strategy.AbstractStateComparison;
public enum ActionType
{
Incomming,
Outgoing
}
| 1.12984 | ac2639da300f0fababba0bbc43031ae7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842415 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "muralipoola/PlayPens",
"max_stars_repo_path": "WebApiPlayPen/Infrastructure/Model/Entities/Territory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161635"
} | starcoder | <filename>WebApiPlayPen/Infrastructure/Model/Entities/Territory.cs
using System.Collections.Generic;
namespace WebApiPlayPen.Model
{
public class Territory
{
public string TerritoryId { get; set; }
public string TerritoryDescription { get; set; }
public int RegionId { get; set; ... | 2.201902 | 7502d8b7ed6e730c283be560fe15bdfd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842416 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Kiritsu/FoxBot",
"max_stars_repo_path": "src/Fox/Commands/TypeParsers/UriTypeParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161636"
} | starcoder | using System;
using System.Threading.Tasks;
using Qmmands;
namespace Fox.Commands.TypeParsers
{
public sealed class UriTypeParser : TypeParser<Uri>
{
public override Task<TypeParserResult<Uri>> ParseAsync(Parameter parameter, string value, ICommandContext context, IServiceProvider provider)
{
... | 2.550631 | b20bdb23f0757c2865b56d4032c5fd67 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842417 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "harleydk/SOLIDwDesignPatternsCourse",
"max_stars_repo_path": "DesignPatterns/BehaviourPatterns/TemplateMethodPattern/TemplateMethod_example/TemplatePattern_challengeSolved/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1616... | starcoder | using TemplatePattern;
namespace TemplatePattern_challengeSolved
{
internal class Program
{
/// <summary>
/// By introducing an abstract class with a template method that defines a default skeleton for notifying members, and allows the implementing classes to override certain steps, we have a ... | 3.320533 | 4dcb9436f569b63dfb34fc5ad98b6f8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842418 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Daouki/wire",
"max_stars_repo_path": "WireC.Common/SourceSpan.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161638"
} | starcoder | namespace WireC.Common
{
public class SourceSpan
{
public int Start { get; set; }
public int End { get; set; }
public int Length => End - Start;
public int Line { get; set; }
public int Column { get; set; }
public static SourceSpan Merge(SourceSpan start, Source... | 2.489591 | eab60b35369820af9eeffd2fd8c39164 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "haesemeyer/MultiTracker",
"max_stars_repo_path": "Experiments/SimpleDarkFlash.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161639"
} | starcoder | using System;
using System.IO;
using System.IO.Ports;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SleepTracker.Experiments
{
public class SimpleDarkFlash : ExperimentBase, IDisposable
{
public enum ActionType { None = 0, DarkFlash = 1 };
#r... | 2.713882 | 8328b1dacdf7b61d041330e363b82330 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842420 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "romanpolunin/PQL",
"max_stars_repo_path": "Pql/ClientDriver/PqlClientSecurityContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161640"
} | starcoder | using System;
namespace Pql.ClientDriver
{
/// <summary>
/// Implementation of client security context, as it gets passed between client and server.
/// </summary>
public class PqlClientSecurityContext : IPqlClientSecurityContext
{
/// <summary>
/// Identifier of the curr... | 2.798283 | 42f810df50ed907af531fd2498137611 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842421 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "VanHakobyan/MonitoringArmenianITIndustry",
"max_stars_repo_path": "MonitoringIT.Data/MonitoringIT.DAL/Models/GithubProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161641"
} | starcoder | using System;
using System.Collections.Generic;
namespace Database.MonitoringIT.DB.EfCore.Models
{
public partial class GithubProfile
{
public GithubProfile()
{
GithubRepository = new HashSet<GithubRepository>();
}
public int Id { get; set; }
public string ... | 2.138183 | dad3acb0ddec056ca2b9a21bb007df19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842422 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "aratomo-arazon/WFLite",
"max_stars_repo_path": "test/WFLite.Test/Activities/NullActivityTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161642"
} | starcoder | <filename>test/WFLite.Test/Activities/NullActivityTest.cs<gh_stars>1-10
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
using WFLite.Activities;
using WFLite.Enums;
namespace WFLite.Test.Activities
{
[TestClass]
public class NullActivityTest
{
[TestMethod]
... | 2.46064 | 4650a6c773b1dd4b47d3286e100141c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "derily/SinectMes",
"max_stars_repo_path": "SinectMes/Models/AppDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161643"
} | starcoder | using System;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
namespace SinectMes.Models
{
public class UserDbContext:IdentityDbContext<ApplicationUser,ApplicationRole,Guid>
{
public UserDbContext(DbContextOptions<UserDbContext> options):base(options)
... | 2.190022 | fc9906e61756f5857efc31b9d4ec5302 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842424 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "osjimenez/Fuxion",
"max_stars_repo_path": "src/core/Identity/IFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161644"
} | starcoder | using Fuxion.Identity.Helpers;
using Fuxion.Math.Graph;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Fuxion.Identity
{
public interface IInclusive<T>
{
IEnumerable<T> Inclusions { get; }
}
public interface IExclusive<T>
{
IEnumerable<T> Exclusions { g... | 2.544432 | 40780619ff02a4e11ddbb8e3e684f657 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cloudlucky/GuardClauses",
"max_stars_repo_path": "src/Cloudlucky.GuardClauses/Exceptions/LessThanException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161645"
} | starcoder | <gh_stars>0
#if NETSTANDARD2_0_OR_GREATER
using System.Runtime.Serialization;
#endif
namespace Cloudlucky.GuardClauses.Exceptions;
public class LessThanException : GuardParameterException
{
public LessThanException()
: base(ErrorMessages.LessThan())
{
}
public LessThanException(string? param... | 2.03813 | b5228f0829f8652b07e085f9fb1f34a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842426 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dowerner/MipsSim",
"max_stars_repo_path": "MipsSim/MipsSim/ViewModel/RegisterViewerViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161646"
} | starcoder | <gh_stars>1-10
/*
Copyright 2016 <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 required by applicable law ... | 2.203311 | 4eef839c35f22e27125d30b67248e857 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842427 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Monbsoft/UpdateVersion",
"max_stars_repo_path": "src/Monbsoft.UpdateVersion/Core/ProjectFinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161647"
} | starcoder | using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.FileProviders.Physical;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Monbsoft.UpdateVersion.Core
{
public class ProjectFinder
{
private static readonly string ProjectFormat = "*.csproj";
pri... | 2.797315 | 8ac9da318817b0057bab1092661f0d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842428 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DevExpress-Examples/dashboard-angular-app-custom-item-gallery",
"max_stars_repo_path": "asp-net-core-server/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161648"
} | starcoder | <filename>asp-net-core-server/Startup.cs
using DevExpress.AspNetCore;
using DevExpress.DashboardAspNetCore;
using DevExpress.DashboardCommon;
using DevExpress.DashboardWeb;
using DevExpress.DataAccess.ConnectionParameters;
using DevExpress.DataAccess.Excel;
using DevExpress.DataAccess.Sql;
using Microsoft.AspNetCore.Bu... | 1.898359 | 697fd64f41e9687cb7db00198c7973bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842429 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RavenLiquid/msftbandapp",
"max_stars_repo_path": "msftbandapp.UWP/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161649"
} | starcoder | <gh_stars>1-10
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Inp... | 2.232199 | c7cd8833d1f7a503454c3dc4710a7b89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842430 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tapika/choco",
"max_stars_repo_path": "lib/Microsoft.Data.Services.Client/ODataLib/OData/Desktop/.Net4.0/Data/OData/Query/SemanticAst/UnaryOperatorNode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161650"
} | starcoder | // OData .NET Libraries ver. 5.6.3
// 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 withou... | 2.300544 | 193cc3cc00e4a59c58f9425440b29960 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ethereal77/stride",
"max_stars_repo_path": "sources/core/Stride.Core.Yaml/ParserState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161651"
} | starcoder | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Copyright (c) 2015 SharpYaml - <NAME>
// Copyright (c) 2008-2012 YamlDotNet ... | 1.962158 | e12ad51ad4574157a718bd48a2ecd6d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842432 | {
"extension": "c-sharp",
"max_stars_count": "1338.0",
"max_stars_repo_name": "msrao83/Telerik",
"max_stars_repo_path": "Controls/Chart/Chart.UWP/Engine/Axes/Continuous/DateTimeContinuousAxisModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161652"
} | starcoder | <gh_stars>1000+
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Telerik.Core;
namespace Telerik.Charting
{
/// <summary>
/// Defines a DateTime axis that uses the actual timeline to plot series points.
/// </summary>
internal class DateTimeContinuousAxisModel : AxisMode... | 2.684681 | fba77a19eb2b2567558b2852c52b0146 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842433 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mrward/monodevelop-task-runner-addin",
"max_stars_repo_path": "src/MonoDevelop.TaskRunner/MonoDevelop.TaskRunner.Gui/TaskRunnerExplorerOptionsPanel.UI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161653"
} | starcoder | <filename>src/MonoDevelop.TaskRunner/MonoDevelop.TaskRunner.Gui/TaskRunnerExplorerOptionsPanel.UI.cs
//
// TaskRunnerExplorerOptionsPanel.UI.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this softwa... | 1.82905 | 6083fae819025ab43464a8f73b8663f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842434 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "randyridge/randyridge-common",
"max_stars_repo_path": "RandyRidge.Common.Tests/ICollectionExtensionsTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161654"
} | starcoder | using Shouldly;
using Xunit;
namespace RandyRidge.Common {
public static class ICollectionExtensionsTester {
public static class HasValue {
[Fact]
public static void returns_false_on_empty() => TestValues.EmptyCollection.HasValue().ShouldBeFalse();
[Fact]
public static void returns_false_on_null() => ... | 2.183875 | 05c46610b03d83057c62a79e5b5d8a1e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842435 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stgwilli/fluentmigrator",
"max_stars_repo_path": "src/FluentMigrator.Runner/Generators/IDescriptionGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161655"
} | starcoder | using System.Collections.Generic;
using FluentMigrator.Expressions;
namespace FluentMigrator.Runner.Generators
{
public interface IDescriptionGenerator
{
IEnumerable<string> GenerateDescriptionStatements(CreateTableExpression expression);
string GenerateDescriptionStatement(AlterTableExpressio... | 1.503875 | d47acd9cc21b1a2f1d138411d0b762ea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842436 | {
"extension": "c-sharp",
"max_stars_count": "191.0",
"max_stars_repo_name": "nicedone/daydream-renderer-for-unity",
"max_stars_repo_path": "DaydreamRenderer/Assets/DaydreamRenderer/Baking/Editor/BakeSetSettingsDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161656"
} | starcoder | <reponame>nicedone/daydream-renderer-for-unity<gh_stars>100-1000
///////////////////////////////////////////////////////////////////////////////
//Copyright 2017 Google Inc.
//
//Licensed under the Apache License, Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may... | 1.818462 | fce021096b96f11d64f275c539c7bfc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842437 | {
"extension": "c-sharp",
"max_stars_count": "469.0",
"max_stars_repo_name": "lefb766/mono",
"max_stars_repo_path": "mcs/tests/test-anon-78.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161657"
} | starcoder | <gh_stars>100-1000
using System;
delegate void D1 ();
delegate void D2 ();
public class DelegateTest {
static void Foo (D1 d)
{
d ();
}
static void Foo (D2 d)
{
}
static int counter = 99;
public static int Main ()
{
Foo (new D1 (delegate {
counter = 82;
Console.WriteLine ("In");
}));
i... | 2.886119 | 2c7b602f6f8988201a597e8306d0c73c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lewisbennett/simple-menu-net",
"max_stars_repo_path": "src/SimpleMenu.Core/Models/IngredientModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161658"
} | starcoder | using SimpleMenu.Core.Data.Entities;
using SimpleMenu.Core.Models.Base;
namespace SimpleMenu.Core.Models
{
public class IngredientModel : EntityDisplayBaseModel<IngredientEntity>
{
}
}
| 1.257322 | ba5ad82423068c49f01b348ba4909fc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842439 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "andyschott/Destiny2WeaponMods",
"max_stars_repo_path": "Destiny2WeaponMods/Services/WeaponMods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161659"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Destiny2;
using Destiny2.Definitions;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
namespace Destiny2WeaponMods.Services
{
public class WeaponMods : IWeaponMod... | 2.422047 | cc9fd2fc89cdc103bff4a809b56a8616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842440 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "RonaldMariah/MLOps.NET",
"max_stars_repo_path": "test/MLOps.NET.Tests/Deployments/ManifestParameterizatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161660"
} | starcoder | <reponame>RonaldMariah/MLOps.NET
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using MLOps.NET.Kubernetes;
using MLOps.NET.Kubernetes.Settings;
using System.IO;
using System.IO.Abstractions;
using System.Reflection;
namespace MLOps.NET.Tests.Deployments
{
[TestClass]
public class... | 2.25199 | 55d84f45c386216cdb82cd7515424a2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842441 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "canefe/Rimocracy",
"max_stars_repo_path": "Source/RoleRequirement_Leader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161661"
} | starcoder | using RimWorld;
using Verse;
namespace Rimocracy
{
public class RoleRequirement_Leader : RoleRequirement
{
public override bool Met(Pawn p, Precept_Role role) =>
Utility.RimocracyComp == null || p.HomeFaction == null || !p.HomeFaction.IsPlayer || (role.def.leaderRole == (p.IsLeader() && !U... | 2.289938 | d1e77c76da9a26bfdbc48aca0e0e4579 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842442 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OptiJuegos/Plants-VS-Zombies-NET",
"max_stars_repo_path": "DotNETPvZ_Shared/Lawn/UI/LawnCommon/GameButton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161662"
} | starcoder | using System;
using Microsoft.Xna.Framework;
using Sexy;
using Sexy.TodLib;
namespace Lawn
{
internal class GameButton
{
public string mLabel
{
get
{
return this.label;
}
set
{
this.label = value;
this.CalculateTextScale();
}
}
public GameButton(int theId, Widget parent)... | 2.02761 | e2ef91d9bbb6ea2467ec9395dba43f3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amasnghia/Unity-Boilerplate",
"max_stars_repo_path": "Assets/GleyPlugins/Ads/Scripts/VisualScriptingSupport/GameFlowSupport/Editor/IsRewardedVideoAvailableEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161663"
} | starcoder | #if USE_GAMEFLOW_SUPPORT
namespace GleyMobileAds
{
using GameFlow;
using UnityEditor;
[CustomEditor(typeof(IsRewardedVideoAvailable), true)]
public class IsRewardedVideoAvailableEditor : FunctionEditor
{
protected override void OnActionGUI()
{
OutputField(DataType.Boole... | 1.320269 | 8f4c760455fd97a3f2f5443dd3e33271 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stephandantas/BinaryTree",
"max_stars_repo_path": "BinaryTree/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161664"
} | starcoder | <reponame>stephandantas/BinaryTree
using System;
namespace BinaryTree
{
class Program
{
static void Main(string[] args)
{
Solution tree = new Solution();
Node root = null;
Console.WriteLine("Type the total of nodes: ");
int totalNodes = Convert.... | 3.813112 | 49c58aba1261e680e5354aacf8d5ebaf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KostadinovK/Kostadin-Kostadinov-employees",
"max_stars_repo_path": "Employees/Services/EmployeeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161665"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using CsvHelper;
using Data;
namespace Services
{
public class EmployeeService : IEmployeeService
{
private readonly IEmployeeDb employeeDb;
public static string[] DateFormats =
... | 3.103172 | 9ab886439dd9b58a6798d33b8f9fed25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842446 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "reisenberger/LockContentionBenchMark_Issue657",
"max_stars_repo_path": "src/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161666"
} | starcoder | using System;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
namespace ConcurrentDictionaryLockContention
{
public class Program
{
public static void Main(string[] args)
{
var summary = BenchmarkRunner.Run<Benchmarks>();
}
}
} | 1.657276 | b396ea601ab92dc7b44dfd4ad526763d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "P7CoreOrg/GraphQL.Play.2.2",
"max_stars_repo_path": "src/B2BPublisher.Contracts/IB2BPlublisherStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161667"
} | starcoder | using B2BPublisher.Contracts.Models;
using System;
using System.Threading.Tasks;
namespace B2BPublisher.Contracts
{
public interface IB2BPlublisherStore
{
Task<PublishStateResultModel> PublishStateAsync(
AuthContext authContext,
RequestedFields requestedFields,
Pub... | 1.662933 | 3201242690f9959df960ff1c90c96469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Very1Fake/csharp-labs",
"max_stars_repo_path": "Lab6/MainWindow.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161668"
} | starcoder | <gh_stars>0
using System;
using Gtk;
public partial class MainWindow : Gtk.Window
{
private Gtk.ListStore array1 = new Gtk.ListStore(typeof(string));
private CellRendererText cellView1 = new CellRendererText();
private TreeViewColumn column1;
private Gtk.ListStore array2 = new Gtk.ListStore(typeof(str... | 2.436849 | 56ace2bb746df6cc57f8036bc3b5e602 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842449 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "pashcovich/local-government-desktop-addins",
"max_stars_repo_path": "Address Desktop Tools/AddressManagementAddIn/AddressMapTip.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161669"
} | starcoder | <reponame>pashcovich/local-government-desktop-addins
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace A4LGAddressManagement
{
public partial class AddressMapTip : Form
... | 1.56973 | 575672738cdf075410dbc6c473b57075 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842450 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vishalishere/remi",
"max_stars_repo_path": "ReMi.Core/ReMi.Contracts/Plugins/Data/DeploymentTool/JobMetric.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161670"
} | starcoder | <reponame>vishalishere/remi
using System;
using System.Collections.Generic;
namespace ReMi.Contracts.Plugins.Data.DeploymentTool
{
public class JobMetric
{
public string Name { get; set; }
public DateTime StartTime { get; set; }
public DateTime EndTime { get; set; }
public int? ... | 1.495217 | e46508f941c319d28f44d789fd012400 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842451 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Demiplane/Womb",
"max_stars_repo_path": "Womb/Models/Names/SinglePartName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161671"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Womb.Models.Names
{
public sealed class SinglePartName : Name
{
public string Name
{
get;
set;
}
public override string Format()
{
... | 2.405676 | e98e6fb35175a4e9e595781a868181df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842452 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "unoplatform/uno.monaco-editor-uwp",
"max_stars_repo_path": "MonacoEditorComponent/Helpers/KeyboardListener.wasm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161672"
} | starcoder | <reponame>unoplatform/uno.monaco-editor-uwp<filename>MonacoEditorComponent/Helpers/KeyboardListener.wasm.cs
using System;
using System.Collections.Generic;
using System.Text;
using Uno.Foundation.Interop;
namespace Monaco.Helpers
{
partial class KeyboardListener : IJSObject
{
partial void PartialCtor()
{
key... | 2.116828 | 6dc19fffd33a63ba878a5fbd0559cc34 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LloydAZ/SolitaireCipher",
"max_stars_repo_path": "SolitaireCipher/Deck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161673"
} | starcoder | using System;
using System.Collections.Generic;
namespace SolitaireCipher
{
class Deck
{
#region Constants
private const int JokerA = 53;
private const int JokerB = 54;
private const int DeckIndexSize = 53;
#endregion
#region Collections
private List... | 3.560031 | 01fa75350a17e12c421dcbb574715629 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lordubbe/SimpleUnityCLI",
"max_stars_repo_path": "CLI/Assets/CLI/Interfaces/IAutoCompleteOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161674"
} | starcoder | public interface IAutoCompleteOption
{
bool IsStatic { get; set; }
void GetOptionName();
} | 1.703436 | 7dc1e21da5a6c4d9f87e5447523a055b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842455 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "calahatras/gitout",
"max_stars_repo_path": "GitOut/Features/Git/IGitHistoryEventBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161675"
} | starcoder | namespace GitOut.Features.Git
{
public interface IGitHistoryEventBuilder<T> where T : GitHistoryEvent
{
IGitHistoryEventBuilder<T> BuildBody(string body);
IGitHistoryEventBuilder<T> ParseHash(string hashes);
IGitHistoryEventBuilder<T> ParseDate(long unixTime);
IGitHistoryEventBui... | 2.03811 | 4739a2fe7fe5610bc2f50bdbb565f997 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842456 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Maxuss/CopperSharp",
"max_stars_repo_path": "CopperSharp/Blocks/State/ChestInventory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161676"
} | starcoder | using CopperSharp.Item;
namespace CopperSharp.Blocks.State;
/// <summary>
/// Represents chest's inventory
/// </summary>
public sealed class ChestInventory : Inventory
{
/// <inheritdoc />
protected override int MaxSize => 27;
} | 1.819037 | ae17c410e6cb1b1ed94438991994ac21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842457 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hotjk/unno",
"max_stars_repo_path": "Grit.Unno.Web/Views/Shared/Control.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161677"
} | starcoder | @model UIControlParams
@using Grit.Unno;
@{
Unit rootUnit = ViewBag.Unit as Unit;
Node rootNode = ViewBag.Node as Node;
object value = null;
string displayValue = string.Empty;
if (Model.Model == UIControlMode.Standard)
{
Node node = rootNode.Find(Model.Key);
if (node != null)
... | 2.290611 | 62fc4210134b76651e4b0405345acc03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arnel-k/VirtualLibrary",
"max_stars_repo_path": "vLibrary.API/Migrations/20190828130715_Init.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161678"
} | starcoder | using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace vLibrary.API.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... | 2.081105 | 6f0edcec7b3c5e717eaa2ca2effbcc0d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842459 | {
"extension": "c-sharp",
"max_stars_count": "96.0",
"max_stars_repo_name": "FlorisBriolas/Glass.Mapper",
"max_stars_repo_path": "Source/Glass.Mapper/Maps/GlassMapLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161679"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Glass.Mapper.Maps
{
public class GlassMapLoader
{
private readonly Assembly _assembly;
/// <summary>
/// Creates an inst... | 2.932095 | 2a1a8c834cd6a83a58f8c6d803d3acb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842460 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "EdutechSRL/Adevico",
"max_stars_repo_path": "3-Business/3-Modules/lm.Comol.Core.BaseModules/FileRepository/Presentation/Repository/Domain/TreeMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161680"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace lm.Comol.Core.BaseModules.FileRepository.Presentation.Domain
{
[Serializable]
public enum TreeMode
{
noselect = 0,
singleselect = 1,
multiselect = 2,
cascadeselect = 3,
t... | 1.551964 | 2ca56142f02ea956f93cd6b094493b2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842461 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dotnet-campus/DocumentFormat.OpenXml.Extensions",
"max_stars_repo_path": "src/dotnetCampus.OpenXMLUnitConverter/EmuSize.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161681"
} | starcoder | <reponame>dotnet-campus/DocumentFormat.OpenXml.Extensions
using System;
namespace dotnetCampus.OpenXmlUnitConverter
{
/// <summary>
/// 采用 <see cref="Emu"/> 表示的尺寸
/// </summary>
public readonly struct EmuSize : IEquatable<EmuSize>
{
/// <summary>
/// 创建使用 EMU 单位表示的 Size 尺寸
... | 3.216555 | fcbedbaadb6c74bfcf7f251ead2928ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842462 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EolAncalimon/Locality",
"max_stars_repo_path": "Locality/Locality.Domain/Events/EventService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161682"
} | starcoder | <reponame>EolAncalimon/Locality
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Threading.Tasks;
using System.Xml;
using Locality.Data.Repositories;
namespace Locality.Domain.Events
{
public class EventService : IEventService
{
private readonly IRepository<Data.E... | 2.457319 | 201f81201e60ed268bfb27198ab347a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842463 | {
"extension": "c-sharp",
"max_stars_count": "145.0",
"max_stars_repo_name": "matteobortolazzo/HtmlLabelPlugin",
"max_stars_repo_path": "src/HtmlLabel/iOS/BaseTextViewRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161683"
} | starcoder | using CoreGraphics;
using Foundation;
using System;
using System.Linq;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
namespace LabelHtml.Forms.Plugin.iOS
{
public abstract class BaseTextViewRenderer<TElement> : ViewRenderer<TElement, UITextViewFixedWithKludge>
where TElement : Label
{
... | 2.263027 | 887a16079dcb127ed543446bfc0f0902 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842464 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Radostta/Programming-Basics-And-Fundamentals-SoftUni",
"max_stars_repo_path": "Arrays/MaxSequenceOfIncreasingElements-Original/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161684"
} | starcoder | <filename>Arrays/MaxSequenceOfIncreasingElements-Original/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaxSequenceOfIncreasingElements_Original
{
class Program
{
static void Main(string[] args)
{
... | 3.975285 | 4ba6e66ef826e296cb9fdfad5d8a71bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842465 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "emre1702/BonusBo",
"max_stars_repo_path": "Services/Workers/TimedActionsHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161685"
} | starcoder | <filename>Services/Workers/TimedActionsHandler.cs
using BonusBot.Common.Extensions;
using BonusBot.Common.Interfaces.Services;
using BonusBot.Database;
using BonusBot.Database.Entities.Cases;
using Microsoft.EntityFrameworkCore.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Re... | 2.415025 | 17ef4ae32898104b67792eaa283ea2dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842466 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ZZR0/CardGame",
"max_stars_repo_path": "Frontend/Assets/Scripts/FrontEnd/Battle/UpandDown.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161686"
} | starcoder | <filename>Frontend/Assets/Scripts/FrontEnd/Battle/UpandDown.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UpandDown : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is call... | 2.425643 | 88f9fa4b09e33a61c4fd97b2df5a02f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842467 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daramkun/FileTypeDetector",
"max_stars_repo_path": "Daramee.FileTypeDetector.Shared/Detectors/Bzip2Detector.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161687"
} | starcoder | namespace Daramee.FileTypeDetector.Detectors
{
[FormatCategory ( FormatCategories.Compression )]
class Bzip2Detector : AbstractSignatureDetector
{
static SignatureInformation [] BZ2_SignatureInfo = new []
{
new SignatureInformation () { Position = 0, Signature = new byte [] { 0x42, 0x5A, 0x68 } },
};
pu... | 2.327533 | 1800caa8554a52addbf6f45bef4b36ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842468 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pako1337/ModularAspNet",
"max_stars_repo_path": "ModularAspNet.ModuleContracts/ViewEngine/IPhysicalPathProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161688"
} | starcoder | <gh_stars>0
namespace ModularAspNet.ModuleContracts.ViewEngine
{
public interface IPhysicalPathProvider
{
string GetPhysicalPath(string virtualPath);
}
} | 1.251232 | bf7844f50fcd85d094344b891c4c1543 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842469 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ebifrier/Okiami",
"max_stars_repo_path": "VoteProtocol/Notification.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161689"
} | starcoder | <reponame>ebifrier/Okiami
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace VoteSystem.Protocol
{
/// <summary>
/// サーバー/クライアント双方に送られる通知です。
/// </summary>
[Serializable()]
[DataContract()]
public cla... | 2.557873 | ac8f8d69e8f9ad2e16202029d1a3bd5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842470 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dgerding/Construct",
"max_stars_repo_path": "SeeingMachinesVisualization/SeeingMachinesProject/SMVisualization/SMVisualization/Visualization/System/DebugView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161690"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace SMVisualization.Visualization
{
public class DebugView
{
static SpriteFont m_Font;
static SpriteBatch m_SpriteBatch;
static String m_Text = "";... | 2.776711 | 1c617902ea9bcd0aad2101b5d9cdf9be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842471 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GenesisHenriques/Estudos",
"max_stars_repo_path": "ALGORITMOS/AULAS/AULA 8 - ESTRUTURAS CONDICIONAIS 2/001/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161691"
} | starcoder | <reponame>GenesisHenriques/Estudos
using System;
namespace _001
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Digite o valor da 1° nota");
decimal notaUm = int.Parse(Console.ReadLine());
Console.WriteLine("Digite o valor da 2° nota"... | 3.505481 | 9a95ac55135d51e55577870dfce58d9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842472 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GschwindSoftware/lighthouse-examples-net",
"max_stars_repo_path": "Models/Data/ProfitValuation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161692"
} | starcoder | using System;
namespace Gschwind.Lighthouse.Example.Models.Data {
/// <summary>
/// Sachwertverfahren
/// </summary>
public record ProfitValuation {
/// <summary>
/// Erzielbare Jahreskaltmiete
/// </summary>
public double ColdRent {
get;
init;
... | 2.337 | b62f201dbde26547ab74c7d2de4746f1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842473 | {
"extension": "c-sharp",
"max_stars_count": "54.0",
"max_stars_repo_name": "Djohnnie/EducationalGame-NDCWorkshops-2020",
"max_stars_repo_path": "csharpwars/backend/CSharpWars/CSharpWars.DtoModel/BotToCreateDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161693"
} | starcoder | using System;
namespace CSharpWars.DtoModel
{
public class BotToCreateDto
{
public Guid PlayerId { get; set; }
public string Name { get; set; }
public int MaximumHealth { get; set; }
public int MaximumStamina { get; set; }
public string Script { get; set; }
}
} | 1.907207 | 58518c0f0921ec58c916705d3462615a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842474 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mj1856/EntityFramework",
"max_stars_repo_path": "src/EntityFramework.Commands/Utilities/TypeExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161694"
} | 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;
namespace Microsoft.Data.Entity.Commands.Utilities
{
internal static class TypeExtensions
{
public stat... | 1.851319 | a9da0abf891b93f6ea967d560317a649 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842475 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Farami/CodedChatbot",
"max_stars_repo_path": "CoreCodedChatbot/Commands/CustomsforgeCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161695"
} | starcoder | <reponame>Farami/CodedChatbot
using System.Threading;
using CoreCodedChatbot.CustomAttributes;
using CoreCodedChatbot.Interfaces;
using TwitchLib;
namespace CoreCodedChatbot.Commands
{
[ChatCommand(new[] { "customsforge", "cf", "customforge" }, false)]
public class CustomsforgeCommand : ICommand
{
... | 2.128814 | 0e2917b39509a3d267e24a0618038821 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842476 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knory/bakalarska_prace",
"max_stars_repo_path": "project/Scenes/Nongamified/Calendar.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161696"
} | starcoder | using Components;
using Godot;
using System;
using Utils;
namespace Scenes.Nongamified
{
public class Calendar : SideScrollSelectListComponent
{
private readonly string _resourcePath = $"{Constants.NongamifiedResourcesPath}Calendar/";
private readonly string _sharedResourcePath = $"{Constants.N... | 1.88636 | 9f91970124f5cfe05cea34b9c22d5d2b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842477 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "cirno-math/cirno.Numerics",
"max_stars_repo_path": "cirno.Numerics/ImperiodicNumber.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161697"
} | starcoder | <reponame>cirno-math/cirno.Numerics
using System;
using System.Numerics;
namespace cirno.Numerics
{
/// <summary>
/// ImperiodicNumber is Rational Number without Recurring Decimal.
/// It MUST assert given number is imperiodic by check factors of denominator is only 2 and 5.
/// If not, it throws exce... | 3.340451 | e0ed0058b2c9ddd05da60e4c28991cad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842478 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mdamyanova/SoftUni-Bonus",
"max_stars_repo_path": "C# Web - September 2018/Eventures/Eventures.Services/Implementations/OrderService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161698"
} | starcoder | <reponame>mdamyanova/SoftUni-Bonus<gh_stars>1-10
namespace Eventures.Services.Implementations
{
using Contracts;
using Data;
using Data.Models;
using Models;
using System;
using System.Collections.Generic;
using System.Linq;
public class OrderService : IOrderService
{
priva... | 2.786926 | 7eaa15c0bdf5faa8b7f7f986ff1204aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842479 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avirule/Convex",
"max_stars_repo_path": "Convex.Example/IrcBot.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161699"
} | starcoder | <filename>Convex.Example/IrcBot.cs
#region
using System;
using System.Linq;
using System.Threading.Tasks;
using Convex.Core;
using Convex.Core.Net;
using Convex.Event;
using Convex.Plugin.Composition;
using Convex.Plugin.Event;
using Serilog;
#endregion
namespace Convex.Example
{
public class IrcBot : IDisposab... | 2.374983 | c5d59870b7fa6665ff570dc67db993d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842480 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BremerDuarte/FutElencoDesktop",
"max_stars_repo_path": "FutElencoDesktop/Views/JogadoresListView.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161700"
} | starcoder | <filename>FutElencoDesktop/Views/JogadoresListView.Designer.cs
namespace FutElencoDesktop
{
partial class JogadoresListView
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo... | 2.007586 | a2f51fd67b57fdfb978b952346873958 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842481 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "krishpranav/learncs",
"max_stars_repo_path": "comments/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161701"
} | starcoder | <gh_stars>1-10
using System;
/**
* this is commented
*/
namespace Hello {
class HelloWorld {
static void Main(string[] args) {
Console.WriteLine("Hello World"); // this prints out line
}
}
}
| 2.367335 | bdc29964d9191caefcb79fe0f8197235 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842482 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AtLeastITry/xamarin-template",
"max_stars_repo_path": "src/Example.Mobile.Serialization.UTF8Json/Command/CommandSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161702"
} | starcoder | <gh_stars>1-10
using Example.Mobile.Infrastructure.Serialization;
using Utf8Json;
namespace Example.Mobile.Serialization.UTF8Json.Command
{
internal sealed class CommandSerializer : ICommandSerializer
{
public string Serialize<T>(T data)
{
return JsonSerializer.ToJsonString(data);
... | 1.787371 | 23846e958ecfea723ebeb835187795be |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842483 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SuperJC710e/JWLMerge",
"max_stars_repo_path": "JWLMerge/Models/FileFormatErrorListItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161703"
} | starcoder | <gh_stars>1-10
namespace JWLMerge.Models
{
internal class FileFormatErrorListItem
{
public string Filename { get; set; }
public string ErrorMsg { get; set; }
}
}
| 1.36672 | 979b7de0a314b781ad73e0975926d879 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842484 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "digimezzo/WPFControls",
"max_stars_repo_path": "Digimezzo.WPFControls/ValidationRules/IntValidation.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161704"
} | starcoder | using System;
using System.Globalization;
using System.Windows.Controls;
namespace Digimezzo.WPFControls.ValidationRules
{
public class IntValidation : ValidationRule
{
public int Maximum { get; set; }
public int Minimum { get; set; } = 0;
public override ValidationResult Validate(ob... | 2.775772 | 11076b156541e2a1d74ccb0396c239c1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842485 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jencyraj/HumanResourceManagementProject",
"max_stars_repo_path": "src/HRM.BAL/MemoBAL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161705"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using HRM.BOL;
using HRM.DAL;
namespace HRM.BAL
{
public class MemoBAL
{
public int Save(MemoBOL objMemo)
{
MemoDAL objDAL = new MemoDAL();
return objDAL.Save... | 2.083387 | 953e556e5b9ca4f536c5ca220f3b2e81 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842486 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alsami/AutofacNetcore3",
"max_stars_repo_path": "src/AutofacNetcore3/ISomeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161706"
} | starcoder | using System.Threading.Tasks;
namespace AutofacNetcore3
{
public interface ISomeService
{
Task DoSomethingAsync();
}
} | 1.539481 | 7b7110d262b19df4ef4f0c4051330e5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842487 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShaleeHey/Patch-Master",
"max_stars_repo_path": "Patch-Master/Patch-Master/Forms/Processes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161707"
} | starcoder | <filename>Patch-Master/Patch-Master/Forms/Processes.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Patch_Master.DbContext.QueryReader;
using Patch_Master.DbContext.Database;
using Patch_Master... | 2.420045 | fae53d12de7da13b6fb1ec1e5d8a022a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842488 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "Fernthedev/Heck",
"max_stars_repo_path": "Chroma/Lighting/EnvironmentEnhancement/ParametricBoxControllerParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161708"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
namespace Chroma.Lighting.EnvironmentEnhancement
{
internal class ParametricBoxControllerParameters
{
internal static Dictionary<ParametricBoxController, ParametricBoxControllerParameters> TransformParameters { get; set; } = new();
internal... | 2.166081 | 558b43c6d00ec9a05fd85571221b8a06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842489 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "encse/adventofcode-dotnet",
"max_stars_repo_path": "2019/Day16/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161709"
} | starcoder | <reponame>encse/adventofcode-dotnet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
namespace AdventOfCode.Y2019.Day16;
[ProblemName("Flawed Frequency Transmission")]
class Solution : Solver {
public object PartOne(string input) {
int[] Fft(int[] digits) {
... | 3.314929 | b92ccab0dd31bbf564f160d4ef82ad25 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842490 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "madPO/QueryToGraphQL",
"max_stars_repo_path": "test/UnitTest/Models/Simple/Character.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161710"
} | starcoder | namespace UnitTest.Models.Simple
{
public class Character: BaseModel
{
public string Name { get; set; }
public Episode[] AppearsIn { get; set; }
}
} | 2.163802 | 39e0619398afbbcb20db8894a696eceb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842491 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sbeparey/Jaunty",
"max_stars_repo_path": "Jaunty/Jaunty.Select.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161711"
} | starcoder | <reponame>sbeparey/Jaunty
// ﷽
using Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Jaunty
{
public static partial class Jaunty
{
public static event EventHandler<SqlEventArgs> OnSelecting;
#region regular sele... | 2.670291 | e3826dcc97674cd4a8fbdf17e1ed31de |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842492 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zericco/Elite-Insight",
"max_stars_repo_path": "tests/Elite.Insight.Test/EddnMessageTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161712"
} | starcoder | <gh_stars>0
using Elite.Insight.Core.DomainModel;
using Elite.Insight.EDDN.v1;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
namespace Elite.Insight.Test
{
[TestClass]
public class EddnMessageTest
{
[TestMethod]
public void i_can_parse_software_version()
... | 1.843283 | 57d48ba14a3bf90c3601d9a11a53beeb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842493 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "learncode/Sublime",
"max_stars_repo_path": "SublimeDal/SublimeDal.Console/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161713"
} | starcoder | <reponame>learncode/Sublime
using System;
using System.Collections.Generic;
using System.Data;
using SublimeDal.Core.Context;
using SublimeDal.Library;
namespace SublimeDal.Console {
public class Customer {
[Column(Name = "CustomerID")]
public string CustomerId { get; set; }
[Column(Nam... | 2.331859 | 9980e98a968a706e602c1f94d5f9b219 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842494 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JTOne123/botsdotnet",
"max_stars_repo_path": "BotsDotNet/Registration/Comparitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161714"
} | starcoder | <filename>BotsDotNet/Registration/Comparitor.cs
using System;
namespace BotsDotNet.Registration
{
using Handling;
[NoDescp]
public class Comparitor : IComparitorProfile
{
public Func<IBot, IMessage, ICommand, ComparitorResult> Matcher { get; private set; }
public Type AttributeType {... | 2.500173 | 26fa3b4aad1147fa5c86754abdc58304 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842495 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "btddg28/ironpython",
"max_stars_repo_path": "Src/IronPythonTest/TestBuiltinModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161715"
} | starcoder | <reponame>btddg28/ironpython
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the r... | 1.888517 | 068ece52580d0215f401a704c15c9f70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842496 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ViceIce/niljs-testing",
"max_stars_repo_path": "test/Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161716"
} | starcoder | using NiL.JS.BaseLibrary;
using NiL.JS.Core;
using NiL.JS.Core.Interop;
using NiL.JS.Extensions;
using NUnit.Framework;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace lib.test
{
public class Tests
{
private class Test : Dictionary<string, object>
... | 2.25502 | 3c3b32d5ebf1622f9df2026a6af2c587 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842497 | {
"extension": "c-sharp",
"max_stars_count": "93.0",
"max_stars_repo_name": "metc/StackBuilder",
"max_stars_repo_path": "Sources/Test/treeDiM.StackBuilder.Graphics.TestRayIntersect/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161717"
} | starcoder | #region Using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sharp3D.Math.Core;
using treeDiM.StackBuilder.Basics;
#endregion
namespace treeDiM.StackBuilder.Graphics.TestRayIntersect
{
class Program
{
static void Main(string[] args)
{
... | 2.6984 | 91ef128860472580d3ae7fd2bbc5070a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842498 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XuPeiYao/HolePunch",
"max_stars_repo_path": "src/HolePunch.Accesses.Repositories/ServiceAllowRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161718"
} | starcoder | <reponame>XuPeiYao/HolePunch<filename>src/HolePunch.Accesses.Repositories/ServiceAllowRule.cs
// <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnno... | 1.959911 | 9eb4e1d804fce936ca9ed15fb4280ded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842499 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Smurf0dyssey/OxidePlugins",
"max_stars_repo_path": "OxidePlugins/OxidePlugins/CupboardInfo/CupboardInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161719"
} | starcoder | using System.Collections.Generic;
using ProtoBuf;
using Oxide.Core;
using System;
// ReSharper disable once CheckNamespace
namespace Oxide.Plugins
{
[Info("CupboardInfo", "MJSU", "0.0.1")]
[Description("Displays the changes to cupboards to the user")]
// ReSharper disable once UnusedMember.Global
clas... | 2.65299 | 4166610ceca6bf92fd6c4ad70ce9a844 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842500 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "alycecil/JecsTools",
"max_stars_repo_path": "Source/AllModdingComponents/CompVehicle/SitePartWorker_AbandonedVehicles.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161720"
} | starcoder | using Harmony;
using RimWorld;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Verse;
using System;
using UnityEngine;
using CompVehicle;
using RimWorld.Planet;
using System.Text;
using Verse.Sound;
using Verse.AI;
using Verse.AI.Group;
using System.Runtime.CompilerServices;
namespa... | 1.9957 | 617ee674dbfa2601491f424dce4d05a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842501 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GalapagosGuy/LGJ7",
"max_stars_repo_path": "LGJ7/Assets/Scripts/Bucket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161721"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Bucket : InteractableObject
{
private float time = 0;
private float timeOfChilling = 5;
private float waterLevel;
private float maxWaterLevel = 19;
[SerializeField]
private Image ... | 2.321928 | 68b3b73a3d9593ccb606a2932da8b621 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842502 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thiagocruzrj/TDD-Demo",
"max_stars_repo_path": "01 - Unit Tests/Demo.Tests/07 - AssertingCollectionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161722"
} | starcoder | <reponame>thiagocruzrj/TDD-Demo
using Xunit;
namespace Demo.Tests
{
public class AssertingCollectionsTests
{
[Fact]
public void Employee_Skills_ShouldntHaveEmptySkills()
{
// Arrange and Act
var employee = EmployeeFactory.Create("Thiago", 11000);
//... | 2.845596 | 7815e45ce47d4350c6d616e6af6ff252 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842503 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "shuheydev/shinysamples",
"max_stars_repo_path": "Samples.Api/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161723"
} | starcoder | <gh_stars>1-10
using System;
using Microsoft.Extensions.DependencyInjection;
namespace Samples.Api
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddResumingFileResult();
//services
// .AddAuthentication("B... | 1.610765 | 5a0e76d73b859193343f747f58a98cac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842504 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "INVA-Spa/Laser.Orchard.Platform",
"max_stars_repo_path": "src/Modules/Laser.Orchard.NwazetIntegration/Filters/SelectTermsFormForLines.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161724"
} | starcoder | using Orchard.DisplayManagement;
using Orchard.Environment.Extensions;
using Orchard.Forms.Services;
using Orchard.Localization;
using Orchard.Taxonomies.Helpers;
using Orchard.Taxonomies.Services;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Laser.Orchard.NwazetIntegration.Filter {... | 2.188772 | 5358c96dfec7180e525ff0217e827f56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842505 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ALM-Rangers/Sample-Code",
"max_stars_repo_path": "src/WCF-Load-Test/Library.Test.Integration/UILogicTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161725"
} | starcoder | //---------------------------------------------------------------------
// <copyright file="UILogicTests.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLU... | 1.663541 | 0dd093cfdbd2e6abcec2f6502f3551d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842506 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DANCEcollaborative/PSI",
"max_stars_repo_path": "Sources/Audio/Microsoft.Psi.Audio/AcousticFeatures/FastFourierTransform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161726"
} | starcoder | <filename>Sources/Audio/Microsoft.Psi.Audio/AcousticFeatures/FastFourierTransform.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.Psi.Audio
{
using System;
/// <summary>
/// Provides a class for computing a Fast Fourier Transform.
... | 2.816354 | 8d8049e34ede993bdd5fe672037c1614 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842507 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alipay/alipay-sdk-net",
"max_stars_repo_path": "AlipaySDKNet/Domain/AlipayBossFncGfsettleprodWriteofforderVerifyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161727"
} | starcoder | <reponame>alipay/alipay-sdk-net
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// AlipayBossFncGfsettleprodWriteofforderVerifyModel Data Structure.
/// </summary>
[Serializable]
public class AlipayBossFncGfsettleprodWriteofforderVerifyModel : AopObj... | 1.136156 | fe40048d7e8959af3e6a8c24708939d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842508 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "negator92/TroelsenCode",
"max_stars_repo_path": "Chapter10/SimpleLambdaExpressions/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161728"
} | starcoder | using System;
using System.Collections.Generic;
namespace SimpleLambdaExpressions
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Fun with Lambdas");
TraditionalDelegateSyntax();
AnonymousMethodSyntax();
LambdaExpressionSyn... | 4.072392 | ccff39c6dd66a7b788ac4822426191d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842509 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Mithras11/SoftUni-Software-Engineering",
"max_stars_repo_path": "C_Sharp/DesignPatterns/PrototypePattern/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161729"
} | starcoder | using System;
namespace PrototypePattern
{
class Program
{
static void Main(string[] args)
{
var dice1 = new Dice() { Side = 6, Color = "Red", Player = new Player("Nemo") };
Console.WriteLine(dice1.Side);
Console.WriteLine(dice1.Color);
Console.... | 3.429902 | e4a4ef19c84d14e5232d22fd8cbd189e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842510 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreaDenikova/csharp-jobsite-repository",
"max_stars_repo_path": "Web/MyJobSite.Web/Areas/Administration/Controllers/DashboardController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161730"
} | starcoder | <reponame>AndreaDenikova/csharp-jobsite-repository
namespace MyJobSite.Web.Areas.Administration.Controllers
{
using MyJobSite.Services.Data;
using MyJobSite.Web.ViewModels.Administration.Dashboard;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using System.Threading.Tas... | 1.570956 | eac57b787f2c9f41e7e13d999daac30d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842511 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mby-qlik/Qlik-SupportTools",
"max_stars_repo_path": "Code/FreyrCollectorCommon/Collectors/CmdLineAgents.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161731"
} | starcoder | <filename>Code/FreyrCollectorCommon/Collectors/CmdLineAgents.cs
using System;
using System.Collections.Generic;
using System.Security.Principal;
using System.Threading;
using System.Threading.Tasks;
using Eir.Common.IO;
using FreyrCollectorCommon.Common;
using FreyrCommon.Logging;
using FreyrCommon.Models;
namespace ... | 2.371874 | 2a771f3fe6761129fe63a36ecd121fb7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.