added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68605 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Dimitvp/PetsLostAndFoundSystem",
"max_stars_repo_path": "PetsLostAndFound/PetsLostAndFoundSystem.Reporters/Data/Configurations/LocationConfiguration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68606"
} | starcoder | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using PetsLostAndFoundSystem.Reporters.Data.Models;
namespace PetsLostAndFoundSystem.Reporters.Data.Configurations
{
public class LocationConfiguration : IEntityTypeConfiguration<Location>
{
public void Config... | 2.070098 | 763556b28fbcaf3c54440635efd42c4c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68606 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "anarsen/Eveneum",
"max_stars_repo_path": "Eveneum.Tests/ReadingStream.feature.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68607"
} | starcoder | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by SpecFlow (http://www.specflow.org/).
// SpecFlow Version:2.4.0.0
// SpecFlow Generator Version:2.4.0.0
//
// Changes to this file may cause incorrect behavior and wi... | 1.933107 | f1d9ae0614bb75ac9341a17e8ccceb5e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68607 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CyberProjectX/TowerDefence",
"max_stars_repo_path": "TD/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68608"
} | starcoder | using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TD.Holders;
namespace TD
{
class Program
{
static void Main(string[] args)
{
}
}
public class EnemyInfo
{
public EnemyInfo(EnemySettings settings)
{
MainDescription = new... | 2.818433 | 854540eff1ff9214aeab1c70a4a16710 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68608 | {
"extension": "c-sharp",
"max_stars_count": "164.0",
"max_stars_repo_name": "yangqingming/FairyGUI-unity",
"max_stars_repo_path": "Assets/Scripts/UI/GTree.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68609"
} | starcoder | <reponame>yangqingming/FairyGUI-unity
using System;
using System.Collections.Generic;
using FairyGUI.Utils;
namespace FairyGUI
{
/// <summary>
///
/// </summary>
public class GTree : GList
{
public delegate void TreeNodeRenderDelegate(GTreeNode node, GComponent obj);
public delegat... | 2.321759 | d13bf36c5aa073f36c57a72fbc460e52 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68609 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jonmcquade/csharp-snippets",
"max_stars_repo_path": "SmartStoreNET-3.x/src/Presentation/SmartStore.Web.Framework/Localization/LanguageSeoCodeAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68610"
} | starcoder | using System;
using System.Net;
using System.Web;
using System.Web.Mvc;
using SmartStore.Core;
using SmartStore.Core.Data;
using SmartStore.Core.Domain.Localization;
using SmartStore.Services.Localization;
namespace SmartStore.Web.Framework.Localization
{
/// <summary>
/// Attribute which ensures that store U... | 2.244247 | f495c8ea14fe943002d4a242d879c0ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68610 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "osisoft/sample-omf-basic_api-dotnet",
"max_stars_repo_path": "OMFAPI/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68611"
} | starcoder | <filename>OMFAPI/Program.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
n... | 2.77855 | 4914776cd3c4ad2fdaced2993352e783 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68611 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joshurtree/PokerAnalytics",
"max_stars_repo_path": "888parser/Main_HandTreeView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68612"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using MongoDB.Driver;
using MongoDB.Bson;
using HandHistories.Objects.Actions;
using HandHistories.Objects.GameDescription;
using Ha... | 2.167482 | 4a3048c71aea7bcc18405bc297b3f104 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68612 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ivara/fluentmigrator",
"max_stars_repo_path": "src/FluentMigrator.Runner/Generators/DatabaseOperationNotSupportedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68613"
} | starcoder | using System;
using System.Runtime.Serialization;
namespace FluentMigrator.Runner.Generators
{
public class DatabaseOperationNotSupportedException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="T:DatabaseOperationNotSupportedException"/> class.
/// </summa... | 2.188518 | 16562b5eb989c1920478a9b9b07a3ff9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68613 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "voporak5/CardGames",
"max_stars_repo_path": "Assets/_App/Scripts/Screens/LoadingScreen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68614"
} | starcoder | <reponame>voporak5/CardGames
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CardGames.Core;
using CardGames.Base;
using UnityEngine.UI;
namespace CardGames.Screens
{
public class LoadingScreen : ScreenBase<LoadingScreen>
{
public delegate float GetLoadingProgressD... | 2.075759 | b62dba60b0ed9c79c3f71b63dc338564 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68614 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "0xCM/z0",
"max_stars_repo_path": "src/part/src/api/loader/ops/parts.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68615"
} | starcoder | //-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Runtime.CompilerServices;
using System.Reflection... | 1.99027 | 78270f74b41d7b1026b553edcea7bdc7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68615 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tatetaylor/kbplumbapp",
"max_stars_repo_path": "CSharpJExcel/CSharpJExcel/CSharpJExcel/Jxl/Biff/Formula/FormulaErrorCode.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68616"
} | starcoder | /*********************************************************************
*
* Copyright (C) 2005 <NAME>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the Lic... | 2.609596 | 80d808c490cbe026c21f1e5527ffeaf3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68616 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mieczyk/ActiveWindowsExplorer",
"max_stars_repo_path": "ActiveWindowsExplorer/Core/WindowsExplorer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68617"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using ActiveWindowsExplorer.Core.WinApi;
namespace ActiveWindowsExplorer.Core
{
public class WindowsExplorer
{
public IList<WindowInfo> GetAltTabWindows()
{
var windows = new List<Wind... | 2.252926 | c5cdb3088d64e583c2208f2643bc8724 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68617 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arishu/cn.org.aris",
"max_stars_repo_path": "csharp/study/ProCSharp/CSharpConstructsPartOne/chap8/interfaceimplementation/SwitchBlade.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68618"
} | starcoder | using CoreCSharpPrograming.chap8.definecustominterface;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CoreCSharpPrograming.chap8.interfaceimplementation
{
public class SwitchBlade : IPointy
{
public byte Points => throw new NotImplementedException();
... | 2.403821 | 9d8b7681e863ae6859f0e856c3f3344e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68618 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ConsenSys/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "Storage/Nethereum.BlockchainStore.Test.Base/RepositoryTests/TransactionVMStackRepositoryTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68619"
} | starcoder | <reponame>ConsenSys/Nethereum.BlockchainProcessing
using System.Threading.Tasks;
using Nethereum.BlockchainStore.Repositories;
using Newtonsoft.Json.Linq;
using Xunit;
namespace Nethereum.BlockchainStore.Test.Base.RepositoryTests
{
public class TransactionVMStackRepositoryTests: IRepositoryTest
{
priv... | 2.057054 | 6ac7fbe1407f2b7765a9698eb22b3a13 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68619 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ruo2012/ICanPay",
"max_stars_repo_path": "src/ICanPay.Core/ICanPayConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68620"
} | starcoder | <gh_stars>0
#if NETSTANDARD2_0
using ICanPay.Core.Utils;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
#else
using Autofac;
using Autofac.Integration.Mvc;
using Autofac.Integration.WebApi;
using System.Web.Mvc;
using System.Web.Http;
#endif
using S... | 1.786729 | 79d358bd246317cb337218a1cbcc6a0b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68620 | {
"extension": "c-sharp",
"max_stars_count": "1390.0",
"max_stars_repo_name": "samrumley88/Brighter",
"max_stars_repo_path": "tests/Paramore.Brighter.Core.Tests/Logging/When_A_Request_Logger_Is_In_The_Pipeline_Async.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68621"
} | starcoder | <filename>tests/Paramore.Brighter.Core.Tests/Logging/When_A_Request_Logger_Is_In_The_Pipeline_Async.cs<gh_stars>1000+
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using Paramore.Brighter.Core.Tests.CommandProcessors.TestDoubles;
using Paramore.Brighter.Core.Test... | 2.058694 | ed06367875da713b70c1b79ad887e638 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68621 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "michielpost/NanoRPC",
"max_stars_repo_path": "NanoRPC/Models/Work/WorkCancel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68622"
} | starcoder | <reponame>michielpost/NanoRPC
using NanoRPC.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace NanoRPC
{
public class WorkCancelRequest : IRPCAction
{
public string Action { get; } = "work_cancel";
public string Hash { get; set; }
}
}
| 1.072248 | 0ec6ce7787f561701ea518b82c0c167b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68622 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "linjianlin/Havit.Blazor",
"max_stars_repo_path": "Havit.Blazor.Components.Web.Bootstrap/Tags/Internal/HxInputTagsInternal.razor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68623"
} | starcoder | <reponame>linjianlin/Havit.Blazor<filename>Havit.Blazor.Components.Web.Bootstrap/Tags/Internal/HxInputTagsInternal.razor.cs
using System.Threading;
using Havit.Blazor.Components.Web.Bootstrap.Forms;
using Microsoft.JSInterop;
namespace Havit.Blazor.Components.Web.Bootstrap.Internal
{
/// <summary>
/// Internal impl... | 1.946697 | 91a1d8c8bf9c897d367060013027dfbb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68623 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pablozetas/apply-4-net-ninja",
"max_stars_repo_path": "ninja.model/Exceptions/BusinessException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68624"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ninja.model.Exceptions
{
/// <summary>
/// Business logic exception.
/// </summary>
/// <seealso cref="System.Exception" />
public class BusinessException: Exce... | 2.192232 | f87fd90b0e498ea3c424662c2e0af5fd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68624 | {
"extension": "c-sharp",
"max_stars_count": "53.0",
"max_stars_repo_name": "axksel/WFC-GG",
"max_stars_repo_path": "rpgGame/Assets/Scripts/StartTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68625"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StartTest : MonoBehaviour
{
public FloatList scenesToPlay;
List<int> scenes = new List<int>();
void Start()
{
scenesToPlay.list.Add(Random.Range(1, 3));
scenesToPlay.list.Add(Random.Range(3, 5... | 2.036492 | 010b7e78cbbe1982e50111c649aab6b5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68625 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jstavrev/SoftwareUniversity",
"max_stars_repo_path": "2. Tech Module/1. Programming Fundamentals/06. Methods, Debugging - Exrc/10. Cube Properties/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68626"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.Cube_Properties
{
class Program
{
static void Main(string[] args)
{
double side = double.Parse(Console.ReadLine());
string parameter = Conso... | 3.638411 | ee27c23e98cc06a88e76db31bbf74633 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68626 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "prepare/LiteStore",
"max_stars_repo_path": "LiteDisk/Storage/Services/RedoService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68627"
} | starcoder | <gh_stars>0
//MIT, 2014-2015 <NAME>
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace LiteDB
{
/// <summary>
/// Service for restore datafile with there a problem when save on disk
/// </summary>
... | 2.323682 | a6eee29e7d53f6bddf45435d3bd3091b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68755 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PROCESIO/procesio-sdk-dotnet",
"max_stars_repo_path": "ProcesioSDK/Dto/ErrorResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68756"
} | starcoder | <gh_stars>0
using Newtonsoft.Json;
using ProcesioSDK.Contracts;
namespace ProcesioSDK.Dto
{
public class ErrorResponse : IErrorResponse
{
[JsonProperty("StatusCode")]
public int StatusCode { get; set; } = -1;
[JsonProperty("Target")]
public string Target { get; set; } = string... | 1.507507 | eecb2984685281fb18fc690cccb71f98 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68756 | {
"extension": "c-sharp",
"max_stars_count": "577.0",
"max_stars_repo_name": "Klug76/flashdevelop",
"max_stars_repo_path": "External/Archive/FlashDebugger/FlexSDK/SwfUtils/flash/swf/tags/DefineBitsJPEG3.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68757"
} | starcoder | ////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2006 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license ... | 2.192079 | 5c064ea98954e65386e5cf2b6103db54 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68757 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "codeapologist/Dapper.Connection.Abstractions",
"max_stars_repo_path": "src/DataAbstractions.Dapper/GridAccessor/GridAccessor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68758"
} | starcoder | using Dapper;
namespace DataAbstractions.Dapper
{
public partial class GridAccessor : IGridAccessor
{
private readonly SqlMapper.GridReader _gridReader;
public GridAccessor(SqlMapper.GridReader gridReader)
{
_gridReader = gridReader;
}
public void Dispose(... | 2.236551 | c5f64bb2c1ba6fa0f941794576c7a387 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68758 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "mmckechney/SqlBuildManager",
"max_stars_repo_path": "src/SqlSync/SqlBuild/PackageSignatureForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68759"
} | starcoder | using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
namespace SqlSync.SqlBuild
{
/// <summary>
/// Summary description for FindForm.
/// </summary>
public class PackageSignatureForm : System.Windows.Forms.Form
{
private System.Windows.Forms.Text... | 2.157214 | 0679ad85a9b7d9fe447ba36717525812 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68759 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "deeptechtons/CertificateGenerator",
"max_stars_repo_path": "EasySsl/X509Name.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68760"
} | starcoder | using System.Collections.Generic;
using System.Linq;
using Asn1;
namespace EasySsl {
//https://tools.ietf.org/html/rfc5280#section-4.1.2.4
//https://www.ietf.org/rfc/rfc1779.txt
public class X509Name {
private readonly IList<X509RelativeDistinguishedName> _items = new List<X509RelativeDistinguish... | 2.78888 | aea08fd1d7f2a60be688075f72fae70c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68760 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZeroxCorbin/MobileComms_ITK",
"max_stars_repo_path": "MobileComms_ITK/RabbitMQ.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68761"
} | starcoder | using MobileComms_ITK.JSON.Types;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using Rabbit = RabbitMQ.Client;
namespace MobileComms_ITK
{
public class RabbitMQ
{
public class ... | 2.017786 | 26b7e1f0bb0b2d57bcbff94e03942813 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68761 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LuGeorgiev/CSharpSelfLearning",
"max_stars_repo_path": "ASP.Core.SelfLearning/EstateManagment/EstateManagment.Services.Tests/Implementation/InvoicesServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68762"
} | starcoder | <filename>ASP.Core.SelfLearning/EstateManagment/EstateManagment.Services.Tests/Implementation/InvoicesServiceTests.cs
using EstateManagment.Services.Implementation;
using EstateManagment.Services.Models.Invoices;
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using System.Th... | 2.389972 | b6ad446bce846ccef5fa18fe31b8c3d9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68762 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lonagi/drone-craft",
"max_stars_repo_path": "unity/Assets/ProfessionalAssets/DronePack/Scripts/DroneDistanceLimit.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68763"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace PA_DronePack
{
public class DroneDistanceLimit : MonoBehaviour
{
Vector3 startPosition;
PA_DroneController droneScript;
public CameraTeleportEffect teleportScript;
public float distanceLimi... | 2.402272 | 519381fa2c7632dcbe86b9e429f8f858 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68763 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "smedsbo/MTConnect.NET",
"max_stars_repo_path": "src/NET-Core/Clients/Asset.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68764"
} | starcoder | <gh_stars>0
// Copyright (c) 2020 TrakHound Inc., All Rights Reserved.
// This file is subject to the terms and conditions defined in
// file 'LICENSE', which is part of this source code package.
using System;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using System.Web;
namespace M... | 2.284945 | 6c9dba01f5226a155fb0e403be467b8a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68764 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "danryd/MicroServer",
"max_stars_repo_path": "source/Tarro/Tarro/ApplicationService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68765"
} | starcoder | using System.ServiceProcess;
using Tarro.Configuration;
using Tarro.Logging;
namespace Tarro
{
class ApplicationService : ServiceBase
{
private readonly Container container;
public ApplicationService()
{
container = new Container();
}
public void Start(stri... | 1.917488 | 193f492034c9698dedfe732fcd512e74 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68765 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Codeer-Software/ET-WEST-2021",
"max_stars_repo_path": "Test/WPF/Driver/TestController/ProcessController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68766"
} | starcoder | <filename>Test/WPF/Driver/TestController/ProcessController.cs
using Codeer.Friendly.Windows;
using System.Diagnostics;
using System.IO;
namespace Driver.TestController
{
public static class ProcessController
{
public static WindowsAppFriend Start()
{
//target path
var t... | 2.498179 | b0d4d597957f2a80b7f20597b44fa718 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68766 | {
"extension": "c-sharp",
"max_stars_count": "26.0",
"max_stars_repo_name": "DevsDNA/DevsDNA-Application",
"max_stars_repo_path": "DevsDNA.Application/DevsDNA.Application/DevsDNA.Application/Services/Track/ITrackService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68767"
} | starcoder | <filename>DevsDNA.Application/DevsDNA.Application/DevsDNA.Application/Services/Track/ITrackService.cs
namespace DevsDNA.Application.Services
{
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
public interface ITrackService
{
void ConfigureAppCenter();
void Track... | 1.990083 | 72f90988efa15afa5ebf413bab146934 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68767 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Chr1st1anSzech/Native-Messaging",
"max_stars_repo_path": "Native Messaging Proxy/Util.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68768"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Native_Messaging_Proxy
{
public class Util
{
public static string? GetApplicationRoot()
{
return Path.GetDirectoryName(Assembly.Get... | 2.576734 | e615896c00ef02fd9e521ee57573d0a5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68768 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "Tuscann/Programming-Fundamentals-1",
"max_stars_repo_path": "01.Short Fundamentals/15.ARRAYS/02.01 Reverse Array of Integers/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68769"
} | starcoder | <filename>01.Short Fundamentals/15.ARRAYS/02.01 Reverse Array of Integers/Program.cs
using System;
using System.Collections.Generic;
class Program
{
static void Main() // 100/100
{
int n = int.Parse(Console.ReadLine());
List<int> list = new List<int>();
for (int i = 0; i < n; i++)
... | 3.688161 | 79293e0a609081e578a24d11845dff78 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68769 | {
"extension": "c-sharp",
"max_stars_count": "3375.0",
"max_stars_repo_name": "nul800sebastiaan/Umbraco-CMS",
"max_stars_repo_path": "src/Umbraco.Infrastructure/Logging/Viewer/LogViewerConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68770"
} | starcoder | <gh_stars>1000+
using System.Collections.Generic;
using System.Linq;
using Umbraco.Cms.Core.Models;
using Umbraco.Cms.Core.Persistence.Repositories;
using Umbraco.Cms.Core.Scoping;
namespace Umbraco.Cms.Core.Logging.Viewer
{
public class LogViewerConfig : ILogViewerConfig
{
private readonly ILogViewer... | 2.44705 | 64b6b0057e56e5ba21ffceabeeae6aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68770 | {
"extension": "c-sharp",
"max_stars_count": "11.0",
"max_stars_repo_name": "Jericho/CakeMailRestApi",
"max_stars_repo_path": "Source/CakeMail.RestClient/Resources/IUsers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68771"
} | starcoder | using CakeMail.RestClient.Models;
using System.Threading;
using System.Threading.Tasks;
namespace CakeMail.RestClient.Resources
{
/// <summary>
/// Allows you to manage users.
/// </summary>
public interface IUsers
{
/// <summary>
/// Create a user.
/// </summary>
/// <param name="userKey">User Key of th... | 2.669239 | 2d59a03c0ca8334da2067d63a5106d31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68771 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "17cuA/AimRacing11",
"max_stars_repo_path": "AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.lightweight@2.0.6-preview/LWRP/Data/LightweightPipelineResources.cs",
"provenance": "train-00000-of-00045.jsonl.gz... | starcoder | <filename>AimRacing2019_05_31/AimRacing2019_05_31/Packages/com.unity.render-pipelines.lightweight@2.0.6-preview/LWRP/Data/LightweightPipelineResources.cs
using UnityEngine;
public class LightweightPipelineResources : ScriptableObject
{
public Shader BlitShader;
public Shader CopyDepthShader;
public Shader ... | 1.051474 | 6ae601c67fd091902234a6844932a1b8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68772 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LorenzoDeBie/SoftwareOntwikkelingII",
"max_stars_repo_path": "Reeks5 (Adapter - Singleton)/Deel 1 - Adapter/AdapterVariant/NotConnected.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68773"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bibliotheek.Pattern
{
class NotConnected : Exception
{
public NotConnected()
{
}
}
}
| 1.591673 | 5158711b215ad9c11f90deadd0b9e5d3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68773 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FreshManIT/CodeBuilder",
"max_stars_repo_path": "CodeBuilder.Framework/Configuration/TypeMapping/TypeElement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68774"
} | starcoder | using System;
using System.Configuration;
namespace CodeBuilder.Configuration
{
public sealed class TypeElement : ConfigurationElement
{
[ConfigurationProperty("name", IsRequired = true, IsKey = true)]
public String Name
{
get { return base["name"].ToString(); }
... | 2.401613 | 4805b7e2aa6c2f7dfeca7073e6bfc74e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68774 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "huaouo/history_code",
"max_stars_repo_path": "coursework/dotnet/final/NetFinal/Models/Student.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68775"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace NetFinal.Models
{
[Table("student")]
public partial class Student
{
public Student()
{
... | 2.568201 | 534479d69bb37236fd2845fa1d3e4335 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68775 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "monankov/Structr",
"max_stars_repo_path": "samples/Structr.Samples.EntityFrameworkCore/App.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68776"
} | starcoder | <filename>samples/Structr.Samples.EntityFrameworkCore/App.cs
using Microsoft.EntityFrameworkCore;
using Structr.Abstractions.Extensions;
using Structr.Abstractions.Providers;
using Structr.Samples.EntityFrameworkCore.DataAccess;
using Structr.Samples.EntityFrameworkCore.Domain.FooAggregate;
using Structr.Samples.IO;
us... | 2.581944 | 9b586435349dde1a4200146a1860d903 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68776 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "constraint-capers/workbench",
"max_stars_repo_path": "src/Workbench.Core/Solvers/DomainValue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68777"
} | starcoder | namespace Workbench.Core.Solvers
{
/// <summary>
/// Base class for all domain values.
/// </summary>
public abstract class DomainValue
{
/// <summary>
/// Get the domain range.
/// </summary>
/// <returns>Domain range.</returns>
public abstract Range GetRang... | 3.016126 | 504dadd7e2c2552568c3cdd50f11f70d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68777 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "FatiniNadhirah5/Game-Coin-Unity-2019",
"max_stars_repo_path": "VRPractice/Assets/MyData/Script/PlayerWalk.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68778"
} | starcoder | <reponame>FatiniNadhirah5/Game-Coin-Unity-2019
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerWalk : MonoBehaviour
{
// Start is called before the first frame update
public int playerSpeed;
public GameObject wall;
public int count;
void Start()
... | 2.263909 | 179d22ad8b6c1c5abdc89ba25eb28214 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68778 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HReader/HReader.Plugin.Hitomila",
"max_stars_repo_path": "HReader.Plugin.Hitomila/MetadataSource.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68779"
} | starcoder | using System;
using System.Collections.Immutable;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using HReader.Base;
using HReader.Base.Data;
// It is conventional to use the <Your Name>.Plugin.<Your Source Name> namespace
// For third-party or non-builtin metadata or content s... | 2.753211 | 050e387d65b08f235abc71dd8408d890 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68779 | {
"extension": "c-sharp",
"max_stars_count": "28.0",
"max_stars_repo_name": "microsoft/ElectionGuard-SDK-CSharp",
"max_stars_repo_path": "src/ElectionGuard/ElectionGuardAPI/SerializedBytes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68780"
} | starcoder | /**
* Generic Serialized Bytes Struct
* Returns from the C API have several returns that are structs
* which contain a byte array and the array's length to represent
* the serialized data for keys, trustees, states, etc.
*/
using System;
using System.Runtime.InteropServices;
namespace ElectionGuard.SDK.ElectionG... | 1.898808 | 6b59ffffd9720218e989fac286174cc8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68780 | {
"extension": "c-sharp",
"max_stars_count": "146.0",
"max_stars_repo_name": "phizch/terrafx.interop.windows",
"max_stars_repo_path": "sources/Interop/Windows/um/oaidl/BINDPTR.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68781"
} | starcoder | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/oaidl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.InteropServices;
namespace... | 1.01968 | 325d44e1c39d703355106ab7dd437d49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68781 | {
"extension": "c-sharp",
"max_stars_count": "1576.0",
"max_stars_repo_name": "andrew-demb/peachpie",
"max_stars_repo_path": "src/Peachpie.Runtime/std/__PHP_Incomplete_Class.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68782"
} | starcoder | using Pchp.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
/// <summary>
/// Core class created by <c>unserialize</c> if an undefined class should be created.
/// </summary>
[E... | 1.687578 | ffe5cc877876f9de69a58bafc62cf165 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68782 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "stever/Windar",
"max_stars_repo_path": "src/TrayApp/PluginHost.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68783"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Reflection;
using System.Text;
using System.Windows.Forms;
using log4net;
using Windar.Common;
using Windar.PluginAPI;
namespace Windar.TrayApp
{
class PluginHost : IPluginHo... | 2.19844 | 2429d9bfc0ad0dd5594e787917978e22 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68783 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jmawebtech/connect-csharp-sdk",
"max_stars_repo_path": "src/Square.Connect/Model/InventoryState.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68784"
} | starcoder | <reponame>jmawebtech/connect-csharp-sdk<gh_stars>0
/*
* Square Connect API
*
* Client library for accessing the Square Connect APIs
*
* OpenAPI spec version: 2.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using Sys... | 1.779337 | 81cd673fda65cf77fbfa5e39396ac372 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68784 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "newpullin/DBWACS",
"max_stars_repo_path": "Model/DGVModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68785"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Remoting.Messaging;
using System.Text;
using System.Threading.Tasks;
namespace DBWACS.Model
{
public class DGVModel
{
private List<String> columns;
private List<List<String>> rows;
public DGVModel(... | 2.881197 | 36c7798e3cc8e8b27a8d2fb28a93f182 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68785 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "vassilis-panos/Nager.Country",
"max_stars_repo_path": "src/Nager.Country/CountryInfos/ThailandCountryInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68786"
} | starcoder | using Nager.Country.Currencies;
namespace Nager.Country.CountryInfos
{
/// <summary>
/// Thailand
/// </summary>
public class ThailandCountryInfo : ICountryInfo
{
///<inheritdoc/>
public string CommonName => "Thailand";
///<inheritdoc/>
public string OfficialName => ... | 2.350166 | 532b18885d7d6e33a7b16c577e08f2a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68786 | {
"extension": "c-sharp",
"max_stars_count": "60.0",
"max_stars_repo_name": "takaaptech/MinecraftClone-Unity",
"max_stars_repo_path": "Assets/Scripts/Entities/IRenderableEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68787"
} | starcoder | <reponame>takaaptech/MinecraftClone-Unity
using UnityEngine;
using UnityEngine.Rendering;
using XLua;
namespace Minecraft.Entities
{
[LuaCallCSharp]
public interface IRenderableEntity : IAABBEntity
{
bool EnableRendering { get; set; }
Mesh SharedMesh { get; }
Material SharedMateri... | 1.349627 | 8f5e59146c129e107c898f01f7d6eaaa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68787 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CUPNS/Sealed2",
"max_stars_repo_path": "Launcher/Utils/Request.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68788"
} | starcoder | <filename>Launcher/Utils/Request.cs
using System;
using System.IO;
using System.Net;
using System.Text;
using ComponentAce.Compression.Libs.zlib;
namespace Launcher
{
public class Request
{
public static string Session;
public string RemoteEndPoint;
public Request(string session, string remoteEndPoint)
{
... | 2.663436 | b6c37d0834f702539464e176ea938894 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68788 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "brianmains/Nucleo.NET",
"max_stars_repo_path": "src/Nucleo/Models/IModelInspector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68789"
} | starcoder | using System;
using System.Reflection;
namespace Nucleo.Models
{
/// <summary>
/// Represents the object that actually inspects the model's properties. For instance, this object is used to inspect a model's attributes, but could be developed to look at anything, such as the type of the property, to mark the prope... | 2.663273 | e073852f7a7f2ae82d93612e92bc6887 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68789 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kalexii/cOOnsole",
"max_stars_repo_path": "cOOnsole/Printing/Indent.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68790"
} | starcoder | <reponame>kalexii/cOOnsole
using System;
namespace cOOnsole.Printing
{
internal class Indent : IDisposable
{
private readonly IPrinter _printer;
private readonly int _levels;
public Indent(IPrinter printer, int levels = 1)
{
_printer = printer;
_levels ... | 2.736574 | 110b0f7d00ecab50c7484be15b25d897 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68790 | {
"extension": "c-sharp",
"max_stars_count": "84.0",
"max_stars_repo_name": "localstack-dotnet/localstack-dotnet-client",
"max_stars_repo_path": "tests/LocalStack.Client.Functional.Tests/Scenarios/SQS/SqsLegacyScenario.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68791"
} | starcoder | namespace LocalStack.Client.Functional.Tests.Scenarios.SQS;
[Collection(nameof(LocalStackLegacyCollection))]
public class SqsLegacyScenario : SqsScenario
{
public SqsLegacyScenario(TestFixture testFixture)
: base(testFixture, TestConstants.LegacyLocalStackConfig, true)
{
}
}
| 0.954362 | c345e988bea1b081213c9c82504b16fe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68791 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "fabioborges-ti/webapi.netcore-efcore-ddd-tests",
"max_stars_repo_path": "src/Api.Data/Implementations/AddressImplementations.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68792"
} | starcoder | <filename>src/Api.Data/Implementations/AddressImplementations.cs
using Api.Data.Context;
using Api.Data.Repositories;
using Api.Domain.Entities;
using Api.Domain.Interfaces.Repositories;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using Syste... | 2.380763 | 3ebd32ff0f3323fc3ab37c3719df566c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68792 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Suchiman/AngouriMath",
"max_stars_repo_path": "Sources/AngouriMath/Core/Domains.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68793"
} | starcoder | <reponame>Suchiman/AngouriMath<gh_stars>1-10
/*
* Copyright (c) 2019-2021 Angouri.
* AngouriMath is licensed under MIT.
* Details: https://github.com/asc-community/AngouriMath/blob/master/LICENSE.md.
* Website: https://am.angouri.org.
*/
using static AngouriMath.Entity.Set;
namespace AngouriMath.Core
{
///... | 2.254847 | 415e20ab417a06873c46e84711f82cad |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68793 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "formigaAzul/glassos",
"max_stars_repo_path": "Scripts/Facebook/FacebookFriendButtonHandler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68794"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections;
using System.Collections.Generic;
public class FacebookFriendButtonHandler : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler
{
[Header("ANIMATORS")]
public Animator objectAnimator;
private bool isOpen = f... | 1.840447 | 353854a9d37d7c5c806e7c34b9842e9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68794 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fossapps/Micro.Auth",
"max_stars_repo_path": "Micro.Auth.Business/EmailVerification/UserAlreadyActivatedException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68795"
} | starcoder | using System;
namespace Micro.Auth.Business.EmailVerification
{
public class UserAlreadyActivatedException : Exception
{
public UserAlreadyActivatedException() : base("Email already verified")
{
}
}
}
| 1.862879 | af9f7018a2996598259d49a5c4fd3d66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68795 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "olaf-svenson/graphql-net-reproduction",
"max_stars_repo_path": "graphql-demo/API/GraphTypes/TaskType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68796"
} | starcoder | using API.Entities;
using GraphQL.Types;
namespace API.GraphTypes
{
public sealed class TaskType : ObjectGraphType<Task>
{
public TaskType()
{
Name = nameof(Task);
Field(task => task.Id)
.Description("The task id.");
Field(task => task.IsDo... | 2.553832 | 10fb6cd3c6a061cc95ec7465c9e37d64 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68796 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "NumerousTechnology/DevopsCommandoLite",
"max_stars_repo_path": "DevopsCommandoLite/Model/DevopsResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68797"
} | starcoder | using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
namespace DevopsCommandoLite.Terminal.Services
{
public class DevopsResponse<T>
{
public static DevopsResponse<T> Create(T data, HttpStatusCode status)
{
throw new NotImplementedException();
... | 2.567044 | cb581107b218f5017626d025a43e32cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68797 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "batuhan-yilmaz/Asp.Net-MVC-5-ONLINEPT-Personel-Trainer-Control-System",
"max_stars_repo_path": "onlinept/Controllers/rand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68798"
} | starcoder | <reponame>batuhan-yilmaz/Asp.Net-MVC-5-ONLINEPT-Personel-Trainer-Control-System
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace onlinept.Controllers
{
public class rand
{
public static int GenerateDigit(int EventID)
{
Random rng = new... | 2.033007 | df43d64a9445e4da8a6a103df6202791 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68798 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SirDiazo/DazRscListSort",
"max_stars_repo_path": "DazRscListSort.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68799"
} | starcoder | <reponame>SirDiazo/DazRscListSort
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
using KSerialization;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
namespace DazRscListSort
{
//Primary object of this mod, is where... | 2.011133 | 2fd7737d4dd93b769c7588e6232bab41 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68799 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "GeorgeLBS1/LabUnidad2_JoseDiaz",
"max_stars_repo_path": "Lab_2_JoseDiaz/Views/Empleado/Index.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68800"
} | starcoder | <filename>Lab_2_JoseDiaz/Views/Empleado/Index.cshtml
@model IEnumerable<Lab_2_JoseDiaz.Models.EmpleadoViewModel>
@{
ViewData["Title"] = "Index";
}
<h2>Listado de Empleados </h2>
<p>
<p><a asp-area="" asp-controller="Empleado" asp-action="Oficina">Disponibles en la oficina</a></p>
<p><a asp-area="" asp-c... | 2.582645 | 9c59a18e63a66b4f6e2ddd89420c26b3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68800 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bswanson58/NoiseMusicSystem",
"max_stars_repo_path": "Noise.EntityFrameworkDatabase.Tests/DatabaseUtility/SqlDatabaseManagerTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68801"
} | starcoder | <gh_stars>1-10
using FluentAssertions;
using Noise.EntityFrameworkDatabase.DatabaseUtility;
using Noise.Infrastructure.Interfaces;
using NUnit.Framework;
namespace Noise.EntityFrameworkDatabase.Tests.DatabaseUtility {
[TestFixture]
public class SqlDatabaseManagerTests {
private SqlDatabaseManager CreateSut() {
... | 2.242115 | 4c6b95e3de0ed19883d9c463675b27e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68801 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "m-zayan/Omail",
"max_stars_repo_path": "Components/TextLabel.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68802"
} | starcoder | <reponame>m-zayan/Omail<filename>Components/TextLabel.xaml.cs
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 System.Windows.Documents;
using System.Windows.Input;
u... | 2.046221 | ab93f93c79229f77e150897e12b259b6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68802 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zengspr/Trackily",
"max_stars_repo_path": "Trackily/Areas/Identity/Policies/Requirements/TicketEditPrivilegesRequirement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68803"
} | starcoder | <reponame>zengspr/Trackily
using Microsoft.AspNetCore.Authorization;
namespace Trackily.Areas.Identity.Policies.Requirements
{
public class TicketEditPrivilegesRequirement : IAuthorizationRequirement
{
}
}
| 0.945846 | acd0fdc92b2ddbaa2f1ad0c43fd49a66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68803 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "damonmcminn/ShoppingList-library",
"max_stars_repo_path": "ShoppingList.ApiClient.Tests/BaseServiceTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68804"
} | starcoder | <reponame>damonmcminn/ShoppingList-library
using ShoppingList;
using NUnit.Framework;
namespace Tests
{
public class BaseServiceTests
{
protected APIClient CheckoutClient;
[SetUp]
public void Init()
{
CheckoutClient = new APIClient();
}
}
}
| 1.423763 | b233d895978e0a435e737b38be89cf2b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68804 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ckmio/AMIntermedia",
"max_stars_repo_path": "src/AMIntermediaCore/Instrument.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68805"
} | starcoder | <reponame>ckmio/AMIntermedia
using System;
using Newtonsoft.Json.Linq;
namespace AMIntermediaCore
{
public class Instrument
{
public string Sector { get; set;}
public string ISIN {get; set;}
public string SecName {get; set;}
public string GlobalSectorSupply {get; set;}
p... | 1.669678 | d123a8080bd64d26995f27e6609c6dbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68805 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devntofficial/CloudConsultRC",
"max_stars_repo_path": "UI/Blazor/CloudConsult.UI.Data/Doctor/ProfileData.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68806"
} | starcoder | <reponame>devntofficial/CloudConsultRC
namespace CloudConsult.UI.Data.Doctor
{
public class ProfileData
{
public string IdentityId { get; set; }
public string FullName { get; set; }
public string Gender { get; set; }
public string Role { get; set; } = "Doctor";
public st... | 1.392368 | 432565aa84881f8559334211240a4074 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68806 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zyl910/zyllibcs",
"max_stars_repo_path": "zinfotools/system/zinfoimage/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68807"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using zyllibcs.text;
namespace zinfoimage {
class Program {
static void Main(string[] args) {
IIndentedWriter iw = new TextIndentedWriter(Console.Out);
if (args.Length >= 1) {
MyIn... | 2.281571 | 0073d720b7b757b2fe957a15618cf111 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68807 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "babelshift/LimitedLiability",
"max_stars_repo_path": "LimitedLiability/Simulation/Action.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68808"
} | starcoder | using System;
using System.Collections.Generic;
using LimitedLiability.Descriptors;
namespace LimitedLiability.Simulation
{
public enum ActionType
{
DispenseDrink,
DispenseFood
}
public class Action
{
private List<Subscription> subscriptions = new List<Subscription>();
public ActionType Type { get; priv... | 2.54418 | 79c7a741602cc90ce66223c68c17fa3f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68808 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "domn1995/Onos.Net",
"max_stars_repo_path": "Utils/Misc/Src/Test/Onos.Net.Utils.Misc.OnLab.Test/Graph/TestEdge.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68809"
} | starcoder | <reponame>domn1995/Onos.Net
using System;
using Onos.Net.Utils.Misc.OnLab.Graph;
namespace Onos.Net.Utils.Misc.OnLab.Test.Graph
{
/// <summary>
/// Represents a test edge.
/// </summary>
public class TestEdge : AbstractEdge<TestVertex>, IEquatable<TestEdge>
{
/// <summary>
/// Gets... | 2.722487 | 765c937237768bcef1fa70e410e9af3a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68809 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "max4805/ExtendedVariantMode",
"max_stars_repo_path": "ExtendedVariantMode/Entities/ForMappers/DisplaySpeedometerTrigger.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68810"
} | starcoder | using Celeste;
using Celeste.Mod.Entities;
using ExtendedVariants.Module;
using ExtendedVariants.Variants;
using Microsoft.Xna.Framework;
namespace ExtendedVariants.Entities.ForMappers {
[CustomEntity("ExtendedVariantMode/DisplaySpeedometerTrigger")]
public class DisplaySpeedometerTrigger : AbstractExtendedVa... | 1.739677 | 16de77195fd8a1ac8e38989171ce65bd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68810 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Energinet-DataHub/geh-timeseries",
"max_stars_repo_path": "source/GreenEnergyHub.TimeSeries.Integration/source/GreenEnergyHub.TimeSeries.Integration.Infrastructure/EventDispatcher.cs",
"provenance": "train-00000-of-00045.jsonl.gz:6881... | starcoder | <filename>source/GreenEnergyHub.TimeSeries.Integration/source/GreenEnergyHub.TimeSeries.Integration.Infrastructure/EventDispatcher.cs
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the License.
// You... | 1.888641 | f5a56f09c39bffe98fb5bb89869d4294 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68811 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "cedricga91/framework",
"max_stars_repo_path": "axlstar/Arcane.Axl/Arcane.Axl/ItemKind.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68812"
} | starcoder | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Text;
namespace Arcane.Axl
{
public enum ItemKind
{
Unknown,
Node,
Edge,
Face,
Cell,
DualNode,
Link,
Particle,
DoF
}
}
| 1.375298 | a8ad728022c236355b936fc9dc70c20c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68812 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Blazored/Materialize",
"max_stars_repo_path": "src/Blazored.Materialize/Collapsible/CollapsibleSection.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:68813"
} | starcoder | <li>
<div class="collapsible-header">
<i class="material-icons">@Icon</i> @Header
</div>
<div class="collapsible-body">
<span>@ChildContent</span>
</div>
</li>
@functions {
[Parameter]
private string Icon { get; set; }
[Parameter]
private string Header { get; set; }... | 2.212398 | 157e84c560d343a010597e73ccd18416 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68813 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "vpenades/InteropBitmaps",
"max_stars_repo_path": "tests/InteropTypes.Graphics.Drawing.Tests/Plotly/PlotlyTests3D.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68814"
} | starcoder | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using InteropTypes.Graphics.Backends;
using NUnit.Framework;
namespace InteropTypes.Graphics.Drawing
{
public class PlotlyTests3D
{
[Test]
public void DrawVolumes()
{
var scene = new ... | 2.286448 | 3527966f9595839e4240a457f483066a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68814 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "faruknane/PerformanceWork",
"max_stars_repo_path": "PerformanceWork/OptimizedNumerics/Tensors/Tensor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68815"
} | starcoder | using PerformanceWork.NCuda;
using PerformanceWork.OptimizedNumerics.Pool;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
namespace PerformanceWork.OptimizedNumerics.Tensors
{
... | 2.512577 | 6436a5de9470b2041811d94e43d92366 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68815 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MentulaGames/MentulaNet",
"max_stars_repo_path": "Networking/Networking/Core/Messages/MessageCache.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68816"
} | starcoder | namespace DeJong.Networking.Core.Messages
{
using System;
using System.Diagnostics;
using Utilities.Core;
using Utilities.Threading;
[DebuggerDisplay("{ToDebbugerString()}")]
internal sealed class MessageCache : IFullyDisposable
{
public bool Disposed { get; private set; }
... | 2.756319 | 1d9ca14f5e4de6eee8e009d27ee47e89 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68816 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "kgreed/AzureMyobSync",
"max_stars_repo_path": "AMS.MyobApi/MYOBAPI/SyncInvoices.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68817"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using MYOB.AccountRight.SDK.Contracts;
using MYOB.AccountRight.SDK.Contracts.Version2.Sale;
using MYOB.AccountRight.SDK.Services;
using MYOB.AccountRight.SDK.Services.Sale;
using MYOBApi.CSharp.... | 1.624888 | 27a40df6ca605f4cdd22b11799579fba |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68817 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "eiva/Bio",
"max_stars_repo_path": "Bio.Primitives/Strand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68818"
} | starcoder | <reponame>eiva/Bio
namespace Bio.Primitives
{
public enum Strand
{
Positive,
Negative
}
}
| 1.448598 | dd3743204287737e6f3c4d8305926c4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68818 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "s-ueno/TableClassGenerator",
"max_stars_repo_path": "TableClassGenerator/CustomCodeGenerator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68819"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TableClassGenerator.Core;
using uEN;
namespace TableClassGenerator
{
[PartCreationPolicy(CreationPolicy.Shared)]
[Export(typeof(CodeGenerator))]
... | 2.135273 | 2ae3a12abe742b67d456dafa13743eb4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68819 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "wuxiaod1987/WCAE",
"max_stars_repo_path": "WCAE/Geo/WGeos2D/Units/Radians.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68820"
} | starcoder | <filename>WCAE/Geo/WGeos2D/Units/Radians.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WCAE.WGeos2D.Units
{
public struct Radians
{
public const double Conv = 1.0;
internal const string Name = "rad";
public double Conversionfactor
... | 2.779905 | 251c9a37107c43d2ab273dd8c9ae8714 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68820 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shuebner20/dracoon-csharp-sdk",
"max_stars_repo_path": "DracoonSdk/SdkInternal/ApiModel/Nodes/ApiNodePermissions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68821"
} | starcoder | <filename>DracoonSdk/SdkInternal/ApiModel/Nodes/ApiNodePermissions.cs
using Newtonsoft.Json;
namespace Dracoon.Sdk.SdkInternal.ApiModel {
internal class ApiNodePermissions {
[JsonProperty("manage", NullValueHandling = NullValueHandling.Ignore)]
public bool Manage {
get; set;
}
... | 1.853186 | 78efad7a43cf6658031aadc0aba117c3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68821 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "Dolphinos7/GBAFireEmblemInUnity",
"max_stars_repo_path": "Assets/Scripts/TrashCan/ItemButtonFunctions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68822"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemButtonFunctions : MonoBehaviour
{
GameObject selectedPlayer;
PopupMenuFunctions popup;
Inventory inventory;
void Start()
{
}
// Update is called once per frame
void Update()
{
... | 1.934957 | 308b193a481aa4d20cb7685e20915f72 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68822 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "seungyongshim/Akka.Streams.Kafka",
"max_stars_repo_path": "src/Akka.Streams.Kafka/Messages/Envelope.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68823"
} | starcoder | <reponame>seungyongshim/Akka.Streams.Kafka
namespace Akka.Streams.Kafka.Messages
{
public interface IEnvelope<K, V, TPassThrough>
{
// TODO
}
} | 0.893731 | 2e15bde29f20ab0fa8a2537f036067de |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68823 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OrchardSkills/OrchardSkills.RaspberryPi.LedOnOff",
"max_stars_repo_path": "OrchardSkills.RaspberryPi.LedOnOff/Devices/LedDevice.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68824"
} | starcoder | <filename>OrchardSkills.RaspberryPi.LedOnOff/Devices/LedDevice.cs
using System;
using System.Device.Gpio;
namespace OrchardSkills.RaspberryPi.LedOnOff.Devices
{
public class LedDevice : IDisposable
{
private const int LedPin = 17;
private GpioController _controller;
private bool dispo... | 3.208949 | ff4835512e7fee576192487f2f1d1014 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68824 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ArneD/command-handling",
"max_stars_repo_path": "src/Be.Vlaanderen.Basisregisters.AggregateSource/ValueObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68825"
} | starcoder | <filename>src/Be.Vlaanderen.Basisregisters.AggregateSource/ValueObject.cs
namespace Be.Vlaanderen.Basisregisters.AggregateSource
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using Newtonsoft.Json;
using NodaTime;
using NodaTime.Text;
us... | 2.712149 | 8f7608d37edfcdfdbd446a6ca55e0009 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68825 | {
"extension": "c-sharp",
"max_stars_count": "1705.0",
"max_stars_repo_name": "ChristopherButtars/aws-sdk-net",
"max_stars_repo_path": "sdk/src/Services/IoT/Generated/Model/StepFunctionsAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68826"
} | starcoder | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... | 1.904322 | 4864c39f01a8748ef8580f436e11c8cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68826 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "nagilum/pvgisjson",
"max_stars_repo_path": "pvgisjsonapi/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68827"
} | starcoder | using Float;
using Microsoft.AspNetCore.Hosting;
namespace pvgisjsonapi {
public class Program {
public static void Main(string[] args) {
// Serve pages.
FloatEngine.RegisterRouteFunction("", FloatHttpMethod.GET, API.ServePageHome);
FloatEngine.RegisterRouteFunction("do... | 2.124257 | 5da60bb3a4f429c537760aae0dd47540 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68827 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "wedge206/OrchardCore",
"max_stars_repo_path": "src/OrchardCore/OrchardCore.OpenId.Core/Services/Managers/OpenIdTokenManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68828"
} | starcoder | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using OpenIddict.Abstractions;
using OpenIddict.Core;
using OrchardCore.OpenId.Abstractions.Managers;
using OrchardCore.OpenId.Abstractions.Stores;
namespace OrchardCore.OpenId.Se... | 2.460959 | 98d73d88a452068afc19a5c2afc2f1da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68828 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Zeodexic/tsorcRevamp",
"max_stars_repo_path": "Projectiles/SentenzaShot.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68829"
} | starcoder | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace tsorcRevamp.Projectiles
{
class SentenzaShot : ModProjectile
{
public override void SetDefaults()
{
projectile.width = 12;
proje... | 1.916336 | b693b8d0c354b7e18f165db840024d42 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68829 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "filipkristo/deezer-player",
"max_stars_repo_path": "DeezerWrapper/DeezerPlayerLib/Enum/EXECUTION_STATE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68830"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeezerPlayerLib.Enum
{
[Flags]
public enum EXECUTION_STATE : uint
{
ES_AWAYMODE_REQUIRED = 0x00000040,
ES_CONTINUOUS = 0x80000000,
ES_DISPLAY_REQUIRED = 0x0... | 1.857406 | e51a9c7d899ca97e691ef08b32c69cbe |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68830 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "elinks4/CourseWorks",
"max_stars_repo_path": "GameWebApi/AllPlayers.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68831"
} | starcoder | using System.Collections.Generic;
namespace GameWebApi
{
public class AllPlayers// : IAllPlayers
{
// public List<Player> play {get; set;}
public List<Player> play = new List<Player>();
}
} | 1.48252 | 00b6d31b14c5350e5e73300ea8e7cf65 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68831 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "devdiv/test-exerciser",
"max_stars_repo_path": "TestExerciser/TestExerciser/Logic/ExcelDataReader.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68832"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Windows.Forms;
using System.Data.OleDb;
using System.IO;
using TestExerciser.Data;
namespace TestExerciser
{
class ExcelDataReader
{
public static string ... | 2.546969 | 4dbef95c4e1a0523aca382f5f6ed5474 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 68832 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mindstorms6/jsii",
"max_stars_repo_path": "packages/jsii-pacmak/test/expected.jsii-calc/dotnet/Amazon.JSII.Tests.Calculator/JSObjectLiteralToNative.cs",
"provenance": "train-00000-of-00045.jsonl.gz:68833"
} | starcoder | using Amazon.JSII.Runtime.Deputy;
namespace Amazon.JSII.Tests.Calculator
{
[JsiiClass(typeof(JSObjectLiteralToNative), "jsii-calc.JSObjectLiteralToNative", "[]")]
public class JSObjectLiteralToNative : DeputyBase
{
public JSObjectLiteralToNative(): base(new DeputyProps(new object[]{}))
{
... | 1.886986 | 89f6e2b6e122bd97b1afcb6f46341165 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.