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 | 65733 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jfhr/net-data-structures",
"max_stars_repo_path": "NetDataStructures.UnitTests/Regex/ARegexTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65734"
} | starcoder | using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NetDataStructures.Automata;
namespace NetDataStructures.UnitTests.Regex
{
[TestClass]
public class ARegexTest : RegexAutomatonTestBase
{
protected override IEnumerable<(string Input, bool Expected)> TestDat... | 2.283873 | 046bf8630d31015c3c1c54b82b3962ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlexanderMorou/AbstractionProject",
"max_stars_repo_path": "Libraries/Slf/Ast/Ast/Members/IntermediateMethodMemberBase+ParameterDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65735"
} | starcoder | <filename>Libraries/Slf/Ast/Ast/Members/IntermediateMethodMemberBase+ParameterDictionary.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
/*------------------------------------------... | 2.421571 | f29f165babac3470e78af7abe8c560ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65735 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "hype8912/fluent-nhibernate",
"max_stars_repo_path": "src/FluentNHibernate.Testing/Diagnostics/StringLambdaOutputListenerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65736"
} | starcoder | using System;
using FakeItEasy;
using FluentNHibernate.Diagnostics;
using FluentNHibernate.Testing.Utils;
using NUnit.Framework;
namespace FluentNHibernate.Testing.Diagnostics
{
[TestFixture]
public class StringLambdaOutputListenerTests
{
[Test]
public void should_format_result... | 2.227905 | 100904d01691821527ed30b806e7bb12 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65736 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "InteIIigeNET/HwProj-2.0.1",
"max_stars_repo_path": "HwProj.Common/HwProj.Models/NotificationsService/NotificationFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65737"
} | starcoder | <filename>HwProj.Common/HwProj.Models/NotificationsService/NotificationFilter.cs
using System;
namespace HwProj.Models.NotificationsService
{
public class NotificationFilter
{
public string Sender { get; set; }
public string Category { get; set; }
public int? MaxCount { get; set; }
... | 1.847115 | 01aa7dd5d224d1e33c01b7a5b5086c70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65737 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sekmenhuseyin/Birikim.WMS",
"max_stars_repo_path": "Wms12m.Entity/VM_WMS/Rapor/RaporGrupKod.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65738"
} | starcoder | <gh_stars>0
namespace Wms12m.Entity
{
public class RaporGrupKod
{
public string GrupKod { get; set; }
public static string Sorgu = @"
SELECT DISTINCT(CHK.Grupkod) AS Grupkod FROM [FINSAT6{0}].[FINSAT6{0}].CHK(NOLOCK) AS CHK
WHERE CHK.KartTip IN (0, 4) AND (CHK.HesapKodu BETWEEN... | 1.421254 | 3b5939cf8cdb42b0750a327b413ef8cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alexs0ff/spisker",
"max_stars_repo_path": "Server.Core/Server.Core.Common/Messages/Identifiable/IListIdentifiable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65739"
} | starcoder | namespace Server.Core.Common.Messages.Identifiable
{
/// <summary>
/// Идентифицируемые сообщения по коду списка.
/// </summary>
public interface IListIdentifiable
{
/// <summary>
/// Код списка.
/// </summary>
string ListId { get; set; }
}
}
| 1.989605 | daef47f41f5288dcb540f6ee4414550a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65739 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "improvedk/PowerPad",
"max_stars_repo_path": "src/PowerPad/Log.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65740"
} | starcoder | using System;
using System.Text.RegularExpressions;
namespace PowerPad
{
internal static class Log
{
internal static void Line(object msg)
{
string message = Regex.Replace(msg.ToString(), "\t", " ");
Console.WriteLine(DateTime.Now.ToString("hh:mm:ss") + ": " + message);
}
internal ... | 3.055531 | 06098a988c93359f513ece1bb60e0b59 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65740 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FurkanAltintas/Hospital_Management_System",
"max_stars_repo_path": "HastaneProgrami/Models/Entity Framework/HastaneContext.Context.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65741"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated... | 1.539917 | f46ae3d10944e6b176e15f4f5110b714 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65741 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "julielerman/ProgrammingEntityFrameworkBook",
"max_stars_repo_path": "Programming EF 2nd Edition/2e Chapter 18 WCF POCOs/BreakAwayPOCOEntities/Reservation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65742"
} | starcoder | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---------------------... | 2.072571 | de0f1b75fc82857896a57f5a8ca19047 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Azurelol/LinkInterfaceMenuFramework",
"max_stars_repo_path": "LinkInterfaceMenuFramework/Assets/Libraries/Stratus/Events/EventsInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65743"
} | starcoder | <gh_stars>0
using UnityEngine;
using System.Collections;
namespace Events
{
public class EventsInput : MonoBehaviour
{
// Use this for initialization
void Start()
{
}
// Update is called once per frame
void Update()
{
PollKeyDown();
PollKeyUp();
PollMouse();
... | 1.681301 | ebf271b733d88f4041430befe608be85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65743 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "bmcdavid/DotNetStarter",
"max_stars_repo_path": "src/DotNetStarter.Abstractions/IStartupModuleCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65744"
} | starcoder | <filename>src/DotNetStarter.Abstractions/IStartupModuleCollection.cs
using System.Collections.Generic;
namespace DotNetStarter.Abstractions
{
/// <summary>
/// A collection of StartupModuleDescriptor to run during startup
/// </summary>
public interface IStartupModuleCollection : IList<StartupModuleDe... | 2.835864 | ab4917ee6dc39198193197f930f9259f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65744 | {
"extension": "c-sharp",
"max_stars_count": "197.0",
"max_stars_repo_name": "iskandersierra/Typin",
"max_stars_repo_path": "src/Typin/Typin.Tests/CancellationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65745"
} | starcoder | <filename>src/Typin/Typin.Tests/CancellationTests.cs<gh_stars>100-1000
namespace Typin.Tests
{
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Typin.Console;
using Typin.Tests.Data.Commands.Valid;
using Xunit;
public class CancellationT... | 2.425201 | 0e98148bba916d692420f341709664fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65745 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "masbicudo/NuGet.Multiple.Targeting.Tool",
"max_stars_repo_path": "Masb.NuGet.Multiple.Targeting.Tool/Sets/IntersectionSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65746"
} | starcoder | <filename>Masb.NuGet.Multiple.Targeting.Tool/Sets/IntersectionSet.cs
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace Masb.NuGet.Multiple.Targeting.Tool.Sets
{
/// <summary>
/// Represents a set created by the intersection of multiple other sets.
/// </summ... | 3.403663 | fa0df85f68994481b7379ecab1816b08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonreding2010/MAQS",
"max_stars_repo_path": "Framework/BaseSeleniumTest/Extensions/LazyElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65747"
} | starcoder | //--------------------------------------------------
// <copyright file="LazyElement.cs" company="Magenic">
// Copyright 2019 Magenic, All rights Reserved
// </copyright>
// <summary>This is the LazyElement class</summary>
//--------------------------------------------------
using Magenic.Maqs.Utilities.Helper;
using... | 2.635302 | 0327c4236a33539779680b51d31d13a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65747 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sreekanth26/sampleproject",
"max_stars_repo_path": "src/Microsoft.VisualStudio.ProjectSystem.Managed/StringComparers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65748"
} | starcoder | // Copyright (c) Microsoft. 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;
#pragma warning disable RS0030 // Do not used banned APIs (this is the replacement)
namespace Micros... | 1.858673 | 03eafe42b39ccdc4347cbe2109e3f1a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65748 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chengming0916/FileExplorer",
"max_stars_repo_path": "src/FileExplorer1/QuickZip.IO.PIDL.UserControls/Tools/MVVM/ViewModel/DirectoryViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65749"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QuickZip.IO.PIDL.UserControls.ViewModel
{
public class DirectoryViewModel : ExViewModel
{
#region Constructor
public DirectoryViewModel(RootModelBase rootModel, Model.DirectoryModel mode... | 1.655092 | 4481ad758fe9c22ae83e22eee9183855 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65749 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "minimac911/HonoursProject",
"max_stars_repo_path": "src/CustomizationServices/Test/Views/Shared/_Layout.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:65750"
} | starcoder | <gh_stars>0
@RenderBody()
@RenderSection("scripts", required: false) | 1.087544 | 586f677f99e148f67aa6dbdea914bd71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65750 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "github/gh-gei",
"max_stars_repo_path": "src/OctoshiftCLI.Tests/Services/ReclaimServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65751"
} | starcoder | <reponame>github/gh-gei
using System;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Octoshift;
using Octoshift.Models;
using OctoshiftCLI.Models;
using Xunit;
namespace OctoshiftCLI.Tests
{
public class ReclaimServiceTests
{
private readon... | 2.025665 | 88a130493a2c01996ba655fa7a318bab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65751 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "JohanLarsson/Sideways",
"max_stars_repo_path": "Sideways/Wpf/Converters/AdrConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65752"
} | starcoder | namespace Sideways
{
using System;
using System.Windows.Data;
public sealed class AdrConverter : IMultiValueConverter
{
public static readonly AdrConverter Default = new();
public object? Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo cult... | 2.633639 | 1589de0acd140c8dc7cbfa0a7417287f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65752 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dompi/Logger",
"max_stars_repo_path": "Logger/src/Logger.Abstractions/ILogger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65753"
} | starcoder | <filename>Logger/src/Logger.Abstractions/ILogger.cs
using System.Threading.Tasks;
namespace Logger.Abstractions
{
public interface ILogger
{
void Log(LogLevel logLevel, string message);
Task LogAsync(LogLevel logLevel, string message);
}
}
| 2.362881 | 7f27c741d19b4a2d96e5e0141925864f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65753 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "nclient/nclient",
"max_stars_repo_path": "src/NClient.Providers/NClient.Providers.Serialization.SystemTextJson/SystemTextJsonSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65754"
} | starcoder | using System;
using System.Text.Json;
using NClient.Common.Helpers;
namespace NClient.Providers.Serialization.SystemTextJson
{
internal class SystemTextJsonSerializer : ISerializer
{
private readonly JsonSerializerOptions _jsonSerializerOptions;
public string ContentType { get; } = "applicati... | 2.636583 | 77ada9b279a26bf26f00822220ce22a9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65754 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "jonnybee/cslacontrib",
"max_stars_repo_path": "branches/V4-3-x/samples/MEFSamples/Repository/MEFSample.Business/Repository/RootData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65755"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MEFSample.Business.Repository
{
public interface IRootDataAccess
{
RootData Get(int id);
}
public class RootData
{
public int Id { get; set; }
public string Name { get; ... | 2.025439 | caeae2b0dbb3360cc079664cbfd4befe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ivandrofly/UnitsNet",
"max_stars_repo_path": "UnitsNet.Tests/GeneratedCode/AmountOfSubstanceTestsBase.g.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65756"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by \generate-code.bat.
//
// Changes to this file will be lost when the code is regenerated.
// The build server regenerates the code before each build and a pre-build
// step... | 2.087325 | 5bb167d8316ba601086a8c41f050615e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65756 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "timors/TM.ChartControl",
"max_stars_repo_path": "Controls/ChartControl/TSeriesPointCollection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65757"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace TM.Controls.ChartControl
{
/// <summary>
/// TSeriesPoint集合
/// </summary>
... | 2.39117 | 9c322c505736664f11cb4a9d739f4367 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Beywer/retail-ui",
"max_stars_repo_path": "packages/react-ui-testing/SeleniumTesting/IRetailUiVersionProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65758"
} | starcoder | <reponame>Beywer/retail-ui
using JetBrains.Annotations;
namespace SKBKontur.SeleniumTesting
{
public interface IRetailUiVersionProvider
{
[CanBeNull]
string GetRetailUiVersion();
}
} | 1.243182 | d92ea9b81481b0f6715d178f42d2484c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65758 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hsilamot/ArkBot",
"max_stars_repo_path": "ArkBot/Modules/Application/Configuration/Model/ClusterConfigSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65759"
} | starcoder | using ArkBot.Modules.Application.Configuration.Validation;
using Newtonsoft.Json;
using PropertyChanged;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Validar;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace ArkBot.Modules.Application.Configuration.Model
{
[AddINotifyP... | 2.213776 | 7adeebd2a1a68f199b14218553af85b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65759 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "glauberbrandao/dotnet-core-sdk-beta",
"max_stars_repo_path": "AuthorizeNET/AuthorizeNET/App.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65760"
} | starcoder | namespace AuthorizeNet
{
public class App
{
public const string CpVersion = "1.0"; // card present version
protected Environment Environment { get; set; }
protected string Login { get; set; }
protected string TransactionKey { get; set; }
private App()
{
... | 2.449729 | 5030fc5c8a5e9ccbc680a5f02787f793 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Liang-Zhinian/CqrsFrameworkDotNet",
"max_stars_repo_path": "Sample/SaaSEqt/eShop/Public/eShop/src/ApiGateways/Web.Bff.Shopping/aggregator/Services/BasketService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65761"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Http;
using SaaSEqt.eShop.BuildingBlocks.Resilience.Http;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;... | 2.257132 | a4f73ba9a28a04670d7fc275accba7c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65761 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mfkl/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/d3d11_1/D3D11_RASTERIZER_DESC1.Manual.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65762"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d11_1.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using static TerraFX.Interop.D3D11_CULL_MODE;
... | 1.701925 | 21dd6811a7c7fcabfb8a968e7a63596b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MoDDem/MagicMine_Launcher",
"max_stars_repo_path": "Components/MojangAPI/Requests/VersionsRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65763"
} | starcoder | <reponame>MoDDem/MagicMine_Launcher
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MagicMine_Launcher.Components.MojangAPI.Requests {
class VersionsRequest : Request {
public override a... | 2.50055 | 2dd71b6c57eb708ed49f8baff85fa72a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65763 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ahives/Machete",
"max_stars_repo_path": "src/Machete.X12Schema/V5010/Segments/RPA.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65764"
} | starcoder | <gh_stars>1-10
namespace Machete.X12Schema.V5010
{
using X12;
public interface RPA :
X12Segment
{
Value<string> RateOrValueTypeCode { get; }
Value<decimal> MonetaryAmount { get; }
Value<decimal> Rate { get; }
Value<C001> CompositeUnitOfMea... | 1.274036 | cb8bb358d360e1c84597d110c3d5c0a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "usarskyy/VXCore.Resources",
"max_stars_repo_path": "VXCore.Resources/EmptyDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65765"
} | starcoder | <reponame>usarskyy/VXCore.Resources<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace VXCore.Resources
{
/// <summary>
/// Type that represents empty readonly dictionary. Used for internal purposes.
/// </summary>
/// <typeparam nam... | 2.510862 | 34bd0ca363459525d32e5f842a46bb75 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dkamau/e-commerce-backend",
"max_stars_repo_path": "src/ECommerceBackend.Web/Endpoints/OrderEndpoints/List.ListOrderResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65766"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using ECommerceBackend.Core.Entities.OrderEntities;
using ECommerceBackend.Web.AbstractClasses;
namespace ECommerceBackend.Web.Endpoints.OrderEndpoints
{
public class ListOrderResponse : Pagination
{
public ListOrderResponse(List<Order... | 2.543383 | 2194448207ac2df99171243fb1c84136 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65766 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "steveklewis/Expression-Evaluator",
"max_stars_repo_path": "ExpressionEvaluatorTests/AndOperatorTests.generated.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65767"
} | starcoder | <reponame>steveklewis/Expression-Evaluator
// ReSharper disable InconsistentNaming
using System;
using NUnit.Framework;
using Vanderbilt.Biostatistics.Wfccm2;
namespace ExpressionEvaluatorTests
{
[TestFixture]
public class AndOperatorTests
{
Expression func;
[SetUp]
public void ini... | 2.479567 | 191529f685e58446c71ae6dc22e0ee80 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65767 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "autofac/Autofac.Pooling",
"max_stars_repo_path": "test/Autofac.Pooling.Test/PooledComponentTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65768"
} | starcoder | using Autofac.Features.OwnedInstances;
using Autofac.Pooling.Tests.Shared;
using Xunit;
namespace Autofac.Pooling.Test
{
public class PooledComponentTests
{
[Fact]
public void PooledComponentNotifiedOfGetAndReturn()
{
var builder = new ContainerBuilder();
build... | 2.322051 | 6ebbe8bb0e45ccb5b61d589433e00149 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65768 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrAlbin/xamarin-android",
"max_stars_repo_path": "src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/AndroidResourceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65769"
} | starcoder | <reponame>MrAlbin/xamarin-android<filename>src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/Tasks/AndroidResourceTests.cs
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Xamarin.ProjectTools;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using System... | 1.891348 | 5cb9b46979e9f2b358e45e036dfe5677 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65769 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "intj-t/openvmsft",
"max_stars_repo_path": "WRK-V1.2/tests/bcl/system/convert/co6055tochar_all.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65770"
} | starcoder | <filename>WRK-V1.2/tests/bcl/system/convert/co6055tochar_all.cs
// ==++==
//
//
// Copyright (c) 2006 Microsoft Corporation. All rights reserved.
//
// The use and distribution terms for this software are contained in the file
// named license.txt, which can be found in the root of this distribution.
//... | 2.414333 | 7ebc9b61394f344593fbe0075d7f6eab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65770 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ftijan/net-core-windows-service",
"max_stars_repo_path": "src/WinService/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65771"
} | starcoder | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
namespace WinService
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] ... | 2.302855 | ccb219271f89f9e41340ed45f58e5f55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EOP-OMB/ethics-portal",
"max_stars_repo_path": "Server/Mod.Ethics.Application/Dtos/AttendeeDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65772"
} | starcoder | <reponame>EOP-OMB/ethics-portal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mod.Ethics.Application.Dtos
{
public class AttendeeDto
{
public int EventRequestId { get; set; }
public string EventName { get; set; }
... | 1.702565 | fdc73cbd909747c0d2708a626a24e2e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maestropanel/killwsp",
"max_stars_repo_path": "src/killwsp/Models/wspSSL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65773"
} | starcoder | <reponame>maestropanel/killwsp
namespace killwsp.Models
{
public class wspSSL
{
public string DomainName { get; set; }
public string FriendlyName { get; set; }
public string PfxPath { get; set; }
}
}
| 1.159049 | ed08b94c340f90b7fff7f87f2b4ed9e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65773 | {
"extension": "c-sharp",
"max_stars_count": "162.0",
"max_stars_repo_name": "JamesYing/JCWX",
"max_stars_repo_path": "Business/Model/MerchantInfoModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65774"
} | starcoder | <filename>Business/Model/MerchantInfoModel.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WX.Common;
namespace WX.Model
{
public sealed class ProductInfo
{
[JsonProperty("product_id", NullValueHandling = NullValueHandling.Ignore)]
... | 2.334396 | daa8cc387ea34439b896f963f2554101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65774 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "theolymp/efcore",
"max_stars_repo_path": "test/EFCore.Tests/Metadata/Internal/InternalSkipNavigationBuilderTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65775"
} | starcoder | <reponame>theolymp/efcore
// 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 System.Collections.Generic;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft... | 1.747308 | 3ccb35cd33de82f11976340c931b7e0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65775 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "KKings/Sitecore.ContentSearch.Fluent",
"max_stars_repo_path": "tests/Sitecore.ContentSearch.Fluent.Tests/PagingOptionsBuilderUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65776"
} | starcoder | <filename>tests/Sitecore.ContentSearch.Fluent.Tests/PagingOptionsBuilderUnitTests.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Sitecore.ContentSearch.Fluent.Tests
{
using Builders;
using Options;
[TestClass]
public class PagingOptionsBuilderUnitTests
{
[T... | 2.517099 | ce965e0cbfd512f62278e6b9e508e7df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65776 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Seti-0/NSprak",
"max_stars_repo_path": "Source/NSprakIDE/Logging/LogFormatUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65777"
} | starcoder | using System;
using System.Reflection;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Diagnostics;
namespace NSprakIDE.Logging
{
public static class LogFormatUtility
{
public static void WritePrefix(ISimpleWriter writer, LogEvent entry, ref stri... | 3.08115 | fa8f548f13a09c49b4b15f03565ef993 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65777 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "ggagnaux/Sage300-SDK",
"max_stars_repo_path": "src/wizards/Sage300Resources/Sage.CA.SBS.ERP.Sage300.OE.Resources/Forms/CreditDebitNoteEntryResx.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65778"
} | starcoder | <filename>src/wizards/Sage300Resources/Sage.CA.SBS.ERP.Sage300.OE.Resources/Forms/CreditDebitNoteEntryResx.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes ... | 1.846848 | b5408b7b6f7ae188e8c9709c218b8e35 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hedge42/unity-full",
"max_stars_repo_path": "Assets/Neat/Core/Scripts/Reflection/IProcessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65779"
} | starcoder | <filename>Assets/Neat/Core/Scripts/Reflection/IProcessor.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
namespace Neat.Tools
{
public interface IProcessor<T>
{
void Process(T info);
}
public class ... | 2.227765 | 0235c3e0a38ab8d75dd6c4278e2e89d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65779 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GUSAR1T0/VXDS-DEV-TOOLS",
"max_stars_repo_path": "DevTools/Common/Migrations/Camunda/CamundaDeploymentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65780"
} | starcoder | <filename>DevTools/Common/Migrations/Camunda/CamundaDeploymentService.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using VXDesign.Store.DevTools.Common.Clients.Camunda;
using VXDesign.Store.DevTools.Common.Clients.... | 2.166965 | 36c6ef20db7d81df8c92b64ddfcd948f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65780 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tandandanw/RMGS",
"max_stars_repo_path": "Projects/RMGS-GUI/Assets/RMGSGUI/Scripts/RMGSData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65781"
} | starcoder | <filename>Projects/RMGS-GUI/Assets/RMGSGUI/Scripts/RMGSData.cs
using System.Collections.Generic;
using UnityEngine;
public class TinyPattern
{
public string Name { get; set; }
public float Weight { get; set; }
public TinyPattern(string name, float weight)
{
Name = name;
Weight = weigh... | 2.528408 | 5683a2ff45b2d39a9396ca0bbf329000 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65781 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ideine/Xmf2.Common.Extensions",
"max_stars_repo_path": "Xmf2.Common.Extensions.Tests/Collections/DictionaryExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65782"
} | starcoder | using System;
using System.Collections.Generic;
using Xunit;
namespace Xmf2.Common.Tests.Collections
{
public static class DictionaryExtensions
{
private class A { }
[Fact]
public static void GetValueOrDefaultPrimitiveTest()
{
var dict = new Dictionary<int, int>
{
{
0, 10
},
{
1,... | 2.813826 | 60ec4acc0c0b9bba8a6bacc795fc1ec5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65782 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "pmache/singularityrdk",
"max_stars_repo_path": "SOURCE/base/Kernel/Singularity.Hal.ApicPC/Apic.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65783"
} | starcoder | <reponame>pmache/singularityrdk<gh_stars>1-10
///////////////////////////////////////////////////////////////////////////////
//
// Microsoft Research Singularity
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: Apic.cs
//
// Note:
// Intel MP Specification 1.4
// IA-32 Intel Arc... | 1.24061 | 9ed5620e5659ebd44333df2fb313497e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65783 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ctorres-axiell/imu-api-dotnet",
"max_stars_repo_path": "src/Map.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65784"
} | starcoder | /* KE Software Open Source Licence
**
** Notice: Copyright (c) 2011-2013 KE SOFTWARE PTY LTD (ACN 006 213 298)
** (the "Owner"). All rights reserved.
**
** Licence: Permission is hereby granted, free of charge, to any person
** obtaining a copy of this software and associated documentation files
** (the "Softw... | 2.470953 | 2affc8f928e4f510620abdd2177efc0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mentalnote/OldHabitsDieHarder",
"max_stars_repo_path": "Assets/Scripts/Scenario/ScenarioManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65785"
} | starcoder | <reponame>mentalnote/OldHabitsDieHarder
public class ScenarioManager
{
static private Scenario currentScenario;
//Set the current scenario
static public void SetCurrentScenario(Scenario scenario) {
currentScenario = scenario;
}
//Retrieve the current scenario
static public Scenario GetCurrentScenario() {
... | 2.241529 | 3c76862570fbca1c9f0020cc387b584f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65785 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "topnguyen/Goblin.Landing",
"max_stars_repo_path": "src/Web/Goblin.Landing/Models/ContentKeys.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65786"
} | starcoder | namespace Goblin.Landing.Models
{
public static class ContentKeys
{
public const string HeaderNavTagContent = nameof(HeaderNavTagContent);
public const string FooterStyle = nameof(FooterStyle);
public const string IsShowLogo = nameof(IsShowLogo);
public... | 1.279322 | 6c3f7d60d74ed2c38831964dbd96eb4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65786 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidthePangwaer/AntShares",
"max_stars_repo_path": "AntSharesUI/UI/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65787"
} | starcoder | using AntShares.Core;
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace AntShares.UI
{
internal static class Helper
{
private static Dictionary<Type, Form> tool_forms = new Dictionary<Type, Form>();
private static void Helper_FormClosing(object s... | 2.448173 | 8ddbabb1dab19d2d4aa78bbc034ac02c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefb965/roslyn",
"max_stars_repo_path": "src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65788"
} | starcoder | <filename>src/EditorFeatures/CSharpTest/Completion/CompletionProviders/DeclarationNameCompletionProviderTests.cs
// Copyright (c) Microsoft. 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.Immut... | 1.912626 | f47ee7bd656390227fa19fafa1873f06 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65788 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PJChamley/das-payments-V2",
"max_stars_repo_path": "src/SFA.DAS.Payments.EarningEvents.Application.UnitTests/Mapping/MappingTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65789"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using ESFA.DC.ILR.FundingService.FM36.FundingOutput.Model.Output;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.Payments.EarningEvents.Application.Mapping;
using SFA.DAS.Payments.EarningEvents.Messages.Events;
using SFA... | 1.852465 | 44939d3a1226d76524b6742500f2fb2f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65789 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Mattlk13/SourceCodeReader",
"max_stars_repo_path": "Web/LanguageServices/ISourceCodeIndexingService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65790"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SourceCodeReader.Web.LanguageServices
{
public interface ISourceCodeIndexingService
{
void IndexProject(string username, string projectName, string projectDirectory);
}
}
| 1.521173 | 9c5151b97de3d2651a6e5239cfb18836 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65790 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/AtCoder-Contests",
"max_stars_repo_path": "CSharp/Contests/DP/K.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65791"
} | starcoder | <reponame>sakapon/AtCoder-Contests
using System;
using System.Linq;
class K
{
static void Main()
{
Func<int[]> read = () => Console.ReadLine().Split().Select(int.Parse).ToArray();
var h = read();
var a = read();
var k = h[1];
var dp = new bool[k + 1];
for (int i = 1; i <= k; i++)
dp[i]... | 2.959288 | b20cb55907a0903e38b741ce81d713d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65791 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FresnoUnified/myQoI",
"max_stars_repo_path": "myQOI/Query/SpeedtestQuery.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65792"
} | starcoder | using System;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace SpeedtestNetCli.Query
{
public class SpeedtestQuery : IHttpQuery<double>
{
private readonly string _imageUrl;
public SpeedtestQuery(string imageUrl)
{
_i... | 3.019519 | 02831f39228244b0479d88f82bbd4c11 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65792 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Matthelonianxl/QuickBooks-V3-DotNET-SDK",
"max_stars_repo_path": "IPPDotNetDevKitCSV3/Code/Intuit.Ipp.GlobalTaxServiceTest/Common/Helper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65793"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Intuit.Ipp.Core;
using Intuit.Ipp.Exception;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Intuit.Ipp.Data;
using System.Collections.ObjectModel;
using System.Reflection;
using System... | 1.726709 | 3fee87e1c6ee7901991ee553cd73092e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65793 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "aljazsim/transformation-framework-for-net",
"max_stars_repo_path": "Source/TransformationFramework/Extensions/PropertyData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65794"
} | starcoder | using System.Collections.Generic;
using System.Reflection;
using DefensiveProgrammingFramework;
namespace TransformationFramework
{
/// <summary>
/// Property data.
/// </summary>
internal class PropertyData
{
#region Public Constructors
/// <summary>
/// Initializes a new... | 2.939731 | d583d3085322e92595bb7ee910520a13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "titanix/HyperGraph_Public",
"max_stars_repo_path": "Libraries/HyperGraph/Main.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65795"
} | starcoder | using System;
using Leger;
using Leger.IO;
namespace HyperGraph
{
public class Shell
{
Graph repositoryGraph = new Graph();
public void Loop()
{
Console.WriteLine("Enter command:");
string line = Console.ReadLine();
// parse command
rep... | 2.840976 | e2962150f20a1303cf2b707d436966b2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65795 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020",
"max_stars_repo_path": "csharpwars/backend/CSharpWars/CSharpWars.Web/Startup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65796"
} | starcoder | <reponame>Djohnnie/BuildCloudNativeApplicationsWithDotNet5-DotNetDeveloperDays-2020
using CSharpWars.Common.DependencyInjection;
using CSharpWars.Web.DependencyInjection;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Dependen... | 1.79811 | 2146ac53d255493a22660f9fb6ebf306 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65796 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gordox/ArcadeGame",
"max_stars_repo_path": "HeroSiege_ArcadeMachine/HeroSiege/Tools/FPS_Counter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65797"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HeroSiege.Manager;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace HeroSiege.Tools
{
class FPS_Counter
{
private float FPS = 0f;
private float totalTime;
private... | 2.666372 | 0c664dedd592de863deeb9c98a4b70ef |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65797 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "naivetang/ET_Tank",
"max_stars_repo_path": "Unity/Assets/Model/Helper/Utility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65798"
} | starcoder | <reponame>naivetang/ET_Tank
using System;
using UnityEngine;
namespace ETModel
{
public static class Utility
{
public static void ChangeLayer(GameObject go, string targetLayer)
{
if(LayerMask.NameToLayer(targetLayer) == -1)
{
Log.Error("Layer中不存在,请手动添加L... | 2.551625 | 21c4af34d6ada6c2945e25a60e44e649 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTeeuwissen/server",
"max_stars_repo_path": "src/Ui.Altair/AltairMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65799"
} | starcoder | using System;
using System.Text;
using System.Threading.Tasks;
using GraphQL.Server.Ui.Altair.Internal;
using Microsoft.AspNetCore.Http;
namespace GraphQL.Server.Ui.Altair
{
/// <summary>
/// A middleware for Altair GraphQL UI.
/// </summary>
public class AltairMiddleware
{
private readonly... | 2.539849 | ff8731acb116ec09585c305fa07584ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheAutomatingMrLynch/NBi",
"max_stars_repo_path": "NBi.UI.Genbi/Bootstrapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65800"
} | starcoder | <reponame>TheAutomatingMrLynch/NBi
using System;
using System.Linq;
using System.Windows.Forms;
using NBi.UI.Genbi.Command.Macro;
using NBi.UI.Genbi.View.RunnerConfig;
using NBi.UI.Genbi.View.TestSuiteGenerator;
namespace NBi.UI.Genbi
{
class Bootstrapper
{
private static RunnerConfigView r... | 2.047892 | 6d9e0eac90593f088495e1915e9ebca9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65800 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucaspimentel/dd-trace-csharp",
"max_stars_repo_path": "profiler/src/ProfilerEngine/Datadog.Profiler.Managed/Profiler/ProfiledEntityInfoProviderBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65801"
} | starcoder | <gh_stars>0
// <copyright file="ProfiledEntityInfoProviderBase.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2022 Datadog, Inc.
// </copyri... | 2.468985 | 115282f99af93b8fbbe13f2c665a096e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JTOne123/TiffLibrary",
"max_stars_repo_path": "src/TiffLibrary.ImageSharpAdapter/ImageSharpPixelBufferReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65802"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using TiffLibrary.PixelBuffer;
namespace TiffLibrary.ImageSharpAdapter
{
internal sealed class ImageSharpPixelBufferReader<TPixel> : ITiffPixelBufferReader<TPixel> where TPixel ... | 2.82978 | 9be641c3dca00f07bbce9b53084d3608 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65802 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "devopsonwindows/Weald",
"max_stars_repo_path": "Weald/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:65803"
} | starcoder | @model Weald.Areas.HelpPage.SampleGeneration.ImageSample
<img src="@Model.Src" /> | 0.928206 | cd78792aca24362aed6f7544e72dea6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeamKDA/KorDevAus-Database",
"max_stars_repo_path": "src/KorDevAus.Repositories/GroupUserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65804"
} | starcoder | <gh_stars>0
using KorDevAus.Entities;
using KorDevAus.Orm;
namespace KorDevAus.Repositories
{
/// <summary>
/// This represents the repository entity for the <see cref="GroupUser"/>.
/// </summary>
public class GroupUserRepository : BaseRepository<GroupUser>, IGroupUserRepository
{
/// <su... | 1.72363 | dc3ceaf2bca0e1ecfdc8d97a20e6c892 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65804 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "elky84/ArchaicQuest-II",
"max_stars_repo_path": "ArchaicQuestII.GameLogic/Commands/Inventory/Inventory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65805"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using ArchaicQuestII.GameLogic.Character;
using ArchaicQuestII.GameLogic.Core;
namespace ArchaicQuestII.GameLogic.Commands.Inventory
{
public class Inventory: IInventory
{
private readonly IWriteToClient _writer;
public In... | 2.939289 | ecedac20aef34e04ec93b4cfa6172474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65805 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "LutzBoeckelmann/YADA",
"max_stars_repo_path": "Core/DependencyRuleEngine/Feedback/DependencyContextVisitorSimplePrinter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65806"
} | starcoder | <filename>Core/DependencyRuleEngine/Feedback/DependencyContextVisitorSimplePrinter.cs
// Copyright (c) <NAME> and Contributors. MIT License - see LICENSE.txt
using YADA.Core.Analyser;
namespace YADA.Core.DependencyRuleEngine.Feedback
{
/// <summary>
/// A simple implementation of IDependencyContextV... | 2.703576 | 128e1e505c68dead0d4e2ae03b8118ea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65806 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "BuildingSMART/IfcDoc",
"max_stars_repo_path": "IfcKit/schemas/IfcElectricalDomain/IfcSwitchingDeviceTypeEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65807"
} | starcoder | // This file may be edited manually or auto-generated using IfcKit at www.buildingsmart-tech.org.
// IFC content is copyright (C) 1996-2018 BuildingSMART International Ltd.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentMo... | 1.874171 | da6927c9a5db44769917a8feea5266da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rafalink1996/BodyIdle",
"max_stars_repo_path": "Idle Body/Assets/Scripts/GamePlay/Pathogens/Pathogen_Fungi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65808"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Pathogen_Fungi : Pathogen_Base
{
bool reproduce;
private void Update()
{
Move();
if (!reproduce)
{
reproduce = true;
StartCoroutine(Reproduce());
... | 1.682334 | a78251856aa13043aeb9dea3103bc4aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65808 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CodingJinxx/polypoly",
"max_stars_repo_path": "Assets/NoesisGUI/Plugins/API/Proxies/SolidColorBrush.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65809"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.10
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.... | 2.050161 | 9cfd30fbe76358770ffcad0977e99e6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "598235031/Prism",
"max_stars_repo_path": "Test/ShareLibrary/IAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65810"
} | starcoder | <reponame>598235031/Prism<filename>Test/ShareLibrary/IAction.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ShareLibrary
{
public interface IAction
{
void Action();
}
}
| 1.374759 | 97eb7775ef3fd66a198454c795c3336a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65810 | {
"extension": "c-sharp",
"max_stars_count": "557.0",
"max_stars_repo_name": "akaramyshev/stripe-dotnet",
"max_stars_repo_path": "src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBancontact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65811"
} | starcoder | <reponame>akaramyshev/stripe-dotnet<filename>src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBancontact.cs
// File generated from our OpenAPI spec
namespace Stripe
{
using Newtonsoft.Json;
using Stripe.Infrastructure;
public class ChargePaymentMethodDetailsBancontact : StripeEntity<ChargePaymentM... | 1.988061 | f1581d5c7b3fc16af7a3cca146242741 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65811 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "showstop98/gtb-client",
"max_stars_repo_path": "Assets/Script/Play/Car/CarController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65812"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
public class SpeedBonus
{
public float _currentTime;
public float _bonusTime;
public float _bonusSpeed;
};
publ... | 1.430839 | 7d6b528a05a69d6c75c4cadbdc904ed7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65812 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Mlekovsky/ZosiaStore",
"max_stars_repo_path": "src/Domain/Entities/News.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65813"
} | starcoder | using CleanArchitecture.Domain.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CleanArchitecture.Domain.Entities
{
public class News : AuditableEntity
{
public int Id { get; set; }
public string Message { get... | 1.937418 | 087b687a913840339aa95d2c620b48bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65813 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bohemond-of-antioch/OpenXcom-UnitSpriteStudio",
"max_stars_repo_path": "UnitSpriteStudio/UndoSystem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65814"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace UnitSpriteStudio {
class UndoSystem {
class SavedFrame {
byte[] PixelData;
int FrameIndex;
internal ... | 2.249855 | b8e5e81970c33a72727886cf64d8339f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65814 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "rkapl123/logjoint",
"max_stars_repo_path": "trunk/sdk/model/postprocessing/common/Utils/LinqUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65815"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace LogJoint.Postprocessing
{
public static class LinqUtils
{
public static IEnumerable<T[]> NWise<T>(this IEnumerable<T> input, int n)
{
var tmp = new List<T>();
foreach (var i in input)
{
tmp.Add(i);
if (tmp.Count >= n)
... | 2.986658 | ca4e317571c005d00bb8cc3b3f74e1a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65815 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "gd-edit/GDAPI",
"max_stars_repo_path": "GDAPI/GDAPI/Application/Newgrounds/SongDownloader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65816"
} | starcoder | using GDAPI.Objects.GeometryDash.General;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace GDAPI.Application.Newgrounds
{
/// <summary>Handles downloading a Newgrounds song.</summary>
public class SongDownloader
{
private readonly HttpClient client = new();
... | 2.82853 | b5507bcd80bab7913b682cf278c3b511 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "griffinpuc/stock-usermodel",
"max_stars_repo_path": "obj/Debug/netcoreapp2.1/Razor/Views/Home/Partial_Login.g.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65817"
} | starcoder | #pragma checksum "C:\Users\griff\Workspace\simplelogin\SimpleLoginForm\SimpleLoginForm\Views\Home\Partial_Login.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "5dd10966da89f878b8d886018005444c32949afa"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompile... | 1.533064 | 06b5a2c80000fd2afc62a5184c8e56c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mcskik/utilities",
"max_stars_repo_path": "Differenti8/Differenti8/Models/ReportEngine.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65818"
} | starcoder | <filename>Differenti8/Differenti8/Models/ReportEngine.cs<gh_stars>0
using Differenti8.DataLayer.Profile;
using Differenti8Engine;
using Log8;
using System;
namespace Differenti8.Models
{
/// <summary>
/// Report engine base class.
/// </summary>
/// <remarks>
/// Report engine base class.
/// <... | 2.211962 | f343f58f7a5f77820568ae62c986d5e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThierryMbuku/StudenAccountManager",
"max_stars_repo_path": "Models/SearchFilterModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65819"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SAM1.Models
{
public class SearchFilterModel
{
public int? Username { get; set; }
}
} | 1.473556 | 35ddcfcf260ac6293665ce061b841aed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65819 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "eXpandFramework/DevExpress.XAF",
"max_stars_repo_path": "src/Tests/TestsLib.EasyTest/Commands/FillObjectViewCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65820"
} | starcoder | <reponame>eXpandFramework/DevExpress.XAF
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using DevExpress.EasyTest.Framework;
using Xpand.Extensions.XAF.ObjectExtensions;
using Xpand.TestsLib.Common;
namespace Xpand.TestsLib.EasyTest.Commands{
public class FillObj... | 2.154856 | 3e1fef863ca6ec17d18d7084ddb1e5e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yiyungent/demos",
"max_stars_repo_path": "phantomjsDemo/phantomjsDemo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65821"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace phantomjsDemo
{
class Program
{
static void Main(string[] args)
{
//GetImage(@"http://www.moeci.com/");
Ge... | 2.464602 | 819af72926a8cbf1ceed417faa13ff70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65821 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "inmark92/hotchocolate",
"max_stars_repo_path": "src/HotChocolate/Stitching/test/Stitching.Tests/Integration/FederatedRedisSchemaTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65822"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using ChilliCream.Testing;
using HotChocolate.AspNetCore.Serialization;
using HotChocolate.Execution;
using HotChocolate.Execution.Caching;
using HotChocolate.Language;
using HotChocolate.Stitchi... | 1.673936 | cb26cd1cce50b106b7ea3c71fb559744 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daverous/HockeyWW2Game",
"max_stars_repo_path": "WW2 Hockey Game/Assets/Scripts/EquipableController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65823"
} | starcoder | <filename>WW2 Hockey Game/Assets/Scripts/EquipableController.cs
using UnityEngine;
using System.Collections;
using UnityStandardAssets.CrossPlatformInput;
public enum EquipableTypes
{
Weapon,
Health,
Tool
}
public class EquipableController : MonoBehaviour
{
public GameObject[] equipables;
int equipped;
// Us... | 2.417379 | 798a750798bbc35996d3e5e9442ff534 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65823 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "drewnoakes/mef",
"max_stars_repo_path": "oob/sample/OnYourWayHome/OnYourWayHome.ServiceBus/ServiceBus/HttpFormUtility.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65824"
} | starcoder | <reponame>drewnoakes/mef
//---------------------------------------------------------------------------------
// Copyright (c), Microsoft Corporation
//---------------------------------------------------------------------------------
namespace OnYourWayHome.ServiceBus
{
using System;
using System.Collec... | 2.675256 | 90cc595321494f299b2fa451c28556e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterdrougge/ContosoMoments",
"max_stars_repo_path": "src/Cloud/ContosoMoments.Common/Models/User.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65825"
} | starcoder | using Microsoft.Azure.Mobile.Server;
using System.Collections.Generic;
namespace ContosoMoments.Common.Models
{
public class User : EntityData
{
// public Guid UserId { get; set; }
public string Email { get; set; }
public bool IsEnabled { get; set; }
public IEnum... | 1.625749 | 47d862e5a68f7314b079b10c5fb1f008 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "julianz/advent-2020",
"max_stars_repo_path": "Advent/Year2020/Day18.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65826"
} | starcoder | <reponame>julianz/advent-2020
using System;
using System.Collections.Generic;
using Advent.Util;
namespace Advent.Year2020 {
[Day(2020, 18)]
public class Day18 : DayBase {
const string Digits = "0123456789";
const string Operators = "+*";
public override string PartOne(string input) {... | 3.397771 | f8b01390bdf0fb2e0e86e18a4c6ecf58 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65826 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HTCGS/Game-of-Gods",
"max_stars_repo_path": "Scripts/Types/PlanetData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65827"
} | starcoder | <reponame>HTCGS/Game-of-Gods
using UnityEngine;
namespace SpaceEngine
{
[System.Serializable]
public class PlanetData
{
public FRange Radius;
public FRange Density;
public PlanetClass PlanetClass;
public static PlanetData A
{
get
{
... | 2.07586 | c97414f5208b44d83d27e0bbd5ca1105 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Velociraptor45/ProjectHermes-ShoppingList",
"max_stars_repo_path": "Api/ShoppingList.Api.Domain/Common/Models/Extensions/StoreExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65828"
} | starcoder | <reponame>Velociraptor45/ProjectHermes-ShoppingList
using ProjectHermes.ShoppingList.Api.Domain.ShoppingLists.Queries.ActiveShoppingListByStoreId;
using ProjectHermes.ShoppingList.Api.Domain.StoreItems.Queries.SharedModels;
using ProjectHermes.ShoppingList.Api.Domain.Stores.Models;
using ProjectHermes.ShoppingList.Api... | 1.901363 | 4a9ce7de0235b2d293d5c659dea31df5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samaneh11/Thinktecture.IdentityModel.45",
"max_stars_repo_path": "Samples/Web API Security/PortableCommon/Constants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65829"
} | starcoder | <filename>Samples/Web API Security/PortableCommon/Constants.cs
namespace Thinktecture.Samples
{
public static class Constants
{
//
// change the below constants to match your local system
//
public const string WebHostName = "roadie";
public const string SelfHostName = ... | 2.028075 | f65315bb6bbe41dbf65db5ebfb6ead08 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65829 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "NetCoreApps/TechStacks",
"max_stars_repo_path": "src/TechStacks.ServiceInterface/UserFavoriteServices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65830"
} | starcoder | <reponame>NetCoreApps/TechStacks
using System.Collections.Generic;
using System.Linq;
using ServiceStack;
using ServiceStack.OrmLite;
using TechStacks.ServiceModel;
using TechStacks.ServiceModel.Types;
namespace TechStacks.ServiceInterface
{
[Authenticate]
public class UserFavoriteServices : Service
{
... | 2.278557 | fd66c3ecd6ef16b2d2dfcfe01a6b4960 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PeaStew/Nfantom",
"max_stars_repo_path": "Nfantom.Geth/Services/EthGetTransactionErrorReason.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65831"
} | starcoder | <reponame>PeaStew/Nfantom
using System.Threading.Tasks;
using Nfantom.ABI.FunctionEncoding;
using Nfantom.Hex.HexConvertors.Extensions;
using Nfantom.JsonRpc.Client;
using Nfantom.RPC.Eth.DTOs;
using Nfantom.RPC.Eth.Services;
using Nfantom.RPC.Eth.Transactions;
namespace Nfantom.Opera.Services
{
public class EthG... | 1.722768 | f6cf146238f16c9239291f5d37a5f7a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65831 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jojo-WJ/SsitEngine",
"max_stars_repo_path": "Assets/SsitEngineAssets/Third3/RootMotion/FinalIK/IK Solvers/IKSolverCCD.cs",
"provenance": "train-00000-of-00045.jsonl.gz:65832"
} | starcoder | <gh_stars>1-10
using System;
using UnityEngine;
namespace RootMotion.FinalIK
{
/// <summary>
/// CCD (Cyclic Coordinate Descent) constrainable heuristic inverse kinematics algorithm.
/// </summary>
[Serializable]
public class IKSolverCCD : IKSolverHeuristic
{
protected override void OnI... | 2.233266 | 375cb78f3714e96ee6664567a820ff24 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 65832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheoChristo/Parallel_Tumor_Modelling",
"max_stars_repo_path": "Parallel_Tumor_ModellingConsoleApp/Parallel_Tumor_ModellingConsoleApp/MSolveLib/ISAAR.MSolve.LinearAlgebra/Matrices/Builders/PartialMatrixColumns.cs",
"provenance": "train... | starcoder | using System;
using System.Collections.Generic;
using ISAAR.MSolve.LinearAlgebra.Vectors;
namespace ISAAR.MSolve.LinearAlgebra.Matrices.Builders
{
/// <summary>
/// Facilitates the construction of a square matrix when only some of its columns are needed explicitly.
/// Authors: <NAME>
/// </s... | 3.315424 | 55e2cb59ffe75456998e0e341f330b33 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.