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 | 88661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tonysyzdek/win-cron",
"max_stars_repo_path": "Service/ServiceErrorReporter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88662"
} | starcoder | using System.Reflection;
using log4net;
using WinCron.Logging;
namespace WinCron.Service
{
public class ServiceErrorReporter : IErrorReporter
{
private static readonly ILog Log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public void Write(string text)
{
... | 2.240054 | f91ea99e4dce4302d4a6df0c608ea70c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88662 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KornnerStudios/KSoft.Phoenix",
"max_stars_repo_path": "KSoft.Phoenix/Games/HaloWars/Enums/BHUDItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88663"
} | starcoder | <gh_stars>1-10
namespace KSoft.Phoenix.HaloWars
{
public enum BHUDItem
{
Minimap,
Resources,
Time,
PowerStatus,
Units,
DpadHelp,
ButtonHelp,
Reticle,
Score,
UnitStats,
CircleMenuExtraInfo,
};
} | 0.985876 | b4480b2e5590e0a96c090c048f44ba55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dengnianchen/DLib",
"max_stars_repo_path": "Unity/UDlib/Assets/UDlib/Runtime/Core/Mathmatics/Curve.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88664"
} | starcoder | <reponame>dengnianchen/DLib<filename>Unity/UDlib/Assets/UDlib/Runtime/Core/Mathmatics/Curve.cs
using UnityEngine;
namespace UDlib.Core.Mathmatics {
public abstract class Curve {
public readonly Vector2 range;
public readonly float length;
public bool IsValid => range.x < range.y;
public Vector2 Range => ... | 2.573461 | 3fe1e9b9bd6750d28db822147cea1403 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aleksandra992/TelerikAcademy",
"max_stars_repo_path": "High Quality Code/Naming Identifiers Homework/People/People/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88665"
} | starcoder | <filename>High Quality Code/Naming Identifiers Homework/People/People/Program.cs
namespace people
{
using System;
public class People
{
public enum Gender { Male, Female };
public People()
{
}
public class Person
{
public Gender Gender { get; se... | 3.648638 | ad66491bc14f9bf8a26e450509b2c050 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tom-weatherhead/inference",
"max_stars_repo_path": "InferenceLibs/Inference.Tests/Interpreter/JSON/Parser_Fixture.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88666"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Inference.Interpreter.JSON;
using Inference.Parser;
using NUnit.Framework;
namespace Inference.Tests.Interpreter.JSON
{
[TestFixture]
public class Parser_Fixture
{
... | 2.849782 | 5943f82501c6de0039e479874d64b5d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88666 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ludoge/template-builder",
"max_stars_repo_path": "templates/aspnet-core/files/Data/MyDbContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88667"
} | starcoder | <reponame>ludoge/template-builder
using Microsoft.EntityFrameworkCore;
namespace PlatformshAspNetCore.Data
{
public class MyDbContext : DbContext
{
protected MyDbContext()
{
}
public MyDbContext(DbContextOptions options) : base(options)
{
}
}
}
| 1.380309 | 8829c8e43c92daf3420be3d3f870dcf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88667 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ctigeek/QueryHelper",
"max_stars_repo_path": "test/TestDataContainer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88668"
} | starcoder | <reponame>ctigeek/QueryHelper
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace test
{
public class TestDataContainer
{
public Dictionary<string,... | 2.799333 | 1c01f85f18982a94745537615e728ad3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88668 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "NateShoffner/Tabster",
"max_stars_repo_path": "Tabster/Database/RecentFilesManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88669"
} | starcoder | #region
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data;
using System.Data.SQLite;
using System.IO;
using System.Linq;
using Tabster.Data.Binary;
using Tabster.Data.Processing;
#endregion
namespace Tabster.Database
{
internal class RecentFile
{
... | 2.557909 | dc08f6e947d1d548e9c823fca2c88b1e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88669 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cmrudolph/adventofcode",
"max_stars_repo_path": "AOC.CSharp/2015/2015_09.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88670"
} | starcoder | using System.Text.RegularExpressions;
namespace AOC.CSharp;
public static class AOC2015_09
{
private class Data
{
// e.g. London to Belfast = 888
private static readonly Regex LineRegex = new Regex("(.*) to (.*) = (.*)");
// Lookup between two cities and the distance between them. Su... | 3.390964 | 4ed187e19d8bfa4473e9c7bf99c9c101 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88670 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sazae657/TonNurako.XImageFormat",
"max_stars_repo_path": "TonNurako.XImageFormat/Xpm/XpmLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88671"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using TonNurako.XImageFormat.Xi;
namespace TonNurako.XImageFormat {
/// <summary>
/// XPMを読むぞい
/// </summary>
public class XpmLoader {
enum... | 2.70439 | 5ab37b283f88854c411fab060ef3b325 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88671 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devious-creation/generator-aspnetcore-cqrs-identity",
"max_stars_repo_path": "source/DeviousCreation.CqrsIdentity.Domain/CommandResults/UserAggregate/EnrollDeviceCommandResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88672"
} | starcoder | <filename>source/DeviousCreation.CqrsIdentity.Domain/CommandResults/UserAggregate/EnrollDeviceCommandResult.cs
using System;
using System.Collections.Generic;
using System.Text;
using Fido2NetLib;
namespace DeviousCreation.CqrsIdentity.Domain.CommandResults.UserAggregate
{
public class EnrollDeviceCommandResult
... | 2.075027 | 760fa4abe72cdb50a1b13b980e1bb390 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HenriqueCamillo/GeometryAdventure",
"max_stars_repo_path": "Assets/Scripts/Projectile.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88673"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Projectile : MonoBehaviour {
private Rigidbody2D rb;
[Header("Variáveis de Game Design")]
[Tooltip("Velocidade com que o projétil é disparado")]
[Range(0f, 10f)] public float speed;
[Tooltip("Velocidade da ... | 2.726137 | 53194c9d15aa602cab72fa1d275d0dba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88673 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mustafizurrohman/CleanArchitecture.DDD",
"max_stars_repo_path": "CleanArchitecture.DDD.API/Usings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88674"
} | starcoder | <reponame>mustafizurrohman/CleanArchitecture.DDD
global using Serilog;
global using CleanArchitecture.DDD.API.ExtensionMethods;
global using CleanArchitecture.DDD.Core;
global using CleanArchitecture.DDD.Domain.ValueObjects;
global using CleanArchitecture.DDD.Infrastructure.Persistence.DbContext;
global using FluentVa... | 1.139402 | 8c737a2ec249bcdba98f92c23a93dfeb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "liorzoue/web-api-oauth",
"max_stars_repo_path": "src/web-api-core-oauth/Controllers/ValueController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88675"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace webApi.Controllers
{
[Authorize]
[Route("api/values")]
public class ValueController : Controller
{
public string Index()
{
return "yay";
}
}
}
| 1.790963 | 849d6d781357bbdfc08740f6daf157b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88675 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jkaveri/JKCore",
"max_stars_repo_path": "src/JKCore/Modeling/IAggregateRoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88676"
} | starcoder | <filename>src/JKCore/Modeling/IAggregateRoot.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace JKCore.Modeling
{
/// <summary>
/// A interface represent a Aggregate Root.
/// </summary>
... | 1.896353 | 64fd8bb3a43e2934a7dea3817411e461 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andr9528/TimeTracker",
"max_stars_repo_path": "TimeTracker.Api.Persistence.Core/Models/Entry.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88677"
} | starcoder | <reponame>andr9528/TimeTracker
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TimeTracker.Core.Models;
namespace TimeTracker.Api.Persistence.Core.Models
{
public class Entry : IEntry
{
[JsonConstructor]
public Entr... | 1.936297 | 80f1244f9198c7c69796cbe4c5a1f1aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88677 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EdgeLatitude/SrtVideoPlayer",
"max_stars_repo_path": "SrtVideoPlayer.Shared/PlatformServices/IUiThreadService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88678"
} | starcoder | <reponame>EdgeLatitude/SrtVideoPlayer
using System;
namespace SrtVideoPlayer.Shared.PlatformServices
{
public interface IUiThreadService
{
void ExecuteOnUiThread(Action action);
}
}
| 1.1718 | c1222d180ed043857a78b70d95cbe39f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShyAlon/DeepDev",
"max_stars_repo_path": "Common/UseCases/Project.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88679"
} | starcoder | using System;
using System.Collections.Generic;
using UIBuildIt.Common.Authentication;
using UIBuildIt.Common.Base;
namespace UIBuildIt.Common.UseCases
{
/// <summary>
/// A defined system
/// </summary>
public class Project : Item, IDeadline, IOwner
{
public virtual User Owner { get; set; ... | 2.23187 | 0f927fccb2b2294cd334e43f8bf752e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88679 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "GitTrends/GitTrends",
"max_stars_repo_path": "GitTrends/Services/GitHubApiV3Service.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88680"
} | starcoder | <filename>GitTrends/Services/GitHubApiV3Service.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GitTrends.Shared;
using Refit;
namespace GitTrends
{
public class GitHubApiV3Service : BaseMobileApiService
{
readonly Lazy<IGitHubApiV3> _githubApi... | 2.174264 | 685f618fe23759fa157f235311a146a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpaghettiLord1010/Morse-Composer",
"max_stars_repo_path": "MorseComposer/Presentation/MainWindow.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88681"
} | starcoder | namespace MorseComposer.Presentation
{
partial class MainWindow
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summa... | 1.901163 | 73e7e9d8bb9b27c9335599a450360124 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88681 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "HastenS/Zarf",
"max_stars_repo_path": "src/Zarf/Generators/Functions/Handlers/Strings/CharFunctionHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88682"
} | starcoder | using System;
using System.Linq.Expressions;
namespace Zarf.Generators.Functions.Handlers.Strings
{
public class CharFunctionHandler : PrimitiveTypeFunctionHandler
{
public override Type SoupportedType => typeof(char);
protected override void HandleParse(ISQLGenerator generator, MethodCallExp... | 2.653939 | 690e912f150a3342b5dd0dcab5cf8b18 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88682 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OlehTymoshenko/Diploma-API",
"max_stars_repo_path": "Diploma/Common.Infrastructure/Exceptions/DiplomaApiExpection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88683"
} | starcoder | using System;
using System.Net;
namespace Common.Infrastructure.Exceptions
{
public class DiplomaApiExpection : Exception
{
public HttpStatusCode ResultStatusCode { get; private set; }
public DiplomaApiExpection(string message, HttpStatusCode statusCode) : base(message)
{
... | 2.365492 | 4a1b81a616f460a130e8511b0dd86f26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88683 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "robalexclark/SilveR",
"max_stars_repo_path": "SilveR.IntegrationTests/StatsTests/ComparisonOfMeansUserBasedInputsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88684"
} | starcoder | using ControlledForms.IntegrationTests;
using SilveR.StatsModels;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Xunit;
namespace SilveR.IntegrationTests
{
public class ComparisonOfMeansUserBasedInputsTests : IClassFixture<SilveRTest... | 2.173444 | b47b9be6f84b1002bfc725a9ca8003f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88684 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "BenButzer/iFactr-Data",
"max_stars_repo_path": "MonoCross/Utilities/AndroidDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88685"
} | starcoder | using Android.App;
using MonoCross.Navigation;
using MonoCross.Utilities.Encryption;
using MonoCross.Utilities.ImageComposition;
using MonoCross.Utilities.Logging;
using MonoCross.Utilities.Resources;
using MonoCross.Utilities.Storage;
using MonoCross.Utilities.Threading;
using System.IO;
namespace MonoCross.Utilitie... | 1.82852 | dc87c4585a63db59809f41af7426bdf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88685 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tunip3/RX-Explorer",
"max_stars_repo_path": "ShareClassLibrary/PipeCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88686"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ShareClassLibrary
{
public sealed class PipeCommand
{
public string CommandText { get; set; }
public Dictionary<string, string> ExtraData { get; set; }
}
}
| 1.638875 | 8cfcbc2489e1e3af2b343dd5239cbb20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88686 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/tl-result-and-certification",
"max_stars_repo_path": "src/Tests/Sfa.Tl.ResultsAndCertification.Data.UnitTests/Repositories/TlProviderAddress/When_Update_Is_Called.cs",
"provenance": "train-00000-of-00045.jsonl.gz:8... | starcoder | using FluentAssertions;
using Sfa.Tl.ResultsAndCertification.Tests.Common.DataBuilders;
using System.Threading.Tasks;
using Xunit;
namespace Sfa.Tl.ResultsAndCertification.Data.UnitTests.Repositories.TlProviderAddress
{
public class When_Update_Is_Called : BaseTest<Domain.Models.TlProviderAddress>
{
p... | 2.326473 | 3a3f6c80a76c86ceacf8f6911b4f243f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88687 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wildbook/LeagueClientApi",
"max_stars_repo_path": "Api/LolLoot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88688"
} | starcoder | <filename>Api/LolLoot.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using LeagueClientApi.Model;
namespace LeagueClientApi.Api
{
public static class LolLoot
{
public static class V1
{
public static class CurrencyConfiguration
{
/// <... | 2.324789 | c7cd4e26395e1fb2c6f818f7247650ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88688 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "sphildreth/roadie",
"max_stars_repo_path": "Roadie.Api.Services/ISubsonicService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88689"
} | starcoder | <gh_stars>10-100
using Roadie.Library.Models.ThirdPartyApi.Subsonic;
using System.Threading.Tasks;
using User = Roadie.Library.Models.Users.User;
namespace Roadie.Api.Services
{
public interface ISubsonicService
{
Task<SubsonicOperationResult<Response>> AddChatMessageAsync(Request request, User roadie... | 1.593344 | 48a1d802716034d6a24523f78b60077b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Inwerwm/PEPWeightFromMorph",
"max_stars_repo_path": "WeightFromMorph/CtrlForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88690"
} | starcoder | <gh_stars>0
using PEPlugin;
using PEPlugin.Pmx;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Windows.Forms;
namespace WeightFromMorph
{
public partial class CtrlForm : Form
{
IPERunArgs args;
IPXPmx pmx;
float threshold;
p... | 2.01705 | 062367afb0100b421cd64193fbe44c98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andrija-mitrovic/MedicalAppointment",
"max_stars_repo_path": "MedicalAppointment.Core/Interfaces/IAppointmentService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88691"
} | starcoder | <reponame>andrija-mitrovic/MedicalAppointment
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace MedicalAppointment.Core.Interfaces
{
public interface IAppointmentService
{
Task<int> GetAppointmentsNumberAsync();
}
}
| 1.435992 | 7ccbb5cf8981530182f573f0974ddda7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88691 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "rampa3/MetaGenNeos",
"max_stars_repo_path": "VideoConverter/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88692"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Threading;
namespace VideoConverter
{
class Program
{
static List<Task> ffmpegtasks = new List<Task>();
static System.Collections.Sp... | 2.997132 | ddbece4dfdf9ddd647f55fcad1881d01 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88692 | {
"extension": "c-sharp",
"max_stars_count": "59.0",
"max_stars_repo_name": "prodypanda/mail-check",
"max_stars_repo_path": "src/dotnet/Dmarc/src/Dmarc.DomainStatus.Api/Domain/AggregateSummary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88693"
} | starcoder | <filename>src/dotnet/Dmarc/src/Dmarc.DomainStatus.Api/Domain/AggregateSummary.cs
using System;
using System.Collections.Generic;
namespace Dmarc.DomainStatus.Api.Domain
{
public class AggregateSummary
{
public AggregateSummary(SortedDictionary<DateTime, AggregateSummaryItem> results, int totalEmail)
... | 2.220523 | 0771f570d261746b7155b7a60c5a8ec4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88693 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Qrbaker/sonar-dotnet-vscode",
"max_stars_repo_path": "samples/sonar-dotnet-lint/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88694"
} | starcoder | <gh_stars>1-10
using System;
namespace Sonar.Dotnet.Lint
{
class Program
{
static void Main(string[] args)
{
var sum = Sum(10, 10);
Console.WriteLine($"Sum: {Sum(10, 10)}");
}
public static int Sum(int a, int b) => a + b;
}
}
| 2.853622 | 2021bb976fd1500a6af61428e82a8b3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88694 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MaxAtoms/RoomieReloaded",
"max_stars_repo_path": "RoomieReloaded/Services/CalendarEvents/CalendarEventFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88695"
} | starcoder | using System.Threading.Tasks;
using Ical.Net.CalendarComponents;
using Ical.Net.DataTypes;
using Microsoft.Extensions.Logging;
using RoomieReloaded.Models.Calendar;
using RoomieReloaded.Models.Users;
using RoomieReloaded.Services.Chat;
using RoomieReloaded.Services.Rooms;
using RoomieReloaded.Services.Users;
namespac... | 2.373701 | da134c30213e79417949a6656ff54b2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jorgesanabria/TheHoz",
"max_stars_repo_path": "Hoz/Kernel/Contracts/IKernel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88696"
} | starcoder | namespace TheHoz.Hoz.Kernel.Contracts
{
public interface IKernel
{
void Register(string key, IComponent component);
IComponent Resolve<TReturn>(string key) where TReturn : class, IComponent;
}
}
| 2.026877 | ed15dc3381f7bdb01206089c93ba8c8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88696 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Retroperspect/Math-stuff",
"max_stars_repo_path": "discrete math/Math/Assignment_3 - Set Theory/Assignment_3 - Set Theory/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88697"
} | starcoder | <reponame>Retroperspect/Math-stuff
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assignment_3___Set_Theory
{
class Program
{
static void Main(string[] args)
{
int[] A = new int[] { 1, 2, 3, 4, 5, 6, 7, ... | 3.025453 | f3f3cc03d8ea3f053ca346486f23abe8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88697 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "ttanner44/monsters",
"max_stars_repo_path": "Training.CSharpWorkshop/AdminUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88698"
} | starcoder | <filename>Training.CSharpWorkshop/AdminUser.cs<gh_stars>10-100
namespace Training.CSharpWorkshop
{
public class AdminUser : User
{
public AdminUser()
{
Role = RoleEnum.Admin;
}
public bool AdminMethodOnly()
{
return true;
}
}
}
| 2.58046 | 679d6249bf2c3a1e5fa251e88a5ca012 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88698 | {
"extension": "c-sharp",
"max_stars_count": "1139.0",
"max_stars_repo_name": "DOSYCORPS/puppeteer-sharp",
"max_stars_repo_path": "lib/PuppeteerSharp.DevicesFetcher/Models.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88699"
} | starcoder | <reponame>DOSYCORPS/puppeteer-sharp<filename>lib/PuppeteerSharp.DevicesFetcher/Models.cs
using Newtonsoft.Json;
namespace PuppeteerSharp.DevicesFetcher
{
public class RootObject
{
public Extension[] Extensions { get; set; }
public class Extension
{
public string Type { get;... | 2.245305 | 423c98f827d05f7e362cd2de1c377115 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88699 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Muratam/gensundai_elevator",
"max_stars_repo_path": "Assets/Scripts/Elevator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88700"
} | starcoder | <reponame>Muratam/gensundai_elevator<gh_stars>0
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
using System.Linq;
using UnityEngine.Rendering;
using UnityEngine.SceneManagement;
using UnityEngine.Networking.Types;
public class Elevator : MonoBehaviour {
Camera m_camera;
float suc ... | 1.927028 | 421ad65ce75eef3823e8eb60bb42b41d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88700 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrJellyB/finals-basketMatcher",
"max_stars_repo_path": "Basket.Common/Basket.Common/Enums/eCategory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88701"
} | starcoder | <reponame>MrJellyB/finals-basketMatcher
using System;
using System.Collections.Generic;
using System.Text;
namespace Basket.Common.Enums
{
public enum eCategory
{
MilkAndEggs = 1,
Bread = 2,
FruitAndVegs = 3,
MeatAndFish = 4,
Candies = 5,
Dganim = 6,
Fre... | 2.21699 | 659196307e40b1707bf51f781bd3ac09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adobrzyc/modulos.testing",
"max_stars_repo_path": "examples/Examples.From.Documentation/Basics/Fixtures/Domain/IUserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88702"
} | starcoder | namespace Examples.From.Documentation.Basics.Domain
{
using System.Collections.Generic;
public interface IUserRepository : IEnumerable<User>
{
}
} | 1.449413 | cc256a78886a6b0b121f3865935372be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88702 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "v5u/cripsy",
"max_stars_repo_path": "src/Crispy.Abstractions/Responses/CrispyEnvironmentInfoResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88703"
} | starcoder | namespace Crispy.Abstractions
{
using System;
using System.Collections.Generic;
using System.Text;
public class CrispyEnvironmentInfoResponse
{
public CrispyEnvironmentInfoResponse() { }
public CrispyEnvironmentInfoResponse(CrispyEnvironment environment)
{
this.... | 2.285643 | ac37e7dca0f2b43c10936c5c10a07cf8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88703 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "leeyahui/agsXMPP-WinFormIM",
"max_stars_repo_path": "MiniClient/frmXData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88704"
} | starcoder | <reponame>leeyahui/agsXMPP-WinFormIM<gh_stars>10-100
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using agsXMPP.protocol.x.data;
namespace MiniClient
{
/// <summary>
/// Summary description for frmXData.
/// </summary>
public class frmXData... | 1.628427 | 1c185ca026699110a4b557fa8d08a4cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88704 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ncoe/rosetta",
"max_stars_repo_path": "Random_Latin_Squares/CS/RandomLatinSquares/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88705"
} | starcoder | using System;
using System.Collections.Generic;
namespace RandomLatinSquares {
using Matrix = List<List<int>>;
// Taken from https://stackoverflow.com/a/1262619
static class Helper {
private static readonly Random rng = new Random();
public static void Shuffle<T>(this IList<T> list) {
... | 3.781707 | 1978ed146677bb48d43bfab83410b574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "simeonovsimeon96/Tetris",
"max_stars_repo_path": "Tetris/Tetris/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88706"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
namespace Tetris
{
static class Program
{
public static string sqr = "■";
public static int[,] grid = new int[23, 10];
public static int[,] droppedtetrominoeLocationGrid = new int[23, ... | 2.728614 | 0574845da905d3b18f3f13b7accd4156 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88706 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikeWilliams-UK/Word-VSTO-Template",
"max_stars_repo_path": "MyFirstTemplate/Logger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88707"
} | starcoder | using System;
using System.Diagnostics;
using System.IO;
namespace MyFirstTemplate
{
public static class Logger
{
private const string FileName = @"C:\Temp\VSTO.log";
public static void Info(string message)
{
WriteToFile($"{TimeStamp()} - Info - {message}");
}
... | 3.264943 | 8016c825f0c8b252997c640ca276c166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88707 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "byspeece/ArchOSU",
"max_stars_repo_path": "osu.Game.Rulesets.Osu/Objects/SpinnerBonusTick.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88708"
} | starcoder | <reponame>byspeece/ArchOSU<filename>osu.Game.Rulesets.Osu/Objects/SpinnerBonusTick.cs
// Copyright (c) <NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Audio;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Scoring;
... | 1.440637 | 888574f11675bbf9957bf87700a7254c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "x10an14/SlackNet",
"max_stars_repo_path": "SlackNet/Blocks/StaticSelectMenu.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88709"
} | starcoder | using System.Collections.Generic;
namespace SlackNet.Blocks
{
/// <summary>
/// This is the simplest form of select menu, with a static list of options passed in when defining the element.
/// </summary>
[SlackType("static_select")]
public class StaticSelectMenu : BlockElement, IActionElement
... | 2.769596 | 54671873850a63a589c7712f1a5fbb5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88709 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Karob2/eventide",
"max_stars_repo_path": "Source/Demos/Sandbox/Scenes/Level.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88710"
} | starcoder | <filename>Source/Demos/Sandbox/Scenes/Level.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Eventide;
using Eventide.Scenes;
using Eventide.Systems;
namespace Sandbox.Scenes
{
public class Level : Scene
{
public Level() : bas... | 1.715694 | 34f37c512f9909a270eecb7d5aba2a6e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svetlimladenov/C-Sharp-OOP-Basics-June-2017",
"max_stars_repo_path": "05.Exam Preparation 1/Need For Speed/AllRaces/DriftRace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88711"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class DriftRace : Race
{
public DriftRace(int length, string route, int prizePool, List<Car> participants,string type)
: base(length, route, prizePool, participants,type)... | 1.822139 | 6f9dcaf535cd94ae8377a0024a97f64a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88711 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Jumpercables/Wave",
"max_stars_repo_path": "src/Wave.Extensions.Esri/System/Windows/Behaviors/Controls/PasswordBox/PasswordBoxBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88712"
} | starcoder | using System.Windows.Controls;
namespace System.Windows.Behaviors
{
/// <summary>
/// Provides the ability to DataBinding to the <see cref="PasswordBox" /> using a dependency property.
/// </summary>
public static class PasswordBoxBehavior
{
#region Fields
/// <summary>
... | 3.117503 | 79e11424e92c5e6a0b5a4f98b9f1c0df |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88712 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Pegmode/Unity-Custom-Tile-Slicer",
"max_stars_repo_path": "SpriteTileSlicerWindow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88713"
} | starcoder | using UnityEngine;
using UnityEngine.Tilemaps;
using UnityEditor;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
public class SpriteTileSlicerWindow : EditorWindow
{
//styling
//GUIStyle headerStyle = new GUIStyle();
//WorkProperites
private Texture2D sp... | 1.918986 | 31641942b201a92be7f40e24d71b0a81 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88713 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Orochimaru12345/unity_courses",
"max_stars_repo_path": "Project_Boost/Assets/Scripts/LevelLoader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88714"
} | starcoder | <reponame>Orochimaru12345/unity_courses
using UnityEngine;
using UnityEngine.SceneManagement;
public class LevelLoader : MonoBehaviour
{
public void LoadLevel(int i)
{
SceneManager.LoadScene(i);
}
}
| 1.31602 | f60929d9b5ab09b2e37439b591272c88 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88714 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vincentgeneste/PhantasmaExplorer",
"max_stars_repo_path": "PhantasmaExplorer/Domain/Entities/Transaction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88715"
} | starcoder | using System.Collections.Generic;
using Phantasma.Explorer.Domain.ValueObjects;
namespace Phantasma.Explorer.Domain.Entities
{
public class Transaction
{
public Transaction()
{
AccountTransactions = new List<AccountTransaction>();
Events = new List<Event>();
}
... | 1.910982 | b0feee59cefda8b09ad59bae38ce83d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88715 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "narvikmunicipality/WebSakRobotNettside",
"max_stars_repo_path": "HRMHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88716"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Net;
using System.Text;
using System.Web.Configuration;
using System.Xml;
namespace WebSakFilopplaster.Net_AD
{
public class HRMHelper
{
private static string Username
{
... | 2.13245 | 7bbfe85cc60fcdade6f5ffaba55d87a6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88716 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NaosProject/Naos.Database",
"max_stars_repo_path": "Naos.Database.Domain/Stream/MemoryStream/MemoryReadWriteStream.Write.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88717"
} | starcoder | <gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MemoryReadWriteStream.Write.cs" company="Naos Project">
// Copyright (c) Naos Project 2019. All rights reserved.
// </copyright>
// -----------------------------... | 1.911531 | 20159864754e0141d7d0e4fe1fb65d5f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88717 | {
"extension": "c-sharp",
"max_stars_count": "408.0",
"max_stars_repo_name": "DavidWang88/VBF",
"max_stars_repo_path": "src/Samples/MiniSharp/Targets/Cil/EmitTranslator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88718"
} | starcoder | <gh_stars>100-1000
// Copyright 2012 <NAME>
//
// This file is part of the VBF project.
//
// 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/LICENS... | 2.039113 | 69d3d97f67b1a6f459af5823c8c42ca0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88718 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "avas/morphey-jr",
"max_stars_repo_path": "src/MorpheyJr/DiceRolling/DiceRoller.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88719"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
namespace DiscordBotPlayground.DiceRolling
{
public class DiceRoller : IDiceRoller
{
public SummaryRollResult Roll(IList<DiceGroup> diceGroups)
{
var result = new SummaryRollResult();
foreach (var group in dic... | 2.936647 | 98e2685e00d337ee4c0c1ae3231d20e9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88719 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "crasshacker/STak",
"max_stars_repo_path": "src/app/TakHub/Server/TakHubServiceRegistrar.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88720"
} | starcoder | <filename>src/app/TakHub/Server/TakHubServiceRegistrar.cs
using Microsoft.Extensions.DependencyInjection;
using Autofac;
using STak.TakHub.Hubs;
using STak.TakHub.Core.Hubs;
using STak.TakHub.Core.Interfaces.Hubs;
using STak.TakEngine;
using STak.TakEngine.Management;
namespace STak.TakHub.Helpers
{
public class T... | 1.824151 | cc2cf31b5b4b2cb550989428872ff69a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88720 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Marcin99b/Hated",
"max_stars_repo_path": "Backend/Hated.Api/Controllers/CommentsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88721"
} | starcoder | <reponame>Marcin99b/Hated
using System;
using System.Threading.Tasks;
using Hated.Infrastructure.Commands.Comment;
using Hated.Infrastructure.DTO;
using Hated.Infrastructure.Extensions;
using Hated.Infrastructure.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extens... | 2.430869 | 77e84bacec8d9563e3c94625a3829b09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88721 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "ebubekirdinc/ProgecDo",
"max_stars_repo_path": "src/ProgecDo.Web/Pages/Shared/Components/Projects/ProjectsViewComponent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88722"
} | starcoder | <reponame>ebubekirdinc/ProgecDo
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ProgecDo.Projects;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc;
namespace ProgecDo.Web.Pages.Shared.Components.Projects
{
public class ProjectsViewComponent : AbpViewComponent
{
// pu... | 1.812628 | cb6f59b89d5362563f23227fcd5e6884 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88722 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-sadegh-sh/WebPlex.Applications.CompactStore",
"max_stars_repo_path": "src/WebPlex.Applications.CompactStore/Views/Account/UpdateProfile.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88723"
} | starcoder | @model CustomerModel
@{
Layout = Views.Shared._MinimalLayout_cshtml;
ViewBag.Title = Resources.Views_Account_UpdateProfile_Meta_Title;
}
<div id="WebPlex-UpdateProfileContainer" class="WebPlex-BoxContainer WebPlex-Clearfix">
@Html.Partial(Views.Account._UpdateProfile_cshtml, Model)
</div> | 1.380991 | 93a8cf26cd655ec1e9ec575357472b95 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88723 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SpeedOfSpin/DocumentDbExplorer",
"max_stars_repo_path": "src/DocumentDbExplorer/Infrastructure/TemplateSelectors/DocumentDescriptionTemplateSelector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88724"
} | starcoder | <filename>src/DocumentDbExplorer/Infrastructure/TemplateSelectors/DocumentDescriptionTemplateSelector.cs
using System.Windows;
using System.Windows.Controls;
using DocumentDbExplorer.Services;
namespace DocumentDbExplorer.Infrastructure.TemplateSelectors
{
public class DocumentDescriptionTemplateSelector : DataTe... | 2.284849 | 07f753fb90989245d2399bb721fd104e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88724 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GhooTS/PlanetExplorer",
"max_stars_repo_path": "Assets/Scripts/Cameras/Utility/MovementLimiter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88725"
} | starcoder | using UnityEngine;
[System.Serializable]
public class MovementLimiter
{
public Bounds bounds;
[Range(0, 100)]
public float margin;
public Transform boundsCenterTarget;
public Vector2 GetPosition(Vector2 movePosition)
{
SetBoundsCenterToTargetPosition();
movePosi... | 2.307449 | c3c3cde05e05522a5737d2521aaab37f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88725 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "yswenli/WEF",
"max_stars_repo_path": "ModelGenerator/Forms/TemplateToCodeForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88726"
} | starcoder |
namespace WEF.ModelGenerator.Forms
{
partial class TemplateToCodeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </s... | 1.635153 | 9ab45bf89902e1c3b0ca410ad9d0af02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88726 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "malering/ET",
"max_stars_repo_path": "Unity/Assets/VCFrame/EngineCode/ThirdParty/Animancer/Internal/Interfaces/IHasEvents.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88727"
} | starcoder | // Animancer // https://kybernetik.com.au/animancer // Copyright 2021 Kybernetik //
namespace Animancer
{
/// <summary>An object which has an <see cref="AnimancerEvent.Sequence.Serializable"/>.</summary>
/// <remarks>
/// Documentation: <see href="https://kybernetik.com.au/animancer/docs/manual/events/anim... | 2.383165 | 4d9d68d799713bb8f80958726d5c3bb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88727 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GitHarr/SoftUni",
"max_stars_repo_path": "Homework/DBFundamentals/Databases Advanced - Entity Framework/01.DB Apps Introduction/Exercises/p07.PrintAllMinionNames/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88728"
} | starcoder | using p01.InitialSetup;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace p07.PrintAllMinionNames
{
public class StartUp
{
public static void Main(string[] args)
{
using (SqlConnection connection = new SqlConnection(Configurat... | 3.417429 | 656824447ce3c65c779d881f539fb211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88728 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "technodesigner/Perspective",
"max_stars_repo_path": "Library/Perspective.Wpf/ResourceStrings/ResourceStringManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88729"
} | starcoder | <reponame>technodesigner/Perspective
//------------------------------------------------------------------
//
// For licensing information and to get the latest version go to:
// http://www.codeplex.com/perspective
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER EX... | 2.519622 | e32fac2090bbb8df6b2f8d927a78dcbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88729 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Teravus/RebootTechChatBot",
"max_stars_repo_path": "RebootTechBotLib/Infrastructure/ChatModuleManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88730"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RebootTechBotLib.Infrastructure
{
public class ChatModuleManager
{
private Dictionary<Guid, IChatModule> m_LoadedModules = new Dictionary<Guid, IChatModule>();
... | 2.174498 | fc9d96b27b23e40e045c01c193e91231 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88730 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paiden/BeeSharp",
"max_stars_repo_path": "source/BeeSharp/Types/AbsDirPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88731"
} | starcoder | using System;
using System.IO;
using BeeSharp.Extensions;
using static BeeSharp.Internal.PathStringUtils;
namespace BeeSharp.Types
{
public partial struct AbsDirPath : IConstrainedType<AbsDirPath>
{
private readonly string value;
private AbsDirPath(string p) => this.value = p;
publi... | 2.901575 | b85f2f7a69f81aa7a8a2e9b236951a54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88731 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "samsheffield/2D_Level_And_Narrative_Design",
"max_stars_repo_path": "Week 4/Assets/Scripts/HandleOutline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88732"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
// Don't forget!
using cakeslice;
public class HandleOutline : MonoBehaviour
{
private Outline outline;
private void Start()
{
outline = GetComponent<Outline>();
}
private void OnMouseEnter()
{
ou... | 1.985804 | 6780c8b1162e309e8909f18c93e9e003 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88732 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210342/TPUM",
"max_stars_repo_path": "Src/Shared/LogicTests/Entities/AuthorTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88733"
} | starcoder | <reponame>210342/TPUM
using System;
using System.Collections.Generic;
using TPUM.Shared.Logic.WebModel;
using Xunit;
namespace TPUM.Shared.LogicTests.Entities
{
public class AuthorTest
{
[Fact]
public void TypeGuidTest()
{
Assert.Equal(Guid.Parse("EB2E9E9F-C340-4244-BC2D-4B... | 2.638911 | bb1878af5f12d0e3f9c14f9f6e12ef87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88733 | {
"extension": "c-sharp",
"max_stars_count": "244.0",
"max_stars_repo_name": "galenp/ncqrs",
"max_stars_repo_path": "Framework/src/Ncqrs/Eventing/CommittedEventStream.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88734"
} | starcoder | <reponame>galenp/ncqrs<gh_stars>100-1000
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace Ncqrs.Eventing
{
public class CommittedEventStream : IEnumerable<CommittedEvent>
{
private readonly long _fromVe... | 2.572814 | 93d3d1990e09fb3ca4899c6245559d7c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88734 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gellios3/Unity-Home-Work-3",
"max_stars_repo_path": "Assets/Scripts/Struct/ChatStruct.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88735"
} | starcoder | <reponame>gellios3/Unity-Home-Work-3<filename>Assets/Scripts/Struct/ChatStruct.cs<gh_stars>0
using UnityEngine;
namespace Struct
{
public struct ChatStruct
{
public string Msg;
public Color Color;
public int PlayerId;
}
} | 1.366405 | 4c128850109cb9cc57f877b225043bb8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88735 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yellokondi/FamilyCongress",
"max_stars_repo_path": "Models/FileInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88736"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FamilyCongress2015.Models
{
public class FileInfo
{
public string FilePath { get; set; }
public string FileName { get; set; }
}
} | 1.643404 | a2695e5d73e865b4af7d7fcf9c37241d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88736 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RychuP/SadCanvas",
"max_stars_repo_path": "Test/Pages/ChangingTextures.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88737"
} | starcoder | <reponame>RychuP/SadCanvas
using Test.Screen;
namespace Test.Pages;
internal class ChangingTextures : Page
{
public ChangingTextures() : base("Texture Utilities",
"Canvas includes static methods to load and create textures.")
{
var a = HorizontalAlignment.Center;
// starting with a ... | 3.065345 | 96a5ad11f01e48e35463228c64bdad05 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88737 | {
"extension": "c-sharp",
"max_stars_count": "71.0",
"max_stars_repo_name": "ScriptBox99/msgraph-beta-sdk-dotnet",
"max_stars_repo_path": "src/Microsoft.Graph/Generated/model/UserSimulationEventInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88738"
} | starcoder | <gh_stars>10-100
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ----------------------------------------------------------------... | 1.510598 | 2d8674b2928753176e7d0e0d0fe97d87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88738 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "breno-sapucaia/SantafeApi",
"max_stars_repo_path": "Services/IdentityService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88739"
} | starcoder | using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Configuration;
using Microsoft.IdentityModel.Tokens;
using SantafeApi.Infraestrucutre.Data;
using SantafeApi.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Securi... | 2.37668 | 828f732f8e7ac161192196df66d3e302 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88739 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Roukanken42/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/ViewModels/ClassManagers/NullClassLayoutVM.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88740"
} | starcoder | <gh_stars>10-100
namespace TCC.ViewModels.ClassManagers
{
internal class NullClassLayoutVM : BaseClassLayoutVM
{
}
}
| 0.836743 | d84e8ef7efdec39b6c6b64842376223a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88740 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Zelenov/SharpSqlBuilder",
"max_stars_repo_path": "SharpSqlBuilder/Maps/OrderMapItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88741"
} | starcoder | <gh_stars>1-10
namespace SharpSqlBuilder.Maps
{
public class OrderMapItem
{
public OrderMapItem()
{
}
public OrderMapItem(SqlColumn prop, OrderDirection direction)
{
Prop = prop;
Direction = direction;
}
public SqlColumn Prop { g... | 2.065711 | acf82f36cf015bc4c20672749c46d3be |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88741 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bubdm/Cube.Core",
"max_stars_repo_path": "Libraries/Core/Sources/Native/ShStockIconInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88742"
} | starcoder | /* ------------------------------------------------------------------------- */
//
// Copyright (c) 2010 CubeSoft, 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 obtain a copy of the License at
//
// http://www.... | 1.635839 | 60d4031265aebe189a3ec06f13e0e676 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88742 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DouglasSM747/glboard-package-unity",
"max_stars_repo_path": "Editor/RecordPlayerPath.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88743"
} | starcoder | <filename>Editor/RecordPlayerPath.cs
using System;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class PositionObject
{
private float x;
private float y;
public PositionObject(float x, float y)
{
this.x = x;
this.y = y;
}
}
public class RecordPla... | 2.655974 | ad98460b7ca4ff97c3126e03a0160791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88743 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "Scartiana/StardewMods",
"max_stars_repo_path": "EntoaroxUtilities/Internals/Api/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88744"
} | starcoder | <reponame>Scartiana/StardewMods<gh_stars>10-100
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using StardewValley;
namespace Entoarox.Utilities.Internals.Api
{
internal static class Data
{
internal static Dictionary<string, Func<string, Item>> Handler... | 2.045199 | 4842bb29aacf36c4f3dbfb8b64e28de3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88744 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sussumu/backoffice",
"max_stars_repo_path": "Backoffice.Adapters.Database/Adapters/Infrastructure/QueryWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88745"
} | starcoder | using Backoffice.Adapters.Database.Configurations;
using Backoffice.Application.Commands;
using Backoffice.Application.Ports;
using Dapper;
using System;
using System.Data.SqlClient;
using System.Threading.Tasks;
namespace Backoffice.Adapters.Database.Adapters.Infrastructure
{
public class QueryWriter : IQueryCre... | 2.199528 | 7ec662bd31f2cb8933bc7eb551d1fa0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88745 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AKS2044/TMS-DotNet02-Online-Aksenchik",
"max_stars_repo_path": "src/CourseProject.Logic/Interfaces/IJwtService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88746"
} | starcoder | namespace Course_Project.Logic.Interfaces
{
/// <summary>
/// JWT service.
/// </summary>
public interface IJwtService
{
/// <summary>
/// Generate Jwt Token.
/// </summary>
/// <param name="userId">User identifier.</param>
/// <param name="secret">Secret key... | 2.242516 | afb774d0a2cdcfc3432b604f9b3e3006 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88746 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vesopk/TechModuleExtended-Exercises",
"max_stars_repo_path": "ObjectsAndClassesMoreExercises/test/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88747"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace test
{
class Program
{
static void Main(string[] args)
{
var numbers = new List<int> {1, 2, 3, 4, 5};
var numbersToString = new List... | 2.488549 | 591e0d4265c78f277320257a83cd8972 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88747 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tt9891/XUnity.AutoTranslator",
"max_stars_repo_path": "src/XUnity.AutoTranslator.Plugin.Core/TextTranslationInfoExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88748"
} | starcoder | namespace XUnity.AutoTranslator.Plugin.Core
{
internal static class TextTranslationInfoExtensions
{
public static bool GetIsKnownTextComponent( this TextTranslationInfo info )
{
return info != null && info.IsKnownTextComponent;
}
public static bool GetSupportsStabilization( this... | 1.711067 | 8f741cc5ad4cbdebc6a1e73f3dfc5a20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88748 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "PHPPlay/RemoteControl",
"max_stars_repo_path": "RemoteControlBase/Protocol/RemoteExplorer/Requests/GetContentInfoReq.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88749"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace iWay.RemoteControlBase.Protocol.RemoteExplorer.Requests
{
public class GetContentInfoReq : BasicReq
{
public string ContentPath;
}
}
| 1.343661 | a61291a99680e213aaf2ea00a7886f89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88749 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "giovanialtelino/cooors",
"max_stars_repo_path": "Cooors/FakeCookieReaderMiddleware.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88750"
} | starcoder | using System.Threading.Tasks;
using System;
using Microsoft.AspNetCore.Http;
namespace Cooors.Middleware
{
public class FakeCookieReader
{
private readonly RequestDelegate _next;
public FakeCookieReader(RequestDelegate next)
{
_next = next;
}
public async T... | 2.54973 | fdbf1378198bd6a3f1a6430365a888ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88750 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JeroMiya/androidmono",
"max_stars_repo_path": "MonoJavaBridge/android/generated/android/provider/UserDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88751"
} | starcoder | <reponame>JeroMiya/androidmono
namespace android.provider
{
[global::MonoJavaBridge.JavaClass()]
public partial class UserDictionary : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
protected UserDictionary(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
{
}
... | 1.748601 | 13a1337408d0a743ba828295de917540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88751 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "Microsoft/Microservices-Architecture",
"max_stars_repo_path": "Source/ContosoEventsPoC-InfrastructureEdition/Src/ContosoEvents.Shared/Services/LogListeners/AzureFunctionLogListener.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88... | starcoder | using ContosoEvents.Models;
using ContosoEvents.Shared.Services.LogSources;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
using System;
namespace ContosoEvents.Shared.Services.LogListeners
{
public class AzureFunctionLogListener : GenericLogListener
{... | 2.487636 | 7f0226c244c338b7a5c6dfd49c3bbb87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88752 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "TheRealEamonCS/Eamon-CS",
"max_stars_repo_path": "Adventures/TheDeepCanyon/Game/States/Player/AfterPlayerMoveState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88753"
} | starcoder |
// AfterPlayerMoveState.cs
// Copyright (c) 2014+ by <NAME>. All rights reserved.
using Eamon.Game.Attributes;
using EamonRT.Framework.Combat;
using EamonRT.Framework.Primitive.Enums;
using EamonRT.Framework.States;
using static TheDeepCanyon.Game.Plugin.PluginContext;
namespace TheDeepCanyon.Game.Stat... | 2.052872 | 2a81823c81a3e82b7bedcd648f8d643f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88753 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alekseevpg/RottenTomatoes",
"max_stars_repo_path": "RottenTomatoes/Helpers/IoCContainer/Container.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88754"
} | starcoder | <reponame>alekseevpg/RottenTomatoes
namespace RottenTomatoes.Helpers.IoCContainer
{
public static class Container
{
private static IContainerAdapter _containerAdapter;
public static void Init(IContainerAdapter containerAdapter)
{
_containerAdapter = containerAdapter;
... | 2.176071 | 394191a7c62007469697ef244111343d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88754 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JustMeGaaRa/Silent.Practices",
"max_stars_repo_path": "test/Silent.Practices.Persistance.Tests/MemoryRepositoryTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88755"
} | starcoder | <reponame>JustMeGaaRa/Silent.Practices
using Silent.Practices.DDD;
using System;
using System.Collections.Generic;
using Xunit;
namespace Silent.Practices.Persistance.Tests
{
public class MemoryRepositoryTest
{
[Fact]
public async void Add_NewEntity_ShouldReturnTrue()
{
// ... | 2.731817 | 6d9bf56b5cc75d6988d033a899e54d8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88755 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "gemstone/pqdif",
"max_stars_repo_path": "src/Gemstone.PQDIF/Logical/ChannelInstance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88756"
} | starcoder | //******************************************************************************************************
// ChannelInstance.cs - Gbtc
//
// Copyright © 2012, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the Grid Protection Alliance (GPA) under one or more contributor license agreements. See
// ... | 1.998375 | 67188196d496dac77903a3cefd1c5099 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88756 | {
"extension": "c-sharp",
"max_stars_count": "978.0",
"max_stars_repo_name": "DukeChiang/CSharp.lua",
"max_stars_repo_path": "test/BridgeNetTests/Batch1/src/BasicCSharp/TestMethodParametersClass.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88757"
} | starcoder | using Bridge.Test.NUnit;
namespace Bridge.ClientTest.BasicCSharp
{
[Category(Constants.MODULE_BASIC_CSHARP)]
[TestFixture(TestNameFormat = "Method parameters - {0}")]
public class TestMethodParametersClass
{
private static int MethodDefault(int i = 5)
{
return i;
}
... | 2.766825 | 322fb4d647f7a87c7d4f6e99e750f860 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88757 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "horker/Horker.MXNet",
"max_stars_repo_path": "source/Horker.MXNet.PowerShell/generated/ImageImgCmdlets.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88758"
} | starcoder | using System.Collections.Generic;
using System.Management.Automation;
using MxNet;
using MxNet.Initializers;
using MxNet.Optimizers;
using MxNet.Image;
using MxNet.Gluon;
using MxNet.Gluon.RNN;
using OpenCvSharp;
using NumpyDotNet;
namespace Horker.MxNet.PowerShell
{
[Cmdlet("Get", "MxImageImRead")]
[Alias("mx... | 2.176685 | 2254eed6d443fa717e231109090d6d92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88758 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MrMYX/StartingUnity2D",
"max_stars_repo_path": "Introducing/Library/PackageCache/com.unity.visualscripting@1.5.2/Editor/VisualScripting.Core/Plugin/Acknowledgements/Acknowledgement_MiscUtil.cs",
"provenance": "train-00000-of-00045.jso... | starcoder | namespace Unity.VisualScripting
{
[Plugin(BoltCore.ID)]
internal class Acknowledgement_MiscUtil : PluginAcknowledgement
{
public Acknowledgement_MiscUtil(Plugin plugin) : base(plugin) { }
public override string title => "MiscUtil";
public override string author => "<NAME>";
... | 1.52475 | d80e6846cac338e65e84484d1293de09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tanyta78/CSharpAdvanced",
"max_stars_repo_path": "StackAndQueue/StackEx.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88760"
} | starcoder | namespace StackAndQueueEx
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class StackEx
{
public static void Main()
{
// ReverseNumberswithaStack();
// BasicStackOperations();
//MaximumElement... | 3.507319 | fa1c803b0764014823248e77f44cbfd4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Twtcer/LandWind.Blog",
"max_stars_repo_path": "src/LandWind.Blog.Application/Authorize/OAuth/OAuthServiceBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88761"
} | starcoder | <reponame>Twtcer/LandWind.Blog<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using LandWind.Blog.Application.Users;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Volo.Abp.... | 1.961417 | a1e652cc66632701419e928c404db805 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.