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 | 8843612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mehrdadab/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Core/Models/ITwoFactorLogin.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162832"
} | starcoder | <reponame>mehrdadab/Umbraco-CMS
using System;
using Umbraco.Cms.Core.Models.Entities;
namespace Umbraco.Cms.Core.Models
{
public interface ITwoFactorLogin: IEntity, IRememberBeingDirty
{
string ProviderName { get; }
string Secret { get; }
Guid UserOrMemberKey { get; }
}
}
| 1.09643 | b818793b76566e823533032809cc74f3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NafisaMaliyat-iut/SWE-4202-Summer-2021",
"max_stars_repo_path": "Pharmacy Management (Even Lab)/Form1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162833"
} | starcoder | <filename>Pharmacy Management (Even Lab)/Form1.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Pharmacy_Management__Even_Lab_
{
public ... | 3.180884 | c8ef4310537e171a3b77e6f6a51ef460 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843614 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "xoxobby/LoE-Realm-NC-2",
"max_stars_repo_path": "server/gameserver/realm/entity/gameobject/GameObject.CodeAssist.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162834"
} | starcoder | <filename>server/gameserver/realm/entity/gameobject/GameObject.CodeAssist.cs
#region
using LoESoft.GameServer.realm.terrain;
using System;
using System.Xml.Linq;
#endregion
namespace LoESoft.GameServer.realm.entity
{
partial class GameObject
{
public static bool GetStatic(XElement elem)
{
... | 2.377644 | 04e051fdab99be7a768ef4befcccddd0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "06012021-dotnet-uta/BrianCorbettP0",
"max_stars_repo_path": "P0Project/BusinessLayer/CustomerCart.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162835"
} | starcoder | using System.Collections.Generic;
namespace BusinessLayer
{
/// <summary>
/// Stores information about all the items the logged-in customer wishes to purchase
/// </summary>
public class CustomerCart
{
private List<List<int>> inCartItems;
/// <summary>
/// Stores information about the items in t... | 3.542128 | 27af9dbad245d07cc0e8dd34d57d59ff |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MarkXuan/Vatek-DailyMeeting",
"max_stars_repo_path": "aspnet-core/src/DailyMeeting.Core/Uitls/CommonUtils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162836"
} | starcoder | <reponame>MarkXuan/Vatek-DailyMeeting<filename>aspnet-core/src/DailyMeeting.Core/Uitls/CommonUtils.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace DailyMeeting.Uitls
{
public class CommonUtils
{
public static string GenerateRandomPassword(byte length)
... | 3.289993 | 81fabae24d8d7aeed1af669ebd782920 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843617 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "HydrologicEngineeringCenter/HEC-FDA",
"max_stars_repo_path": "ViewModel/ExtentionMethods.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162837"
} | starcoder | using Functions;
using Functions.Ordinates;
using Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace ViewModel
{
public static class ExtentionMethods
{
/// <su... | 2.601205 | bfb6af22168908fecd174b933b34328e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vinitecnico/myTestAngular",
"max_stars_repo_path": "Controllers/FileDataController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162838"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using mvcUploadFile.Models;
using Microsoft.AspNetCore.Mvc;
namespace myTestAngular.Controllers {
[Route ("api/[controller]")]
public class FileDataController : Controller {
[HttpPost ("[a... | 2.574076 | c59ca8f57fd1bbdadb78374d181068d3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843619 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "teian/BusLane",
"max_stars_repo_path": "src/BusLane/Exceptions/MessagingException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162839"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace BusLane.Exceptions
{
/// <summary>
/// Indicates that an exception occurred while attempting to communicate with the message broker.
/// </summary>
public class MessagingException : Exception
{
/// <summary>
/// Initialize... | 3.041413 | 7956d0c013667462f8e9d58270c2902a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843620 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sysdig-Hackathon-Picasso/pulumi-sysdig",
"max_stars_repo_path": "sdk/dotnet/GetCurrentUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162840"
} | starcoder | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... | 1.938263 | 63709aaf4816b675b341c1c0065a2b06 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843621 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "DaemonUmbra/NHTI-Capstone",
"max_stars_repo_path": "Assets/Scripts/BrodeyNetworking/MainMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162841"
} | starcoder | <filename>Assets/Scripts/BrodeyNetworking/MainMenu.cs
using UnityEngine;
using UnityEngine.UI;
namespace PUNTutorial
{
public class MainMenu : Photon.PunBehaviour
{
private static MainMenu instance;
private GameObject ui;
private Button joinGameButton;
// This function is cal... | 2.403866 | 4f71a829428f26daac826de301b48a9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "solarcloud7/Dubot",
"max_stars_repo_path": "Dubot.Data/Models/GuildMember.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162842"
} | starcoder | // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
#nullable disable
namespace Dubot.Data.... | 1.991557 | f05ae60d95ae28a352236cfab6ba72ee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843623 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wofead/GameChallengeTap",
"max_stars_repo_path": "Rainbow/Assets/Scripts/Common/Manager/FightManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162843"
} | starcoder | using Assets.Scripts.Module.Fight;
using Box2DSharp;
using Box2DSharp.Inspection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
namespace Assets.Scripts.Common
{
public class FightManager
{
private App app;
... | 1.663619 | 8718f5f6cfe9cca2957c1839a70f265a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843624 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "SmallChi/JT905",
"max_stars_repo_path": "src/JT905.Protocol/Internal/JT905_0x0200_Custom_Factory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162844"
} | starcoder | <reponame>SmallChi/JT905
using JT905.Protocol.Interfaces;
using JT905.Protocol.MessageBody;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace JT905.Protocol.Internal
{
class JT905_0x0200_Custom_Factory : IJT905_0x0200_Custom_Factory
{
... | 1.986695 | 2074c580afecae4ebca6e568789a4304 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843625 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LykkeCity/TelegramBot",
"max_stars_repo_path": "Lykke.TelegramBotJob/Functions/UpdatesReader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162845"
} | starcoder | <reponame>LykkeCity/TelegramBot
using System;
using System.Linq;
using System.Threading.Tasks;
using Core.Messages;
using Core.Telegram;
using LkeServices.Messages.UpdatesHandler.Commands;
using Lykke.JobTriggers.Triggers.Attributes;
using Telegram.Bot;
using Telegram.Bot.Types.Enums;
namespace Lykke.TelegramBotJob.F... | 2.092842 | e0de81c3a54b61d3c8ce781b9a08b343 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843626 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DimchoLakov/Architecture-Of-ASP-NET-Core-Microservices-Apps",
"max_stars_repo_path": "MyOnlineShop/MyOnlineShop.Identity/Services/Identity/ITokenGeneratorService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162846"
} | starcoder | using MyOnlineShop.Identity.Data.Models;
using System.Collections.Generic;
namespace MyOnlineShop.Identity.Services.Identity
{
public interface ITokenGeneratorService
{
public string GenerateToken(User user, IEnumerable<string> roles = null);
}
}
| 1.597167 | 9a4470c74cd3d73b37a43c28fd32dc8f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843627 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Karl255/YetAnotherTetrisClone",
"max_stars_repo_path": "YetAnotherTetrisClone/GameState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162847"
} | starcoder | <reponame>Karl255/YetAnotherTetrisClone
namespace YetAnotherTetrisClone
{
public enum GameState
{
StartScreen, // draws background and title text
Playing, // draws playfield, falling piece, score...
Paused, // same as playing, but also draws the paused text
Won, // same as playing, but also draws the won ... | 2.07254 | a8645db709f91fe225ae1f1855f895d0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843628 | {
"extension": "c-sharp",
"max_stars_count": "1182.0",
"max_stars_repo_name": "Unroll-Me/DotNetOpenAuth",
"max_stars_repo_path": "src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/Messages/AccessTokenAuthorizationCodeRequestAS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162848"
} | starcoder | <reponame>Unroll-Me/DotNetOpenAuth
//-----------------------------------------------------------------------
// <copyright file="AccessTokenAuthorizationCodeRequestAS.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
//--------------------------------------------------------------... | 2.331008 | acde5c4b3fa5b56cb35ebf7c65631ffb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843629 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "philippdolder/AsposeVisualizer",
"max_stars_repo_path": "source/AsposeVisualizer.2013.Facts/FooterProxyFacts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162849"
} | starcoder | <filename>source/AsposeVisualizer.2013.Facts/FooterProxyFacts.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="FooterProxyFacts.cs" company="<NAME>">
// Copyright (c) 2014
//
// Licensed under the Apache License, Version ... | 2.180365 | 4013d5c078c859a81d4c0cf472cbb776 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843630 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CoreLayer/CoreLayer.Citrix.Adc.Nitro",
"max_stars_repo_path": "src/CoreLayer.Citrix.Adc.NitroClientTests/Api/Configuration/Basic/Server/ServerRemoveRequestConfigurationTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162850"
} | starcoder | <reponame>CoreLayer/CoreLayer.Citrix.Adc.Nitro<filename>src/CoreLayer.Citrix.Adc.NitroClientTests/Api/Configuration/Basic/Server/ServerRemoveRequestConfigurationTest.cs
using System.Collections;
using System.Collections.Generic;
using CoreLayer.Citrix.Adc.NitroClient.Api.Configuration.Basic.Server;
using Xunit;
namesp... | 2.06545 | d39fb6b05365ed646071dbf60ba78d7a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843631 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Softeq/NetKit.Payment.Stripe",
"max_stars_repo_path": "Softeq.NetKit.Payments.Service/TransportModels/User/Request/CreateUserRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162851"
} | starcoder | // Developed by Softeq Development Corporation
// http://www.softeq.com
namespace Softeq.NetKit.Payments.Service.TransportModels.User.Request
{
public class CreateUserRequest
{
public CreateUserRequest(string userId, string stripeCustomerId, bool delinquent)
{
UserId = userId;
... | 1.595382 | f20ebdd3b081a682a6c14039d86d47cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843632 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "vcsjones/FiddlerScriptCSharp",
"max_stars_repo_path": "VCSJones.FiddlerScriptCSharp/FiddlerCSharpScript.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162852"
} | starcoder | using System;
using System.IO;
using Fiddler;
using Microsoft.CodeAnalysis.Scripting;
using Microsoft.CodeAnalysis.Scripting.CSharp;
namespace VCSJones.FiddlerScriptCSharp
{
public class FiddlerCSharpScript : FiddlerRoslynScriptBase
{
public FiddlerCSharpScript(string path) : base(path)
{
... | 1.861765 | 7f63be4da15b64693da4f775679f6dc3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843633 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "izayoijiichan/VGO2",
"max_stars_repo_path": "UniVgo2/Runtime/Models/MeshContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162853"
} | starcoder | // ----------------------------------------------------------------------
// @Namespace : UniVgo2
// @Class : MeshContext
// ----------------------------------------------------------------------
namespace UniVgo2
{
using System;
using System.Collections.Generic;
using UnityEngine;
/// <... | 2.39592 | 7d3bb11be8b410149206866a250960a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843634 | {
"extension": "c-sharp",
"max_stars_count": "141.0",
"max_stars_repo_name": "vova-lantsov-dev/Dahomey.Json",
"max_stars_repo_path": "src/Dahomey.Json.Tests/ShouldSerializeTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162854"
} | starcoder | <gh_stars>100-1000
using System.Text.Json;
using Xunit;
namespace Dahomey.Json.Tests
{
public class ShouldSerializeTests
{
private class ObjectWithShouldSerialize
{
public int Id { get; set; }
public bool ShouldSerializeId()
{
return Id != 1... | 2.567427 | 0a5564aa020cc2641da294bc43bae4f4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843635 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "MORTAL2000/warfest-voxel-unity",
"max_stars_repo_path": "Assets/Core/Utils/Mouse/CursorLock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162855"
} | starcoder | using UnityEngine;
public class CursorLock : MonoBehaviour {
void Start () {
SetCursorLock(true);
}
void Update () {
if (Cursor.lockState == CursorLockMode.None && Input.GetMouseButtonDown(0)) {
SetCursorLock(true);
}
}
void SetCursorLock(bool locked) {
Cursor.lockState = (locked) ? CursorLockMode... | 2.511076 | f23dac4b99b6e53cde890867518f96a7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843636 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Moolight/MagiCloudSDK",
"max_stars_repo_path": "Assets/MagiCloud/Expansion/Features/Feature/ProcessType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162856"
} | starcoder | namespace MagiCloud.Features
{
public enum ProcessType
{
LateUpdate, //每帧执行
Grab, //抓取时执行
Release //释放时执行
}
}
| 1.748227 | 9ce60aad6d9b20f1461ce523dc37d769 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843637 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "asteroid7687/blazor-highcharts",
"max_stars_repo_path": "src/Allegiance.Blazor.Highcharts/Options/Pane.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162857"
} | starcoder | <filename>src/Allegiance.Blazor.Highcharts/Options/Pane.cs
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Allegiance.Blazor.Highcharts.Options
{
public partial class Pane
{
[JsonProperty("startAngle", NullValueHandling = NullValueHandling.Ignore)]
public int? StartA... | 1.901451 | c416acef2a3d54191a07b5ea85c9526f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843638 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "ssrdio/SecureBank",
"max_stars_repo_path": "src/SecureBank/Views/Upload/UploadTansactions.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162858"
} | starcoder |
@{
ViewData["Title"] = "Upload";
}
<div class="container-fluid">
<div class="container">
@if (ViewBag.Success)
{
<h2>Successfully transfered data</h2>
<div>
<span>@Html.Raw(ViewBag.Content)</span>
</div>
... | 2.260031 | b297d99a009dfa2bcd4c799322737b74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843639 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "protodrama/Farmacop",
"max_stars_repo_path": "Farmacop/Message.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162859"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Farmacop
{
//Representa un mensaje en la aplicación
public class Message
{
private string _writer;
private string _reader;
private string _matter;
private string _text;
p... | 3.088868 | 957268c8c6919f21317cd83f9cecb7f0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843640 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gopi07nath/Git-Dummy",
"max_stars_repo_path": "Calibration/AlignmentUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162860"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
using Emgu.CV;
using Emgu.CV.Structure;
using Emgu.CV.CvEnum;
using Emgu.Util;
using Emg... | 1.595596 | 66d6b3c186114e722c2ed1cd6d788f03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843641 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MenJCP/Crud-Arq-Software",
"max_stars_repo_path": "AGOOCT2021_CS-master/CS.WebApplication/Subject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162861"
} | starcoder | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is ... | 1.566274 | da37c812f7f842b63897dbeae6aa68cc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843642 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "m-Mitkov/Csharp-Advanced-2020",
"max_stars_repo_path": "Advanced/DefiningClasses/opinionPoll/opinionPoll/Family.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162862"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
namespace opinionPoll
{
class Family
{
private List<Person> family;
public Family()
{
this.family = new List<Person>();
}
public void AddMember(Person person)
{
this.fam... | 3.404073 | 2492000905f102a78879bc009fcc7171 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843643 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "arnold256/agpsl.NET",
"max_stars_repo_path": "src/agpsl.NET/NMEA/GPRMC.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162863"
} | starcoder | // MIT License
// Copyright(c) 2017 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge... | 2.311486 | 04cdd74cb471da021ba82364bdbe5d23 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843644 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "marcinotorowski/PriTools",
"max_stars_repo_path": "PriFormat/DataItemSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162864"
} | starcoder | <reponame>marcinotorowski/PriTools
using System.Collections.Generic;
using System.IO;
namespace PriFormat
{
public class DataItemSection : Section
{
public IReadOnlyList<ByteSpan> DataItems { get; private set; }
internal const string Identifier = "[mrm_dataitem] \0";
internal DataIte... | 2.273106 | 1dabd5f05fd25a5132a94ce12464bce9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843645 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "whence/powerlife",
"max_stars_repo_path": "csharp/Core/Cards/Witch.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162865"
} | starcoder | <reponame>whence/powerlife
using System.Linq;
namespace Powercards.Core.Cards
{
[CardInfo(CardSet.Base, 5, true)]
public class Witch : CardBase, IActionCard
{
#region methods
public void Play(TurnContext context)
{
context.ActivePlayer.DrawCards(2, context);
... | 2.593609 | a7e14c336660b31c8d02c2c71c4c5242 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843646 | {
"extension": "c-sharp",
"max_stars_count": "154.0",
"max_stars_repo_name": "Iamgoofball/Memoria",
"max_stars_repo_path": "Assembly-CSharp/Global/DragOneDirectionScrollView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162866"
} | starcoder | <reponame>Iamgoofball/Memoria<gh_stars>100-1000
using System;
using UnityEngine;
public class DragOneDirectionScrollView : UIScrollView
{
public override void MoveRelative(Vector3 relative)
{
if (relative.y < 0f)
{
relative.y = 0f;
}
base.MoveRelative(relative);
}
}
| 1.737865 | 1b5780b357e24d82fc0e030279242a54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843647 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "capnmidnight/Juniper",
"max_stars_repo_path": "src/Juniper.Root/Units/Area/SquareInches.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162867"
} | starcoder | namespace Juniper.Units
{
/// <summary>
/// Conversions from square inches
/// </summary>
public static class SquareInches
{
/// <summary>
/// Conversion factor from square micrometers to square inches.
/// </summary>
public const float PER_SQUARE_MICROMETER = Inches.... | 3.20022 | af2a239be074f10a7ee38e1dc1d77700 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843648 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Zettersten/api.seatarranger.com.Core",
"max_stars_repo_path": "src/seatarranger.com.Core/Services/ArrangerService/ArrangerService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162868"
} | starcoder | using seatarranger.com.Core.Extensions;
using seatarranger.com.Core.Models;
using System;
using System.Collections.Generic;
namespace seatarranger.com.Core.Services.ArrangerService
{
public class ArrangerService : IArrangerService
{
public Dictionary<TableEntity, List<PartyEntity>> ArrangeParties(List... | 3.069563 | c1df196a2f39b7cc41b212c9f0e37a14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843649 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "dimitarminchev/ITCareer",
"max_stars_repo_path": "07. Software Development/2019/1. MVC/VegetableStore/View/Display.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162869"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VegetableStore.View
{
class Display
{
public double VegetablePrice { get; set; }
public double FruitPrice { get; set; }
public int VegetableKilos { get; set; }
... | 3.162682 | 4bd10e3a65428d6a995b7db31ac894d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843650 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "yaitza/TestLinkConverter",
"max_stars_repo_path": "ConvertLibTest/XmlToModelUnitTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162870"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Xml;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ConvertLibrary;
using ConvertModel;
namespace TransferLibTest
{
[TestClass]
public class XmlToModelUnitTest
{
private List<XmlNode> _xmlNodes;
priva... | 2.29648 | 61445ab2d8205ce04d2996d84d3dfba1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843651 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LBHackney-IT/tech-radar-api",
"max_stars_repo_path": "TechRadarApi.Tests/V1/Gateways/TechnologyGatewayTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162871"
} | starcoder | <filename>TechRadarApi.Tests/V1/Gateways/TechnologyGatewayTests.cs
using Amazon.DynamoDBv2.DataModel;
using AutoFixture;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Xunit;
using System.Linq;
using Moq;
using TechRadarApi.V1.Factories;
using TechRadarApi.V1... | 2.357965 | 83718c47ebd10ea9b899df810e86fa84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843652 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ScriptBox99/dotnet-ML.NET",
"max_stars_repo_path": "test/Microsoft.ML.SearchSpace.Tests/SearchSpaceTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162872"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Text.Json;
using FluentAssertions;
using Microsoft.ML.SearchSpace.Option;
using Microsof... | 2.127576 | c0dc879be5272aacf0a9433bae01aed3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843653 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mrgrayhat/SignalGo-Publisher",
"max_stars_repo_path": "SignalGo.Publisher/Models/UserSettingInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162873"
} | starcoder | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.IO;
using System.Text;
namespace SignalGo.Publisher.Models
{
public class UserSettingInfo
{
private static UserSettingInfo _Current = null;
private readonly static string UserSettingsDbName = "UserData.json";
public sta... | 2.563895 | b73803170c6c727b8e0919a9f5e87146 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843654 | {
"extension": "c-sharp",
"max_stars_count": "134.0",
"max_stars_repo_name": "Virtuoze/Puresharp",
"max_stars_repo_path": "Puresharp/Puresharp/System/Linq/Expressions/Parameter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162874"
} | starcoder | <reponame>Virtuoze/Puresharp<gh_stars>100-1000
using System;
using System.Linq;
using System.Linq.Expressions;
namespace Puresharp
{
static internal class Parameter<T>
{
static public readonly ParameterExpression Expression = System.Linq.Expressions.Expression.Parameter(typeof(T));
}
}
| 1.91155 | 5a98237a4e4bb18c68902de476fdf3bd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843655 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "samuelduchesne/basilisk",
"max_stars_repo_path": "Core/Library.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162875"
} | starcoder | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using Newtonsoft.Json;
using JsonFormatting = Newtonsoft.Json.Formatting;
namespace Basilis... | 2.435355 | a9c7b1c836aa040fa8e8159fed6bc9b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843656 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ttanatb/in-bed-cant-sleep",
"max_stars_repo_path": "Assets/Scripts/UI/Models/TextMessageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162876"
} | starcoder | <filename>Assets/Scripts/UI/Models/TextMessageModel.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using NaughtyAttributes;
[System.Serializable]
public struct TextMessageModel
{
public enum Pos
{
Invalid = 0,
Left,
Mi... | 2.050691 | e8508f24dccf003ff39369c04e951b89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843657 | {
"extension": "c-sharp",
"max_stars_count": "365.0",
"max_stars_repo_name": "dimonovdd/TemplateUI",
"max_stars_repo_path": "src/TemplateUI/Helpers/VisualTreeHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162877"
} | starcoder | <filename>src/TemplateUI/Helpers/VisualTreeHelper.cs<gh_stars>100-1000
using Xamarin.Forms;
namespace TemplateUI.Helpers
{
// TODO: Complete adding methods to get childrens, etc.
public static class VisualTreeHelper
{
public static T GetParent<T>(this Element element) where T : Element
{
... | 2.688783 | 75df56fc923f215ade7ce1502a3a7bb7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843658 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MrBogomips/NexusatAspNetCore",
"max_stars_repo_path": "Nexusat.AspNetCore.IntegrationTestsFakeService/Controllers/CreatedController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162878"
} | starcoder | using System;
using Microsoft.AspNetCore.Mvc;
using Nexusat.AspNetCore.Models;
using Nexusat.AspNetCore.Mvc;
namespace Nexusat.AspNetCore.IntegrationTestsFakeService.Controllers
{
[Route("Created")]
public class CreatedController : ApiController
{
[HttpGet("index/{id:int}", Name = "created_control... | 2.178757 | adbeb43a33b7c6445b43a59c471d8d85 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843659 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "JuganD/OurTrace",
"max_stars_repo_path": "OurTrace.App/Views/Post/Share.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162879"
} | starcoder | <gh_stars>1-10
@using OurTrace.App.Models.ViewModels.Post
@using OurTrace.App.Models.InputModels.Share
@model PostViewModel
@{
ViewData["Title"] = "Share Post";
}
@if (TempData.ContainsKey("ShareResult"))
{
<div class="full-width bg-danger text-white p-2 m-2 text-center">@TempData["ShareResult"]</div>
{ Te... | 1.996215 | 7effb07067a567560cb66dfca7422648 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843660 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hezlog/Tailviewer",
"max_stars_repo_path": "src/Tailviewer.Api/BusinessLogic/LogFiles/LogFileSection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162880"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
namespace Tailviewer.BusinessLogic.LogFiles
{
/// <summary>
/// Basically a handle to a specific portion of the logfile.
/// Call <see cref="ILogFile.GetSection" /> to act... | 3.00801 | 9e8d85714a095dd3ffff2cd4bdad92c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843661 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Mithras11/SoftUni-Software-Engineering",
"max_stars_repo_path": "C_Sharp/CSharp OOP/UnitTestingEx/FightingArena.Tests/ArenaTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162881"
} | starcoder | using FightingArena;
using NUnit.Framework;
using System;
namespace Tests
{
public class ArenaTests
{
private Arena arena;
private const string warriorName = "Somebody";
private const int warriorDamage = 50;
private const int warriorHP = 100;
private Warrior warrior;
... | 3.062558 | 922b7d8d50b8f504f3c2e3ca173b7944 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843662 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Axiverse/CommandLineInterface",
"max_stars_repo_path": "CommandLineInterface/ArgumentParser{T}.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162882"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
namespace CommandLineInterface
{
public class ArgumentParser<T>
where T : new()
{
/// <summary>
/// Gets or sets if generated help is included or not.
/// </summary>
public bool ... | 2.94072 | 4ec8637de5c770f82de96c0cb08f2ff9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843663 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshhaddock88/PrototypeHero",
"max_stars_repo_path": "Prototype Hero/Assets/Plugins/Febucci/Text Animator/Effects/Presets Base/ColorCurve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162883"
} | starcoder | <gh_stars>0
using UnityEngine;
namespace Febucci.UI.Core
{
[System.Serializable]
internal class ColorCurve
{
#pragma warning disable 0649 //disabling the error or unity will throw "field is never assigned" [..], because we actually assign the variables from the custom drawers
[Serializ... | 2.16099 | b5b674dd56db5e20c595b54ec0ddd37d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843664 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Labae-CK/CK_2-2-Game_Engine_Programming",
"max_stars_repo_path": "Assets/Game/Scripts/Input/InputManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162884"
} | starcoder | using UnityEngine;
using UnityEngine.InputSystem;
public class InputManager : MonoBehaviour
{
private bool _leftMousePressed;
private bool _rightMousePressed;
private bool _middleMousePressed;
public void OnMove(InputAction.CallbackContext callbackContext)
{
Vector2 input = callbackContex... | 2.29894 | 7e2cc3c485ea839fee6a11b0f7856653 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843665 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "ryanmvt/RabbitMQ.Core",
"max_stars_repo_path": "v6.0.0/RabbitMQ.Client/Impl/Work.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162885"
} | starcoder | <filename>v6.0.0/RabbitMQ.Client/Impl/Work.cs<gh_stars>1-10
using System.Threading.Tasks;
namespace RabbitMQ.Client.Impl
{
public abstract class Work
{
private readonly IAsyncBasicConsumer _asyncConsumer;
protected Work(IBasicConsumer consumer)
{
_asyncConsumer = (IAsyncBa... | 2.334437 | 80d0f12908b4dcb7ace9ac8307b7bbac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843666 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anttuc4769/GameHub",
"max_stars_repo_path": "GameHubMVC/Views/_ViewImports.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:162886"
} | starcoder | <reponame>anttuc4769/GameHub<filename>GameHubMVC/Views/_ViewImports.cshtml<gh_stars>0
@using GameHubMVC
@using GameHubMVC.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
| 1.266917 | fbccc73bd7267f698dcfc02d30049d65 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843667 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "yaksys/Remote-Control-Tools-YakSys-",
"max_stars_repo_path": "JsRct-Client/Forms classes/FilesUploadForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162887"
} | starcoder | <reponame>yaksys/Remote-Control-Tools-YakSys-
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Threading;
using YakSys.XMLConfigImporter;
using YakSys.XMLConfigImporter.YakSysRctClient;
using YakSys.XMLConfigImporter.YakSysRctClient.Vers... | 1.315849 | b6155318643f40faff601cb82df3d346 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843668 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Armanoide/AntSimulator",
"max_stars_repo_path": "LibUI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162888"
} | starcoder | using System;
using SFML.Graphics;
using SFML.Window;
namespace AntManager
{
public static class Program
{
public static void OnClose(object sender, EventArgs e)
{
// Close the window when OnClose event is received
var window = (RenderWindow)sender;
... | 2.78622 | 7ff7d2731767d2cbc236429a9c1019bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843669 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Xcube-Studio/Fluent-Launcher",
"max_stars_repo_path": "FluentCore/FluentCore/Service/Component/Installer/InstallerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162889"
} | starcoder | <filename>FluentCore/FluentCore/Service/Component/Installer/InstallerBase.cs
using FluentCore.Event;
using FluentCore.Interface;
using FluentCore.Service.Component.Launch;
using System;
namespace FluentCore.Service.Component.Installer
{
/// <summary>
/// 基础游戏安装器
/// </summary>
public class InstallerBa... | 2.141317 | 4be67cf539cc668995be0826a898d84a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843670 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hamsting/PopTheCircleSecond",
"max_stars_repo_path": "PopTheCircleSecond/Assets/Game/Scripts/Note/MineNoteRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162890"
} | starcoder | <filename>PopTheCircleSecond/Assets/Game/Scripts/Note/MineNoteRenderer.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PopTheCircle.Game
{
public class MineNoteRenderer : NoteRenderer
{
private MineNote mineNote;
private SpriteRenderer noteSpriteRend... | 2.448876 | 304d59705d417b2432b9420b404f9333 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843671 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "VirgilSecurity/virgil-sdk-net",
"max_stars_repo_path": "SDK/Source/Virgil.CryptoApi/VirgilCryptoAPI/IPrivateKeyExporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162891"
} | starcoder | <gh_stars>10-100
#region Copyright (C) Virgil Security Inc.
// Copyright (C) 2015-2018 Virgil Security Inc.
//
// Lead Maintainer: Virgil Security Inc. <<EMAIL>>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followin... | 1.914236 | 8a076dcb31425d873ddeedc0d48668a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843672 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sotanmochi/DynamicResolutionScalingSample",
"max_stars_repo_path": "Assets/MixedRealityToolkit/Utilities/Scripts/Performance/GpuWhitelist.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162892"
} | starcoder | using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Analytics;
using System;
public class GpuWhitelist
{
//references:
//https://developer.microsoft.com/en-us/windows/mixed-reality/windows_mixed_reality_minimum_pc_hardware_compatibility_guidelines
//https://en.wikipedia.org/wiki/List_of... | 1.651191 | 657a85a5ad07722167c888b610b7bea8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843673 | {
"extension": "c-sharp",
"max_stars_count": "457.0",
"max_stars_repo_name": "Peullo/uwp-experiences",
"max_stars_repo_path": "apps/music/Music.tvOS/SongViewDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162893"
} | starcoder | <reponame>Peullo/uwp-experiences<filename>apps/music/Music.tvOS/SongViewDataSource.cs
using System;
using System.Collections.Generic;
using System.Text;
using Foundation;
using UIKit;
using Music.PCL.Models;
using System.Threading.Tasks;
using System.Collections.ObjectModel;
namespace Music.tvOS
{
public class So... | 1.969932 | 93e008bc975552ccc945bf8dd8d1eed6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843674 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rafaelponcedeleon/embc-ess-mod",
"max_stars_repo_path": "ess/src/API/EMBC.ESS/Utilities/Dynamics/EssContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162894"
} | starcoder | // -------------------------------------------------------------------------
// Copyright © 2021 Province of British Columbia
//
// 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
//
// h... | 1.95482 | 6f691e08024c542ffb237f08ac3043d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843675 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "HeadspringLabs/XlsToEF",
"max_stars_repo_path": "src/XlsToEfCore.Example/ExampleBaseClassIdField/XlsxOrderColumnMatcherQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162895"
} | starcoder | using MediatR;
using XlsToEfCore.Import;
namespace XlsToEfCore.Example.ExampleBaseClassIdField
{
public class XlsxOrderColumnMatcherQuery : XlsxColumnMatcherQuery, IRequest<DataForMatcherUi>
{
}
} | 0.830973 | 1a638fc98cf8ead89e49daedd5aa626c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843676 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "qiqigou/QiQiTemplate",
"max_stars_repo_path": "QiQiTemplate/Model/DeFineModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162896"
} | starcoder | <gh_stars>1-10
using QiQiTemplate.Enums;
namespace QiQiTemplate.Model
{
/// <summary>
/// 变量定义节点
/// </summary>
public class DeFineModel
{
/// <summary>
/// 变量名称
/// </summary>
public string ArgName { get; set; } = string.Empty;
/// <summary>
/// 变量值... | 1.900821 | 24268e596768c0e601d91e89aefd4d07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843677 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "uk-gov-mirror/SkillsFundingAgency.das-commitments",
"max_stars_repo_path": "src/SFA.DAS.Commitments.Events/CohortCreated.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162897"
} | starcoder | <gh_stars>1-10
using SFA.DAS.Messaging.Attributes;
namespace SFA.DAS.Commitments.Events
{
[MessageGroup("cohort_created")]
public class CohortCreated
{
//Needs a parameterless constructor to work with the message processing
public CohortCreated()
{
}
p... | 1.841696 | 9432b62ee163458d64c0abe53285174e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843678 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ahives/HareDu1",
"max_stars_repo_path": "src/HareDu.Diagnostics.Tests/Probes/RuntimeProcessLimitProbeTestingTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162898"
} | starcoder | namespace HareDu.Diagnostics.Tests.Probes
{
using Core.Configuration;
using Core.Extensions;
using Diagnostics.Probes;
using Fakes;
using KnowledgeBase;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using Shouldly;
using Snapshotting.Model;
[TestFixture]... | 1.591304 | 22a4c23d968d91d0f0ab8274508d6875 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843679 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DanTup/SimpleSlackBot",
"max_stars_repo_path": "SimpleSlackBot/Api/BotUser.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162899"
} | starcoder | <filename>SimpleSlackBot/Api/BotUser.cs<gh_stars>1-10
using System.Runtime.Serialization;
namespace SimpleSlackBot
{
[DataContract]
public class BotUser : Entity
{
}
}
| 1.758995 | 50c7ec60a976959ab6db115a6dcde2f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843680 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mmitche/cli",
"max_stars_repo_path": "src/Microsoft.Extensions.DependencyModel/DependencyContextStrings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162900"
} | starcoder | <gh_stars>0
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Extensions.DependencyModel
{
internal class DependencyContextStrings
{
internal const char Versio... | 0.940473 | a93bf9b1915ca4190263c53ffa70b3a9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843681 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LuGeorgiev/CSharpSelfLearning",
"max_stars_repo_path": "SimpleTaxCalculator/TaxCalculator.Tests/BusinessLogic/SalaryCalculatorTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162901"
} | starcoder | <reponame>LuGeorgiev/CSharpSelfLearning<filename>SimpleTaxCalculator/TaxCalculator.Tests/BusinessLogic/SalaryCalculatorTests.cs
using FluentAssertions;
using TaxCalculator.BusinessLogic;
using TaxCalculator.Tests.Mocks;
using Xunit;
using static TaxCalculator.Constants.Constants;
namespace TaxCalculator.Tests.Busine... | 2.613665 | 4b14e27474f173197c0cd8816b8d7274 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843682 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "Noise.Infrastructure/Interfaces/IArtworkProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162902"
} | starcoder | using Noise.Infrastructure.Dto;
namespace Noise.Infrastructure.Interfaces {
public interface IArtworkProvider {
void AddArtwork( DbArtwork artwork );
void AddArtwork( DbArtwork artwork, byte[] pictureData );
void AddArtwork( DbArtwork artwork, string filePath );
void DeleteArtwork( DbArtw... | 1.841193 | 4a125809b32cf77dd0d5e47a01805a54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843683 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "VahidN/MVC-Samples",
"max_stars_repo_path": "MVC-06/MvcApplication2/Controllers/HomeController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162903"
} | starcoder | <gh_stars>1-10
using System.Web.Mvc;
namespace MvcApplication2.Controllers
{
public class HomeController : Controller
{
[NonAction]
public string ShowData()
{
return "Text";
}
public ActionResult Index()
{
ViewBag.Message = string.Format... | 2.122519 | 64bf71487b3c9a9a9eeca98637d1f9b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843684 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "va1ery/CSharp-and-.NET-Core-Test-Driven-Development",
"max_stars_repo_path": "Chapter06/LoanApplication.Tests.Unit/LoanRepositoryMock.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162904"
} | starcoder | <reponame>va1ery/CSharp-and-.NET-Core-Test-Driven-Development
using LoanApplication.Core;
using LoanApplication.Core.Model;
using LoanApplication.Core.Repository;
using System;
using System.Collections.Generic;
using System.Text;
namespace LoanApplication.Tests.Unit
{
public class LoanRepositoryMock : ILoanReposi... | 2.378555 | 58ac9e10566faa31f73bbd83f9e5e476 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843685 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "arhipovdv/IsblCheck",
"max_stars_repo_path": "src/IsblCheck/Common/Dialogs/DialogManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162905"
} | starcoder | using System;
using System.Linq;
using Autofac;
using IsblCheck.Common.Patterns;
namespace IsblCheck.Common.Dialogs
{
/// <summary>
/// Менеджер панелей.
/// </summary>
public class DialogManager : Singleton<DialogManager>, IDisposable
{
#region Поля и свойства
private ContainerBuilder builder;
... | 2.64852 | 94565329c60b1f988a8514eb05dc1efa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843686 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Bisa/DynamicChecklist",
"max_stars_repo_path": "DynamicChecklist/ModConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162906"
} | starcoder | namespace DynamicChecklist
{
using System;
using System.Collections.Generic;
using ObjectLists;
public class ModConfig
{
public ModConfig()
{
this.IncludeTask = new Dictionary<TaskName, bool>();
var listNames = (TaskName[])Enum.GetValues(typeof(TaskName));
... | 2.504161 | 3df45d21bd654c57221d9ae28e271438 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843687 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AIFramework/FreeVersionTests",
"max_stars_repo_path": "TestsOFAI/NeuralNet/Tests/ComplexNet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162907"
} | starcoder | <reponame>AIFramework/FreeVersionTests<gh_stars>0
using AI;
using AI.DSPCore;
using AI.ML.NeuralNetwork.ComplexNet;
using AI.ML.NeuralNetwork.ComplexNet.Activations;
using AI.ML.NeuralNetwork.ComplexNet.Layers;
using AI.ML.NeuralNetwork.ComplexNet.Loss;
using AI.ML.NeuralNetwork.ComplexNet.Opts;
using AI.ML.Datasets;
... | 2.181612 | 6602344101c51b9448faac4c3e969382 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843688 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "chenjian8541/gmp",
"max_stars_repo_path": "src/TTY.GMP.Jobs/UpdateShopStatisticsJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162908"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Quartz;
using TTY.GMP.Entity.Enum;
using TTY.GMP.IBusiness;
using TTY.GMP.IOC;
using TTY.GMP.LOG;
namespace TTY.GMP.Jobs
{
/// <summary>
/// 定时统计各地区的门店总数
/// </summary>
[DisallowConcurrentExecution]
... | 2.293905 | ede990a1113af3d88b686c7f769c7d8c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843689 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bartosz-jarmuz/RepoCat",
"max_stars_repo_path": "src/RepoCat.Transmission/InputUriProviding/LocalDotNetProjectUriProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162909"
} | starcoder | // -----------------------------------------------------------------------
// <copyright file="LocalDotNetProjectUriProvider.cs" company="<EMAIL>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Co... | 2.366653 | 79739b47cbfab56ecb8916eed84569bc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843690 | {
"extension": "c-sharp",
"max_stars_count": "25.0",
"max_stars_repo_name": "vlastimil-construsoft/TeklaApplicationLibrary",
"max_stars_repo_path": "Library/ISelectObject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162910"
} | starcoder | namespace Tekla.Structures
{
/// <summary>
/// Object selection interface.
/// </summary>
public interface ISelectObject
{
#region Public Methods and Operators
/// <summary>
/// Selects object by identifier.
/// </summary>
/// <param name="identifier">
... | 2.576165 | 5a18d82fbf0f179b8dda40aac53b491d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843691 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Cristianotx/ewave-livraria-senior",
"max_stars_repo_path": "ToDo-API/src/ToDo.Services/LivroService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162911"
} | starcoder | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using ToDo.Domain.Entities;
using ToDo.Domain.Services;
using ToDo.Infra.Core;
using ToDo.Infra.Extensions;
namespace ToDo.Services
{
public class LivroService : ILivroService
{
private readonly IRepository _repository;
public LivroSe... | 2.315825 | 058acfcafe1f6bd6fae1ca0da940580b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843692 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Denimmcdonald/testrfv8754",
"max_stars_repo_path": "GUI/SimulateIncidentsForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162912"
} | starcoder | <filename>GUI/SimulateIncidentsForm.cs
#region copyright
// Copyright 2013-2014 The Rector & Visitors of the University of Virginia
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
... | 2.246088 | 6f8f9dbe6d40cbc108e4f2d7316db72c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843693 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "DonaldTdz/GYISMS",
"max_stars_repo_path": "aspnet-core/src/GYISMS.Application/Employees/EmployeeAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162913"
} | starcoder |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using System.Linq;
using System.Linq.Dynamic;
using System.Linq.Expressions;
using Abp.Authorization;
using Abp.AutoMapper;
using Abp.Domain.Repositories;
using Abp.Linq.Extensions;
using System.Linq.Dyna... | 1.991419 | 3a3dc84c451cc578e25430347cbc4de2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843694 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "forki/NServiceBus",
"max_stars_repo_path": "src/NServiceBus.Core/Persistence/InMemory/SagaPersister/InMemorySagaPersistence.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162914"
} | starcoder | <reponame>forki/NServiceBus
namespace NServiceBus.InMemory.SagaPersister
{
using Features;
/// <summary>
/// Used to configure in memory saga persistence.
/// </summary>
public class InMemorySagaPersistence : Feature
{
internal InMemorySagaPersistence()
{
D... | 1.932075 | 3286784c78ebcb2ae6be5ac686bc80fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843695 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "PalmSens/emstatpico",
"max_stars_repo_path": "MethodSCRIPTExamples_C#/MSPlotExample/FormPlotExample.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162915"
} | starcoder | using OxyPlot;
using OxyPlot.Axes;
using OxyPlot.Series;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Ports;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
namespace EmStatPicoPlotExample
{
public partial class frmPlotExample : Form
{
static... | 2.354581 | bbe1b2bf7f3d778a0510de10c3856bdb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843696 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lalitadithya/automate-anything-and-everything",
"max_stars_repo_path": "AzureFunctions/AutomateAnythingEverything.Functions/AutomateAnythingEverything.Functions/Models/TaskParameters.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <filename>AzureFunctions/AutomateAnythingEverything.Functions/AutomateAnythingEverything.Functions/Models/TaskParameters.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace AutomateAnythingEverything.Functions.Models
{
public class TaskParameters
{
[J... | 1.902867 | 9cebe5f0aa475e26c2a270a5ac29799e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843697 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "calbonaler/DLR_Japanese",
"max_stars_repo_path": "Languages/Ruby/ironruby/Builtins/MutableString.Subclass.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162917"
} | starcoder | <gh_stars>1-10
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Microsoft Public License. A
* copy of the license can be found in the License.html file at the root of this distri... | 2.165715 | e5e9ac8e6ae77025a6eb60376064d075 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843698 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danielanywhere/BankCore",
"max_stars_repo_path": "BankViewModel/BankViewModel/ExpressionEvaluator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162918"
} | starcoder | <filename>BankViewModel/BankViewModel/ExpressionEvaluator.cs
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
namespace SimpleExpressionEvaluator
{
//*-------------------------... | 2.982342 | 5ad11c028ea2db593d88360a8541d3a3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843699 | {
"extension": "c-sharp",
"max_stars_count": "121.0",
"max_stars_repo_name": "tk4218/MxNet.Sharp",
"max_stars_repo_path": "src/MxNet/RNN/Cell/BidirectionalCell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162919"
} | starcoder | <filename>src/MxNet/RNN/Cell/BidirectionalCell.cs
/*****************************************************************************
Copyright 2018 The MxNet.Sharp Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the... | 2.050039 | fd4f664ae0c87b93bdddf2745b830bc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843700 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "SysKitTeam/ODG",
"max_stars_repo_path": "SysKit.ODG.App/SysKit.ODG.Base/XmlTemplate/Model/Content/XmlWeb.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162920"
} | starcoder | <filename>SysKit.ODG.App/SysKit.ODG.Base/XmlTemplate/Model/Content/XmlWeb.cs
using System.Xml.Serialization;
using SysKit.ODG.Base.Enums;
namespace SysKit.ODG.Base.XmlTemplate.Model.Content
{
[XmlType("Web")]
public class XmlWeb: XmlContent
{
public override ContentTypeEnum Type => ContentTypeEnum... | 2.012906 | 209c37342c606b706eb67357d9a48760 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843701 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OlehMarchenko95/ort_csharp_js",
"max_stars_repo_path": "Other solutions/Listsnew/alist1/AList1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162921"
} | starcoder | <reponame>OlehMarchenko95/ort_csharp_js<filename>Other solutions/Listsnew/alist1/AList1.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace List
{
public class AList1 : IList
{
int index = 0;
... | 3.21684 | 251357a1456eca03f9a501f218c1038f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843702 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ThomasBarnekow/JsonApiDotNetCore",
"max_stars_repo_path": "test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/QueryStringDbContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162922"
} | starcoder | <reponame>ThomasBarnekow/JsonApiDotNetCore<filename>test/JsonApiDotNetCoreTests/IntegrationTests/QueryStrings/QueryStringDbContext.cs
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore;
// @formatter:wrap_chained_method_calls chop_always
namespace JsonApiDotNetCoreTests.IntegrationTests.QueryStrings
{
... | 2.019305 | 498d66e22f733b4b7c219c5a1f9fe72b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843703 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "lbotinelly/zen",
"max_stars_repo_path": "Zen.Web/Service/AutoSettingsExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162923"
} | starcoder | <filename>Zen.Web/Service/AutoSettingsExtensions.cs
using Microsoft.Extensions.DependencyInjection;
namespace Zen.Web.Service {
public static class AutoSettingsExtensions
{
internal static IServiceCollection ResolveSettingsPackage(this IServiceCollection serviceCollection)
{
retur... | 1.413888 | 3a3296b9722b95e5a8dc4c703337aa8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843704 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "DapperDino/Roguelike-Stream",
"max_stars_repo_path": "Assets/Scripts/Events/UnityEvents/UnityItemEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162924"
} | starcoder | using Roguelike.Items;
using System;
using UnityEngine.Events;
namespace Roguelike.Events.UnityEvents
{
[Serializable] public class UnityItemEvent : UnityEvent<Item> { }
} | 1.186261 | 690af677087f306ae895e5088e19f77d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843705 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peerlancers/dapper-netcore-seed",
"max_stars_repo_path": "DotNetCore.DataLayer/Interfaces/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162925"
} | starcoder | using DotNetCore.DataLayer.Entities;
using System;
using System.Threading.Tasks;
namespace DotNetCore.DataLayer.Interfaces
{
public interface IUserRepository : IRepository<User>, IDisposable
{
Task<DbRecordList<User>> SearchAsync(string keyword, Sorting<UserSortableFields> sorting = null, IPagingInfo ... | 1.917692 | 391c48fdbf8ff124e3434799aa61fdd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843706 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sillsdev/sheetswiper",
"max_stars_repo_path": "src/Office/Excel/BinaryDrawingFormat/EscherRecords/MsofbtAnchor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162926"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace ExcelLibrary.BinaryDrawingFormat
{
public partial class MsofbtAnchor : EscherRecord
{
public MsofbtAnchor(EscherRecord record) : base(record) { }
public MsofbtAnchor()
{
this.Type = EscherRecordType.... | 2.038505 | 2981faba4e6264eed69becf800da196a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843707 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FellowshipOfTheGame/HexCasters",
"max_stars_repo_path": "Assets/Hex/Effects/Effect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162927"
} | starcoder | public static class Effect {
public static readonly string NONE = null;
public static readonly string SNOW = "Snow";
public static readonly string FLAMES = "Flames";
public static readonly string STORM = "Storm";
} | 1.785309 | e5179498c8952272045de87aa354f28f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843708 | {
"extension": "c-sharp",
"max_stars_count": "32.0",
"max_stars_repo_name": "lauri-n/serilog-sinks-azuretablestorage",
"max_stars_repo_path": "test/Serilog.Sinks.AzureTableStorageWithProperties.Tests/Infrastructure/AzureStorageEmulatorFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162928"
} | starcoder | using System;
using System.Threading.Tasks;
namespace Serilog.Sinks.AzureTableStorage.Tests.Infrastructure
{
/// <summary>
/// Adapted from https://github.com/kendaleiv/azure-storage-integration-tests
/// </summary>
public class AzureStorageEmulatorFixture : IDisposable
{
private readonly ... | 2.587706 | a92e33298be0c75ffab3db4ece360e54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843709 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "jl632541832/spear",
"max_stars_repo_path": "src/Spear.Apollo/Class1.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162929"
} | starcoder | using System;
namespace Spear.Apollo
{
public class Class1
{
}
}
| 0.905847 | d097e67adfc3a21f569df32de6c9f6c4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843710 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "poseidonjm/WinBiometricDotNet",
"max_stars_repo_path": "examples/FrameworkTester/DesignTimes/WinBioAsyncEnumDatabasesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162930"
} | starcoder | using System.Collections.ObjectModel;
using FrameworkTester.ViewModels.Interfaces;
using GalaSoft.MvvmLight.Command;
using WinBiometricDotNet;
namespace FrameworkTester.DesignTimes
{
public sealed class WinBioAsyncEnumDatabasesViewModel : WinBioViewModel, IWinBioAsyncEnumDatabasesViewModel
{
... | 1.476642 | bacad9f5565715a34822a769c97b2ae3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8843711 | {
"extension": "c-sharp",
"max_stars_count": "307.0",
"max_stars_repo_name": "workwhileweb/egram.tel",
"max_stars_repo_path": "src/Tel.Egram.Services/Graphics/Avatars/IAvatarLoader.cs",
"provenance": "train-00027-of-00045.jsonl.gz:162931"
} | starcoder | using System;
using TdLib;
namespace Tel.Egram.Services.Graphics.Avatars
{
public interface IAvatarLoader
{
Avatar GetAvatar(AvatarKind kind, AvatarSize size);
Avatar GetAvatar(TdApi.User user, AvatarSize size);
Avatar GetAvatar(TdApi.Chat chat, AvatarSize size);
IObservable<A... | 1.500204 | 7088b2b9c63e790bed68056632f0e39b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.