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 | 88361 | {
"extension": "c-sharp",
"max_stars_count": "83.0",
"max_stars_repo_name": "nhibernate/NHibernate.AspNet.Identity",
"max_stars_repo_path": "source/NHibernate.AspNet.Identity/IdentityUserClaim.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88362"
} | starcoder | using NHibernate.AspNet.Identity.DomainModel;
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;
namespace NHibernate.AspNet.Identity
{
public class IdentityUserClaim : EntityWithTypedId<int>
{
public virtual string ClaimType { get; set; }
public virtual string Claim... | 2.186294 | acd5b92b57bef27475dba047ac8c3049 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88362 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "todorm85/TelerikAcademy",
"max_stars_repo_path": "Courses/Programming/High Quality Code/Teamwork/src/IStateFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88363"
} | starcoder | <reponame>todorm85/TelerikAcademy<filename>Courses/Programming/High Quality Code/Teamwork/src/IStateFactory.cs
namespace BullsAndCowsGame
{
using BullsAndCowsGame.Engine;
/// <summary>
/// Implemented by factories that create different game states.
/// </summary>
internal interface IStateFactory... | 2.49218 | 54084ccf94ec40e91ca791aa521e25e3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88363 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skbkontur/GroboContainer.NUnit.Extensions",
"max_stars_repo_path": "GroboContainer.NUnitExtensions.Tests/ExecutionOrder/WrapperAttributeWithAndDependency_Test.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88364"
} | starcoder | <filename>GroboContainer.NUnitExtensions.Tests/ExecutionOrder/WrapperAttributeWithAndDependency_Test.cs
using NUnit.Framework;
namespace GroboContainer.NUnitExtensions.Tests.ExecutionOrder
{
[GroboTestSuite("ZZZZ"), WithBAndU("0")]
public class WrapperAttributeWithAndDependency_Test : GroboTestMachineryTestBas... | 2.130497 | 42bdf656d71b5bf529b6139dead8ad68 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "terrajobst/linker",
"max_stars_repo_path": "src/ILLink.Tasks/SetAssemblyActions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88365"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System.IO;
namespace ILLink.Tasks
{
public class SetAssemblyActions : Task
{
/// <summary>
/// Paths to the assembly files that should be considered as
/// input... | 2.314235 | 524080bb048e7f842208b6c1f7b30c7a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88365 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nfMalde/Ren.CMS.NET",
"max_stars_repo_path": "Ren.CMS.Net/Source/Ren.CMS.Net-Libraries/Ren.CMS.Persistence/Base/IsEntityAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88366"
} | starcoder | <reponame>nfMalde/Ren.CMS.NET<gh_stars>0
namespace Ren.CMS.Persistence.Base
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[AttributeUsage(AttributeTargets.Assembly)]
public class PersistenceAssembly : Attribute
{
... | 1.512057 | 47972763b53e75641e61215d0d0d039a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Anapher/PhotoFolder",
"max_stars_repo_path": "src/PhotoFolder.Application/Dto/MoveFileOperation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88367"
} | starcoder | using PhotoFolder.Core.Dto.Services;
namespace PhotoFolder.Application.Dto
{
public class MoveFileOperation : IFileOperation
{
public MoveFileOperation(FileInformation file, string targetPath)
{
File = file;
TargetPath = targetPath;
}
public FileInforma... | 2.254204 | dca0668d0b8c2d9b6ab45d9339da93bf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88367 | {
"extension": "c-sharp",
"max_stars_count": "209.0",
"max_stars_repo_name": "ialex32x/unity-jsb",
"max_stars_repo_path": "Assets/jsb/Source/Unity/ScriptableObjectFix.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88368"
} | starcoder | #if !JSB_UNITYLESS
#if UNITY_EDITOR
using System;
namespace QuickJS.Unity
{
using Native;
using Binding;
using UnityEngine;
public static class ScriptableObjectFix
{
[MonoPInvokeCallbackAttribute(typeof(JSCFunction))]
public static JSValue BindStatic_CreateInstance(JSC... | 2.003775 | a35f8e674cfb004442649b819f992f6c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88368 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kashifsoofi/notion-sdk-net",
"max_stars_repo_path": "Src/Notion.Client/Api/Blocks/RequestParams/BlocksUpdateParameters/UpdateBlocks/NumberedListItemBlock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88369"
} | starcoder | using Newtonsoft.Json;
namespace Notion.Client
{
public class NumberedListItemUpdateBlock : IUpdateBlock
{
[JsonProperty("numbered_list_item")]
public TextContentUpdate NumberedListItem { get; set; }
}
}
| 1.549033 | 9bd2fff38d41640c16cfa076e9c58a39 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88369 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "KHCmaster/PPD",
"max_stars_repo_path": "Win/FlowScriptEngineBasic/FlowSourceObjects/Repeat/BreakFlowSourceObject.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88370"
} | starcoder | <reponame>KHCmaster/PPD<filename>Win/FlowScriptEngineBasic/FlowSourceObjects/Repeat/BreakFlowSourceObject.cs
using FlowScriptEngine;
namespace FlowScriptEngineBasic.FlowSourceObjects.Repeat
{
[IgnoreTest]
[ToolTipText("Repeat_Break_Summary")]
public partial class BreakFlowSourceObject : FlowSourceObjectBa... | 1.929482 | 9319c5480556092dd4f15896db567f5a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mooict/Platform-Game-in-Windows-Form",
"max_stars_repo_path": "Platform Game Tutorial MOO ICT/Form1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88371"
} | starcoder | <filename>Platform Game Tutorial MOO ICT/Form1.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Platform_Game_Tutorial_... | 2.669382 | 1776c88b29d44b3596d98c504d15af7d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "roly445/HotelCalifornia.OnlineStore",
"max_stars_repo_path": "HotelCalifornia.OnlineStore/Features/Basket/BasketRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88372"
} | starcoder | <filename>HotelCalifornia.OnlineStore/Features/Basket/BasketRequest.cs
using System;
namespace HotelCalifornia.OnlineStore.Features.Basket
{
public class BasketRequest
{
public Guid ThingyId { get; set; }
}
} | 1.563759 | 7ce0fecd9f4522a4449dc6dc820af067 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88372 | {
"extension": "c-sharp",
"max_stars_count": "40.0",
"max_stars_repo_name": "jxnkwlp/WMS",
"max_stars_repo_path": "src/Coldairarrow.Entity/Base/Base_Enum.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88373"
} | starcoder | <gh_stars>10-100
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Coldairarrow.Entity.Base
{
/// <summary>
/// 数... | 2.247091 | fe25b170e33f8a9c7402b8f6efd184ed |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88373 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "aparenton/mti-wpf",
"max_stars_repo_path": "parent_bMedecine/parent_bMedecine/View/PatientsView.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88374"
} | starcoder | using System.Windows;
using System.Windows.Controls;
namespace parent_bMedecine.View
{
/// <summary>
/// Logique d'interaction pour PatientsView.xaml
/// </summary>
public partial class PatientsView : UserControl
{
public PatientsView()
{
InitializeComponent();
... | 2.178708 | a2052b2856a528d13d73bd883f4a8503 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88374 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "matei-tm/sample-local-development-with-azure-service-bus-and-azure-functions",
"max_stars_repo_path": "src/Publisher.MassTransit.Dual.Demo/Config/AppConfigServiceBus.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88375"
} | starcoder | <filename>src/Publisher.MassTransit.Dual.Demo/Config/AppConfigServiceBus.cs
namespace Publisher.Mt2Asb.Demo
{
public class AppConfigServiceBus
{
public string ServiceBusConnectionString { get; set; }
}
}
| 1.478293 | 8ecc6aacae89b7fde194951ad6ad8d96 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "KorStrix/Unity_DrawHierarchyIcon",
"max_stars_repo_path": "Assets/HierarchyIcon/StrixLibrary/HierarchyIcon/HierachyIconList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88376"
} | starcoder | #region Header
/* ============================================
* 작성자 : Strix
* 작성일 : 2019-04-24 오전 11:08:53
* 개요 :
============================================ */
#endregion Header
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using System;... | 1.650759 | f1f7660a7ea182c5e1325174fc40b8e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88376 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "wilson1745/AspNetCore.IdentityServer4.Sample",
"max_stars_repo_path": "src/AspNetCore.IdentityServer4.Core/Models/Config/Auth/SigningCredentialOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88377"
} | starcoder | namespace AspNetCore.IdentityServer4.Core.Models.Config.Auth
{
/// <summary>
/// Signing Credential options
/// </summary>
public class SigningCredentialOptions
{
/// <summary>
/// Expiry, default is 1 year
/// </summary>
public DefaultExpiryOptions DefaultExpiry { g... | 1.862971 | 2cefbebc116b4f93bf99e5e8e46782da |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88377 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snowstormlife/blizpartsu",
"max_stars_repo_path": "src/PartsUnlimitedWebsiteTests2/ProductSearch/StringContainsProductSearchTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88378"
} | starcoder | using Microsoft.VisualStudio.TestTools.UnitTesting;
using NSubstitute;
using PartsUnlimited.Models;
using PartsUnlimited.ProductSearch;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PartsUnlimited.ProductSearch.Tests
{
[TestClass()]
... | 2.768943 | deaf9f4d70e7b61535c7c9c58b637ec5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88378 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Anubarak/ags-tim",
"max_stars_repo_path": "AGS_Tim/AGS_Tim/models/Player.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88379"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using AGS_Tim;
namespace AGS_Tim.models
{
public class Player
{
public Question Question;
public Subject Subject;
public string PlayerPicture;
... | 2.442758 | 1bc85d8b6676f0b3f0eb407d987a59f9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "220328-uta-sh-net-ext/Marcos-Fonseca",
"max_stars_repo_path": "Project 1/RestaurantReviewApp/RestaurantReviewBL/IBL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88380"
} | starcoder | <filename>Project 1/RestaurantReviewApp/RestaurantReviewBL/IBL.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestaurantReviewModels;
namespace RestaurantReviewBL
{
internal interface IBL
{
List<Restaurant> GetAllRestaurants... | 2.308417 | f78b98f281bde8bec6c6d769ea53212a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "MichaelBross/camm",
"max_stars_repo_path": "WebApplication2/CodeTemplates/DataModelsFolder/ConnectorDocuments.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88381"
} | starcoder | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Application.Models
{
/// <summary>
/// Represents a ConnectorDocuments.
/// NOTE: This class is generated from a T4 template - you should not modify it manually.
/// </summary>
p... | 2.093061 | 2988d35f9f0927d73ce9357fe44537f2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88381 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Peefy/DesignPatternByCSharp",
"max_stars_repo_path": "Patterns/CompositeEntityPattern/DependencyObject2.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88382"
} | starcoder | namespace VsCodeProOne.Patterns.CompositeEntityPattern
{
public class DependencyObject2
{
public string Data {get;set;}
}
}
| 1.733646 | ab7c181d252c8832c3f606036e72d8e6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88382 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "Lasanga/LibraryApplication",
"max_stars_repo_path": "core/Intellect.DomainServices/Books/BookManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88383"
} | starcoder | using Intellect.Core.Models.Books;
using Intellect.Infrastructure.Repositories.BookReposiotries;
using Intellect.Infrastructure.UnitOfWork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Intellect.DomainServices.Books
{
public class Bo... | 2.790714 | dbb14a788638922e98af326428db2327 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JiYangJi/QFramework",
"max_stars_repo_path": "Unity2020Test/Assets/QFramework/Framework/Examples/1.CoreExample/IOCExample/NetworkExampleService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88384"
} | starcoder | using UnityEngine;
namespace QFramework.Example
{
public interface INetworkExampleService
{
void Request();
}
public class NetworkExampleService : INetworkExampleService
{
public void Request()
{
Debug.Log("请求服务器");
}
}
} | 2.110355 | 187082e4a936b718c007ecce1e42e0ac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88384 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "chrismcv/caliburn",
"max_stars_repo_path": "src/Caliburn.Core/InversionOfControl/IBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88385"
} | starcoder | namespace Caliburn.Core.InversionOfControl
{
/// <summary>
/// Implemented by services capable of injecting dependencies into existing objects.
/// </summary>
public interface IBuilder
{
/// <summary>
/// Injects dependencies into the object.
/// </summary>
... | 2.716394 | 07f1ae1cf3e99eda0980ec22b6debc86 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88385 | {
"extension": "c-sharp",
"max_stars_count": "116.0",
"max_stars_repo_name": "rogerioloboBR/portalWebMaktub",
"max_stars_repo_path": "netcore/MVC/PagesLTE.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88386"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace lte.MVC
{
public static class Pages
{
public static class Dashbaordv1
{
public const string Url = "/Adminlte/Dashboardv1";
}
public static class Dashbaordv2
... | 1.276715 | 6de173f37672f7b5154147066d41c4c0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88386 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "piotrojrzynski1/AoLibs",
"max_stars_repo_path": "AoLibs.Navigation.iOS/Navigation/Providers/StoryboardCachedPageProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88387"
} | starcoder | <filename>AoLibs.Navigation.iOS/Navigation/Providers/StoryboardCachedPageProvider.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using AoLibs.Navigation.Core.Interfaces;
using AoLibs.Navigation.Core.PageProviders;
using AoLibs.Navigation.iOS.Navigation... | 2.699989 | 5d13b5397d0420f359ae9cab12eec9d0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88387 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Kaemmelot/AudiblePlayer",
"max_stars_repo_path": "RfidProgrammer/App.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88388"
} | starcoder | using System.Windows;
namespace RfidProgrammer
{
public partial class App : Application
{
public App()
{
var bootstrapper = new AppBootstrapper();
bootstrapper.Run();
}
}
}
| 1.605412 | 0f8c0211920c5766300648bf5ad9c07e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88388 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CreativeCodersTeam/Core",
"max_stars_repo_path": "source/Logging/CreativeCoders.Logging.Delegate/DelegateLoggerFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88389"
} | starcoder | using System;
using CreativeCoders.Core.Logging;
namespace CreativeCoders.Logging.Delegate
{
public class DelegateLoggerFactory : ILoggerFactory
{
private readonly Action<LogLevel, string, string> _logAction;
public DelegateLoggerFactory(Action<LogLevel, string, string> logAction)
{
... | 2.506961 | 18ebd4d351f3179b254279f799024b44 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88389 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "JaysonRice/ResumeRandomizer",
"max_stars_repo_path": "ResumeRandomizer/Models/ProjectBullet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88390"
} | starcoder | <filename>ResumeRandomizer/Models/ProjectBullet.cs
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ResumeRandomizer.Models
{
public class ProjectBullet
{
public int Id { get; set; }
public ... | 2.142488 | acb7ae4fface35a2ba62b7b81c469e3e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88390 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "davidrevoledo/azure-webjobs-sdk",
"max_stars_repo_path": "src/Microsoft.Azure.WebJobs.Host/Loggers/IDashboardLoggingSetup.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88391"
} | starcoder | <filename>src/Microsoft.Azure.WebJobs.Host/Loggers/IDashboardLoggingSetup.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.Threading;
using Microsoft.Azure.WebJobs.Host.Dispatch;
using Microsoft.Azure... | 1.736915 | 3974a959a64d2f0a7f1b5e5d5bd10cc3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88391 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "martinpi/Unitilities",
"max_stars_repo_path": "BoneSystem/BoneDragWell.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88392"
} | starcoder | <gh_stars>10-100
/*
The MIT License
Copyright (c) 2016 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, m... | 1.893575 | f1a5db3c56f90804540c27d3356fb7f1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88392 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kubagdynia/Dapper.CustomTypeHandlers",
"max_stars_repo_path": "Dapper.CustomTypeHandlers/Dapper.CustomTypeHandlers.Tests/Repositories/ITestGuidRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88393"
} | starcoder | using System.Threading.Tasks;
using Dapper.CustomTypeHandlers.Tests.Models;
namespace Dapper.CustomTypeHandlers.Tests.Repositories
{
internal interface ITestGuidRepository
{
Task<TestGuidObject> GetTestGuidObject(long id);
Task SaveTestGuidObject(TestGuidObject testObject);
}
} | 1.785614 | 2a0fd4871d6e0ef9b7ecedcb40386731 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88393 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "wouldyougo/TRx",
"max_stars_repo_path": "TRL.Common/TimeHelpers/ITradingSchedule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88394"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TRL.Common.TimeHelpers
{
public interface ITradingSchedule
{
bool ItIsTimeToTrade(DateTime dateTime);
DateTime SessionEnd { get; }
}
}
| 1.693828 | 60e22c59c35dfe5b1823d875f4c24417 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qqqbbb/Subnautica-Mods",
"max_stars_repo_path": "WarpersNoWarping/Patches/Warper_FleeOnDamage_Evaluate.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88395"
} | starcoder | using HarmonyLib;
namespace WarpersNoWarping.Patches
{
[HarmonyPatch(typeof(FleeOnDamage), nameof(FleeOnDamage.Evaluate))]
public class Warper_FleeOnDamage_Evaluate
{
[HarmonyPostfix]
public static void Postfix(Creature creature, ref float __result)
{
if (creature.GetTy... | 2.1449 | 4d3103f5a2ac81e5c24566576f8000e7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "remi/mooget",
"max_stars_repo_path": "src/ext/StringBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88396"
} | starcoder | using System;
using System.Text;
namespace MooGet {
/// <summary>Helpful StringBuilder extensions for making it easier to build responses</summary>
public static class StringBuilderExtensions {
public static void Line(this StringBuilder builder, string str, params object[] o) {
builder.AppendLine(string.For... | 3.057043 | f9eab35e581ec2269113522166f57068 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88396 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dwalley/randomname",
"max_stars_repo_path": "Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88397"
} | starcoder |
namespace RandomStudent2
{
partial class RSG
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... | 2.184477 | 070705eb1a68c24fa4a4aad7d1546c91 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amonrart/helloamonrat",
"max_stars_repo_path": "GPAxCakulator/GPAxCakulator/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88398"
} | starcoder | <reponame>amonrart/helloamonrat
namespace GPAxCakulator
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... | 2.1304 | bb6adfee2bd19927c2802cc68b52c88f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88398 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "torquing/ZanoFineTuning",
"max_stars_repo_path": "Core/Tool.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88399"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZanoFineTuning.Tools.Accelerometer;
namespace ZanoFineTuning.Core
{
public static class T
{
public class ToolDescription
{
public FSM fsm;
public St... | 2.4152 | dcd43aa97dbd10cab9eff2729f378357 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88399 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "akashic-recorder/sample-game_FPS",
"max_stars_repo_path": "Assets/AkashicRecorder/Scripts/Entities/WalletAddressViewer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88400"
} | starcoder | <reponame>akashic-recorder/sample-game_FPS
using TMPro;
using UnityEngine;
namespace AkashicRecorder
{
public sealed class WalletAddressViewer : MonoBehaviour
{
[SerializeField] TextMeshProUGUI walletAddressText;
void Start()
{
walletAddressText.text = "Your Address: " + A... | 1.862274 | ff6e691b665c0ecb07e66edaffcfeda0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88400 | {
"extension": "c-sharp",
"max_stars_count": "48.0",
"max_stars_repo_name": "CaptiveAire/GotenbergSharpApiClient",
"max_stars_repo_path": "lib/Domain/Requests/Facets/ContentItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88401"
} | starcoder | <filename>lib/Domain/Requests/Facets/ContentItem.cs
using System;
using System.IO;
using System.Net.Http;
using Gotenberg.Sharp.API.Client.Extensions;
using JetBrains.Annotations;
namespace Gotenberg.Sharp.API.Client.Domain.Requests.Facets
{
public sealed class ContentItem
{
readonly Func<HttpContent... | 2.770461 | ef14a361b4b9de77741b3e9ca4117349 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88401 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "jstammers/EDMSuite",
"max_stars_repo_path": "ScanMaster/StatisticsViewer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88402"
} | starcoder | //using System;
//using NationalInstruments.Analysis.Math;
//using Data;
//using Data.Scans;
//using ScanMaster.GUI;
//using ScanMaster.Acquire.Plugin;
//namespace ScanMaster.GUI
//{
// /// <summary>
// /// Summary description for StatisticsViewer.
// /// </summary>
// public class Statisti... | 2.050867 | aa78075f486519f0d9427fe68f68374d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "UserIsntAvailable/PgrTools",
"max_stars_repo_path": "PgrTools.Unit.Tests/Tools/ConfigReaderTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88403"
} | starcoder | using System.Linq;
using FluentAssertions;
using PgrTools.Tools;
using Xunit;
namespace PgrTools.Unit.Tests.Tools
{
public class ConfigReaderTests : BaseTest
{
private readonly IConfigReader _sut = new ConfigReader();
[Fact]
public void ReadXmlConfig_ShouldReturnDictionary_WhenPathExis... | 2.230787 | 48bfea96f16c54280761522c8c12e47d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88403 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "ryo0ka/Sightsync",
"max_stars_repo_path": "Assets/uREPL/Scripts/Gui/FieldItems/BoolFieldItem.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88404"
} | starcoder | <gh_stars>1-10
using UnityEngine;
using UnityEngine.UI;
using System;
using System.Reflection;
namespace uREPL
{
public class BoolFieldItem : FieldItem
{
public Toggle toggle;
public override object value
{
get { return toggle.isOn; }
protected set { toggle.isOn = (bool)value; }
}
void Start()
{
toggle... | 2.257341 | dc8a2f12b09a1220c9efd399084d8cb2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88404 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lshsuper/rabbitmq-helper",
"max_stars_repo_path": "src/rabbitmq.helper/rabbitmq.helper/tools/option/HighQueueOption.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88405"
} | starcoder | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace rabbitmq.helper.tools.option
{
public class HighQueueOption:QueueOption
{
public string ExchangeName { get; set; }
public string ExchangeType { get; set; ... | 1.49298 | f18a6099aae56a5015cc2fd0e95dae4b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88405 | {
"extension": "c-sharp",
"max_stars_count": "389.0",
"max_stars_repo_name": "PerryCodes/TagHelperSamples",
"max_stars_repo_path": "TagHelperSamples/src/TagHelperSamples.Web/Views/Samples/ModalTagHelper.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:88406"
} | starcoder | <filename>TagHelperSamples/src/TagHelperSamples.Web/Views/Samples/ModalTagHelper.cshtml<gh_stars>100-1000
@using TagHelperSamples.Web.Model
@{
ViewBag.Title = "Modal TagHelper";
}
<h2>Modal TagHelper</h2>
<hr />
<p><i class="small">contributed by <a href="https://twitter.com/Dave_Paquette"><NAME></a></i></p>
<p>T... | 3.018949 | 7e2b3e8f84ccc507279d33d2aa53add3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88406 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Tyzemol/space-station-14",
"max_stars_repo_path": "Content.Server/MachineLinking/Models/SignalLink.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88407"
} | starcoder | <reponame>Tyzemol/space-station-14
using Content.Server.MachineLinking.Components;
namespace Content.Server.MachineLinking.Models
{
public sealed class SignalLink
{
public readonly SignalTransmitterComponent TransmitterComponent;
public readonly SignalReceiverComponent ReceiverComponent;
... | 1.746613 | 6e115ac6824c9622922cb0352eada07c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88407 | {
"extension": "c-sharp",
"max_stars_count": "148.0",
"max_stars_repo_name": "piovezan/SOpt",
"max_stars_repo_path": "CSharp/Property/Mechanism.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88408"
} | starcoder | using System;
public class Program {
public static void Main() {
var obj = new MinhaClasse();
obj.Idade = 20;
Console.WriteLine(obj.Idade);
obj.Idade = 10;
}
}
public class MinhaClasse {
private int idade;
public int Idade {
get => idade;
set => idade = value < 18 ? throw new Excepti... | 2.900522 | e54b537ccdb19c23fd3c62d63bc3faa8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88408 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jvbsl/VaVare",
"max_stars_repo_path": "src/VaVare.Tests/Generators/Common/References/ReferenceGeneratorTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88409"
} | starcoder | using System.Collections.Generic;
using NUnit.Framework;
using VaVare.Generators.Common;
using VaVare.Generators.Common.Arguments.ArgumentTypes;
using VaVare.Models.References;
using Assert = NUnit.Framework.Assert;
using IArgument = VaVare.Generators.Common.Arguments.ArgumentTypes.IArgument;
namespace VaVare.Tests.G... | 2.361381 | 079e59af58e8339a24e6a1c80f9bc180 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jrnail23/Tpbc.Prototype",
"max_stars_repo_path": "src/Tpbc.Web/Application/DomainModel/IMemberRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88410"
} | starcoder | using System.Collections.Generic;
namespace Tpbc.Web.Application.DomainModel
{
public interface IMemberRepository : ICollection<Member>
{
Member GetByUserName(string userName);
}
} | 1.733941 | 4e642dd3435c2f7a2f6473738008f3f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88410 | {
"extension": "c-sharp",
"max_stars_count": "89.0",
"max_stars_repo_name": "xox2/RealTime",
"max_stars_repo_path": "src/RealTime/Events/Storage/RealTimeEventStorage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88411"
} | starcoder | // <copyright file="RealTimeEventStorage.cs" company="dymanoid">
// Copyright (c) dymanoid. All rights reserved.
// </copyright>
namespace RealTime.Events.Storage
{
using System.Xml.Serialization;
/// <summary>
/// A storage class for a city event instance. This information can be stored in the save ... | 2.642406 | 38e4cdc6d11a249db98603661703b864 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88411 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "shio-youkan/Wpf-Control-Shio-TreeGrid",
"max_stars_repo_path": "source/ShioTreeGridItemEdgeRender.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88412"
} | starcoder | <filename>source/ShioTreeGridItemEdgeRender.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;
using ... | 2.193877 | 73f6f8da1e4a737dc4e80c6dd76932f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88412 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "matkoch/resharper-coconut",
"max_stars_repo_path": "src/Coconut/Debugging/Expression.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88413"
} | starcoder | <filename>src/Coconut/Debugging/Expression.cs
using System;
using System.Linq;
namespace Coconut.DebugNavigation
{
public class Expression
{
public static Expression Parse(EnvDTE.Expression expression)
{
return new Expression(expression.Name, expression.Type, expression.Value);
}
public Expr... | 2.49822 | da8d3e04ec07d7293bf8fd5c2d49cbf2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88413 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "frankracis-work/ImageSharp",
"max_stars_repo_path": "src/ImageSharp/Metadata/Profiles/Exif/Tags/ExifTag.Ucs2String.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88414"
} | starcoder | <filename>src/ImageSharp/Metadata/Profiles/Exif/Tags/ExifTag.Ucs2String.cs
// Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
namespace SixLabors.ImageSharp.Metadata.Profiles.Exif
{
/// <content/>
public abstract partial class ExifTag
{
/// <summary>
/// Gets the ti... | 2.307105 | 95b31f9a8482791cced371a1f83110b7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88414 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "tmds/NuGet.Client",
"max_stars_repo_path": "src/NuGet.Core/NuGet.Protocol.Core.Types/SearchFilter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88415"
} | starcoder | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
namespace NuGet.Protocol.Core.Types
{
/// <summary>
/// A search filter con... | 2.481921 | 3ce52326ef979c6500dbee2c5732ede1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88415 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Pip3r4o/WebServices-Team-Nike",
"max_stars_repo_path": "BillableHoursWebApp/BillableHoursWebApp.Api.Tests/Mocks/WorkLogsRepositoryMock.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88416"
} | starcoder | <filename>BillableHoursWebApp/BillableHoursWebApp.Api.Tests/Mocks/WorkLogsRepositoryMock.cs
namespace BillableHoursWebApp.Api.Tests.Mocks
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Data.Models;
using Data.Repositories;
using Moq... | 2.84427 | 78c08112d376d076e2c8844264571f70 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88416 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "atravita-mods/Stardew_Valley_Mods",
"max_stars_repo_path": "Misc/StarAI/StarAI/StarAI/ExecutionCore/TaskList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88417"
} | starcoder | using StarAI.PathFindingCore;
using StardewModdingAPI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StarAI.ExecutionCore
{
class TaskList
{
public static List<CustomTask> taskList = new List<CustomTask>();
public ... | 2.578619 | 2ed49a1372ab728bb36599a7ff68a9c8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88417 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "manofstick/NetFabric.Hyperlinq",
"max_stars_repo_path": "NetFabric.Hyperlinq.Benchmarks/Benchmarks/SelectBenchmarks.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88418"
} | starcoder | using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using StructLinq;
using System;
namespace NetFabric.Hyperlinq.Benchmarks
{
[GroupBenchmarksBy(BenchmarkLogicalGroupRule.ByCategory)]
[CategoriesColumn]
public class SelectBenchmarks : RandomBenchmarksBase
{
[BenchmarkCategory("Arr... | 2.484412 | f5131868a6fb42c43992f1dcc52764e0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88418 | {
"extension": "c-sharp",
"max_stars_count": "143.0",
"max_stars_repo_name": "sucrose0413/eShopOnContainersDDD",
"max_stars_repo_path": "src/Contexts/Ordering/Presentation/ServiceStack/Order/Services/Get.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88419"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
using Infrastructure.ServiceStack;
using ServiceStack;
namespace eShop.Ordering.Order.Services
{
[Api("Ordering")]
[Route("/order/{OrderId}", "GET")]
public class GetOrder : Query<Models.OrderingOrder>
{
public Guid OrderId { g... | 1.563834 | 155a37007c36e845b73a6d939655ae3b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88419 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JG033/SportsStore01",
"max_stars_repo_path": "SportsStore01/J.SportsStore01.Domain/Concrete/InMemoryProductsRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88420"
} | starcoder | using J.SportsStore01.Domain.Abstract;
using J.SportsStore01.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace J.SportsStore01.Domain.Concrete
{
public class InMemoryProductsRepository : IProductsRepository
{
... | 2.591474 | e5a106386329cff5a221640fd2ca7b20 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88420 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "TeoRocha/schoolCore",
"max_stars_repo_path": "Entity/SchoolTypes.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88421"
} | starcoder | namespace schoolCore.Entity
{
public enum SchoolTypes
{
PresSchool,
ElementarySchool,
HighSchool
}
} | 1.789448 | 3b9feb1d13599c9b22b16ce47bb38a56 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88421 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "VisualAcademy/AspNetCoreBook",
"max_stars_repo_path": "Chapter38/DotNetNote/src/DotNetNote/Models/Tech/TechRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88422"
} | starcoder | using Dapper;
using Microsoft.Extensions.Configuration;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
namespace DotNetNote.Models
{
public class TechRepository : ITechRepository
{
private IConfiguration _config;
private SqlConnection db;
public Tech... | 3.141347 | 2f2014efcc49a9b31f8eda12bc3529f4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88422 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "Unknwon/CharmControlLibrary",
"max_stars_repo_path": "CharmCatalogueList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88423"
} | starcoder | #region 文档说明
/* ******************************************************************************************************
* 文档作者:无闻
* 创建日期:2012年10月28日
* 文档用途:可伸缩二级分类列表自绘目录i列表
* ------------------------------------------------------------------------------------------------------
* 修改记录:
* 2013-02-12(无闻):
* - 改造成二... | 2.451093 | f1a838dff42b61b9fc611a62051f72b9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88423 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "OryxSlayer1337/LoE-Realm-NC-2",
"max_stars_repo_path": "server/gameserver/realm/world/worlds/GameWorld.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88424"
} | starcoder | #region
using LoESoft.Core.config;
using LoESoft.GameServer.networking.outgoing;
using LoESoft.GameServer.realm.entity;
using LoESoft.GameServer.realm.entity.player;
using LoESoft.GameServer.realm.mapsetpiece;
using System;
using System.Linq;
using System.Threading.Tasks;
#endregion
namespace LoESoft.GameServer.rea... | 2.052754 | 092e41ebd7eacbfc83f611b70654a9ca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88424 | {
"extension": "c-sharp",
"max_stars_count": "19.0",
"max_stars_repo_name": "izhaorui/ZrAdmin.NET",
"max_stars_repo_path": "ZR.Admin.WebApi/Controllers/System/SysPostController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88425"
} | starcoder | <gh_stars>10-100
using Microsoft.AspNetCore.Mvc;
using SqlSugar;
using System.Collections.Generic;
using ZR.Admin.WebApi.Filters;
using ZR.Model;
using ZR.Model.System;
using Infrastructure.Extensions;
using Infrastructure.Attribute;
using Infrastructure.Enums;
using Infrastructure;
using ZR.Service.System.IService;
u... | 1.748889 | 805063757e185066f18d6e3a44a621f5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88425 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "brezza92/Typography",
"max_stars_repo_path": "Demo/Shared/DrawingGL/Color.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88426"
} | starcoder | //MIT, 2014-2017, WinterDev
namespace DrawingGL
{
public struct Color
{
public readonly byte R;
public readonly byte G;
public readonly byte B;
public readonly byte A;
public Color(byte r, byte g, byte b, byte a)
{
this.R = r;
this.G ... | 2.986186 | 1b8c938f62b43da3dc91e1f469b86eea |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88426 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gerhic/Need2Park",
"max_stars_repo_path": "Need2Park/Views/ParkingLotView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88427"
} | starcoder | using Android.App;
using Android.Widget;
using Android.OS;
using Android.Views;
using Android.Graphics;
using System.Collections.Generic;
using Android.Content;
using Android.Net;
namespace Need2Park
{
class ParkingLotView : UIView
{
ParkingLotInfo parkingLotInfo;
ParkingLotLabel nameLabel;
// ParkingLotLabel ... | 1.858786 | 20d2371654b3d7f605da0e31956c9a8d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88427 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "HelloWindows/AccountBook-",
"max_stars_repo_path": "client/framework/UnityCsReference-master/Editor/Mono/Inspector/CapsuleCollider2DEditor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88428"
} | starcoder | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using UnityEditor.IMGUI.Controls;
using UnityEngine;
using UnityEditor.EditorTools;
namespace UnityEditor
{
[CustomEditor(typeof(CapsuleCollider2D))]
[CanE... | 2.032136 | 29f8e27de5d2b7245ead669e66e7e36c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88428 | {
"extension": "c-sharp",
"max_stars_count": "407.0",
"max_stars_repo_name": "hiouyuu/hprose-dotnet",
"max_stars_repo_path": "src/Hprose.IO/Converters/StringConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88429"
} | starcoder | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | 2.905326 | daaef0816dcca34587ee304578452b8c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88429 | {
"extension": "c-sharp",
"max_stars_count": "56.0",
"max_stars_repo_name": "nathanfohkens/HitCounterManager",
"max_stars_repo_path": "Sources/JsonWriter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88430"
} | starcoder | //The MIT License (MIT)
//Copyright (c) 2018 <NAME>
//Permission is hereby granted, free of charge, to any person obtaining a copy of
//this software and associated documentation files (the "Software"), to deal in
//the Software without restriction, including without limitation the rights to
//use, copy, modify, mer... | 2.998493 | 1c7963b0ae45f7af03f3983823c39a66 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88430 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csf-dev/agiil",
"max_stars_repo_path": "Agiil.Domain.Impl/TicketCriterionConvertionStrategies/TicketIsOpenClosedConversionStrategy.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88431"
} | starcoder | <gh_stars>0
using System;
using Agiil.Domain.Tickets;
using Agiil.Domain.Tickets.Specs;
using Agiil.Domain.TicketSearch;
using CSF.Specifications;
namespace Agiil.Domain.TicketCriterionConvertionStrategies
{
public class TicketIsOpenClosedConversionStrategy : IStrategyForConvertingCriterionToSpecification
{
... | 2.041483 | bef13331c135afc55d853aa48d260c26 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88431 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "zhy29563/MyMEF",
"max_stars_repo_path": "oob/demo/Microsoft.Composition.Demos.DefaultOnly/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88432"
} | starcoder | using System;
using System.Collections.Generic;
using System.Composition.Hosting;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Composition.Demos.DefaultOnly.Extension;
using Microsoft.Composition.Demos.DefaultOnly.Parts;
namespace Microsoft.Composition.Demos.DefaultOnly.Parts
{
... | 2.023481 | 413068caa4b659cbfaea866e0eadb6fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88432 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "brandongandy/scrl",
"max_stars_repo_path": "SCRL/Mapping/BasicRoomGen.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88433"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using SCORLIB.Systems;
using SCRL.MapObjects;
namespace SCRL.Mapping
{
class BasicRoomGen : Map
{
private readonly int ROOM_MAX_SIZE = 10;
private readonly int ROOM_MIN_SIZE = 6;
private readonly int MAX_ROOMS = 30;
public BasicRoomGen(int width, int ... | 2.523573 | 51698a80ae29034820fe2b0d60cfcde4 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88433 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "sahilucoe/LeetCode",
"max_stars_repo_path": "LeetCode/Problems/19.RemoveNthNodeFromEndOfList.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88434"
} | starcoder | using System.Collections.Generic;
namespace Problems
{
internal class RemoveNthNodeFromEndOfList
{
public ListNode RemoveNthFromEnd(ListNode head, int n)
{
var stack = new Stack<ListNode>();
stack.Push(null);
var iter = head;
while (iter != null... | 3.407389 | 224af9b6b7c886747b5002a7c1118409 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88434 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "warning-explosive/ProjectGenerator",
"max_stars_repo_path": "ProjectGenerator/AssemblyInfo.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88435"
} | starcoder | namespace SpaceEngineers.ProjectGenerator
{
internal class AssemblyInfo
{
internal const string SpaceEngineers = nameof(SpaceEngineers);
internal AssemblyInfo(ProjectInfo projectInfo)
{
AssemblyName = projectInfo.ProjectName;
SolutionName = projectInfo.SolutionNa... | 2.323133 | aece6fcef24881429e945a0f33e156aa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88435 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "rsmithsa/grep.core",
"max_stars_repo_path": "Grep.Core/ContentProviders/StreamContentProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88436"
} | starcoder | //-----------------------------------------------------------------------
// <copyright file="StreamContentProvider.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Grep.Core.ContentProviders
{
... | 2.777336 | 77be00ef8bb25ec93badc548213da30c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88436 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Sztorm/MaterialBinder",
"max_stars_repo_path": "Samples/SampleURP/Scripts/Generated/ShaderGraphs_Graph_TestAllPropsMaterialBindings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88437"
} | starcoder | <reponame>Sztorm/MaterialBinder
using System;
using UnityEngine;
using Sztorm.MaterialBinder;
namespace Sztorm.MaterialBinder
{
public struct ShaderGraphs_Graph_TestAllPropsMaterialBindings
{
public enum EnumType
{
A,
B,
C,
D,
E,
... | 1.763535 | 235b55fffd4ae899e91c43c25e2deeae |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88437 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "sabbiryan/reconciliation",
"max_stars_repo_path": "Reconciliation/Reconciliation.Web/Data/IncomeOrExpenseTypeService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88438"
} | starcoder | using System.Threading.Tasks;
using ReconciliationApp.Service.IncomeOrExpenseTypes;
using ReconciliationApp.Service.IncomeOrExpenseTypes.Dtos;
namespace ReconciliationApp.Blazor.Data
{
public class IncomeOrExpenseTypeService
{
private readonly IIncomeOrExpenseTypeLogicService _incomeOrExpenseTypeLogicS... | 2.085989 | 2301b7adde844d38ed0e894c767e4c9e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88438 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "egg82/Raven-Game-Framework",
"max_stars_repo_path": "Raven Game Framework/Overrides/DictionaryOverride.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88439"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
namespace Raven.Overrides {
internal static class DictionaryOverride {
public static TValue AddIfAbsent<TKey, TValue>(this IDictionary<TKey, TValue> d, TKey key, TValue value) {
TValue result = default(TValue);
if (!d.TryGetValue(key, ... | 2.202022 | fcfe88dd74332330f31925234eb93b2a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88439 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ZulfikarOpexcg/BackendGUI",
"max_stars_repo_path": "BackendGUI/Main.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88440"
} | starcoder |
namespace BackendGUI
{
partial class Main
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... | 1.648188 | 1fcbaccc40964159e6ed1e7fbd557754 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88440 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "zii-dmg/CoreRemoting",
"max_stars_repo_path": "CoreRemoting/RpcMessaging/WireMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88441"
} | starcoder | using System;
namespace CoreRemoting.RpcMessaging
{
/// <summary>
/// Serializable message to transport RPC invocation details and their results over the wire.
/// </summary>
[Serializable]
public class WireMessage
{
/// <summary>
/// Gets or sets the type of the message.
... | 2.43241 | 332b96891164d50492c133d48d8b7ae3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88441 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "justdmitry/NanoRpcSharp",
"max_stars_repo_path": "NanoRpcSharp/Messages/AccountsPendingWithAmountSourceRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88442"
} | starcoder | <gh_stars>1-10
namespace NanoRpcSharp.Messages
{
using System;
using System.Numerics;
/// <summary>
/// Returns a list of block hashes which have not yet been received by these <see cref="Account"/>.
/// </summary>
/// <remarks>See also: <seealso cref="AccountsPendingWithAmountRequest"/>,. <se... | 2.258067 | 98dab522ec0618b1c4569a4a01272dfb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88442 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "winemug/omnicore",
"max_stars_repo_path": "Model/OmniCore.Model/Interfaces/Data/Repositories/IRepositoryAccess.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88443"
} | starcoder | <reponame>winemug/omnicore
using System;
using SQLite;
namespace OmniCore.Model.Interfaces.Data.Repositories
{
public interface IRepositoryAccess : IDisposable
{
// todo: rewrite as either non-orm specific or IDbConnection
SQLiteAsyncConnection Connection { get; }
}
} | 1.412182 | f7e31b2b2378ae9f770fce7d4f2db972 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88443 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Wbooru/EHentaiAPI",
"max_stars_repo_path": "EHentaiAPI/Settings.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88444"
} | starcoder | using EHentaiAPI.Client;
using EHentaiAPI.Client.Data;
using EHentaiAPI.ExtendFunction;
using EHentaiAPI.Utils;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EHentaiAPI
{
public class Settings
{
... | 1.388515 | 8ee4fd645a5fb6260b9909f94b67d7f7 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88444 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DIH-OST/meinschaufenster",
"max_stars_repo_path": "BaseApp/Effects/EntryLineColorEffect.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88445"
} | starcoder | // DigitalesSchaufenster (C) 2020 DIH-OST
using System;
namespace BaseApp.Effects
{
/// <summary>
/// <para>EntryLineColorEffect</para>
/// Klasse EntryLineColorEffect. (C) 2017 FOTEC Forschungs- und Technologietransfer GmbH
/// </summary>
//public class EntryLineColorEffect : RoutingEffect
/... | 1.65058 | 9ed9ad2973fcbf6af79939606be1e9fa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88445 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "vatsan-madhavan/Orchestra",
"max_stars_repo_path": "src/Orchestra.Core/Converters/MessageButtonToCollapsingVisibilityConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88446"
} | starcoder | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MessageButtonToCollapsingVisibilityConverter.cs" company="WildGums">
// Copyright (c) 2008 - 2015 WildGums. All rights reserved.
// </copyright>
// -----------------------------... | 2.179483 | 316dd700c057cd7cf356b3e032d650d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88446 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "porohkun/TimeLogger",
"max_stars_repo_path": "TimeLogger/Controls/DayControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88447"
} | starcoder | <filename>TimeLogger/Controls/DayControl.xaml.cs<gh_stars>1-10
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;
... | 2.745445 | 9584a1e75ab174e38d9e644476d1559c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88447 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Danit-Shabtay/SpaceshipGame",
"max_stars_repo_path": "Assets/Scripts/MissileController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88448"
} | starcoder | <filename>Assets/Scripts/MissileController.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MissileController : MonoBehaviour
{
public float Speed;
float offscreenY;
// Start is called before the first frame update
void Start()
{
offscreenY = C... | 2.379935 | d5e3757e429fb2db06408ed84040c72e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88448 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DavidLievrouw/MSBuildTasks",
"max_stars_repo_path": "src/MSBuildTasks/Handlers/Models/Validation/IEncryptForLocalMachineScopeRequestValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88449"
} | starcoder | <gh_stars>0
using FluentValidation;
namespace DavidLievrouw.MSBuildTasks.Handlers.Models.Validation {
public interface IEncryptForLocalMachineScopeRequestValidator : IValidator<EncryptForLocalMachineScopeRequest> { }
} | 0.945845 | 250a04165fdf9a7b03330cc2c20dcc9c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88449 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "PowerDG/Dg.KMS.Web",
"max_stars_repo_path": "Dg.KMS/InitModule/TypeDemo/Controllers/ValuesController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88450"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Autofac;
using Autofac.Core;
using Autofac.Extras.DynamicProxy;
using KMS.Twelve.Test;
using Microsoft.AspNetCore.Mvc;
using TypeDemo.Domain;
using TypeDemo.Log;
namespace TypeDemo.Controllers
{
[Route("api/[con... | 2.428974 | 104a7a9aa9031331f24218aa7ddc6651 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88450 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "OutSystemsCommunity/.NET-DB2-Connectors-for-Linux-and-Windows",
"max_stars_repo_path": "Projects/DatabaseAbstractionLayer/DMLService/BaseDMLEntityActions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88451"
} | starcoder | /*
This source code (the "Generated Software") is generated by the OutSystems Platform
and is licensed by OutSystems (http://www.outsystems.com) to You solely for testing and evaluation
purposes, unless You and OutSystems have executed a specific agreement covering the use terms and
conditions of the Generated ... | 2.443116 | d805ad57ade60f09c5a8f16a8dca0d55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88451 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bartczernicki/Silverlight4BusinessIntelligenceSoftware",
"max_stars_repo_path": "src/Chapter5/Chapter5_TagCloud/Chapter5_TagCloud/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88452"
} | starcoder | <reponame>bartczernicki/Silverlight4BusinessIntelligenceSoftware
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Window... | 2.610549 | 26d5bc2f67e462bebd8c676dbd85e752 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88452 | {
"extension": "c-sharp",
"max_stars_count": "75.0",
"max_stars_repo_name": "todorovicg/Hangfire.Storage.SQLite",
"max_stars_repo_path": "src/main/Hangfire.Storage.SQLite/IPersistentJobQueue.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88453"
} | starcoder | <reponame>todorovicg/Hangfire.Storage.SQLite
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Hangfire.Storage.SQLite
{
/// <summary>
///
/// </summary>
public interface IPersistentJobQueue
{
/// <summary>
///
/// </summ... | 1.878173 | 4a51dab3306a60326a8f816c67563972 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88453 | {
"extension": "c-sharp",
"max_stars_count": "245.0",
"max_stars_repo_name": "slavslav/BulletSharp",
"max_stars_repo_path": "demos/SlimDX/SimplestDemo/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88454"
} | starcoder | <reponame>slavslav/BulletSharp<filename>demos/SlimDX/SimplestDemo/Program.cs
using System;
using System.Reflection;
using System.Windows.Forms;
namespace SimplestDemo
{
static class Program
{
[STAThread]
static void Main()
{
try
{
As... | 2.405121 | e2706561740e70ff9e2ebc8b2c3ef7e5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88454 | {
"extension": "c-sharp",
"max_stars_count": "163.0",
"max_stars_repo_name": "bridgedotnet/Granular",
"max_stars_repo_path": "Granular.Common.Web/Compatibility/Configuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88455"
} | starcoder | <filename>Granular.Common.Web/Compatibility/Configuration.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace System.Configuration
{
[Bridge.NonScriptable]
internal class Empty
{
//
}
}
| 1.406059 | 10e619b0c62f17d9dea77835ef991f2e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88455 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "ZingBallyhoo/SwfLib",
"max_stars_repo_path": "SwfLib.Tests/SwfStreamReaderExtTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88456"
} | starcoder | using System.IO;
using NUnit.Framework;
using SwfLib.Data;
namespace SwfLib.Tests {
[TestFixture]
public class SwfStreamReaderExtTest : TestFixtureBase {
[Test]
public void ReadCwsFileInfoTest()
{
var mem = new MemoryStream();
mem.WriteByte((byte)'C... | 2.442596 | 2f042fef658580660dbec7103d61d244 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88456 | {
"extension": "c-sharp",
"max_stars_count": "57.0",
"max_stars_repo_name": "jeffreyxrh/api-doc-tools",
"max_stars_repo_path": "tools/DocStat/DocStat/EcmaXmlHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88457"
} | starcoder | <reponame>jeffreyxrh/api-doc-tools<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Linq;
namespace DocStat
{
public static class EcmaXmlHelper
{
public static void Fix(XElement toFix, XElement forReference)
{
if (null == forReference)
... | 2.662875 | c6f3ab952a48777b9db6ff5f4aa19296 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88457 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "SetzerWTFast/PIMVI",
"max_stars_repo_path": "PIMVI/SqlComandos.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88458"
} | starcoder | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PIMVI
{
class CadastroClientes
{
//class Clientes
//{
Conexao c... | 2.52493 | 966e7a4163ba03b99bb9570f444be666 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88458 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "softawaregmbh/library-undo-redo",
"max_stars_repo_path": "softaware.UndoRedo/AbstractAction.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88459"
} | starcoder | <filename>softaware.UndoRedo/AbstractAction.cs<gh_stars>0
using System;
namespace softaware.UndoRedo
{
public abstract class AbstractAction : IAction
{
public AbstractAction()
{
this.State = ActionState.Done;
}
public ActionState State { get; protected set; }
... | 3.094664 | 1908fe1fce7db9faee1bbfff19341f47 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88459 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "zenuas/Roku",
"max_stars_repo_path": "src/Compiler/Definition.Instance.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88460"
} | starcoder | using Extensions;
using Roku.Declare;
using Roku.Manager;
using Roku.Node;
namespace Roku.Compiler;
public static partial class Definition
{
public static void InstanceDefinition(SourceCodeBody src, ProgramNode pgm)
{
pgm.Instances.Each(x => src.Instances.Add(InstanceBodyDefinition(src, x)));
}
... | 2.244221 | 9aea3fc52ff82948ea8bcc973badf7db |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 88460 | {
"extension": "c-sharp",
"max_stars_count": "357.0",
"max_stars_repo_name": "wfu8/lightwave",
"max_stars_repo_path": "tools/mac/VMRestSsoSnapIn/VMRestSsoSnapIn/Views/UserDetailsViewController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:88461"
} | starcoder | /*
* Copyright © 2012-2016 VMware, Inc. 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. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | 1.813253 | 968fc5890ed9b1caa0012b8209d7feee |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.