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 | 8817118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YESI360/Sky-Shadder-main",
"max_stars_repo_path": "Assets/ShaderSB.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136338"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShaderSB : MonoBehaviour
{
Renderer rend;
public float manosLim;
public float luzLimt;
public float MaxContribution;
public float MinContribution;
public float MinContributionNew;//start in black
p... | 2.24995 | a6af139a2ef676a1381986e71ca87af1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817119 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Ghostbit/DemoGame",
"max_stars_repo_path": "Unity/Assets/Ghostbit/Ash.Net/Source/Core/ComponentMatchingFamily.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136339"
} | starcoder | <reponame>Ghostbit/DemoGame
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Net.RichardLord.Ash.Core
{
/**
* An default class for managing a NodeList. This class creates the NodeList and adds and removes
* nodes to/from the list as the entities and the compon... | 2.804844 | 5bf5187f781da448fea3f0cb6fc40705 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817120 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidmason100/Web-Blocks",
"max_stars_repo_path": "WebBlocks/WebBlocks.Model/ExcludedBlocks.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136340"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebBlocks.Interfaces;
namespace WebBlocks.Model
{
public class ExcludedBlocks : IContainerPermissions
{
protected List<string> blockTypes = new List<string>();
public string __type = "ExcludedBlocks";... | 2.366463 | ea9b480c3f1b6c3002a01618372417cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817121 | {
"extension": "c-sharp",
"max_stars_count": "781.0",
"max_stars_repo_name": "workcontrolgit/AspNet5IdentityServerAngularImplicitFlow",
"max_stars_repo_path": "src/ResourceFileServer/Controllers/FileExplorerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136341"
} | starcoder | <reponame>workcontrolgit/AspNet5IdentityServerAngularImplicitFlow
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Authorization;
using ResourceFileServer.Providers;
namespace ResourceFileServer.Controllers
{
[Authorize("securedFiles")]
[Route("api/[controller]")]
pub... | 1.979664 | f9d342026f70e720465478c2bfb5d038 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817122 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "matherm-aboehm/SharpSvn",
"max_stars_repo_path": "src/SharpSvn.Tests/LookCommands/VerifyTransactions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136342"
} | starcoder | //
// Copyright 2008-2009 The SharpSvn Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | 1.837535 | 478f17a2b3c561220f6fdc416b3040f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817123 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "xsolla/inventory-unity-sdk",
"max_stars_repo_path": "Assets/Xsolla/Login/Scripts/Api/XsollaLogin.Obsolete.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136343"
} | starcoder | using System;
using Xsolla.Core;
namespace Xsolla.Login
{
public partial class XsollaLogin
{
private Token _token;
[Obsolete]
public Token Token
{
get => Core.Token.Instance;
set => Core.Token.Instance = value;
}
}
} | 1.843387 | 686971d33f8f10c61d663e92e43b5260 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817124 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "paosalcedo/GPP_PaoSalcedo",
"max_stars_repo_path": "GPP_Project/Assets/Scripts/Scenes/TitleScene.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136344"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TitleScene : Scene<TransitionData>
{
[SerializeField] private Difficulty _easy;
[SerializeField] private Difficulty _normal;
[SerializeField] private Difficulty _hard;
// Use this for initializatio... | 2.171541 | 3fd5b94bbd83a3dbe57bd2db47cc6c58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817125 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "toddmeinershagen/Demo.ScatterGather",
"max_stars_repo_path": "src/Demo.ScatterGather/Demo.ScatterGather.BirthDateValidator/PersonValidationRequestedConsumer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136345"
} | starcoder | <filename>src/Demo.ScatterGather/Demo.ScatterGather.BirthDateValidator/PersonValidationRequestedConsumer.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Demo.ScatterGather.Core.Events;
using MassTransit;
namespace Demo.ScatterGather.BirthDateValidator
{
public class PersonVa... | 2.524616 | a7701f42d7ad945ba56e61b942706b85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817126 | {
"extension": "c-sharp",
"max_stars_count": "100.0",
"max_stars_repo_name": "RyanHauert/fubumvc",
"max_stars_repo_path": "src/FubuMVC.Tests/FubuBootstrapperIntegrationTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136346"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web.Routing;
using FubuCore;
using FubuMVC.Core;
using FubuMVC.Core.Behaviors;
using FubuMVC.Core.Http;
using FubuMVC.Core.Http.Owin;
using FubuMVC.Core.Runtime;
using FubuMVC.Core.Runtime.Handlers;
usi... | 2.041738 | a727cc81169542f650019a2e330895e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "denza/frapid",
"max_stars_repo_path": "src/Frapid.Web/Areas/Frapid.Account/DAL/GoogleSignIn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136347"
} | starcoder | <reponame>denza/frapid
using System.Linq;
using System.Threading.Tasks;
using Frapid.Account.DTO;
using Frapid.Configuration;
using Frapid.DataAccess;
using Frapid.Framework.Extensions;
namespace Frapid.Account.DAL
{
public static class GoogleSignIn
{
public static async Task<LoginResult> SignInAsync(... | 1.925972 | e3c7fbec9adca302b9841d848632da37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tcetso/Fundamentals",
"max_stars_repo_path": "15-17_ListsExercises/UnunionLists/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136348"
} | starcoder | <reponame>Tcetso/Fundamentals
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnunionLists
{
class Program
{
static void Main(string[] args)
{
var nums = Console.ReadLine().Split(' ').Select(i... | 3.209837 | a0467e257d6d52bd99bbdab59e834fa0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Buketpeh/sportakip",
"max_stars_repo_path": "WebApplication4/Controllers/AntremanYoklamasController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136349"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using WebApplication4.Models;
namespace WebApplication4.Controllers
{
public class AntremanYoklamasController : Controller
{
... | 2.167016 | 71a36987f7081ea8f54f050d48dc61e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817130 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "TopalovOleg/didactic-train",
"max_stars_repo_path": "src/Epinova.ElasticSearch.Core/Conventions/CustomPropertyConvention.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136350"
} | starcoder | <gh_stars>10-100
using System;
using System.Linq;
using System.Linq.Expressions;
using EPiServer.Logging;
namespace Epinova.ElasticSearch.Core.Conventions
{
/// <summary>
/// Contains methods for configuring custom properties on indexed items
/// </summary>
/// <typeparam name="T">The type</typeparam>... | 2.886607 | 88b3c887eced0d65a25ec59a7c87ba36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NovichikhinAlexey/Lykke.Service.PayInternal",
"max_stars_repo_path": "src/Lykke.Service.PayInternal.Core/Domain/Transfer/TransferAmount.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136351"
} | starcoder | <gh_stars>0
namespace Lykke.Service.PayInternal.Core.Domain.Transfer
{
public class TransferAmount
{
public string Source { get; set; }
public string Destination { get; set; }
public decimal? Amount { get; set; }
}
}
| 0.975642 | 37707d0ef7ae245fb25a3df128b489bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817132 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GrapeCity/pagefx",
"max_stars_repo_path": "tests/Simple/mcs/gtest-anon-5.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136352"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
public delegate void Hello ();
struct Foo
{
public int ID;
public Foo (int id)
{
this.ID = id;
}
public IEnumerable<Foo> Test (Foo foo)
{
yield return this;
yield return foo;
}
public void Hello (int value)
{
if... | 2.821724 | 3d10a5f1a05851a85deaf9cc4b6fd508 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817133 | {
"extension": "c-sharp",
"max_stars_count": "654.0",
"max_stars_repo_name": "ViktorHofer/NuGet.Client",
"max_stars_repo_path": "test/NuGet.Clients.FuncTests/NuGet.CommandLine.FuncTest/Caching/CachingValidationType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136353"
} | starcoder | <reponame>ViktorHofer/NuGet.Client
namespace NuGet.CommandLine.Test.Caching
{
public enum CachingValidationType
{
CommandSucceeded,
PackageInstalled,
PackageInGlobalPackagesFolder,
PackageInHttpCache,
PackageFromHttpCacheUsed,
PackageFromSourceUsed,
Packag... | 1.151423 | db674b554ae06f8f8224455872fbcdb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mahidulalvi/BugTrackerAssignment",
"max_stars_repo_path": "BugTracker/Views/Tickets/AllTickets.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136354"
} | starcoder | @model List<IndexTicketViewModel>
@{
ViewBag.Title = "AllTickets";
}
@section css {
<link rel="stylesheet"
href="//cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" />
}
@section Scripts {
<script type="text/javascript"
src="//cdn.datatables.net/1.10.19/js/jquery.dataTables... | 2.642185 | 4b407a8d23cdcec87eaecfed38ff4d96 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817135 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "amelmusic/REST-Framework-AdventureWorks",
"max_stars_repo_path": "AdventureWorks/AdventureWorks.Services/Mapping/BusinessEntityMap.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136355"
} | starcoder | <filename>AdventureWorks/AdventureWorks.Services/Mapping/BusinessEntityMap.cs
using AdventureWorks.Model;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace AdventureWorks.Services.Mapping
{
public class BusinessEntityMap : EntityTypeConfiguration<BusinessEnt... | 2.612106 | 566cf3e74650cbcb071eb8c5f8a64d9b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817136 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "cloudhu/Unity3d-Foundation",
"max_stars_repo_path": "Foundation/Assets/Foundation/Databinding/Components/ListBinder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136356"
} | starcoder | <filename>Foundation/Assets/Foundation/Databinding/Components/ListBinder.cs
// -------------------------------------
// Domain : Avariceonline.com
// Author : <NAME>
// Product : Unity3d Foundation
// Published : 2015
// -------------------------------------
using System.Collections;
using System.Collections.... | 2.258696 | 7a50ed18b0eae7cacedd1fae4a632990 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rgracari/helio",
"max_stars_repo_path": "Helio/LayersTest/Layer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136357"
} | starcoder | <reponame>rgracari/helio
using System;
using System.Collections.Generic;
using System.Text;
using Helio.Events;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Helio.Layers
{
public interface ILayer : IEventListener
{
public void Update(GameTime gameTime);
pu... | 1.467978 | b27448df12505d724e061e39b0a3614c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817138 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "sucrose0413/TreeOfAKind",
"max_stars_repo_path": "backend/TreeOfAKind.Infrastructure/Emails/EmailModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136358"
} | starcoder | <filename>backend/TreeOfAKind.Infrastructure/Emails/EmailModule.cs
using Autofac;
using TreeOfAKind.Application.Configuration.Emails;
namespace TreeOfAKind.Infrastructure.Emails
{
internal class EmailModule : Module
{
private readonly IEmailSender _emailSender;
private readonly EmailsSettings ... | 2.323647 | 70fe05161effe075db948e207d3ffc7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817139 | {
"extension": "c-sharp",
"max_stars_count": "238.0",
"max_stars_repo_name": "RPalejiya/kafka-streams-dotnet",
"max_stars_repo_path": "test/Producer-Avro/com/avro/bean/Order.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136359"
} | starcoder | <gh_stars>100-1000
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by avrogen, version 1.7.7.5
// Changes to this file may cause incorrect behavior and will be lost if code
// is regenerated
// </auto-generated>
// -----------------------------... | 2.043708 | 1f5fda957e72d4ae4b04ffc64514b43f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817140 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iafb/greatreadingadventure",
"max_stars_repo_path": "SRP/RegisterILS.aspx.designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136360"
} | starcoder | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... | 1.646826 | a3a51e1b4939f8a318d740575619d554 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817141 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jdobs/RepoLite",
"max_stars_repo_path": "src/RepoLite/RepoLite.Tests/ActualGeneratedFIlesTests/Base/Data.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136361"
} | starcoder | using NS.Models;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
namespace RepoLite.Tests.ActualGeneratedFIlesTests.Base
{
internal class Data
{
public static void DropAndCreateDatabase()
{
RunSql(@"DROP TABLE IF EXISTS [dbo].[Address... | 1.904437 | 6f5fe295328a2a92698132c6d670bc2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sr2200/AkFileListCreator",
"max_stars_repo_path": "src/AkFileListCreator/View/DirectoryItem.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136362"
} | 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.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | 2.17054 | 4dc353a5e1e3139997a552db662b549d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817143 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kgarlinski/Tmds.DBus",
"max_stars_repo_path": "src/Tmds.DBus/CodeGen/PropertyAccess.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136363"
} | starcoder | <filename>src/Tmds.DBus/CodeGen/PropertyAccess.cs
// Copyright 2016 <NAME> <<EMAIL>>
// This software is made available under the MIT License
// See COPYING for details
namespace Tmds.DBus.CodeGen
{
internal enum PropertyAccess
{
ReadWrite,
Read,
Write
}
}
| 1.545828 | bf41556244e996af8fc3edf0fe99a342 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817144 | {
"extension": "c-sharp",
"max_stars_count": "294.0",
"max_stars_repo_name": "devlead/Statiq.Framework",
"max_stars_repo_path": "src/core/Statiq.Common/Events/IReadOnlyEventCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136364"
} | starcoder | <reponame>devlead/Statiq.Framework<gh_stars>100-1000
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Statiq.Common
{
/// <summary>
/// Contains global events and event handlers.
/// </summary>
public interface IReadOnlyEventCollection
{
/// <sum... | 2.564329 | 43cc0708658954e5ff5836a90cf720bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817145 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikistoianov/CSharp-Web-ASP.NET_Core_Project",
"max_stars_repo_path": "WCR/WCR.Services/Administration/Interfaces/IAdminService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136365"
} | starcoder | <reponame>nikistoianov/CSharp-Web-ASP.NET_Core_Project
namespace WCR.Services.Administration.Interfaces
{
using System.Collections.Generic;
using System.Threading.Tasks;
using WCR.Common.Administration.ViewModels;
public interface IAdminService
{
IEnumerable<TeamViewModel> GetTeams();
... | 1.51524 | 7b46668a16d188fa749102ab129d5ed4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kalo7o/Softuni",
"max_stars_repo_path": "Programming Basics/06.Conditional statements/Homework/01.Exchange If Greater/Exchange If Greater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136366"
} | starcoder | using System;
class ExchangeIfGreater
{
static void Main()
{
double firstNum = double.Parse(Console.ReadLine());
double secondNum = double.Parse(Console.ReadLine());
double exchange;
if (firstNum>secondNum)
{
exchange = firstNum;
firs... | 3.490383 | 227655ee27666337ff12dc1944d4fdb8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817147 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "danielwidmann/esharp",
"max_stars_repo_path": "ESharpCoreLib/Core/EString.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136367"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ECSharp;
using ESharp.Annotations;
namespace ECSharp.Core
{
[CustomSourceFile("EString.c")]
[CustomHeaderFile("EString.h")]
[Uses(typeof(Array_1))]
public class EString
{
static EString Concat(EString... | 1.921312 | 26ecf7d965fe30364af709f119306ef9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817148 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vonfrank/DesCourseSystem",
"max_stars_repo_path": "WebApp/Views/User/UserCourses.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136368"
} | starcoder | <gh_stars>0
@using Library.Models
@using WebApp.ViewModel
@{
ViewBag.Title = "UserCourses";
}
<h2>User courses</h2>
@model UserCourseViewModel
<div class="panel panel-default">
<div class="panel-heading">My courses</div>
<table class="table">
<tr>
<th>#</th>
<th>Course name... | 2.318175 | 58de9aeee0deb2023a675efa08952d74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AlbertoMonteiro/NetDevPack",
"max_stars_repo_path": "src/NetDevPack/Mediator/MediatorHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136369"
} | starcoder | <reponame>AlbertoMonteiro/NetDevPack
using System.Threading.Tasks;
using FluentValidation.Results;
using MediatR;
using NetDevPack.Messaging;
namespace NetDevPack.Mediator
{
public class MediatorHandler : IMediatorHandler
{
private readonly IMediator _mediator;
public MediatorHandler(IMediato... | 2.278923 | a86e78d8c7b6a3f78fd20758425d89dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "frankhaugen/Frank.Extensions",
"max_stars_repo_path": "src/Frank.Libraries.Fiken/Models/SendInvoiceRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136370"
} | starcoder | <reponame>frankhaugen/Frank.Extensions<filename>src/Frank.Libraries.Fiken/Models/SendInvoiceRequest.cs
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace Frank.Libraries.Fiken.Models
{
/// <summary>
///
/// </summary>
public class SendInvoiceRequest : SendFakturaisj... | 2.368953 | aab340211b3cd976dbfa29f7e23ebfad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817151 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "template/microservice/test/Web/Atomiv.Template.Web.RestApi.IntegrationTest/Customers/Queries/BrowseCustomersQueryTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136371"
} | starcoder | using Atomiv.Template.Core.Application.Commands.Customers;
using Atomiv.Template.Core.Application.Queries.Customers;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
namespace Atomiv.Template.Web.RestApi.IntegrationTest.Customers.Queries
{
public class BrowseCustomersQueryTest : BaseTe... | 2.08825 | 8b3e2eebf3bc59a4c03475c2ec78b605 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817152 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bullseye14/AI-Tanks",
"max_stars_repo_path": "Tanks/Assets/Scripts/UI/Timer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136372"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Timer : MonoBehaviour
{
public static Timer instance;
public float timeStart;
public Text textBox;
public bool timerActive;
private void Awake()
{
... | 2.720915 | 8afd54962407f3c81a9c013a12b459fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817153 | {
"extension": "c-sharp",
"max_stars_count": "484.0",
"max_stars_repo_name": "culaja/TimeZoneConverter",
"max_stars_repo_path": "test/TimeZoneConverter.Tests/TimeZoneInfoTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136373"
} | starcoder | <reponame>culaja/TimeZoneConverter<gh_stars>100-1000
using System;
using Xunit;
namespace TimeZoneConverter.Tests
{
public class TimeZoneInfoTests
{
[Fact]
public void CanGetUtcTimeZone()
{
TimeZoneInfo tz = TZConvert.GetTimeZoneInfo("UTC");
Assert.Equal(TimeZo... | 2.367971 | 1ca61537bf5519db6d6f318bc76e6184 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NewBediver/SharpLibrary",
"max_stars_repo_path": "SharpLibrary/Areas/Admin/Controllers/AuthorController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136374"
} | starcoder | using Microsoft.AspNetCore.Mvc;
using SharpLibrary.Models;
using SharpLibrary.ViewModels;
using System.Linq;
namespace SharpLibrary.Areas.Admin.Controllers
{
public class AuthorController : Controller
{
private IAuthorRepository _repository;
public int PageSize;
public AuthorControlle... | 2.692673 | 77279a039c285ad54bc4709bbd1976c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JoeSchimo/Swashbuckle.AspNetCore",
"max_stars_repo_path": "src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGen/JsonDictionaryHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136375"
} | starcoder | <filename>src/Swashbuckle.AspNetCore.SwaggerGen/SchemaGen/JsonDictionaryHandler.cs<gh_stars>0
using System.Linq;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using Microsoft.OpenApi.Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace Swashbuckle.AspNetCore.SwaggerGen
{
internal class Jso... | 2.53351 | e97796aa61f71e11c91f2d94d7062e10 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817156 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AccentureRapid/OrchardCollaboration",
"max_stars_repo_path": "src/Orchard.Web/Modules/S22.IMAP/Provider/MIMEPart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136376"
} | starcoder | using System;
using System.Collections.Specialized;
namespace S22.Imap.Provider {
/// <summary>
/// Represents a part of a MIME multi-part message. Each part consists of its own content header
/// and a content body.
/// </summary>
internal class MIMEPart {
/// <summary>
/// A collection containing... | 2.433976 | 815071544b08231610f2c1250eefe287 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817157 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "HgAlexx/Hg.DoomHistory",
"max_stars_repo_path": "Hg.DoomHistory/Controls/HotKeyControl.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136377"
} | starcoder | <reponame>HgAlexx/Hg.DoomHistory
namespace Hg.DoomHistory.Controls
{
partial class HotKeyControl
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des r... | 1.964697 | 6332aca42b255aed0096a2087f58a1d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "westbrookmd/CPT-231-ASPNETCORE",
"max_stars_repo_path": "Unit 1/Module 3/StateMaintenance/StateMaintenance/Models/Invoice.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136378"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace StateMaintenance.Models
{
public partial class Invoice
{
public Invoice()
{
... | 2.301612 | e5a4d30731f440625361fe0bf09f780f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817159 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "TyrelBaux/BotSuite",
"max_stars_repo_path": "BotSuite/FiniteStateEngine/StateEngine/Messaging/MessageDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136379"
} | starcoder | <filename>BotSuite/FiniteStateEngine/StateEngine/Messaging/MessageDispatcher.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BotSuite.FiniteStateEngine.StateEngine.Entites;
namespace BotSuite.FiniteStateEngine.StateEngine.Messaging
{
/// <summary>
/// class to ha... | 3.148475 | 4cc5dee3035c6695524a3067f83f40b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817160 | {
"extension": "c-sharp",
"max_stars_count": "188.0",
"max_stars_repo_name": "fly1n/triggernometry-pro",
"max_stars_repo_path": "Source/Triggernometry/Scarborough/OverrideHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136380"
} | starcoder | using System;
using System.Text;
namespace Scarborough
{
internal static class OverrideHelper
{
public static int HashCodes(params int[] hashCodes)
{
if (hashCodes == null) throw new ArgumentNullException(nameof(hashCodes));
if (hashCodes.Length == 0) throw new Argument... | 3.094217 | 53203ae4061f632c921a9db1823f91e7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817161 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "imerr/Mirror",
"max_stars_repo_path": "Assets/Mirror/Tests/WeaverTests~/SyncVarsSyncList.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136381"
} | starcoder | <gh_stars>10-100
using UnityEngine;
using Mirror;
namespace MirrorTest
{
public class SyncObjImplementer : SyncObject
{
public bool IsDirty { get; }
public void Flush() {}
public void OnSerializeAll(NetworkWriter writer) {}
public void OnSerializeDelta(NetworkWriter writer) {}
... | 2.128502 | 00e05e2f446d97923c3a256f31683469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeffery1010/WXZL",
"max_stars_repo_path": "src/ERPWeb.Web/Areas/GlobalM/Controllers/IMGX/MacController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136382"
} | starcoder | <filename>src/ERPWeb.Web/Areas/GlobalM/Controllers/IMGX/MacController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace ERPWeb.Web.Areas.GlobalM.Controllers.IMGX
{
using DAL.IMGX;
using Entity.IMGX;
public class MacController : Controll... | 2.062107 | 3b49f1f8f8a3e6728267cd963a123efa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817163 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Last-Bench-Coder/LBC-Beauty-Parlour-Management",
"max_stars_repo_path": "LBC.Beauty.Parlour.Management.DataAccess/Migrations/20211120062216_added sub category.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136383"
} | starcoder | <filename>LBC.Beauty.Parlour.Management.DataAccess/Migrations/20211120062216_added sub category.Designer.cs<gh_stars>0
// <auto-generated />
using System;
using LBC.Beauty.Parlour.Management.DataAccess.AppData;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.Ent... | 1.984986 | 7b00e0071f543629de2dd22e0da8ca80 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817164 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/AnimNode_StateMachine.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136384"
} | starcoder | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE4.Engine{
... | 1.240081 | 0cfc38a198a59487d07d1ac5cb5ed425 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817165 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "octansIt/environmentassessment",
"max_stars_repo_path": "EnvironmentAssessment.Wizard/Common/VimApi/P/PhysicalNicConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136385"
} | starcoder | <reponame>octansIt/environmentassessment
namespace EnvironmentAssessment.Common.VimApi
{
public class PhysicalNicConfig : DynamicData
{
protected string _device;
protected PhysicalNicSpec _spec;
public string Device
{
get
{
return this._device;
}
set
{
this._device = value;
}
}
p... | 1.674345 | cbe70837020332fb6bbd815c86bddb95 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817166 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "AnomalousMedical/Medical",
"max_stars_repo_path": "Developer/DeveloperAtlasPluginEntryPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136386"
} | starcoder | <reponame>AnomalousMedical/Medical
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Medical;
[assembly: Developer.DeveloperAtlasPluginEntryPoint()]
namespace Developer
{
class DeveloperAtlasPluginEntryPoint : AtlasPluginEntryPointAttribute
{
publ... | 1.429566 | f6b2ff3e2717aa4ecf18916f86ca0318 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817167 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SherifSK/Dirichlet",
"max_stars_repo_path": "Nethermind.Decompose.Numerics/ArithmeticFunctions/IArithmeticRange.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136387"
} | starcoder | <reponame>SherifSK/Dirichlet
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Nethermind.Decompose.Numerics
{
public interface IArithmeticRange<TValue, TSum>
{
long Size { get; }
void GetValues(long kmin, long kmax, TValue[] values);
void ... | 2.422503 | 0cf6fb9ed240553dc7ac9ea562c78074 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terry-u16/AtCoder",
"max_stars_repo_path": "Yorukatsu034/Yorukatsu034/Yorukatsu034/Questions/QuestionD.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136388"
} | starcoder | <gh_stars>0
using Yorukatsu034.Questions;
using Yorukatsu034.Extensions;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Yorukatsu034.Questions
{
/// <summary>
/// ABC110 C
/// </summary>
public class QuestionD : AtCoderQuestionBase
... | 2.570237 | a24b56e99fd7b629719c2d2ffd793cb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817169 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jambcit/2019",
"max_stars_repo_path": "Assets/Scripts/AudioManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136389"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Home.Core
{
public class AudioManager : MonoBehaviour
{
public string audioName;
public Sound[] sounds;
public static AudioManager instance;
// Start is called before the first frame update
voi... | 2.482586 | 7b0e339440c8df07b43defbb8cd507f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817170 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ashyrokoriadov/DesignPatterns",
"max_stars_repo_path": "Facade/Delivery/DhlServiceClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136390"
} | starcoder | <filename>Facade/Delivery/DhlServiceClient.cs
using System;
using System.Collections.Generic;
namespace Facade.Delivery
{
public class DhlServiceClient : IDeliveryServiceClient
{
public bool CancelSending(string packageType, string address)
{
Console.WriteLine($"Отправка на... | 3.298153 | 0989ce40de1e29c2b16a8e410140549d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "blacksmokersen/starwheels",
"max_stars_repo_path": "Assets/Scripts/Matchmaking/Matchmaking.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136391"
} | starcoder | using System;
using System.Linq;
using SW.Matchmaking;
using UnityEngine;
using Bolt;
using Bolt.Utils;
using Bolt.Matchmaking;
using UdpKit;
using udpkit.platform.photon;
public static class SWMatchmaking
{
public static void CreateLobby()
{
if (!BoltNetwork.IsRunning && !BoltNetwork.IsServer)
... | 2.100864 | d760c600f6bd1e65f8823a3999a18ca1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817172 | {
"extension": "c-sharp",
"max_stars_count": "218.0",
"max_stars_repo_name": "AswinPG/GraphicsControls",
"max_stars_repo_path": "src/GraphicsControls/Platform/RectangleExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136392"
} | starcoder | <reponame>AswinPG/GraphicsControls
using System.Linq;
namespace Microsoft.Maui.Graphics.Controls
{
public static class RectangleExtensions
{
public static PointF Center(this RectangleF rectangle) =>
new PointF(rectangle.X + (rectangle.Width / 2), rectangle.Y + (rectangle.Height / 2));
public static void ... | 2.698164 | ada3e274ae58c376a84641b0340ba618 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CQCDigital/GdsHelpers",
"max_stars_repo_path": "GDSHelpers.TestSite/Views/TagHelpers/Heading.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:136393"
} | starcoder | <reponame>CQCDigital/GdsHelpers<filename>GDSHelpers.TestSite/Views/TagHelpers/Heading.cshtml
@model object
@{
ViewBag.Title = "GDS Heading";
}
<gds-heading heading-type="H1" text="Headers"></gds-heading>
<gds-heading heading-type="H2" text="Heading H2 (with existing class)" class="existing-class1"></gds-heading>... | 2.020453 | 640bd7b4f4d62a535b477fe7d419e895 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817174 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ranjithmurthy/CrossPlatfomfeedbackMobileApp",
"max_stars_repo_path": "LoginNavigation/UIClass/ImagePathResources.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136394"
} | starcoder | <filename>LoginNavigation/UIClass/ImagePathResources.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XFormsUI.Classes
{
public static class ImagePathResources
{
//public static readonly string Backgro... | 2.096573 | 0d7c43a42c465a9c2f5b9e909888ee9f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817175 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "nmaier/getoptnet",
"max_stars_repo_path": "Exceptional/MultipleArgumentCountException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136395"
} | starcoder | using System;
using System.Runtime.Serialization;
using JetBrains.Annotations;
namespace NMaier.GetOptNet
{
/// <inheritdoc />
/// <summary>
/// Thrown when a MultipleArgument's min/MaxArguments contraints aren't fulfilled
/// </summary>
[Serializable]
[PublicAPI]
public sealed class MultipleArgumentCo... | 2.534605 | 402c1cb4e6e6c7babd673f2bcd6d148e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dotJEM/kudu",
"max_stars_repo_path": "Kudu.SiteManagement/Configuration/Section/UrlConfigurationElement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136396"
} | starcoder | using System.ComponentModel;
using System.Configuration;
namespace Kudu.SiteManagement.Configuration.Section
{
public class UrlConfigurationElement : ConfigurationElement
{
[ConfigurationProperty("url", IsRequired = true)]
//TODO: use [RegexStringValidator("...url pattern")] to validate
... | 2.268833 | 24e2b296d6c4893669b4c636dc80e01b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817177 | {
"extension": "c-sharp",
"max_stars_count": "1175.0",
"max_stars_repo_name": "mookid8000/SimpleInjector",
"max_stars_repo_path": "src/SimpleInjector.Conventions.Tests/ObsoleteConventionsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136397"
} | starcoder | namespace SimpleInjector.Conventions.Tests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
[TestCategory("Conventi... | 2.469053 | 07e2ab8d4279a58d7bc2cf844edb17b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817178 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "mby-qlik/Qlik-SupportTools",
"max_stars_repo_path": "Code/Eir.Common/Eir.Common/Net/Http/HttpClientWrapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136398"
} | starcoder | <filename>Code/Eir.Common/Eir.Common/Net/Http/HttpClientWrapper.cs
using System.Net.Http;
using System.Threading.Tasks;
namespace Eir.Common.Net.Http
{
/// <summary>
/// HttpClient according to Microsoft should be static.
/// </summary>
public class HttpClientWrapper : IHttpClientWrapper
{
... | 2.767852 | 06f702a05900d958618d21864e3a3687 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817179 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stoneman/MvvmCross",
"max_stars_repo_path": "MvvmCross/AutoView/Droid/Interfaces/Lists/IMvxLayoutListItemViewFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136399"
} | starcoder | <gh_stars>1-10
// IMvxLayoutListItemViewFactory.cs
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
namespace MvvmCross.AutoView.Droid.Interfaces.Lists
{
using Android.Content;
... | 1.531242 | 0579e9bc824cf5fb9eda688858d83a3d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "emipa606/BrrandPhew",
"max_stars_repo_path": "Source/Brrr/JobGiver_Yuk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136400"
} | starcoder | <filename>Source/Brrr/JobGiver_Yuk.cs
using RimWorld;
using Verse;
using Verse.AI;
namespace Brrr;
public class JobGiver_Yuk : ThinkNode_JobGiver
{
protected override Job TryGiveJob(Pawn pawn)
{
if (!Settings.UseYuk || !pawn.IsColonistPlayerControlled)
{
return null;
}
... | 2.06859 | b4a2be960966011f704444e873c6c434 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JYang17/SampleCode",
"max_stars_repo_path": "Samples/WCF+EF+MVVM/wcf-jumpstart/5-wcf-jumpstart-exercise-files/before/ZzaApp/Zza.Client/MainWindowViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136401"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.Practices.Prism.Commands;
using Microsoft.Practices.Prism.Mvvm;
using Zza.Entities;
using Zza.Clie... | 2.475333 | f68024a59a398cfe012a69162f9baa86 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817182 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JedzenioPlanner/JedzenioPlanner.Api",
"max_stars_repo_path": "src/JedzenioPlanner.Api.Infrastructure/Persistence/EventStore/EventsDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136402"
} | starcoder | <reponame>JedzenioPlanner/JedzenioPlanner.Api<gh_stars>1-10
using Microsoft.EntityFrameworkCore;
namespace JedzenioPlanner.Api.Infrastructure.Persistence.EventStore
{
public class EventsDbContext : DbContext
{
public EventsDbContext(DbContextOptions<EventsDbContext> options) : base(options)
{
... | 1.984375 | e980fddaf3cff1f9cce4cddfea4e9efb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817183 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "ajaxx/tsql2pgsql",
"max_stars_repo_path": "src/visitors/PgsqlConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136403"
} | starcoder | // --------------------------------------------------------------------------------
// Copyright (c) 2014, XLR8 Development
// --------------------------------------------------------------------------------
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | 1.915736 | c5a47044615426e48e42674db796a7e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817184 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tarurar/ironclad",
"max_stars_repo_path": "src/Ironclad/WebApi/RolesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136404"
} | starcoder | <filename>src/Ironclad/WebApi/RolesController.cs
// Copyright (c) <NAME>.
// See the LICENSE file in the project root for more information.
namespace Ironclad.WebApi
{
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using IdentityServer4.Extensions;
using Ironc... | 2.31637 | 54a3d94354eab84df1b24c7106ac07bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817185 | {
"extension": "c-sharp",
"max_stars_count": "676.0",
"max_stars_repo_name": "Oriphim/mtgscotland",
"max_stars_repo_path": "Hanselman.UWP/Renderers/ImageCircle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136405"
} | starcoder | <reponame>Oriphim/mtgscotland<gh_stars>100-1000
using ImageCircle.Forms.Plugin.UWP;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.Storage;
using Windows.UI.Xaml.Media;
using Windows.UI.X... | 2.276746 | 41ce68425c781e1bf9ec8f21fcf907a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817186 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "EntelectChallenge/2016-Bomberman",
"max_stars_repo_path": "Game Engine/Bomberman/TestHarness/TestHarnesses/SocketHarness/SocketState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136406"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
namespace TestHarness.TestHarnesses.SocketHarness
{
public class SocketState
{
public Socket Socket { get; set; }
public byte[] ByteBuffer { get; set; }
}
}
| 1.637797 | 35602b4973b83782e86f982293b180e0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817187 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "pfpack/pfpack-core",
"max_stars_repo_path": "src/core-taggeds-optional/Optional/Optional.T/Inner/Optional.T.InnerOnPresent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136407"
} | starcoder | <reponame>pfpack/pfpack-core<gh_stars>1-10
#nullable enable
using System.Runtime.CompilerServices;
namespace System
{
partial struct Optional<T>
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
private TResult InnerOnPresent<THandlerOut, TResult>(
Func<T, THandlerOut> handler,... | 2.001122 | 299036267194c3fe1a6fa45e2b80baa6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817188 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "johncrn/serilog",
"max_stars_repo_path": "src/Serilog/Events/ScalarValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136408"
} | starcoder | // Copyright 2013-2015 Serilog Contributors
//
// 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.817082 | 1e1e3cbe501247383ef4087713e9ac02 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817189 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dylech30th/FileDigester",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136409"
} | starcoder | #region Copyright (C) 2019-2020 Dylech30th. All rights reserved.
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later vers... | 2.844801 | 8b1f5ecba7500291af67b1eae5ba3783 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817190 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "fossabot/netcore-proj",
"max_stars_repo_path": "DotSpatial.Projections/Transforms/Winkel2.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136410"
} | starcoder | <gh_stars>1-10
// ********************************************************************************************************
// Product Name: DotSpatial.Projection
// Description: The basic module for MapWindow version 6.0
// ***********************************************************************************************... | 2.495297 | e41597ed1f90951b00e7d656b2f69ac8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817191 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Vlbager/Nandaka",
"max_stars_repo_path": "Nandaka.Core/Session/Util/MessageListener.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136411"
} | starcoder | using System;
using Nandaka.Core.Protocol;
namespace Nandaka.Core.Session
{
internal sealed class MessageListener : IDisposable
{
private readonly IProtocol _protocol;
public MessageListener(IProtocol protocol)
{
_protocol = protocol;
}
/// <summary>
... | 2.037696 | 336879b66e718603a7717640fd0d198f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817192 | {
"extension": "c-sharp",
"max_stars_count": "33.0",
"max_stars_repo_name": "large/MOTRd",
"max_stars_repo_path": "WebSockets/Events/BinaryMultiFrameEventArgs.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136412"
} | starcoder | <reponame>large/MOTRd
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WebSockets.Events
{
public class BinaryMultiFrameEventArgs : BinaryFrameEventArgs
{
public bool IsLastFrame { get; private set; }
public BinaryMultiFrameEventArgs(byte[] paylo... | 1.558534 | 093ed0184120520e949f973aeccf8817 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817193 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "cpsusie/DotNetVault",
"max_stars_repo_path": "DotNetVault.Test/AnalyzerYetAgainUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136413"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Runtime.Serialization;
using DotNetVault.Attributes;
using DotNetVault.LockedResources;
using DotNetVault.Logging;
using DotNetVault.Test.Helpers;
using DotNetVault.TestCaseHelpers;
using JetBrains.Annota... | 1.611596 | 0a1af7b3099579ec9d29341ce6053fb6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817194 | {
"extension": "c-sharp",
"max_stars_count": "3880.0",
"max_stars_repo_name": "JarLob/EventStore",
"max_stars_repo_path": "src/EventStore.Projections.Core/Services/Management/ProjectionManagerMessageDispatcher.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136414"
} | starcoder | using System;
using System.Collections.Generic;
using EventStore.Core.Bus;
using EventStore.Core.Messaging;
using EventStore.Projections.Core.Messages;
using ILogger = Serilog.ILogger;
namespace EventStore.Projections.Core.Services.Management {
public class ProjectionManagerMessageDispatcher
: IHandle<CoreProjectio... | 2.062111 | d93d46f1862d09561c5f2386ab895a36 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817195 | {
"extension": "c-sharp",
"max_stars_count": "2818.0",
"max_stars_repo_name": "bonfirestudios/github-for-unity",
"max_stars_repo_path": "src/GitHub.Api/Extensions/AsyncExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136415"
} | starcoder | <filename>src/GitHub.Api/Extensions/AsyncExtensions.cs<gh_stars>1000+
using System;
using System.Threading;
using System.Threading.Tasks;
namespace GitHub.Unity
{
static class TaskExt
{
public static async Task<TEventArgs> FromEvent<TEventHandler, TEventArgs>(
Func<Action<TEventArgs>, Acti... | 2.571933 | 4a0f31864bb0750468bc79b54abe83dc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817196 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Bhaskers-Blu-Org2/VS-Macros",
"max_stars_repo_path": "ExecutionEngine/Pipes/Shared/BinderHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136416"
} | starcoder | <filename>ExecutionEngine/Pipes/Shared/BinderHelper.cs
//-----------------------------------------------------------------------
// <copyright file="BinderHelper.cs" company="Microsoft Corporation">
// Copyright Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------... | 2.265648 | cae510dae73f2fec658c7aeb8db2cd7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817197 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ecraciun/TerribleBankInc",
"max_stars_repo_path": "src/TerribleBankInc/Models/ViewModels/ForgotPasswordViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136417"
} | starcoder | <filename>src/TerribleBankInc/Models/ViewModels/ForgotPasswordViewModel.cs
using System.ComponentModel.DataAnnotations;
namespace TerribleBankInc.Models.ViewModels
{
public class ForgotPasswordViewModel
{
[Required]
[DataType(DataType.EmailAddress)]
public string Email { get; set; }
... | 2.267571 | 6abd7d2b4436b38b9aa1354111395bc6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817198 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "taori/PCRemote2",
"max_stars_repo_path": "src/Amusoft.PCR.Mobile.Droid/Domain/Communication/LoginDialog.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136418"
} | starcoder | using System;
using System.Threading.Tasks;
using Amusoft.PCR.Grpc.Common;
using Amusoft.PCR.Mobile.Droid.Services;
using Android.App;
using Android.Content;
using Android.Views;
using Android.Widget;
using AndroidX.AppCompat.Widget;
using Java.Lang;
using AlertDialog = AndroidX.AppCompat.App.AlertDialog;
namespace A... | 2.191 | 2110059a5448ffcffd2f343b17f31e4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817199 | {
"extension": "c-sharp",
"max_stars_count": "1071.0",
"max_stars_repo_name": "doujia/Furion",
"max_stars_repo_path": "framework/Furion/ViewEngine/Models/ViewEngineModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136419"
} | starcoder | <filename>framework/Furion/ViewEngine/Models/ViewEngineModel.cs<gh_stars>1000+
// Copyright (c) 2020-2021 百小僧, Baiqian Co.,Ltd.
// Furion is licensed under Mulan PSL v2.
// You can use this software according to the terms and conditions of the Mulan PSL v2.
// You may obtain a copy of Mulan PSL v2 at:
// h... | 2.185903 | b4e70c07e174e25de32ccd00ac4d8110 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817200 | {
"extension": "c-sharp",
"max_stars_count": "213.0",
"max_stars_repo_name": "Surenthiran/Serenity",
"max_stars_repo_path": "tests/Serenity.Net.Data.Tests/Mocks/MockDbParameterCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136420"
} | starcoder | <filename>tests/Serenity.Net.Data.Tests/Mocks/MockDbParameterCollection.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
namespace Serenity.Tests
{
public class MockDbParameterCollection : DbParameterCollection
... | 2.824357 | 83866a05d012ad03a2411590bc249a58 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817201 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "meganaquinn/arcade-services",
"max_stars_repo_path": "src/Maestro/tests/Maestro.ScenarioTests/ScenarioTests_DefaultChannels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136421"
} | starcoder | <filename>src/Maestro/tests/Maestro.ScenarioTests/ScenarioTests_DefaultChannels.cs
using System.Threading.Tasks;
using NUnit.Framework;
namespace Maestro.ScenarioTests
{
[TestFixture]
[Category("PostDeployment")]
public class ScenarioTests_DefaultChannels : MaestroScenarioTestBase
{
private rea... | 2.197227 | b795ddf59ab12862ee22268a37986c6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817202 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tmteam/Funny",
"max_stars_repo_path": "src/NFun/Tic/NodeToposort.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136422"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using NFun.Exceptions;
using NFun.Tic.Errors;
using NFun.Tic.SolvingStates;
// ReSharper disable ConvertIfStatementToSwitchStatement
// ReSharper disable LoopCanBeConvertedToQuery
namespace NFun.Tic {
public class NodeToposort {
pu... | 2.552485 | b5a7fba696869e7421f3f06da1e97c07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817203 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-commitments",
"max_stars_repo_path": "src/CommitmentsV2/SFA.DAS.CommitmentsV2.UnitTests/Application/Queries/GetApprenticeships/SearchTests/WhenGettingSortedApprenticeships.cs",
"provenance": "trai... | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using AutoFixture.NUnit3;
using Moq;
using NUnit.Framework;
using SFA.DAS.CommitmentsV2.Application.Queries.GetApprenticeships.Search.Services;
using SFA.DAS.CommitmentsV2.Application.Queries.GetApp... | 1.855583 | 33410e121870480cd1ef7eb717ddff9c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817204 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ChrigiGee/SilentCMD",
"max_stars_repo_path": "Brenner.SilentCmd/ArgumentParser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136424"
} | starcoder | <gh_stars>1-10
using System.Globalization;
namespace Brenner.SilentCmd
{
public static class ArgumentParser
{
public static bool IsName(string arg, string name)
{
return arg.StartsWith(name, true, CultureInfo.InvariantCulture) &&
(name.Length == arg.Length || arg[na... | 3.129592 | 79395b753a2bbb23e8ffda8cc824728b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817205 | {
"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.Work/Models/CgibinUser/Auth/CgibinUserCheckMemberAuthRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136425"
} | starcoder | namespace SKIT.FlurlHttpClient.Wechat.Work.Models
{
/// <summary>
/// <para>表示 [GET] /cgi-bin/user/check_member_auth 接口的请求。</para>
/// </summary>
public class CgibinUserCheckMemberAuthRequest : WechatWorkRequest
{
/// <summary>
/// 获取或设置第三方成员唯一标识。
/// </summary>
[New... | 2.088765 | 9566655c13fb9465f655c6df583d8e04 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817206 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ryanheath/ravendb",
"max_stars_repo_path": "ToMigrate/Raven.Tests.Issues/RavenDB-5513.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136426"
} | starcoder | <reponame>ryanheath/ravendb
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Raven.Client.Embedded;
using Raven.Tests.Common;
using Xunit;
namespace Raven.Tests.Issues
{
public class RavenDB_5513: RavenTest
... | 1.789367 | 3ab40c29608e6c3eda4e2f24dc55abbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817207 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JuganD/OurTrace",
"max_stars_repo_path": "OurTrace.Services.Tests/GroupServiceTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136427"
} | starcoder | <filename>OurTrace.Services.Tests/GroupServiceTests.cs
namespace OurTrace.Services.Tests
{
using AutoMapper;
using Microsoft.AspNetCore.Identity;
using Microsoft.EntityFrameworkCore;
using OurTrace.Data;
using OurTrace.Data.Identity.Models;
using OurTrace.Data.Models;
using OurTrace.Service... | 2.246419 | fb6db18e25e0c96fe87f949821c098cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817208 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nataren/mono",
"max_stars_repo_path": "mcs/class/System.Drawing/Test/System.Drawing/SolidBrushTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136428"
} | starcoder | <filename>mcs/class/System.Drawing/Test/System.Drawing/SolidBrushTest.cs
//
// System.Drawing.SolidBrush unit tests
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright (C) 2006-2007 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software... | 2.383323 | c0f363a0a79893ee7d870b207daba1a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817209 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "syntax-tm/SteamAchievementManager",
"max_stars_repo_path": "SAM.WPF.Core/Models/SteamApp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136429"
} | starcoder | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading;
using System.Windows;
using System.Windows.Input;
using DevExpress.Mvvm;
using log4net;
using SAM.API;
using SAM.WPF.Core.API;
using SAM.WPF.Core.Extensions;
usin... | 1.927977 | 1b3cf02e64970c14e08d0a4ca7b6c2cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817210 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "5tarlight/CsGamza",
"max_stars_repo_path": "CGamza/Terrain/ITerrain.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136430"
} | starcoder | namespace CGamza.Terrain
{
public interface ITerrain
{}
}
| 1.152915 | 6145184ff31868430f8211d9cf98f9aa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817211 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "muwaqar/azure-powershell",
"max_stars_repo_path": "src/ServiceManagement/Sql/Commands.SqlDatabase/Firewall/Cmdlet/NewAzureSqlDatabaseServerFirewallRule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136431"
} | starcoder | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... | 2.059508 | dd54ad8d4500496f592842ae290c651a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817212 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "immmdreza/ClassManagerBot",
"max_stars_repo_path": "CManagerBot/CManagerBot/Datebases/Methods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136432"
} | starcoder | <reponame>immmdreza/ClassManagerBot
using LiteDB;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using static CManagerBot.Datebases.Objects;
namespace CManagerBot.Datebases
{
class Methods
{
/// <summary>
/// Main location of data b... | 2.880326 | 9f81db266d023be4b47f9bc4dbd038a8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817213 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wdj294/Virgil",
"max_stars_repo_path": "Assets/Space Graphics Toolkit/Features/Terrain/Scripts/SgtTerrainPlane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136433"
} | starcoder | using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
namespace SpaceGraphicsToolkit
{
[CanEditMultipleObjects]
[CustomEditor(typeof(SgtTerrainPlane))]
public class SgtTerrainPlane_Editor : SgtEditor<SgtTerrainPlane>
{
protected override void OnInspector()
{
DrawDefault("Detail", "The rows/columns of the ... | 2.212396 | ffb1e18061bc6516557bf995c1c52fce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817214 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JustJace/aoc",
"max_stars_repo_path": "Aoc2018/Solutions/D03P1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136434"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace Aoc2018.Solutions
{
public class D03P1 : Solver<int>
{
public override int Day => 3;
public override int Part => 1;
protected override string Filename =... | 3.295186 | d892834389da884ccf5bf90e867c7ad9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817215 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "callumbwhyte/vendr-demo-store",
"max_stars_repo_path": "src/Vendr.DemoStore/Models/CartPage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136435"
} | starcoder | using Vendr.Core.Models;
namespace Vendr.DemoStore.Models
{
public partial class CartPage
{
public CheckoutPage CheckoutPage => this.GetHomePage().CheckoutPage;
public OrderReadOnly Order => this.GetCurrentOrder();
}
}
| 1.438937 | d3be3befef941838f355d6c9d4d95ded |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817216 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ChainsawDevelopment/CodeSaw",
"max_stars_repo_path": "CodeSaw.Web/Diff/DiffEqualityComparer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136436"
} | starcoder | <filename>CodeSaw.Web/Diff/DiffEqualityComparer.cs
using System.Collections.Generic;
namespace CodeSaw.Web.Diff
{
public class DiffEqualityComparer : IEqualityComparer<DiffMatchPatch.Diff>
{
private static readonly char[] TrimChars = {'\n', ' '};
public bool Equals(DiffMatchPatch.Diff x, Diff... | 3.155493 | cf271ebc6f1f11110d1a44ed6041c4a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8817217 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jacksoncafazzo/LarchProvisionsCodeReview",
"max_stars_repo_path": "src/LarchProvisionsWebsite/Models/ApplicationUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:136437"
} | starcoder | <reponame>jacksoncafazzo/LarchProvisionsCodeReview
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace LarchProvisionsWebsite.Models
{
// Add profile data for application users by adding properties to the Appli... | 1.662023 | cd3f4076776920d5ca8f5b1f2ae26ce9 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.