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 | 8846340 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "yeetrium/800craft",
"max_stars_repo_path": "fCraft/Commands/ChatCommands.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165560"
} | starcoder | // Copyright 2009-2013 <NAME> <<EMAIL>>
using System;
using System.Collections.Generic;
using System.Linq;
namespace fCraft {
internal static class ChatCommands {
public static void Init() {
CommandManager.RegisterCommand( CdSay );
CommandManager.RegisterCommand( CdSta... | 1.981381 | 577fb4df497ef3e6843bcfdd4aba1ec5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PixelBrownieSoftware/Bounty-Hunter-III",
"max_stars_repo_path": "Assets/Editor/ed_character.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165561"
} | starcoder | <reponame>PixelBrownieSoftware/Bounty-Hunter-III
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using System.IO;
public static class ReorderableListUtility
{
//
// Copyright (c) 2016 <NAME>.
// Licensed under the Apache Lice... | 2.102098 | d1ad16064cd9bb596338ee6f7a846d1f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846342 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csengineer13/homeside-unofficial-team-stack-ranking",
"max_stars_repo_path": "HomesideHeroes/Models/PluralsightCourseCompletion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165562"
} | starcoder | using FileHelpers;
using HomesideHeroes.Models.Base;
namespace HomesideHeroes.Models
{
[IgnoreFirst(1)]
[DelimitedRecord(",")]
public class PluralsightCourseCompletion : GenericFilterablePluralsightEntity<PluralsightCourseCompletion>
{
public PluralsightCourseCompletion()
: base("c... | 1.729296 | 6845ad32f48c52d3f8cf78f75b721a14 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846343 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gestotudor/Mvc_Hotel_Booking",
"max_stars_repo_path": "BookingSystem.WebUI/Controllers/HotelController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165563"
} | starcoder | using BookingSystem.Core;
using BookingSystem.Core.Interfaces;
using BookingSystem.Domain.WebUI;
using BookingSystem.Domain.WebUI.Definitions;
using BookingSystem.Domain.WebUI.Filters;
using BookingSystem.Domain.WebUI.Hotel;
using BookingSystem.Service.Services;
using BookingSystem.WebUI.Models.GridRequest;
using Book... | 2.099486 | 861af3db5ef4b6f8f133dcdee6453fbf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846344 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MindWrapper/ReSharper.MinimalPluginTemplate",
"max_stars_repo_path": "ReSharper.MinimalPluginTemplate/content/test/src/TestEnvironment.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165564"
} | starcoder | <filename>ReSharper.MinimalPluginTemplate/content/test/src/TestEnvironment.cs
using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
[assembly: RequiresSTA]
[ZoneDefinit... | 0.964604 | 58e493677f1ee2406aa4eca00583a6c5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "triplebeta/SpecByExampleExtension",
"max_stars_repo_path": "SpecByExample.Common/Controls/WebTable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165565"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenQA.Selenium;
namespace SpecByExample.Common.Controls
{
/// <summary>
/// Adapter control for standard HTML Tables.
/// </summary>
/// <remarks>
/// For specific types of tables such as Infra... | 2.598173 | da7affb8f515f116715df361b2105fa3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kurokurogamer/MAKINAS",
"max_stars_repo_path": "MACHINA/Assets/Scripts/UI/LockOnSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165566"
} | starcoder | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class LockOnSystem : MonoBehaviour
{
[SerializeField, Tooltip("レイヤーマスク")]
private LayerMask _layer = 0;
// 現在のターゲット名
private GameObject _target = null;
[SerializeField, Tooltip("プレイ... | 2.068853 | 0d234cdfcd049fd6e8399aded1d9a10a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846347 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "slyusen/ZenstAcademy",
"max_stars_repo_path": "Mapping/MappingProfile.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165567"
} | starcoder | <reponame>slyusen/ZenstAcademy<gh_stars>0
using ZenstAcademy.Resources;
using AutoMapper;
using ZenstAcademy.Models;
namespace ZenstAcademy.Mapping
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<Student, StudentResource>();
CreateMap<Course... | 1.500077 | fb9d3d68560825c0f91571a128f8678a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kaasmdfs/RfidOpcLib",
"max_stars_repo_path": "Structures/LocalCoordinate.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165568"
} | starcoder | using System;
using Workstation.ServiceModel.Ua;
namespace RfidOpcLib.Structures
{
[DataTypeId("ns=3;i=6122")]
[BinaryEncodingId("ns=3;i=5015")]
public class LocalCoordinate : Structure
{
public double X { get; set; }
public double Y { get; set; }
public double Z { get; set; }
... | 2.259438 | 8fa00af5c5aa8d68f9fb3e74841253ec |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846349 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MihaMarkic/Cake.ImageMagick",
"max_stars_repo_path": "src/Cake.ImageMagick/PropertyTypes/Crop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165569"
} | starcoder | <filename>src/Cake.ImageMagick/PropertyTypes/Crop.cs
namespace Cake.ImageMagick
{
public struct Crop
{
public Geometry Geometry;
public bool EqualyDivide;
public bool SetAsViewport;
public Crop(Geometry geometry, bool equalyDivide = false, bool setAsViewport = false)
{
... | 3.035724 | 8c7725bebc30ccf0e6088992d198d239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846350 | {
"extension": "c-sharp",
"max_stars_count": "1178.0",
"max_stars_repo_name": "RisesunStudios/Terminals",
"max_stars_repo_path": "Source/Terminals.Plugins.Putty/SshOptionsConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165570"
} | starcoder | using Terminals.Common.Connections;
namespace Terminals.Plugins.Putty
{
internal class SshOptionsConverter : OptionsConverterTemplate<SshOptions>, IOptionsConverter
{
protected override void FromConfigFavorite(FavoriteConfigurationElement source, SshOptions options)
{
opt... | 2.040433 | e7a32ec24d805d6dbbf05d63ec97d239 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846351 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ptupitsyn/talks",
"max_stars_repo_path": "DifferentTakeOnDistributedApplicationsWithApacheIgnite/code/Benchmarks/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165571"
} | starcoder | using BenchmarkDotNet.Running;
using Benchmarks;
BenchmarkRunner.Run<CacheGetRedisIgnite>();
| 0.412995 | b5115b09d7b77af4a0fef8baf3f9f6b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "D-D-Development/StatZilla",
"max_stars_repo_path": "StatZilla_UIUX/Source/Forms/MethodSelect.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165572"
} | starcoder |
namespace StatZilla.Forms
{
partial class MethodSelect
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.014949 | 3da5e6f7b8286bdd329208f29ea91050 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846353 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Alkalinee/CodeElements.NetworkCallTransmissionProtocol",
"max_stars_repo_path": "CodeElements.NetworkCall.Test/EventTransmissionBasicTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165573"
} | starcoder | <reponame>Alkalinee/CodeElements.NetworkCallTransmissionProtocol
using System;
using System.Threading.Tasks;
using Xunit;
namespace CodeElements.NetworkCall.Test
{
public class EventTransmissionBasicTests : NetworkCallTestBase<IBasicTestEvents>
{
private bool _dataSent;
private int _sendCounte... | 1.960009 | 113e54ced59fe6ef1b73cbf23578f999 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846354 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "Luxoft/BSSFramework",
"max_stars_repo_path": "src/_SampleSystem/_Tests/SampleSystem.IntegrationTests/Auth/PrincipalTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165574"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Framework.Authorization.Domain;
using Framework.Authorization.Generated.DTO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SampleSystem.IntegrationTests.__Support.TestData;
usin... | 1.76172 | 3acd0cdc48e82fe4a4bd8ab92ce5104c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kyohaifeng/static-mock",
"max_stars_repo_path": "src/StaticMock.Tests/ReturnsTests/GenericSetupMockReturnsTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165575"
} | starcoder | using System.Threading.Tasks;
using NUnit.Framework;
namespace StaticMock.Tests.ReturnsTests
{
[TestFixture]
public class GenericSetupMockReturnsTests
{
[Test]
public void TestGenericSetupReturnsWithTestMethodReturn1WithoutParameters()
{
var originalResult = TestStaticC... | 2.608414 | 5f2ab7590e119e927e33cdfe83f054c3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "baguio/SSC-AI",
"max_stars_repo_path": "SSC-AI/MainForm_OnSSCParsed_TreeUpdater.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165576"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AHS.SSC {
using Parser;
public partial class MainForm {
private void InitOnSSCParsedTreeUpdater () {
OnSSCParsed += MainForm_OnSSCParsed... | 2.758368 | f034114a6d863a28172a9a18878f2c94 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846357 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "chronium/ChronosEngine",
"max_stars_repo_path": "ChronosEngine.Base/Structures/Vertex3.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165577"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
namespace ChronosEngine.Base.Structures {
public struct Vertex3 {
public Vector3 Pos;
public Vector2 TexCoord;
public Vector4 Co... | 2.602756 | 31c14f046b609a2f0d630532bb5f534d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846358 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Team-on/ProveAA",
"max_stars_repo_path": "source/Spell/BasicSpell.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165578"
} | starcoder | <reponame>Team-on/ProveAA
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProveAA.Creature;
namespace ProveAA.Spell {
abstract class BasicSpell : Interface.ICardContent {
public string itemImgPath;
public BasicSpell() {
itemImgPath = @... | 2.56513 | 6b989ff73f47f3f7a547570e76d7bf3e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846359 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kelvincr/FileDownloader",
"max_stars_repo_path": "src/DataAccess/DataBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165579"
} | starcoder | <filename>src/DataAccess/DataBase.cs
// <copyright file="DataBase.cs" company="Corp">
// Copyright (c) Corp. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
namespace DataAccess
{
using System;
using System.Collections.... | 2.681878 | 672f60623f6426a937719f780a6f84a6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nilavanrajamani/ecommerce-microservice",
"max_stars_repo_path": "AspnetRun.Web/Models/CartModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165580"
} | starcoder | using AspnetRun.Web.Base;
using System.Collections.Generic;
namespace AspnetRun.Web
{
public class CartModel : BaseModel
{
public string UserName { get; set; }
public List<CartItemModel> Items { get; set; } = new List<CartItemModel>();
}
}
| 1.737406 | a197039fc2f798a56beefe253e84da12 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846361 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "derigel23/resharper-xunit",
"max_stars_repo_path": "resharper/src/provider/Categories/CSharpCategoriesCompletionProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165581"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.Infrastructure;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Parsing;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Ps... | 1.841134 | ddcf526ddd9d7a573303c91774231d56 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yprocks/Castle-Maze",
"max_stars_repo_path": "Com313-GameProject/Assets/_Scripts/BarbarianScripts/PlayerHealth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165582"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
namespace _Scripts.BarbarianScripts
{
public class PlayerHealth : MonoBehaviour
{
[SerializeField] private int _health = 100;
[SerializeField] private float _timeSinceLastHit = 2f;
public Image HealthIcon;
public GameObject Hit... | 2.348047 | d9104e9fff94c549523993c78d983445 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "NHadi/Hris",
"max_stars_repo_path": "src/Hris.Domain/Models/Department.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165583"
} | starcoder | <filename>src/Hris.Domain/Models/Department.cs<gh_stars>0
using Hris.Common.Domain;
using System;
using System.Collections.Generic;
namespace Hris.Domain.Models
{
public partial class Department : EntityBase
{
public Department()
{
Division = new HashSet<Division>();
Em... | 2.385509 | 46e64dd489ab599f12f4499c73cb51a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lfzarazuaa/Programacion_en_C_sharp",
"max_stars_repo_path": "004_Conceptos_LinQ/ConsultasLinQ/ConsultasLinQ/Consultas/Tarea.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165584"
} | starcoder | <gh_stars>0
using ConsultasLinQ.Consultas.Tareas;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsultasLinQ.Consultas
{
public static class Tarea
{
public static void Ejercicio_001()
{
Console.WriteLine("Ejercicio 001");
... | 2.921989 | 6bc524d08fbc1320268625c7057932b7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "markholdt/RavenDB-IndexedAttachments",
"max_stars_repo_path": "SharedAssemblyInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165585"
} | starcoder | <gh_stars>1-10
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("<NAME>")]
[assembly: AssemblyProduct("RavenDB Indexed Attachments Bundle")]
[assembly: AssemblyCopyright("Copyright © 2012-2013 <NAME>")]
[assembly: ComVisible(false)]
[assembly: AssemblyVersion("2.5.4")]
[assemb... | 1.402015 | 36b13502385184ba16e8aadf5a3a7034 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eragonwien/TTWeb",
"max_stars_repo_path": "TTWebMVC/TTWebCommon/Extensions/Dictionnary.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165586"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TTWebCommon.Extensions
{
public static class DictionnaryExtensions
{
public static T Map<T>(this Dictionary<string, string> dictionary, T obj = null) where T : class, new()
{... | 3.196412 | 27d4b40604cf8c81432671b9311bc01b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ProWON/popbill.dotnet.core",
"max_stars_repo_path": "Closedown/ClosedownService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165587"
} | starcoder | <reponame>ProWON/popbill.dotnet.core<filename>Closedown/ClosedownService.cs
using System;
using System.Collections.Generic;
namespace Popbill.Closedown
{
public class ClosedownService : BaseService
{
public ClosedownService(string LinkID, string SecretKey) : base(LinkID, SecretKey)
{
... | 2.108016 | d22a947ae6163ecaf4690b3aa4579eb4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846368 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "mdsol/cognition",
"max_stars_repo_path": "Cognition.Web.Tests/Controllers/DocumentControllerTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165588"
} | starcoder | using System;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Threading.Tasks;
using System.Web.Mvc;
using Cognition.Shared.Changes;
using Cognition.Shared.Documents;
using Cognition.Shared.Permissions;
using Cognition.Shared.Users;
using Cognition.Web.Contro... | 1.79691 | 48f2b59996f9857759a388c91deeb6e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846369 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "EmORz/Simple_Example_Projects",
"max_stars_repo_path": "Csharp-Exam-Project-master/Forum/Forum.Services/Settings/SettingsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165589"
} | starcoder | using AutoMapper;
using Forum.Models;
using Forum.Services.Interfaces.Db;
using Forum.Services.Interfaces.Message;
using Forum.Services.Interfaces.Quote;
using Forum.Services.Interfaces.Reply;
using Forum.Services.Interfaces.Report;
using Forum.Services.Interfaces.Settings;
using Forum.ViewModels.Common;
using Forum.V... | 2.038404 | d88e9af8486dbed5b3c735d2c133c6a4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alikaptanoglu/Open.HttpProxy",
"max_stars_repo_path": "Open.HttpProxy/Connection.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165590"
} | starcoder | <filename>Open.HttpProxy/Connection.cs
//
// - Connection.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright 2013 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http... | 2.557612 | 6b3d6a58d91577ea85cd2dd1dfb164b3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846371 | {
"extension": "c-sharp",
"max_stars_count": "212.0",
"max_stars_repo_name": "SpriteMaster-Ext/StructLinq",
"max_stars_repo_path": "src/StructLinq/Take/StructCollection.Take.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165591"
} | starcoder | <reponame>SpriteMaster-Ext/StructLinq
// ReSharper disable once CheckNamespace
using System;
using System.Runtime.CompilerServices;
// ReSharper disable once CheckNamespace
namespace StructLinq
{
public static partial class StructEnumerable
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
... | 2.483508 | f7a1ac8d16551b190af6dcc37692a300 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846372 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "SwissLife-OSS/magnet",
"max_stars_repo_path": "src/AzureDevOps.WebHooks/WorkItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165592"
} | starcoder | using System.Collections.Generic;
namespace Magnet.Providers.AzureDevOps
{
public class WorkItem
{
public int Id { get; set; }
public string Title { get; set; }
public string State { get; set; }
public string Type { get; set; }
public string AreaPath { get; set; }
... | 1.77943 | 002c896daf707504da220b7e05fe8c21 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846373 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "DosSEdo/SharedResources",
"max_stars_repo_path": "test/EasyAbp.SharedResources.Domain.Tests/ResourceItems/ResourceItemDomainTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165593"
} | starcoder | <gh_stars>10-100
using System.Threading.Tasks;
using Shouldly;
using Xunit;
namespace EasyAbp.SharedResources.ResourceItems
{
public class ResourceItemDomainTests : SharedResourcesDomainTestBase
{
public ResourceItemDomainTests()
{
}
[Fact]
public async Task Test1()
... | 1.136687 | 32bec43e5dc2e216e8c477badcbcb9f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846374 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "UMapx/UMapx",
"max_stars_repo_path": "sources/Distribution/HyperbolicSecant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165594"
} | starcoder | <filename>sources/Distribution/HyperbolicSecant.cs
using System;
using UMapx.Core;
namespace UMapx.Distribution
{
/// <summary>
/// Defines the hyperbolic secant distribution.
/// <remarks>
/// More information can be found on the website:
/// https://en.wikipedia.org/wiki/Hyperbolic_secant_distri... | 3.107872 | 1421fc942ea5e68aa04c460181dc8afd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "qwerty11aa/CTSTest",
"max_stars_repo_path": "CTS_Models/Migrations/201809110817251_Shifts.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165595"
} | starcoder | <gh_stars>1-10
namespace CTS_Models.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Shifts : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Shifts",
c => new
{
... | 2.177148 | eade16960eac49ee58f4036d32bc7369 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846376 | {
"extension": "c-sharp",
"max_stars_count": "266.0",
"max_stars_repo_name": "kpocza/lowe",
"max_stars_repo_path": "src/LoWeExposer/LoWeExposer/AlsaExposer.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165596"
} | starcoder | using System;
using System.Windows.Controls;
using LoWeExposer.Handlers;
namespace LoWeExposer
{
public partial class AlsaExposer : UserControl, ILineLogger
{
private AlsaHandler _alsaHandler;
private int _lineCount = 0;
public AlsaExposer()
{
InitializeComponent()... | 2.812706 | a0370ded8e1e0ca2467669640d413e9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846377 | {
"extension": "c-sharp",
"max_stars_count": "66.0",
"max_stars_repo_name": "DavidCBerry13/FoodTruckNationApi",
"max_stars_repo_path": "src/FoodTruckNation.Core/AppInterfaces/IScheduleService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165597"
} | starcoder | <gh_stars>10-100
using FoodTruckNation.Core.Commands;
using FoodTruckNation.Core.Domain;
using DavidBerry.Framework.Functional;
using System;
using System.Collections.Generic;
using System.Text;
namespace FoodTruckNation.Core.AppInterfaces
{
public interface IScheduleService
{
Result<Schedule> GetSche... | 1.873449 | d1dfd0caca8cb626b672387206d886e4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dpvreony-forks/Opserver",
"max_stars_repo_path": "Opserver/Views/Shared/TopTabs.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:165598"
} | starcoder | <filename>Opserver/Views/Shared/TopTabs.cshtml
@using StackExchange.Opserver.Models
@using StackExchange.Profiling
@{
Layout = null;
}
@if (!TopTabs.HideAll)
{
using (MiniProfiler.Current.Step("TopTabs"))
{
<div class="top-tabs">
@foreach (var tab in TopTabs.Tabs.Values)
{
... | 1.870689 | 410fe0fa3e40f05cbd03124f7da41a07 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846379 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OrgAE/OrgAE-Openiddict",
"max_stars_repo_path": "src/OpenIddict.Abstractions/Primitives/OpenIddictConfiguration.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165599"
} | starcoder | <gh_stars>1-10
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using Microsoft.IdentityModel.Tokens;
namespace ... | 1.950753 | e699df19a675ec0fc92642947ef448df |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "igoreksiz/NetOffice",
"max_stars_repo_path": "Source/Visio/Behind/DispatchInterfaces/IVisEventProc.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165600"
} | starcoder | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.VisioApi;
namespace NetOffice.VisioApi.Behind
{
/// <summary>
/// DispatchInterface IVisEventProc
/// SupportByVersion Visio, 11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://ms... | 1.260171 | 71fe2bfab2daf308abc0ab626ef31565 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "adirh3/CefGlue",
"max_stars_repo_path": "CefGlue.Tests/Serialization/CefValueDeserializationTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165601"
} | starcoder | using Moq;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Xilium.CefGlue;
using Xilium.CefGlue.Common.Shared.Serialization;
using static Xilium.CefGlue.Common.Shared.Serialization.CefValueSerialization;
namespace CefGlue.Tests.Serializatio... | 2.741713 | fc038f18ceaec05d9f7fabea0851a198 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846382 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "ruche7/MMDLipTools",
"max_stars_repo_path": "MMDLipCore/src/util/SelectableValue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165602"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace ruche.util
{
/// <summary>
/// 任意の値とその選択状態を保持するクラス。
/// </summary>
public class SelectableValue<T> : INotifyPropertyChanged
{
/// <summary>
/// コンストラクタ。
/// </summary>
public Sele... | 3.447427 | 2ea546fb964fedf61cb8af18a797430b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846383 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "rincew1nd/BaldurToolkit",
"max_stars_repo_path": "src/BaldurToolkit.Cron/CronExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165603"
} | starcoder | <filename>src/BaldurToolkit.Cron/CronExpression.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace BaldurToolkit.Cron
{
public class CronExpression
{
protected const int MinutesIndex = 0;
protected const int HoursIndex = 1;
protected const int Days... | 3.401783 | 354c254b558d1ca381cdfd120bde4268 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846384 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FrancescoBonizzi/lastminute-interview",
"max_stars_repo_path": "SalesTaxes-ClientConsole/SalesTaxes-Library/Domain/Article.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165604"
} | starcoder | <filename>SalesTaxes-ClientConsole/SalesTaxes-Library/Domain/Article.cs
using System;
namespace SalesTaxes_Library.Domain
{
/// <summary>
/// A buyable item
/// </summary>
public class Article
{
public Article(
int id,
string name,
decimal singleItemPric... | 3.181321 | f793c2fd1a46a78ec5db16cc626d07fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846385 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "robdmoore/UnobtrusiveMVCTechniques",
"max_stars_repo_path": "UnobtrusiveMVCTechniques/Config/Autofac/FluentValidatorModule.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165605"
} | starcoder | using System;
using System.Linq;
using System.Reflection;
using System.Web.Mvc;
using Autofac;
using FluentValidation;
using Module = Autofac.Module;
namespace UnobtrusiveMVCTechniques.Config.Autofac
{
public class FluentValidatorModule : Module
{
protected override void Load(ContainerBuil... | 2.348815 | 9c13b61fe91ca8409ab2c9afb7b61c99 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846386 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NetOfficeFw/LateBindingApi.CodeGenerator",
"max_stars_repo_path": "LateBindingGui/Controls/ProjectGrid/ProjectGridControl.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165606"
} | starcoder | namespace LateBindingApi.CodeGenerator.WFApplication.Controls.ProjectGrid
{
partial class ProjectGridControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up a... | 1.866864 | eb59638d5bd0f6fa10038585a0858414 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846387 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GVWassa/Keep-it-straight",
"max_stars_repo_path": "Keep it straight/Assets/Scripts/Movement.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165607"
} | starcoder | <reponame>GVWassa/Keep-it-straight
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movement : MonoBehaviour {
public float radius = 9.0f;
public float speed = 0.10f;
//The point we are going around in circles
private Vector2 basestartpoint;
//Destination of our current m... | 2.492408 | 76a4e01d78c50ddd19b6697de08e76e5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kartegagithub/partner-center-dotnet",
"max_stars_repo_path": "src/PartnerCenter/GenericOperations/IEntityCollectionRetrievalOperations.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165608"
} | starcoder | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.GenericOperations
{
using Models;
/// <summary>
/// Groups all operations related to retrieving a collection of entit... | 1.971577 | e84faf72ef6b94c24b32fbb6ae93f6b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846389 | {
"extension": "c-sharp",
"max_stars_count": "74.0",
"max_stars_repo_name": "estatheo/azure-functions-kafka-extension",
"max_stars_repo_path": "src/Microsoft.Azure.WebJobs.Extensions.Kafka/Extensions/ConfigurationExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165609"
} | starcoder | <filename>src/Microsoft.Azure.WebJobs.Extensions.Kafka/Extensions/ConfigurationExtensions.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.Extensio... | 1.97548 | bcef268babb5ebb9b8609721f6ff038c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846390 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "Dirkster99/AvalonEditHighlightingThemes",
"max_stars_repo_path": "source/HL/Manager/HLTheme.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165610"
} | starcoder | namespace HL.Manager
{
using HL.HighlightingTheme;
using HL.Resources;
using HL.Xshtd;
using HL.Xshtd.interfaces;
using ICSharpCode.AvalonEdit.Highlighting;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Xml;
/// <summa... | 2.31331 | 4aec488a8d9de925490e726d6ba473b9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846391 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mkryuchkov/tg-bot-pillar",
"max_stars_repo_path": "TgBotPillar.Bot.Input/Configuration/TgBotInputHandlersCollectionExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165611"
} | starcoder | <gh_stars>1-10
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TgBotPillar.Core.Interfaces;
namespace TgBotPillar.Bot.Input.Configuration
{
public static class TgBotInputHandlersCollectionExtensions
{
public static IServiceCollection ConfigureTgBotInputH... | 1.779109 | f9d908675be38672441e2260192c68b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846392 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "nccasia/codewar3",
"max_stars_repo_path": "maianvat/MAVApis/MaiAnVat/MaiAnVat/Services/Job/RegistrationJobService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165612"
} | starcoder |
using MaiAnVat.Common;
using MaiAnVat.Models;
using MaiAnVat.ServiceFramework.JobAndJobType;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace MaiAnVat.Services.JobAndJobType
{
public class RegistrationJobService : IRegist... | 2.245821 | 0b8266305564cf2e26f3c62de0e8222a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846393 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LykkeCity/LykkePublicAPI",
"max_stars_repo_path": "src/LykkePublicAPI/Exceptions/AppSettingException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165613"
} | starcoder | using System;
namespace LykkePublicAPI
{
public class AppSettingException : Exception
{
public AppSettingException() { }
public AppSettingException(string message) : base(message) { }
public AppSettingException(string message, Exception inner) : base(message, inner) { }
}
}
| 1.820311 | 8db0585ce5bd4462ce42d22563759caf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846394 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "techiedesu/SDRSharp.Plugin.TdDiscord",
"max_stars_repo_path": "Src/SDRSharp.Plugin.TdDiscord/ConfigurationModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165614"
} | starcoder | namespace SDRSharp.Plugin.TdDiscord
{
public sealed class ConfigurationModel
{
public bool Enabled { get; set; }
public bool ShowFrequency { get; set; }
public bool ShowRds { get; set; }
public string DiscordAppId { get; set; } = "765213507321856078";
}
} | 1.598415 | 2c6d8e9ba59737b8a12800b40f29893e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846395 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DebuissyVincent/PolyAI",
"max_stars_repo_path": "Assets/PolyAI/BTNodes/Decorators/Logic/Loop.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165615"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Loop : Decorator, ConstantUpdateNode
{
int nb;
int counter;
bool isInfinite;
float infiniteTimeoutTime;
float timer;
bool untilChildIsDone;
public Loop(int _nb, bool _untilChildIsDone = false, bool... | 2.388553 | 2abfabc3cf550ac646cd85019883edd6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846396 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "AlexeyBuryanov/NetworkFileStorage",
"max_stars_repo_path": "NetworkFileStorage/Client/App.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165616"
} | starcoder | <reponame>AlexeyBuryanov/NetworkFileStorage<filename>NetworkFileStorage/Client/App.xaml.cs
using System;
using System.Threading;
using System.Windows;
namespace Client
{
/// <summary>
/// Логика взаимодействия для App.xaml
/// </summary>
public partial class App
{
public Mutex Mutex { get;... | 2.647353 | 9ad7185350e1e69c24f5a81ed47e705b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Samples-Playgrounds/Samples.MachineLearning",
"max_stars_repo_path": "samples/Console/SomatoType/Ph4ct3x.App.Somatotype.Evaluate.ML.NET/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165617"
} | starcoder | using System;
using Ph4ct3x.Somatotype.BusinessLogic;
using Ph4ct3x.App.Somatotype.MachineLearningDotNet;
namespace Ph4ct3x.App.Somatotype.Evaluate.ML.NET
{
class Program
{
static void Main(string[] args)
{
Data.Initialize();
ModelEvaluationPrediction.EvaluateSingleT... | 1.589606 | 00478eb0484b6791d788c290a41a16d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846398 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Vakuzar/Multithreaded-Blood-Sim",
"max_stars_repo_path": "Blood/Library/PackageCache/com.unity.textmeshpro@3.0.0-preview.1/Scripts/Editor/TMP_EditorPanelUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165618"
} | starcoder | version https://git-lfs.github.com/spec/v1
oid sha256:4db93b009bae3de22d57118832bc8366dac3d9e56b8d0fd1e5d4a9a6484b1deb
size 3395
| 0.98193 | 8bb91e1e3e2c63ae2ecb332d6673f893 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846399 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ljani/event-trace-kit",
"max_stars_repo_path": "src/EventTraceKit.EventTracing/Compilation/CodeGen/TemplateTypeCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165619"
} | starcoder | namespace EventTraceKit.EventTracing.Compilation.CodeGen
{
using System.Globalization;
using EventTraceKit.EventTracing.Internal.Extensions;
using EventTraceKit.EventTracing.Schema;
using EventTraceKit.EventTracing.Schema.Base;
using EventTraceKit.EventTracing.Support;
public static class Templ... | 2.312392 | 9e977a4d97e8e782e3b597cac176a3b1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "leandro705/Loja.Api",
"max_stars_repo_path": "test/Loja.Test/Domain/ServicoDomainTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165620"
} | starcoder | using Loja.CrossCutting.Dto;
using Loja.CrossCutting.Enumerators;
using Loja.Test.Builder;
using NUnit.Framework;
namespace Loja.Test.Domain
{
public class ServicoDomainTest
{
[SetUp]
public void Setup()
{
}
[Test]
public void TestaDesativacaoServic... | 2.415246 | 8efe4734279a33d2ebd21b526f0a633d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "xgq07/C_Sharp",
"max_stars_repo_path": "Payroll-master/Payroll/ChangeMemberTransaccion.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165621"
} | starcoder | <gh_stars>0
namespace Payroll
{
public class ChangeMemberTransaction : ChangeAffiliationTransaction
{
private readonly int memberId;
private readonly double dues;
public ChangeMemberTransaction(int empId, int memberId, double dues, PayrollDatabase database)
: base(empId, dat... | 1.868015 | 2e664e3c25f550c68c59e15f4c64a6e3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846146 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "charles-cai/ServiceStack.Examples",
"max_stars_repo_path": "src/ServiceStack.Examples/ServiceStack.Examples.ServiceModel/Operations/Greet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165366"
} | starcoder | using System.Runtime.Serialization;
namespace ServiceStack.Examples.ServiceModel.Operations
{
[DataContract(Namespace = ExampleConfig.DefaultNamespace)]
public class Greet
{
[DataMember] public string Name { get; set; }
}
[DataContract(Namespace = ExampleConfig.DefaultNamespace)]
public class GreetResponse
... | 2.070869 | d92ddffc891b30bada85407a6ed38f28 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846147 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "xfyun/webapi-demo",
"max_stars_repo_path": "webgate-ws-csharp/Common/Authentication.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165367"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
using System.Web;
namespace webgate_ws_csharp.Common
{
public class Authentication
{
const string HTTP_SEPARATE = "?";
const string HTTP_VERSION = "HTTP/1.1";
const... | 2.88565 | 9c44b123cc3484c995461cb2e60d07a5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846148 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TrekDev/EthClient.NET",
"max_stars_repo_path": "src/EthClient/Rpc/EthTransaction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165368"
} | starcoder | using Eth.Utilities;
using System.Numerics;
namespace Eth.Rpc
{
public class EthTransaction
{
public byte[] From { get; set; }
public byte[] To { get; set; }
public BigInteger? Gas { get; set; }
public BigInteger? GasPrice { get; set; }
public BigInteger? Value { ge... | 1.535198 | e113c6abb61217c70dd3fec566836374 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846149 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sakapon/AtCoder-Contests",
"max_stars_repo_path": "CSharp/AOJCourses/DPL005/C.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165369"
} | starcoder | <filename>CSharp/AOJCourses/DPL005/C.cs
using System;
class C
{
static void Main()
{
var h = Array.ConvertAll(Console.ReadLine().Split(), int.Parse);
int n = h[0], k = h[1];
MInt r = 0, c = 1;
for (int i = 0; i < k; i++)
{
r += c * MInt.MPow(k - i, n);
c *= -(k - i);
c /= i + 1;
... | 3.387193 | 5c4a9b3f55dd3714fddd557d520336c6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846150 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wf539/ASPDotNETWebDevGuide",
"max_stars_repo_path": "ch12/booksourceUI/Web References/WebReference1/getCategories.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165370"
} | starcoder | //------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Runtime Version: 1.0.2914.16
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </autogenerated>
//------... | 2.042702 | 20e26165e1c23f869bf88cefeda04671 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846151 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "rodopoulos/pitaya-rs",
"max_stars_repo_path": "pitaya-sharp/NPitaya/src/Metrics/MetricsReporter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165371"
} | starcoder | <reponame>rodopoulos/pitaya-rs<gh_stars>1-10
using System;
namespace NPitaya.Metrics
{
class MetricsReporter
{
readonly PrometheusReporter _prometheusServer;
readonly PitayaReporter _pitayaMetrics ;
internal MetricsReporter(MetricsConfiguration config)
{
_prometheus... | 1.93827 | dc5a796e86306e18d7bb462be6f8e412 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846152 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KKKKKKi/XboxController",
"max_stars_repo_path": "XBoxController/Converter/LinearGradientConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165372"
} | starcoder | <reponame>KKKKKKi/XboxController
namespace XBoxController.Converter
{
using System;
using Windows.Foundation;
using Windows.UI;
using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Media;
public class LinearGradientConverter : IValueConverter
{
public object Convert(object value, Type... | 2.569453 | 3a9a5893301bff5fd461b9e3b14bb267 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846153 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "nielemptiness/AspNetStore",
"max_stars_repo_path": "Source/Store.Core.Services/Authorization/Roles/RoleService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165373"
} | starcoder | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using MongoDB.Driver;
using Store.Core.Contracts.Domain;
using Store.Core.Contracts.Interfaces.Services;
namespace Store.Core.Services.Authorization.Roles
{
public class RoleService : IRoleService
{
pr... | 2.49394 | ec7a36833ddbe5df20eed1c4d7446e45 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846154 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dimiano/AtgorithmicSolutions",
"max_stars_repo_path": "AlgorithmicSolutions/AlgorithmicSolutions/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165374"
} | starcoder | using System;
using AlgorithmicSolutions.LeetCode;
namespace AlgorithmicSolutions
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
// 1. TwoSum.Test();
// 2. AddTwoNumbers.Test();
// 3. LongestSubstringWithoutRepeatingCharacters.Test();
// 4. MedianOfTwoSortedArrays.Test(... | 2.908334 | 7495b50f9f090411d3117c8b8f831123 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846155 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "6e3veR6k/codewars-csharp",
"max_stars_repo_path": "resources/csharp-essential-materials/HomeWork Answers/Lesson 9/Task 3/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165375"
} | starcoder | using System;
namespace ArrayOfDelegates
{
class Program
{
static Random rand = new Random(); //Статическое поле rand класса Random
//Создание вложенных классов делегатов
delegate int MyDelegate();
delegate double MyDel(MyDelegate[] a);
static int GetRandom() //Статич... | 3.978674 | bb769a478bcdda25c45b7a681bb4b166 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846156 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "vexe/FastSerializer",
"max_stars_repo_path": "FastSerializer/Serializers/UnityMiscSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165376"
} | starcoder | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Vexe.Fast.Serializer.Serializers
{
public class UnityMiscSerializer : IReflectiveSerializer
{
//@Note: Depending on the serialization logic we go for, the following types might not be detected
// (because we might be ... | 2.358554 | 6fad23d34b7a99a351d425a2ff8d95b0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846157 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "glifada/TelerikAcademy",
"max_stars_repo_path": "C#-Part2/01. Arrays/19.PermutationOfSet/PermutationOfSet.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165377"
} | starcoder | <reponame>glifada/TelerikAcademy<filename>C#-Part2/01. Arrays/19.PermutationOfSet/PermutationOfSet.cs
using System;
class PermutationOfSet
{
static void Main()
{
Console.Write("Please enter the number n = ");
int n = int.Parse(Console.ReadLine());
int[] arr = new int[n];
for (i... | 3.573373 | de49e8a31a63350b84cf4d0763296e7d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846158 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "svick/CSharpE",
"max_stars_repo_path": "test/Syntax.Tests/ArgumentTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165378"
} | starcoder | <filename>test/Syntax.Tests/ArgumentTests.cs<gh_stars>0
using System.Linq;
using Xunit;
namespace CSharpE.Syntax.Tests
{
public class ArgumentTests
{
private static Argument Parse(string code)
{
string classCode = $@"class C {{ int i = F({code}); }}";
var file = new So... | 2.984494 | 9fce45e73f0a02c5ca27b9e9aeb5d12e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846159 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elv1s42/Ghpr.Core",
"max_stars_repo_path": "Ghpr.Core/Factories/ReporterFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165379"
} | starcoder | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Ghpr.Core.Common;
using Ghpr.Core.Enums;
using Ghpr.Core.Helpers;
using Ghpr.Core.Interfaces;
using Ghpr.Core.Processors;
using Ghpr.Core.Providers;
using Ghpr.Core.Utils;
namespace Ghpr.Core.Factories
{
public static class ReporterF... | 2.129596 | 9c99be6dd52f3711a366250609f9f9c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846160 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mikibot/Miki.Dsl",
"max_stars_repo_path": "Miki.Dsl/MMLFactory.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165380"
} | starcoder | <filename>Miki.Dsl/MMLFactory.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Miki.Dsl
{
public class MMLFactory
{
public static MMLObject Create(string query)
{
List<string> seperatedList = query.TrimStart('-').Split(':').ToLis... | 2.996536 | 4a8707e45c3000823222934251154495 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846161 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Harurow/vs.ext.harurow",
"max_stars_repo_path": "Harurow.Extensions.One/Extensions/LineBreakKindExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165381"
} | starcoder | using System;
using Harurow.Extensions.One.Adornments.LineBreaks;
namespace Harurow.Extensions.One.Extensions
{
internal static class LineBreakKindExtensions
{
public static string GetName(this LineBreakKind self)
{
switch (self)
{
case LineBr... | 2.602977 | 01c1609e4d0c2ac6c9d2e33776a90a3f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846162 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MikkoVirenius/ptv-1.7",
"max_stars_repo_path": "src/PTV.Database.DataAccess/Services/OrganizationService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165382"
} | starcoder | /**
* The MIT License
* Copyright (c) 2016 Population Register Centre (VRK)
*
* 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 righ... | 1.428217 | 13a6c801641c583df4269837937d17a0 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846163 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "Piturnah/tetris-ann-epq",
"max_stars_repo_path": "Projects/Tetris_Training/Assets/Scripts/TetrisNEAT.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165383"
} | starcoder | <reponame>Piturnah/tetris-ann-epq<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
using UnityEngine.UI;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
public class TetrisNEAT : MonoBehaviour
{
[SerializeField] public GameObjec... | 2.096203 | ee041d605f97d7493fa599fc73d40a08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846164 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niyazz/DotNext-Moscow-2020",
"max_stars_repo_path": "HightechAngular.Core/Base/ChangeOrderStateCommandBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165384"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System.Threading.Tasks;
using Force.Cqrs;
using Force.Ddd;
using HightechAngular.Core.Base;
using Infrastructure.Cqrs;
namespace HightechAngular.Core.Entities
{
public abstract class ChangeOrderStateCommandBase:
HasIdBase,
IHasOrderId,
ICom... | 1.735692 | 9b66634124bc1addfc3807bfd3b7fdbb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846165 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CSProjectsAvatar/SimCopIA",
"max_stars_repo_path": "Gos/Compiler/AstHierarchy/Statements/ForEachAst.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165385"
} | starcoder | <gh_stars>0
using DataClassHierarchy;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Compiler.AstHierarchy.Statements {
public class ForEachAst : AstNode, IStatement {
private ILogger<ForEach... | 2.448539 | fb1d8f72b3c40129183733c9ea517875 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846166 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "asleire/SimpleRecurringJobs",
"max_stars_repo_path": "src/SimpleRecurringJobs/Interval/IIntervalJob.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165386"
} | starcoder | <reponame>asleire/SimpleRecurringJobs
using System;
namespace SimpleRecurringJobs.Interval;
/// <summary>
/// A simple job that will run with a given interval. Does not care about time of day.
/// </summary>
public interface IIntervalJob : IJob
{
/// <summary>
/// How long between each job.
/// <... | 2.250922 | 86f8cfc262ca3b375f2c0ddb0ef44b63 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846167 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "paraspatidar/Merchant-Guide-To-Galaxy-CSharp",
"max_stars_repo_path": "Merchant_Of_Galaxy/GalaxyLibrary/Helpers/ConfigHelper.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165387"
} | starcoder | <filename>Merchant_Of_Galaxy/GalaxyLibrary/Helpers/ConfigHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using System.Xml;
using System.IO;
using GalaxyLibrary.Exceptions;
namespace GalaxyLibrary.Helpers
{
publi... | 2.602651 | 873e161ad0679b78cabb956754505ecd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846168 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "oleghcp/UnityUtility",
"max_stars_repo_path": "Code/Runtime/UnityUtility/ScreenUtility.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165388"
} | starcoder | using System;
using System.Runtime.CompilerServices;
using UnityEngine;
using UnityUtility.MathExt;
namespace UnityUtility
{
/// <summary>
/// A set of common math functions.
/// </summary>
public static class ScreenUtility
{
/// <summary>
/// Converts position form screen space to... | 2.926085 | 3fc31a48db86778e2b62466d2cf5d4d8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846169 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "ChayimFriedman2/mp4explorer",
"max_stars_repo_path": "sourceCode/trunk/src/Mp4Explorer/Views/MainTreeView/MainTreeView.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165389"
} | starcoder | <gh_stars>1-10
//===============================================================================
// Copyright © 2009 CM Streaming Technologies.
// All rights reserved.
// http://www.cmstream.net
//===============================================================================
using System;
using System.Windows;
using... | 2.110277 | 813f27677e6ef8350af8cd55514814ab |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846170 | {
"extension": "c-sharp",
"max_stars_count": "87.0",
"max_stars_repo_name": "MiftahurRidho/tugas",
"max_stars_repo_path": "class/SecurityAttributes/PlatformCode.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165390"
} | starcoder | // Copyright (C) 2009 Novell, Inc (http://www.novell.com)
//
// 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, m... | 1.993484 | 520a95357148fe416e3ce6eb172643d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846171 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DSvinka/2DMobileGame",
"max_stars_repo_path": "Assets/Code/Interfaces/Models/IUpgradeModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165391"
} | starcoder | using Code.Enums;
namespace Code.Interfaces.Models
{
public interface IUpgradeModel: IItemModel
{
public UpgradeType UpgradeType { get; }
public float ValueUpgrade { get; }
public CurrencyType PriceCurrency { get; }
public int Price { get; }
}
} | 1.885948 | eb8168c31f5e51f224aa0747b0d437f5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846172 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "PicoHex/Zaabee.Dapper",
"max_stars_repo_path": "src/Zaabee.Dapper.Extensions/Dapper.Extensions.Add.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165392"
} | starcoder | <reponame>PicoHex/Zaabee.Dapper
using System;
using System.Collections;
using System.Data;
using Dapper;
namespace Zaabee.Dapper.Extensions
{
public static partial class DapperExtensions
{
public static int Add<T>(this IDbConnection connection, T persistentObject,
IDbTransaction transaction... | 2.659374 | d08c4010e47837f6291f7c4e6e9bd5fd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846173 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "maxim-kuzmin/Makc2020",
"max_stars_repo_path": "net-core/Makc2020.Mods.DummyTree.Base/ModDummyTreeBaseContext.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165393"
} | starcoder | //Author <NAME>//makc//
namespace Makc2020.Mods.DummyTree.Base
{
/// <summary>
/// Мод "DummyTree". Основа. Контекст.
/// </summary>
public class ModDummyTreeBaseContext
{
#region Properties
/// <summary>
/// Конфигурация.
/// </summary>
public ModDummyTree... | 2.051653 | b6bf1dcc18271f07d504cb1f66a391d5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846174 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "groupdocs-search/GroupDocs.Search-for-.NET",
"max_stars_repo_path": "Examples/GroupDocs.Search.Examples.CSharp/AdvancedUsage/Searching/DocumentFilteringInSearchResult.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165394"
} | starcoder | <filename>Examples/GroupDocs.Search.Examples.CSharp/AdvancedUsage/Searching/DocumentFilteringInSearchResult.cs
using GroupDocs.Search.Options;
using GroupDocs.Search.Results;
using System;
using System.Text.RegularExpressions;
namespace GroupDocs.Search.Examples.CSharp.AdvancedUsage.Searching
{
class DocumentFilt... | 2.74328 | bfb8cf4bbb275776babda4eef6572a78 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846175 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jamesmusker/What3Words-Sharp",
"max_stars_repo_path": "W3W-Sharp/W3W.NetCore/DataStructures/W3WProperties.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165395"
} | starcoder | <reponame>jamesmusker/What3Words-Sharp
namespace W3W.NetCore.DataStructures
{
public class W3WProperties
{
public string Country { get; set; }
public string NearestPlace { get; set; }
public string Words { get; set; }
public string Language { get; set; }
public string Ma... | 1.530542 | 2553f962063ed2fbd07bd6e2ac0cfb5a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846176 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dondish/Spectacles.NET",
"max_stars_repo_path": "Spectacles.NET.Types/Emoji/Emoji.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165396"
} | starcoder | <reponame>dondish/Spectacles.NET
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Spectacles.NET.Types
{
/// <summary>
/// An Emoji Represents a custom or unicode emote. See <a href="http://discordapp.com/developers/docs/resources/emoji">this</a>.
/// </summary>
public class Emoji
{
/// <s... | 2.375888 | a05435c43f6d031f8e06209c1752d38e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846177 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "artem-sedykh/Telegraf.Clients",
"max_stars_repo_path": "src/Telegraf.Statsd.Client/Serializer/MetricSerializer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165397"
} | starcoder | using System;
using System.Globalization;
using Telegraf.Formatters;
using Telegraf.Statsd.Models;
namespace Telegraf.Statsd.Serializer
{
internal class MetricSerializer
{
private const string MetricDatagramFormat = "{0}|{1}";
private const string SampledMetricDatagramFormat = MetricDatagramFo... | 2.767506 | a923c5b2a7811316cb2a93f59180abda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846178 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "liliyavp/Task-1",
"max_stars_repo_path": "GADE6112 task1/task1/Map.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165398"
} | starcoder | <filename>GADE6112 task1/task1/Map.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task1
{
public class Map
{
int mapSize = 20;
//just to store it :)
Random random = new Random();
//just 1 map cla... | 3.21873 | eca31ff88deea24ed7872360513decd3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846179 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "grammophone/Gramma.Parallel",
"max_stars_repo_path": "SelectLongParallelQuery.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165399"
} | starcoder | <reponame>grammophone/Gramma.Parallel
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grammophone.Parallel
{
/// <summary>
/// Query for mapping a source sequence to a target sequence in parallel, opti... | 2.578626 | 25295b86008abb41161be29ad31af982 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846180 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "saa14/Ed-Fi-LearningStandards-Client",
"max_stars_repo_path": "src/EdFi.Admin.LearningStandards.Core/Services/FromCsv/CsvFileProcessor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165400"
} | starcoder | <filename>src/EdFi.Admin.LearningStandards.Core/Services/FromCsv/CsvFileProcessor.cs
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the p... | 2.503129 | 7b2a873c6dac543cb1d3fdc32ce93056 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846181 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "gladstonemrm/Schema.NET",
"max_stars_repo_path": "Source/Schema.NET/core/VoteAction.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165401"
} | starcoder | <filename>Source/Schema.NET/core/VoteAction.cs
namespace Schema.NET
{
using System;
using System.Runtime.Serialization;
using Newtonsoft.Json;
/// <summary>
/// The act of expressing a preference from a fixed/finite/structured set of choices/options.
/// </summary>
public partial ... | 2.77154 | 00204f20a7cf5b1b92bc828bbb7edf49 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846182 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "icodemaker/qibublog",
"max_stars_repo_path": "Code/QiBuBlog.Entity/Helper/EFRepositoryBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165402"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.Validation;
using System.Data.SqlClient;
using System.Linq;
using System.Linq.Expressions;
namespace QiBuBlog.Entity.Helper
{
public sealed class EFReposi... | 2.609789 | 256e0d99ea0664767f10e56260d4cada |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8846183 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RicardoAMendoza/MVC_CRUD_Cs_ComboBox_selector",
"max_stars_repo_path": "backUp/clsDataSource.cs",
"provenance": "train-00027-of-00045.jsonl.gz:165403"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Data
using System.Data;
using System.Data.SqlClient;
// MessageBox
using System.Windows.Forms;
namespace _1.Model
{
/*
* This project uses the following licenses:
* MIT License
* ... | 2.700689 | 1c27ab6195299c25418795aedd619a00 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.