added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94361 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Scrivener07/Endless-Studio",
"max_stars_repo_path": "Source/Studio.ES2/Amplitude/Unity/Simulation/quest/QuestExecutionTreeDecorator_ExploredNode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94362"
} | starcoder | <filename>Source/Studio.ES2/Amplitude/Unity/Simulation/quest/QuestExecutionTreeDecorator_ExploredNode.cs<gh_stars>1-10
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace ES2.Amplitude.Unity.Simulation
{
... | 2.007092 | 38ef52119fc67cb525ffa46f33856be0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elcinertugrul/atit-beta",
"max_stars_repo_path": "src/atit_beta/atit/GeoCoder_AddressLookup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94363"
} | starcoder | <filename>src/atit_beta/atit/GeoCoder_AddressLookup.cs
using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using Rhino.Geometry;
using atit.Helpers;
using atit.Properties;
namespace atit
{
public class GeoCoder_AddressLookup : GH_Component
{
/// <summary>
/// Initializes... | 2.478472 | d50fe6b91de6504f692d039eb9359f53 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94363 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fabianmuehlboeck/monnom",
"max_stars_repo_path": "sourcecode/TypeChecker/StdLib/IComparable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94364"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Nom.Language;
namespace Nom.TypeChecker.StdLib
{
class IComparable : AStdInterface
{
private MethodDeclDef CompareMethod;
public static IComparable Instance { get; } = new IComparable();
private ICo... | 2.226288 | 9efd5285f0ef14f7e5c806ea52c5e1d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "williamccondori/UPT.BOT",
"max_stars_repo_path": "UPT.BOT.Presentacion.Web.Acceso/Gestion/Informacion/AdmisionProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94365"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using UPT.BOT.Aplicacion.DTOs.BOT;
using UPT.BOT.Aplicacion.DTOs.Shared;
namespace UPT.BOT.Presentacion.Web.Acceso.Gestion.Informacion
{
public class AdmisionProxy : BaseProxy
{
public AdmisionProxy(string ruta, string usuario) : base(ruta, usuario)
... | 1.681375 | 607714ec8bb669bc65538511145f75bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sripirom/Nancy-Owin-SignalR",
"max_stars_repo_path": "src/Tik.Web.OwinNancy/Core/CustomJsonSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94366"
} | starcoder | <reponame>sripirom/Nancy-Owin-SignalR<gh_stars>0
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System.Text;
namespace Tik.Web.OwinNancy.Core
{
public class CustomJsonSerializer : JsonSerializer
{
public CustomJsonSerializer ()
{
ContractResolver = new SnakeCasePropertyNamesC... | 2.338619 | f2bfcede7003ee9bcf0e7dd70bc19e23 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94366 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "Envisitor/EliteAPI",
"max_stars_repo_path": "EliteAPI.Spansh/NeutronPlotter/Models/RouteResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94367"
} | starcoder | <gh_stars>10-100
using Newtonsoft.Json;
namespace EliteAPI.Spansh.NeutronPlotter.Models
{
internal class RouteResult
{
[JsonProperty("job")]
public string Job { get; set; }
[JsonProperty("status")]
public string Status { get; set; }
[JsonProperty("State")]
... | 1.38489 | b050d63f195d8f2dbfd11c6d7a8051e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HahaMango/Core",
"max_stars_repo_path": "src/Mango.Infrastructure/Helper/StringHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94368"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Mango.Infrastructure.Helper
{
/// <summary>
/// 字符串帮助程序
/// </summary>
public class StringHelper
{
/// <summary>
/// 字节数组转16进制字符串
/// </summary>
/// <param name="array"></param>
pub... | 3.075423 | 8ab2027506d620bc3ad958611a39f09f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94368 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "filimor/uri-online-judge-c-sharp",
"max_stars_repo_path": "UriOnlineJudge/Iniciante/uri2523/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94369"
} | starcoder | <gh_stars>1-10
using System;
namespace uri2523
{
internal static class AMensagemDeWill
{
private static void Main()
{
string entrada = Console.ReadLine();
while (!string.IsNullOrEmpty(entrada))
{
int.TryParse(Console.ReadLine(), out int n);
... | 3.014823 | 5881a8156f5cef6c0adde6890ab74e4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94369 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "konshow/kgfirstapp",
"max_stars_repo_path": "target/liberty/wlp/lib/features/checksums/com.ibm.websphere.appserver.ejbLiteCore-1.0.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94370"
} | starcoder | #Mon Feb 27 04:08:29 GMT 2017
lib/features/com.ibm.websphere.appserver.ejbLiteCore-1.0.mf=f88fac1f331da001fe0941729dabb0b0
lib/com.ibm.ws.ejbcontainer.session_1.0.16.jar=50c57d05577ad7c17e0dc97cd77a1fef
| 0.369562 | 6ef2602e108a799a8cf8a546654e5bf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmarkovic/ImageProcessing",
"max_stars_repo_path": "src/ImageProcessingLib/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94371"
} | starcoder | <gh_stars>0
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("ImageProcessingLib.Test")] | 0.868546 | 7a6a28c2231bce7400b022d521c5b211 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94371 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "siwarWS/roslyn",
"max_stars_repo_path": "src/Features/Core/Portable/LanguageServices/SymbolDisplayService/SymbolDescriptionOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94372"
} | starcoder | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.CodeAnalysis.Classification;
using Microsoft.CodeAnalysis.Options;
using Microsoft.C... | 1.716771 | aa7cd3f9058c7adddf7ea54f6125b92c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94372 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "elmahio/elmah.io.nlog",
"max_stars_repo_path": "samples/Elmah.Io.NLog.AspNetCore60/Pages/Index.cshtml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94373"
} | starcoder | <filename>samples/Elmah.Io.NLog.AspNetCore60/Pages/Index.cshtml.cs
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Elmah.Io.NLog.AspNetCore60.Pages
{
public class IndexModel : PageModel
{
private readonly ILogger<IndexModel> _logger;
public IndexModel(ILogger<IndexModel> logger)
... | 2.471556 | 50a30131616ed7e6002cd8ee8bee6390 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Slippy2k/Playnite",
"max_stars_repo_path": "source/PlayniteUI/Converters/CustomImageStringToImageConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94374"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media.Imaging;
using Playnite.Database;
using NLog;
using System.IO;
using Playnite;
using System.Windows.Markup;
name... | 2.317365 | 672243ef63846506303724557ed4d45e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94374 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "jugomez/emplea_do",
"max_stars_repo_path": "AppServices/Data/Repositories/UsersRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94375"
} | starcoder | <reponame>jugomez/emplea_do<filename>AppServices/Data/Repositories/UsersRepository.cs
using System;
using Domain.Entities;
namespace AppServices.Data.Repositories
{
public class UsersRepository : BaseRepository<User>, IUsersRepository
{
public UsersRepository(EmpleaDbContext database) : base(database)... | 1.718864 | eb791ad5c2d3fd0955bec7690c5b455c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94375 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "AndreasJilvero/Episerver.SPA",
"max_stars_repo_path": "StarRepublic.Episerver.SPA/Views/StartPage/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94376"
} | starcoder | <filename>StarRepublic.Episerver.SPA/Views/StartPage/Index.cshtml
<div id="root"></div> | 0.757212 | 20f89531e276dc03b3355affd55dfa5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lukaspj/T3D-CSharp-Tools",
"max_stars_repo_path": "BaseLibrary/Torque3D/Engine/GuiTSCtrl.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94377"
} | starcoder | <filename>BaseLibrary/Torque3D/Engine/GuiTSCtrl.cs
using System;
using System.Linq;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Torque3D.Engine;
using Torque3D.Util;
namespace Torque3D
{
public unsafe class GuiTSCtrl : GuiContainer
{
public GuiTSCtrl(bool pRegister = false)
: b... | 2.280164 | 865673c2cea878c372a903eca6ee88ae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CryptoJones/Oxide",
"max_stars_repo_path": "Games/Oxide.Nomad/NomadExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94378"
} | starcoder | using Oxide.Core;
using Oxide.Core.Extensions;
using Oxide.Core.Logging;
using Oxide.Core.RemoteConsole;
using Oxide.Plugins;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Oxide.Game.Nomad
{
/// <summary>
/// The extension class that rep... | 2.133363 | d1ea710761733d268569064d5ab37853 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94378 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "TellagoDevLabs/Hermes",
"max_stars_repo_path": "src/DataAccess.MongoDB.Tests/Queries/ExistTopicByNameTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94379"
} | starcoder | <gh_stars>1-10
using System;
using DataAccess.Tests.Repository;
using MongoDB.Bson;
using MongoDB.Driver;
using NUnit.Framework;
using SharpTestsEx;
using TellagoStudios.Hermes.Business.Model;
using TellagoStudios.Hermes.DataAccess.MongoDB;
using TellagoStudios.Hermes.DataAccess.MongoDB.Queries;
namespace Da... | 2.186972 | 3b8b9359527ab5ee02bc7bb0e80fe0d4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94379 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dg1an3/Uno.Prism",
"max_stars_repo_path": "src/Wpf/Prism.Wpf/Services/Dialogs/DialogResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94380"
} | starcoder | <reponame>dg1an3/Uno.Prism<filename>src/Wpf/Prism.Wpf/Services/Dialogs/DialogResult.cs
namespace Prism.Services.Dialogs
{
public class DialogResult : IDialogResult
{
public IDialogParameters Parameters { get; private set; } = new DialogParameters();
public ButtonResult Result { get; private se... | 1.878057 | fc7c55246b11cedb26fe8f7129fd992b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ganeshaynamh/Clean-Architecture-manga",
"max_stars_repo_path": "source/Manga.Application/Repositories/IAuthenticateRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94381"
} | starcoder | using Manga.Domain.UserModel;
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Manga.Application.Repositories
{
public interface IAuthenticateRepository
{
Task<IdentityUser> FindByName(string name);
... | 1.938795 | 0c6551ee618153e837f9a84727ee4194 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94381 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chenzuo/NancyIsFancy",
"max_stars_repo_path": "src/NancyIsFancy/Modules/FailModule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94382"
} | starcoder | <reponame>chenzuo/NancyIsFancy<filename>src/NancyIsFancy/Modules/FailModule.cs
using System;
using Nancy;
namespace NancyIsFancy.Modules
{
public class FailModule : NancyModule
{
public FailModule()
{
Get["/blowup"] = _ =>
{
throw new Exception("f... | 1.417433 | 60840043025b243d1406079bd93d8923 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HannaAndreevna/MAVN.Service.AdminAPI",
"max_stars_repo_path": "src/MAVN.Service.AdminAPI/Models/BurnRules/BurnRuleModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94383"
} | starcoder | <reponame>HannaAndreevna/MAVN.Service.AdminAPI<gh_stars>0
using System;
using System.Collections.Generic;
using MAVN.Numerics;
using MAVN.Service.AdminAPI.Models.ActionRules;
using MAVN.Service.AdminAPI.Models.Partners;
namespace MAVN.Service.AdminAPI.Models.BurnRules
{
/// <summary>
/// Represents a burn mod... | 1.705353 | db9cf2cb786743811939a3861f237f48 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lis355/TableCloth",
"max_stars_repo_path": "Source/OldCode/TableClothWork/Forms/SchemeForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94384"
} | starcoder | <reponame>lis355/TableCloth
namespace BinaryCalc
{
partial class SchemeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
//... | 1.902033 | afbe7758ef0791117bcd97a23a6f8a33 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94384 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Reinms/RoR2Modding",
"max_stars_repo_path": "ReinCore/Public Helpers/Pooling/Pool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94385"
} | starcoder | <gh_stars>0
namespace ReinCore
{
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Text;
using BepInEx;
using BepInEx.Bootstrap;
using UnityEngine;
public stati... | 2.262095 | e8332b79b0596e553622a58dcd6fcca9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94385 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ssfcultra/Katas",
"max_stars_repo_path": "KeithKatas.Tests/201712/AdditionTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94386"
} | starcoder | using Kata.December2017;
using NUnit.Framework;
namespace KeithKatas.Tests.December2017
{
[TestFixture]
public class AdditionTests
{
[Test]
public void Addition_Sum_Positives()
{
Assert.AreEqual(16, Addition.Sum(new[] { 6, 2, 1, 8, 10 }));
}
}
}
| 2.241791 | 006a159aa3cc134314cfe8d354a75825 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "inex-solutions/Inex.DoDiDec",
"max_stars_repo_path": "src/Inex.DoDiDec.Tests/ServiceCollectionExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94387"
} | starcoder | using System;
using Microsoft.Extensions.DependencyInjection;
namespace Inex.DoDiDec.Tests
{
public static class ServiceCollectionExtensions
{
public static void AddByType<TService, TImplementation>(this ServiceCollection serviceCollection,
Lifetime lifetime)
where TService : c... | 2.585351 | 5b588c64e95370dbdb520d989d7fe89e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94387 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Thearne4/CSharpGuidelinesAnalyzer",
"max_stars_repo_path": "src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Naming/AvoidMisleadingNameAnalyzer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94388"
} | starcoder | <filename>src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer/Rules/Naming/AvoidMisleadingNameAnalyzer.cs
using System;
using System.Collections.Immutable;
using CSharpGuidelinesAnalyzer.Extensions;
using JetBrains.Annotations;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAna... | 2.63086 | de9ac7ecc262e5efcb609cb41d0af304 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94388 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "oncemi/OnceMi.Framework",
"max_stars_repo_path": "src/OnceMi.Framework.Model/Dto/Response/Admin/Menu/MenuRoleAuthority.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94389"
} | starcoder | <reponame>oncemi/OnceMi.Framework<filename>src/OnceMi.Framework.Model/Dto/Response/Admin/Menu/MenuRoleAuthority.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OnceMi.Framework.Model.Dto.Response.Admin.Menu
{
public class MenuRoleAut... | 1.48335 | 4b217fce351c7efa7425ac494f7a73e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "okertanov/dirigent",
"max_stars_repo_path": "Xamarin/Dirigent.Remote/Services/IDatabaseService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94390"
} | starcoder | <reponame>okertanov/dirigent
using System;
namespace Dirigent.Remote.Services {
public interface IDatabaseService {
}
} | 0.963526 | 71584ee8b4e84bff6bc3dbaea65e4588 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94390 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Valetude/Rollbar.Net",
"max_stars_repo_path": "Valetude.Rollbar/RollbarBody.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94391"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Valetude.Rollbar {
public class RollbarBody {
public RollbarBody(IEnumerable<Exception> exceptions) {
if (exceptions == null) {
throw new ArgumentNullException("ex... | 2.42355 | ad5419798cd1541fa7052ed5b439fd37 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "januaryshen/MagicLeapOneGame",
"max_stars_repo_path": "Library/PackageCache/com.unity.xr.magicleap@3.0.0-preview.12/Tests/Runtime/Networking/HttpWebRequestTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94392"
} | starcoder | using System;
using System.Collections;
using System.Net;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.TestTools;
using Lumin.Common;
using NUnit.Framework;
using Assert = UnityEngine.Assertions.Assert;
using NAssert = NUnit.Framework.Assert;
namespace Unity.XR.MagicLeap.Tests... | 1.915191 | 98ba2a343ca299f4f9799864d66508ff |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t9mike/ADK",
"max_stars_repo_path": "Planetarium.Types/IProjection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94393"
} | starcoder | using ADK;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Planetarium.Types
{
public interface IProjection
{
PointF Project(CrdsHorizontal hor);
CrdsHorizontal Invert(PointF point);
}
}
| 1.870881 | 4d15b4e4278701f4d2139591bb88772d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "cal5barton/ddd-guestbook",
"max_stars_repo_path": "tests/CleanArchitecture.Tests/Integration/Web/ApiGuestbookControllerNewEntryShould.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94394"
} | starcoder | <reponame>cal5barton/ddd-guestbook<filename>tests/CleanArchitecture.Tests/Integration/Web/ApiGuestbookControllerNewEntryShould.cs
using DDDGuestbook.Core.Entities;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using... | 2.472983 | a9193c9577346055c978a81afc1b1227 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "d3no/mocean-sdk-dotnet",
"max_stars_repo_path": "MoceanTests/Voice/McObj/SleepTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94395"
} | starcoder | <filename>MoceanTests/Voice/McObj/SleepTest.cs<gh_stars>0
using Mocean.Exceptions;
using Mocean.Voice.McObj;
using NUnit.Framework;
using System.Collections.Generic;
namespace MoceanTests.Voice.McObj
{
[TestFixture]
public class SleepTest
{
[Test]
public void RequestParamsTest()
{
... | 2.672325 | 682c48063ada65eeb235e7916b20b5a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94395 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "calebjenkins/fluent-mapper",
"max_stars_repo_path": "src/FluentMapping/ExpandIntoNestedTargetSpec.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94396"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using FluentMapping.Internal;
namespace FluentMapping
{
public sealed class ExpandIntoNestedTargetSpec<TTarget, TSource, TTargetProperty, TNestedMappingTarget>
where TTarget : class
where TSource : cl... | 2.515689 | a6b267361f3b455d141f546a64aba6e4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sc1994/AspireAdmin",
"max_stars_repo_path": "asp.net/source/Aspire/Global/AppEnum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94397"
} | starcoder | <gh_stars>0
// <copyright file="AppEnum.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Aspire
{
/// <summary>
/// 日志等级.
/// </summary>
public enum LogLevelEnum
{
/// <summary>
/// info.
/// </summary>
... | 1.935701 | f93553ab1e948c79ec8837b2dbe8f607 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94397 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "dncuug/scaffolder",
"max_stars_repo_path": "Scaffolder.Core/Base/IQueryBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94398"
} | starcoder | using Scaffolder.Core.Data;
using Scaffolder.Core.Meta;
using System;
using System.Collections.Generic;
namespace Scaffolder.Core.Base
{
public interface IQueryBuilder
{
/// <summary>
///
/// </summary>
/// <param name="query"></param>
/// <param name="tab... | 2.030865 | 25b304fa9828b9f73b8ebd1d88533b3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94398 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "CollegiumXR/Creature-Creator",
"max_stars_repo_path": "Assets/Creature Creator/Scripts/Runtime/Demo/UI/ColourPicker.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94399"
} | starcoder | <filename>Assets/Creature Creator/Scripts/Runtime/Demo/UI/ColourPicker.cs<gh_stars>10-100
using TMPro;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
public class ColourPicker : MonoBehaviour
{
#region Fields
[SerializeField] private Color[] colours;
[SerializeField] private GameObject... | 2.314558 | 1c88f5f1cbb32d4b3b38e3d7135e3f2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CG-Tespy/Week117NotABug",
"max_stars_repo_path": "NotABug/Assets/Scripts/CustomFungusEventHandlers/OnGameOver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94400"
} | starcoder | <filename>NotABug/Assets/Scripts/CustomFungusEventHandlers/OnGameOver.cs
using UnityEngine;
using Fungus;
/// <summary>
/// The block will execute when the user toggles on the target UI toggle object.
/// </summary>
[EventHandlerInfo("Platformer",
"On Death",
"T... | 2.225514 | 8d5bd5a95c64cb151ddaab446fca00d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94400 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zwluoqi/TextEquip",
"max_stars_repo_path": "Program/Client/UnityProject/Assets/BaseFrameWork/Script/Game/Config/WorldConfigAPI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94401"
} | starcoder | <reponame>zwluoqi/TextEquip
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using UnityEngine;
namespace TextEquip.System
{
public class WorldConfigAPI
{
private static WorldConfigAPI _instance;
public static WorldConfigAPI Instance
{
get
{
... | 2.458049 | 8eb5083b47eb0bdc5e2646f66127e7c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lubangelova/Csharp-OOP",
"max_stars_repo_path": "Homework/OOP Principles - Part 1/Students and workers/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94402"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Students_and_workers
{
class StartUp
{
static void Main(string[] args)
{
var students = new List<Student>
{
new Stu... | 2.806688 | 58b8d98884de3605e97f73462ecbacd7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Insire/Monstercat.Net",
"max_stars_repo_path": "MonstercatNet/MonstercatCdn.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94403"
} | starcoder | using Refit;
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace SoftThorn.MonstercatNet
{
public sealed class MonstercatCdn : MonstercatBase, IMonstercatCdnService
{
/// <summary>
/// Generate the client to be able to interact with the monsterca... | 2.354388 | b97c0e049fb6c7ba29f89ab9c15e258f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danjoconnell/VideoScriptEditor",
"max_stars_repo_path": "VideoScriptEditor/VideoScriptEditor.Core/Services/ScriptVideo/RenderSurfaceEventArgs.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94404"
} | starcoder | <reponame>danjoconnell/VideoScriptEditor<gh_stars>0
using System;
namespace VideoScriptEditor.Services.ScriptVideo
{
/// <summary>
/// Provides data for <see cref="IScriptVideoService"/> events occurring when a new Direct3D render surface is created.
/// </summary>
public class NewRenderSurfaceEventAr... | 2.441791 | 6b7419c89c9ccf1f59d479eac837c0f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94404 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mattgenious/QuickPaySharp",
"max_stars_repo_path": "csharp-client-generated/csharp-client/src/IO.Swagger/Api/CardsApi.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94405"
} | starcoder | /*
* Quickpay API v10
*
* <h2 id=\"authorization\">Authorization</h2> Authorization is done using basic-auth. Authorization can be done with a user or an agreement. <ul> <li>When authorized with a user one is able to edit own settings, create new merchant or request access to existing merchant.</li> <li>When ... | 1.999239 | ee5d541a9dcdb2ee1ceb0969a4948589 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94405 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "re-motion/BuildTools",
"max_stars_repo_path": "JiraReleaseNoteGenerator.UnitTests/ConfigurationTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94406"
} | starcoder | // Copyright (c) 2009 rubicon informationstechnologie gmbh
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy,... | 1.818767 | 38c1968f564acbbab5b7a3f647c5cff9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94406 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Z3Prover/PerformanceTest",
"max_stars_repo_path": "src/PerformanceTest/Records.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94407"
} | starcoder | using Measurement;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PerformanceTest.Records
{
public class RecordsTable
{
private readonly Dictionary<string, Record> records;
priv... | 2.708491 | 887d42204d3268d9c1110e6c44ec0fe2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "XpiritBV/Xpirit-TestableCode",
"max_stars_repo_path": "source/Xpirit.Patterns.TestableCodeRefactoring/UsingSitecore/Adapters/ItemAdapter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94408"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Sitecore.Collections;
using Sitecore.Data;
using Sitecore.Data.Items;
using Sitecore.Diagnostics;
using Xpirit.Patterns.TestableCodeRefactoring.UsingSitecore.Adapters.Interfaces;
namespace Xpirit.Patterns.TestableCodeRefactoring.UsingSitecore.Adapters
{
p... | 2.425004 | e171968c1829fd0e28074661f243999d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MelDv/DistributedShooter",
"max_stars_repo_path": "Assets/TerrainComposer2/Scripts/Nodes/TC_Randomizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94409"
} | starcoder | using UnityEngine;
using System.Collections;
namespace TerrainComposer2
{
[ExecuteInEditMode]
public class TC_Randomizer : MonoBehaviour
{
public TC_ItemBehaviour item;
public TC_RandomSettings r;
public bool randomize;
void Awake()
{
item = GetComponen... | 2.091326 | 45189c5429acb08f44864bcecd0a2af4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "openmedstack/neventstore",
"max_stars_repo_path": "tests/openmedstack.neventstore.persistence.acceptancetests/ExtensionMethods.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94410"
} | starcoder | <reponame>openmedstack/neventstore<filename>tests/openmedstack.neventstore.persistence.acceptancetests/ExtensionMethods.cs
namespace OpenMedStack.NEventStore.Persistence.AcceptanceTests
{
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using NEventStore;
using Persisten... | 2.380424 | 06773644184d9fd9025a119c515c24d1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94410 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ryanrodemoyer/aspnet-saml",
"max_stars_repo_path": "WebApplication1/Global.asax.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94411"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
using System.Web.Helpers;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace WebApplication1
{
public class MvcApplication : System.Web.Ht... | 1.754417 | 05c68402e64faa6948a4cfb0258eaa31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94411 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "UniGameTeam/UniGame.AddressableTools",
"max_stars_repo_path": "Editor/AddressablesDataEditor/AddressableDataView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94412"
} | starcoder | <reponame>UniGameTeam/UniGame.AddressableTools<filename>Editor/AddressablesDataEditor/AddressableDataView.cs
namespace UniModules.UniGame.AddressableTools.Editor.AddressableDataEditor
{
using System;
using Sirenix.OdinInspector;
using UniModules.UniCore.Runtime.DataFlow;
using UnityEditor;
using Un... | 1.83978 | d0049edd21d9f1a023d4b1f91285d2c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94412 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jaren-Taylor/Smart-City-Dashboard",
"max_stars_repo_path": "Smart City Dashboard/Assets/Scripts/Util/ValueSortedDictionary.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94413"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class ValueSortedDictionary<K, V> : IEnumerable<KeyValuePair<K, V>>
{
private LinkedList<KeyValuePair<K, V>> sortedData;
private Dictionary<K, LinkedListNode<KeyValuePair<K, V>>> dataBinding;
public Va... | 2.96772 | 05dacdabd69c268999e3aed3878babd8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94413 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Daniele-Tentoni/ForceOfWillCube",
"max_stars_repo_path": "ForceOfWillCube/Views/LifeCount/LifeLogPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94414"
} | starcoder | using ForceOfWillCube.ViewModels.LifeCount;
using Xamarin.Forms;
namespace ForceOfWillCube.Views.LifeCount
{
public partial class LifeLogPage : ContentPage
{
public LifeLogPage()
{
this.BindingContext = new LifeLogViewModel();
InitializeComponent();
}
}
} | 1.47007 | 62d39bcd7625660075ef80e20155eead |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94414 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "john-h-k/NetRt",
"max_stars_repo_path": "System.Private.CoreLib/Primitives/UInt16.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94415"
} | starcoder | <filename>System.Private.CoreLib/Primitives/UInt16.cs
namespace System
{
public readonly struct UInt16
{
private readonly ushort _value;
}
} | 1.803644 | 5f8833126849d3c53c39921ca4b1ff92 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94415 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MicroFocus/octane-visual-studio-plugin",
"max_stars_repo_path": "OctaneVSPlugin/View/PluginWindowManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94416"
} | starcoder | <reponame>MicroFocus/octane-visual-studio-plugin<filename>OctaneVSPlugin/View/PluginWindowManager.cs<gh_stars>1-10
/*!
* (c) 2016-2018 EntIT Software LLC, a Micro Focus company
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | 2.078656 | ee44a5c65eea5f246758b802af031319 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94416 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "viacheslave/algo",
"max_stars_repo_path": "leetcode/c#/Problems/P0808.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94417"
} | starcoder | <gh_stars>0
namespace LeetCode.Naive.Problems;
/// <summary>
/// Problem: https://leetcode.com/problems/soup-servings/
/// Submission: https://leetcode.com/submissions/detail/417031054/
/// </summary>
internal class P0808
{
public class Solution
{
public double SoupServings(int N)
{
... | 3.055407 | 8015020267a6eab2efc956d9b637f4a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "juanguerra97/notasmiumg",
"max_stars_repo_path": "NotasMiUMGWebApp/Pages/_ViewImports.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94418"
} | starcoder | @using NotasMiUMGWebApp
@namespace NotasMiUMGWebApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.403658 | ea0e84cfe2cebdbbc31e478ae13d7272 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94418 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdavid/nuxleus",
"max_stars_repo_path": "src/external/manos/src/Manos.Tests/Manos.Http/HttpHeadersTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94419"
} | starcoder | //
// Copyright (C) 2010 <NAME> (<EMAIL>)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, pu... | 2.354547 | 9dc1e81afbdfe1e6afdfbc4c362dfbfe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94419 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benjamin-t-wilson/SQL-GUI",
"max_stars_repo_path": "SQL_GUI/Forms/Dashboard.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94420"
} | starcoder | <filename>SQL_GUI/Forms/Dashboard.Designer.cs<gh_stars>1-10
namespace SQL_GUI.Forms
{
partial class Dashboard
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up an... | 1.89148 | 77d58b19e05890bf4f2adb9325ce6f55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94420 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Kagamine/CodeComb-Old",
"max_stars_repo_path": "CodeComb.Entity/Contest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94421"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations.Schema;
namespace CodeComb.Entity
{
[Table("contests")]
public class Contest
{
[Column("id")]
public int ID { get; se... | 2.44135 | 0957c64aadf32505a88f8aaa12df2646 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94421 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HansinieJ/seshell",
"max_stars_repo_path": "SeShellTest/Enums/WebBrowsers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94422"
} | starcoder | namespace SeShell.Test.Enums
{
public enum WebBrowsers
{
FireFox = 0,
Ie = 1,
Chrome = 2
}
}
| 1.720905 | fcc213e16c2da93d62eb2e4ff3aad99a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94422 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mantasaudickas/solution-toolkit",
"max_stars_repo_path": "ToolkitLib/Solutions/Project/IProjectReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94423"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SolutionGenerator.Toolkit.Solutions.Data;
namespace SolutionGenerator.Toolkit.Solutions.Project
{
/// <summary>
/// Represents the project reader.
/// </summary>
public interface IProjectReader
{
/// <summa... | 2.073464 | 983c399321e34c4b2d27c5e16fbe239e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gagandeepgarg/Centralized-Data-Ingestion-Outgestion",
"max_stars_repo_path": "WebApplications/ZionWeb/BusinessLogic/Interfaces/IPartyManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94424"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace ZionWeb.BusinessLogic
{
public interface IPartyManager
{
void SetConnectionString(string connectionString);
IEnumerable<ZionWeb.DAL.Entities.PartyAcctDetails> GetAllParties();
int AddParty(ZionWeb.DAL.Entities.PartyAcctDetails ... | 1.869242 | e5180bb571e1ed2ca669cace7cad80e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94424 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "james-russo/Web-Mobile-Template",
"max_stars_repo_path": "LolWorldFinalStats.Validation/ChampionValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94425"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentValidation;
using LolWorldFinalStats.Models.Domain;
namespace LolWorldFinalStats.Validation
{
public class ChampionValidator : AbstractValidator<Champion>
{
public ChampionValidator()
{
... | 2.049977 | 439c4de9f3c04dad1a67701c1c7544ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94425 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Borlay/Borlay.Serialization",
"max_stars_repo_path": "Borlay.Serialization/Borlay.Serialization/Notations/DataSpaceAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94426"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Borlay.Serialization.Notations
{
[AttributeUsage(AttributeTargets.Assembly)]
public class DataSpaceAttribute : Attribute
{
public int SpaceId { get; private set; }
public DataSpaceAttribute(int spaceId)
{... | 2.086404 | 82b7a06a4b61b5e3b97b6c6fa838c640 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "my-repositories/loktionov129.web",
"max_stars_repo_path": "content/src/ProjectName.Web.Sockets/Messages/Server/DialogMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94427"
} | starcoder | // Copyright (c) ProjectName. All rights reserved.
// Licensed under the BSD license. See LICENSE file in the project root for full license information.
namespace ProjectName.Web.Sockets.Messages.Server
{
public class DialogMessage : Abstract.IMessage
{
public string Message { get; set; }
pub... | 1.907076 | 537457c843e6f9403cb1fa31eb74c84b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94427 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "przemko2109/CCS",
"max_stars_repo_path": "DotNetAppSqlDb/Controllers/ManageController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94428"
} | starcoder | <reponame>przemko2109/CCS
using BusTickets.Models;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
namespace BusTickets.Controllers
{
public class ManageController : Controller
{
... | 2.041809 | 358ff2b8cad80dfe765236532060f06a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94428 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kojtoLtd/KojtoCAD",
"max_stars_repo_path": "KojtoCAD.2012/BlockItems/GlassUnits/Single/ImportSingleGlassUnitForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94429"
} | starcoder | using System;
using System.Windows.Forms;
using KojtoCAD.Properties;
namespace KojtoCAD.BlockItems.GlassUnits.Single
{
public partial class ImportSingleGlassUnitForm : Form
{
#region Properties
public bool IsLaminated
{
get
{
return radioButtonLa... | 2.364557 | accc2dc226c30b954d53fbe62399e613 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94429 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xyx0826/WwiseParser",
"max_stars_repo_path": "WwiseParser/Structures/Sections/HIRCSection.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94430"
} | starcoder | <filename>WwiseParser/Structures/Sections/HIRCSection.cs<gh_stars>1-10
using WwiseParser.Structures.Objects.HIRC;
namespace WwiseParser.Structures.Sections
{
class HIRCSection : SectionBase
{
public HIRCSection()
{
Name = SectionName.HIRC;
}
/// <summary>
/... | 2.472878 | 9cb028fc4efde00e39289ec6b8728723 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "devjoes/AKS-test-releases",
"max_stars_repo_path": "management/Canary.Management.Api/Canary.Kubernetes.Tests/Queries/GetCanarySvcLabelsQueryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94431"
} | starcoder | <reponame>devjoes/AKS-test-releases<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Canary.Kubernetes.Queries;
using Canary.Kubernetes.Queries.Handlers;
using Moq;
using Xunit;
namespace Canary.Kubernetes.Tests.Queries
{
public class GetCanarySvcLa... | 2.192722 | c20656272cdee4be6977d0376d746958 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94431 | {
"extension": "c-sharp",
"max_stars_count": "248.0",
"max_stars_repo_name": "gmb77/Hastlayer-SDK",
"max_stars_repo_path": "Samples/Hast.Samples.SampleAssembly/ParallelAlgorithm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94432"
} | starcoder | <reponame>gmb77/Hastlayer-SDK<filename>Samples/Hast.Samples.SampleAssembly/ParallelAlgorithm.cs
using Hast.Transformer.Abstractions.SimpleMemory;
using System.Threading.Tasks;
using Hast.Layer;
using Hast.Synthesis.Abstractions;
namespace Hast.Samples.SampleAssembly
{
/// <summary>
/// A massively para... | 2.566269 | 40d7db14c32506f69e55e584b0eb36b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lapd87/SoftUniProgrammingFundamentalsCSharp",
"max_stars_repo_path": "ProgrammingFundamentalsCSharp/02ConditionalStatementsAndLoops/902VaporStore/VaporStore.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94433"
} | starcoder | <gh_stars>0
using System;
class VaporStore
{
static void Main()
{
double balance = double.Parse(Console.ReadLine());
double gamePrice = 0;
double spent = 0;
while (balance != 0)
{
string game = Console.ReadLine();
if (game == "Game Time")
... | 3.231106 | 7ae6b74a302aa59ee61fc5cc31b154b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GSCCCA/gsccca-re-api",
"max_stars_repo_path": "src/PRIA Library v2.4/PRIA_EMBEDDED_FILE_Type.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94434"
} | starcoder | using System.Xml.Serialization;
namespace PRIALibraryV24
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.1432")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class P... | 1.700479 | 33eadfddd7654ce1eeb2fa3f8eecb18b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94434 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tnunnink/L5XParser",
"max_stars_repo_path": "src/Serialization/DataValueMemberSerializer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94435"
} | starcoder | <reponame>tnunnink/L5XParser<filename>src/Serialization/DataValueMemberSerializer.cs<gh_stars>1-10
using System;
using System.Xml.Linq;
using L5Sharp.Core;
using L5Sharp.Creators;
using L5Sharp.Enums;
using L5Sharp.Extensions;
using L5Sharp.L5X;
using L5Sharp.Types;
namespace L5Sharp.Serialization
{
internal clas... | 2.486282 | d0d02bf4089a4a4c673fc454b4d81792 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mikara89/EuroCodeCalculator",
"max_stars_repo_path": "SectionDesign/Point.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94436"
} | starcoder | <filename>SectionDesign/Point.cs
using System;
namespace SectionDesign
{
public class Point:IComparable
{
public double X { get; set; }
public double Y { get; set; }
public int CompareTo(object obj)
{
if (obj == null) return 1;
var other = obj as Point;... | 3.660909 | ad571156003c1f49c06438bbf697b7ba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bnelligan/ColorShift_PS4",
"max_stars_repo_path": "Assets/Scripts/Environment/Goal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94437"
} | starcoder | <filename>Assets/Scripts/Environment/Goal.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Goal : MonoBehaviour {
[SerializeField]
string _nextSceneName = "";
private void OnTriggerEnter2D(Collider2D collisi... | 2.404747 | ef11e5829401e4bc62b36060898b0195 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94437 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ultimicro/composer-stringtemplate",
"max_stars_repo_path": "src/Composer.StringTemplate/ComposerBuilderExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94438"
} | starcoder | namespace Microsoft.Extensions.DependencyInjection;
using System;
using Composer.StringTemplate;
public static class ComposerBuilderExtensions
{
/// <summary>
/// Register StringTemplate 4 as a template provider.
/// </summary>
/// <param name="builder">
/// The builder to register to.
/// </... | 2.774854 | b85dc9c378449ef16bffd1efe6b3c3a8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94438 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "oleg-shilo/CodeMaidPlus",
"max_stars_repo_path": "CM+/FormatCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94439"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition.Hosting;
using System.ComponentModel.Design;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.CodeAnalysis;
using M... | 2.310809 | 4e36d3ce42e2098f3656e2b0ceb2f365 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94439 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Ocun/CaptureImageTool",
"max_stars_repo_path": "capture_test_CSharp/IPlugins/FrmBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94440"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace IPlugins
{
public partial class FrmBase : Form
{
public FrmBase() {
InitializeComponent();
this.SetSty... | 2.189913 | 90e21484fb0c5b40e8a69937853804ab |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94440 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "DigitalPainting/DigitalPainting",
"max_stars_repo_path": "Assets/Digital Painting/Scripts/Utility/ReflectionHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94441"
} | starcoder | <reponame>DigitalPainting/DigitalPainting
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
public static class ReflectionHelper
{
static ReflectionHelper() { }
/// <summary>
/// Find all class of a given type (including by inheritance).
/// </summary>
... | 3.210001 | c3604781e05e2e53327f8a7d8777a154 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94441 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "da1fanshu/1234ewsd",
"max_stars_repo_path": "Assets/Scripts/Game/Mahjong2D/Common/MahJongCommon/DefEnvpanel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94442"
} | starcoder | using System;
using System.Collections.Generic;
using Assets.Scripts.Game.Mahjong2D.CommonFile.Data;
using Assets.Scripts.Game.Mahjong2D.Game.Data;
using Assets.Scripts.Game.Mahjong2D.Game.GameCtrl;
using Assets.Scripts.Game.Mahjong2D.Game.Item;
using com.yxixia.utile.YxDebug;
using UnityEngine;
using YxFramwork.Commo... | 1.876138 | 68fe4e30ae63b98d00091592f1f3b9c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94442 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OSADP/Road-Weather-Performance-Management-",
"max_stars_repo_path": "Cloud/RWPMHostedSystem/RWPM/RWPMPortal/App_Start/NinjectWebCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94443"
} | starcoder | [assembly: WebActivatorEx.PreApplicationStartMethod(typeof(RWPMPortal.App_Start.NinjectWebCommon), "Start")]
[assembly: WebActivatorEx.ApplicationShutdownMethodAttribute(typeof(RWPMPortal.App_Start.NinjectWebCommon), "Stop")]
namespace RWPMPortal.App_Start
{
using System;
using System.Web;
using Microsoft... | 2.335191 | 8879c07cd06da512f063d463ec0ce54b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94443 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zumorica/OpenDream",
"max_stars_repo_path": "OpenDreamServer/Dream/Procs/DreamProcIdentifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94444"
} | starcoder | using OpenDreamServer.Dream.Objects;
using OpenDreamShared.Dream;
using System;
using System.Collections.Generic;
namespace OpenDreamServer.Dream.Procs {
interface IDreamProcIdentifier {
public DreamValue GetValue();
public void Assign(DreamValue value);
}
struct DreamProcIdentifierVariab... | 2.722425 | 9d6093666682bce7aadb8f723e95dd41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Jonjump/dcp",
"max_stars_repo_path": "tests/formatters/sql.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94445"
} | starcoder | using System;
using System.IO;
using System.Collections.Generic;
using System.Data.SqlClient;
using Xunit;
using dcp.lib;
namespace tests
{
public class SqlTests
{
readonly dcp.lib.Formatters.Sql formatter;
List<dcp.lib.Formatters.Sql.Column> schema = new List<dcp.lib.Formatters.Sql.C... | 2.53798 | 3a3e51c8ab4cba0f196ac76e3339a524 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pacefico/dover",
"max_stars_repo_path": "azure/transporterSolution/transporterService/DataObjects/UserRatingItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94446"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using transporterService.DataTranspObjects;
namespace transporterService.DataObjects
{
public partial class UserRatingItem : BaseItem
{
public string Comments { get; set; }
public int Value { get; ... | 1.285993 | 41cdb1e93b59f0098ba208bf7385701a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94446 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "pttb369/GameDevRepo",
"max_stars_repo_path": "Scripts/Ragdoll/StairDismount.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94447"
} | starcoder | <reponame>pttb369/GameDevRepo
using UnityEngine;
using System.Collections;
public class StairDismount : MonoBehaviour {
//Declare a member variables for distributing the impacts over several frames
float impactEndTime=0;
Rigidbody impactTarget=null;
Vector3 impact;
//Current score
public int score;
//A prefab ... | 2.708074 | 6c7ee67174b92c716923053b99c9e094 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94447 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scscgit/XchangeCrypt-Backend",
"max_stars_repo_path": "WalletService/Providers/XCT/XchangeCryptTokenProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94448"
} | starcoder | using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Nethereum.StandardTokenEIP20.ContractDefinition;
using Nethereum.Web3;
using Nethereum.Web3.Accounts;
using XchangeCrypt.Backend.DatabaseAccess.Control;
using XchangeCrypt.Backend.DatabaseAccess.Services;
u... | 1.638394 | beee465c815226f3e4d7cf67436027c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brettski/bdpasswordgenerator",
"max_stars_repo_path": "PasswordGenerator/PasswordGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94449"
} | starcoder | <reponame>brettski/bdpasswordgenerator
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace Brettski.PasswordGenerator
{
public class PasswordGenerator : IPasswordGenerator
{
publi... | 3.112874 | 7b8912c111dfbd1db8443b20b5c0f324 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94449 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robg374/PlatformDiagnosticCollector",
"max_stars_repo_path": "Archive/implements-library/Implements.Test/Data.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94450"
} | starcoder | <filename>Archive/implements-library/Implements.Test/Data.cs<gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Implements;
namespace Implements.Test
{
[TestClass]
public class DataTest
{
[TestMethod]
public void Test_Percentile()
{
// Arrange
... | 1.914927 | 37895bdfb76ef8a14280c917d1c21e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94450 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aikelb/ludum1215",
"max_stars_repo_path": "unityProject/Assets/Scripts/healPowerUpAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94451"
} | starcoder | <filename>unityProject/Assets/Scripts/healPowerUpAction.cs<gh_stars>0
using UnityEngine;
using System.Collections;
public class healPowerUpAction : MonoBehaviour {
public float movementSpeed = 10f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update ... | 2.141098 | 61bb32ba341ded87e063610cf7478c9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnthonyRyck/RackManager",
"max_stars_repo_path": "src/BlazorRackManager/RackMobile/RackMobile/Views/StockPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94452"
} | starcoder | using RackMobile.Models;
using RackMobile.Views.Stock;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace RackMobile.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial cla... | 1.946728 | 241845f5ac99201b0734ba0b935552f3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94452 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ShirasHassan/BusinessRulesApp",
"max_stars_repo_path": "BusinessRuleDomain/RuleEngine/BusinessRuleExecutor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94453"
} | starcoder | <filename>BusinessRuleDomain/RuleEngine/BusinessRuleExecutor.cs
using System;
using System.Collections.Generic;
namespace BusinessRuleDomain.RuleEngine
{
public class BusinessRuleExecutor : IRuleExecutor
{
public List<RuleLog> Logs { get; set; } = new List<RuleLog>();
public TResult Execute<T... | 2.832568 | 86a4d2c75a0b99c85fc5a2180e94b7ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94453 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "t9mike/ADK",
"max_stars_repo_path": "Planetarium.Types/BaseRenderer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94454"
} | starcoder | <reponame>t9mike/ADK
using Planetarium.Types;
namespace Planetarium.Renderers
{
/// <summary>
/// Base class for all renderer classes which implement drawing logic of sky map.
/// </summary>
public abstract class BaseRenderer
{
public abstract void Render(IMapContext map);
public v... | 2.133929 | 4b265f5b62d831db80de58974182940a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94454 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shreyner/hamster-sharp",
"max_stars_repo_path": "MicroserviceWebAPI/MWAMonotoring_Lesson_3_v2/MetricsManager.Tests/AgentsControllerUnitTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94455"
} | starcoder | using System;
using System.Collections.Generic;
using MetricsManager.Controllers;
using MetricsManager.Models;
using MetricsManager.Repositories;
using MetricsManager.Services;
using Microsoft.Extensions.Logging;
using Moq;
using Xunit;
using ILogger = Castle.Core.Logging.ILogger;
namespace MetricsManagerTests
{
p... | 2.017686 | e8bb6450a9a89789c9a2bae8ce354ed3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94455 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "urbpeti/Tekor",
"max_stars_repo_path": "Tekor/Data/Goal.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94456"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tekor.Data
{
public class Goal
{
public string ID { get; set; }
public Reward Reward { get; set; }
public string Name { get; set; }
public string Description { get; set; }... | 1.840409 | bc25e434368ab24168c4a26587474ff9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94456 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JamieSchwartz1/Training",
"max_stars_repo_path": "C#Apps/UnitTestPractice/GuidedUnitTests/TestProject1/UnitTest1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94457"
} | starcoder | <reponame>JamieSchwartz1/Training<gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CalculationProject;
namespace TestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestAddition()
{
CalculationClass cc = new CalculationClass()... | 2.714939 | dd2f3d1bdc82b8397b7d2cdf49b95ac1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94457 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "casp3r0x0/GSWolves",
"max_stars_repo_path": "Manager/Manager/edit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94458"
} | starcoder | <filename>Manager/Manager/edit.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MySql.Data;
using MySql.Data.MySqlClient;... | 2.554062 | 7e8b26f5f6245636009f454c69190ad4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94458 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hella-cyber/PriorityDogs",
"max_stars_repo_path": "Views/Afspraken/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:94459"
} | starcoder | <reponame>hella-cyber/PriorityDogs
@model PriorityDogs.Models.AfsprakenModel
<hr />
<div class="text-center">
<h2>Afspraak maken</h2>
<p>Indien uw gekozen data beschikbaar is zult u een reactie ontvangen. Indien dit niet mogelijk is zal u een reactie ontvangen met een voorstel voor andere datum.</p>
... | 2.183984 | a5c7f5112d70a53d9c02a0e99c05d4f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94459 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "banhtieu/Javascript2Net-RPC",
"max_stars_repo_path": "RPC/Service/TypeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94460"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace RPC.Service
{
[RemoteService]
public class TypeService
{
/// <summary>
/// Return list of method for a class name
/// </summary>
/// <param name="serviceName"></param>
... | 2.837259 | 8aa6a7024440eeba1092a2c6f4319785 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 94460 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "Hycksper/UIEffectSnapshot",
"max_stars_repo_path": "Scripts/Editor/ExtraShaderGUI.cs",
"provenance": "train-00000-of-00045.jsonl.gz:94461"
} | starcoder | using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Coffee.UIExtensions.Editors
{
internal class KeywordToggleScope : GUI.Scope
{
public KeywordToggleScope(string label, Material[] materials, string keyword)
{
var keywordEnables = materials.Select(x => x.I... | 2.226658 | 59a5c894ab2dbf6f89ee4c0177c4e735 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.