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 | 8830612 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "tugberkugurlu/MvcBloggy",
"max_stars_repo_path": "src/Common/CommonConstants.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149832"
} | starcoder | <filename>src/Common/CommonConstants.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MvcBloggy {
internal static class CommonConstants {
internal const string ApplicationJsonMediaType = "application/json";
}
} | 1.788453 | d7747010e8a31e3c63d4ebfebcc9a1df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830613 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "FXTi/peachfuzz-code",
"max_stars_repo_path": "Peach.Core.Test/BitStreamTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149833"
} | starcoder | <reponame>FXTi/peachfuzz-code
//
// Copyright (c) <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to us... | 2.000517 | f5d463625e57998c45c39c81ba0f2827 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Miruken-DotNet/Miruken.MassTransit",
"max_stars_repo_path": "Source/Miruken.MassTransit/RegistrationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149834"
} | starcoder | <filename>Source/Miruken.MassTransit/RegistrationExtensions.cs
namespace Miruken.MassTransit
{
using System;
using Api;
using global::MassTransit;
using global::MassTransit.ExtensionsDependencyInjectionIntegration;
using Register;
public static class RegistrationExtensions
{
public... | 1.909148 | 42ee8b46d5d823dcaf1ce6c944dc63b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830615 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Sykes368/Cryptography",
"max_stars_repo_path": "C#/CryptoWinGUI/Pages/TempPage.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149835"
} | starcoder | namespace CryptoWinGUI
{
partial class TempPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... | 1.984072 | 14d125bf365d92ef98fd5cc5895377dd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alejandrobrmp/NYTD",
"max_stars_repo_path": "NYTD.App/ViewModels/MenuItemViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149836"
} | starcoder | using MaterialDesignThemes.Wpf;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Input;
namespace NYTD.App.ViewModels
{
public class MenuItemViewModel : TreeViewItem
{
... | 1.787514 | 09a6448a012cbe4336a98601723c4a53 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeusAFK/BasicBilling",
"max_stars_repo_path": "BasicBilling.API/Data/Models/ServiceCreateDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149837"
} | starcoder | <filename>BasicBilling.API/Data/Models/ServiceCreateDto.cs
using System.ComponentModel.DataAnnotations;
using BasicBilling.Data.Abstracts;
namespace BasicBilling.Data.Models
{
public class ServiceCreateDto
{
[Required]
public string Shortname { get; set; } = default!;
[Required]
public string Name... | 2.0237 | a9805676201329c9dc34d788fe135198 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SantiagoVinicius/projeto-integrador-csharp",
"max_stars_repo_path": "ProjetoIntegrador/SistemaCliente/CadastroCliente.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149838"
} | starcoder | namespace SistemaCliente
{
partial class frmCadastroCliente
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.142168 | 7f6dd72baf1edd6f1914d54631099097 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rvegajr/rzdb-urf-app-gen",
"max_stars_repo_path": "DataAccess/Models/Generated/StockItemStockGroup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149839"
} | starcoder |
using System;
using System.Collections.Generic;
using Repository.Pattern.Ef6;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
//------------------------------------------------------------------------------
// <auto-generated>
// Th... | 2.111732 | 6cff31c374275df4b4fbace40251826b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Master109/open-brush",
"max_stars_repo_path": "Assets/New Assets/New Standard Assets/Scripts/Concepts/MonoBehaviours/Spawnables/Assets/Options (Scripts)/SpawnOrientationOption.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149840"
... | starcoder | <reponame>Master109/open-brush
using System;
using Extensions;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace EternityEngine
{
public class SpawnOrientationOption : Option
{
public new Data _Data
{
get
{
return (Data) data;
}
set
{
data = value;
... | 1.80116 | 5294a1043bb6ec46a62ba92c95ae08b4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830621 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ezpher/Data-Access-Layer-Utility",
"max_stars_repo_path": "TestDAL/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149841"
} | starcoder | <filename>TestDAL/Program.cs
using System;
using System.Configuration;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using DAL;
namespace TestDAL
{
class Program
{
static void Main(string[] args)
... | 2.847009 | 7b80145e7a15c45184312df91c5d3b15 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830622 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markodjunev/CarSystem",
"max_stars_repo_path": "CarSystem/CarSystem/Middlewares/Extensions/SeedModelExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149842"
} | starcoder | <gh_stars>1-10
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CarSystem.Middlewares.Extensions
{
public static class SeedModelExtension
{
public static IApplicationBuilder UseSeedModelsMiddleware(
... | 1.831101 | 5b490ccff87c338a01e8198281e6debc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830623 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gamenet2/GameNetCore",
"max_stars_repo_path": "src/Servers/Kestrel/Core/test/ResourceCounterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149843"
} | starcoder | <reponame>gamenet2/GameNetCore
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Threading.Tasks;
using Contoso.GameNetCore.Server.Kestrel.Core.Internal.Infrastructure;
... | 1.882784 | a66d3eaeeff418efbc69a0f7b58d1a4d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830624 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MDP66/IWantTo",
"max_stars_repo_path": "IWantTo.Responder/Actions/MarkGroupAsDeleteAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149844"
} | starcoder | <gh_stars>0
using IWantTo.Responder.Model;
using MongoDB.Driver;
using System;
using System.Threading.Tasks;
namespace IWantTo.Responder.Actions
{
public class MarkGroupAsDeleteAction : IAction
{
public async Task ExecuteAsync(Context context)
{
var chatId = context.Update.Messag... | 2.114697 | fa023c839b3f468a9975f1c4b3983f41 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830625 | {
"extension": "c-sharp",
"max_stars_count": "98.0",
"max_stars_repo_name": "twstrike/toaster",
"max_stars_repo_path": "toast/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149845"
} | starcoder | /* toast
* A console interface to the toast notification system in Windows 8.
* Options described below.
* Copyright <NAME> 2013.
*/
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows;
using System.Windows.Controls;
using ShellHelper... | 2.809841 | a577778b3b837a718343b00241470ac7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830626 | {
"extension": "c-sharp",
"max_stars_count": "353.0",
"max_stars_repo_name": "danielmorris2014/Procurement",
"max_stars_repo_path": "Procurement/Controls/ForumTemplate.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149846"
} | starcoder | <reponame>danielmorris2014/Procurement
using System.Windows.Controls;
using Procurement.ViewModel;
using System.Windows;
namespace Procurement.Controls
{
public partial class ForumTemplate : UserControl
{
public ForumTemplate()
{
InitializeComponent();
this.DataContext ... | 2.372963 | 6b631f6f90473188580470c8144210e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830627 | {
"extension": "c-sharp",
"max_stars_count": "2542.0",
"max_stars_repo_name": "vishnuk007/service-fabric",
"max_stars_repo_path": "src/prod/src/managed/FabricUS/src/system/fabric/upgradeservice/WRP/CommandParameterGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149847"
} | starcoder | <filename>src/prod/src/managed/FabricUS/src/system/fabric/upgradeservice/WRP/CommandParameterGenerator.cs
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license in... | 1.929093 | 88a5da281782a825180801a144a0c8d9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830628 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "e-rik/XRoadLib",
"max_stars_repo_path": "src/XRoadLib/Schema/BinaryMode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149848"
} | starcoder | namespace XRoadLib.Schema;
public enum BinaryMode
{
Xml,
Attachment
} | 1.26634 | 61beedc5614c2974275fb5b79ecc39b2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TonyTroeff/FluentInterpreter",
"max_stars_repo_path": "FluentInterpreter/FluentInterpreter/DatabaseConfiguration/PrimaryKeyConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149849"
} | starcoder | <reponame>TonyTroeff/FluentInterpreter
#region
using System;
using System.Linq.Expressions;
using FluentInterpreter.NamingConvention;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
#endregion
namespace FluentInterpreter.DatabaseConfiguration
{
public stati... | 2.451236 | de266c0d3382edc98681ab8c50bd52ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pirocorp/ASP.NET-Core",
"max_stars_repo_path": "06. WORKING WITH DATA/Demo/Demo/Views/Shared/_Layout.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149850"
} | starcoder | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>@ViewData["Title"] - Demo</title>
<link rel="icon" href="~/img/favicon.png">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="~/css... | 1.945126 | 4541a0f91125832065394b5a25220d32 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830631 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "h0useRus/EliteDangerousINARA",
"max_stars_repo_path": "EliteDangerousINARA/tests/EliteDangerousINARA.UnitTests/TestSystemClock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149851"
} | starcoder | <reponame>h0useRus/EliteDangerousINARA
using System;
namespace NSW.EliteDangerous.INARA
{
internal class TestSystemClock : ISystemClock
{
public DateTime Now => new DateTime(2019, 9, 2, 17, 0, 0, DateTimeKind.Utc);
}
} | 1.87434 | 5b13c1ca07cb5761afa3f28ad64ce81c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830632 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Web.Common/Controllers/PluginController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149852"
} | starcoder | using System;
using System.Collections.Concurrent;
using Microsoft.AspNetCore.Mvc;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.Composing;
using Umbraco.Cms.Core.Logging;
using Umbraco.Cms.Core.Services;
using Umbraco.Cms.Core.Web;
using Umbraco.Cms.Core.Web.Mvc;
using Umbraco.Cms.Infrastructure.Persistence;
us... | 2.003247 | c78c41ab136bb527fc4f1ad75318db7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830633 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeBackDoor/LearnCSharpUnity",
"max_stars_repo_path": "LearnCSharpUnity Project/Assets/09.Guardando datos/RedMonster.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149853"
} | starcoder | // ┌∩┐(◣_◢)┌∩┐
// \\
// RedMonster.cs (00/00/0000) \\
// Autor: <NAME> (.\Moon Antonio) <EMAIL> \\
// Descripcion: \\
// Fecha Mod: 00/00/0000 \\
// Ultima Mod: \\
//*****************************************... | 2.483507 | d13ca3018032dbb9baffc0f2ff77e74d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830634 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "vic-alexiev/TelerikAcademy",
"max_stars_repo_path": "High Quality Code/Homework Assignments/5. Correct Use of Variables and Expressions/01. GeometryUtils/Rectangle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149854"
} | starcoder | <gh_stars>1-10
// ********************************
// <copyright file="Rectangle.cs" company="Telerik Academy">
// Copyright (c) 2013 Telerik Academy. All rights reserved.
// </copyright>
//
// ********************************
namespace GeometryUtils
{
using System;
/// <summary>
/// Represents a rectangl... | 3.414891 | fe5105fab019d1e55c4b4ebbe328edac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830635 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Kassomats/TelerikAcademy",
"max_stars_repo_path": "OOPWorkShops/ThirdOOPWorkshop/Dealership/Models/Motorcycle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149855"
} | starcoder | <reponame>Kassomats/TelerikAcademy
using Bytes2you.Validation;
using Dealership.Common.Enums;
using Dealership.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dealership.Models
{
public class Motorcycle:Vehicle,IMotorcycle
... | 2.481335 | f9c0fd6eeb7da94224961df4bd7770c2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830636 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rahmanashraf/Csharp",
"max_stars_repo_path": "Scrawl-test/ProtectedTest/ProtectedTest/Protected.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149856"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProtectedTest
{
internal class Protected
{
protected void Salamver()
{
}
public void Sagolde()
{
}
internal vo... | 2.006114 | 7a885a31590c1010b03dce392976e544 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830637 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yvog/SuperPlatformer",
"max_stars_repo_path": "Super_Platformer/Code/Block/Platform.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149857"
} | starcoder | <reponame>yvog/SuperPlatformer
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Super_Platformer.Code.Core;
using Super_Platformer.Code.Core.Physics;
using Super_Platformer.Code.World;
using static Super_Platformer.Code.Core.Physics.CollisionTester;
namespace Super_Platformer.Code.Block
{
... | 2.836348 | d2c8a7a766d0ed8133be3a5f4366d87b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830638 | {
"extension": "c-sharp",
"max_stars_count": "115.0",
"max_stars_repo_name": "danroth27/blazor-net5",
"max_stars_repo_path": "Client/Data/WeatherForecastService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149858"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading;
using System.Threading.Tasks;
using BlazorNet5Samples.Shared;
namespace BlazorNet5Samples.Client.Data
{
public class WeatherForecastService : IWeat... | 2.500875 | df0830b9ba2ed1c90d5791aa44d4ce74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Pseudonyme7/QuantumGatesV2",
"max_stars_repo_path": "QuantumGate/Assets/01_Scripts/00_Manager/SceneSelectLevels.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149859"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneSelectLevels : MonoBehaviour {
// Use this for initialization
void Start () {
Screen.orientation = ScreenOrientation.LandscapeLeft;
}
}
| 1.34855 | bf00fb2e071609690f44bf36bda94988 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sashavis2013/Settler",
"max_stars_repo_path": "Settler/MVVM/Model/ContactModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149860"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Settler.MVVM.Model
{
class ContactModel
{
public string Username { get; set; }
public string ImageSource { get; set; ... | 1.883436 | 2f83f187385cce347ccca6991f4694c0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tien96ng/doctors-office",
"max_stars_repo_path": "DoctorsOffice/Models/Doctor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149861"
} | starcoder | using System.Collections.Generic;
namespace DoctorsOffice.Models
{
public class Doctor
{
public Doctor()
{
this.JoinEntities = new HashSet<DoctorPatient>();
}
public int DoctorId { get; set; }
public string Name { get; set; }
public string Speciality { get; set; }
public virtual ... | 2.202686 | 51b16199f9a69332f504743860990cdd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830642 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CrazyLlama98/Streamique",
"max_stars_repo_path": "Server/src/Server.Services/Extensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149862"
} | starcoder | using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.EntityFrameworkCore;
using Server.Data.DbContexts;
using Server.Data.Models;
using Server.Services.Interfaces;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.IdentityModel.Tokens;
using System.Tex... | 2.038132 | becc14d6ccc190232f6b1f8837457cde |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830643 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "enchev-93/Telerik-Academy",
"max_stars_repo_path": "02.C Sharp part 2/09.ExamPreparation/GreedyDwarf/GreedyDwarf.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149863"
} | starcoder | <gh_stars>0
using System;
class GreedyDwarf
{
static void Main()
{
string[] rawNumbers = Console.ReadLine().Split(new char[] { ' ', ',' }, StringSplitOptions.RemoveEmptyEntries);
long[] valleyNuber = new long[rawNumbers.Length];
for (int i = 0; i < valleyNuber.Length; i++)
{
... | 3.584689 | ddfb6d31e25f7deeafb6ba691bf311cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830644 | {
"extension": "c-sharp",
"max_stars_count": "263.0",
"max_stars_repo_name": "gordonjohnpatrick/XobotOS",
"max_stars_repo_path": "android/naked-stubs/javax/sip/header/AllowEventsHeader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149864"
} | starcoder | using Sharpen;
namespace javax.sip.header
{
[Sharpen.NakedStub]
public interface AllowEventsHeader
{
}
[Sharpen.NakedStub]
public abstract class AllowEventsHeaderClass
{
}
}
| 1.08506 | 4753da19fcae856b853626be60f6487d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830645 | {
"extension": "c-sharp",
"max_stars_count": "1113.0",
"max_stars_repo_name": "ceceomer/xwt",
"max_stars_repo_path": "Xwt.XamMac/Xwt.Mac/EmbedNativeWidgetBackend.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149865"
} | starcoder | using AppKit;
using Xwt.Backends;
namespace Xwt.Mac
{
public class EmbedNativeWidgetBackend : ViewBackend, IEmbeddedWidgetBackend
{
NSView innerView;
bool reparent;
public EmbedNativeWidgetBackend ()
{
}
public NSView EmbeddedView {
get { return innerView; }
}
public override void Initialize ... | 1.979957 | ea8c8f8232516939fe59d085ea0eab8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830646 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BoomlabsInc/BCSF",
"max_stars_repo_path": "Specialization/SoftwareDevelopment/S0/DRY/Presidente.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149866"
} | starcoder | <filename>Specialization/SoftwareDevelopment/S0/DRY/Presidente.cs
using System;
using System.Collections.Generic;
namespace DRY.Models
{
public class Presidente : Empleado, IManager {
public List<IManaged> Empleados { get; set ; }
public override void AsignarManager(Manager m){
Console... | 2.823951 | 2b14f4de6d53eecbc803ccaad017ecfb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830647 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "pleonex/LayTea",
"max_stars_repo_path": "src/LayTea/Containers/DencDecompression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149867"
} | starcoder | <reponame>pleonex/LayTea<gh_stars>1-10
// Copyright (c) 2021 SceneGate
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to u... | 2.272534 | 7558201b2fd9bce5e737fe47d238988b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "compori/dotnet-alphaplan-plugin-core",
"max_stars_repo_path": "tests/Support2100287Tests/Factories/Werkzeuge2100287Test.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149868"
} | starcoder | <filename>tests/Support2100287Tests/Factories/Werkzeuge2100287Test.cs
using DryIoc;
using Base.Werkzeuge;
using Xunit;
namespace SupportTests.Factories
{
public class Werkzeuge2100287Test
{
private IContainer Container { get; } = DataContext.Container;
[Fact()]
public void TestResolve... | 1.712984 | 54a8eeff7aa7f7fc85340773b5b2bc72 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830649 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Pyratron/Command-Parser",
"max_stars_repo_path": "DotNET/Demo/Properties/AssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149869"
} | starcoder | <gh_stars>10-100
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("Command Parser Demo")]
[assembly: AssemblyDescription("Demo application to showcase the Pyratron Command Parser Framework")]
[assembly: AssemblyCompany("Pyratron Studios")]
[assembly: AssemblyProduct("Command Par... | 1.80232 | f7a9c435ce8fe6ae71edb5be29131255 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830650 | {
"extension": "c-sharp",
"max_stars_count": "47.0",
"max_stars_repo_name": "Alazari-main/NReJSON",
"max_stars_repo_path": "NReJSON/NReJSONSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149870"
} | starcoder | namespace NReJSON
{
/// <summary>
/// This static class serves as a container for storing a JSON serializer for use by NReJSON
/// when returning typed results from the RedisJson command.
/// </summary>
public static class NReJSONSerializer
{
private static object _locker = new object();... | 2.837308 | e262726bd2747f111faf9040322e76d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavosLi0bnip/daranguizu",
"max_stars_repo_path": "Util/AIStudio.Core/DI/IScopeDependency.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149871"
} | starcoder | <gh_stars>0
namespace AIStudio.Core
{
/// <summary>
/// 注入标记,生命周期为Scope
/// </summary>
public interface IScopedDependency
{
}
}
| 1.361898 | 29eee4c621af575e7cd8cdb1d61671b6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HiveTyrant/Codewars-projects",
"max_stars_repo_path": "CodeWarsCollection/CodeWarsCollection/MorseCodeDecoder/MorseCodeDecoderTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149872"
} | starcoder | <reponame>HiveTyrant/Codewars-projects
using System;
using NUnit.Framework;
using NUnit.Framework;
namespace CodeWarsCollection.MorseCodeDecoder
{
[TestFixture]
public class MorseCodeDecoderTests
{
[Test]
public void MorseCodeDecoderBasicTest_1()
{
try
{
... | 2.684474 | 9740d479f6e678a15f95962b5a596538 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830653 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wdfeer/wfMod",
"max_stars_repo_path": "Items/Weapons/VectisPrime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149873"
} | starcoder | using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using System;
using Microsoft.Xna.Framework;
namespace wfMod.Items.Weapons
{
public class VectisPrime : wfWeapon
{
public override void SetStaticDefaults()
{
Tooltip.SetDefault("Shoots a high-velocity bullet that penetrate... | 2.066519 | 1f52c889afa672c9a9ca306223375c07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830654 | {
"extension": "c-sharp",
"max_stars_count": "34.0",
"max_stars_repo_name": "nesrak1/xenko",
"max_stars_repo_path": "sources/engine/Xenko.Engine/Engine/RequireComponentAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149874"
} | starcoder | <filename>sources/engine/Xenko.Engine/Engine/RequireComponentAttribute.cs
// Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
namespace X... | 2.486 | 3a87cc97d6526cec77ca5eef00424f19 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830655 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stone1234765/-SimpleFlashcards",
"max_stars_repo_path": "SimpleFlashcards/SimpleFlashcards/Areas/Identity/Pages/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149875"
} | starcoder | @using Microsoft.AspNetCore.Identity
@using SimpleFlashcards.Areas.Identity
@using SimpleFlashcards.Areas.Identity.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@using SimpleFlashcards.Entities
| 1.57714 | d06fd061517a1742e3c4b4cdfb1a0310 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830656 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mantra002/chess-2",
"max_stars_repo_path": "chess-app/Game/Move.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149876"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chess.Game
{
using static Enums;
public class Move : IComparable<Move>
{
public byte Piece;
public int PieceListIndex;
public byte PieceCaptured;
pu... | 2.695736 | e1a3d17a509a1da53e3ccfdab7d8c0da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830657 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Goth88/BunnyRunTut",
"max_stars_repo_path": "Assets/Hallway1/DialogManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149877"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class DialogManager : MonoBehaviour
{
private Queue<string> sentences;
private Queue<string> sentencesRed;
public Text dialogText;
public Text dialogRed;
// public Animator animator;
//... | 2.523038 | 8a55e52e64c60127368b271641a31716 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dubiousconst282/DistIL",
"max_stars_repo_path": "src/DistIL/AsmIO/Types/ArrayType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149878"
} | starcoder | <reponame>dubiousconst282/DistIL
namespace DistIL.AsmIO;
using System.Reflection;
/// <summary> Represents a single dimensional array type. </summary>
public class ArrayType : CompoundType
{
public override TypeKind Kind => TypeKind.Array;
public override StackType StackType => StackType.Object;
public ov... | 2.493855 | 32da3ae6367cbc05c0cb8dc5e8b17469 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830659 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mohamedissamdinayadi/unityJob",
"max_stars_repo_path": "unity/CymaticLabs.UnityAmqp/Assets/CymaticLabs/Amqp/Scenes/pausedJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149879"
} | starcoder | <filename>unity/CymaticLabs.UnityAmqp/Assets/CymaticLabs/Amqp/Scenes/pausedJob.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class pausedJob : MonoBehaviour {
public void pauseJob()
{
StartCoroutine(GetTexte());
... | 1.925271 | 9325d0c546eebcb86ad6a7f219009885 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830660 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "shuangrain/LexLibrary.Rbac",
"max_stars_repo_path": "src/LexLibrary.Rbac/Abstractions/ICryptHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149880"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace LexLibrary.Rbac.Abstractions
{
public interface ICryptHelper
{
string Encrypt(string text);
string Decrypt(string text);
string HashPassword(string text);
bool ValidatePassword(string password, stri... | 2.204773 | 5e632ad8fe5051d6044215357e285ce0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830661 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "modern-forms/Modern.WindowKit.Backend.Mac",
"max_stars_repo_path": "src/tools/MicroComPatcher/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149881"
} | starcoder | using Mono.Cecil;
namespace ModernComPatcher
{
public class Program
{
public static int Main (string[] args)
{
if (args.Length == 0) {
Console.WriteLine ("Assembly to patch not specified.");
return 1;
}
if (!File.Exists (args... | 2.717933 | 69e99dd6677964b0f4f5390b9ba9df61 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "duc01226/NoCeiling-Duc-Interview-Testing",
"max_stars_repo_path": "src/Platform/AngularDotnetPlatform.Platform/Domain/Exceptions/DomainValidationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149882"
} | starcoder | <reponame>duc01226/NoCeiling-Duc-Interview-Testing<filename>src/Platform/AngularDotnetPlatform.Platform/Domain/Exceptions/DomainValidationException.cs
using AngularDotnetPlatform.Platform.Common.Validators;
using AngularDotnetPlatform.Platform.Common.Validators.Exceptions;
using FluentValidation.Results;
namespace Ang... | 1.617475 | 4d3004da53d6af07d9616fcdc52acd51 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaneReilly/Artesian.SDK",
"max_stars_repo_path": "Artesian/Artesian.SDK/Dto/Acl/AuthorizationPath.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149883"
} | starcoder | <reponame>JaneReilly/Artesian.SDK
using MessagePack;
using System.Collections.Generic;
namespace Artesian.SDK.Dto
{
/// <summary>
/// The Authorization Path entity
/// </summary>
public static class AuthorizationPath
{
/// <summary>
/// The Authorization Path entity Input
/... | 2.073825 | 8c63931e6306a380e1b752346a377474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830664 | {
"extension": "c-sharp",
"max_stars_count": "114.0",
"max_stars_repo_name": "microsoft/durabletask-netherite",
"max_stars_repo_path": "test/PerformanceTests/Benchmarks/ProducerConsumer/Parameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149884"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace PerformanceTests.ProducerConsumer
{
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
using Newtonsoft.Json;
/// <summary>
/// A para... | 2.26891 | f202ac99911ba28873973d5028a477ae |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830665 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rex-core/ProxyLake",
"max_stars_repo_path": "ProxyLake.Http/IHttpProxyDefinitionFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149885"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace ProxyLake.Http
{
/// <summary>
/// Component to provide proxy definitions.
/// </summary>
public interface IHttpProxyDefinitionFactory
{
/// <summary>
/// Creates a set of ... | 2.000125 | 0d49452659571906ead64137fd21be4a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daiccordeiro/Estudos-csharp",
"max_stars_repo_path": "ByteBank3/ByteBank3/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149886"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ByteBank3
{
class Program
{
static void Main(string[] args)
{
CarregarContas();
Console.WriteLine("Execução finali... | 2.865099 | d030d0fbf1c320f9708a911857bc07b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830667 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mrxten/XamStarterKit",
"max_stars_repo_path": "src/XamStarterKit/Helpers/BasicConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149887"
} | starcoder | using System;
using System.Globalization;
using Xamarin.Forms;
namespace XamStarterKit.Helpers {
public delegate To ConvertMethod<From, To>(From value, Type targetType, object parameter, CultureInfo culture);
public delegate To SimpleConvertMethod<From, To>(From value, object parameter);
public class Bas... | 2.835257 | b4522264c3ae0f9f7860ed2920348163 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anton-abyzov/Hackerrank.CrackingTheInterview",
"max_stars_repo_path": "BalancedBrackets/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149888"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace HackerRank.CrackingTheInterview
{
class Program
{
static void Main(string[] args)
{
int t = Convert.ToInt32(Console.ReadLine());
for (int a0 = 0; a0 < t; a0++)
{
... | 3.507853 | d1ddc50ac1338dfd6d36e8722518727a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830669 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kulmugdha/Entropy",
"max_stars_repo_path": "samples/Config.CustomSource.Web/Startup.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149889"
} | starcoder | <reponame>kulmugdha/Entropy
using System.Threading.Tasks;
using Config.CustomSource.Web;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Http;
using Microsoft.Framework.ConfigurationModel;
public class Startup
{
public void Configure(IBuilder app)
{
var config = new Configuration
{
... | 2.121152 | b044dcf125953087ea498787a793d2db |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pncsoares/dotnet-design-patterns",
"max_stars_repo_path": "DisposePattern/DisposePattern.WithPattern/ServiceProxy.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149890"
} | starcoder | using System.ComponentModel;
namespace DisposePattern.WithPattern;
// A base class that implements IDisposable.
// By implementing IDisposable, you are announcing that
// instances of this type allocate scarce resources.
public class ServiceProxy : IDisposable
{
private readonly HttpClient _httpClient;
/... | 3.103061 | eda0f9c2ed203d296b9d65d000bbf623 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830671 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ASlugin/Homework-2sem",
"max_stars_repo_path": "Homework6/Game/Game.Tests/GameTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149891"
} | starcoder | namespace Game.Tests;
using NUnit.Framework;
using System;
using System.IO;
public class GameTest
{
private Game? game;
[SetUp]
public void CreateNewGame()
{
game = new Game("../../../../Game.Tests/MapTest.txt");
}
[Test]
public void PositionAfterLeftAndRightMovementsShallRemainS... | 2.647606 | 8794444e94263dd283d2878ba62dcb76 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830672 | {
"extension": "c-sharp",
"max_stars_count": "61.0",
"max_stars_repo_name": "mikebridge/Liquid.NET",
"max_stars_repo_path": "Liquid.NET.Tests/Filters/Strings/TruncateFilterTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149892"
} | starcoder | <gh_stars>10-100
using System;
using Xunit;
namespace Liquid.NET.Tests.Filters.Strings
{
public class TruncateFilterTests
{
[Theory]
[InlineData("The cat came back the very next day", 10, "The cat...")]
[InlineData("", 10, "")]
[InlineData("abc", 0, "")]
... | 2.941927 | 8dd95236ec1a912bbba35451aeb91826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830673 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "supernebula/evol-core",
"max_stars_repo_path": "sample/Sample.Domain/SampleDomainModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149893"
} | starcoder | <reponame>supernebula/evol-core
using System.Reflection;
using Evol.Domain.Ioc;
using Evol.Configuration.Modules;
using Evol.Domain.Dto;
using Evol.Configuration.IoC;
using Evol.Configuration;
namespace Sample.Domain
{
public class SampleDomainModule : AppModule
{
private readonly IConventionalDepende... | 1.546724 | 08d46981e01984186ff0cf41cf42e227 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830674 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "dev0x41/SilverBullet",
"max_stars_repo_path": "OpenBullet/Views/StackerBlocks/PageBlockRequest.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149894"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media.Animation;
using RuriLib;
using RuriLib.Functions.Requests;
namespace OpenBullet.Views.StackerBlocks
{
/// <summary>
/// Logica di interazione per PageBlockRequest.xaml
/... | 2.026134 | 164ca2deef28fa98663e39d384801720 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830675 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mterwoord/avalonia-automation",
"max_stars_repo_path": "Sources/FlaUITest/Patterns/PatternIds.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149895"
} | starcoder | <filename>Sources/FlaUITest/Patterns/PatternIds.cs
namespace FlaUITest.Patterns
{
public static class PatternIds
{
public const int InvokeId = 10000 + 1;
}
} | 1.334752 | 1ceb52d39421ce85a6c914d84de09332 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830676 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ThomasTebbe93/.Net-6-Authentication-API-with-react-ui",
"max_stars_repo_path": "API/BLL/Base/HttpResponseException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149896"
} | starcoder | <reponame>ThomasTebbe93/.Net-6-Authentication-API-with-react-ui<gh_stars>0
using System;
namespace API.BLL.Base
{
public class HttpResponseException : Exception
{
public int StatusCode { get; set; }
public HttpResponseException(int statusCode)
{
StatusCode = statusCode;
... | 1.922152 | 744fe70d22880f3d1fa34493aaba277c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830677 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "nodoid/PointOfSale",
"max_stars_repo_path": "C-Sharp/MyNamespaceSupportForCSharp.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149897"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows.Forms;
using Microsoft.VisualBasic.ApplicationServices;
using Microsoft.VisualBasic.CompilerServices;
using Microsoft.VisualBasic.Devices;
// This file was created by the VB to C# converter (SharpDevelop 4.4.0.9722).... | 2.090926 | 7e7bb650638cc2f84bfc7910c966d066 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830678 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "fujieda/KancolleSniffer",
"max_stars_repo_path": "KancolleSniffer/Model/ConditionTimer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149898"
} | starcoder | <reponame>fujieda/KancolleSniffer
// Copyright (C) 2013, 2014, 2015 <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/LICENS... | 2.081381 | babdfb19ad3592289d83a19c68d12e8b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830679 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Aberro/SRStatEditor",
"max_stars_repo_path": "Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149899"
} | starcoder | <gh_stars>0
#nullable enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CommandLine;
namespace SRStatEditor
{
static class Program
{
// Used to determine whether averaging or summ should be used for merging en... | 1.853062 | 7cdcafc3079a03a977a590b5d902f826 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sguzunov/Data-Structures",
"max_stars_repo_path": "Data Structures/MyCollections.UnitTests/QueueTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149900"
} | starcoder | <filename>Data Structures/MyCollections.UnitTests/QueueTests.cs
namespace MyCollections.UnitTests
{
using NUnit.Framework;
using MyQueue = MyCollections.Queue<int>;
[TestFixture]
public class QueueTests
{
[TestCase(1)]
[TestCase(5)]
[TestCase(10)]
[TestCase(1000)]
... | 3.195095 | 350199cb1481c2c87085d7a95b1a489f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830681 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flubl/Flub.TelegramBot",
"max_stars_repo_path": "Tests/Flub.TelegramBot.Tests/Services/TelegramBotTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149901"
} | starcoder | <filename>Tests/Flub.TelegramBot.Tests/Services/TelegramBotTests.cs
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using... | 2.233448 | f1aae20c62a08cb90afb658d5cbc7906 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830682 | {
"extension": "c-sharp",
"max_stars_count": "27.0",
"max_stars_repo_name": "outerminds/Entia",
"max_stars_repo_path": "Entia/Entity/Extensions/EntityExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149902"
} | starcoder | <filename>Entia/Entity/Extensions/EntityExtensions.cs
using System;
namespace Entia.Modules
{
public static class EntityExtensions
{
public static string Name(this Entity entity, World world) =>
world.TryGet<Modules.Components>(out var components) &&
components.TryGet<Entia.Comp... | 2.524752 | c90c5d68a60945874313f05d0064a8b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830683 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Slaktus/Tetra",
"max_stars_repo_path": "Tetra/Game.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149903"
} | starcoder | using System.Collections.Generic;
using Tetra.EntityManagement;
using Tetra.UIManagement;
using Tetra.Caching;
using System;
namespace Tetra
{
public abstract class Game
{
public abstract void Restart();
public abstract void Replay();
public abstract void Start();
public abstra... | 2.761034 | 955b034ff9fb3f2913eb70d7908dbbdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830684 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "AccelerateX-org/NINE",
"max_stars_repo_path": "Sources/TimeTable/MyStik.TimeTable.Web/Views/OfficeHour/DeleteOfficeHour.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:149904"
} | starcoder | <filename>Sources/TimeTable/MyStik.TimeTable.Web/Views/OfficeHour/DeleteOfficeHour.cshtml
@model MyStik.TimeTable.Web.Models.OfficeHourCreateModel
@{
ViewBag.Title = "Sprechstunde löschen";
}
@section styles
{
@Styles.Render("~/Content/themes/base/css")
}
<h4>Alle Sprechstundentermine löschen</h4>
<div clas... | 2.224558 | eecea2e5fe519535dee5e00cbdf10f07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830685 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xEvilCorp/We.Share",
"max_stars_repo_path": "Data/CanalUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149905"
} | starcoder | using System;
using System.Collections.Generic;
namespace WeShare.Web.Data
{
public partial class CanalUser
{
public int Id { get; set; }
public int? Canal { get; set; }
public string User { get; set; }
public int? Acesso { get; set; }
public AcessoCanalUser AcessoNavi... | 1.388181 | 98786c61803e62624bf2346f7a4a3bb0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "soybackend/decretos-mintic-dotnet",
"max_stars_repo_path": "DecretosMintic/WebApp/Controllers/SolicitudProductosController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149906"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
using WebApp.Models;
using WebApp.Utils;
namespace WebA... | 1.978499 | f8bbef07caa7902b151cdf212233e417 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830687 | {
"extension": "c-sharp",
"max_stars_count": "2066.0",
"max_stars_repo_name": "JosephTico/UtinyRipper",
"max_stars_repo_path": "uTinyRipperCore/Parser/Classes/Shader/SerializedShader/SerializedShaderFloatValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149907"
} | starcoder | namespace uTinyRipper.Classes.Shaders
{
public struct SerializedShaderFloatValue : IAssetReadable
{
public void Read(AssetReader reader)
{
Val = reader.ReadSingle();
Name = reader.ReadString();
}
public bool IsZero => Val == 0.0f;
public bool IsMax => Val == 255.0f;
public float Val { get; set; }... | 2.646016 | da9d3ef99295a22184f4f3af562ee672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830688 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DouglasDwyer/WGPU.NET",
"max_stars_repo_path": "WGPU.NET/WebGPU.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149908"
} | starcoder | <filename>WGPU.NET/WebGPU.cs
//------------------------------------------------------------------------------
// <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>
//-------------... | 2.062394 | 9ccdf29bf18b0a62b524b0035b0367c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830689 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bnoffer/streamcmdproxy",
"max_stars_repo_path": "streamcmdproxy2/Data/Models/Config.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149909"
} | starcoder | <gh_stars>0
using System;
using Newtonsoft.Json;
namespace streamcmdproxy2.Data.Models
{
public class Config : BaseModel
{
[JsonProperty(PropertyName = "enableYoutube")]
public bool EnableYoutube { get; set; }
[JsonProperty(PropertyName = "enableDiscord")]
public bool EnableDiscord { get; set; }
[JsonPr... | 1.274614 | acd2dc702725c4d5f7718f3bd570a9e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830690 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeFuller/music-library-api",
"max_stars_repo_path": "src/MusicLibraryApi.Abstractions/Interfaces/ISongsRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149910"
} | starcoder | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MusicLibraryApi.Abstractions.Models;
namespace MusicLibraryApi.Abstractions.Interfaces
{
public interface ISongsRepository
{
Task AddSong(Song song, CancellationToken cancellationToken);
Task<IReadOnlyColle... | 2.205995 | 69f1ab735b55b20c9f7e43756af41239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830691 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leeyahui/HttpReportsWeb",
"max_stars_repo_path": "HttpReports.Web.NetFrame/Models/EchartPineDataModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149911"
} | starcoder | namespace HttpReports.Web.Models
{
public class EchartPineDataModel
{
public string name { get; set; }
public int value { get; set; }
}
}
| 1.741104 | 8d22e458feba3ef8f0c1846ca590f474 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830692 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "contributor51/openHistorian",
"max_stars_repo_path": "Source/Tools/Historian2Demo/Form1.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149912"
} | starcoder | namespace Historian2Demo
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <par... | 1.908996 | bb207466bfca18eb4f5ba5b2ec20caff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830693 | {
"extension": "c-sharp",
"max_stars_count": "24.0",
"max_stars_repo_name": "zephyo/Wholesome-Cats",
"max_stars_repo_path": "Scripts/Deck.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149913"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using System;
using UnityEngine.Events;
using System.Linq;
public class Deck : MonoBehaviour
{
private uint EightSlotsPrice;
[Header("Prefabs")]
public GameObject deckCardPrefab;
private ... | 2.142301 | 987653d46daf02a61b2e6eff8b55e5b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830694 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Myrmecoman/PetProjectRepo",
"max_stars_repo_path": "PetProject/Assets/Scripts/Mecanics/Locker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149914"
} | starcoder | using UnityEngine;
public class Locker : MonoBehaviour
{
public Transform Axis;
public AudioSource source;
[HideInInspector] public bool Opened = false;
private Vector3 targetRot;
private Vector3 initRot;
private bool Played = false;
void Start()
{
targetRot = new Vector3(... | 2.317342 | ae91033aa5d6ebe2601d3cd90e398974 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830695 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "quarlwithcode/GMAP260-digitalGame",
"max_stars_repo_path": "GMAP260-DigitalGame/Assets/Scripts/General/UI/StanzaControls/StanzaLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149915"
} | starcoder | using UnityEngine;
using System.Collections;
public class StanzaLoader : MonoBehaviour {
public float delayTime = 5;
public bool done = false;
private float timer;
// Use this for initialization
void Start () {
timer = delayTime;
//StartCoroutine("SomeFunction");
}
// Update is called once per fr... | 1.860386 | c9a5456c137b05c107df6d4eb9c8e0b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830696 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "kibotu/NeuralNetworkEvolution",
"max_stars_repo_path": "Assets/Scripts/Utils/PrefabsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149916"
} | starcoder | using UnityEngine;
namespace Assets.Scripts.Utils
{
public static class PrefabsExtensions
{
public static GameObject Instantiate(this GameObject go)
{
return Prefabs.CreateGameObject(go);
}
}
} | 2.003767 | c8d033c46738ae6fed4a7a50dad06e60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830697 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "nano-byte/common",
"max_stars_repo_path": "src/Common.WinForms/Drawing/_Namespace.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149917"
} | starcoder | //! \namespace NanoByte.Common.Drawing
//! \brief Helpers for manipulating images
| 1.269082 | 5c44f896cfad78ae730aa5e0cae22bcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830698 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "deviserplatform/deviserplatform",
"max_stars_repo_path": "src/Deviser.Core/Deviser.Core.Data/Repositories/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149918"
} | starcoder | <filename>src/Deviser.Core/Deviser.Core.Data/Repositories/IUserRepository.cs
using System;
using System.Collections.Generic;
using Deviser.Core.Common.DomainTypes;
namespace Deviser.Core.Data.Repositories
{
public interface IUserRepository
{
List<User> GetUsers();
User GetUser(Guid userId);
... | 1.918678 | bfc3df6dd8d2d1769f51fff144f99d0a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830699 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "vjacquet/WmcSoft",
"max_stars_repo_path": "WmcSoft.Components.Tests/ComponentModel/EventBarrierTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149919"
} | starcoder | <gh_stars>1-10
using System;
using System.ComponentModel;
using Xunit;
namespace WmcSoft.ComponentModel
{
public class EventBarrierTests
{
[Fact]
public void CanPreventEvent()
{
var bench = new EventBarrierBench();
var a = new Listener();
var b = new... | 2.657331 | 2c1d68fe2cfe0efec4400e2484b05972 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830700 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Michael-LY/AC_SERVER_APPS",
"max_stars_repo_path": "AC_Service/ACService.svc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149920"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Web;
using System.Text;
using AC_DBFillerEF;
using AC_SessionReport;
namespace AC_Service
{
public class ACSe... | 1.820125 | 07f960bfcce284e8c2eeb521eb3b90da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830701 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lucas1619/TPC-BACKEND",
"max_stars_repo_path": "TPC-UPC/Domain/Persistence/Repositories/INotificationRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149921"
} | starcoder | <reponame>lucas1619/TPC-BACKEND
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TPC_UPC.Domain.Models;
namespace TPC_UPC.Domain.Persistence.Repositories
{
public interface INotificationRepository
{
Task<IEnumerable<Notification>> ListAsync();
... | 1.94565 | 84615eef6da104dc042c27ea2bb39c63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830702 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TSalaam/ServiceMonitor.NetCore",
"max_stars_repo_path": "Source/Backend/ServiceMonitor/ServiceMonitor.Core/Business/Contracts/IDashboardService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149922"
} | starcoder | <reponame>TSalaam/ServiceMonitor.NetCore<filename>Source/Backend/ServiceMonitor/ServiceMonitor.Core/Business/Contracts/IDashboardService.cs
using System;
using System.Threading.Tasks;
using ServiceMonitor.Core.Business.Responses.Contracts;
using ServiceMonitor.Core.Domain.DataContracts;
namespace ServiceMonitor.Core.... | 1.514656 | f1951bcddd026a8ab3719042eeca7b91 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830703 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Rene-Sackers/OpenHardwareMonitorRemote",
"max_stars_repo_path": "OpenHardwareMonitorRemote.UWP/ViewModels/ViewModelLocator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149923"
} | starcoder | using Windows.UI.Notifications;
using GalaSoft.MvvmLight.Ioc;
using GalaSoft.MvvmLight.Views;
using Microsoft.Practices.ServiceLocation;
using OpenHardwareMonitorRemote.UWP.Helpers.Extensions;
using OpenHardwareMonitorRemote.UWP.Services;
using OpenHardwareMonitorRemote.UWP.Services.Interfaces;
using OpenHardwareMonit... | 1.687509 | 8e4d2ca26a2d8ffba67ebf2ca0e627f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830704 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SkillsFundingAgency/DC-ILR-2021-ValidationService",
"max_stars_repo_path": "src/ESFA.DC.ILR.ValidationService.Rules/LearningDelivery/AchDate/AchDate_09Rule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149924"
} | starcoder | using System;
using System.Collections.Generic;
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Abstract;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
namespace ESFA.DC.ILR.ValidationService.Rules.LearningDelivery.AchDate
{
public... | 2.032603 | b2ad40d20904e62d257bfdb757bd6759 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kapsiR/org-policies",
"max_stars_repo_path": "src/Microsoft.DotnetOrg.GitHubCaching/CachedAccessReason.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149925"
} | starcoder | namespace Microsoft.DotnetOrg.GitHubCaching
{
public struct CachedAccessReason
{
public static CachedAccessReason FromOwner => new CachedAccessReason(isOwner: true, isCollaborator: false, null);
public static CachedAccessReason FromCollaborator => new CachedAccessReason(isOwner: false, isCollab... | 2.880477 | 5865aa728837cf18b42460ff35f4e625 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830706 | {
"extension": "c-sharp",
"max_stars_count": "30.0",
"max_stars_repo_name": "Talberon/solstandard",
"max_stars_repo_path": "SolStandard/Entity/Unit/Actions/Marauder/CmdBerserk.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149926"
} | starcoder | <filename>SolStandard/Entity/Unit/Actions/Marauder/CmdBerserk.cs
using System;
using SolStandard.Containers.Components.Global;
using SolStandard.Containers.Scenario;
using SolStandard.HUD.Window.Content;
using SolStandard.Map.Elements;
using SolStandard.Map.Elements.Cursor;
using SolStandard.Utility;
using SolStandard.... | 2.31283 | 7e708a368d00c3bb5ef84a2f56d36ea4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830707 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "SlavekRydval/GoatJira",
"max_stars_repo_path": "GoatJira/GoatJira/Design/DesignPackageConnectionSettingsModelService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149927"
} | starcoder |
namespace GoatJira.Design
{
using GoatJira.Model.PackageConnectionSettings;
class DesignPackageConnectionSettingsModelService : IPackageConnectionSettingsModelService
{
public PackageConnectionSettingsModel Read()
{
return new PackageConnectionSettingsModel()
{
... | 2.125576 | dfd03b1ec9beae490292e06fc5e2abe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830708 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "techbuzzz/Aspose.Pdf-for-.NET",
"max_stars_repo_path": "Examples/CSharp/AsposePDF/DocumentConversion/PDFToPPT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149928"
} | starcoder | using System;
using System.IO;
using Aspose.Pdf;
namespace Aspose.Pdf.Examples.CSharp.AsposePDF.DocumentConversion
{
public class PDFToPPT
{
public static void Run()
{
// ExStart:PDFToPPT
// The path to the documents directory.
string dataDir = RunExamples.Ge... | 2.597914 | 9de1a05e5a4ad6cc3d5cd8a4effab841 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830709 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "turnyanszki/Scaffolding",
"max_stars_repo_path": "src/MsIdentityScaffolding/Microsoft.DotNet.MsIdentity/CodeReaderWriter/ProjectAuthenticationSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149929"
} | starcoder | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.DotNet.MsIdentity.AuthenticationParameters;
using Microsoft.DotNet.MsIdentity.Project;
using System.Collections.Generic;
namespace Microsoft.DotNet.MsIdentity.CodeReaderWriter
{
public class ProjectAut... | 1.400673 | fa8c20cb3322f01a70b2a3fac279a10d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830710 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moljac/mobileapp",
"max_stars_repo_path": "Toggl.Networking/Sync/Push/IEntityActionResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149930"
} | starcoder | namespace Toggl.Networking.Sync.Push
{
public interface IEntityActionResult<out T>
{
long Id { get; }
IActionResult<T> Result { get; }
}
}
| 1.438077 | 390570a7a46fb3c7aa90ee211ff9a4a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8830711 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "RokitSalad/Helpful.CircuitBreaker",
"max_stars_repo_path": "Helpful.CircuitBreaker/CircuitBreaker.cs",
"provenance": "train-00027-of-00045.jsonl.gz:149931"
} | starcoder | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Helpful.CircuitBreaker.Config;
using Helpful.CircuitBreaker.Events;
using Helpful.CircuitBreaker.Exceptions;
namespace Helpful.CircuitBreaker
{
/// <summary>
/// </summary>
public class CircuitBreaker ... | 2.796485 | eebb1c0b2f11d2f2415986c8cb7068a3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.