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 | 8816118 | {
"extension": "c-sharp",
"max_stars_count": "109.0",
"max_stars_repo_name": "adnang/pulumi-azure",
"max_stars_repo_path": "sdk/dotnet/Monitoring/Outputs/AutoscaleSettingNotificationEmail.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135338"
} | starcoder | <reponame>adnang/pulumi-azure
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
usin... | 1.381963 | eab79d95ded73fb1d281392a65d1f8d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gencer/dotnet-api-library",
"max_stars_repo_path": "src/TestApplication/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135339"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using KayakoRestApi;
using KayakoRestApi.Core.Departments;
using KayakoRestApi.Net;
namespace KayakoTestApplication
{
/// <summary>
/// A number of example uses of the .Net Api f... | 2.6781 | 6f6e09bc08f950d40f43fb6f8269ae26 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816120 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "RIDICS/ITJakub",
"max_stars_repo_path": "UJCSystem/Vokabular.MainService.Core/Works/Content/CreateNewImageResourceVersionWork.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135340"
} | starcoder | using System;
using System.IO;
using System.Net;
using Vokabular.Core.Storage;
using Vokabular.DataEntities.Database.Entities;
using Vokabular.DataEntities.Database.Entities.Enums;
using Vokabular.DataEntities.Database.Repositories;
using Vokabular.MainService.DataContracts;
using Vokabular.MainService.DataContracts.C... | 2.123078 | a13730cb6091d094086d19c9bd754e97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816121 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "croxelstudios/Serfs-Galore",
"max_stars_repo_path": "Assets/Other Scripts/Cappy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135341"
} | starcoder | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
//simple script for taking screenshots and recording sequences of screenshots (whilst maintaining output FPS of recording)
//features
// - Specify screenshot scale (double, triple, etc)
// - Capture single screenshots and video
// - Record... | 2.553388 | 86df0ac52c3bf6bf17ef767bda4f0784 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816122 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "venbacodes/AuctionSystem",
"max_stars_repo_path": "src/Core/Application/Bids/Queries/Details/GetHighestBidDetailsQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135342"
} | starcoder | <filename>src/Core/Application/Bids/Queries/Details/GetHighestBidDetailsQuery.cs
namespace Application.Bids.Queries.Details
{
using System;
using Common.Models;
using MediatR;
public class GetHighestBidDetailsQuery : IRequest<Response<GetHighestBidDetailsResponseModel>>
{
public GetHighest... | 2.158834 | 366f95242c4f7a63d7b40aa970ab379a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816123 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KuJIT/monetdb-mapi-net",
"max_stars_repo_path": "MonetDb.Mapi/Helpers/Mapi/Socket.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135343"
} | starcoder | <reponame>KuJIT/monetdb-mapi-net
namespace MonetDb.Mapi.Helpers.Mapi
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Sockets;
using MonetDb.Mapi.Enums;
using MonetDb.Mapi.Helpers.Mapi.Protocols;
/// <summary>
/// MapiSocket is a class for talking to... | 2.400324 | 7d24d8290e3b6a5adf15850bf6475d86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816124 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mv-iliev01/ASP.NET-Core-Footshop",
"max_stars_repo_path": "FootShopSystem/Data/Migrations/20210806064958_AllTables.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135344"
} | starcoder | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace FootShopSystem.Data.Migrations
{
public partial class AllTables : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name... | 1.961189 | be9399562e50706a980a623b7e647dce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "musictopia2/GamingPackXV3",
"max_stars_repo_path": "Blazor/Games/MastermindBlazor/Views/MastermindMainView.razor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135345"
} | starcoder | <reponame>musictopia2/GamingPackXV3
namespace MastermindBlazor.Views;
public partial class MastermindMainView
{
private static string GetExtraMarginText()
{
string margins = "5px";
return $"margin: {margins};";
}
} | 1.28447 | d25d44c5c660dbf5273a742c20b4fcbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816126 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OscarLopezFabregas/InfiniteRunner",
"max_stars_repo_path": "Assets/Scripts/Item.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135346"
} | starcoder | <reponame>OscarLopezFabregas/InfiniteRunner
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Item : MonoBehaviour {
public int puntosGanados = 5;
public AudioClip itemSoundClip;
public float itemSoundVolume = 0.5f;
// Use this for initialization
void Start ()... | 1.928313 | fd1e312f3b6310fd027316ef9d4b1ceb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816127 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nguyenthienthanh/FashionStore",
"max_stars_repo_path": "FashionStore/Global.asax.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135347"
} | starcoder | <reponame>nguyenthienthanh/FashionStore<gh_stars>0
using FashionStore.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace FashionStore
{
public class MvcApplication : System.Web.H... | 1.845854 | d06bcfd2b267f54f55c5125dc85eb492 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816128 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "seb776/AnimatedBackground",
"max_stars_repo_path": "DrawBehindDesktopIcons/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135348"
} | starcoder | <gh_stars>1-10
using DrawBehindDesktopIcons.Utils;
using Khronos;
using OpenGL;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tas... | 2.425503 | ae580beee77fe328dd9fcbf609b8f756 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pashcovich/Glass.Mapper",
"max_stars_repo_path": "Source/Glass.Mapper.Sc/IoC/DataMapperTaskConfigFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135349"
} | starcoder | using Glass.Mapper.IoC;
using Glass.Mapper.Pipelines.DataMapperResolver;
using Glass.Mapper.Pipelines.DataMapperResolver.Tasks;
namespace Glass.Mapper.Sc.IoC
{
public class DataMapperTaskConfigFactory : AbstractConfigFactory<AbstractDataMapperResolverTask>
{
public DataMapperTaskConfigFactory()
... | 1.475117 | 283a8ea6377dd643cdff70fcb9865249 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816130 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Code-Inside/Sloader",
"max_stars_repo_path": "src/Sloader.Config/SloaderConfigDeserializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135350"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
namespace Sloader.Config
{
/// <summary>
/// Searches in the given ymlString for $$PLACEHOLDER$$ and replace it with a given PLACEHOLDER secret value.
/// <para>The "full" ymlString is then deserialized t... | 3.133457 | 97f605d01939f567aa2e4fdaf97a933a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816131 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sesispla/infrastructure",
"max_stars_repo_path": "src/Infrastructure/Stize.Infrastructure.Azure/ResourceGroupExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135351"
} | starcoder | <gh_stars>1-10
using Pulumi;
namespace Stize.Infrastructure.Azure
{
public static class ResourceGroupExtensions
{
/// <summary>
/// Sets the builder name using the builder resource strategy
/// </summary>
/// <param name="builder">Builder instance</param>
/// <param name... | 2.196207 | 94d1c6ffacd4c315bd8d207fe6c8b047 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816132 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ewhitmore/Enterprise-Security",
"max_stars_repo_path": "Enterprise.Model/Student.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135352"
} | starcoder | using System;
namespace Enterprise.Model
{
public class Student : EntityBase<Student>
{
public virtual string FullName { get; set; }
public virtual DateTime Birthday { get; set; }
public virtual Classroom Classroom { get; set; }
}
}
| 2.208256 | b75062be0b9be02e02b9628d8dd5fba4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816133 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fitzychan/DotnetSpider",
"max_stars_repo_path": "src/DotnetSpider/Statistics/Store/IStatisticsStore.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135353"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using DotnetSpider.Statistics.Entity;
namespace DotnetSpider.Statistics.Store
{
/// <summary>
/// 统计存储接口
/// </summary>
public interface IStatisticsStore
{
/// <summary>
/// 创建数据库和表
/// </summary>
/// <returns></ret... | 2.358561 | eeabe83952d5921f0905761c9296dfa5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816134 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rynowak/ComponentFunTime",
"max_stars_repo_path": "obj/Debug/netcoreapp3.0/Razor/Components/Shared/EmployeeEditor.razor.g.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135354"
} | starcoder | #pragma checksum "C:\Users\rynowak\source\repos\ComponentFunTime\Components\Shared\EmployeeEditor.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3a6624dde845a2ddff816749b14fdaf0a1cdcd67"
// <auto-generated/>
#pragma warning disable 1591
namespace ComponentFunTime.Components.Shared
{
#line hidden
using System;... | 1.694318 | 94aa85b4f612b41ed5f585fa76ac46c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PrasadSahana/Implementation-of-Scalar-Encoders-in-HTM",
"max_stars_repo_path": "Source/HTM/DistributedComputeLib/DictNodeActor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135355"
} | starcoder | <filename>Source/HTM/DistributedComputeLib/DictNodeActor.cs
using Akka.Actor;
using NeoCortexApi.Entities;
using NeoCortexApi.Utility;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using Sy... | 2.289431 | cb4bf3478c1a7a5da1386f1ef712c70c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816136 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saulmadi/Encomiendas",
"max_stars_repo_path": "src/Encomiendas.Web/Api/Infrastructure/RestExceptions/UserInputPropertyMissingException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135356"
} | starcoder | <filename>src/Encomiendas.Web/Api/Infrastructure/RestExceptions/UserInputPropertyMissingException.cs
using System;
namespace Encomiendas.Web.Api.Infrastructure.RestExceptions
{
public class UserInputPropertyMissingException : Exception
{
public UserInputPropertyMissingException(string parameterName)
... | 2.355787 | 334149beeafca708ca951b5ecd6bd66c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816137 | {
"extension": "c-sharp",
"max_stars_count": "5937.0",
"max_stars_repo_name": "KodamaSakuno/wpf",
"max_stars_repo_path": "src/Microsoft.DotNet.Wpf/src/PresentationCore/MS/internal/DpiScale2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135357"
} | starcoder | // 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 MS.Internal
{
using System;
using System.Windows;
/// <summary>
/// Wrapper for <see cre... | 2.877934 | a007d639ce93bec54bc745def611cb2f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johnmbaughman/XAMLPowerToys2015",
"max_stars_repo_path": "XamlPowerToys/Infrastructure/AssemblyAssistant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135358"
} | starcoder | namespace XamlPowerToys.Infrastructure {
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using EnvDTE;
using Microsoft.Build.Construction;
using XamlPowerToys.Model;
using XamlPowerToys.UI.Infrastructure;
internal class AssemblyAssistant {
pub... | 2.068135 | 3bb06fe87527bb71fd005c5c74eec25a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816139 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Alnirel/com.stansassets.running-dinosaur-clone",
"max_stars_repo_path": "Assets/Plugins/StansAssets/NativePlugins/IOSNativePro/Runtime/API/AVFoundation/Enum/ISN_AVAudioSessionRouteChangeReason.cs",
"provenance": "train-00027-of-00045.... | starcoder | namespace SA.iOS.AVFoundation
{
/// <summary>
/// Constants values indicating the reason for an audio route change.
/// </summary>
public enum ISN_AVAudioSessionRouteChangeReason
{
/// <summary>
/// A value that indicates the reason for the change is unknown.
/// </summary>
... | 2.313037 | 238dce991b414475ded8df98a13e37bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefani-karaustova/01.Programming-Basics-With-C-Sharp",
"max_stars_repo_path": "07.ForLoop-Lab/10.OddEvenSum/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135360"
} | starcoder | <gh_stars>0
using System;
namespace _10.OddEvenSum
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var evenSum = 0;
var oddSum = 0;
for (int i = 0; i < n; i++)
{
var inputNu... | 3.757699 | 2ac45a83afd28b80d6b2833c6c22000f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "next-scale/ERPCore",
"max_stars_repo_path": "Enterprise/Repository/Items/ItemImages.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135361"
} | starcoder | <filename>Enterprise/Repository/Items/ItemImages.cs
using ERPCore.Enterprise.Models.Items;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ERPCore.Enterprise.Repository.Items
{
public class ItemImages : ERPNodeDalRepository
{
public ItemImages(Organization organization) ... | 2.563612 | 26a1e79b05a88a52a4f4989721c2f4a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tomaszbiegacz/Arnible.MathModelling",
"max_stars_repo_path": "Arnible.MathModeling/Analysis/IDifferentiableFunction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135362"
} | starcoder | using System;
namespace Arnible.MathModeling.Analysis
{
public interface IDifferentiableFunction
{
Number Value(
in ReadOnlySpan<Number> parameters,
in ReadOnlySpan<Number> inputs);
void GetParametersGradient(
in ReadOnlySpan<Number> parameters,
in ReadOnlySpan<Number> inputs,... | 2.158176 | cbf1bf45dfd344cac11a76cba83e3ab7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "92cit22/IST",
"max_stars_repo_path": "src/Bank/Bank/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135363"
} | starcoder | <gh_stars>0
// See https://aka.ms/new-console-template for more information
using BankAccountNs;
var ba = new BankAccount( "Mr. <NAME>", 11.99 );
ba.Credit( 5.77 );
ba.Debit( 11.22 );
Console.WriteLine( "Current balance is ${0}", ba.Balance ); | 2.563806 | ab7bcb8dd4c7090a527a69447ebed8e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816144 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hekku2/ai-nibbles-jarmo",
"max_stars_repo_path": "NibblesAi/Client/Location.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135364"
} | starcoder | using System;
namespace Client
{
public class Location
{
public Int64 X { get; set; }
public Int64 Y { get; set; }
public Location(Int64 x, Int64 y)
{
X = x;
Y = y;
}
public override string ToString()
{
return string... | 3.567302 | e366cbde987f9865f2317f0c89063799 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OggyMishra/TSW.B2B",
"max_stars_repo_path": "TSW.B2B.Repositories/Interfaces/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135365"
} | starcoder |
namespace TSW.B2B.Repositories.Interfaces
{
#region Usings
using System.Collections.Generic;
using System.Threading.Tasks;
using Entities;
#endregion
/// <summary>
/// The user repository interface.
/// </summary>
public interface IUserRepository
{
/// <summary>
... | 2.750148 | fd6e60ec328a18f1f15e735970f5b719 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816146 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "servicetitan/octokit.net",
"max_stars_repo_path": "Octokit/Clients/CheckRunsClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135366"
} | starcoder | <filename>Octokit/Clients/CheckRunsClient.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Octokit
{
/// <summary>
/// A client for GitHub's Check Runs API
/// </summary>
/// <remarks>
/// See the <a href="https://developer.github.com/v3... | 2.495738 | e1ab2cc63a758b28d99c2df8406f582a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816147 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Evaliz/GW2-Elite-Insights-Parser",
"max_stars_repo_path": "GW2EIParser/Parser/ParsedData/CombatEvents/StatusEvents/BreakbarStateEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135367"
} | starcoder | <filename>GW2EIParser/Parser/ParsedData/CombatEvents/StatusEvents/BreakbarStateEvent.cs
using System;
using static GW2EIParser.Parser.ParseEnum;
namespace GW2EIParser.Parser.ParsedData.CombatEvents
{
public class BreakbarStateEvent : AbstractStatusEvent
{
public BreakbarState State { get; }
... | 2.435878 | b44ac9d9680218699b5e886cf8833c87 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816148 | {
"extension": "c-sharp",
"max_stars_count": "44.0",
"max_stars_repo_name": "nikhgup/NuGet.Jobs",
"max_stars_repo_path": "tests/NuGet.Services.AzureSearch.Tests/AuxiliaryFiles/DownloadDataFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135368"
} | starcoder | <reponame>nikhgup/NuGet.Jobs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Xunit;
namespace NuGet.Services.AzureSearch.AuxiliaryFiles
{
public class DownloadDataFacts
{... | 2.021831 | 93dcd2f4c530fa01b4a3e3bc461936cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816149 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "vishalishere/remi",
"max_stars_repo_path": "ReMi.Api/DataAccess/ReMi.DataEntityMaps/Auth/AccountProductMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135369"
} | starcoder | <reponame>vishalishere/remi<filename>ReMi.Api/DataAccess/ReMi.DataEntityMaps/Auth/AccountProductMap.cs<gh_stars>1-10
using System.Data.Entity.ModelConfiguration;
using ReMi.DataEntities;
using ReMi.DataEntities.Auth;
namespace ReMi.DataEntityMaps.Auth
{
public class AccountProductMap : EntityTypeConfiguration<Acco... | 2.125116 | 38f9531786e8a90d5365bf67c5f33fde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-provider-relationships",
"max_stars_repo_path": "src/SFA.DAS.ProviderRelationships.Web/Views/Operations/Set.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135370"
} | starcoder | <reponame>uk-gov-mirror/SkillsFundingAgency.das-provider-relationships
@model SFA.DAS.ProviderRelationships.Web.ViewModels.Operations.UpdateOperationViewModel
@{
ViewBag.Title = $"Do you give your training provider permission to {@Model.Operation.GetDescription().ToLower()}?";
ViewBag.ZenDeskLa... | 1.922166 | 07dfc30a95c906fb6d67f978deef1300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GoldenR1618/SoftUni-Projects",
"max_stars_repo_path": "07.C#_OOP_Advanced/07.SOLID/EXERCISE/Logger/Entites/Layouts/SimpleLayout.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135371"
} | starcoder | namespace Logger.Entites.Layouts
{
using Interfaces;
public class SimpleLayout : ILayout
{
public string FormatMessage(string timeStamp, string reportLevel, string message)
{
return $"{timeStamp} - {reportLevel} - {message}";
}
}
} | 2.654339 | 025ff2edc6d4c2a8be74446ae0585f12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816152 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "danpoage/hall-of-beorn",
"max_stars_repo_path": "v2/src/HallOfBeorn/Models/NumericOperator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135372"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace HallOfBeorn.Models
{
public enum NumericOperator
{
eq,
lt,
lteq,
gt,
gteq,
}
}
| 1.896823 | 8b44e8504c92b05fa9b4cf474b1dea5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816153 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "aliostad/deep-learning-lang-detection",
"max_stars_repo_path": "data/train/csharp/2bc73ef4d1689573ab9dc6a8ac2520c95b160e61EmailDispatchViewEmailMessageRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135373"
} | starcoder | using ThreeBytes.Core.Data.nHibernate.Concrete;
using ThreeBytes.Email.Dispatch.View.Data.Abstract;
using ThreeBytes.Email.Dispatch.View.Data.Abstract.Infrastructure;
using ThreeBytes.Email.Dispatch.View.Entities;
namespace ThreeBytes.Email.Dispatch.View.Data.Concrete
{
public class EmailDispatchViewEmailMessageR... | 1.446565 | 535fc3cb48e6e26d460a13a3f3ddbc40 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816154 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "dotnetrdf/dotNetRDF.Toolkit",
"max_stars_repo_path": "Libraries/gui.winforms/Forms/GraphViewerForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135374"
} | starcoder | /*
Copyright dotNetRDF Project 2009-12
<EMAIL>
------------------------------------------------------------------------
This file is part of dotNetRDF.
dotNetRDF is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation,... | 2.520299 | 99bebd45507192acb1e5a003afe888b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816155 | {
"extension": "c-sharp",
"max_stars_count": "227.0",
"max_stars_repo_name": "ckalvin-hub/Sheng.Winform.IDE",
"max_stars_repo_path": "SourceCode/Source/Controls/TreeViewGrid/DropPosition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135375"
} | starcoder | <filename>SourceCode/Source/Controls/TreeViewGrid/DropPosition.cs
/*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System... | 2.067684 | c91991f63254245208f6bd56c49bdd65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816156 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yamachu/NumSharp",
"max_stars_repo_path": "src/NumSharp.Core/Math/NDArray.sin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135376"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
namespace NumSharp
{
public partial class NDArray
{
/// <summary>
/// Trigonometric sine, element-wise.
/// </summary>
public NDArray sin()
{
var sinArray = new NDAr... | 3.207629 | 2d919c419b454fcc854b694b911c2ebd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CharlesZHENG/Geckofx",
"max_stars_repo_path": "Geckofx-Core/WebIDL/Generated/HTMLBodyElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135377"
} | starcoder | <filename>Geckofx-Core/WebIDL/Generated/HTMLBodyElement.cs
namespace Gecko.WebIDL
{
using System;
public class HTMLBodyElement : WebIDLBase
{
public HTMLBodyElement(nsISupports thisObject) :
base(thisObject)
{
}
public... | 1.927308 | 7e43d6f816e4db8ad89af6fa733a57df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sdlfly2000/LeetCode",
"max_stars_repo_path": "LeetCode/LeetCode-16/Solution.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135378"
} | starcoder | <gh_stars>0
using System;
namespace LeetCode_16
{
public class Solution
{
public int ThreeSumClosest(int[] nums, int target)
{
Array.Sort(nums);
var mostCloseSum = 0;
var diffTarget = int.MaxValue;
for (var i = 0; i < nums.Length; i++)
... | 3.238146 | b3163a1c2995c8119b7bdf23caeb10e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChristianLievrouw/lab-401-09",
"max_stars_repo_path": "ManhattanLab/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135379"
} | starcoder | <reponame>ChristianLievrouw/lab-401-09
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace ManhattanLab
{
class Program
{
static string data = ManhattanData.data;
public static RootObject root ... | 3.216887 | c8ef9a059f2e2a2df56e81c23bae98bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816160 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "pdrozdowski/TSPLib.Net",
"max_stars_repo_path": "TspLibNet/TspLibNet/TSP/TspFileLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135380"
} | starcoder | /* The MIT License (MIT)
*
* Copyright (c) 2014 <NAME>
*
* 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,... | 2.754466 | fcb29e6ea57b5ccf685cd6d733dcd325 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816161 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "alanta/azure_scheduler",
"max_stars_repo_path": "src/Configuration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135381"
} | starcoder | <reponame>alanta/azure_scheduler
using System;
using System.Collections.Generic;
using Microsoft.Azure.Management.Fluent;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Newtonsoft.Json;
namespace AzureScheduler
{
public static class Configuration{
public static Func<string> ClientId = (... | 2.403754 | 674449c3980400ea9f6b6e9c5e98f8e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iliantrifonov/TelerikAcademy",
"max_stars_repo_path": "C# part 2/08.StringsAndTextProcessing/10.StringIntoLiterals/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135382"
} | starcoder | using System;
namespace _10.StringIntoLiterals
{
//Write a program that converts a string to a sequence of C# Unicode character literals. Use format strings. Sample input:
class Program
{
static void Main(string[] args)
{
string text = "Hi!";
foreach (char item in t... | 3.692295 | c23d4e33d599fe02c47dce4b66e15d6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PascalPiche/OpenHomeMation",
"max_stars_repo_path": "Common.Public/PluginsSystem/PluginStates.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135383"
} | starcoder | using System;
namespace OHM.Plugins
{
/// <summary>
///
/// </summary>
[Serializable]
public enum PluginStates
{
NotFound = -2,
FatalError = -1,
Error = 0,
Warning = 1,
Ready = 2,
Normal = 3
}
}
| 1.803552 | 9e578308cd49b50ef29ff2a49f668c21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RixianOpenTech/RxWrappers",
"max_stars_repo_path": "Source/Wrappers/mscorlib/System.Runtime.Serialization.Formatters.InternalRM.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135384"
} | starcoder | <reponame>RixianOpenTech/RxWrappers
using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Runtime.Serialization.Formatters
{
public static class __InternalRM
{
public static IObservable<System.Reactive.Unit> In... | 1.815678 | 23f6d4f15ac3be4530fcd884ae738c58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brunocapdevila/uplift",
"max_stars_repo_path": "Assets/Plugins/Editor/Uplift/Windows/RawUpfileEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135385"
} | starcoder | // --- BEGIN LICENSE BLOCK ---
/*
* Copyright (c) 2017-present WeWantToKnow AS
*
* 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 rig... | 2.003923 | b82152fc0593116bb5727b828f252118 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816166 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AnakinSklavenwalker/FoC-Mod-Launcher",
"max_stars_repo_path": "src/TaskBasedUpdater/InstallResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135386"
} | starcoder | namespace TaskBasedUpdater
{
public enum InstallResult
{
None,
Success,
SuccessRestartRequired,
Failure,
FailureException,
Cancel,
}
} | 1.541129 | 6b8d1ee0b221bc01a440fa0410727102 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GetoXs/Bitfinex.Net",
"max_stars_repo_path": "Bitfinex.Net/Objects/BitfinexOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135387"
} | starcoder | using System;
using Bitfinex.Net.Enums;
using Bitfinex.Net.Interfaces.Clients;
using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Objects;
namespace Bitfinex.Net.Objects
{
/// <summary>
/// Options for the BitfinexClient
/// </summary>
public class BitfinexClientOptions : BaseRestClientOpti... | 2.321595 | 309ea11d956b25b64539b31a7d97f4b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimakaminskiy/FashionStones",
"max_stars_repo_path": "FashionStones/Migrations/201506262334287_third.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135388"
} | starcoder | namespace FashionStones.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class third : DbMigration
{
public override void Up()
{
CreateIndex("dbo.OrderDetails", "ProductId");
AddForeignKey("dbo.OrderDetails", "ProductId", "dbo.Pr... | 2.031908 | 04c363a1e340fef7e40c2c8a26c6d0ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AndrewBynkov/TeachMeSkills-DotNet-Starter",
"max_stars_repo_path": "src/TeachMeSkills.DotNet.Task10/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135389"
} | starcoder | <filename>src/TeachMeSkills.DotNet.Task10/Program.cs<gh_stars>0
using System;
namespace TeachMeSkills.DotNet.Task10
{
class Program
{
static void Main(string[] args)
{
(decimal expEmployee, decimal salEmployer, string nameEmployee) = UserInpData();
Console.WriteLine();
... | 3.19054 | 4fdc437073316901c5ac84a113bb33d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816170 | {
"extension": "c-sharp",
"max_stars_count": "139.0",
"max_stars_repo_name": "ggnaegi/silverback",
"max_stars_repo_path": "tests/Silverback.Integration.Kafka.Tests/Messaging/Messages/KafkaKeyHelperTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135390"
} | starcoder | <gh_stars>100-1000
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using FluentAssertions;
using Silverback.Messaging.Messages;
using Silverback.Tests.Integration.Kafka.TestTypes.Messages;
using Xunit;
namespace Silverback.Tests.Integration.Kafka.M... | 2.184432 | 99c352cf9433cfb59834fdeec88155e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AHDiniz/CSharp-Compiler",
"max_stars_repo_path": "Semantics/ClassType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135391"
} | starcoder | <filename>Semantics/ClassType.cs
using System;
using System.Collections.Generic;
using Antlr4.Runtime;
namespace CSharp_Compiler.Semantics
{
public enum ClassTag
{
Class, Interface, Struct
}
public class ClassType : Type
{
private ClassTag classTag;
private ClassSymbol clas... | 2.533643 | 970fadbee8583c5efe7c0983f9055f1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816172 | {
"extension": "c-sharp",
"max_stars_count": "9402.0",
"max_stars_repo_name": "pyracanda/runtime",
"max_stars_repo_path": "src/tests/Interop/PInvoke/Generics/GenericsTest.Vector64D.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135392"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.Intrinsics;
using Xunit;
unsafe partial class GenericsNative
{
[DllImport(nameof(GenericsNative))]
p... | 2.12143 | 32cdec69cf63512dd810639a396b4ed6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MAtifSaeed/azure-sdk-for-net",
"max_stars_repo_path": "sdk/core/Azure.Core/src/ETag.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135393"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
namespace Azure.Core.Http
{
public readonly struct ETag : IEquatable<ETag>
{
private readonly string _value;
public ETag(string etag) => _value = etag;
public static bool op... | 2.726414 | 6226901915c825e0c2440920b9823c9a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yanzixiang/YZXLogicEngine",
"max_stars_repo_path": "YZXLogicEngine/Unit/YZXUnit.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135394"
} | starcoder | using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using Common.Threading;
using Extensions;
using YZXLogicEngine.Unit;
using YZXLogicEngine.UDT;
namespace YZXLogicEngine
{
/// <summary>
/// 模块
///
/// 映射到内存区域
/// CPU对内存区域的读写操作被转发到这里
///
/// 模块本身不知道自己... | 2.305136 | 380f3232bd04edcc690c1490ab6e99fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816175 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "TanukiSharp/DarksSoulsCloudSave",
"max_stars_repo_path": "SteamCloudSave/ViewModels/CloudStorageViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135395"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SteamCloudSave.Core;
namespace SteamCloudSave.ViewModels
{
public class CloudStorageViewModel : ViewModelBase
{
private readonly RootViewModel parent;
pub... | 2.353791 | cc5791fc10767c6553550bdf4c783cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lefevre-fraser/openmeta-mms",
"max_stars_repo_path": "src/CyPhyGUIs/MgaGateway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135396"
} | starcoder | using GME.MGA;
using GME.MGA.Meta;
using System.Runtime.InteropServices;
namespace GME.CSharp
{
public class MgaGateway
{
public MgaGateway(IMgaProject project)
{
this.project = project;
}
public IMgaProject project = null;
private bool proj... | 2.074337 | 5a43f4e20e1e783f95e1c82109719117 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816177 | {
"extension": "c-sharp",
"max_stars_count": "363.0",
"max_stars_repo_name": "phnx47/MicroOrm.Dapper.Repositories",
"max_stars_repo_path": "src/MicroOrm.Dapper.Repositories/DapperRepository.Delete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135397"
} | starcoder | <reponame>phnx47/MicroOrm.Dapper.Repositories
using System;
using System.Data;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using Dapper;
namespace MicroOrm.Dapper.Repositories
{
/// <summary>
/// Base Repository
/// </summary>
public partial class DapperRepo... | 2.436225 | 980f21e44fd8e7dccf82a0f7e752624e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikaelSvenn/Certifier",
"max_stars_repo_path": "Crypto/Providers/ElgamalKeyProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135398"
} | starcoder | <reponame>MikaelSvenn/Certifier<gh_stars>0
using System.Security.Cryptography;
using Core.Interfaces;
using Core.Model;
using Crypto.Generators;
using Crypto.Mappers;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Math;
namespace Crypto.Providers
{
public class ElG... | 2.339797 | 65f27f8e2913dc2a6170cbf3c0c3173d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816179 | {
"extension": "c-sharp",
"max_stars_count": "108.0",
"max_stars_repo_name": "AntonKrug/emul8-modded",
"max_stars_repo_path": "Emulator/Main/Time/HostTimeClockSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135399"
} | starcoder | <gh_stars>100-1000
//
// Copyright (c) Antmicro
// Copyright (c) Realtime Embedded
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using System;
using Emul8.Peripherals;
using System.Diagnostics;
using System.Threading;
using Antmicro.Migrant;
using Emul8.Util... | 2.060317 | 580cb6035e7eca0d55b463531dadf420 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816180 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ljani/event-trace-kit",
"max_stars_repo_path": "src/EventTraceKit.VsExtension/Views/PresetManager/PresetManagerViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135400"
} | starcoder | <reponame>ljani/event-trace-kit
namespace EventTraceKit.VsExtension.Views.PresetManager
{
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Input;
using Controls;
... | 1.866377 | cf3bf3b98de5dff287182342e5f46cce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ErikOwsiak/SearchGate-.Net",
"max_stars_repo_path": "CoreServer/HttpRes.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135401"
} | starcoder | <filename>CoreServer/HttpRes.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CoreServer
{
public class HttpRes
{
}
}
| 1.277435 | c4d8508bfde43053b67634b7d92687bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jakubsvobodacz/CzechsInNHL",
"max_stars_repo_path": "Pages/_Jumbotron.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:135402"
} | starcoder | <reponame>jakubsvobodacz/CzechsInNHL<filename>Pages/_Jumbotron.cshtml
<div class="jumbotron">
<div class="container h-100">
<div class="row h-100">
<div class="col-md-6 offset-md-3 offset my-auto text-center">
<!-- <img src="~/images/logo_TJ.svg" /> -->
<form... | 1.84084 | a4f8c65747642087589e19e4243bd3ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816183 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "npocmaka/Windows-Server-2003",
"max_stars_repo_path": "com/netfx/src/framework/mit/system/web/ui/mobilecontrols/design/stylesheetcomponenteditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135403"
} | starcoder | //------------------------------------------------------------------------------
// <copyright file="StyleSheetComponentEditor.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------... | 1.983386 | 298efa0c08a2f37c614b55fdd73c38ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "z16/SaferThanLight",
"max_stars_repo_path": "SaferThanLight/MainWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135404"
} | starcoder | <reponame>z16/SaferThanLight<gh_stars>0
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
namespace SaferThanLight {
public partial class MainWindow {
public ViewModel ViewModel
=> (ViewModel) DataContext;
public MainWindow()
=> Initiali... | 2.184258 | e4631379e7e3bd4b6f8fb1c381135677 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816185 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "khanhly-dev/JFitYoga",
"max_stars_repo_path": "aspnet-core/src/GymManage.Core/AppEntity/Product/ProductEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135405"
} | starcoder | using Abp.Domain.Entities;
using GymManage.Customer;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GymManage.Product
{
[Table("BoMon")]
public class ProductEntity :Entity
{
... | 2.012763 | 55cc8a8295a64b77c8702b7418e994b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816186 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "WinterXMQ/RichCanvas",
"max_stars_repo_path": "RichCanvasDemo/ViewModels/TextVisual.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135406"
} | starcoder | <reponame>WinterXMQ/RichCanvas<gh_stars>0
using RichCanvasDemo.ViewModels.Base;
namespace RichCanvasDemo.ViewModels
{
public class TextVisual : Drawable
{
private string _text;
public string Text
{
get => _text;
set => SetProperty(ref _text, value);
}
... | 1.925019 | 4836a3c2ba44c5ff275c1a618def0763 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ibrahimbensalah/Xania.Finance",
"max_stars_repo_path": "Xania.CosmosDb/AST/Term.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135407"
} | starcoder | //namespace Xania.CosmosDb.AST
//{
// internal class Term: IExpr
// {
// public string Expression { get; }
// public Term(string expression)
// {
// Expression = expression;
// }
// }
//}
| 1.736274 | e13c1d773b5e3a541841b9d81a0c856a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichaelFruergaardPontoppidan/XpoRefactor",
"max_stars_repo_path": "Source/XpoRefactor/Rules/ID-Go-Away ExtFieldID/RuleFieldId2PName.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135408"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace XpoRefactor
{
class RuleFieldId2PName : RuleArgFieldArr
{
protected override string methodName()
{
return "fieldId2PName";
}
... | 1.536848 | 4a37bf2d4d12dd3f8a1358f7178ae3c9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816189 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tdallau/Home-Automation",
"max_stars_repo_path": "Interfaces/Hubs/IMyShoppingListHub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135409"
} | starcoder | using System.Collections.Generic;
using System.Threading.Tasks;
using HomeAutomation.Areas.ShoppingList.Models;
using HomeAutomation.Models.Database.ShoppingList;
namespace HomeAutomation.Interfaces.Hubs
{
public interface IMyShoppingListHub
{
// shop
Task NewShopCreated(Shop shop);
T... | 2.118766 | 0e4e0a5777bb2a18974114a9c20eb8ed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816190 | {
"extension": "c-sharp",
"max_stars_count": "650.0",
"max_stars_repo_name": "dariabokareva/vk",
"max_stars_repo_path": "VkNet/Abstractions/Category/ILikesCategory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135410"
} | starcoder | <filename>VkNet/Abstractions/Category/ILikesCategory.cs
using System;
using VkNet.Enums.SafetyEnums;
using VkNet.Model;
using VkNet.Model.RequestParams;
using VkNet.Utils;
namespace VkNet.Abstractions
{
/// <inheritdoc cref="ILikesCategoryAsync" />
public interface ILikesCategory : ILikesCategoryAsync
{
/// <inh... | 2.015745 | 4ec259c8265abef2c60fbd8ea23e431d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816191 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "valdisiljuconoks/Foundation",
"max_stars_repo_path": "src/Foundation/Features/MyOrganization/Budgeting/BudgetingPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135411"
} | starcoder | <gh_stars>0
using EPiServer.DataAnnotations;
using Foundation.Features.Shared;
using Foundation.Features.Shared.Descriptors;
using Foundation.Infrastructure;
namespace Foundation.Features.MyOrganization.Budgeting
{
[ContentType(DisplayName = "Budgeting Page",
GUID = "0ad21ec9-3753-4e2f-9ee8-61e8cba45fe3",
... | 1.135036 | 1be815ba66baab4bc035d8c9716811aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816192 | {
"extension": "c-sharp",
"max_stars_count": "90.0",
"max_stars_repo_name": "mitchelsellers/iis-docs",
"max_stars_repo_path": "iis/media/transform-manager/sending-transform-manager-job-status-notifications-to-a-remote-web-application/samples/sample8.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135412"
} | starcoder | <filename>iis/media/transform-manager/sending-transform-manager-job-status-notifications-to-a-remote-web-application/samples/sample8.cs
#region Public Properties
public string PostedDateTime { get; set; }
public string Queue { get; set; }
public string Log { get; set; }
#region WorkItem Attributes Properties
public str... | 1.485092 | 960eee68b8619a9319cde5cbad2e2d29 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816193 | {
"extension": "c-sharp",
"max_stars_count": "79.0",
"max_stars_repo_name": "githubrontian/GameFramework",
"max_stars_repo_path": "GameFramework/Utility/Utility.Verifier.Crc32.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135413"
} | starcoder | //------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2018 <NAME>. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:<EMAIL>
//------------------------------------------------------------
using System.Security.Cryptography;
namespace Ga... | 2.714583 | a28ca410459441bd0c4d22e7e1d6cd14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816194 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HonSinsin/WPF2022End",
"max_stars_repo_path": "WpfApp1/WpfApp1/Views/P4DataTemplate.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135414"
} | starcoder | <filename>WpfApp1/WpfApp1/Views/P4DataTemplate.xaml.cs
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.Data;
using System.Windows.Documents;
using System.Windows.Input;
using Sy... | 2.664057 | e7d0ae255bad40d6840ce752b49d3d4f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816195 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "guneysus/underscore.net",
"max_stars_repo_path": "src/underscore.net/DateTimeBuilder/IDateTimeSecondBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135415"
} | starcoder | namespace underscore.net
{
public interface IDateTimeSecondBuilder : IDateTimeBuilder
{
IDateTimeMilisecondBuilder Second(int second);
}
} | 1.896857 | e0cd8feaa0a1c406cd309249c0f55a5e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816196 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "thomz12/h5",
"max_stars_repo_path": "H5/H5/System/MissingMethodException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135416"
} | starcoder | <filename>H5/H5/System/MissingMethodException.cs
using System.Collections.Generic;
namespace System
{
public class MissingMethodException : Exception
{
public MissingMethodException()
: base("Attempted to access a missing method.")
{
}
public MissingMethodException(... | 2.698749 | 07d39fa8624fcbe0e821d61ac7f283bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kosata50/fit-notifier-uwp",
"max_stars_repo_path": "FitNotifier/Pages/SettingsPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135417"
} | starcoder | <reponame>kosata50/fit-notifier-uwp
using FitNotifier.Data.Services;
using FitNotifier.Data.Update;
using FitNotifier.ViewModel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Co... | 1.946754 | f5fc9529d6fdb6d10f8f67824bafa20c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "larryeedwards/openyan",
"max_stars_repo_path": "Assembly-CSharp/UnityEngine/PostProcessing/UserLutComponent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135418"
} | starcoder | using System;
namespace UnityEngine.PostProcessing
{
// Token: 0x020002C4 RID: 708
public sealed class UserLutComponent : PostProcessingComponentRenderTexture<UserLutModel>
{
// Token: 0x1700032A RID: 810
// (get) Token: 0x06001601 RID: 5633 RVA: 0x000AB8CC File Offset: 0x000A9CCC
public override bool active... | 1.811226 | c6545902b1d02d6dfe63b278957c5935 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816199 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qkmaxware/CsUnits",
"max_stars_repo_path": "Units/src/Qkmaxware/Units/Mass/Hectogram.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135419"
} | starcoder | <gh_stars>0
namespace Qkmaxware.Units.Mass {
/// <summary>
/// Unit of measurement for HectoGram (hg)
/// </summary>
public struct HectoGram : IMass {
public static string Name => "HectoGram";
public static string Symbol => "hg";
}
/// <summary>
/// Extension method factory for generating He... | 2.456067 | 36a6ea5892fc4f3749cee57f93d04088 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816200 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TylkoDemon/Overmodded.Gamemode.FFA",
"max_stars_repo_path": "Assets/Plugins/JEM.Unity/JEM.UnityEditor/Source/Objects/SavedBool.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135420"
} | starcoder | using UnityEditor;
namespace JEM.UnityEditor
{
public class SavedBool
{
bool m_Value;
string m_Name;
bool m_Loaded;
public SavedBool(string name, bool value)
{
m_Name = name;
m_Loaded = false;
m_Value = value;
}
void... | 2.600485 | e25039b5130811262f24781f6597c04e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816201 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidebbo/StorageExplorer",
"max_stars_repo_path": "StorageManager/Helpers/BlobHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135421"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using StorageHelper;
using Microsoft.WindowsAzure.StorageClient;
using System.ComponentModel;
namespace StorageManager.Helpers
{
public class BlobHelper
{
public string Url { get; set; }
public string Name { g... | 2.58146 | 23992b9b29c931759181daac5229fbed |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816202 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FatalMinute/OctoRestApi",
"max_stars_repo_path": "OctoRestApi/Internal/Apis/PrinterTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135422"
} | starcoder | <filename>OctoRestApi/Internal/Apis/PrinterTools.cs
// OctoRestApi copyright 2022 <NAME>.
using System.Net;
using OctoRestApi.DataModels.Request.PrintTool;
using OctoRestApi.DataModels.Response.PrintTool;
namespace OctoRestApi.Internal.Apis;
internal class PrinterTools : Api
{
private const string PrinterToolEndpoi... | 2.356168 | f6e2156218183378ef689e24da6d1d98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816203 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "aurelitec/injuredpixels-windows",
"max_stars_repo_path": "Source/MainForm.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135423"
} | starcoder | <gh_stars>1-10
namespace InjuredPixels
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>... | 1.976249 | e2cc0b3959574664be3c21da404318df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816204 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossabot/ThScoreFileConverter",
"max_stars_repo_path": "ThScoreFileConverterTests/Models/Th128/Stubs/CardDataStub.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135424"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using ThScoreFileConverter.Models.Th128;
namespace ThScoreFileConverterTests.Models.Th128.Stubs
{
internal class CardDataStub : ICardData
{
public CardDataStub() { }
public CardDataStub(ICardData cardData)
: this()
{
... | 2.566246 | 452720fc53399bc191b98676a0c04a90 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816205 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ketiko/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Diagnostics.Tests/Features/Requests/when_filtering_requests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135425"
} | starcoder | <reponame>ketiko/fubumvc<filename>src/FubuMVC.Diagnostics.Tests/Features/Requests/when_filtering_requests.cs
using FubuMVC.Diagnostics.Core.Grids;
using FubuMVC.Diagnostics.Features.Requests;
using FubuMVC.Diagnostics.Features.Requests.Filter;
using FubuMVC.Diagnostics.Models;
using FubuMVC.Diagnostics.Models.Grids... | 1.733618 | ec859b4978dd46f954e8831a6e70d17f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816206 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pwasiewicz/miniautofac",
"max_stars_repo_path": "MiniAutFac/Parameters/Concrete/NamedParameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135426"
} | starcoder | namespace MiniAutFac.Parameters.Concrete
{
using System;
using System.Reflection;
public class NamedParameter : Parameter
{
private readonly string name;
private readonly object value;
/// <summary>
/// Initializes a new instance of the <see cref="NamedParameter"/> cl... | 3.492729 | 0e682f709ba0000c20e318c5441ed877 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816207 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TataDvd/Git",
"max_stars_repo_path": "2012/Tempo2012/Tempo2012.UI.WPF/Views/Dialogs/DataSelector.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135427"
} | starcoder | <reponame>TataDvd/Git<filename>2012/Tempo2012/Tempo2012.UI.WPF/Views/Dialogs/DataSelector.xaml.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System... | 2.287539 | cc3741c13195ec384445398f64b4f924 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816208 | {
"extension": "c-sharp",
"max_stars_count": "1700.0",
"max_stars_repo_name": "juchom/marten",
"max_stars_repo_path": "src/Marten/Events/Projections/SingleStreamGrouper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135428"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Baseline;
using Marten.Events.Aggregation;
namespace Marten.Events.Projections
{
/// <summary>
/// Assigns an event to only one stream
/// </summary>
/// <typeparam name="TId"></typeparam>
/// <typeparam name="TEvent"></typepa... | 2.444835 | b009f52f8cc7bb37bba0dbf197dcd90a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816209 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "chrisoldwood/VaultCmd",
"max_stars_repo_path": "Source/Tests/DecryptionTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135429"
} | starcoder | <reponame>chrisoldwood/VaultCmd<filename>Source/Tests/DecryptionTests.cs
using System.Linq;
using Mechanisms.Tests;
using AnsVaultCmd;
namespace Tests
{
public static class DecryptionTests
{
[TestCases]
public static void decryption()
{
"Decrypting with the correct key retu... | 2.707836 | b39dfe50cdfa5f7566b3b70a23e18034 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816210 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "abendi/CakeOrderingSite",
"max_stars_repo_path": "ContactApp/Web/Helpers/UserNameFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135430"
} | starcoder | <reponame>abendi/CakeOrderingSite
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Microsoft.Owin.Security.Provider;
namespace Web.Helpers
{
public static class UserNameFactory
{
public static Func<string> GetCurrentUserNameFactory() =>
() => HttpC... | 2.074665 | 63222a41c518cfe1c63e58d26da37080 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816211 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Evairfairy/Hurricane",
"max_stars_repo_path": "Hurricane.Shared/Components/Logon/Interfaces/ILogonClientFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135431"
} | starcoder | using Hurricane.Shared.Networking.Interfaces;
using Hurricane.Shared.Objects.Interfaces;
namespace Hurricane.Shared.Components.Logon.Interfaces
{
public interface ILogonClientFactory : IHurricaneObject
{
ILogonClient CreateLogonClient(INetworkClient client);
}
} | 1.576559 | ce3560c04474921c78676ef9952696e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816212 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgDangl/Dangl.SevDeskExport",
"max_stars_repo_path": "src/Dangl.SevDeskExport/PathReplacement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135432"
} | starcoder | namespace Dangl.SevDeskExport
{
/// <summary>
/// This class defines how a dependent resources' url should be modelled
/// </summary>
public class PathReplacement
{
/// <summary>
/// The name of the base model
/// </summary>
public string BaseModel { get; set; }
... | 2.534431 | 4ca26805f6e0aeb6667ddd812c233c3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816213 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "IEvangelist/DocFX.Repository.Sweeper",
"max_stars_repo_path": "DocFX.Repository.SweeperTests/FileTokenTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135433"
} | starcoder | <reponame>IEvangelist/DocFX.Repository.Sweeper
using DocFX.Repository.Extensions;
using DocFX.Repository.Sweeper;
using DocFX.Repository.Sweeper.Core;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace DocFX.Repository.SweeperTests
{
public c... | 2.289539 | bd2226b2abc44fdae0b04c0333573fc9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210329-UTA-SH-UiPath/P1_Jeffrey_Breiner",
"max_stars_repo_path": "PizzaBox.Api/PizzaBox.Api/Controllers/ToppingController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135434"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using PizzaBox.Domain.Models.Components;
using PizzaBox.Storing.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PizzaBox.Api.Controllers
{
[Route("api/[controller]")]
[ApiC... | 2.677954 | 59627b188b81ad90f3cc594cc30abbdc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816215 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "TomWildenhain/blaster-bot",
"max_stars_repo_path": "BlasterBot/BejeweledController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135435"
} | starcoder | <reponame>TomWildenhain/blaster-bot
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace BlasterBot
{
static class BejeweledController
{
[DllImport("user32.dll", Set... | 2.542203 | a65f4a6470436528de53c93d305fecec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aallfredo/MassTransitPHP",
"max_stars_repo_path": "src/MassTransit/Configuration/EndpointSpecifications/SerializationConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135436"
} | starcoder | <gh_stars>0
// Copyright 2007-2018 <NAME>, <NAME>, <NAME>, et. al.
//
// 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
//
/... | 1.629678 | ce78f7cc2746423c245f9a98765b84db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8816217 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iiSergey/MicroServices",
"max_stars_repo_path": "MessagesService/MessagesService/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:135437"
} | starcoder | <filename>MessagesService/MessagesService/Startup.cs
using AutoMapper;
using MessagesService.EntityFrameworkCore;
using MessagesService.Services;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Micro... | 2.03502 | db299a9845a5e1de8c79020a40e9b981 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.