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 | 7237 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lionsoft/SampleSPA",
"max_stars_repo_path": "Sam/Extensions/EntityFramework/EFHooks/HookType.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7238"
} | starcoder | <reponame>lionsoft/SampleSPA<gh_stars>0
namespace Sam.Extensions.EntityFramework.EFHooks
{
public enum HookType
{
Pre,
Post
}
}
| 1.150788 | cf4ee3ca58e62a13c2bdc5f996374183 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7238 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "lekhasy/RawNotification",
"max_stars_repo_path": "Implementation/RN_Enhance/RawNotification/RawNotification.BusinessLogic/BaseBL.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7239"
} | starcoder | using RawNotification.DataAccess;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RawNotification.BusinessLogic
{
public class BaseServiceBL : IBaseBL
{
protected IRawNotificationDB DB;
protected log4net.ILog _Logger;
public BaseServiceB... | 2.470187 | 56136157c1168133fca75b0be633ff97 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7239 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "bergmeister/msgraph-sdk-dotnet",
"max_stars_repo_path": "tests/Microsoft.Graph.DotnetCore.Test/Models/ModelSerializationTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7240"
} | starcoder | // ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
... | 2.328287 | 8d799e1e1e62af181954c7db8068767e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7240 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "KCL5South/KCLAutoPoco",
"max_stars_repo_path": "AutoPoco/Engine/IObjectBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7241"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AutoPoco.Engine
{
public interface IObjectBuilder
{
/// <summary>
/// Gets the type of object this is building
/// </summary>
Type InnerType
{
get;
}
... | 2.730065 | ee3fc46542a8ad386176e304d99ee8fb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7241 | {
"extension": "c-sharp",
"max_stars_count": "197.0",
"max_stars_repo_name": "iskandersierra/Typin",
"max_stars_repo_path": "src/Typin/Benchmarks/Typin.Benchmarks.FrameworksComparison/Commands/McMasterCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7242"
} | starcoder | namespace Typin.Benchmarks.FrameworksComparison.Commands
{
using McMaster.Extensions.CommandLineUtils;
public class McMasterCommand
{
[Option("--str|-s")]
public string? StrOption { get; set; }
[Option("--int|-i")]
public int IntOption { get; set; }
[Option("--boo... | 1.985883 | 5ba584b24eaff11adec4ba26936ee128 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7242 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "iceslab/OrienteeringToolWPF",
"max_stars_repo_path": "OrienteeringToolWPF/DAO/RouteStepsHelper.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7243"
} | starcoder | <gh_stars>0
using OrienteeringToolWPF.Model;
using OrienteeringToolWPF.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrienteeringToolWPF.DAO
{
public static class RouteStepsHelper
{
// Gets Route associated with Com... | 2.228684 | 1ec2ff49d723955418c33a5688529097 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7243 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "periklis92/Handlebars.Net",
"max_stars_repo_path": "source/Handlebars/Collections/ObservableIndex.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7244"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using HandlebarsDotNet.Runtime;
namespace HandlebarsDotNet.Collections
{
[DebuggerDisplay("Count = {Count}")]
public class ObservableIndex<TKey, TValue, TComparer> :
... | 2.572626 | 7402f01cb07aafda734b1c716b127cac |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7244 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "gitter-badger/Unjammit",
"max_stars_repo_path": "iOS/Audio/IOSAVAudioPlayer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7245"
} | starcoder | using System;
using Foundation;
using AVFoundation;
namespace Jammit.Audio
{
public class IOSAVAudioPlayer : IAVAudioPlayer
{
#region private members
AVAudioPlayer player;
NSTimer timer;
#endregion // private members
public IOSAVAudioPlayer(Model.PlayableTrackInfo track, System.IO.Stream s... | 2.564992 | 13547a23b8588890a128e4bde3d93b63 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7245 | {
"extension": "c-sharp",
"max_stars_count": "125.0",
"max_stars_repo_name": "birojnayak/porting-assistant-dotnet-client",
"max_stars_repo_path": "src/PortingAssistant.Client.Common/Model/PackageAnalysisResult.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7246"
} | starcoder | <filename>src/PortingAssistant.Client.Common/Model/PackageAnalysisResult.cs<gh_stars>100-1000
using System.Collections.Generic;
namespace PortingAssistant.Client.Model
{
public class PackageAnalysisResult
{
public PackageVersionPair PackageVersionPair { get; set; }
public Dictionary<string, Co... | 1.654948 | bf7f79b91b1df56eb028ac3895940a21 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7246 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "maxrchung/S2VX",
"max_stars_repo_path": "S2VX.Game/Editor/Containers/Timeline.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7247"
} | starcoder | using osu.Framework.Allocation;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Input.Events;
using osuTK;
using osuTK.Graphics;
using S2VX.Game.Editor.UserInterface;
using S2VX.Game.Story;... | 1.902011 | 28dad368de8a614bace9ef75856564c2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7247 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "DragonSpark/Framework",
"max_stars_repo_path": "DragonSpark/Model/Operations/InvokingParameter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7248"
} | starcoder | using DragonSpark.Model.Selection;
using System;
using System.Threading.Tasks;
namespace DragonSpark.Model.Operations;
sealed class InvokingParameter<T> : ISelect<ValueTask<T>, ValueTask>
{
readonly Action<T> _configure;
readonly bool _capture;
public InvokingParameter(Action<T> configure, bool capture = fa... | 2.39135 | 839eda3e02d9c949a1b8ef474c383efa |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7248 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "csutorasr-homeworks/softwareachitecture",
"max_stars_repo_path": "src/Web/Repositories/Interfaces/IUserRepository.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7249"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Web.Models;
namespace Web.Repositories.Interfaces
{
interface IUserRepository
{
Task<User> GetUser(Guid id);
}
}
| 1.636275 | 275ec51145b925b3a5aa908f87bcdcfd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7249 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "VVesterinen/OhjelmoinninPerusteet",
"max_stars_repo_path": "ProjektKertoma/ParillinenPariton/ParillinenPariton/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7250"
} | starcoder | using System;
namespace ParillinenPariton
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Parillisten ja parittomien lukujen summien yhteenlasku kone.");
Console.Write("Syötä luku: ");
int luku = int.Parse(Console.ReadLine());
... | 3.335959 | 679026ca56b0c6f434d72d238317ba07 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7250 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "karl-barkmann/helix-toolkit",
"max_stars_repo_path": "Source/HelixToolkit.SharpDX.Shared/Interface/IModels.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7251"
} | starcoder | <reponame>karl-barkmann/helix-toolkit
/*
The MIT License (MIT)
Copyright (c) 2018 Helix Toolkit contributors
*/
using SharpDX;
using System.Collections.Generic;
using System.IO;
#if NETFX_CORE
namespace HelixToolkit.UWP
#else
namespace HelixToolkit.Wpf.SharpDX
#endif
{
using Render;
using System;
using Uti... | 2.288515 | cea55d10176ecaa0fde44f3b3dba8ee0 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7251 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "UE4DotNet/Plugin",
"max_stars_repo_path": "DotNet/DotNet/UE4/Generated/AIModule/Native/AIDataProvider_QueryParams.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7252"
} | starcoder | <gh_stars>1-10
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
namespace UE... | 0.898064 | 80eda2f1ddbae6dee3e4872cc148bddb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7252 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "HZ-GeLiang/EpplusHelper",
"max_stars_repo_path": "SampleApp/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7253"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threa... | 2.274617 | aa5b00fb983545fb63fe71203f0dd574 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7253 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "DFID/aid-management-platform",
"max_stars_repo_path": "AMP/Controllers/ProjectController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7254"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http.Hosting;
using System.Web.Mvc;
using System.Web.Routi... | 1.741118 | 6ffcf367f24e2b352c0da708e6326772 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7254 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "feanz/Exemplum",
"max_stars_repo_path": "src/Infrastructure/Caching/CacheOptions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7255"
} | starcoder | namespace Exemplum.Infrastructure.Caching;
using Microsoft.Extensions.Caching.Distributed;
public class CacheOptions
{
/// <summary>
/// If the caching operation throws and exception dont throw it and just let caching silently fail.
/// </summary>
public bool HideErrors { get; set; }
/// <summa... | 2.231856 | 311fcb49f285ebf6b3a4ffaf81605056 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7255 | {
"extension": "c-sharp",
"max_stars_count": "35.0",
"max_stars_repo_name": "FireCubez/CelesteTAS-EverestInterop",
"max_stars_repo_path": "Studio/RichText/GoToForm.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7256"
} | starcoder | <gh_stars>10-100
using System;
using System.Windows.Forms;
namespace CelesteStudio.RichText {
public sealed partial class GoToForm : Form {
public GoToForm() {
InitializeComponent();
}
public int SelectedLineNumber { get; set; }
public int TotalLineCount { get; set; }
... | 2.440012 | 78d5c6cae079f3a2cdcff03a3b66d6f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7256 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "obidkor/DrawingGame",
"max_stars_repo_path": "ChatClientCS/Models/Participant.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7257"
} | starcoder | using ChatClientCS.ViewModels;
using System.Collections.ObjectModel;
namespace ChatClientCS.Models
{
public class Participant : ViewModelBase
{
public string Name { get; set; }
public byte[] Photo { get; set; }
private int _Score;
public int Score
{
... | 2.58786 | 3f523e1dc7bff606c951ca913af97b40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7257 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "futurice/HoloLens-and-Leap-Motion",
"max_stars_repo_path": "Assets/Scripts/Utils/GazeFollower.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7258"
} | starcoder | <reponame>futurice/HoloLens-and-Leap-Motion
using System;
using UniRx;
using UnityEngine;
using Zenject;
namespace Futulabs.HoloFramework.Utils
{
/// <summary>
/// This class tries to keep an object at a certain distance in front of the user's
/// face, but also outside spatially mapped data
/// </sum... | 2.457237 | 675f438b123178f3341e11bdc66bbe1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7258 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "YanaSlavcheva/UcrsApp",
"max_stars_repo_path": "Ucrs.Common/GlobalConstants.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7259"
} | starcoder | namespace Ucrs.Common
{
public static class GlobalConstants
{
public const string AdministratorRoleName = "Administrator";
public const string AdministratorUserName = "<EMAIL>";
public const string AdministratorPassword = "<PASSWORD>";
public const string JsonContentType = "a... | 1.970762 | 1df64df6e035f7e98a1f5e9d4be1fea2 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7259 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "matjazbravc/OpenAPI.Swagger.Demo",
"max_stars_repo_path": "src/CompanyWebApi.Contracts/Dto/DepartmentUpdateDto.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7260"
} | starcoder | using System.ComponentModel.DataAnnotations;
using System;
namespace CompanyWebApi.Contracts.Dto
{
/// <summary>
/// Department Data Transfer Object
/// </summary>
[Serializable]
public class DepartmentUpdateDto
{
[Required]
[Range(1, 9999, ErrorMessage = "Please enter a value bigger than {1}")]
pub... | 2.575345 | baab6753f0ad75fe20afb65cdf2bb998 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7260 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "wagnerhsu/sample-Prism4.1-WPF",
"max_stars_repo_path": "Quickstarts/State-Based Navigation/State-Based Navigation/Infrastructure/PropertySupport.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7261"
} | starcoder | <reponame>wagnerhsu/sample-Prism4.1-WPF
//===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//=====================================================================... | 2.387317 | a05040d47b381aeb6896fb3e3ccf6709 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7261 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "keymind/Epi-Info-Community-Edition",
"max_stars_repo_path": "Epi.Windows.Dashboard/Gadgets/Analysis/LogisticRegressionControl.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7262"
} | starcoder | <filename>Epi.Windows.Dashboard/Gadgets/Analysis/LogisticRegressionControl.xaml.cs<gh_stars>10-100
using System;
using System.Data;
using System.Diagnostics;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows;
using Syste... | 2.072939 | 29c53c4ae031f85d9ebc4bb7afae0bde |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7262 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "davidvidmar/WindowsFaderScreenSaver",
"max_stars_repo_path": "OptionsForm.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7263"
} | starcoder | <reponame>davidvidmar/WindowsFaderScreenSaver
namespace DavidVidmar.WindowsFader
{
partial class OptionsForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any ... | 1.915807 | 80df94150b37c3d2b234a259b75323a1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7263 | {
"extension": "c-sharp",
"max_stars_count": "43.0",
"max_stars_repo_name": "jamesfielder/azure-databricks-client",
"max_stars_repo_path": "csharp/Microsoft.Azure.Databricks.Client/GroupsApiClient.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7264"
} | starcoder | <gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.Azure.Databricks.Client
{
public class GroupsApiClient : ApiClient, IGroupsApi
{
public GroupsApiClient(HttpClient httpClient) : base(h... | 2.424702 | bdba14ab431bc795163dcbd0897f8552 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7264 | {
"extension": "c-sharp",
"max_stars_count": "36.0",
"max_stars_repo_name": "elisunger/libpalaso",
"max_stars_repo_path": "SIL.Core/Code/SimpleMonitor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7265"
} | starcoder | using System;
namespace SIL.Code
{
public class SimpleMonitor : IDisposable
{
private bool _busy;
public SimpleMonitor Enter()
{
_busy = true;
return this;
}
public void Dispose()
{
_busy = false;
}
public bool Busy
{
get { return _busy; }
}
}
}
| 2.63404 | c292c5ab38970644bfa5f25464a22f4a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7265 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "tannergooding/terrafx.interop.d3d12memoryallocator",
"max_stars_repo_path": "tests/Interop/D3D12MemoryAllocator/Pointer`1.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7266"
} | starcoder | <reponame>tannergooding/terrafx.interop.d3d12memoryallocator
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
namespace TerraFX.Interop.DirectX.UnitTests
{
internal unsafe struct Pointer<T>
where T : unmanaged
{
... | 1.950227 | 44fa50f64cb12bcc061cda0d0aa30353 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7266 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "d8ahazard/LifxNet",
"max_stars_repo_path": "src/LifxNet/LifxResponses.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7267"
} | starcoder | using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace LifxNet {
/// <summary>
/// Base class for LIFX response types
/// </summary>
public abstract class LifxResponse {
internal static LifxResponse Create(FrameHeader header, MessageType type, uint source, Payload payload) {
retu... | 2.317103 | d9103c246acb1229606e9c47e36386eb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7267 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "karoterra/AupDotNet",
"max_stars_repo_path": "tests/AupDotNetTests/ExEdit/Effects/CameraEffectTest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7268"
} | starcoder | <reponame>karoterra/AupDotNet
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using Karoterra.AupDotNet;
using Karoterra.AupDotNet.ExEdit;
using Karoterra.AupDotNet.ExEdit.Effects;
using Karoterra.AupDotNet.Extensions;
namespace AupDotNetTests.ExEdit.Effects
{
[TestClass]
public class Ca... | 2.093405 | 44de74c2d6c19b9335e3b69552f8c84a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7268 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ExclamationLabs/Opserver",
"max_stars_repo_path": "Opserver.Core/Data/SQL/SQLInstance.TraceFlags.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7269"
} | starcoder | <filename>Opserver.Core/Data/SQL/SQLInstance.TraceFlags.cs
using System;
using System.Collections.Generic;
namespace StackExchange.Opserver.Data.SQL
{
public partial class SQLInstance
{
private Cache<List<TraceFlagInfo>> _traceFlags;
public Cache<List<TraceFlagInfo>> TraceFlags
{
... | 2.202706 | c1ebe380e3a48d2fb9f529bb83d89450 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7269 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "Marfusios/coinbase-client-websocket",
"max_stars_repo_path": "src/Coinbase.Client.Websocket/Json/CoinbaseStringEnumConverter.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7270"
} | starcoder | using System;
using Coinbase.Client.Websocket.Logging;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Coinbase.Client.Websocket.Json
{
/// <summary>
/// Extended StringEnumConverter to use first value ('Unknown') as default and log unexpected type
/// </summary>
public class Coinba... | 2.857151 | 65b62a21408dba3311b948aff9107023 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7270 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "niku-live/UncommonSense.CBreeze",
"max_stars_repo_path": "CBreeze/UncommonSense.CBreeze.Core/Property/Implementation/OccurrenceProperty.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7271"
} | starcoder | using UncommonSense.CBreeze.Core.Property.Enumeration;
namespace UncommonSense.CBreeze.Core.Property.Implementation
{
public class OccurrenceProperty : NullableValueProperty<Occurrence>
{
internal OccurrenceProperty(string name)
: base(name)
{
}
}
}
| 1.781389 | 31a6203ff3955bbf052cef8b5b723807 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7271 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Sakchai/ResearchProject",
"max_stars_repo_path": "Research.Web/Views/Shared/_FooterScriptsPartial.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7272"
} | starcoder | <filename>Research.Web/Views/Shared/_FooterScriptsPartial.cshtml
<environment names="Development">
<script src="~/lib/jquery/dist/jquery.js" asp-append-version="true"></script>
<script src="~/lib/bootstrap/dist/js/bootstrap.js" asp-append-version="true"></script>
<script src="~/js/adminlte.js" asp-append-v... | 1.521151 | 51f1d64ad32624e94f4735e4b70d7aee |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7272 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "franciscone-lab/projeto-multifunctions",
"max_stars_repo_path": "Aula06_Ex01/Aula06_Ex01/Form1.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7273"
} | starcoder | <reponame>franciscone-lab/projeto-multifunctions
namespace Aula06_Ex01
{
partial class frmPrincipal
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recurs... | 1.958449 | ce4c9485bb4027967916bf44d1fe5792 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7273 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "MoaidHathot/SudokuSolver",
"max_stars_repo_path": "src/SudokuSolver.Engine/Disposables/RentedArray.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7274"
} | starcoder | using System;
using System.Buffers;
namespace src.Disposables
{
internal struct RentedArray<T> : IDisposable
{
public int Length { get; }
private T?[] _array;
public RentedArray(int length, bool init = true, T? defaultValue = default)
{
_array = ArrayPool<T>.Shared.... | 3.106825 | afb2ec9963934c557be54a445ef17f2d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7274 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "xuejmnet/sharding-connector",
"max_stars_repo_path": "src/parser/ShardingConnector.CommandParser/Command/RL/StopSlaveStatement.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7275"
} | starcoder | using System;
namespace ShardingConnector.CommandParser.Command.RL
{
/*
* @Author: xjm
* @Description:
* @Date: Tuesday, 20 April 2021 22:15:43
* @Email: <EMAIL>
*/
public sealed class StopSlaveStatement:RLCommand
{
}
} | 1.39138 | 202d11c91b9385377ad9b50f4e6339cf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7275 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "acesiddhu/ReportGenerator",
"max_stars_repo_path": "src/ReportGenerator.Core/Parser/JaCoCoParser.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7276"
} | starcoder | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml.Linq;
using Palmmedia.ReportGenerator.Core.Logging;
using Palmmedia.ReportGenerator.Core.Parser.Analysis;
using Palmmedia.ReportGenerator.Co... | 2.350743 | 6ea4dc0644085ee989b0e7855ebfaf2c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7276 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "FoxCouncil/VintageHive",
"max_stars_repo_path": "Utilities/ProtoWebUtils.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7277"
} | starcoder | using HtmlAgilityPack;
using System.Text.Json;
namespace VintageHive.Utilities
{
public static class ProtoWebUtils
{
public const string MainProxyUri = "http://wayback.protoweb.org:7851/";
private const string CacheKey = "PROTOWEB_SITE_LIST";
private const string Requ... | 2.459519 | 41beb212be3cbc262c7efcc48908a30f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7277 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "bezzad/Xomorod.com",
"max_stars_repo_path": "src/Xomorod.com/Migrations/Configuration.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7278"
} | starcoder | using System.Collections.Generic;
using System.Data.Entity.Migrations.Model;
using System.Data.Entity.SqlServer;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Xomorod.Com.Models;
namespace Xomorod.Com.Migrations
{
using System;
using System.Data.Entity;
using Syste... | 2.454884 | e323b8ae21a069e4d85d28b3c691d431 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7278 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DanailIordanov/SoftUni-CSharp-Fundamentals",
"max_stars_repo_path": "2.C# Fundamentals II - Programming Fundamentals Course - January 2017/2.Data Types and Variables/2.Exercises/03.Practice Chars and Strings/Program.cs",
"provenance":... | starcoder | <reponame>DanailIordanov/SoftUni-CSharp-Fundamentals<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _03.Practice_Chars_and_Strings
{
class Program
{
static void Main(string[] args)
{
string a ... | 3.52937 | 61eda7249b724d24db847e9cd6606217 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7279 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "Sakusakumura/UmamusumeKeyCtl",
"max_stars_repo_path": "umamusumeKeyCtl/src/SandBox/Bench.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7280"
} | starcoder | <filename>umamusumeKeyCtl/src/SandBox/Bench.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Windows;
using System.Windows.Documents;
using OpenCvSharp;
using OpenCvSharp.Extensions;
using umamusumeKeyCtl.Util;
using Point = OpenCv... | 2.609205 | c5f94dd438ef40fa7644ed7960478f9b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7280 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "elena-andonova/telerik-academy",
"max_stars_repo_path": "Programming with C#/3. C# Object-Oriented Programming/09. Teamwork - UI Business Application/Program Dioptase/Interfaces/DatabaseManager/ICatalogItemManager.cs",
"provenance": "... | starcoder | <reponame>elena-andonova/telerik-academy<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using ProgramDioptase.CatalogItems;
namespace ProgramDioptase.Interfaces.DatabaseManager
{
public interface ICatalogItemManager
{
IList<Movie> Movies { get; }
IList<Music>... | 1.742369 | 7d8d3827626e5ba0789680ad10595693 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7281 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "harunpehlivan/azure-iot-sdk-csharp",
"max_stars_repo_path": "service/Microsoft.Azure.Devices/JobClient/JobResponse.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7282"
} | starcoder | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices
{
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Microsoft.Azure.Devices.Shared;
/... | 2.106997 | a8b8a9a1c48f024108113a3f29b80da5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7282 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "LaizerXIV/Lumina",
"max_stars_repo_path": "src/Lumina/Lumina.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7283"
} | starcoder | <filename>src/Lumina/Lumina.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Lumina.Data;
using Lumina.Data.Structs;
using Lumina.Excel;
using Lumina.Misc;
// ReSharper disable MemberCanBePrivate.Global
namespace Lumina
{
public class Lumina
{
///... | 2.663478 | 1b6c18b04ddda7d085ea8de4e809a67f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7283 | {
"extension": "c-sharp",
"max_stars_count": "7.0",
"max_stars_repo_name": "seniorblockchain/blockchain",
"max_stars_repo_path": "src/Features/SeniorBlockchain.Features.Consensus/Rules/CommonRules/PosColdstakingRule.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7284"
} | starcoder | using System.Linq;
using System.Threading.Tasks;
using SeniorBlockchain.Consensus;
using SeniorBlockchain.Consensus.BlockInfo;
using SeniorBlockchain.Consensus.Rules;
using SeniorBlockchain.Consensus.ScriptInfo;
using SeniorBlockchain.Features.Consensus.Rules.UtxosetRules;
using Microsoft.Extensions.Logging;
using NBi... | 2.289285 | 398089ebb3d7c2ac3ea96bc16544be87 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7284 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Farl/SSCore2017",
"max_stars_repo_path": "Packages/com.prototyper.sscore/Runtime/UI/UIManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7285"
} | starcoder | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SS
{
[System.Serializable]
public class UIOrderSetting
{
[System.Serializable]
public class UIOrderData
{
public string uiType;
public int order;
}... | 2.590521 | 6f0250ef7907e53f37acf12689c49d0e |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7285 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AngelNovoselski/Adventures-of-Telerik",
"max_stars_repo_path": "AdventuresOfTelerik/AdventuresOfTelerik.Tests/Models/Heroes/WarriorTests/SpecialAttack_Should.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7286"
} | starcoder | <filename>AdventuresOfTelerik/AdventuresOfTelerik.Tests/Models/Heroes/WarriorTests/SpecialAttack_Should.cs
using AdventuresOfTelerik.Contracts.WeaponInterfaces;
using AdventuresOfTelerik.Models.Hero;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace AdventuresOfTelerik.Tests.Models.Heroes.Warri... | 2.60484 | 517bd03f8fa74ad533e506ccfb84e8f8 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7286 | {
"extension": "c-sharp",
"max_stars_count": "50.0",
"max_stars_repo_name": "vrienstudios/anime-dl",
"max_stars_repo_path": "CS/ADLCore/Ext/ArchiveManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7287"
} | starcoder | <filename>CS/ADLCore/Ext/ArchiveManager.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Threading;
using ADLCore.Novels.Models;
using ADLCore.SiteFolder;
using ADLCore.Video.Constructs;
using Stream = System.IO.Stream;
namespace ADLCore.Ext
{
public cl... | 2.417938 | 0f6fcc4c88c58f48d49a9f77e6c58c6b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7287 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "jsnape/deeply",
"max_stars_repo_path": "src/Deeply.Tests/Fakes/FakeEntity.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7288"
} | starcoder | #region Copyright (c) 2013 <NAME>
// <copyright file="FakeEntity.cs" company="<NAME>">
// Copyright 2013 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.ap... | 2.266057 | 38e08e09fcf6028abc0bd3652302e01d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7288 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Hedyia/Xamarin",
"max_stars_repo_path": "Slider/Slider/Slider/MainPage.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7289"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Slider
{
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
slider.Value = 0.5f;
}
private void Value... | 2.567223 | 844ec109fab46259ffd6ce2b20e4891b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7289 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "LBHackney-IT/lbh-adult-social-care-api",
"max_stars_repo_path": "LBH.AdultSocialCare.Api/V1/Domain/Security/RoleForUpdateDomain.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7290"
} | starcoder | namespace LBH.AdultSocialCare.Api.V1.Domain.Security
{
public class RoleForUpdateDomain
{
public string Id { get; set; }
public string Name { get; set; }
}
}
| 1.466913 | 516abea881ec4e4e3412277a49e1394d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7290 | {
"extension": "c-sharp",
"max_stars_count": "49.0",
"max_stars_repo_name": "BenButzer/iFactr-Data",
"max_stars_repo_path": "MonoCross/Utilities/Reflection/NullReflector.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7291"
} | starcoder | using System;
using System.Collections.Generic;
using System.Reflection;
namespace MonoCross.Utilities
{
/// <summary>
/// Represents a type reflection utility with no implementation. This is compatible with all platforms and targets, and it is useful
/// for when a concrete class is required but no impl... | 3.113243 | 39f5c6dcaacee033debc55a6d4aede15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7291 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ericaxv/Login-Autorization",
"max_stars_repo_path": "Projeto.Util/Criptografia.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7292"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Security.Cryptography;
namespace Projeto.Util
{
public class Criptografia
{
public static string EncriptarSenha(string senha)
{
MD5 md5 = new MD5CryptoSer... | 2.866716 | 14c2b82eb4a99b04806f7ef7323bff7b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7292 | {
"extension": "c-sharp",
"max_stars_count": "21.0",
"max_stars_repo_name": "Windr07/WLib",
"max_stars_repo_path": "WLib/Attributes/Table/NullableAttribute.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7293"
} | starcoder | <reponame>Windr07/WLib<gh_stars>10-100
using System;
namespace WLib.Attributes.Table
{
/// <summary>
/// 表示字段值可空
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class NullableAttribute : Attribute
{
}
}
| 1.732741 | 0f76a8606c909c9da18cede175da8ddf |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7293 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ronilsonsilva/pontoid",
"max_stars_repo_path": "src/Presentation/PontoID.Web/Views/Turma/Create.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7294"
} | starcoder | @model PontoID.Web.Models.TurmaViewModel
@{
ViewData["Title"] = "Adicionar Turma";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<section class="content">
<div class="row content-header">
<div class="col-md-10">
<h3>Adicionar Turma</h3>
</div>
<div class="col-md-2 floa... | 1.894102 | 6ecc2206c7d1593fd89580b7b153dcd5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7294 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "hugomarshall/Demo",
"max_stars_repo_path": "DemoCore/src/Entity/Validations/People/UpdatePeopleCommandValidation.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7295"
} | starcoder | <filename>DemoCore/src/Entity/Validations/People/UpdatePeopleCommandValidation.cs
using DemoCore.Domain.Commands;
namespace DemoCore.Domain.Validations
{
public class UpdatePeopleCommandValidation: PeopleValidation<UpdatePeopleCommand>
{
public UpdatePeopleCommandValidation()
{
Val... | 1.654205 | c8f84e124f90e21f631830dfc05b0dd1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7295 | {
"extension": "c-sharp",
"max_stars_count": "103.0",
"max_stars_repo_name": "neozhu/smartadmin.core.urf",
"max_stars_repo_path": "smartadmin-core-urf/src/SmartAdmin.WebUI/Areas/Identity/Pages/Account/Login.cshtml",
"provenance": "train-00000-of-00045.jsonl.gz:7296"
} | starcoder | <gh_stars>100-1000
@page
@model LoginModel
@{
ViewData["PageName"] = "login";
}
@section Header {
<link rel="stylesheet" media="screen, print" href="~/css/fa-brands.css">
}
@section PageHeading {
}
<div class="col-sm-12 col-md-6 col-lg-5 col-xl-4 m-auto">
<h1 class="text-white fw-300 mb-3 d-sm-block d-... | 2.2699 | 03b5f3564c07f9cdd2d1e11fab57aaa5 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7296 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "bluefoxicy/libdemocrav",
"max_stars_repo_path": "Tabulators/TidemansAlternativeTabulator/Utility/TidemansAlternativeTabulatorFactory.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7297"
} | starcoder | using MoonsetTechnologies.Voting.Analytics;
using MoonsetTechnologies.Voting.Tabulation;
using MoonsetTechnologies.Voting.Tiebreaking;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MoonsetTechnologies.Voting;
using MoonsetTechnologies.Voting.Ballots;
namespace MoonsetTechn... | 2.193563 | 3e8c474a13d7cb4d130b8b040b819658 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7297 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "AbraaoAlves/FluentKnockoutHelpers",
"max_stars_repo_path": "src/FluentKnockoutHelpers.Core/Builders/StringReturningBuilder.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7298"
} | starcoder | <filename>src/FluentKnockoutHelpers.Core/Builders/StringReturningBuilder.cs
using System;
using System.Web;
using FluentKnockoutHelpers.Core.AttributeBuilding;
namespace FluentKnockoutHelpers.Core.Builders
{
public class StringReturningBuilder<TModel> : Builder<TModel>, IHtmlString
{
internal Attribut... | 3.172921 | 20bb7cc34d45c96a1692027d863cdd40 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7298 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "erikma/BuildXL",
"max_stars_repo_path": "Public/Src/Cache/DistributedCache.Host/Service/Internal/MultiplexedContentSession.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7299"
} | starcoder | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Distributed.Sessions;
using BuildXL.Cache.ContentStore.Hashing;
using BuildXL.Cac... | 1.629401 | 1bdbf1cf21573dc33a2f3dc4f3728a49 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7299 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "richardkronick/BurgerPrince",
"max_stars_repo_path": "BurgerPrince/Controllers/InventoryController.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7300"
} | starcoder | using BurgerPrince.Database;
using BurgerPrince.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.Entity;
using Microsoft.AspNet.Identity;
namespace BurgerPrince.Controllers
{
public class InventoryController : Controller
{
... | 1.910311 | 90f3a6c11bd134374c12c0fc60d1ec1a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7300 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "vladislav-karamfilov/TelerikAcademy",
"max_stars_repo_path": "Hybrid Mobile Applications Projects/Newster/Newster.DataTransferObjects/CommentDTO.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7301"
} | starcoder | namespace Newster.DataTransferObjects
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Newster.Models;
[DataContract]
public class CommentDTO
{
public static Expression<Func<Comment, CommentDTO... | 2.857878 | 089b64ad7933496061f563f2063b04cd |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7301 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "kolos450/Uavcan.NET",
"max_stars_repo_path": "Source/Uavcan.NET.Studio/Communication/NodeHandle.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7302"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace Uavcan.NET.Studio.Communication
{
public readonly struct NodeHandle
{
public NodeHandle(int nodeId)
{
NodeId = nodeId;
}
public readonly int NodeId;
public override string ToStrin... | 2.009926 | 639ebcc5497f891e08039e85a5d19292 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7302 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "RyanTT/BytexDigital.BattlEye.Rcon",
"max_stars_repo_path": "BytexDigital.BattlEye.Rcon/Commands/SendMessageCommand.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7303"
} | starcoder | using System;
using System.Collections.Generic;
using System.Text;
namespace BytexDigital.BattlEye.Rcon.Commands
{
/// <summary>
/// Requests the server to broadcast a message.
/// </summary>
public class SendMessageCommand : Command
{
/// <summary>
/// Requests the server to broad... | 2.998989 | 72d5ff4f30229efde697d8a5546917ec |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7303 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "Cedric31/YamlSerializer",
"max_stars_repo_path": "YamlSerializer/Serialization/YamlConstructor.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7304"
} | starcoder | <reponame>Cedric31/YamlSerializer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
using System.ComponentModel;
using System.Text.RegularExpressions;
using System.Runtime.InteropServices;
namespace YamlSerializer.Serialization
{
/// <summ... | 2.684889 | 486d9f86b30aac134a0b9c862eb29745 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7304 | {
"extension": "c-sharp",
"max_stars_count": "69.0",
"max_stars_repo_name": "zengqinglei/Creekdream.AspNetCore",
"max_stars_repo_path": "src/Creekdream.Core/Dependency/IOnServiceRegistredContext.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7305"
} | starcoder | using Creekdream.DynamicProxy;
using Creekdream.System.Collections;
using System;
namespace Creekdream.Dependency
{
/// <summary>
/// Service registration context
/// </summary>
public interface IOnServiceRegistredContext
{
/// <summary>
/// Interceptors
/// </summary>
... | 1.790313 | f4d36e2d83897ab48634d9e8ec501889 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7305 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JeffM2501/LudicrousElectron",
"max_stars_repo_path": "Engine/Assets/Providers/DirectoryAssetProvider.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7306"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LudicrousElectron.Assets.Providers
{
public class DirectoryAssetProvider : IAssetProvider
{
protected DirectoryInfo RootDir = null;
public DirectoryAssetProvider(string... | 2.963771 | b69b5d1b195107e4595f0f7ea609c069 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7306 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "TsingJyujing/CAN-panel",
"max_stars_repo_path": "LogService/LogService.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7307"
} | starcoder | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace LogService {
public enum logLevel {
All = 0x00,
None = 0xFF,
Trace = 0x10,
Debug = 0x11,
Infomation = 0x12,
Warning = 0x13,
... | 2.855124 | 39d87c6094d9309341db8d30170fe2b1 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7307 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Finitive-LLC/UI-Testing-Toolbox",
"max_stars_repo_path": "Lombiq.Tests.UI/Extensions/NavigationWebElementExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7308"
} | starcoder | <reponame>Finitive-LLC/UI-Testing-Toolbox
using Atata;
using Lombiq.Tests.UI.Services;
using OpenQA.Selenium;
using System;
using System.Threading.Tasks;
namespace Lombiq.Tests.UI.Extensions
{
public static class NavigationWebElementExtensions
{
/// <summary>
/// Clicks an element even if the d... | 2.727064 | 12b47938b3639c6a6a1bf9ac9a0f1968 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7308 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jasonliaocn/ant-design-charts-blazor",
"max_stars_repo_path": "src/AntDesign.Charts/Components/Plots/Bullet/BulletConfig.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7309"
} | starcoder | <filename>src/AntDesign.Charts/Components/Plots/Bullet/BulletConfig.cs
using OneOf;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace AntDesign.Charts
{
public class BulletConfig : IBulletViewConfig, IPlotConfig
{
[JsonPropertyName("data... | 1.761605 | 999d33263025b620d6aba95a8908ec38 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7309 | {
"extension": "c-sharp",
"max_stars_count": "41.0",
"max_stars_repo_name": "bytecode77/bytecode-api",
"max_stars_repo_path": "BytecodeApi/IO/Cli/ParsedOptionSet.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7310"
} | starcoder | using BytecodeApi.Extensions;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
namespace BytecodeApi.IO.Cli
{
/// <summary>
/// Represents a set of commandline options, parsed from a given commandline.
/// </summary>... | 3.043037 | 2dd742cc90192f2e76ee055958490531 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7310 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Mithra/hermes",
"max_stars_repo_path": "source/Backend/Hermes.WebSockets/Websockets/Server/HermesServer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7311"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Hermes.DataObjects.Notification;
using Hermes.Entity;
using Hermes.Entity.Models;
using Hermes.Services;
using Hermes.Services.Helpers;
using Hermes.Services.Helpers.Collections;
using Hermes.S... | 1.959518 | 0b6aaa4fbaeaba79da628adf99303878 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7311 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bac0264/LuaTest",
"max_stars_repo_path": "Assets/EnhancedScroller v2/Demos/05 Remote Resources/CellView.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7312"
} | starcoder | using UnityEngine;
using UnityEngine.UI;
using EnhancedUI.EnhancedScroller;
using System.Collections;
namespace EnhancedScrollerDemos.RemoteResourcesDemo
{
public class CellView : EnhancedScrollerCellView
{
public Image cellImage;
public Sprite defaultSprite;
public void SetData(Data ... | 2.279286 | b65f9169b1519c14b640569379f74d31 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fabalo76/interprocess",
"max_stars_repo_path": "src/Interprocess/Semaphore/Linux/Interop.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7313"
} | starcoder | using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Threading;
using Cloudtoid.Interprocess.Semaphore.Posix;
namespace Cloudtoid.Interprocess.Semaphore.Linux
{
[SuppressMessage("StyleCop.CSharp.NamingRules", "SA1310:Field names should not contain underscore", Ju... | 2.443295 | 39e869252f780bb4fc4ae019d10e8e6f |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7313 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "raftario/BeatTogether.MasterServer",
"max_stars_repo_path": "BeatTogether.MasterServer.Messaging/Implementations/Messages/User/BroadcastServerStatusRequest.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7314"
} | starcoder | <filename>BeatTogether.MasterServer.Messaging/Implementations/Messages/User/BroadcastServerStatusRequest.cs
using BeatTogether.MasterServer.Messaging.Abstractions.Messages;
using BeatTogether.MasterServer.Messaging.Enums;
using BeatTogether.MasterServer.Messaging.Extensions;
using BeatTogether.MasterServer.Messaging.I... | 1.935798 | bd1e18e2ac2107fb2b5e827bba08f415 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7314 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "mdavid/nuxleus",
"max_stars_repo_path": "src/external/superwebsocket/mainline/PerformanceTest/TestClient/Program.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7315"
} | starcoder | <reponame>mdavid/nuxleus<filename>src/external/superwebsocket/mainline/PerformanceTest/TestClient/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WebSocket4Net;
using System.Threading.Tasks;
using System.Threading;
namespace SuperWebSocket.PerformanceTest... | 2.76283 | 2d11086b8c3cd08c62b2c9a3f9ced718 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "HenocEtienne2512/GitC",
"max_stars_repo_path": "RevisaoWebApi/RevisaoWebApi/Models/CustomNameValidator.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7316"
} | starcoder | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
namespace RevisaoWebApi.Models {
public class CustomNameValidator: ValidationAttribute {
protected override ValidationResult IsValid(object value, ValidationContext validationC... | 2.893353 | 4fe181a6a0df34c2cae5035aaa24e136 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7316 | {
"extension": "c-sharp",
"max_stars_count": "12.0",
"max_stars_repo_name": "fatihi/fiveringsdb",
"max_stars_repo_path": "FiveRingsDb/Utils/JsonConverter/FileParsingException.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7317"
} | starcoder | <filename>FiveRingsDb/Utils/JsonConverter/FileParsingException.cs
using System;
namespace FiveRingsDb.Utils.JsonConverter
{
public class FileParsingException : Exception
{
public FileParsingException()
{
}
public FileParsingException(string message)
{
}
... | 2.064 | 3881b38cd1c409af5c7b0dbd70a99311 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7317 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "arnelgracela/Orchard2",
"max_stars_repo_path": "src/Orchard.Environment.Extensions.Abstractions/Features/Extensions/FeatureExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7318"
} | starcoder | <gh_stars>0
using System.Linq;
namespace Orchard.Environment.Extensions.Features
{
public static class FeatureExtensions
{
public static bool DependencyOn(this IFeatureInfo observer, IFeatureInfo subject)
{
return observer.Dependencies.Any(x => x == subject.Id);
}
}
}
| 1.562549 | 5b840e23c6d8c5a63f4dd200881ff9a3 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7318 | {
"extension": "c-sharp",
"max_stars_count": "31.0",
"max_stars_repo_name": "paulgartner1/DisposableFixer",
"max_stars_repo_path": "src/DisposableFixer.Test/IssueTests/Issues0/If_Analyser_runs_on_code_from_issue_94.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7319"
} | starcoder | <filename>src/DisposableFixer.Test/IssueTests/Issues0/If_Analyser_runs_on_code_from_issue_94.cs
using DisposableFixer.Test.CodeFix;
using FluentAssertions;
using Microsoft.CodeAnalysis.CodeFixes;
using NUnit.Framework;
namespace DisposableFixer.Test.IssueTests.Issues0
{
[TestFixture]
internal class If_... | 2.629818 | 79b3459cf82538036662cf97e00a246b |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7319 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "herman-rogers/Relic",
"max_stars_repo_path": "RelicGame/Assets/UnityTestTools/UnitTesting/Editor/TestRunner/BackgroundRunner.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7320"
} | starcoder | using System;
using System.Linq;
using UnityEditor;
using UnityEngine;
using UnityTest.UnitTestRunner;
namespace UnityTest
{
[InitializeOnLoad]
public partial class UnitTestView
{
private static int nextCheck;
private static string uttRecompile = "UTT-recompile";
static bool shouldRunOnRecompilation { get { r... | 1.885293 | af555908cd82a48d8a177f3a624f061d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7320 | {
"extension": "c-sharp",
"max_stars_count": "62.0",
"max_stars_repo_name": "SaberZA/TDSBridge",
"max_stars_repo_path": "TDSBridge/TDSBridge.Common/Message/TDSMessage.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7321"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TDSBridge.Common.Message
{
public class TDSMessage
{
protected List<Packet.TDSPacket> _lPackets = new List<Packet.TDSPacket>();
public List<Packet.TDSPacket> Packets { get { return _lPackets; } }
... | 2.610516 | 989e93f3c77734cc9db22e9bacc4d5c9 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7321 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "LupinP/Pool-and-Storage",
"max_stars_repo_path": "Pool/PoolBeacon/BaseBeacon.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7322"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using LP.ComponentStorage;
using UnityEngine;
public class BaseBeacon<T> : Beacon where T: Component
{
public PoolInGame<T> Pool { get; private set; }
public T Component { get; private set; }
/// <summary>
/// Initialize Beacon
/// <... | 2.276257 | eba844a699e6fe7437539dac42161a55 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7322 | {
"extension": "c-sharp",
"max_stars_count": "3.0",
"max_stars_repo_name": "z8674558/msquic",
"max_stars_repo_path": "src/plugins/wpa/Tables/QuicConnectionTable.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7323"
} | starcoder | <filename>src/plugins/wpa/Tables/QuicConnectionTable.cs
//
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Performance.SDK;
using Microsoft.Performance.SDK.Extensibility;
using Microsoft.Performance... | 1.651129 | 2cb3fd6d07056299f04b46e3a35c841c |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7323 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "plkumar/SecondMonitor",
"max_stars_repo_path": "Telemetry/TelemetryApplication/Settings/DTO/ChartProperties/ChartsProperties.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7324"
} | starcoder | namespace SecondMonitor.Telemetry.TelemetryApplication.Settings.DTO.ChartProperties
{
public class ChartsProperties
{
public ChartsProperties()
{
SuspensionVelocityHistogram = new SuspensionVelocityHistogram();
CamberHistogram = new CamberHistogram();
}
... | 1.675782 | e0ea258f49445c3a433074acdc790a34 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7324 | {
"extension": "c-sharp",
"max_stars_count": "16.0",
"max_stars_repo_name": "razsilev/TelerikAcademy_Homework",
"max_stars_repo_path": "Asp net MVC/Exam MVC 2014 - Send/EasyPTC/EasyPTC.Web/Infrastructure/Helpers/HtmlExtensions.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7325"
} | starcoder | <reponame>razsilev/TelerikAcademy_Homework
namespace EasyPTC.Web.Infrastructure.Helpers
{
using HtmlTags;
using Microsoft.Web.Mvc;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
public... | 2.536304 | 1795298f97f61760f1bfa87095196392 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7325 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "alisterpineda/MyMediaRenamer",
"max_stars_repo_path": "MyMediaRenamer.Gui/Views/AboutDialogWindow.xaml.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7326"
} | starcoder | using System.Diagnostics;
using System.Windows;
namespace MyMediaRenamer.Gui.Views
{
/// <summary>
/// Interaction logic for AboutDialogWindow.xaml
/// </summary>
public partial class AboutDialogWindow : Window
{
public AboutDialogWindow()
{
InitializeComponent();
... | 2.194362 | 39e7b36dffdd4039075649efac5c6b15 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7326 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "moplus/modelorientedplus",
"max_stars_repo_path": "MoPlus.ViewModel/EditWorkspaceViewModel.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7327"
} | starcoder | <reponame>moplus/modelorientedplus<gh_stars>1-10
/*<copyright>
Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process.
Copyright (C) 2013 <NAME>, Intelligent Coding Solutions, LLC
This program is fre... | 2.210943 | 932bbb98d4595016c6e0a68048aff434 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7327 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "jeremyBanks/corefx",
"max_stars_repo_path": "src/System.Net.HttpListener/src/System/Net/Managed/ListenerAsyncResult.Managed.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7328"
} | starcoder | // Licensed to the .NET Foundation under one or more agreements.
// See the LICENSE file in the project root for more information.
//
// System.Net.ListenerAsyncResult
//
// Authors:
// <NAME> (<EMAIL>)
//
// Copyright (c) 2005 Ximian, Inc (http://www.ximian.com)
//
//
// Permission is hereby granted, free of charge, ... | 1.929748 | acb8653146c5ef0746b9b72306308c9a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7328 | {
"extension": "c-sharp",
"max_stars_count": "817.0",
"max_stars_repo_name": "asine/DownmarkerWPF",
"max_stars_repo_path": "src/MarkPad/DocumentSources/IOpenDocumentFromWeb.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7329"
} | starcoder | <filename>src/MarkPad/DocumentSources/IOpenDocumentFromWeb.cs<gh_stars>100-1000
using System.Threading.Tasks;
namespace MarkPad.DocumentSources
{
public interface IOpenDocumentFromWeb
{
Task<OpenDocumentFromWebResult> Open();
}
} | 1.664022 | dac1fd79d3716f40c95d77074e1fe380 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7329 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "rprouse/AdventOfCode2017",
"max_stars_repo_path": "AdventOfCode2015/Day09/Day09Tests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7330"
} | starcoder | using System;
using System.Collections;
using System.IO;
using AdventOfCode.Core;
using NUnit.Framework;
using FluentAssertions;
using System.Linq;
namespace AdventOfCode2015
{
public class Day09Tests : TestBase
{
const int DAY = 09;
[Test]
public void CanCalculateRoutes()
{
... | 2.838007 | d777beccbe651a5508314ddf2b0acd4d |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "EntryPointKR/SocketChat",
"max_stars_repo_path": "SocketChat/Select.Designer.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7331"
} | starcoder | namespace SocketChat
{
partial class Select
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 ... | 2.11744 | d81d5fe3abbf630a71c75ccbeabd996a |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7331 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ezmaxinc/eZmax-SDK-csharp-netcore",
"max_stars_repo_path": "src/eZmaxApi.Test/Model/EzsigntemplateListElementTests.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7332"
} | starcoder | /*
* eZmax API Definition (Full)
*
* This API expose all the functionnalities for the eZmax and eZsign applications.
*
* The version of the OpenAPI document: 1.1.7
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Xunit;
using System;
using System.Linq;
using S... | 1.630937 | 22fd4cad2778ad5925381eaf03eb47d6 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andmattia/nUpdate",
"max_stars_repo_path": "nUpdate.Administration/Core/Application/Extension/AssociationManager.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7333"
} | starcoder | // Author: <NAME> (Trade/ProgTrade) 2016
using System.Collections.Generic;
namespace nUpdate.Administration.Core.Application.Extension
{
/// <summary>
/// Provides more streamlined interface for associating a single or multiple extensions with a single program.
/// </summary>
public class Associa... | 2.915433 | 390504c328d29c617f300681e3708aca |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7333 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "crazycrank/FactorioToolkit",
"max_stars_repo_path": "FactorioToolkit.Blueprints/Model/Data/Color.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7334"
} | starcoder | <filename>FactorioToolkit.Blueprints/Model/Data/Color.cs<gh_stars>0
using Newtonsoft.Json;
namespace FactorioToolkit.Infrastructure.Model.Data
{
public struct Color
{
[JsonProperty("r")]
public int Red { get; set; }
[JsonProperty("g")]
public int Green { get; set; }
[... | 2.335591 | 78079eb193f42790ec6e154e5d0a26cb |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7334 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "laneser/csharp-driver",
"max_stars_repo_path": "src/Cassandra.IntegrationTests/ThreadPerTaskScheduler.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7335"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Cassandra.IntegrationTests
{
public class ThreadPerTaskScheduler : TaskScheduler
{
protected override IEnumerable<Task> GetScheduledTasks() ... | 1.96713 | 8ca8a164bda76923013afff4b9df8897 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Foundation-Classes-For-OpenTK/OFC",
"max_stars_repo_path": "OFC/GL4/Operations/OperationsTransformFeedback.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7336"
} | starcoder | <filename>OFC/GL4/Operations/OperationsTransformFeedback.cs
/*
* Copyright 2019-2021 Robbyxp1 @ github.com
*
* 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... | 2.022435 | d8619966c9d9e1cbacc268d07b384e02 |
2023-09-08T23:13:54.392Z | 2023-09-08T23:13:54.392Z | 7336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "RakaPKS/Examples-Unit-Testing-Asserts-And-Mocking-CSharp",
"max_stars_repo_path": "BadRandomGenerator/BadRandomGeneratorSpace.cs",
"provenance": "train-00000-of-00045.jsonl.gz:7337"
} | starcoder | using System;
using System.Numerics;
namespace BadRandomGeneratorSpace
{
public class BadRandomGenerator
{
public int b;
public BadRandomGenerator()
{
this.b = new Random().Next();
}
//Generates a random int
public virtual int Genera... | 3.426638 | f368e7ddc69637d875781341e75a3384 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.