added stringclasses 11
values | created stringclasses 11
values | id stringlengths 4 8 | metadata dict | source stringclasses 1
value | text stringlengths 9 1.04M | code-score float64 -0.5 4.71 | md5 stringlengths 32 32 |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97061 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AntonC9018/graphs",
"max_stars_repo_path": "Algorithm/SubMatrix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97062"
} | starcoder | using System.Collections.Generic;
namespace Algorithm
{
public class SubMatrix
{
public HashSet<int> rowIndices;
public HashSet<int> columnIndices;
public int Height => rowIndices.Count;
public int Width => columnIndices.Count;
public SubMatrix()
{
... | 3.28415 | e6ed85b864e9e5cb6ddf1e4563583e99 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97062 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "junderyAtMicrosoft/reverse-proxy",
"max_stars_repo_path": "src/ReverseProxy/Utilities/CaseSensitiveEqualHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97063"
} | starcoder | <gh_stars>0
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
namespace Yarp.ReverseProxy.Utilities
{
internal static class CaseSensitiveEqualHelper
{
internal static bool Equals(IReadOnlyList<string>? list1, IReadOnlyList<string... | 2.359388 | 21cc45ce09345cf4d138b79d01d2e6af |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97063 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lefthandedgoat/Oak",
"max_stars_repo_path": "Sample Apps/DynamicBlog/DynamicBlog/Controllers/HomeController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97064"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DynamicBlog.Models;
using Massive;
namespace DynamicBlog.Controllers
{
public class HomeController : Controller
{
protected override void HandleUnknownAction(string actionName)
{
... | 2.335773 | c95afb516354d998ba5bd2646b9d3da7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97064 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "benc-uk/community-proto",
"max_stars_repo_path": "junk/ErrorController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97065"
} | starcoder | <reponame>benc-uk/community-proto
using Microsoft.AspNetCore.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace CommunityApi.Controlers
{
[ApiController]
public class ErrorController : ControllerBase
{
private readonly ILogger<ErrorController> _logger;
... | 1.897141 | 0b22ceda0886aaf8cae98a75123f5cbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97065 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dona1312/EFFakeRepo",
"max_stars_repo_path": "FakeProject/FakeProject/Models/IdentityModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97066"
} | starcoder | using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity;
namespace FakeProject.Models
{
// You can add profile data for the user by adding more properties to your ApplicationUser class, please visit http://go.microsoft.com/fwlink/?LinkID=317594 to learn more.
public class ApplicationUser : I... | 2.49635 | 87c7582198562e6337d62924d873e9c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97066 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hdefucom/HDF",
"max_stars_repo_path": "Example/WinForm/Editor/ZYTextDocumentLib/XDesignerCommon/MathCommon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97067"
} | starcoder | using System;
using System.Drawing;
using XDesignerDrawer;
namespace XDesignerCommon
{
public sealed class MathCommon
{
public static void RectangleClipLines(Rectangle ClipRectangle, Point[] LinesPoints)
{
if (ClipRectangle.IsEmpty)
{
throw new ArgumentException("ClipRectangle is Empty", "ClipRectangle... | 2.946734 | 0619f173dd6b9be46e056090cdf78617 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97067 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pawelpopiel/emerytura",
"max_stars_repo_path": "Wprawki1/Wprawki1/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97068"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wprawki1
{
class Program
{
static void Main(string[] args)
{
float x = (float)0.1;
float y = 0.1f;
float suma = 0;
for... | 2.758516 | a30dd6574bb46316b71a7c0a92f7fbb3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97068 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VeselinovStf/Telerik_Alpha_NET_Prep",
"max_stars_repo_path": "CSharp/10_DefiningClassesPart02/ShapesOfGray/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97069"
} | starcoder | using System;
namespace ShapesOfGray
{
public class StartUp
{
public static void Main()
{
var shapes = new Shape[3];
shapes[0] = new Triangle(2, 2);
shapes[1] = new Rectangle(5, 5);
shapes[2] = new Circle(10, 0);
foreach (var shape ... | 3.520158 | 7252682ade709a04156dab5224469579 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97069 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "marceloqueiros/mybooklist-web-app",
"max_stars_repo_path": "VSproject/MyBookList/Views/BackOffice/isbn13.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:97070"
} | starcoder | <input typeof="textbox" id="isbn13" name="isbnm" placeholder="13 caracteres" maxlength="13" /> | 1.623433 | ab7e3c92d8938e128ff768a1e4dfc7c1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97070 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "aspose-diagram/Aspose.Diagram-for-.NET",
"max_stars_repo_path": "Demos/Aspose.Diagram.Live.Demo/Aspose.App.Diagram.Api/Controllers/StorageController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97071"
} | starcoder | using Aspose.App.Diagram.Api.Services;
using Aspose.App.Diagram.Infrastructure;
using Aspose.App.Diagram.Models.App;
using Aspose.App.Diagram.Models.Response;
using Aspose.App.Diagram.Processor;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
us... | 2.161545 | 125a4ba611628f1489dad77aca434e09 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97071 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daidoo90/Elevators",
"max_stars_repo_path": "Elevator.Services/Models/Status.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97072"
} | starcoder | namespace Elevator.Services.Models
{
public enum Status
{
Stopped,
Moving,
Broken
}
}
| 1.458801 | ef674db738edc9bce4bd449e6aee28a4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97072 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LauraXiulan/Qowaiv",
"max_stars_repo_path": "test/Qowaiv.UnitTests/MonthTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97073"
} | starcoder | using NUnit.Framework;
using Qowaiv.Globalization;
using Qowaiv.TestTools;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Runtime.Serialization;
using System.Xml.Serialization;
namespace Qowaiv.UnitTests
{
/// <summary>Tests the month SVO.</summary>
... | 2.685625 | 3f44644109ad29105f0587709575d40e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97073 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chineseliuyongchao/Bird-of-angry",
"max_stars_repo_path": "Assets/Code/LoadLevelAsync.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97074"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LoadLevelAsync : MonoBehaviour {
// Use this for initialization
void Start () {
Screen.SetResolution(1080, 810, false);//固定游戏分辨率
SceneManager.LoadSceneAsync(1);... | 1.359182 | 485d414cca04e5f98b604c84a6c45c02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97074 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ClaveConsulting/ExtensionMethods",
"max_stars_repo_path": "Tests/Clave.ExtensionMethods.Tests/StringExtensionsTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97075"
} | starcoder | <reponame>ClaveConsulting/ExtensionMethods
using NUnit.Framework;
using Shouldly;
namespace Clave.ExtensionMethods.Tests
{
[TestFixture]
public class StringExtensionsTests
{
[Test]
public void TestJoin()
{
new[] { "a", "b", "c" }.Join(" ").ShouldBe("a b c");
}
... | 2.84435 | e4e2c908dba104e3ba5b97c10226d884 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97075 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "KvanTTT/TreesProcessing.NET",
"max_stars_repo_path": "TreeProcessing.NET.Tests/ComparisonTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97076"
} | starcoder | using System.Linq;
using System.Collections.Generic;
using Xunit;
namespace TreeProcessing.NET.Tests
{
public class ComparisonTests
{
[Fact]
public void Comparison_Static_Equals()
{
var tree1 = SampleTree.Init();
var tree2 = SampleTree.Init();
Asser... | 2.532914 | 768f209cbeaa44ceb92fd6f21c6d55d7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97076 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Necroskillz/NecroNetToolkit",
"max_stars_repo_path": "Source/NecroNet.Toolkit/Data/Repositories/CodeFirst/CodeFirstRepositoryBase.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97077"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Objects;
using System.Linq;
using System.Text;
namespace NecroNet.Toolkit.Data
{
public abstract class CodeFirstRepositoryBase<TDbContext, TEntity> : Ulti... | 2.353552 | df233b841bf700d9085c13cb03edf03d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97077 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jagoda2309/Store-masterv3",
"max_stars_repo_path": "Store/Contracts/V1/Validators/CategoryValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97078"
} | starcoder | <filename>Store/Contracts/V1/Validators/CategoryValidator.cs
using FluentValidation;
using Store.Contracts.V1.Requests;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Store.Contracts.V1.Validators
{
public class CategoryValidator : AbstractValidator<Cate... | 2.22814 | 344da4cc6bb3e73dca449f10150e8852 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97078 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-1819-ReportService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ReportService.Model/ReportModels/TrailblazerAppsOccupancyModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97079"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace ESFA.DC.ILR.ReportService.Model.ReportModels
{
public class TrailblazerAppsOccupancyModel
{
public string EpaOrgID { get; set; }
public int? PartnerUKPRN { get; set; }
public bool? MathEngLSFFundStart { get; s... | 1.007407 | 4deb2b6d0c4af29831dae70cbb8a33bb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97079 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ferhatcandas/TStack.Log",
"max_stars_repo_path": "tests/TStack.Log.ConsoleApp/DAL/PersonDAL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97080"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using TStack.Log.ConsoleApp.Logger;
namespace TStack.Log.ConsoleApp
{
public class PersonDAL : IPersonDAL
{
[TimeLog]
[ExLogger]
public void Add(Person person)
{
}
}
}
| 1.31124 | 7133bf8c7b9d2bd0bb64fa303e5d1e5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97080 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "JustAn0therDev/PokemonAdventureGame",
"max_stars_repo_path": "PokemonAdventureGame/BattleSystem/ConsoleUI/ConsoleBattleInfoStatuses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97081"
} | starcoder | <reponame>JustAn0therDev/PokemonAdventureGame
using PokemonAdventureGame.Enums;
using PokemonAdventureGame.Interfaces;
namespace PokemonAdventureGame.BattleSystem.ConsoleUI
{
public static class ConsoleBattleInfoStatuses
{
public static void ShowInflictedStatuses(IPokemon pokemonThatHadItsStatusInflic... | 2.692329 | 84420fc11b8787a2c1ca5fc412301fe4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97081 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ProTheory8/osu",
"max_stars_repo_path": "osu.Game/Screens/Edit/Setup/SetupScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97082"
} | starcoder | <reponame>ProTheory8/osu
// Copyright (c) <NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Screens.Edit.Setup
{
public class SetupScreen : EditorScreen
{
public SetupScreen()
{
Child ... | 0.840333 | b2b139139830dd4c360667098bee25f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97082 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "mperdeck/jsnlogSimpleWorkingDemos",
"max_stars_repo_path": "jsnlogSimpleWorkingDemos/NetFramework/JSNLogDemo_Log4Net_UnhandledRejection/Views/Home/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:97083"
} | starcoder | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>JSNLogDemo_Log4Net_UnhandledRejection</title>
@Html.Raw(JSNLog.JavascriptLogging.Configure())
<script src="~/scripts/jsnlogdemo.js"></script>
</head>
<body>
<h1>JSNLogDemo_Log4Net... | 2.795257 | 21c88806a8c3f0baee84402d76cd63a2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97083 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ravindracs0071/abp_boiler_poc",
"max_stars_repo_path": "aspnet-core/src/DemoCompany.DemoProject.Application/Configuration/IConfigurationAppService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97084"
} | starcoder | using System.Threading.Tasks;
using DemoCompany.DemoProject.Configuration.Dto;
namespace DemoCompany.DemoProject.Configuration
{
public interface IConfigurationAppService
{
Task ChangeUiTheme(ChangeUiThemeInput input);
}
}
| 1.240792 | c49581601ce53c7a0969b41db8de74e1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97084 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lucascebertin/gft-cloud-practicum",
"max_stars_repo_path": "build.cake",
"provenance": "train-00000-of-00045.jsonl.gz:97085"
} | starcoder | #tool nuget:?package=FluentMigrator.Tools
#addin Cake.FluentMigrator
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var dbHost = Argument("dbHost", "");
var dbName = Argument("dbName", "");
var dbUser = Argument("dbUser", "");
var dbPass = Argument("dbPass", "");... | 2.178678 | 8f9378f1540ba58452f3dfeac44b49e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97085 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rutkowskit/VRT.Resume",
"max_stars_repo_path": "VRT.Resume.Application/Persons/Commands/DeletePersonExperience/DeletePersonExperienceCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97086"
} | starcoder | <gh_stars>1-10
using CSharpFunctionalExtensions;
using MediatR;
using System.Linq;
using VRT.Resume.Application.Common.Abstractions;
using VRT.Resume.Domain.Entities;
using VRT.Resume.Persistence.Data;
namespace VRT.Resume.Application.Persons.Commands.DeletePersonExperience
{
public sealed class DeletePersonExper... | 2.27793 | eec56d4ad31357242dfe7c60a17288b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97086 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Firelexic/Learned",
"max_stars_repo_path": "C#/From Books/Learning Object-Oriented Programming in C# 5.0 - Harwani/Chapter 7 - Classes and Objects/ClassDemoThree/ClassDemoThree/StartUp.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <reponame>Firelexic/Learned<gh_stars>0
using System;
namespace ClassDemoThree
{
public class StartUp
{
public static void Main()
{
RectArea rect = new RectArea();
TriangleArea trg = new TriangleArea();
rect.SetData(5, 8);
trg.SetValue(9, 7);
... | 3.074713 | 3404ffb65539debd268d6e735bfe2497 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97087 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "GoodCatGames/UnInventory",
"max_stars_repo_path": "Runtime/Core/MVC/Model/Filters/ResponseReacts/IFilterResponseReact.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97088"
} | starcoder | <reponame>GoodCatGames/UnInventory
namespace UnInventory.Core.MVC.Model.Filters.ResponseReacts
{
public interface IFilterResponseReact
{
}
}
| 1.038537 | 08545f2423c6680c7135ce0511efa49c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97088 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "TroydonAnabolic/TroydonFitness",
"max_stars_repo_path": "DockerVersion/TroydonFitnessWebsite/TroydonFitnessWebsite/Areas/Identity/Data/TroydonFitnessWebsiteUser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97089"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
namespace TroydonFitnessWebsite.Areas.Identity.Data
{
// Add profile data for appli... | 2.362265 | 456efb9d01681ec1cae72283aeba0e0c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97089 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FITSTIC/Hackathon_Team5_19_21",
"max_stars_repo_path": "Hackathon_Team5_19_21/Data/IServizioEsami.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97090"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Hackathon_Team5_19_21.Data
{
public interface IServizioEsami
{
Task<List<RisultatoQuery>> GetEsamiByIdModulo(int Id);
Task<bool> SalvaEsame(int idStudIscritto, int idModulo, int voto, DateTime? data);
... | 2.228061 | aee7cdab675a65fa406fb8beff30c16c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97090 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seunghyeok2915/Unity-Easy-PoolManager",
"max_stars_repo_path": "Assets/Scripts/PoolManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97091"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class PoolManager
{
public static Dictionary<string, object> pool = new Dictionary<string, object>();
public static Dictionary<string, GameObject> prefabDictionary = new Dictionary<string, GameObject... | 2.328641 | 0e4b5a22e85951cc262ac7d547cd5e78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97091 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "hzexe/openair",
"max_stars_repo_path": "src/Com.Hzexe.Air.OpenAirLibrary/CNEMC/Repository/AQIDataPublishLiveRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97092"
} | starcoder | namespace CNEMC.Repository
{
using Env.CnemcPublish.RiaServices;
using System;
using OpenRiaServices.DomainServices.Client;
using Env.CnemcPublish.DAL;
using System.Collections.Generic;
public class AQIDataPublishLiveRepository : RepositoryBase<AQIDataPublishLive>
{
public AQIDataP... | 1.851525 | d5ccc8bb2163832e374d2d02b9f4026d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97092 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TheFitzyG/TfgScriptsPackCore",
"max_stars_repo_path": "TgfScriptsPackCore/Assets/Scripts/ButtonsAndLevers/Button.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97093"
} | starcoder | using System;
using System.Collections;
using DG.Tweening;
using DG.Tweening.Core.Easing;
using TFG_SP;
using UnityEngine;
using UnityEngine.Events;
namespace NoEyeInTea.ButtonsAndLevers
{
public class Button : MonoBehaviour, IInteractable
{
[SerializeField] private GameObject _buttonFace;
[Se... | 2.292892 | b0f144a98a2d74bb1c3217a559197dce |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97093 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "stephenc87/mixed-reality-extension-unity-testbed",
"max_stars_repo_path": "MRETestBed/Assets/TestBed Assets/Scripts/Player/LocalPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97094"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Assets.TestBed_Assets.Scripts.Player
{
public static class LocalPlayer
{
static public string PlayerId { get; }
static LocalPlayer()
{
var rng = new System.Random();
PlayerId = rng.Next().ToString(... | 1.94368 | 5faaf65342d36013d1f5567765a87643 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97094 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "neilb14/featurewise",
"max_stars_repo_path": "src/FWServices/Migrations/201309100305306_AddedHistogram.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97095"
} | starcoder | <filename>src/FWServices/Migrations/201309100305306_AddedHistogram.cs<gh_stars>1-10
namespace GF.FeatureWise.Services.Migrations
{
using System.Data.Entity.Migrations;
public partial class AddedHistogram : DbMigration
{
public override void Up()
{
CreateTable(
... | 2.364952 | de9702f4a81d0cf934b8ebf098cc3770 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97095 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dsonbill/ExtrapilatoryModem",
"max_stars_repo_path": "ExtrapilatoryModem/Codes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97096"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ExtrapilatoryModem
{
class Codes
{
public static int Mom { get { return GenerateNewRandom(23, 26); } }
public static int Rand { get { return Genera... | 2.008626 | 700468170c301774669ef5e118a8e5bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97096 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "saboco/Dessert",
"max_stars_repo_path": "Dessert.Examples.CSharp/SimPy2/BusBreakdown.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97097"
} | starcoder | //
// BusBreakdown.cs
//
// Author(s):
// <NAME> <<EMAIL>>
//
// Copyright (c) 2012 <NAME> <<EMAIL>>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, incl... | 2.459956 | 3c7d511b99144c812bac756523f9635d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97097 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mohenjo/AlgorithmTraining",
"max_stars_repo_path": "ProjectEuler/PE035/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97098"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PE035
{
class Program
{
static void Main(string[] args)
{
CircularPrimes cp = new CircularPrimes(1000000);
cp.DisplayCircularPrim... | 3.743808 | ed7209f6b96a3bcd0ae8786c94dc020e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97098 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hfea/Website-Public",
"max_stars_repo_path": "Source/HFEA.Web.ViewModel/COP/COPNavigationViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97099"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HFEA.Web.ViewModel.COP
{
public class COPNavigationViewModel
{
public bool HasNavigationData
{
get
{
return this.Nav... | 1.273298 | d1e02bad94e2eefe2763b37bd47b5a71 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97099 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "UpbeatBeau/btm9081-Week8-HW",
"max_stars_repo_path": "Assets/Scripts/GameManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97100"
} | starcoder | <reponame>UpbeatBeau/btm9081-Week8-HW
using System.Collections;
using System.Collections.Generic;
using System.Net.WebSockets;
using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
public LocationScriptableObject currentLocation;
public Text locationNameText;
public Text loc... | 2.385484 | 56f414dda257e3120b35331d6915b1c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97100 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "goatcorp/FFXIVClientStructs",
"max_stars_repo_path": "FFXIVClientStructs/FFXIV/Component/GUI/AtkComponentNumericInput.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97101"
} | starcoder | using System.Runtime.InteropServices;
namespace FFXIVClientStructs.FFXIV.Component.GUI
{
// Component::GUI::AtkComponentNumericInput
// Component::GUI::AtkComponentInputBase
// Component::GUI::AtkComponentBase
// Component::GUI::AtkEventListener
[StructLayout(LayoutKind.Explicit, Size... | 1.225417 | 1a5f673276f6767631067581015a1302 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97101 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zrusev/ddd-architecture",
"max_stars_repo_path": "TimeOffManager/TimeOffManager.Domain/Vacations/Models/Requests/Request.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97102"
} | starcoder | namespace TimeOffManager.Domain.Vacations.Models.Requests
{
using Common;
using Common.Models;
using System;
using System.Collections.Generic;
public class Request: Entity<int>, IAggregateRoot
{
internal Request(
DateTimeRange dateTimeRange,
int days,
... | 2.389459 | 3ea3c51396aa9477f10c769e621d1e17 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97102 | {
"extension": "c-sharp",
"max_stars_count": "91.0",
"max_stars_repo_name": "Foglio1024/Tera-custom-cooldowns",
"max_stars_repo_path": "TCC.Core/ViewModels/ChatManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97103"
} | starcoder | <reponame>Foglio1024/Tera-custom-cooldowns
//#define BATCH // pepehands
using Nostrum;
using Nostrum.Extensions;
using Nostrum.WPF.Extensions;
using Nostrum.WPF.ThreadSafe;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
usi... | 1.718966 | 024e64c4c9eff98785e62ab4630ec27d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97103 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Axaprj/FastTextProcess",
"max_stars_repo_path": "Axaprj.Textc.Vect/ExpressionUtil.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97104"
} | starcoder | <filename>Axaprj.Textc.Vect/ExpressionUtil.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Axaprj.Textc.Vect
{
public static class ExpressionUtil
{
/// <summary>
/// Get named value from Takenet.Textc.Expression
/// </summary>
... | 2.815406 | 83f6061810beeca1c42efdeeae65d7f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97104 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "flightlog/flsserver",
"max_stars_repo_path": "src/FLS.Server.Web/Controllers/SystemLogsController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97105"
} | starcoder | <reponame>flightlog/flsserver
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Description;
using FLS.Data.WebApi;
using FLS.Data.WebApi.Resources;
using FLS.Data.WebApi.System;
using FLS.Server.Service;
namespace FLS.Server.WebApi.Controllers
{
/// <summary>
/// Api controller f... | 1.686512 | 9afc1a1b9855eebe0b6b3bd9b103d30b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97105 | {
"extension": "c-sharp",
"max_stars_count": "217.0",
"max_stars_repo_name": "ExpressoBits/Latios-Framework",
"max_stars_repo_path": "Core/Core/Containers/EntityOperationCommandBuffer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97106"
} | starcoder | <filename>Core/Core/Containers/EntityOperationCommandBuffer.cs
using System.Diagnostics;
using Unity.Burst;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
namespace Latios
{
/// <summary>
/// This is a special container for wr... | 2.202502 | 0efa725f6884817ef18c35ac42ebcadc |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97106 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dsuny/Atomus.Control.Grid.DataGridViewAgent",
"max_stars_repo_path": "dotNet/DataGridViewAgent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97107"
} | starcoder | <gh_stars>1-10
using Atomus.Diagnostics;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Atomus.Control.Grid
{
public class DataGridViewAgent : IDataGridAgent
{
string[] menuListText;
System.W... | 1.84034 | 5c0c052a29177dcd617a167e96a2097f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97107 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gdemirev01/Avija",
"max_stars_repo_path": "Assets/Scripts/Movement/PlayerMovement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97108"
} | starcoder | <reponame>gdemirev01/Avija<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : Singleton<PlayerMovement>
{
private Animator animator;
private CombatController combatController;
[SerializeField]
private float speed;
... | 2.164633 | d1a8c385c37e32c23cba8762084b448e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97108 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "fernandezja/emoji-search",
"max_stars_repo_path": "src/BlazorEmojiSearch/Code/StringExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97109"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlazorEmojiSearch.Code
{
public static class StringExtensions
{
public static bool ContainsAny(this string target, params string[] values)
{
if (!string.IsNullOrEmpty(target) ... | 3.245374 | 537edf5cf4ea99b1074da70b57b5f39c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97109 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Esri/arcgis-viewer-silverlight",
"max_stars_repo_path": "src/Internal/Controls/ESRI.ArcGIS.Mapping.Controls/Clusterer/ClusterHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97110"
} | starcoder | /*
(c) Copyright ESRI.
This source is subject to the Microsoft Public License (Ms-PL).
Please see https://opensource.org/licenses/ms-pl for details.
All other rights reserved.
*/
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.In... | 2.072659 | a24e78923760be6ee01e203be00f90cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97110 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Wojmik/Base128",
"max_stars_repo_path": "Base128UnitTest/Short/Base128UShortUnitTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97111"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WojciechMikołajewicz.Base128UnitTest.Int;
using WojciechMikołajewicz.Base128UnitTest.Long;
using WojciechMikołajewicz.Base128UnitTest.Model;
namespace WojciechMikołajewicz.Base128UnitTest.Short... | 2.289474 | ded2ab57a026c36ad6232e9162ddff55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97111 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jwg4/gtools",
"max_stars_repo_path": "GSharpTools/PathSanitizer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97112"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using Microsoft.Win32.SafeHandles;
using log4net;
namespace GSharpTools
{
public static class PathSanitizer
{
private stat... | 2.640707 | 07b57e1d5c4c8351da5fa726510e5794 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97112 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "harris2012/rpc-contract",
"max_stars_repo_path": "RpcContract/AspNetCore/TypeHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97113"
} | starcoder | <reponame>harris2012/rpc-contract
using Panosen.CodeDom.CSharp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RpcContract.AspNetCore
{
public class TypeHelper
{
public static string ToPropertyType(string xNamespace, Type propertyType, CodeFile codeFile... | 2.310933 | 4f6787874e10ab757a8f8a658126936c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97113 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PacktPublishing/Pragmatic-Test-Driven-Development-in-C-.NET",
"max_stars_repo_path": "ch09/UqsAppointmentBooking/Uqs.AppointmentBooking.Domain/Services/NowService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97114"
} | starcoder | <filename>ch09/UqsAppointmentBooking/Uqs.AppointmentBooking.Domain/Services/NowService.cs
namespace Uqs.AppointmentBooking.Domain.Services;
public class NowService : INowService
{
public DateTime Now => DateTime.Now;
} | 1.644547 | 786fbc2cfe8cbf6bec717179e5298e85 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97114 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fmod/Unity-Feature-Demo",
"max_stars_repo_path": "Assets/Scripts/Basic Rooms/Panning/Panning.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97115"
} | starcoder | <reponame>fmod/Unity-Feature-Demo
/*===============================================================================================
| Project: FMOD Demo |
| Developer: <NAME> - http://www.mzelenko.com |
| Com... | 2.141565 | e26f926ecdcc64cba379a08383e11477 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97115 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Macabresoft/Macabre2D.Framework",
"max_stars_repo_path": "UI/Editor/Views/ProjectTreeView.axaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97116"
} | starcoder | namespace Macabresoft.Macabre2D.UI.Editor;
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Input;
using Avalonia.Markup.Xaml;
using Macabresoft.AvaloniaEx;
using Macabresoft.Macabre2D.UI.Common;
public class ProjectTreeView : UserControl {
public static readonly DirectProperty<ProjectTreeVie... | 1.968965 | 51b561007941fbaa70c7945a5d7985e8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97116 | {
"extension": "c-sharp",
"max_stars_count": "428.0",
"max_stars_repo_name": "cping/LGame",
"max_stars_repo_path": "C#/WindowsPhone/LGame-XNA-lib/Loon.Action.Sprite/JumpObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97117"
} | starcoder | using Loon.Action.Map;
using Loon.Core.Geom;
namespace Loon.Action.Sprite
{
public class JumpObject : SpriteBatchObject
{
public interface JumpListener
{
void Update(long elapsedTime);
void Check(int x, int y);
}
public JumpListener listener;
... | 2.400364 | a5c63a9db877f76e0d7546ca65443bb9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97117 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davidroth/EntityFrameworkCore",
"max_stars_repo_path": "src/Microsoft.EntityFrameworkCore/Query/IncludeSpecification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97118"
} | starcoder | // 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.Collections.Generic;
using System.Linq;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFr... | 1.745356 | 7afa78b1ad60c8c7d3b4a5721e87cc5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97118 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roman-martyniuk/RM.Common.Utils",
"max_stars_repo_path": "src/RM.Common.Utils/Base64StringExtension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97119"
} | starcoder | <filename>src/RM.Common.Utils/Base64StringExtension.cs
using System;
namespace RM.Common.Utils
{
/// <summary>
/// Represents extension methods for Base64 convertions.
/// </summary>
public static class Base64StringExtension
{
/// <summary>Converts an array of 8-bit unsigned integers to it... | 3.383855 | 9b460866cda2bf839bb27b098518187c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97119 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Clark159/MDP.Net",
"max_stars_repo_path": "src/MDP.WebPlatform/Views/Account/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:97120"
} | starcoder | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using Microsoft.AspNetCore.Authentication.Google
@using Microsoft.AspNetCore.Authentication.Facebook
@using MDP.AspNetCore.Authentication.GitHub
@using MDP.AspNetCore.Authentication.Line
@{
}
<!DOCTYPE html>
<html>
<head>
<!-- title -->
<title>MDP.WebPlat... | 1.755632 | bdca23cecb578b96fbf766b7432a0ff2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97120 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "markmssd/pong-tdd",
"max_stars_repo_path": "Assets/Tests/Editor/Goal/GoalTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97121"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEditor;
using UnityEngine.Events;
using UnityEngine.TestTools;
using NUnit.Framework;
using NSubstitute;
using System.Collections;
public class GoalTest {
public class OnTriggerEnter2D {
private Goal goal;
private IScoreEvent scoreEvent;
private B... | 2.111346 | c08d9e9a7eae514b17d8c9ac0d0fe013 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97121 | {
"extension": "c-sharp",
"max_stars_count": "3268.0",
"max_stars_repo_name": "gjy5885/azure-sdk-for-net",
"max_stars_repo_path": "sdk/mediaservices/Microsoft.Azure.Management.Media/src/Generated/Models/MetricDimension.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97122"
} | starcoder | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... | 1.936543 | bf235cf2fc9f4e17bacd9fc76fdb1f5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97122 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MattSmithereens/WordData",
"max_stars_repo_path": "WorldDataProject/Views/City/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:97123"
} | starcoder | <filename>WorldDataProject/Views/City/Index.cshtml
@{
Layout = "_Layout";
}
<div class='container'>
<div class='row'>
@{
await Html.RenderPartialAsync("_CityForm");
}
@foreach (var city in Model)
{
<div class='panel panel-def... | 2.366645 | f1cfb90ba2d80b1b02c23d7c6fb23678 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97123 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "BigBigZBBing/GeneralK",
"max_stars_repo_path": "BigCookieKit.Office/Xlsx/MapRow.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97124"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace BigCookieKit.Office.Xlsx
{
public class WorkBookMap
{
public WorkBookMap()
{
}
public SheetMap GetSheet(int index)
{
return null;
}
}
public cl... | 1.980812 | ac5f64e8701e4dce7498e7e936be9432 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97124 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "siisltd/Curiosity.Utils",
"max_stars_repo_path": "src/Curiosity.Tools.Web/Middleware/IPFilter/ServiceCollectionIPFilterExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97125"
} | starcoder | // using System;
// using Microsoft.Extensions.DependencyInjection;
//
// namespace Curiosity.Tools.Web.Middleware.IPFilter
// {
// public static class ServiceCollectionIPFilterExtensions
// {
// public static void AddIPFilter(this IServiceCollection services, IPFilterOptions options)
// {
// ... | 1.907596 | 9b8c57d89d558960b6a7231c704e05ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97125 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MassivePixel/Sancho.Client.Core",
"max_stars_repo_path": "samples/ConsoleClient/EchoPlugin.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97126"
} | starcoder | using Sancho.Client.Core;
using Serilog;
namespace ConsoleClient
{
class EchoPlugin : IPlugin
{
private Connection _connection;
public EchoPlugin(Connection connection)
{
_connection = connection;
}
public string Name => "echo";
public void Reciev... | 2.608572 | c5944a100a1eff7a46fc28dffb88e9c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97126 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "tajwal/Advanced-Algorithms",
"max_stars_repo_path": "Advanced.Algorithms.Tests/DynamicProgramming/Matrix/MaxSubMatrix_Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97127"
} | starcoder | using Advanced.Algorithms.DynamicProgramming.Matrix;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Advanced.Algorithms.Tests.DynamicProgramming.Matrix
{
/// <summary>
/// Problem statement below
/// http://www.geeksforgeeks.org/dynamic-programming-set-27-max-sum-rectangle-in-a-2d-matrix/
... | 3.060702 | 201e34a12cfcfaaf1a763e579f0ee766 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97127 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "minagisyu/SmartAudioPlayerFx",
"max_stars_repo_path": "SmartAudioPlayer Fx/Views/MediaListWindowViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97128"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Windows;
using System.Windows.Media;
using System.Xml.Linq;
using __Primitives__;
using Codeplex.Reactive;
using Codeplex.Reactive.Extensions;
using SmartAudioPlayerFx... | 2.144557 | eacbfcd0c063191d76da7b7722470836 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97128 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saludnqn/Empadronamiento",
"max_stars_repo_path": "DalSic/generated/PnTareasDesemp.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97129"
} | starcoder | using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;... | 2.432092 | a6d52b526527739b0bd3e58fc3ab5c51 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97129 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NenovaRositsa/CSharp-Entity-Framework-Core",
"max_stars_repo_path": "02EntityRelations/01StudentSystem/P01_StudentSystem.Data/StudentSystemContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97130"
} | starcoder | using Microsoft.EntityFrameworkCore;
using P01_StudentSystem.Data.Models;
namespace P01_StudentSystem.Data
{
public class StudentSystemContext : DbContext
{
public StudentSystemContext()
{
}
public StudentSystemContext(DbContextOptions options)
: base... | 2.504007 | 57cf2b42379f6e86d7e8b09f24fb063c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97130 | {
"extension": "c-sharp",
"max_stars_count": "68.0",
"max_stars_repo_name": "High-Core/WPFSamples",
"max_stars_repo_path": "src/WPFSamples/Samples/ImprovingWinformsPerformance/Item.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97131"
} | starcoder | using System.Collections.Generic;
using System.ComponentModel;
namespace WPFSamples.Samples.ImprovingWinformsPerformance
{
public class Item : INotifyPropertyChanged
{
private List<string> _values;
public List<string> Values
{
get { return _values ?? (_values = new List<str... | 3.096804 | 546db334d62eed632d48897430d53ab5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97131 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sc1994/AspireAdmin",
"max_stars_repo_path": "asp.net/source/Aspire.AutoMapper.Provider/AspireMapper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97132"
} | starcoder | <reponame>sc1994/AspireAdmin
// <copyright file="AspireMapper.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Aspire.AutoMapper.Provider
{
using Aspire.Mapper;
using global::AutoMapper;
/// <summary>
/// Aspire Mapper.
/// </sum... | 2.026734 | 5933204e25b21eecc1f41d940d642fe1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97132 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "asmorger/cash",
"max_stars_repo_path": "src/Cash.Core/Attributes/CacheAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97133"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Runtime.Caching;
using Cash.Core.Extensions;
namespace Cash.Core.Attributes
{
/// <summary>
/// Attribute used to indicate that a meth... | 2.894583 | 3423d072e3cbe8030fd19df4a16655da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97133 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/generated/android/net/internal/LegacyVpnInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97134"
} | starcoder | using Sharpen;
namespace android.net.@internal
{
[Sharpen.NakedStub]
public class LegacyVpnInfo
{
}
}
| 0.732417 | 92905e3b44e5e6edda980fe31a1e5bdf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97134 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RMedeirosCosta/eimbo",
"max_stars_repo_path": "Eimbo.Dominio/Comum/Entidade/Estado.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97135"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Eimbo.Dominio.Comum.Tipo;
namespace Eimbo.Dominio.Comum.Entidade
{
public class Estado :EntidadeBloqueavel
{
private String _uf;
public virtual String UF
{
get { return _uf; }
... | 2.605635 | e5c973905fb7f3199963c380fe6d0f3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97135 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wanglei0/coremvc",
"max_stars_repo_path": "01-basic-project-structure/src/WebApp/Resources/Repository/BookRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97136"
} | starcoder | <gh_stars>0
using System;
using WebApp.Resources.Providers;
using WebApp.Resources.Repository.Models;
namespace WebApp.Resources.Repository
{
// public interface IBooksRepository
// {
// Guid Save(Guid userId, string name);
// Books Get(Guid id);
// void Delete<Users>(Guid id);
// }
... | 1.974957 | 8b7a4fa1e9079239cfb96f04b14bb66e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97136 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Haku-Men/TPlayer",
"max_stars_repo_path": "TPlayer/Frm/Web/Core/Models/OK/Ok_API.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97137"
} | starcoder | <reponame>Haku-Men/TPlayer
using System.Collections.Generic;
namespace TPlayer.Frm.Web
{
/// <summary>
/// 数据详情列表
/// </summary>
public class Ok_API
{
public int code { get; set; }
public string msg { get; set; }
public string page { get; set; }
public string pageco... | 1.094953 | e60f4442bc2f65037fa139df7dc41367 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97137 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AnomalousMedical/Adventure",
"max_stars_repo_path": "Engine/Utility/UsingProxy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97138"
} | starcoder | <filename>Engine/Utility/UsingProxy.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Engine
{
/// <summary>
/// A proxy for disposables so you can change the initial value set in a using statement.
/// This still guards against multiple sets, which will throw an exception. U... | 3.299055 | 9cea191771d4d0eb9c1807976eadc96c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97138 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "robsonpedroso/teste-efcore",
"max_stars_repo_path": "src/core/TestEFCore.Infra/Repositories/ClientRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97139"
} | starcoder | using TestEFCore.Domain.Contracts.Repositories;
using TestEFCore.Domain.Entities;
namespace TestEFCore.Infra.Repositories
{
public class ClientRepository : RepositoryBase<Client>, IClientRepository
{
public ClientRepository(IUnitOfWork uow): base(uow)
{
}
}
}
| 1.624819 | 33df123605c94269a3d8b618e73d0025 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97139 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "foriequal0/sentry-unity",
"max_stars_repo_path": "src/Sentry.Unity/ScopeObserver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97140"
} | starcoder | using Sentry.Extensibility;
using Sentry.Unity.Json;
namespace Sentry.Unity
{
/// <summary>
/// Sentry Unity Scope Observer wrapper for the common behaviour accross platforms.
/// </summary>
public abstract class ScopeObserver : Sentry.IScopeObserver
{
private readonly SentryOptions _option... | 2.235773 | 1c07d5f0d1a2b17f17ee9d68f887d07d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97140 | {
"extension": "c-sharp",
"max_stars_count": "76518.0",
"max_stars_repo_name": "tameemzabalawi/PowerToys",
"max_stars_repo_path": "src/modules/imageresizer/ui/Views/EnumValueConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97141"
} | starcoder | // Copyright (c) <NAME>
// The Brice Lambson licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information. Code forked from Brice Lambson's https://github.com/bricelam/ImageResizer/
using System;
using System.Globalization;
using System.Text;
using System.W... | 2.65589 | 37f1fac9699cbc42a1e18169a8796466 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97141 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "wasimakh2/CleanGraphQLApi",
"max_stars_repo_path": "src/Presentation/MovieReviews/Types/Objects/ReviewObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97142"
} | starcoder | namespace CleanGraphQLApi.Presentation.MovieReviews.Types.Objects;
using CleanGraphQLApi.Application.Entities;
using GraphQL.Types;
public sealed class ReviewObject : ObjectGraphType<Review>
{
public ReviewObject()
{
this.Name = nameof(Review);
this.Description = "A review in the collection";
... | 2.477902 | 8384662009571bc72be7b708ae15927b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97142 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iron-claw-972/2020FRCSim",
"max_stars_repo_path": "Assets/Scripts/CameraText.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97143"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CameraText : MonoBehaviour
{
private CameraController cameraController;
public Text text;
private readonly float textOpaqueTime = 4f;
private readonly float textFadeTime = 1f;
privat... | 2.251414 | 191f338ef91a5aac465fdfe5e4224845 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97143 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rumenand/Softuni_HomeWork_Tasks",
"max_stars_repo_path": "CSharpOOP/02.Exercises Working with Abstraction/P06_Sneaking/Enemy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97144"
} | starcoder | <filename>CSharpOOP/02.Exercises Working with Abstraction/P06_Sneaking/Enemy.cs
namespace P06_Sneaking
{
public class Enemy : Player
{
private bool isLeft;
public bool GetDiection { get => this.isLeft; }
public Enemy(int xPos, int yPos, bool left)
{
this.XPos = xPo... | 3.273174 | 52c47f9e173296ceb451bd43261ef552 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97144 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "madeyoga/Discord.Addons.Music",
"max_stars_repo_path": "Discord.Addons.Music/Object/AudioInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97145"
} | starcoder | using Discord.Addons.Music.Object;
using Newtonsoft.Json.Linq;
namespace Discord.Addons.Music.Objects
{
public class AudioInfo : IAudioInfo
{
public string Id { get; set; }
public string Url { get; set; }
public string Title { get; set; }
public string Author { get; set; }
... | 2.620897 | 5b0e9c66687921c4e2e86ad30146e95e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97145 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wmeints/integration-testing",
"max_stars_repo_path": "FizzyLogic.AspNetCore.Mvc.Testing/PageModelFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97146"
} | starcoder | using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace FizzyLogic.AspNetCore.Mvc.Testing
{
/// <summary>
/// Factory class used for constructing page model instances.
/// </summary>
public static class PageModelFactory
{
/// <summary>
/// Creates a new page mo... | 2.833629 | d4aaba6d52fac7fb190e87a3111d3f9f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97146 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karcagtamas/PlanManager-Backend",
"max_stars_repo_path": "ManagerAPI.Shared/DTOs/SL/MyBookSelectorListDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97147"
} | starcoder | <filename>ManagerAPI.Shared/DTOs/SL/MyBookSelectorListDto.cs<gh_stars>0
namespace ManagerAPI.Shared.DTOs.SL
{
/// <summary>
/// My book selector list DTO
/// </summary>
public class MyBookSelectorListDto : BookListDto
{
/// <summary>
/// Is mine
/// </summary>
... | 2.070628 | 1893279c626804ba7372c8904e0a9024 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97147 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "ninject/ninject1",
"max_stars_repo_path": "src/Core/Behavior/IBehavior.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97148"
} | starcoder | #region License
//
// Author: <NAME> <<EMAIL>>
// Copyright (c) 2007-2008, Enkari, Ltd.
//
// 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/LIC... | 2.079131 | d87940cdb9e56d31a55a172698a7f55b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97148 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BorislavDimitrov/C-Sharp-Fundamentals",
"max_stars_repo_path": "AssociativeArraysMoreExercise/02.Judge/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97149"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace _02.Judge
{
class Program
{
static void Main(string[] args)
{
var contests = new Dictionary<string, List<Student>>();
List<Student> students = new List<Student>();
string input = st... | 3.497234 | 56ed709d4c4b46521bd06ac392534000 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97149 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stcmz/mccsx",
"max_stars_repo_path": "Enums/Category.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97150"
} | starcoder | <filename>Enums/Category.cs
namespace mccsx
{
internal enum Category
{
gauss,
gauss1,
gauss2,
hbonding,
hydrophobic,
nonsteric,
repulsion,
steric,
total,
}
}
| 1.73002 | e331b2df544882d50b84e97e56fdb779 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adz21c/Periturf.IdSvr4",
"max_stars_repo_path": "src/Periturf.IdSvr4/ConfigurationRegistration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97151"
} | starcoder | /*
* Copyright 2019 <NAME> (<EMAIL>)
*
* 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... | 1.664745 | a19b75ddac52966ca9e865a2a3fb2c30 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97151 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tbarabas/Cinema",
"max_stars_repo_path": "Model/Specifications/GenreIsSpecification.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97152"
} | starcoder | <filename>Model/Specifications/GenreIsSpecification.cs
using System;
using System.Linq.Expressions;
using Model.DomainModel;
namespace Model.Specifications
{
public class GenreIsSpecification : Specification<Movie>
{
private readonly GenreEnum _genre;
public GenreIsSpecification(GenreEnum? ge... | 3.010711 | a63e15138fb2b7280a1ebdcb61a81ae6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97152 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Datasilk/Connector",
"max_stars_repo_path": "Logic/Utility/Crypto/Extensions/CompatibilityUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97153"
} | starcoder | <gh_stars>1-10
namespace Crypto.Extensions
{
/// <summary>
/// A collection of utilities that help unify coding patterns when targeting different versions of the .NET framework.
/// </summary>
public static class CompatibilityUtils
{
#pragma warning disable 1591
public static class Array
#p... | 2.692994 | 422916181e1cbe435bae8e7db630204c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97153 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vecalciskay/clean-architecture-path",
"max_stars_repo_path": "CleanArchitecture/CAvcy/Infrastructure/Persistence/BookApplicationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97154"
} | starcoder | <filename>CleanArchitecture/CAvcy/Infrastructure/Persistence/BookApplicationService.cs<gh_stars>0
using Domain;
using Domain.Repository;
using Framework;
using Infrastructure.Commands.V1.BookReaders;
using Infrastructure.Exceptions;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespa... | 2.596104 | c635bcd5b55ad48811400d0b2df87985 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ClydeDz/demo-nuget-azure-artifacts",
"max_stars_repo_path": "Src/DemoNuGetAzureArtifacts.TestConsole/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97155"
} | starcoder | <gh_stars>0
using System;
namespace DemoNuGetAzureArtifacts.TestConsole
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine(DemoNuGetAzureArtifactsObject.Add(5, 6));
Console.WriteLine(DemoNuGetAzureArtifactsObject.AddExternal(7, 3));
Consol... | 1.369833 | cf88d7f267f2c653a8de75bf60f6d166 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nikolay-danev/GrimEntertainment",
"max_stars_repo_path": "GrimEntertainment.Web/Data/Models/GameUpsertViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97156"
} | starcoder | using Microsoft.AspNetCore.Http;
using System.ComponentModel.DataAnnotations;
using System.IO;
namespace GrimEntertainment.Web.Data.Models
{
public class GameUpsertViewModel
{
[Required]
public string Title { get; set; }
[Required]
public string Publisher { get; set; }
... | 1.929896 | ceef7b81017f0621a1f9ea412d710957 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97156 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "dstockhammer/Castle.Transactions",
"max_stars_repo_path": "src/Castle.IO/FileSystems/FileSystemNotifier.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97157"
} | starcoder | #region license
// Copyright 2004-2012 Castle Project, <NAME> &contributors - https://github.com/castleproject
//
// 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:/... | 2.183936 | 5b693e1d5a0bfd06a7133b749fd572b4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jsdelivrbot/Telerik_Academy",
"max_stars_repo_path": "CSharp/CSharp Part 2/Homework/Homework 06. Strings/08. Extract sentences 3/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97158"
} | starcoder | <gh_stars>0
using System;
using System.Text.RegularExpressions;
class Program
{
private static bool Contains(string input, string wordToFind)
{
string pattern = String.Format(@"\b[^A-Z]?{0}[^A-Z]?\b", wordToFind);
Match match = Regex.Match(input, pattern);
return match.Success;
}
... | 3.498408 | 26cacd2400b18a73de2b74f38f40237c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97158 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "Unity3dAzure/UnityWebSocketDemo",
"max_stars_repo_path": "Assets/BotFramework/Receivers/BotMessageTextMeshReceiver.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97159"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using Unity3dAzure.WebSockets;
using UnityEngine;
namespace Unity3dAzure.BotFramework {
public sealed class BotMessageTextMeshReceiver : TextMeshReceiver {
public override void OnReceivedData(object sender, EventArgs args) {
if (arg... | 2.211539 | f66112208d5689d79103f7301404d57b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97159 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "ERNI-Academy/starterkit-mobile-application",
"max_stars_repo_path": "src/CrossPlatform/Xamarin/Erni.Mobile/Services/Configuration/IConfigurationFileProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97160"
} | starcoder | using System.IO;
using System.Text;
using System.Xml.Linq;
namespace Erni.Mobile.Services.Configuration
{
public interface IConfigurationFileProvider
{
Stream GetConfigurationStream();
}
}
| 1.368725 | e1f676e133f667d0ee1f07db3f204ad0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 97160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BrainCrumbz/NAudio-WavToWma",
"max_stars_repo_path": "src/WavToWma/WavToWma/WindowsMediaFormat/FromProfileGuid.cs",
"provenance": "train-00000-of-00045.jsonl.gz:97161"
} | starcoder | <reponame>BrainCrumbz/NAudio-WavToWma
using NAudio.Wave;
using NAudio.WindowsMediaFormat;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WavToWma.WindowsMediaFormat
{
internal static class FromProfileGuid
{
... | 2.212429 | 97d32a29daff943111c7979eed78f804 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.