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 | 8845812 | {
"extension": "c-sharp",
"max_stars_count": "92.0",
"max_stars_repo_name": "catcat0921/lindexi_gd",
"max_stars_repo_path": "System.Xaml/System.Xaml.Demo/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165032"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using System.Xaml.Schema;
namespace System.Xaml.Demo
{
class Program
{
static void Main(string[] args)
{
var typeReflector = new TypeRefl... | 2.530917 | ebc2455462cf618731d6e9f4fc5839ca |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845813 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BrackeysBot/BrackeysBot.Core",
"max_stars_repo_path": "BrackeysBot.Core.API/UserInfoFieldContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165033"
} | starcoder | <gh_stars>1-10
using DSharpPlus.Entities;
namespace BrackeysBot.Core.API;
/// <summary>
/// Represents a context for field value and execution check delegates when used with
/// <see cref="ICorePlugin.RegisterUserInfoField(UserInfoFieldBuilder)" /> and
/// <see cref="ICorePlugin.RegisterUserInfoField(Sys... | 2.109328 | 8f38174aff096070fe967e4e074d4c6c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845814 | {
"extension": "c-sharp",
"max_stars_count": "124.0",
"max_stars_repo_name": "Sydres/FiveMRpServerResources",
"max_stars_repo_path": "src/FiveM/XmlMapLoader/MapModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165034"
} | starcoder | using CitizenFX.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XmlMapLoader
{
class MapModel
{
public double[] Position { get; set; }
public List<PropModel> Props { get; set; }
}
}
| 1.539636 | eab2ee7d4915538838abd5493a6d5b5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845815 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jondot/actionpacknet",
"max_stars_repo_path": "ActionView/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165035"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord.Framework.Internal;
namespace ActionSupport
{
public static class StringExtensions
{
public static string Pluralize(this string singular)
{
ret... | 2.993944 | 8b74fd9b08e86483d3069c3df2e946e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845816 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OlehMarchenko95/ort_csharp_js",
"max_stars_repo_path": "PainterR/API/DrawingApi.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165036"
} | starcoder | <filename>PainterR/API/DrawingApi.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Paint
{
public static class DrawingApi
{
public static XD... | 3.098133 | 8edc3c1fae509c3242d8f72a18195daa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845817 | {
"extension": "c-sharp",
"max_stars_count": "5873.0",
"max_stars_repo_name": "rp1231/EarTrumpet",
"max_stars_repo_path": "EarTrumpet/Addons/EarTrumpet.Actions/ViewModel/OptionViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165037"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Linq;
namespace EarTrumpet.Actions.ViewModel
{
class OptionViewModel : BindableBase, IOptionViewModel
{
public ObservableCollection<Option> All { get; }
public Option Selected
{
get
{... | 2.688215 | 33bcc18de5af1a6f7ccb32508f4762df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845818 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "drone001/interviews",
"max_stars_repo_path": "LeetCode/remote/scramble_string.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165038"
} | starcoder | <filename>LeetCode/remote/scramble_string.cs
// https://leetcode.com/problems/scramble-string/
//
// Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
//
// First attempt:
//
//
// Submission Details
// 281 / 281 test cases passed.
// Status: Accepte... | 3.629968 | 5bee5b8a1e2fd171fcebca673a5c4501 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mrnikbobjeff/DllImportAnalyzer",
"max_stars_repo_path": "DllImportDefaultsAnalyzer/DllImportDefaultsAnalyzer.Test/DllImportDefaultsAnalyzerUnitTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165039"
} | starcoder | <reponame>Mrnikbobjeff/DllImportAnalyzer
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using TestHelper;
using DllImportDefaultsAnalyzer;
using System.Runtime.InteropServices;
namespace D... | 1.955791 | b1d1b3bf615748dd991edad65d957d52 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HnZGaming/TorchUtils",
"max_stars_repo_path": "Utils.Torch/ReportGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165040"
} | starcoder | using System;
using Utils.General;
namespace Utils.Torch
{
internal static class ReportGenerator
{
static readonly Random _numberGenerator = new Random();
public static string Log(object self, Exception e)
{
var errorId = $"{_numberGenerator.Next(0, 999999):000000}";
... | 2.245323 | 3e390e173fc025605d83a6f0098c8515 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845821 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "gratinierer/Innovator.Client",
"max_stars_repo_path": "src/Innovator.Client/Aml/IItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165041"
} | starcoder | <filename>src/Innovator.Client/Aml/IItem.cs<gh_stars>10-100
using System.Collections.Generic;
namespace Innovator.Client
{
/// <summary>
/// Represents an Aras Item that is read only. By default, the connection object returns IReadOnlyItems to encourage
/// treating the results as immutable
/// </summary>
/... | 3.074882 | fd93a01770da8d3260d53da04b550fb2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845822 | {
"extension": "c-sharp",
"max_stars_count": "266.0",
"max_stars_repo_name": "shambarick/SaintCoinach-1",
"max_stars_repo_path": "SaintCoinach/Xiv/RacingChocoboNameInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165042"
} | starcoder | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SaintCoinach.Ex.Relational;
namespace SaintCoinach.Xiv {
public class RacingChocoboNameInfo : XivRow {
#region Properties
public RacingChocoboNameCategory ... | 1.813027 | 525e041c72550eadf3bf29177abfa621 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845823 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "cakriwut/SingPassNetAuth",
"max_stars_repo_path": "src/SingPassAuthentication/SingPassOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165043"
} | starcoder | using System;
using System.Security.Claims;
namespace SingPassAuthentication
{
public class SingPassOptions
{
public string Authority { get; set; }
public string ClientId { get; set; }
public string ClientJwks { get; set; }
public string CallbackPath { get; set; }
publi... | 2.221105 | cd78318a8e7d98379b85709093dcab99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845824 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Hondarer/WPFCommandUsecases",
"max_stars_repo_path": "CommandParam/StyleBehaviorCollection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165044"
} | starcoder | <reponame>Hondarer/WPFCommandUsecases
// https://blog.okazuki.jp/entry/2016/07/19/192918
using System.Linq;
using System.Windows;
using System.Windows.Interactivity;
namespace CommandParam
{
/// <summary>
/// スタイルに定義可能なビヘイビアのコンテナを提供します。
/// </summary>
/// <remarks>
/// ビヘイビアは 1:1 にしか定... | 2.679125 | 39291842e205c927cdf840600de50aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845825 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "toastmalone/SportUp",
"max_stars_repo_path": "SportUp/Views/Team/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165045"
} | starcoder | <reponame>toastmalone/SportUp<filename>SportUp/Views/Team/Index.cshtml
@model TeamIndexViewModel
@{
ViewData["Title"] = "Index";
}
<h1>Teams</h1>
<h3>Create Pickup Team</h3>
<form asp-action="CreatePickupTeam" asp-controller="Team" method="post" name="CreatePickupTeamForm">
<label asp-for="@Model.TeamSportId... | 2.387274 | 9d5f35fb916aa84b3036a6d5fb4f1fd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845826 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "codescene-org/das-assessor-service",
"max_stars_repo_path": "src/SFA.DAS.AssessorService.Api.Types/Models/OppFinder/OppFinderApprovedSearchResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165046"
} | starcoder | namespace SFA.DAS.AssessorService.Api.Types.Models
{
public class OppFinderApprovedSearchResult : OppFinderSearchResult
{
public int ActiveApprentices { get; set; }
public int RegisteredEPAOs { get; set; }
}
public enum OppFinderApprovedSearchSortColumn
{
StandardName,
... | 1.30613 | cc15d7ef5bdb70319672672664ca6f89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845827 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DimchoLakov/NetClixDB",
"max_stars_repo_path": "src/Data/NetPhlixDB.Data.Models/Review.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165047"
} | starcoder | namespace NetPhlixDB.Data.Models
{
using System;
public class Review : BaseModel<string>
{
public Review()
{
this.Id = Guid.NewGuid().ToString();
}
public string Title { get; set; }
public string AddedBy { get; set; }
public string Content { g... | 2.326268 | 9e9d77e1199ef326a3caf4c0d4e9d2c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845828 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jdm7dv/Microsoft-Biology-Foundation",
"max_stars_repo_path": ".NET Bio Demos - UCSD/Introduction to VS.NET/Calculator/Calculator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165048"
} | starcoder | <reponame>jdm7dv/Microsoft-Biology-Foundation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Calculator
{
public class Calculator
{
public int Add(int x, int y)
{
return x + y;
}
public int Subtract(int x, int y)
... | 2.883794 | e8082fe8cb1329e9535a2ec3a3e72801 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845829 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "peterdixon/nait",
"max_stars_repo_path": "ProjectEuler/Euler13/Euler13/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165049"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//Work out the first ten digits of the following sum of one hundred 50 digit numbers.
namespace Euler13
{
class Program
{
static void Main(string[] args)
{
//The plan... | 3.627883 | aa34c6834bea35a0b38313b404c973f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845830 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devbridge/StandardWebProjectTemplate",
"max_stars_repo_path": "DevBridge.Templates.WebProject.DataEntities/Entities/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165050"
} | starcoder | <reponame>devbridge/StandardWebProjectTemplate
using System.Collections.Generic;
using DevBridge.Templates.WebProject.DataEntities.Enums;
namespace DevBridge.Templates.WebProject.DataEntities.Entities
{
public class Customer : PersistentEntityBase<Customer>
{
public virtual string Name { get; set; }
... | 2.391063 | a667425fe3bcc5ce45a429c7ecbbcaf6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845831 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "folkelib/Folke.Orm",
"max_stars_repo_path": "src/Folke.Elm.Mysql/MySqlDriverWithSettings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165051"
} | starcoder | <filename>src/Folke.Elm.Mysql/MySqlDriverWithSettings.cs<gh_stars>1-10
using System.Data.Common;
using MySql.Data.MySqlClient;
namespace Folke.Elm.Mysql
{
public class MySqlDriverWithSettings : MySqlDriver
{
public IDatabaseSettings Settings { get; private set; }
public MySqlDriverWithSetting... | 2.726072 | d503bc1ca19ee3468f578b1c272b591f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845832 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gpreviatti/FinnacesManagementSystem",
"max_stars_repo_path": "src/Domain/Dtos/Entrance/EntranceResultDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165052"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using Domain.Dtos.Category;
using Domain.Dtos.Entity;
using Domain.Dtos.Wallet;
namespace Domain.Dtos.Entrance
{
public class EntranceResultDto : EntityResultDto
{
public EntranceResultDto()
{
Wallet = new WalletResultDto();... | 2.226114 | 44c24576aee5f3b8ab0aea46ea35dc5f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845833 | {
"extension": "c-sharp",
"max_stars_count": "295.0",
"max_stars_repo_name": "SteeltoeOSS/steeltoe",
"max_stars_repo_path": "src/Messaging/src/MessagingBase/Converter/DefaultTypeMapper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165053"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Runtime.Loader;
namespace Steeltoe.Messaging.Co... | 2.206989 | b1c525a04df4bc7c6c161fbad86bc049 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845834 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "superbee66/AdobeSignCSharpSdk",
"max_stars_repo_path": "v6/src/main/CsharpDotNet2/IO/Swagger/Model/Document.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165054"
} | starcoder | using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace AdobeSignClient.V6.Model
{
/// <summary>
/// </summary>
[DataContract]
public class Document
{
/// <summary>
/// ID of the document. In case of PUT call, this is the only field that is accept... | 2.512089 | c72caf0d59e47793eff1a1397d4adfda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845835 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Bil97/ThingLing",
"max_stars_repo_path": "ThingLing/ThingLing/Shared/Models/BaseModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165055"
} | starcoder | using System.ComponentModel.DataAnnotations;
namespace ThingLing.Shared.Models
{
public class BaseModel
{
public string Id { get; set; }
[Required]
public string Name { get; set; }
[Required, Url]
public string Url { get; set; }
}
}
| 1.891409 | 30faa1a2741ee4c713df77e2430a2263 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845836 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ashishpatelcs/uno",
"max_stars_repo_path": "src/Uno.Foundation/NotImplementedAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165056"
} | starcoder | <reponame>ashishpatelcs/uno
using System;
using System.Collections.Generic;
using System.Text;
namespace Uno
{
[System.AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = false)]
public sealed class NotImplementedAttribute : Attribute
{
}
}
| 1.428097 | 2cf47a9370808f3dfbbca54866393066 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845837 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "angujo/ETL-CDMBuilder",
"max_stars_repo_path": "CDMv4/source/Framework/org.ohdsi.cdm.framework.core/Definitions/CohortDefinition.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165057"
} | starcoder | using System.Collections.Generic;
using System.Data;
using org.ohdsi.cdm.framework.entities.Builder;
using org.ohdsi.cdm.framework.entities.Omop;
using org.ohdsi.cdm.framework.shared.Extensions;
namespace org.ohdsi.cdm.framework.core.Definitions
{
public class CohortDefinition : EntityDefinition
{
pub... | 2.129723 | 848a0b3f5e1c56a5896382756d1a03ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845838 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lfpei/PersonalWeb",
"max_stars_repo_path": "PersonalWeb/Exercise/SingleFactory/CalcFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165058"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exercise
{
enum CalcType
{
Add = 1,
Subtract = 2
}
class CalcFactory
{
public ICalcInterFace CerateCalcIntance(CalcType calcType)
{
... | 2.957944 | 04479348d6c1b5e0161a0496fa0ad3fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845839 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ganchito55/ACMUsalBot",
"max_stars_repo_path": "ACMBot/Controllers/MessagesController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165059"
} | starcoder | <reponame>ganchito55/ACMUsalBot<gh_stars>1-10
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using Microsoft.Bot.Connector;
namespace ACMBot
{
[BotAuthentication]
public class MessagesController : ApiController
{
/// <... | 2.584116 | 41e645e04b8970af43e3cd3aa62c6570 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845840 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "felipealves/microservices-dotnet6",
"max_stars_repo_path": "FelipeShopping/FelipeShopping.CarrinhoAPI/Data/ValueObjects/CarrinhoHeaderVO.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165060"
} | starcoder | using FelipeShopping.CarrinhoAPI.Model.Base;
namespace FelipeShopping.CarrinhoAPI.Config.ValueOjects
{
public class CarrinhoHeaderVO : BaseEntity
{
public string UsuarioId { get; set; }
public string CodigoCupom { get; set; }
}
}
| 1.413887 | f8949d540f3b4443561af57c0fe1e1fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845841 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "phelow/Chromesthesia",
"max_stars_repo_path": "Assets/EnemyAI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165061"
} | starcoder | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class EnemyAI : MonoBehaviour
{
[SerializeField]
private Rigidbody2D m_rigidbody;
[SerializeField]
private float m_force;
[SerializeField]
private float m_evadeRatio;
private static GameObject m_player... | 2.269658 | e1f949bf283b4a2c6e5f88481307a3d6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845842 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "piddle/Piddle.EntityFramework.DisconnectedRepo",
"max_stars_repo_path": "Piddle.EntityFramework.DisconnectedRepo.TestingArea/ManualContext/ManualBillEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165062"
} | starcoder | using Piddle.EntityFramework.DisconnectedRepo.TestingArea.EntityBase;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Piddle.EntityFramework.DisconnectedRepo.TestingArea.ManualContext
{
[Table("Bill", Schema = "dbo")]
public class ManualBillEntity : BillE... | 2.157377 | 6dcfd0b5ea9480a7490b2b5d6f263094 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845843 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stefanMinch3v/CarDiaryX",
"max_stars_repo_path": "src/CarDiaryX.Api/CarDiaryX.Domain/Common/Entity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165063"
} | starcoder | <reponame>stefanMinch3v/CarDiaryX<filename>src/CarDiaryX.Api/CarDiaryX.Domain/Common/Entity.cs
using System;
using System.Collections.Generic;
namespace CarDiaryX.Domain.Common
{
public abstract class Entity<TKey> where TKey : IEquatable<TKey>
{
private readonly IDictionary<string, object> entityDynam... | 2.863691 | a45da44b54076abd7e68c6df3c7d1b64 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845844 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "uk-gov-mirror/defra.prsd-weee",
"max_stars_repo_path": "src/EA.Weee.RequestHandlers/AatfReturn/ObligatedSentOn/AddObligatedSentOnHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165064"
} | starcoder | namespace EA.Weee.RequestHandlers.AatfReturn.ObligatedSentOn
{
using EA.Prsd.Core.Mediator;
using EA.Weee.Domain.AatfReturn;
using EA.Weee.RequestHandlers.Security;
using EA.Weee.Requests.AatfReturn.Obligated;
using System.Collections.Generic;
using System.Threading.Tasks;
public class Add... | 1.753909 | 3726bfdf2fda257b75a27ef0509c4453 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845845 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "keinich/WorldSim",
"max_stars_repo_path": "Assets/TerrainGeneration/Editor/GraphView/Nodes/TextureField.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165065"
} | starcoder | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEditor.UIElements;
using UnityEngine;
using UnityEngine.UIElements;
public class TextureField {
private class TextureHolderHack : ScriptableObject {
public Texture2D texture;
}
Action<Texture... | 2.259522 | 0957373153975a8fb3024a8f4b1904af |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845846 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kapasifulop/minecraftservercreator",
"max_stars_repo_path": "minecraftservercreator/server_settings.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165066"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Management;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace mcsc
{
public partial class server_settings : Fo... | 2.187534 | 46b7625d5147ab9ca3af50ec7d94929f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845847 | {
"extension": "c-sharp",
"max_stars_count": "51.0",
"max_stars_repo_name": "Hitcents/iOS4Unity",
"max_stars_repo_path": "Assets/iOS4Unity/Marshalers/NSUrlMarshaler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165067"
} | starcoder | <filename>Assets/iOS4Unity/Marshalers/NSUrlMarshaler.cs
using System;
using System.Runtime.InteropServices;
namespace iOS4Unity
{
public class NSUrlMarshaler : ICustomMarshaler
{
private static readonly NSUrlMarshaler _instance = new NSUrlMarshaler();
public static ICustomMarshaler GetInstanc... | 2.661905 | 36d623b08191e68d65f72d39db3aa074 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845848 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "thedejaware/ShoppingManagement",
"max_stars_repo_path": "src/Services/Basket/Basket.Infrastructure/InfrastructureServiceRegistration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165068"
} | starcoder | using Basket.Application.Contracts.Persistence;
using Basket.Infrastructure.Repositories;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Basket.Infra... | 1.827914 | bab15372b191835faee4707aae7e23cb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845849 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Devsquares/AdlerZentrum-BackEnd",
"max_stars_repo_path": "Domain/Models/AdlerCardsSubmissionsForStaffModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165069"
} | starcoder | using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Domain.Models
{
public class AdlerCardsSubmissionsForStaffModel
{
public int AdlerCardsSubmissionsId { get; set; }
public StudentsModel Student { get; set; }
public Level Level { get; se... | 1.845281 | 310bd4f9c5bb795868e5b07ae3452e98 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845850 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qiuhaotc/MusicInfoCompletion",
"max_stars_repo_path": "src/MusicInfoCompletion.WindowsClient/ViewModels/MusicFilesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165070"
} | starcoder | <filename>src/MusicInfoCompletion.WindowsClient/ViewModels/MusicFilesViewModel.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Input;
using... | 2.31893 | 2918a60f4a10a635bcab5f2cd7e6004d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845851 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Const-me/SkyFM",
"max_stars_repo_path": "SkyFM/Utils/ViewModels/DelayLoadedViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165071"
} | starcoder | using System;
using GalaSoft.MvvmLight;
using System.Threading.Tasks;
namespace SkyFM.ViewModel
{
/// <summary>Possible delay loading status of an object. Could be used as a VisualState</summary>
public enum eDelayLoadedStatus: byte
{
NotFetched,
RequestSent,
Fetched,
Failed,
}
public abstract class Del... | 2.61017 | 9958eac34fcb2ff2d781ba10e4790b70 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845852 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "smirnov-coder/startup-creative-agency-razor-pages",
"max_stars_repo_path": "src/Web.RazorPages/Pages/Shared/_ContactsPartial.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165072"
} | starcoder | <gh_stars>1-10
@model ContactsViewModel
@{
if (Model != null)
{
ViewData[Model?.Address?.Name] = "fa fa-map-marker fa-2x";
ViewData[Model?.Phone?.Name] = "fa fa-mobile-phone fa-2x";
ViewData[Model?.Email?.Name] = "contacts__icon-mail fa fa-envelope";
}
}
<section class="contacts co... | 2.008328 | 9ccdea172b1e77d5dde26505fce13ea1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845853 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "matteocontrini/expelliarbusbot",
"max_stars_repo_path": "src/Bot/BotConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165073"
} | starcoder | using NetEscapades.Configuration.Validation;
namespace Bot
{
public class BotConfiguration : IValidatable
{
public string BotToken { get; set; }
public void Validate()
{
if (string.IsNullOrWhiteSpace(this.BotToken))
{
throw new SettingsValidatio... | 2.326253 | 90b5e59ea74b3c46daf215826f55f41d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845854 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "EduardoPires/AspNetInterop",
"max_stars_repo_path": "src/AspNetInterop.UI.Core/Models/Customers/Customer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165074"
} | starcoder | using System;
namespace AspNetInterop.UI.Core.Models.Customers
{
public class Customer
{
public Guid Id { get; set; }
public string Name { get; set; }
public int Age { get; set; }
}
} | 1.827296 | 244492f4f75e86ae4f2a84abe9cf8d82 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845855 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "imetelyov/ggj_rabbitshome-dev",
"max_stars_repo_path": "GGJ_RabbitsHome/Assets/Plugins/QuasarGames/Utils/Utils.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165075"
} | starcoder | using UnityEngine;
using System.Collections.Generic;
namespace QuasarGames.Utils
{
public static class Quasarlog
{
public static void Log(object message)
{
#if UNITY_EDITOR
Debug.Log(message);
#endif
}
}
public static class Extensions
{
private static ... | 2.799938 | 8e8a29951c7d905623aec5eb6eb66ec4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845856 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vishal-sharma/Beef",
"max_stars_repo_path": "templates/Beef.Template.Solution/content/Company.AppName.Database/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165076"
} | starcoder | using Beef.Database.Core;
namespace Company.AppName.Database
{
/// <summary>
/// Represents the <b>database utilities</b> program (capability).
/// </summary>
public static class Program
{
/// <summary>
/// Main startup.
/// </summary>
/// <param name="args">The sta... | 2.225956 | e8bcf4e877add3c2fbd75ecaf3dc6ae0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845857 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tjmaynes/test-driven-aspdotnetcore",
"max_stars_repo_path": "tests/ShoppingService.Core.Tests/Data/CartServiceFixture.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165077"
} | starcoder | <reponame>tjmaynes/test-driven-aspdotnetcore<filename>tests/ShoppingService.Core.Tests/Data/CartServiceFixture.cs<gh_stars>1-10
using System;
using ShoppingService.Core.Common;
using ShoppingService.Core.Cart;
namespace ShoppingService.Core.Tests.Data
{
public class CartServiceFixture
{
public ICartSer... | 1.918834 | f865e267241a2d8592016b2f04fe8fb1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845858 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "XINCGer/BerryMatchThree",
"max_stars_repo_path": "Assets/_Yurowm/Match-Tree Engine/Scripts/Editor/UIAssistantEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165078"
} | starcoder | <reponame>XINCGer/BerryMatchThree
using UnityEngine;
using System.Collections.Generic;
using UnityEditor;
using System.Linq;
using EditorUtils;
[CustomEditor(typeof(UIAssistant))]
public class UIAssistantEditor : MetaEditor {
UIAssistant main;
UIAssistant.Page edit = null;
public override void OnInspecto... | 1.687123 | ddbdf561ad35d761c552d035f04383ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845859 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "codemonkey85/my-blazor-workshop",
"max_stars_repo_path": "00-Starting-point/BlazingPizza.Shared/PizzaTopping.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165079"
} | starcoder | <filename>00-Starting-point/BlazingPizza.Shared/PizzaTopping.cs
namespace BlazingPizza
{
public class PizzaTopping
{
public Topping Topping
{
get; set;
}
public int ToppingId
{
get; set;
}
public int PizzaId
{
... | 1.657352 | aacef3d18345042bdef0814e1cad4aba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845860 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "green224/IzPhysBone",
"max_stars_repo_path": "unity/Assets/IzBone/Common/Editor/Field/SimpleCurve.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165080"
} | starcoder | <gh_stars>0
using System;
using UnityEngine;
using UnityEditor;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace IzBone.Common.Field {
[CustomPropertyDrawer(typeof(SimpleCurve))]
sealed class SimpleCurveEditor : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty pr... | 1.835687 | 8abcc47889aec855d9a024b5ded3dd0b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845861 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "KylerM/CupCake",
"max_stars_repo_path": "CupCake.Core/CupCakeService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165081"
} | starcoder | <filename>CupCake.Core/CupCakeService.cs<gh_stars>0
using System.ComponentModel.Composition;
using MuffinFramework.Services;
namespace CupCake.Core
{
public abstract class CupCakeService : CupCakeService<object>
{
}
[InheritedExport(typeof(IService))]
public abstract class CupCakeService<TProtocol... | 1.710058 | aa8f3e0dba13ad28feaa5f64126f613c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845862 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amoretspero/dotnetcore-react-redux",
"max_stars_repo_path": "Controllers/UsersController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165082"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensi... | 2.533163 | 0ff605a98f37ec31d9563ff5cee8effd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845863 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MatheusNCarvalho/Curso-Teste-De-Software",
"max_stars_repo_path": "02 - TDD/tests/NerdStore.Vendas.Application.Tests/Pedidos/AdicionarItemPedidoCommandTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165083"
} | starcoder | <reponame>MatheusNCarvalho/Curso-Teste-De-Software
using FluentAssertions;
using NerdStore.Vendas.Application.Commands;
using NerdStore.Vendas.Domain;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace NerdStore.Vendas.Application.Tests.Pedidos
{
public class AdicionarItemPe... | 2.187516 | 03000b268f815c0be2cc629bb6c37d03 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845864 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "White-Tents/csharp-rest-api",
"max_stars_repo_path": "MessageBird/Objects/IIdentifiable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165084"
} | starcoder | <filename>MessageBird/Objects/IIdentifiable.cs
namespace MessageBird.Objects
{
/// <summary>
/// Base for identifiable types with a specifcly typed `Id` field.
/// Contravariant, see `IEnumerable` of `T` at http://msdn.microsoft.com/en-us/library/9eekhta0
/// so you can pass more specified instanc... | 2.952482 | 995e9e070c8d7b4369d30daa24e2811e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845865 | {
"extension": "c-sharp",
"max_stars_count": "81.0",
"max_stars_repo_name": "delaneyj/three.net",
"max_stars_repo_path": "code/c#/three.net/Three.Net/Materials/Material.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165085"
} | starcoder | <reponame>delaneyj/three.net<gh_stars>10-100
using Pencil.Gaming.Graphics;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Three.Net.Math;
using Three.Net.Renderers;
using Three.Net.Renderers.GL4;
using Three.Net.Render... | 2.105702 | 8b3e27949c5f6aebdc8028f1e1607908 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845866 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NadiaKaradjova/SoftUni",
"max_stars_repo_path": "C# OOP Basics/Defining Classes Exercises/02 Creating Constructors/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165086"
} | starcoder | <filename>C# OOP Basics/Defining Classes Exercises/02 Creating Constructors/Person.cs
namespace CreatingConstructors
{
class Person
{
public string name;
public int age;
public Person()
{
this.name = "<NAME>";
this.age = 1;
}
public Pers... | 3.436006 | 12c140588c0b763d121bcb33816af9f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845867 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "sjefvanleeuwen/showcase",
"max_stars_repo_path": "src/dapr/dapr.gql.payment/Repositories/OrderItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165087"
} | starcoder | namespace dapr.gql.payment.Repositories
{
/// <summary>
/// This is a Order item. Multiple items form the shopping Order for a customer.
/// </summary>
public class OrderItem {
public OrderItem(int OrderItemId, int CustomerId, int ProductId, int Quantity){
this.OrderItemId = OrderIte... | 2.777284 | 1c8e88a892fbcfa324237072fbc46d3b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845868 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "J-McElroy/service-fabric-demo-estore",
"max_stars_repo_path": "ServiceFabric.Demo.EStore.WebAPI/Profiles/ProductProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165088"
} | starcoder | using AutoMapper;
using ServiceFabric.Demo.EStore.ProductService.Model;
using ServiceFabric.Demo.EStore.WebAPI.Model;
namespace ServiceFabric.Demo.EStore.WebAPI.Profiles
{
public class ProductProfile : Profile
{
public ProductProfile()
{
CreateMap<ApiProduct, Product>().ReverseMap(... | 1.406349 | 1cee0963d3719908cbe0cb495071c62a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845869 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "changweihua/ProjectStudy",
"max_stars_repo_path": "WpfApplication/CapruteImageWindow.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165089"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... | 1.668243 | 07623a2eba2c0b3cebecd2f170287983 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845870 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kazenetu/ConvertCStoTS",
"max_stars_repo_path": "TargetSources/Response/OrderEdit/FindUserNameResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165090"
} | starcoder | <filename>TargetSources/Response/OrderEdit/FindUserNameResponse.cs
using Framework.DataTransferObject.BaseClasses;
namespace DataTransferObjects.Response.OrderEdit
{
public class FindUserNameResponse : ResponseBase<FindUserNameResponse.FindUserNameResponseParam>
{
public FindUserNameResponse()
{
}
... | 2.228604 | 8c49891b9d0d1bd597c4f56f35ddbc1b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845871 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "danpdc/GitHubDashboard",
"max_stars_repo_path": "GitHubDashboard.Web/GitHubDashboard.Web/Features/Login/PostModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165091"
} | starcoder | <filename>GitHubDashboard.Web/GitHubDashboard.Web/Features/Login/PostModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GitHubDashboard.Web.Features.Login
{
public class PostModel
{
public string client_id { get; set; }
public st... | 1.859195 | 8bb013cc11dcd98262d769169940ac7b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845872 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bandarapusatyam/NetworkClient",
"max_stars_repo_path": "NetworkClient-CSharp/DataReceiver.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165092"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NetworkClient
{
internal sealed class DataReceiver
{
private NetworkStream stream = null;
private Thread ... | 2.669507 | c1d2f93e5064a6bbac5eafcef7fff33d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845873 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSMSSTHN/MSDiskManager",
"max_stars_repo_path": "MSDiskManager/Dialogs/DeleteEntityDialog.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165093"
} | starcoder | using MSDiskManager.ViewModels;
using MSDiskManagerData.Data.Entities;
using MSDiskManagerData.Data.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using Sys... | 2.4892 | 71f381d74626bb4f71ad67810e553431 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845874 | {
"extension": "c-sharp",
"max_stars_count": "1520.0",
"max_stars_repo_name": "Matze693/nuke",
"max_stars_repo_path": "source/Nuke.GlobalTool.Tests/cake-scripts/globbing.verified.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165094"
} | starcoder | <filename>source/Nuke.GlobalTool.Tests/cake-scripts/globbing.verified.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Security.Cryptography.X509Certificates;
using System.Xml;
using Nuke.Common;
using Nuke.Common.Execution;
using Nuke.Co... | 1.463198 | 1fe60039b90e25951e2993f4c77cd0f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845875 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "BigWan/BigRouge",
"max_stars_repo_path": "BigRouge/Assets/Scripts/UnitySingleton.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165095"
} | starcoder | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UnitySingleton<T> : MonoBehaviour where T : Component {
private static T s_instance;
public static T Instance {
get {
if (s_instance == null) {
CreateInstance();
... | 2.608079 | 17622abcc635adf76c9f07f187196f97 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845876 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "davek17/Folio",
"max_stars_repo_path": "DK.Folio/DK.Folio.Models/StockTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165096"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DK.Folio.Models
{
public class StockTransaction : Transaction
{
/// <summary>
/// Stock transaction type
/// </summary>
private StockTransactionType tra... | 2.954642 | 0ca0ee642b9ea128087be0f0460b9f93 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845877 | {
"extension": "c-sharp",
"max_stars_count": "328.0",
"max_stars_repo_name": "josephliccini/BuildXL",
"max_stars_repo_path": "Private/CloudStorePlayground/GrpcCopyTesting/CopyShared/WriteRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165097"
} | starcoder | using System;
using Grpc.Core;
namespace Helloworld
{
public class WriteRequest
{
public CopyCompression Compression;
public string FileName;
public Metadata ToMetadata ()
{
Metadata headers = new Metadata();
headers.Add("compression", ... | 2.737898 | ce741f92311e77f5e1a6d5b6d234b02c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845878 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "awelburn/FubuCsProjFile",
"max_stars_repo_path": "src/FubuCsProjFile/Templating/Runtime/GemReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165098"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using FubuCore;
using FubuCsProjFile.Templating.Planning;
namespace FubuCsProjFile.Templating.Runtime
{
public class GemReference : ITemplateStep
{
public static readonly string DefaultFeed = "source 'http://rubygems.org'";
public ... | 2.816033 | 57b979da526963cfc47909e512301a37 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845879 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bg0jr/Maui",
"max_stars_repo_path": "src/Core/Maui.Core/Shell/Forms/IsinArgumentAttribute.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165099"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using Blade;
using Maui.Shell.Forms;
using Blade.Shell.Forms;
namespace Maui.Shell.Forms
{
/// <summary>
/// Argument value specifies Isin of a stock.
/// </summary>
public class IsinArgumentAttribute : ArgumentAttribute
{
... | 1.923292 | 3b1ee0211ca717303f266060fc9af885 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845880 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alanta/bolt-comments",
"max_stars_repo_path": "api/Comments/ListComments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165100"
} | starcoder | <reponame>alanta/bolt-comments
using Bolt.Comments.Contract;
using System;
using System.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Mic... | 2.266549 | 4dcd49726e965f446d962e8e3f0e90b5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845881 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akademischerverein/ava",
"max_stars_repo_path": "src/AV.AvA.Model/Person.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165101"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using NodaTime;
namespace AV.AvA.Model;
public class Person
{
public Geschlecht Geschlecht { get; set; }
public string? PraefixTitel { get; set; }
public string Vorname { get; set; } = default!;
public string? Zweitnamen { get; set... | 1.599322 | 94f43688e806fff114ff84092bc4f7ac |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845882 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bitpokerio/BitPoker.Models",
"max_stars_repo_path": "src/Hands/Hand.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165102"
} | starcoder | <filename>src/Hands/Hand.cs<gh_stars>0
using System;
using System.Collections.Generic;
using BitPoker.Models.Deck;
namespace BitPoker.Models.Hands
{
/// <summary>
/// Rpresents a certain poker hand.
/// </summary>
public abstract class Hand : IComparable<Hand>, IEnumerable<Card>
{
private HandFamily... | 3.543709 | 6f46947bf9ba4a92f3716c29d48d85e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845883 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Iliyan7/SoftUni",
"max_stars_repo_path": "CSharpOOPBasics/CSharpOOPBasicsExam-16-July-2017/CSharpOOPBasicsExam-16-July-2017/Models/Providers/PressureProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165103"
} | starcoder | using System.Text;
//namespace CSharpOOPBasicsExam_16_July_2017
//{
class PressureProvider : Provider
{
public PressureProvider(string id, double energyOutput)
: base(id, energyOutput)
{
this.EnergyOutput *= 1.0 + (50 / 100.0);
}
public override string ToString()
{
var sb... | 2.99891 | 8ebcbda797d3c18ac1261e9fc4031c60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845884 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vitorbellotto/LoadProfileGenerator",
"max_stars_repo_path": "Common/CalcDto/ICalcAbleObjectDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165104"
} | starcoder | using System.Collections.Generic;
using Automation.ResultFiles;
using JetBrains.Annotations;
namespace Common.CalcDto {
public interface ICalcAbleObjectDto {
[NotNull]
HouseholdKey HouseholdKey { get; }
[NotNull]
string Name { get; }
[NotNull]
Dictionary<int, Calc... | 1.764494 | f428620723595ad7f20d485212c13d84 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845885 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brumiros/AnnoSavegameViewer",
"max_stars_repo_path": "AnnoSavegameViewer/Structures/Savegame/Generated/Empty/FightIdToFight.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165105"
} | starcoder | <filename>AnnoSavegameViewer/Structures/Savegame/Generated/Empty/FightIdToFight.cs
using AnnoSavegameViewer.Serialization.Core;
using System.Collections.Generic;
namespace AnnoSavegameViewer.Structures.Savegame.Generated {
public class FightIdToFight {
}
} | 1.386341 | 209ba66c99d9ccf9735eabb5caff0602 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845886 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "mastertnt/XRay",
"max_stars_repo_path": "XControls/Core/Converters/ValidationToBrushConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165106"
} | starcoder | <reponame>mastertnt/XRay
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace XControls.Core.Converters
{
/// <summary>
/// This class converts two booleans (IsValid and HasBeenEdited) to a color code.
/// Green for HasBeenEdited = true and IsV... | 2.600218 | cc8b3d4bd5c5492c5aa381fc6ca10616 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845887 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidChristiansen/MassTransit",
"max_stars_repo_path": "src/MassTransit/Serialization/DotNotXmlMessageSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165107"
} | starcoder | // Copyright 2007-2008 The Apache Software Foundation.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless re... | 2.092067 | d83f044c6bd4ee0e6450a4449080414e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845888 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "EasyOC/EasyOC",
"max_stars_repo_path": "src/Modules/EasyOC.OrchardCore.OpenApi/Services/Interfaces/IRolesAppService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165108"
} | starcoder | <filename>src/Modules/EasyOC.OrchardCore.OpenApi/Services/Interfaces/IRolesAppService.cs
using EasyOC.OrchardCore.OpenApi.Dto;
using OrchardCore.Security;
using OrchardCore.Security.Permissions;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace EasyOC.OrchardCore.OpenApi.Services
{
public ... | 1.895371 | a847f096246af75c68de4b47f8ea1dfa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845889 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chumpon-asaneerat/DMT.TA.TODv3",
"max_stars_repo_path": "00.NLib/NLib/Core/Commons/Sorts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165109"
} | starcoder | <filename>00.NLib/NLib/Core/Commons/Sorts.cs
#region History
#if HISTORY_COMMENT
// <[History]>
Update 2010-01-23
=================
- All sort related classes ported from GFA Library GFA37 tor GFA38v3
===================================================================================================================... | 2.284311 | bca647bd0ff6218c00aeb41661ee707f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845890 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "BioSparkDreamer/Hellven",
"max_stars_repo_path": "HELLVEN/Assets/Scripts/UI and Menus/GameOverMenu.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165110"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.EventSystems;
public class GameOverMenu : MonoBehaviour
{
public static GameOverMenu instance;
[Header("Game Over Menu Varibales")]
public GameObject[] buttons;
... | 1.888183 | ca08c613c3e5e653329b7c612970c184 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845891 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "sctrl/WebApiToTypeScript",
"max_stars_repo_path": "src/WebApiToTypeScript/Interfaces/InterfaceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165111"
} | starcoder | using Mono.Cecil;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using WebApiToTypeScript.Block;
using WebApiToTypeScript.Types;
namespace WebApiToTypeScript.Interfaces
{
public class InterfaceService : ServiceAware
{
private readon... | 2.184876 | 93256b1fda66ba4e10142fa7f596aafd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845892 | {
"extension": "c-sharp",
"max_stars_count": "700.0",
"max_stars_repo_name": "busbina/PdfPig",
"max_stars_repo_path": "src/UglyToad.PdfPig.DocumentLayoutAnalysis/Export/PAGE/PageXmlDocument.PageXmlTextStyle.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165112"
} | starcoder | namespace UglyToad.PdfPig.DocumentLayoutAnalysis.Export.PAGE
{
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Serialization;
public partial class PageXmlDocument
{
/// <summary>
/// Monospace (fixed-pitch... | 2.716654 | d0f73f07889e22c719dbcec2b838ded9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845893 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "anton-iades/graphql-samples",
"max_stars_repo_path": "movie-reviews/src/ReviewService.Api/Models/Movie.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165113"
} | starcoder | namespace ReviewService.Api.Models
{
/// <summary>
/// This is the backing model for the GraphQL type Movie.
/// The full type definition exists in the Movie service but if we want to be able to reference or extend this type,
/// we need to define a stub in this service containing only its @key fields.
... | 2.193749 | ba3e5f98b47196a680593b80066a998d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845894 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "heqinghua/lottery-code-qq-814788821-",
"max_stars_repo_path": "YtgProject/Utg.ServerWeb.Admin/pages/bank/EditBankBaseSetting.aspx.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165114"
} | starcoder | <reponame>heqinghua/lottery-code-qq-814788821-<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Ytg.BasicModel;
using Ytg.Comm;
using Ytg.Core.Service;
namespace Utg.ServerWeb.Admin.pages.bank
{
public ... | 1.773525 | de86d61da665e71717cb6519ec1eddd9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845895 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "darfink/iced",
"max_stars_repo_path": "src/csharp/Intel/Generator/Enums/InstructionInfo/FlowControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165115"
} | starcoder | <reponame>darfink/iced
// SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
namespace Generator.Enums.InstructionInfo {
[Enum("FlowControl", Documentation = "Control flow", Public = true)]
enum FlowControl {
[Comment("The next instruction that will be executed is the next ins... | 2.179231 | acef2d4e4775df36137d411ce372e033 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845896 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "flour/flourlibs",
"max_stars_repo_path": "src/Flour.RabbitMQ/Options/QosOptions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165116"
} | starcoder | <reponame>flour/flourlibs
namespace Flour.RabbitMQ.Options
{
public class QosOptions
{
public bool IsGlobal { get; set; }
public uint PrefetchSize { get; set; }
public ushort PrefetchCount { get; set; } = 1;
}
}
| 1.307204 | 7dca468f17b8b780866773113d6b0288 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845897 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "gpe0/csharp-exercises",
"max_stars_repo_path": "exercises/ex027/ex027/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165117"
} | starcoder | using System;
namespace ex027
{
class Program
{
static void Main(string[] args)
{
//Arrays | They are objects used to store multiple values
int[] a1 = new int[5]; // i created a array that stores 5 integer values.
a1[0] = 3; //the first index is 0, not 1.
... | 3.663538 | 71ab5631c1cc8d5d1f30687eca6c8a2d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845898 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AdemCatamak/alternatives",
"max_stars_repo_path": "Alternatives.ReflectionExtensionsTests/TryGetFieldNameTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165118"
} | starcoder | using Alternatives.ReflectionExtensions;
using Xunit;
namespace Alternatives.ReflectionExtensionsTests
{
public class TryGetFieldNameTest
{
#region TestModel
private class DummyClass
{
public string StringField { get; set; }
public int IntField { get; set; }
... | 2.717541 | 5715149776ec2c4f1e08fd0f1dd31494 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845899 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Droppers/AssemblyAnalyzer",
"max_stars_repo_path": "tests/RefScout.Analyzer.Tests/FakeEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165119"
} | starcoder | using System;
using RefScout.Analyzer.Helpers;
namespace RefScout.Analyzer.Tests;
public class FakeEnvironment : IEnvironment
{
public bool Is64BitOperatingSystem { get; set; } = true;
public OperatingSystem OSVersion { get; set; } = new(PlatformID.Win32NT, Version.Parse("10.0"));
public string GetFolde... | 2.410736 | 94268fb6c9462407391d7e1421b29bd7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845900 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "yretenai/Snuggle",
"max_stars_repo_path": "Snuggle.Core/Implementations/SpriteRenderer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165120"
} | starcoder | using System;
using Snuggle.Core.IO;
using Snuggle.Core.Meta;
using Snuggle.Core.Models;
using Snuggle.Core.Models.Objects.Graphics;
using Snuggle.Core.Models.Objects.Math;
using Snuggle.Core.Models.Serialization;
using Snuggle.Core.Options;
namespace Snuggle.Core.Implementations;
[ObjectImplementation(UnityClassId.... | 1.959671 | 2d0d4dfa48190206f7009860399d3156 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845901 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jvanderhyde/unitymal",
"max_stars_repo_path": "Assets/SaveLoad.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165121"
} | starcoder | //Load and save the Dollhouse world
//Created by <NAME>, 12 January 2022
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System;
using UnityEngine;
using Mal;
public class SaveLoad : MonoBehaviour
{
public List<GameObject> galleryPrefabs = new List<GameObject>();
void Awa... | 2.444191 | acf5b4301f43e21d9a432902957b832a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845902 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bhbk/3as8kpsf",
"max_stars_repo_path": "Arch(C&C++)/5ef580ace13a6bbbbea9ee42b2c334ec/read.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165122"
} | starcoder | using Microsoft.Win32;
using System;
using System.Collections;
using System.Diagnostics;
using System.Text;
namespace Bhbk.Lib.Msft.Win.Sys.Registry
{
public class Reader
{
private static readonly RegistryKey localMachine = Microsoft.Win32.Registry.LocalMachine;
private static readonly Registry... | 2.426054 | a67f444152c92d3dc542606a8b0a5dad |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845903 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hey-red/OEmbed",
"max_stars_repo_path": "OEmbed/Abstractions/IJsonSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165123"
} | starcoder | namespace HeyRed.OEmbed.Abstractions
{
public interface IJsonSerializer : ISerializer
{
}
} | 1.213439 | 832c7881385f7d4d691f1cd9d0ee6c79 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845904 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "QotoQot/Octospace",
"max_stars_repo_path": "Core/Model/Services/Global/AppearanceService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165124"
} | starcoder | using System;
namespace Core.Model.Services
{
public class AppearanceService
{
public AppearanceService()
{
}
}
}
| 1.322189 | c6465a8ddd48815c9f22b775d40f1251 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845905 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "CraniumSoftware/SmartAnalytics",
"max_stars_repo_path": "Assets/SmartAnalytics/Code/SmartAnalyticsView.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165125"
} | starcoder | <reponame>CraniumSoftware/SmartAnalytics
// Copyright (c) 2014 Cranium Software
using UnityEngine;
using System.Collections;
public class SmartAnalyticsView : MonoBehaviour
{
public string Name = "(unnamed)";
public string TrackingID = null;
void Start()
{
if( !string.IsNullOrEmpty( TrackingID ) )
{
Smar... | 1.590873 | 262f0faaa4258b0b3a2dee431957f65b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845906 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "leoncriswxy/StarForce",
"max_stars_repo_path": "Assets/GameFramework/Scripts/Editor/ResourceEditor/ResourceEditor.ResourceFolder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165126"
} | starcoder | <reponame>leoncriswxy/StarForce<gh_stars>10-100
//------------------------------------------------------------
// Game Framework
// Copyright © 2013-2020 <NAME>. All rights reserved.
// Homepage: https://gameframework.cn/
// Feedback: mailto:<EMAIL>
//------------------------------------------------------------
using... | 1.931714 | 525da60569baae627fd0d17c9fb3927b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845907 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "watsug/pcsc-sharp",
"max_stars_repo_path": "Examples/GetReaderAttrib/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165127"
} | starcoder | <filename>Examples/GetReaderAttrib/Program.cs
using System;
using System.Collections.Generic;
using PCSC;
namespace GetReaderAttrib
{
public class Program
{
public static void Main() {
var contextFactory = ContextFactory.Instance;
using (var context = contextFactory.... | 3.145417 | 64702009dc3a4ad0a6d66fe7191a489a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845908 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Otaku-Projects/CardSystem-Core",
"max_stars_repo_path": "WebAPI/Migrations/20211230080455_systemUserRole.20211230.4.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165128"
} | starcoder | using Microsoft.EntityFrameworkCore.Migrations;
namespace WebAPI.Migrations
{
public partial class systemUserRole202112304 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_AspNetRoleClaims_Roles... | 1.620096 | c78121f9f767e6f71089d5883e0c9074 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845909 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "skunklab/virtualrtu",
"max_stars_repo_path": "src/VirtualRtu.Communications/Pipelines/PipelineBuilder.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165129"
} | starcoder | using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using SkunkLab.Channels;
using VirtualRtu.Configuration;
namespace VirtualRtu.Communications.Pipelines
{
public class PipelineBuilder : IPipelineBuilder
{
private VConfig config;
private IChannel input;
private reado... | 2.355622 | e3eda3a02abedb27aba375d5165120e1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845910 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/Engine/GameModeBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165130"
} | starcoder | <gh_stars>1-10
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warni... | 2.006005 | 89d8bf051eda33ed9f019e4548b6b534 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8845911 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ViceIce/ODataViewer",
"max_stars_repo_path": "Intellisense/IntellisenseControl.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165131"
} | starcoder | <reponame>ViceIce/ODataViewer
namespace DataSrviceViewer
{
partial class IntellisenseControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources bei... | 1.641716 | 55612a0b19660fe89454a0846802ee40 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.