added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835112 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "MrSurgeon/E-Commerce-Shop",
"max_stars_repo_path": "E-Commerce-Shop.Business/Abstract/IOrderService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154332"
} | starcoder | <filename>E-Commerce-Shop.Business/Abstract/IOrderService.cs
using System.Collections.Generic;
using E_Commerce_Shop.Entity;
namespace E_Commerce_Shop.Business.Abstract
{
public interface IOrderService
{
void Create(Order entity);
List<Order> GetOrderWithItemsByUserId(string userId);
}
} | 1.938271 | a185d6df5072f064975a8adc60e91317 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835113 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dkzkv/DKZKV.ServiceSample",
"max_stars_repo_path": "src/DKZKV.ServiceSample/DKZKV.BookStore.Api/Extensions/ProblemDetailsExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154333"
} | starcoder | using DKZKV.BookStore.Domain.Exceptions;
using FluentValidation;
using Hellang.Middleware.ProblemDetails;
using Microsoft.AspNetCore.Mvc;
namespace DKZKV.BookStore.Extensions;
internal static class ProblemDetailsExtension
{
public static void ConfigureExceptionHandler(this IServiceCollection services)
{
... | 2.028282 | 900e762bd821686417fdd7f205100de2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835114 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "NovusTheory/Chromely",
"max_stars_repo_path": "src/Chromely.CefGlue/Subprocess/SubprocessArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154334"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SubprocessArguments.cs" company="Chromely Projects">
// Copyright (c) 2017-2019 Chromely Projects
// </copyright>
// <license>
// See the LICENSE.md file in the project roo... | 2.348572 | 0969b73e6a042554c0da8064a00ac28e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835115 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ebx/OpenPokerAI",
"max_stars_repo_path": "EncogFramework2.5/Util/DownSample/RGBDownsample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154335"
} | starcoder | // Encog(tm) Artificial Intelligence Framework v2.5
// .Net Version
// http://www.heatonresearch.com/encog/
// http://code.google.com/p/encog-java/
//
// Copyright 2008-2010 by Heaton Research Inc.
//
// Released under the LGPL.
//
// This is free software; you can redistribute it and/or modify it
// under the terms ... | 2.54887 | f162e80e285f7ee9f7f861cee21be309 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835116 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Valentyn17/Knowledge-Accounting-System",
"max_stars_repo_path": "KnowledgeAccountingSystem/DAL/Interfaces/IAreaRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154336"
} | starcoder | using DAL.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL.Interfaces
{
public interface IAreaRepository
{
Task<KnowledgeArea> GetByIdWithDetailsAsync(int id);
IQueryable<KnowledgeArea> FindAllWithDetail... | 2.0824 | abc519ffb74621fb1faa1e4857cb2809 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835117 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "renanmarcos/authorization-for-ocelot",
"max_stars_repo_path": "src/Configuration/OcelotWithAuthorizationOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154337"
} | starcoder | namespace AuthorizationForOcelot.Configuration
{
public class OcelotWithAuthorizationOptions
{
public string OcelotConfigFileName { get; set; } = "ocelot";
public string OcelotFilesFolder { get; set; } = string.Empty;
}
}
| 1.566123 | bf577b84957cb172baa938d4172f75c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835118 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vallemrv/valletpv",
"max_stars_repo_path": "Valle.Tpv0.2/Valle.Tpv/Formularios/TicketCobrado.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154338"
} | starcoder | using System;
using Valle.GtkUtilidades;
using Gtk;
namespace Valle.TpvFinal
{
public partial class TicketCobrado : FormularioBase
{
public TicketCobrado(int x, int y)
{
this.Init ();
this.SetPosition(WindowPosition.None);
this.Move(x,y);this.LblTituloBase = this.milabel1;
th... | 2.22145 | 72ef47178b4e97e23f06d4621ab5232d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "formylover/Masuit.MyBlogs",
"max_stars_repo_path": "src/Masuit.MyBlogs.WebApp/Models/WebApiExceptionFilterAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154339"
} | starcoder | <filename>src/Masuit.MyBlogs.WebApp/Models/WebApiExceptionFilterAttribute.cs
using System;
using System.Collections.Generic;
using System.Data.Entity.Validation;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web;
using System.Web.Http.Filters;
using Masuit.Tools;
using Masuit.Tools.Logging;
... | 2.617762 | c1b164bf38cd634289eb9e66efff33bf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835120 | {
"extension": "c-sharp",
"max_stars_count": "104.0",
"max_stars_repo_name": "KrishnaVadlamudi44/Distributed-eStore",
"max_stars_repo_path": "Distributed-eStore.UI/src/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154340"
} | starcoder | <reponame>KrishnaVadlamudi44/Distributed-eStore
using DistributedEStore.Api.Services;
using DistributedEStore.Common.Consul;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.SpaServices.ReactDevelopmentServer;
using Microsoft.Extensions.Configuration;
using Microsoft.Ex... | 1.54642 | ab36c16d4b0b7a5ae056b2b3c14881af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835121 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "Crypt32/pkix.net",
"max_stars_repo_path": "PKI/Cryptography/TspMessageImprint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154341"
} | starcoder | using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
using SysadminsLV.Asn1Parser;
using SysadminsLV.Asn1Parser.Universal;
using SysadminsLV.PKI.Utils.CLRExtensions;
namespace SysadminsLV.PKI.Cryptography {
/// <summary>
/// Represents a message to submit to T... | 2.80468 | 3e1a2fe8a3cb760d2fe76be5d1ae5523 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lurienanofab/data",
"max_stars_repo_path": "Data/Views/Home/_DatabaseReportPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154342"
} | starcoder | @using Data.Models;
@using LNF.Web.Mvc;
@model HomeModel
@{
var type = Request.QueryString["type"];
Func<bool, IHtmlString> checkMark = b => b ? new HtmlString("✓") : new HtmlString(string.Empty);
bool showReturnButton = !string.IsNullOrEmpty(Convert.ToString(Session["return-to"]));
bool showEd... | 2.080946 | 8921640fe4b3182999aae5583f986a43 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GaryWayneSmith/mozu-dotnet",
"max_stars_repo_path": "Mozu.Api/Resources/Commerce/LocationResource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154343"
} | starcoder | <reponame>GaryWayneSmith/mozu-dotnet<filename>Mozu.Api/Resources/Commerce/LocationResource.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect behavior and will be lost ... | 2.26546 | 0f102275fb4db3e2f30ae5c00d76780a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Redageddon/X10D.Performant",
"max_stars_repo_path": "X10D.Performant/src/Custom/StringExtensions/CharCheckers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154344"
} | starcoder | using System.Diagnostics.CodeAnalysis;
namespace X10D.Performant.StringExtensions
{
[SuppressMessage("ReSharper", "ForeachCanBeConvertedToQueryUsingAnotherGetEnumerator")]
public static partial class StringExtensions
{
/// <include file='StringExtensions.xml' path='members/member[@name="IsAlpha"]'... | 2.88523 | 0594c3f411e92921f1a4e3d69915a6b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jonnew/Bonsai.ONI",
"max_stars_repo_path": "Bonsai.ONIX.Design/ObservableCombinators.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154345"
} | starcoder | using System;
using System.Reactive.Linq;
namespace Bonsai.ONIX.Design
{
internal static class ObservableCombinators
{
public static IObservable<TResult> CombineEither<TSource1, TSource2, TResult>(
this IObservable<TSource1> first,
IObservable<TSource2> second,
Func... | 2.58749 | 1311850bd0f1263f1a32353425881a3c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835126 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ztittle/Subspace",
"max_stars_repo_path": "examples/RtspProxy/RtspProxyService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154346"
} | starcoder | <reponame>ztittle/Subspace<filename>examples/RtspProxy/RtspProxyService.cs
using Microsoft.Extensions.Logging;
using Subspace.Dtls;
using Subspace.Rtsp;
using Subspace.Sdp;
using Subspace.Stun;
using Subspace.WebRtc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Thre... | 1.889943 | 4263b76af28c2744f35d410dae5b1f18 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "knocte/Xamarin.Forms",
"max_stars_repo_path": "Xamarin.Forms.Platform.WP8/TableView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154347"
} | starcoder | <reponame>knocte/Xamarin.Forms
namespace Xamarin.Forms.Platform.WinPhone
{
public partial class TableView : System.Windows.Controls.Grid
{
public TableView()
{
InitializeComponent();
}
}
} | 1.045941 | 1886ed075cf9ab61f4cb8924cef40079 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835128 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "AaronFriel/pulumi-google-native",
"max_stars_repo_path": "sdk/dotnet/Container/V1/Outputs/DatabaseEncryptionResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154348"
} | starcoder | <reponame>AaronFriel/pulumi-google-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pu... | 1.690692 | ee7957a8dc9aa2899b90bc8f2923bd8d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835129 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "dongdapeng110/SharpDevelopTest",
"max_stars_repo_path": "src/AddIns/Misc/Reports/ICSharpCode.Reports.Addin/Test/Dialogs/TextEditorDialogFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154349"
} | starcoder | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.Reports.Core;
using ICSharpCode.Reports.Core.Interfaces;
using NUnit.Framework;
namespace ICS... | 1.990069 | 9e4dab114ff963ae1621c88920ada8f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835130 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pedro-octavio/PROJECTManager",
"max_stars_repo_path": "PROJECTManager.Domain/Models/RequestModels/QueryRequestModels/GetProjectByIdRequestModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154350"
} | starcoder | <gh_stars>1-10
using MediatR;
using PROJECTManager.Domain.Models.ResponseModels.QueryResponseModels;
namespace PROJECTManager.Domain.Models.RequestModels.QueryRequestModels
{
public class GetProjectByIdRequestModel : IRequest<GetProjectByIdResponseModel>
{
public string Id { get; set; }
}
}
| 1.542619 | c91bce6b176397f6d2ea610bd3076314 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eworkart/Basketee",
"max_stars_repo_path": "Basketee.API.ServicesLib/DTOs/Products/ProductDetailsDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154351"
} | starcoder | <reponame>eworkart/Basketee<filename>Basketee.API.ServicesLib/DTOs/Products/ProductDetailsDto.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Basketee.API.DTOs.Product
{
public class ProductDetailsDto
{
public int product_id { get; set; }
publi... | 1.819816 | e4c36758be855b5f36fa9e01da130927 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835132 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "paul-tapon/XamarinWorkshop",
"max_stars_repo_path": "Api/WebAPIDemo/WebAPIDemo/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154352"
} | starcoder | <reponame>paul-tapon/XamarinWorkshop
@using WebAPIDemo.Areas.HelpPage
@model ImageSample
<img src="@Model.Src" /> | 1.138432 | 956eecd7293b0ed244c349b7de945550 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835133 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "coreframework/Core-Framework",
"max_stars_repo_path": "Source/Core.Profiles.NHibernate/Contracts/IProfileTypeLocaleService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154353"
} | starcoder | <reponame>coreframework/Core-Framework<gh_stars>1-10
using System;
using Core.Profiles.NHibernate.Models;
using Framework.Core.Services;
using NHibernate;
namespace Core.Profiles.NHibernate.Contracts
{
public interface IProfileTypeLocaleService : IDataService<ProfileTypeLocale>
{
ProfileTypeLocale Get... | 1.505446 | 2f74fa620327b4b5286a02247a745f8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndreaZain/com-danliris-service-packing-inventory",
"max_stars_repo_path": "src/Com.Danliris.Service.Packing.Inventory.Application/ToBeRefactored/CommonViewModelObjectProperties/UnitOfMeasurement.cs",
"provenance": "train-00027-of-000... | starcoder | <filename>src/Com.Danliris.Service.Packing.Inventory.Application/ToBeRefactored/CommonViewModelObjectProperties/UnitOfMeasurement.cs
namespace Com.Danliris.Service.Packing.Inventory.Application.CommonViewModelObjectProperties
{
public class UnitOfMeasurement
{
public int? Id { get; set; }
public... | 1.801239 | 83d4facb1ac8f578a8c6ce33806136d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zivkan/CodingForFun",
"max_stars_repo_path": "AdventOfCode/aoc.csharp.tests/2018/Day04Tests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154355"
} | starcoder | using aoc.csharp._2018;
using Xunit;
namespace aoc.csharp.tests._2018
{
public class Day04Tests
{
[Fact]
public void Answer()
{
using var input = Input.Get(2018, 04);
var (part1, part2) = Day04.GetAnswer(input);
Assert.Equal("36898", part1);
... | 2.86548 | 314fa2040230c60b5c9d167befabffd4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Thomas-A-Forsbergs/GGJ-Jackrabb",
"max_stars_repo_path": "Assets/Scripts/Obstacles/SwingSeatLogic.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154356"
} | starcoder | using UnityEngine;
public class SwingSeatLogic : MonoBehaviour
{
private PlayerMovement playerRef;
void Start()
{
}
private void OnTriggerStay(Collider other)
{
if (other.gameObject.CompareTag("Player"))
{
playerRef = other.gameObject.GetComponent<Pla... | 2.053815 | 56a133bf70f1a388c3cdd671f7cf6bce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TwitterBackupTeam/TwitterBackup",
"max_stars_repo_path": "TwitterBackup/TwitterBackup.Web/Views/Manage/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:154357"
} | starcoder | @using TwitterBackup.Web.Views.Manage | 0.942263 | d35870132d496df936280a4d292353dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "201019-UiPath/GresensCarson-Code",
"max_stars_repo_path": "Project0/StoreLib/LocationTasks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154358"
} | starcoder | using StoreLib.Models;
using System.Collections.Generic;
namespace StoreLib
{
public class LocationTasks
{
public List<Order> GetOrderHistory(){
//get order history of this location
List<Order> lst = new List<Order>();
return lst;
// go to db and get ord... | 2.020792 | 75cb5fe909e10ffb02bec925d36e6cbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835139 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "ErikXu/virtual-service-dotnet",
"max_stars_repo_path": "src/VirtualService.Net/Serialization/YamlIEnumerableSkipEmptyObjectGraphVisitor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154359"
} | starcoder | <reponame>ErikXu/virtual-service-dotnet<gh_stars>1-10
using YamlDotNet.Core;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.ObjectGraphVisitors;
using System.Collections;
namespace VirtualService.Net.Serialization
{
/// <summary>
/// https://stackoverflow.com/questions/56411304/how-to-skip-emp... | 2.3923 | 7babd399cf691d48d3401b4052c3268a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835140 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "SimScaleGmbH/simscale-csharp-sdk",
"max_stars_repo_path": "src/SimScale.Sdk/Model/CartesianBox.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154360"
} | starcoder | /*
* SimScale API
*
* The version of the OpenAPI document: 0.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
usi... | 2.40576 | 0c4bb67c3138221d0045fbb85ae2faa9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "berkkirtay/PasswordManager",
"max_stars_repo_path": "Password Manager Server/Handlers/RequestHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154361"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
using System.Net;
using Newtonsoft.Json;
namespace Password_Manager_Server
{
class RequestHandler
{
private CredentialManager credentialManager = null;
private s... | 2.791221 | 6e5458767cbc33eb30be6693156b08db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835142 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ValueCreation/RoutePlanner",
"max_stars_repo_path": "Source/ArcLogisticsApp/Commands/RoutingCmdHelpers/RoutingSolveValidator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154362"
} | starcoder | /*
| Version 10.1.84
| Copyright 2013 Esri
|
| Licensed under the Apache License, Version 2.0 (the "License");
| you may not use this file except in compliance with the License.
| You may obtain a copy of the License at
|
| http://www.apache.org/licenses/LICENSE-2.0
|
| Unless required by applicable law o... | 2.174743 | 5183abd59d3912678fdaef51cb654501 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835143 | {
"extension": "c-sharp",
"max_stars_count": "419.0",
"max_stars_repo_name": "vst-h/DotNetCore.SKIT.FlurlHttpClient.Wechat",
"max_stars_repo_path": "src/SKIT.FlurlHttpClient.Wechat.Api/Models/CgibinGuide/MassSendJob/CgibinGuideGetGuideMassSendJobResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:15436... | starcoder | namespace SKIT.FlurlHttpClient.Wechat.Api.Models
{
/// <summary>
/// <para>表示 [POST] /cgi-bin/guide/getguidemassendjob 接口的响应。</para>
/// </summary>
public class CgibinGuideGetGuideMassSendJobResponse : WechatApiResponse
{
public static class Types
{
public class Job
... | 2.133832 | 7131dc096dc353a83e6ed1f138968eda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fhps1/my-unity-utils",
"max_stars_repo_path": "Legacy - Localization/ComponentizationApproach/ILocalizationManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154364"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace FelipeUtils.Localization.Component
{
public interface ILocalizationManager<T> where T : Enum
{
T ActualLanguage { get; }
TextAsset LocalizationTSV { get; }
List<List<strin... | 2.215324 | e5faf45cdacc89c957a8f3ef656c92e2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835145 | {
"extension": "c-sharp",
"max_stars_count": "641.0",
"max_stars_repo_name": "cafstep/dotvvm",
"max_stars_repo_path": "src/Framework/Framework/Hosting/IHeaderCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154365"
} | starcoder | <filename>src/Framework/Framework/Hosting/IHeaderCollection.cs
using System.Collections.Generic;
namespace DotVVM.Framework.Hosting
{
public interface IHeaderCollection : IDictionary<string, string[]>
{
new string? this[string key] { get; set; }
void Append(string key, string value);
}
}
| 1.98423 | b3b81a9d905dd7c81db19a0f6be53f4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anthony-c-martin/azure-powershell",
"max_stars_repo_path": "src/Sql/Sql/ManagedDatabase Backup/Model/AzureSqlManagedDatabaseBackupShortTermRetentionPolicyModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154366"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.Azure.Management.Sql.Models;
namespace Microsoft.Azure.Commands.Sql.ManagedDatabaseBackup.Model
{
public class AzureSqlManagedDatabaseBackupShortTermRetentionPolicyModel
{
/// <summary>
/// Gets or sets the na... | 2.040746 | 4b151d180f22e8e7c40a74223ad6a661 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835147 | {
"extension": "c-sharp",
"max_stars_count": "424.0",
"max_stars_repo_name": "ionoy/AmmyUI",
"max_stars_repo_path": "test/Ammy.Test.Wpf/PropertyValues/ReferenceValue.ammy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154367"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ammy.WpfTest.PropertyValues
{
public partial class ReferenceValue
{
public ReferenceValue()
{
InitializeComponent();
this.Assert(... | 1.844302 | 2a2191546202c206e1bfc1d6b6943a65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baharms/ACT.Buffet",
"max_stars_repo_path": "View Model/BuffetVM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154368"
} | starcoder | using Advanced_Combat_Tracker;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Timers;
using System.Windows.Forms;
namespac... | 2.344995 | 38e55f47ea6d9812a744558047c7f002 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835149 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "turric4n/CKGL",
"max_stars_repo_path": "CKGL.WebGL/src/Graphics/Sprite.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154369"
} | starcoder | <gh_stars>1-10
namespace CKGL
{
public class Sprite
{
public SpriteSheet SpriteSheet { get; private set; }
public int SpriteSheetX { get; private set; }
public int SpriteSheetY { get; private set; }
public int Width { get; private set; }
public int Height { get; private set; }
public Vector2 Size { get; ... | 2.713771 | 8c406945de1a9b05d14ff23e0678635e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835150 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "garyhertel/Atlas",
"max_stars_repo_path": "Libraries/Atlas.Tabs.Test/Chart/TabTestChartList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154370"
} | starcoder | using Atlas.Core;
using System;
using System.Collections.Generic;
using System.Threading;
namespace Atlas.Tabs.Test.Chart
{
public class TabTestChartList : ITab
{
public TabInstance Create() => new Instance();
public class Instance : TabInstance
{
private List<ItemCollection<int>> _series;
private reado... | 2.306678 | d14eee922ec690111ca34ff60bdf5f35 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835151 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "alerdenisov/Rentitas",
"max_stars_repo_path": "Rentitas/Interfaces/IEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154371"
} | starcoder | using System;
namespace Rentitas
{
public interface IEntity
{
bool Has(params Type[] types);
bool HasAny(params Type[] types);
}
} | 1.772233 | 7a8aa334b5c82e8ad4ca32e6875735e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835152 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/logic/Microsoft.Azure.Management.Logic/src/Generated/IntegrationAccountBatchConfigurationsOperationsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154372"
} | starcoder | <reponame>gjy5885/azure-sdk-for-net<gh_stars>1000+
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incor... | 1.470839 | 96838f6b28658f60e2dff1df23722427 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "felixwafula/project-1-Pizzaslice",
"max_stars_repo_path": "Pizzaslice.Client/obj/Debug/netcoreapp2.2/Razor/Views/Pizzas/CreatePizza.g.cshtml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154373"
} | starcoder | <gh_stars>0
#pragma checksum "C:\revature\PizzaSliceApp\Pizzaslice.Client\Views\Pizzas\CreatePizza.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "59a5cd4c17eec0bb751174db34013fd2f9b654e8"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribut... | 1.806201 | ef30b94b51bbf141cef832d2ee88c21c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pivojak/All4Me",
"max_stars_repo_path": "Classes/FinanceRegister/FinanceGraphicRecord.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154374"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Shapes;
namespace All4Me
{
/// <summary>
/// Třída reprezentující grafickou pod... | 2.964869 | 03dd4becedf667fc26a72c24f2aff293 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bsides44/MARSGeofencing",
"max_stars_repo_path": "MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Runtime/Scripts/Simulation/SimulationVideoContextSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154375"
} | starcoder | <filename>MARS geofencing/Library/PackageCache/com.unity.mars@1.3.1/Runtime/Scripts/Simulation/SimulationVideoContextSettings.cs
using Unity.MARS.Settings;
using Unity.XRTools.Utils;
using UnityEngine;
namespace Unity.MARS.Simulation
{
/// <summary>
/// Settings used for video feed spatial contexts for simula... | 2.084653 | 4d9d5a124702d287021ebc534addb293 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DireWolfZA/ZendeskSellApiClient",
"max_stars_repo_path": "ZendeskSell/Orders/OrderActions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154376"
} | starcoder | <gh_stars>0
using System.Threading.Tasks;
using RestSharp;
using ZendeskSell.Models;
using ZendeskSell.Utils;
//https://developers.getbase.com/docs/rest/reference/orders
namespace ZendeskSell.Orders {
public class OrderActions : IOrderActions {
private RestClient _client;
public OrderActions(RestC... | 2.202197 | 02abba70285df363bdb14b4cbc6c32c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SavixOrg/SavixBot",
"max_stars_repo_path": "SavixBot/WFGiveaway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154377"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Telegram.Bot.Types;
namespace SavixBot
{
public class WFGiveaway : Workflow
{
static Int32 _count = 0;
public static ... | 2.469901 | 4cebb14fde47a5f2a874be6e943d981f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835158 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SystemDot/Ioc",
"max_stars_repo_path": "RegisteredType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154378"
} | starcoder | using System;
namespace SystemDot.Ioc
{
public class RegisteredType
{
public Type ResolveBy { get; private set; }
public Type ActualConcreteType { get; private set; }
public RegisteredType(Type resolveBy, Type actualConcreteType)
{
ResolveBy = resolveBy;
... | 2.220288 | 3ce5405ea4160e2eae5a8df0382b76f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835159 | {
"extension": "c-sharp",
"max_stars_count": "1862.0",
"max_stars_repo_name": "darcythomas/monodroid-samples",
"max_stars_repo_path": "ImageEffects/ImageEffects/Activity1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154379"
} | starcoder | using Android.App;
using Android.Graphics;
using Android.Media.Effect;
using Android.Opengl;
using Android.Views;
using Android.OS;
using Javax.Microedition.Khronos.Opengles;
using EGLConfig = Javax.Microedition.Khronos.Egl.EGLConfig;
//using Colour = Android.Graphics.Color;
using Android.Widget;
namespace ImageEffe... | 1.838723 | 2e2bf0d00016e7737e83bf3097247085 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Timur-Zinnatulin/Homework",
"max_stars_repo_path": "Semester-2/Test-Final/Sem2FinalTest/Sem2FinalUnitTests/Sem2FinalTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154380"
} | starcoder | using System;
using System.Collections.Generic;
using Sem2FinalTest;
using NUnit.Framework;
namespace Sem2FinalUnitTests
{
[TestFixture]
public class Sem2FinalTests
{
private AscendingComp<int> intComparerAscend;
private DescendingComp<int> intComparerDescend;
private List<int> lis... | 2.79578 | d25cdbfd04ebb44626de8ca12e6783b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835161 | {
"extension": "c-sharp",
"max_stars_count": "132.0",
"max_stars_repo_name": "ganku007/SparkDevContainer",
"max_stars_repo_path": "src/Spark.Engine/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154381"
} | starcoder | <gh_stars>100-1000
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Spark.Engine.Test")]
namespace Spark.Engine.Properties
{
internal class AssemblyInfo
{
}
}
| 0.84013 | 650cde441ae690f39589fd21e1da3351 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saggiomx/IsOddorEven",
"max_stars_repo_path": "src/Saggiomx.IsOddorEven.Api.Main/Controllers/HealthController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154382"
} | starcoder | <gh_stars>0
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Saggiomx.IsOddorEven.Api.Main.Controllers
{
[ApiController]
[Route("[controller]")]
public class HealthController : ControllerBase
{
private readonly ILogger<HealthController> _logger;
... | 1.725735 | 2592fe9f48892a3eb609fd7503998ddb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835163 | {
"extension": "c-sharp",
"max_stars_count": "446.0",
"max_stars_repo_name": "aumcode/nfx",
"max_stars_repo_path": "Source/NFX/Parsing/TokenParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154383"
} | starcoder | /*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. 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
*
... | 2.647094 | 666adc059ab09813bf5b5e43aa62ad10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835164 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "alexeystrakh/XamarinFormsPasswordAutofill",
"max_stars_repo_path": "PasswordAutofillSample.iOS/AppleAutofillEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154384"
} | starcoder | using System.Linq;
using Foundation;
using PasswordAutofillSample.iOS;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
[assembly: ResolutionGroupName("PasswordAutofillSample")]
[assembly: ExportEffect(typeof(AppleAutofillEffect), "AutofillEffect")]
namespace PasswordAutofillSample.iOS
{
public... | 2.269962 | cc4de7767eed8d5a8dbc5d105cc563b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mruhul/BoltSuite",
"max_stars_repo_path": "Bolt.PubSub.RabbitMq/Publishers/RabbitMqPublisher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154385"
} | starcoder | <filename>Bolt.PubSub.RabbitMq/Publishers/RabbitMqPublisher.cs<gh_stars>0
using Microsoft.Extensions.Logging;
using RabbitMQ.Client;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("Bolt.PubSub.RabbitMq.Tests")]
[assembly: InternalsVisibleTo("Dynami... | 2.440259 | 1da3d5c495a500903bb2b4a627ae9512 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835166 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Atvaark/Emurado",
"max_stars_repo_path": "HaloOnline.Server.Core.Repository/Model/UserState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154386"
} | starcoder | <reponame>Atvaark/Emurado
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HaloOnline.Server.Core.Repository.Model
{
[Table("UserState")]
public class UserState
{
[Key]
public int UserId { get; set; }
public string Name { ge... | 1.863333 | f3d82ca875238a335055c09db08102cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835167 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/LookoutforVision/Generated/Model/DetectAnomaliesRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154387"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 2.107041 | 27f37734c70b9d7e4d8b39cc7783f616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DobromirZlatkov/AnteyaSid",
"max_stars_repo_path": "src/BuildingBlocks/HealthChecks/Microsoft.Extensions.HealthChecks/HealthCheckResults.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154388"
} | starcoder | <reponame>DobromirZlatkov/AnteyaSid
using AnteyaSidOnContainers.BuildingBlocks.HealthChecks.Microsoft.Extensions.HealthChecks.Contracts;
using System.Collections.Generic;
namespace AnteyaSidOnContainers.BuildingBlocks.HealthChecks.Microsoft.Extensions.HealthChecks
{
public class HealthCheckResults
{
p... | 1.504613 | 913b4041eae477e755627dc6247798e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gitter-badger/Additel.NET",
"max_stars_repo_path": "source/Additel.BLE/Shared/BLEAdapterState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154389"
} | starcoder | namespace Additel.BLE
{
public enum BLEAdapterState
{
Unknown,
Resetting,
Unsupported,
Unauthorized,
Off,
On,
TurningOff,
TurningOn
}
}
| 1.616756 | 149ce7319b8af42bff4c4d105a3f2c05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835170 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "benramey-faithlife/FaithlifeTesting",
"max_stars_repo_path": "src/Faithlife.Testing/TestFrameworks/TestFrameworkProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154390"
} | starcoder | <reponame>benramey-faithlife/FaithlifeTesting<gh_stars>1-10
using System;
using System.Linq;
using System.Threading;
namespace Faithlife.Testing.TestFrameworks
{
// Credit to https://github.com/fluentassertions/fluentassertions/blob/a8fce5df379782e466db551a683696a51969b1d8/Src/FluentAssertions/Execution/TestFramework... | 1.984847 | de91e2b0f1ff2777a2954c1e4927d270 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PGBSNH20/the-train-track-coffeeshopteam",
"max_stars_repo_path": "Source/TrainEngine/Train.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154391"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace TrainEngine
{
public class Train
{
public int ID { get; set; }
public string Name { get; set; }
public int MaxSpeed { get; set; }
public bool IsOperated { get; set; }
public Train(int iD, strin... | 2.733602 | 49035cdc8b1b8ba565489a9fe130f87d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835172 | {
"extension": "c-sharp",
"max_stars_count": "23.0",
"max_stars_repo_name": "ERAGON007/Slipe-Server",
"max_stars_repo_path": "SlipeServer.Packets/Enums/ScreenshotStatus.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154392"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SlipeServer.Packets.Enums
{
public enum ScreenshotStatus : byte
{
Unknown,
Success,
Minimalized,
Disabled,
Error,
}
}
| 1.556916 | 079840736e7e7edf2a2c6654b546fff4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835173 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DeivSky/ECS-Marching-Cubes",
"max_stars_repo_path": "Assets/Scripts/Utilities/GeneralJobs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154393"
} | starcoder | <filename>Assets/Scripts/Utilities/GeneralJobs.cs
using System;
using Unity.Assertions;
using Unity.Burst;
using Unity.Collections;
using Unity.Jobs;
[BurstCompile]
public struct ArraysToHashMap<T1, T2> : IJob where T1 : struct, IEquatable<T1> where T2 : struct
{
[ReadOnly] public NativeArray<T1>.ReadOnly Keys;
[Re... | 2.276476 | e7f0921dd47a89c2deac7a7cfdcb7e26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835174 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "mike-barber/csharp-priority-scheduling-tools",
"max_stars_repo_path": "src/PrioritySchedulingTools.Benchmark/SchedulerPerf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154394"
} | starcoder | <gh_stars>1-10
using BenchmarkDotNet.Attributes;
using Microsoft.Diagnostics.Tracing.Parsers.Tpl;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PrioritySchedulingTools.Benchmark
{
[MemoryDiagnoser]
public class SchedulerPerf... | 2.45382 | b074f4c906498077fba7828bc90f72ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835175 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "Fluck000/AiForms.Effects",
"max_stars_repo_path": "AiForms.Effects/FloatingLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154395"
} | starcoder | <filename>AiForms.Effects/FloatingLayout.cs
using System;
using Xamarin.Forms;
using System.Collections.ObjectModel;
using System.Collections.Generic;
using System.Collections;
namespace AiForms.Effects
{
/// <summary>
/// Floating layout.
/// </summary>
public class FloatingLayout :View, IList<Floati... | 3.03137 | a37f561ce8e3d9ff11e94817710be0e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835176 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BellumGens/bellum-gens-api",
"max_stars_repo_path": "BellumGens.Api/Models/UserMapPool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154396"
} | starcoder | using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace BellumGens.Api.Models
{
public class UserMapPool
{
[Key]
[Column(Order = 0)]
public string UserId { get; set; }
[Key]
[Column(Order = 1)]
public CSGOMap Map { get; set; }
... | 1.952135 | f3a87cb9f1baf75750831fe072d51e92 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835177 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Lorilatschki/NetArchTest",
"max_stars_repo_path": "test/NetArchTest.TestStructure/Dependencies/TypeOfSearch/Classes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154397"
} | starcoder | <gh_stars>1-10
namespace NetArchTest.TestStructure.Dependencies.TypeOfSearch
{
using System;
using System.Collections.Generic;
using System.Text;
#pragma warning disable 169
public class Class_A
{
}
public class Class_B
{
Dependency_3 dp3;
}
public class Class_C
... | 2.329744 | 9e50b0ff465f5c47a29618ab732152cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835178 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "OrchardCMS/Autofac",
"max_stars_repo_path": "Examples/AttributedExample.ConsoleApplication/StateTypes/WorkflowTrigger.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154398"
} | starcoder | <reponame>OrchardCMS/Autofac
namespace AttributedExample.ConsoleApplication.StateTypes
{
public enum WorkflowTrigger
{
Approve,
Reject,
Done
}
}
| 1.203334 | 18d505f54d24e84960fea68f62223bc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835179 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KrzysztofKielce/xaf-tooltips",
"max_stars_repo_path": "SampleProject.Web/Dialog.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154399"
} | starcoder | using System;
using DevExpress.ExpressApp.Web;
using DevExpress.ExpressApp.Editors;
using DevExpress.ExpressApp.Web.Templates;
public partial class DialogPage : BaseXafPage, ILookupPopupFrameTemplate
{
private void window_PagePreRender(object sender, EventArgs e)
{
((WebWindow)sender).PagePreRender -= ... | 1.618563 | d704744fb270c64bb1fb599315fd4313 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xenosl/ShuHai",
"max_stars_repo_path": "Source/ShuHai.Core/Ensure.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154400"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace ShuHai
{
public static class Ensure
{
public static class Argument
{
public static void NotNull<T>(T arg, string name)
{
if (ReferenceEquals(arg, null))
thro... | 3.174147 | 9d462022e4b27cc599b466d4f6bf048f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835181 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "scscgit/XposeCraft",
"max_stars_repo_path": "Assets/Game/Scripts/Inspector/ReadOnlyAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154401"
} | starcoder | using UnityEngine;
namespace XposeCraft.Inspector
{
public class ReadOnlyAttribute : PropertyAttribute
{
}
}
| 1.194476 | 5cab87d5d409e77b91f7bf6a2236280a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835182 | {
"extension": "c-sharp",
"max_stars_count": "369.0",
"max_stars_repo_name": "tomko80/RGB-GO",
"max_stars_repo_path": "MSIRGB.ScriptService/LuaBindings/OsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154402"
} | starcoder | using System;
using System.Threading;
using MoonSharp.Interpreter;
namespace MSIRGB.ScriptService.LuaBindings
{
class OsExtensions
{
public static void Register(ExecutionConstrainedScript script, ManualResetEventSlim scriptThreadShutdownEvent)
{
RegisterSleepFunction(script, script... | 2.432527 | ed199ceb600c8779f4990799dbd088e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vercas/vLogs",
"max_stars_repo_path": "vLogs/Objects/Log Flags and Payload Types.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154403"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace vLogs.Objects
{
/// <summary>
/// Flags for logging objects.
/// </summary>
[Flags]
public enum LogFlags
: byte
{
/// <summary>
/// Object is for d... | 2.222858 | b518a3f5fe3b90b5f081985cb608a8e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835184 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "lsolano/ProtoPrimitives.NET",
"max_stars_repo_path": "src/test/cs/ProtoPrimitives.NET.Tests/Strings/ConfigurableStringFacts/ToStringMessage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154404"
} | starcoder | using Triplex.ProtoDomainPrimitives.Strings;
namespace Triplex.ProtoDomainPrimitives.Tests.Strings.ConfigurableStringFacts;
[TestFixture]
internal sealed class ToStringMessage
{
[Test]
public void Returns_Constructor_Provided_Value()
{
const string rawValue = "<NAME>";
ConfigurableString c... | 2.35651 | 98df019da2787b6d632f283a091d44a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835185 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hackerrithm/ASP-MVC5-Shopping-WebApp",
"max_stars_repo_path": "Hexebook/Hexebook/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154405"
} | starcoder | <reponame>hackerrithm/ASP-MVC5-Shopping-WebApp<filename>Hexebook/Hexebook/Startup.cs<gh_stars>1-10
using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(Hexebook.Startup))]
namespace Hexebook
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
... | 1.529329 | 7c72c48e46ea3d72e37d08e39b4dea5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "carlos-freire-acebedo/GildedRose-Refactoring-Solution-Approach",
"max_stars_repo_path": "csharp/GildedRose.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154406"
} | starcoder | <reponame>carlos-freire-acebedo/GildedRose-Refactoring-Solution-Approach<filename>csharp/GildedRose.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace csharp
{
public class GildedRose
{
IList<Item> Items;
const string AGEDBRIE = "Aged Brie";
const string ... | 3.012414 | a1d8732695fce9fb6ef90e6e93334970 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jpeirson/DeploymentContributorFilterer",
"max_stars_repo_path": "SqlPackageFilter/Filter/FilterType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154407"
} | starcoder | <filename>SqlPackageFilter/Filter/FilterType.cs<gh_stars>1-10
namespace AgileSqlClub.SqlPackageFilter.Filter
{
public enum FilterType
{
Schema,
Name,
Type,
TableColumns,
Security //Pseudo FilterType - All ObjectTypes that are security things
}
} | 1.841753 | 4c08495757652d779d1f725bc4fba6aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mahinjust/Cse_Department_Management_System.github.io",
"max_stars_repo_path": "Add_Fee.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154408"
} | starcoder | namespace Cse_Department.Fee
{
partial class Add_Fee
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 2.092975 | 1339a6c1c8f9752e585e9a84634def88 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835189 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "NaskoVasilev/Softuniada",
"max_stars_repo_path": "Softuniada 2018/AwesomeNumbers/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154409"
} | starcoder | using System;
namespace AwesomeNumbers
{
class Program
{
static void Main(string[] args)
{
int number = int.Parse(Console.ReadLine());
int favoriteNumber = int.Parse(Console.ReadLine());
int meetCinditions = 0;
if(number % 2 != 0)
... | 3.726123 | 303440dbb7de2eee9264e6270107813f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835190 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mrhockeymonkey/HollisticInventoryExporter",
"max_stars_repo_path": "HIE.CLI/Configuration/ValidationConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154410"
} | starcoder | using HIE.Validate.Models;
using System.Collections.Generic;
namespace HIE.CLI.Configuration
{
public class ValidationConfig
{
public IEnumerable<ValidatorConfig> Hostname { get; set; }
public IEnumerable<ValidatorConfig> OperatingSystem { get; set; }
}
} | 1.48132 | 2bd82e65e9fd468f99b96b463055b96d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KuraiAndras/AdventOfCode",
"max_stars_repo_path": "Years/2021/Day6Benchmark/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154411"
} | starcoder | <reponame>KuraiAndras/AdventOfCode<filename>Years/2021/Day6Benchmark/Program.cs
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Running;
using Day6Benchmark;
using System.Numerics;
_ = BenchmarkRunner.Run<Bench>();
namespace Day6Benchmark
{
[MemoryDiagnoser]
public class Bench
{
private i... | 2.886855 | 28987d8eff511ab9b56c3bd11fcb6ce5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835192 | {
"extension": "c-sharp",
"max_stars_count": "76.0",
"max_stars_repo_name": "sora-jp/leak",
"max_stars_repo_path": "sources/Leak.Datashare/DataShareToDataMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154412"
} | starcoder | <gh_stars>10-100
using System;
using Leak.Common;
namespace Leak.Data.Share
{
public interface DataShareToDataMap
{
void Query(Action<PeerHash, Bitfield, PeerState> callback);
}
} | 1.196506 | 88a721e694b75df24aae6eb7b96cde8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835193 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "tockata/YouTubePlaylists",
"max_stars_repo_path": "source/YouTubePlaylists.App/Models/ViewModels/PlaylistHomePageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154413"
} | starcoder | namespace YouTubePlaylists.App.Models.ViewModels
{
public class PlaylistHomePageViewModel
{
public int Id { get; set; }
public string Title { get; set; }
public string Creator { get; set; }
public double Rating { get; set; }
public int CategoryId { get; set; }
... | 1.457355 | 124ba441aa46caff14009948106bcb7f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835194 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CallumDev/BubbleEngine",
"max_stars_repo_path": "src/BubbleEngine.Base/SpriteBatch.Primitives.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154414"
} | starcoder | <filename>src/BubbleEngine.Base/SpriteBatch.Primitives.cs
#region License
/*
* Bubble Engine
* This file is licensed under the MIT License. See LICENSE for Details
*/
#endregion
using System;
namespace BubbleEngine
{
//Drawing primitives with SpriteBatch
public partial class SpriteBatch
{
public void DrawLine... | 2.656823 | 6fde76aee490379fd8e8bda642e9aa15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835195 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "BookBeatAB/knightbus",
"max_stars_repo_path": "knightbus-sqlserver/src/KnightBus.SqlServer/SqlServerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154415"
} | starcoder | <reponame>BookBeatAB/knightbus<filename>knightbus-sqlserver/src/KnightBus.SqlServer/SqlServerExtensions.cs
using KnightBus.Core;
using KnightBus.Core.Sagas;
namespace KnightBus.SqlServer
{
public static class SqlServerExtensions
{
public static IHostConfiguration UseSqlServerSagaStore(this IHostConfig... | 1.609847 | 7133224e881015df35a26cb108eed07c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835196 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "SalZaki/AlphaTravels",
"max_stars_repo_path": "Alpha.Travel.Common/TimeProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154416"
} | starcoder | namespace Alpha.Travel.Common
{
using System;
public class TimeProvider : ITimeProvider
{
public DateTime Now
{
get { return DateTime.Now; }
}
}
} | 2.156653 | 903d060643ab95083179df612410be90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835197 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JurldMower/TFT_Hexgrid",
"max_stars_repo_path": "SvgLib/Polygon/SvgHexagons.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154417"
} | starcoder | using System.Linq;
using HexGridInterfaces.Structs;
using HexGridInterfaces.SvgHelpers;
using SvgLib.Paths;
namespace SvgLib.Polygons
{
/// <summary>
/// encapsulate information useful for drawing a hexagon as SVG
/// </summary>
public class SvgHexagon : ISvgHexagon
{
public int ID { get; ... | 3.326191 | 44695895fc14436c06c6c7e2e4b9b8cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835198 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "mattdurham/EasyDynamo",
"max_stars_repo_path": "src/EasyDynamo.Tests/Factories/AttributeDefinitionFactoryTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154418"
} | starcoder | using Amazon.DynamoDBv2;
using EasyDynamo.Config;
using EasyDynamo.Factories;
using EasyDynamo.Tests.Fakes;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace EasyDynamo.Tests.Factories
{
public class AttributeDefinitionFactoryTests
{
private const string HashKey... | 2.477468 | 6a578260e3b07cc7af1fd912f34735d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "folkelib/Folke.Mvc.Extensions",
"max_stars_repo_path": "src/Folke.Mvc.Extensions/HttpOkObjectResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154419"
} | starcoder | using Microsoft.AspNetCore.Mvc;
namespace Folke.Mvc.Extensions
{
public class HttpOkObjectResult<T> : OkObjectResult, IHttpActionResult<T>
{
public HttpOkObjectResult(T value) : base(value)
{
}
}
}
| 1.753804 | 9e266d44f397b0ab9185bc0d841c5b7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835200 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Xgames123/PrimitierModManager",
"max_stars_repo_path": "PrimitierModManager/Mod.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154420"
} | starcoder | using MaterialDesignThemes.Wpf;
using Newtonsoft.Json;
using System;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media.Imaging;
namespace PrimitierModManager
{
[Serializable]
public class Mod
{
[JsonProperty(Required = Required.Always)] public string DisplayName { get; se... | 2.188556 | 7a99ff584c653446d1ad2594e8b635eb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835201 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "chiepomme/TwitterMVGenerator",
"max_stars_repo_path": "Assets/GifPlayer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154421"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using UTJ.FrameCapturer;
public class GifPlayer : MonoBehaviour
{
public static GifPlayer Create(RawImage image, List<UniGif.GifTexture> textures)
{
var player = new GameObject("GifPlayer").AddComponent<GifPl... | 2.264269 | 38b808f5907035af7f4c273d1abda9e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brycekbargar/nilgri",
"max_stars_repo_path": "Nilgiri/Core/DependencyInjection/AsserterFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154422"
} | starcoder | namespace Nilgiri.Core.DependencyInjection
{
using System;
using Nilgiri.Core.Asserters;
public interface IAsserterFactory
{
T Get<T>() where T : class, IAsserter;
}
public class AsserterFactory : IAsserterFactory
{
public T Get<T>() where T : class, IAsserter
{
var asserterType = type... | 2.797045 | f7df27502a6862079ff4708dea56b597 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "1TaNaTa1/Programming-Fundamentals",
"max_stars_repo_path": "05. Lists/Lab/02. Gauss' Trick/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154423"
} | starcoder | using System;
using System.Linq;
using System.Collections.Generic;
namespace _02._Gauss__Trick
{
class Program
{
static void Main()
{
List<int> numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToList();
int count... | 3.678225 | f90e2ef0857288d282d6a49e5e0c6e05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DrTorte/Genxyz",
"max_stars_repo_path": "Ikaros/Models/Layer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154424"
} | starcoder | <filename>Ikaros/Models/Layer.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace Genxyz.Models
{
public class Layer
{
public int LayerID { get; set; }
[Required]
public virtual string Name { ge... | 2.312402 | 43509341bf41ea6d94098a6dca112e5b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835205 | {
"extension": "c-sharp",
"max_stars_count": "590.0",
"max_stars_repo_name": "vkvenkat/corefx",
"max_stars_repo_path": "src/System.Data.SqlClient/tests/Tools/TDS/TDS.Servers/AuthenticatingTDSServerArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154425"
} | starcoder | <gh_stars>100-1000
// 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.
namespace Microsoft.SqlServer.TDS.Servers
{
/// <summary>
/// Arguments for authenticati... | 2.18831 | edea6a090fb54f46ad152b7349ed5e62 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835206 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "dmester/pdftosvg.net",
"max_stars_repo_path": "tests/PdfToSvg.Tests/IO/BufferedStreamReaderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154426"
} | starcoder | <filename>tests/PdfToSvg.Tests/IO/BufferedStreamReaderTests.cs
// Copyright (c) PdfToSvg.NET contributors.
// https://github.com/dmester/pdftosvg.net
// Licensed under the MIT License.
using NUnit.Framework;
using PdfToSvg.IO;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using S... | 2.757246 | 407d98d18f41ba41c973f4bcbd878e1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835207 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "manuelstein/synapse",
"max_stars_repo_path": "src/Cli/Synapse.Cli/Commands/DeleteWorkflowInstanceCommand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154427"
} | starcoder | using Synapse.Cli.Services;
using Synapse.Domain.Models;
using System.CommandLine;
namespace Synapse.Cli.Commands
{
/// <summary>
/// Represents the <see cref="Command"/> used to delete a single <see cref="V1WorkflowInstance"/>
/// </summary>
public class DeleteWorkflowInstanceCommand
: Comman... | 2.530406 | 5b9d0468df0979290ff07af7558ea7ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835208 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "premun/xamarin-macios",
"max_stars_repo_path": "tests/xharness/TestTasks/IRunDeviceTask.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154428"
} | starcoder | using Microsoft.DotNet.XHarness.iOS.Shared.Hardware;
using Microsoft.DotNet.XHarness.iOS.Shared.Listeners;
namespace Xharness.TestTasks {
public interface IRunDeviceTask : IRunXITask<IHardwareDevice> {
ITunnelBore TunnelBore { get; }
}
}
| 1.217194 | 4fc89c35ece0c8f37e60c18bb3756ece |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835209 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kimidomaru/Mega-Man-X-Test---Unity-5",
"max_stars_repo_path": "Scripts/WallCheck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154429"
} | starcoder | <reponame>kimidomaru/Mega-Man-X-Test---Unity-5
using UnityEngine;
using System.Collections;
public class WallCheck : MonoBehaviour {
public static int layerMask = (1 << 8);
public static bool leftWall(Vector3 position)
{
RaycastHit2D hit = Physics2D.Raycast (new Vector2(position.x,position.y), Vector2... | 2.492041 | 45941cc858bd7d22dd35b84bcd112190 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835210 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "McSherry/pass-winmenu",
"max_stars_repo_path": "pass-winmenu/src/Configuration/Classes/NotificationConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154430"
} | starcoder | <reponame>McSherry/pass-winmenu<filename>pass-winmenu/src/Configuration/Classes/NotificationConfig.cs
namespace PassWinmenu.Configuration
{
internal class NotificationConfig
{
public bool Enabled { get; set; } = true;
public NotificationTypesConfig Types { get; set; } = new NotificationTypesConfig();
}
}
| 1.510752 | cc93b8e8f2b81ebe04c63929259f0297 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8835211 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tocsoft/StreamDeckSdk",
"max_stars_repo_path": "src/Tocsoft.StreamDeck.Core/Events/Outbound/ShowOkEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:154431"
} | starcoder | namespace Tocsoft.StreamDeck.Events
{
/// <summary>
/// Shwo the ok icon for a hsort time on top of an action.
/// </summary>
public class ShowOkEvent : StreamDeckOutboundActionEvent
{
}
}
| 1.685332 | a784e56b34a579e7987908e6726883e9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.