added string | created string | id string | metadata dict | source string | text string | code-score float64 | md5 string |
|---|---|---|---|---|---|---|---|
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842312 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Parmiss1360/MeetingRoom",
"max_stars_repo_path": "MicrosoftGraphAspNetCoreConnectSample/Views/Shared/_Admin_.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161532"
} | starcoder | <!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/flick/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="<KEY>" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></scrip... | 1.672433 | d3b2a30f689b1e1808ad725a0ef953fe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842313 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "jamsforfun/DribbleMaster",
"max_stars_repo_path": "Assets/_Scripts/GAME/BoxUI.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161533"
} | starcoder | <reponame>jamsforfun/DribbleMaster
using Sirenix.OdinInspector;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BoxUI : MonoBehaviour
{
[FoldoutGroup("UI"), Tooltip(""), SerializeField]
private GameObject ActionObject;
[FoldoutGroup("Object"), Tooltip(""), Seri... | 1.362698 | 59e223ca7fa344ed0d311c76dbf38eee |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842314 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fanliang11/Surging",
"max_stars_repo_path": "src/Surging.IModuleServices/Surging.IModuleServices.Common/ITcpService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161534"
} | starcoder | using Surging.Core.CPlatform.Ioc;
using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Surging.IModuleServices.Common
{
[ServiceBundle("Tcp/{Service}")]
... | 1.140574 | b131fd508a19616fd0d095a68af1c247 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842315 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "etherealsoft/ethereal-library-dotnet",
"max_stars_repo_path": "src/Ethereal/Ethereal.Library/Invariant.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161535"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
namespace Ethereal.Library
{
public static class Invariant
{
/// <summary>
/// Assert the maximum length o... | 2.81212 | c035ba79696cade2e030afdb7628c1ce |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842316 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ttitto/WebDevelopment",
"max_stars_repo_path": "Web Services and Cloud/SOAAndRESTHW/DistanceCalculator/DistanceCalculator.WebApiService.Client/DistanceCalculatorWebApiClient.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161536"
} | starcoder | <gh_stars>0
namespace DistanceCalculator.WebApiService.Client
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
class DistanceCalculatorWebApiClient
{
s... | 2.682418 | aec362fd5ca0b00e8b4ab8aaf588217e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842317 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "VersatileSoft/NotatnikMechanika",
"max_stars_repo_path": "Clients/Core/PageModels/ContentPageModels/CustomersPageModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161537"
} | starcoder | <reponame>VersatileSoft/NotatnikMechanika<filename>Clients/Core/PageModels/ContentPageModels/CustomersPageModel.cs
using MvvmPackage.Core;
using MvvmPackage.Core.Commands;
using MvvmPackage.Core.Services.Interfaces;
using NotatnikMechanika.Core.Interfaces;
using NotatnikMechanika.Shared.Models.Customer;
using Property... | 2.520728 | 3038e72722679bf3b92579d8ef1c6dd8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842318 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Team-FIR3/DevelopingYou.API",
"max_stars_repo_path": "DevelopingYou.API/Data/Interfaces/IUserRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161538"
} | starcoder | <reponame>Team-FIR3/DevelopingYou.API<filename>DevelopingYou.API/Data/Interfaces/IUserRepository.cs
using DevelopingYou.API.Models.DTOs;
using Microsoft.AspNetCore.Mvc.ModelBinding;
using System.Security.Claims;
using System.Threading.Tasks;
namespace DevelopingYou.API.Data.Interfaces
{
public interface IUserRepo... | 1.939003 | 6d8eb77d0b680775591bd3c768fb9b89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842319 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "lethanhname/App.Core.Security",
"max_stars_repo_path": "App.Core.Security.Web/PolicyServices/HasPermissionAuthorizationPolicyProvider.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161539"
} | starcoder | using Microsoft.AspNetCore.Authorization;
using App.Core.Contract.Security;
using App.Core.Web;
namespace App.Core.Security.Web.PolicyServices
{
public class HasPermissionAuthorizationPolicyProvider : IAppAuthorizationPolicyProvider
{
public string Name => Policies.HasActionPermission;
public... | 1.942076 | 039ffbe2c2033166ea961099d264a3d7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842320 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "SoupBuild/Soup",
"max_stars_repo_path": "Source/GenerateSharp/Extensions/Cpp/Compiler/Core/LinkArguments.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161540"
} | starcoder | // <copyright file="LinkArguments.cs" company="Soup">
// Copyright (c) Soup. All rights reserved.
// </copyright>
using Opal;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Soup.Build.Cpp.Compiler
{
/// <summary>
/// The enumeration of link targets
/// </summary>
public enum LinkTar... | 2.533429 | 056d64a1ebf4cef6f7f8b114c9821f50 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842321 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mpenchev86/WindowsApplicationsTeamwork",
"max_stars_repo_path": "WindowsPhoneApplication/BeastApplication/Pages/LocationPage.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161541"
} | starcoder | <gh_stars>0
using BeastApplication.Controls;
using BeastApplication.Helpers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Devices.Geolocation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using ... | 1.784944 | b0dfb0c0960822e41f38d20f2d495f7e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842322 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "MintPlayer/QuineMcCluskey",
"max_stars_repo_path": "QuineMcCluskey/Data/QuineMcCluskey/Table1/Group.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161542"
} | starcoder | <reponame>MintPlayer/QuineMcCluskey
using System.Collections.Generic;
namespace QuineMcCluskey.Data.QuineMcCluskey.Table1
{
internal class Group
{
public Group()
{
Records = new List<Loop>();
}
public List<Loop> Records { get; set; }
}
}
| 1.756472 | e7caeb0389b34ee379fdd952eabb91a1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842323 | {
"extension": "c-sharp",
"max_stars_count": "20.0",
"max_stars_repo_name": "justinschoonover/ComposableAsync",
"max_stars_repo_path": "ComposableAsync.Concurrent/Collections/StandardMpscQueue.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161543"
} | starcoder | <filename>ComposableAsync.Concurrent/Collections/StandardMpscQueue.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Threading;
namespace ComposableAsync.Concurrent.Collections
{
/// <summary>
/// Implementation of IMpScQueue relying on .Net BlockingCollectio... | 3.218085 | 462781c58e6f31294852ed19de68bb4e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842324 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "geojorg/GoViatic-Xamarin",
"max_stars_repo_path": "GoViatic.Web/Controllers/API/AccountController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161544"
} | starcoder | <filename>GoViatic.Web/Controllers/API/AccountController.cs
using GoViatic.Common.Models;
using GoViatic.Web.Data;
using GoViatic.Web.Data.Entities;
using GoViatic.Web.Helpers;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Micr... | 2.418857 | 0916472e3365feb9c908a7cb909d96cf |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842325 | {
"extension": "c-sharp",
"max_stars_count": "78.0",
"max_stars_repo_name": "HitCache/Entitas-Redux",
"max_stars_repo_path": "Unity/Assets/ExampleContent/VisualDebugging/Systems/RandomValueSystem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161545"
} | starcoder | using JCMG.EntitasRedux;
using UnityEngine;
namespace ExampleContent.VisualDebugging
{
public class RandomValueSystem : IUpdateSystem
{
private readonly VisualDebugContext _context;
public RandomValueSystem(Contexts contexts)
{
_context = contexts.VisualDebug;
}
public void Update()
{
_context.C... | 2.08426 | 57589c2751cf0d4ea3ac82402cb35480 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842326 | {
"extension": "c-sharp",
"max_stars_count": "502.0",
"max_stars_repo_name": "Haukinger/urho",
"max_stars_repo_path": "Bindings/Portable/Generated/HttpRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161546"
} | starcoder | <reponame>Haukinger/urho
// WARNING - AUTOGENERATED - DO NOT EDIT
//
// Generated using `sharpie urho`
//
// HttpRequest.cs
//
// Copyright 2015 Xamarin Inc. All rights reserved.
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Urho.Urho2D;
using Urho.Gui;
using Urho.Resou... | 2.121705 | cf50901f584dc4cfacef7cf6c59213c7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842327 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ObiWanLansi/DoofesZeug",
"max_stars_repo_path": "DoofesZeug.Library/Src/Entities/DateAndTime/DateOfBirth.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161547"
} | starcoder | <reponame>ObiWanLansi/DoofesZeug
using System;
using DoofesZeug.Attributes.Documentation;
using DoofesZeug.Entities.DateAndTime.Part.Date;
namespace DoofesZeug.Entities.DateAndTime
{
[Description("An date of birth (without the time) for creatures.")]
public sealed class DateOfBirth : Date
{
pub... | 2.70695 | 2db03e29c3d85c57a2edabb27ae8e9da |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842328 | {
"extension": "c-sharp",
"max_stars_count": "13.0",
"max_stars_repo_name": "circles-arrows/blueprint41",
"max_stars_repo_path": "Datastore.Generated/Relationships/PERSON_HAS_EMAILADDRESS.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161548"
} | starcoder | using System;
using Blueprint41;
using Blueprint41.Query;
namespace Domain.Data.Query
{
public partial class PERSON_HAS_EMAILADDRESS_REL : RELATIONSHIP, IFromIn_PERSON_HAS_EMAILADDRESS_REL, IFromOut_PERSON_HAS_EMAILADDRESS_REL {
public override string NEO4J_TYPE
{
get
{
... | 2.099486 | 784e8897ee7b4f93b7b767772f38580f |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842329 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "amis92/wham",
"max_stars_repo_path": "src/WarHub.ArmouryModel.ProjectModel/ProjectConfigurationProviderBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161549"
} | starcoder | <reponame>amis92/wham<gh_stars>0
using System.Collections.Immutable;
using System.IO;
using Newtonsoft.Json;
namespace WarHub.ArmouryModel.ProjectModel
{
public abstract class ProjectConfigurationProviderBase : IProjectConfigurationProvider
{
public ProjectConfigurationInfo Create(string path)
... | 2.383061 | 5afaac7a6141ee932b1668e3c903938b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842330 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "JaszczomBe/QuickFont",
"max_stars_repo_path": "src/QuickFont.Shared/TexturePage.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161550"
} | starcoder | <filename>src/QuickFont.Shared/TexturePage.cs
using System;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
#if OPENGL_ES
using OpenTK.Graphics.ES20;
using PixelFormat = OpenTK.Graphics.ES20.PixelFormat;
#else
using OpenTK.Graphics.OpenGL4;
#endif
namespace QuickFont
{
/// <summary>
/// R... | 2.805542 | b861dc8a3a5fbb16c0dae3078d965d9e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842331 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Soothsilver/cs2sil",
"max_stars_repo_path": "Soothsharp.Translation/Trees/CSharp/Expressions/Invocation/InvocationAccArray.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161551"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Soothsharp.Contracts;
using Soothsharp.Translation.Translators;
using Soothsharp.Translation.Trees.CSharp.Invocation;
using Soothsharp.Translation.Trees.Silver;
names... | 2.061494 | 59923c289aaa404e3ece964d2a4eb19b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842332 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "snaveevans/avocado",
"max_stars_repo_path": "Avocado.Infrastructure/Context/ContextRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161552"
} | starcoder | <reponame>snaveevans/avocado
using System;
using System.Collections.Generic;
using System.Linq;
using Avocado.Domain.Interfaces;
using Microsoft.EntityFrameworkCore;
namespace Avocado.Infrastructure.Context
{
public class ContextRepository<T, TContext> : IRepository<T> where T : class where TContext : DbContext
... | 2.642235 | d497be746b580e10c5c015330585cf9d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842333 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "Jss-Jss/UnityWiseSVN",
"max_stars_repo_path": "Assets/DevLocker/VersionControl/WiseSVN/Editor/Preferences/SVNPreferencesManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161553"
} | starcoder | using DevLocker.VersionControl.WiseSVN.ContextMenus;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace DevLocker.VersionControl.WiseSVN.Preferences
{
internal class SVNPreferencesManager : ScriptableObject
{
internal enum BoolPrefere... | 2.018148 | 4c4f68e67d2fc70bb891c7ffa19e3ddb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842334 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "skybrud/Skybrud.VideoPicker",
"max_stars_repo_path": "src/Skybrud.VideoPicker/Models/Config/VideoPickerConfig.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161554"
} | starcoder | using System.Collections.Generic;
using Skybrud.VideoPicker.Providers;
using Umbraco.Core;
namespace Skybrud.VideoPicker.Models.Config {
public class VideoPickerConfig {
private readonly Dictionary<string, IProviderConfig> _providers;
#region Properties
/// <summary>
... | 2.553053 | a2b034ebbde5f5b20eadb480210844e6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842335 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "DorShaar/TaskTriangle",
"max_stars_repo_path": "TaskTriangle/Time/TaskTime.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161555"
} | starcoder | using System;
namespace Triangle.Time
{
public class TaskTime
{
public DateTime StartTime { get; set; }
public TimeSpan ExpectedDuration { get; set; }
public TaskTime(DateTime startTime, TimeSpan expectedDuration)
{
StartTime = startTime;
Ex... | 2.809117 | 2ac6bf8ffbbf0d8d867743323a769027 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842336 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "joergbattermann/JB.AzureDevOps",
"max_stars_repo_path": "JB.AzureDevOps.ReactiveClient/WorkHttpClient/WorkHttpClientExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161556"
} | starcoder | <filename>JB.AzureDevOps.ReactiveClient/WorkHttpClient/WorkHttpClientExtensions.cs<gh_stars>0
using System;
using System.Reactive.Linq;
using Microsoft.TeamFoundation.Core.WebApi.Types;
using Microsoft.TeamFoundation.Work.WebApi;
namespace JB.AzureDevOps.ReactiveClient.WorkHttpClient
{
/// <summary>
/// Exten... | 2.4738 | d87b49da4f6f7fe4ddcc73dd3c6e275e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842337 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ConsenSys/Nethereum.BlockchainProcessing",
"max_stars_repo_path": "Nethereum.LogProcessing/Handling/EventHandlerType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161557"
} | starcoder | namespace Nethereum.BlockchainProcessing.Processing.Logs.Handling
{
public enum EventHandlerType
{
Rule, Aggregate, Queue, ContractQuery, GetTransaction, Index, Store
}
}
| 1.247739 | 3d3aa1860d46c6e0788c680493fd9753 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842338 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "peterkinalex/roslyn-analyzers",
"max_stars_repo_path": "src/Microsoft.CodeQuality.Analyzers.Exp/Core/FlowAnalysis/Analysis/PointsToAnalysis/DefaultPointsToValueGenerator.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161558"
} | starcoder | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using Analyzer.Utilities.Extensions;
namespace Microsoft.Cod... | 2.185454 | 4c54d67b216779ede384b045f297386b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842339 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "Suzii/thesis-roslyn",
"max_stars_repo_path": "utils/SampleProjectGenerator/SampleProjectGenerator/CodeGenerators/WebApp/Implementation/PageIsCallback.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161559"
} | starcoder | <filename>utils/SampleProjectGenerator/SampleProjectGenerator/CodeGenerators/WebApp/Implementation/PageIsCallback.cs
namespace SampleProjectGenerator.CodeGenerators.WebApp.Implementation
{
public class PageIsCallback : BaseWebAppClassCodeGenerator
{
public override FakeFileInfo GetFakeFileInfo(int inde... | 2.727348 | 01630efa4ed2d3e028f5f9d51d717d3a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842340 | {
"extension": "c-sharp",
"max_stars_count": "13764.0",
"max_stars_repo_name": "jangernert/Avalonia",
"max_stars_repo_path": "src/Windows/Avalonia.Win32/OpenGl/WglPlatformOpenGlInterface.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161560"
} | starcoder | using System;
using System.Linq;
using Avalonia.Logging;
using Avalonia.OpenGL;
namespace Avalonia.Win32.OpenGl
{
class WglPlatformOpenGlInterface : IPlatformOpenGlInterface
{
public WglContext PrimaryContext { get; }
IGlContext IPlatformOpenGlInterface.PrimaryContext => PrimaryContext;
... | 2.000055 | aff9993725075d16ace561921a939bea |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842341 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ndhisrfzs/UDPSocket",
"max_stars_repo_path": "UDPSocket/Engine/SocketServerBase.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161561"
} | starcoder | using System;
using System.Net.Sockets;
using UDPSocket.Common;
using UDPSocket.Server;
namespace UDPSocket.Engine
{
abstract class SocketServerBase : ISocketServer, IDisposable
{
protected int Port;
protected ISocketListener Listener { get; private set; }
public IAppServer AppServer {... | 2.481154 | e859c4529ec119cbe4de28c9cdf7ff60 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842342 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "razst/YcubeSim",
"max_stars_repo_path": "tools/YcubeSimUDP/YcubeSimUDP/Main.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161562"
} | starcoder | 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 YcubeSimUDP
{
public partial class Main : Form
{
UDPSocket server = new UDPSo... | 2.216753 | 070e1af17619df435ece180b91678832 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842343 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "Jorch72/CS-PartyCraft",
"max_stars_repo_path": "PartyCraft.Test/VanillaSettingsTest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161563"
} | starcoder | <reponame>Jorch72/CS-PartyCraft
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Craft.Net.Common;
using NUnit.Framework;
namespace PartyCraft.Test
{
[TestFixture]
public class VanillaSettingsTest
{
[Test]
public void TestLoadSett... | 2.382517 | dee4967c1b46de7af4c4d013c4a32672 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842344 | {
"extension": "c-sharp",
"max_stars_count": "9.0",
"max_stars_repo_name": "MCClassicServerArchive/ProCraft",
"max_stars_repo_path": "fCraft/System/Utils/RWLSExtension.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161564"
} | starcoder | <reponame>MCClassicServerArchive/ProCraft<filename>fCraft/System/Utils/RWLSExtension.cs
// Part of fCraft | Copyright 2009-2015 <NAME> <<EMAIL>> | BSD-3 | See LICENSE.txt //Copyright (c) 2011-2013 <NAME>, <NAME> and <NAME> <<EMAIL>> //Copyright (c) <2012-2014> <LeChosenOne, DingusBungus> | ProCraft Copyright 2014-2019... | 2.008141 | 749862d30a06705502aacc8109568a77 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842345 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "bonfanteandre/pandora-api",
"max_stars_repo_path": "src/Pandora.Core/Services/PaymentMethodsService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161565"
} | starcoder | using Pandora.Core.Contracts.Repositories;
using Pandora.Core.Contracts.Services;
using Pandora.Core.Contracts.UnitOfWork;
using Pandora.Core.Entities;
using Pandora.Core.Validators;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pandora.C... | 2.704778 | fb2002c8e1961a52500457c87c93fc0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842346 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "moscrif/ide",
"max_stars_repo_path": "devices/DeviceJavaScriptConverter.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161566"
} | starcoder | using System;
using System.Web.Script.Serialization;
using System.Runtime.Serialization;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Moscrif.IDE.Devices
{
public class DeviceJavaScriptConverter : JavaScriptConverter
{
private static readonly Type[]... | 2.268252 | 925b271a33aa2b026fe4135c4b49c948 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842347 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "wallymathieu/BlockParser",
"max_stars_repo_path": "tests/CSharp.Tests/RealWorld/Second_section.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161567"
} | starcoder | <filename>tests/CSharp.Tests/RealWorld/Second_section.cs
using Xunit;
using System.IO;
using System.Linq;
using Zander;
namespace CSharp.Tests.RealWorld
{
public class Second_section : TestHelper
{
private string[][] file_content;
public Second_section()
{
file_content = P... | 2.68647 | ccab3412f1f218e536d64d9e25e90d54 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842348 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "ellajtanttu/bakery",
"max_stars_repo_path": "Bakery/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161568"
} | starcoder | using System;
using Bakery.Models;
class Program
{
static void Main()
{
Console.WriteLine("---------------------------");
Console.WriteLine("WELCOME TO PIERRE'S BAKERY!");
Console.WriteLine("---------------------------");
Console.WriteLine("Current Prices:");
Console.WriteLine("Bread - $5.00 (b... | 3.395536 | 5759a2eec005a35d4cb9d2935b0b2788 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842349 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "hbturohit/EntityFrameworkCoreDotnet",
"max_stars_repo_path": "src/EFCore.Cosmos.Sql/Metadata/Internal/CosmosSqlAnnotationNames.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161569"
} | starcoder | <gh_stars>1-10
// 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.
namespace Microsoft.EntityFrameworkCore.Cosmos.Sql.Metadata.Internal
{
public static class CosmosSqlAnnotationNames
{
pu... | 0.940022 | 4fc1b078f3ef30063a6609ff527fa034 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842350 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "msotiroff/Online-Store",
"max_stars_repo_path": "src/OnlineStore.Serverless/Views/Product/Details.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161570"
} | starcoder | <reponame>msotiroff/Online-Store
@model OnlineStore.Common.ViewModels.Product.ProductDetailsViewModel
<h2>Product details</h2>
<div>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.Name)
</dt>
<dd>
@Html.DisplayFor(model => model.Name... | 2.341618 | cb86f71db260d41aaeebdeba4023218a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842351 | {
"extension": "c-sharp",
"max_stars_count": "405.0",
"max_stars_repo_name": "bilal-fazlani/CommandDotNet",
"max_stars_repo_path": "CommandDotNet/Parsing/UnrecognizedOptionParseError.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161571"
} | starcoder | using CommandDotNet.Tokens;
namespace CommandDotNet.Parsing
{
/// <summary>
/// <see cref="Token"/> is not a valid command
/// and there is no available operand to assign the value to.
/// </summary>
public class UnrecognizedOptionParseError : UnrecognizedArgumentParseError
{
public Un... | 2.697379 | 2f63bd5518c3d84e9b4c8327e36b5500 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842352 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "chukhuck/chuk.Helpers",
"max_stars_repo_path": "src/Chuk.Helpers/Patterns/IRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161572"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace Chuk.Helpers.Patterns
{
public interface IRepository<TEntity, TEntityKey>
where TEntity : class, IEntity<TEntityKey>
where TEntityKey : struct
{
IEnumerable<TEntity> GetA... | 2.007599 | 3d7727d4232f6172d7cacbbf533d1da6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842353 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "daniel-wl/dotnet-core-etl",
"max_stars_repo_path": "src/TransactionReportGenerator.Core/Models/TransactionType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161573"
} | starcoder | namespace TransactionReportGenerator.Core.Models
{
public enum TransactionType
{
None = 0,
Buy,
Sell
}
}
| 1.722279 | ac1f8276f68b6acdf01d76480bfb6dcd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842354 | {
"extension": "c-sharp",
"max_stars_count": "38.0",
"max_stars_repo_name": "yuniansheng/xxl-job-dotnet",
"max_stars_repo_path": "src/XxlJob.Core/RPC/RpcResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161574"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace com.xxl.job.core.rpc.codec
{
public class RpcResponse
{
public string requestId;
public string error;
public object result;
public bool IsError { get... | 1.430643 | dfefbc7cf7a82b5c8ce6e9bc0be9b25d |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842355 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "2011-nov02-net/Jordan-Project-01",
"max_stars_repo_path": "SimpleStore/StoreApp/StoreApp.Webapp/Controllers/ShoppingCartController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161575"
} | starcoder | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using StoreApp.DataAccess.Repositores;
using StoreApp.DataAccess.BusinessModels;
using StoreApp.Webapp.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StoreApp.Webapp.Controllers
{
... | 2.534542 | 3a20a3ea5f44ba03446dcd7eaa5cbbbc |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842356 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "pikokr/ThunderKit",
"max_stars_repo_path": "Editor/ThirdParty/UnityVersion/Extensions/CharacterExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161576"
} | starcoder | <reponame>pikokr/ThunderKit
using System;
namespace AssetRipper.VersionUtilities.Extensions
{
/// <summary>
/// Extensions for <see cref="char"/>
/// </summary>
public static class CharacterExtensions
{
internal static int ParseDigit(this char _this)
{
return _this - '0... | 2.590177 | 22fec7128da74d441f1e98e614e30c74 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842357 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Agatolies/ULMClubManager",
"max_stars_repo_path": "src/ULMClubManager/ULMClubManager.DTO/Runway.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161577"
} | starcoder | using ULMClubManager.DTO.Abstractions;
namespace ULMClubManager.DTO
{
/// <summary>
/// Représente une piste
/// </summary>
public class Runway : IDomainModel
{
public Runway(int? id, bool availability)
{
ID = id;
Availability = availability;
}
... | 2.828025 | 6791a04cde9fbd05888e612cde483348 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842358 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "tommes/GitBranchDiffer",
"max_stars_repo_path": "src/BranchDiffer.Git/Models/DiffResultItem.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161578"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BranchDiffer.Git.Models
{
public class DiffResultItem
{
/// <summary>
/// Windows file path of the diffed item.
/// </summary>
/// <remarks>
///... | 2.961998 | 9e08f5df7f21b7c2d0f9fecfdc39c42b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842359 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "XpiritBV/app-evolve",
"max_stars_repo_path": "src/XamarinEvolve.Clients.UI.NetStandard/Cells/ScavengerHuntCell.xaml.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161579"
} | starcoder | <reponame>XpiritBV/app-evolve
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace XamarinEvolve.Clients.UI
{
public partial class ScavengerHuntCell : ContentView
{
public ScavengerHuntCell()
{
InitializeComponent();
}
}
}
| 0.954499 | 4f77d6c2eac815eae3706f611104c3bb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842360 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dev-nm/CommunityServer",
"max_stars_repo_path": "module/ASC.Mail/ASC.Mail/Utils/EncodingTools.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161580"
} | starcoder | /*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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 applicable la... | 2.219339 | 0d6b74c6635c9dfb9b21798de6452de5 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842361 | {
"extension": "c-sharp",
"max_stars_count": "22.0",
"max_stars_repo_name": "baba-s/uni-common-test-runner",
"max_stars_repo_path": "app/Assets/UniCommonTestRunner/Editor/Tests/CheckAnimatorControllerState.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161581"
} | starcoder | <reponame>baba-s/uni-common-test-runner
using NUnit.Framework;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEditor.Animations;
namespace UniCommonTestRunner
{
public partial class UniCommonTestRunner
{
/// <summary>
/// Animator Controller のステートが null になっていないかどうかテストします
/// </summary>
... | 2.299449 | 3e31c6e207236d8a80e4c1f682b80746 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842362 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "alienworks/state-of-neo-server",
"max_stars_repo_path": "StateOfNeo/StateOfNeo.Data/Migrations/20181105133914_AddIndexToLastTransactionOn.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161582"
} | starcoder | <filename>StateOfNeo/StateOfNeo.Data/Migrations/20181105133914_AddIndexToLastTransactionOn.cs<gh_stars>1-10
using Microsoft.EntityFrameworkCore.Migrations;
namespace StateOfNeo.Data.Migrations
{
public partial class AddIndexToLastTransactionOn : Migration
{
protected override void Up(MigrationBuilder ... | 2.211484 | 2356dd3994e6dddd44828dbb6f13a711 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842363 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "mu88/BlazorShoppingList",
"max_stars_repo_path": "DTO/IngredientDto.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161583"
} | starcoder | namespace BlazorShoppingList.DTO
{
public class IngredientDto
{
public string Type { get; set; }
public int Amount { get; set; }
}
}
| 1.722587 | 0daa82d4c7cf98302aa210669eaa93f7 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842364 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "fmi-works/extra-dry-analyzers",
"max_stars_repo_path": "ExtraDry.Analyzers/ExtraDry.Analyzers.Test/1205_AuthorizeAttributeUsesPolicyTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161584"
} | starcoder | using System.Threading.Tasks;
using Xunit;
using VerifyCS = ExtraDry.Analyzers.Test.CSharpAnalyzerVerifier<
ExtraDry.Analyzers.AuthorizeAttributeUsesPolicy>;
namespace ExtraDry.Analyzers.Test
{
public class AuthorizeAttributeUsesPolicyTests {
[Fact]
public async Task NoAttribute_NoDiagnostic(... | 1.982302 | b09eaa7029e8714188d92849ad852b89 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842365 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "oviebd/Immune-System",
"max_stars_repo_path": "Assets/Script/Player/PlayerSpawnerController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161585"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSpawnerController : MonoBehaviour
{
public static PlayerSpawnerController instance;
private GameEnum.PlayerType _currentPlayerType = GameEnum.PlayerType.Type_1_Base;
[Header("All Player Prefab List (P... | 2.314477 | 6cfdc713f59e52fadb1fc59b7274e1f2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842366 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "PNNL-Comp-Mass-Spec/Protein-Parsimony",
"max_stars_repo_path": "SetCover/Objects/Node.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161586"
} | starcoder | <filename>SetCover/Objects/Node.cs<gh_stars>0
using System;
namespace SetCover.Objects
{
/// <summary>
/// Main object for generating the bipartite graph
/// </summary>
public class Node : IComparable
{
private static int IDNum;
public enum NodeTypeName
{
... | 3.362771 | de6ce07b6f4576c9c097f6f8fe2c5029 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842367 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "CodeHex/bugsnag-dotnet",
"max_stars_repo_path": "src/Bugsnag/Handlers/UnhandledExceptionHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161587"
} | starcoder | <filename>src/Bugsnag/Handlers/UnhandledExceptionHandler.cs
using System;
#if !NET35
using System.Runtime.ExceptionServices;
#endif
namespace Bugsnag.Handlers
{
/// <summary>
/// Responsible for installing and uninstalling unobserved exception handler for handling application
/// level uncaught exceptio... | 2.851653 | 4e8ebaa91e9b11c99b52cffc2e76fddb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842368 | {
"extension": "c-sharp",
"max_stars_count": "195.0",
"max_stars_repo_name": "ChristophCaina/EmbyStat",
"max_stars_repo_path": "EmbyStat.Controllers/Filters/FilterValuesViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161588"
} | starcoder | using EmbyStat.Controllers.HelperClasses;
namespace EmbyStat.Controllers.Filters
{
public class FilterValuesViewModel
{
public string Id { get; set; }
public string Field { get; set; }
public LabelValuePairViewModel[] Values { get; set; }
}
}
| 1.425123 | f89923aed49e0620dc81d561393fd712 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842369 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "zacpwhite/Jeopardy",
"max_stars_repo_path": "Models/ViewModels/NewGameViewModel.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161589"
} | starcoder | <gh_stars>1-10
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Jeopardy.Models.ViewModels
{
public class NewGameViewModel
{
[Required]
[DisplayName("Title")]
public string GameTitle { get; set; }
[DisplayName("Description")]
public st... | 2.113648 | 71d7ab25e48b5c685a59ec46782d0851 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842370 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "biud436/InitialEditor-Winform",
"max_stars_repo_path": "Controls/TilemapControl.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161590"
} | starcoder | <filename>Controls/TilemapControl.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DarkUI.Config;
using System.Diagnostics;
using System.Drawing.... | 2.388719 | fcbcdd0ae5e516192c2e5e11c15304d2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842371 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "stubbl/stubbl-api",
"max_stars_repo_path": "src/Stubbl.Api/EventHandlers/Collections/Members/TeamDeletedEventHandler.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161591"
} | starcoder | <reponame>stubbl/stubbl-api<filename>src/Stubbl.Api/EventHandlers/Collections/Members/TeamDeletedEventHandler.cs
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Gunnsoft.Cqs.Events;
using MongoDB.Driver;
using Stubbl.Api.Data.Collections.Users;
using Stubbl.Api.Events.TeamDeleted.Version... | 2.298647 | 412a7f3b97a238b17cb1dad7c6f04951 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842372 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "grammophone/Grammophone.DataAccess",
"max_stars_repo_path": "EntityValidationException.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161592"
} | starcoder | <reponame>grammophone/Grammophone.DataAccess
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Grammophone.DataAccess
{
/// <summary>
/// Thrown when validation of entities fails during saving to the database.
/// </summary>
[Serializable... | 2.803863 | bfbb8abfb6bcce2496c93be85bd44b8a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842373 | {
"extension": "c-sharp",
"max_stars_count": "14.0",
"max_stars_repo_name": "niemtec/ring",
"max_stars_repo_path": "src/ATech.Ring.Vsix17/StateMachines/Workspace/WorkspaceTriggerExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161593"
} | starcoder | namespace ATech.Ring.Vsix.StateMachines.Workspace
{
public static class WorkspaceTriggerExtensions
{
public static WorkspaceStateMachine.TriggerWithParameters<TData> With<TData>(this WorkspaceTrigger t)
{
return new WorkspaceStateMachine.TriggerWithParameters<TData>(t);
}
... | 1.700054 | b3822ff5858b89edc88a8d1e6b344758 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842374 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "icfpcontest2020/galaxy",
"max_stars_repo_path": "src/CosmicMachine/CSharpGalaxy/FakeEnumerable.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161594"
} | starcoder | <reponame>icfpcontest2020/galaxy
using System;
using System.Collections;
using System.Collections.Generic;
namespace CosmicMachine.CSharpGalaxy
{
public class FakeEnumerable : IEnumerable
{
IEnumerator IEnumerable.GetEnumerator() => throw new NotSupportedException();
}
public class FakeEnumer... | 2.060802 | 678c17822e6b2cfe0f38eecd842fe16b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842375 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "ChAoSUnItY/CAS",
"max_stars_repo_path": "src/CASC-Interpreter/CodeParser/Binding/BoundErrorExpression.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161595"
} | starcoder | using CASC.CodeParser.Symbols;
namespace CASC.CodeParser.Binding
{
internal sealed class BoundErrorExpression : BoundExpression
{
public BoundErrorExpression() : base(TypeSymbol.Error) { }
public override BoundNodeKind Kind => BoundNodeKind.ErrorExpression;
public override TypeSymbol T... | 1.833643 | 46fa3ae98a08db286fdda20405eb6513 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842376 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "yasinerduran/BasicGames-Vol-2-SpaceShooter",
"max_stars_repo_path": "Assets/BrainCloud/Client/BrainCloud/BrainCloudEvent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161596"
} | starcoder | //----------------------------------------------------
// brainCloud client source code
// Copyright 2016 bitHeads, inc.
//----------------------------------------------------
using System;
using System.Collections.Generic;
using JsonFx.Json;
using BrainCloud.Internal;
namespace BrainCloud
{
public class BrainClo... | 2.32825 | 4684a67b5afe7739e30ae5cfa1dacdaa |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842377 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "vivienchevallier/Article-AzureTableStorage.TableQueryAsync",
"max_stars_repo_path": "AzureTableStorage.TableQueryAsync/MyTableEntity.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161597"
} | starcoder | using Microsoft.WindowsAzure.Storage.Table;
namespace AzureTableStorage.TableQueryAsync
{
public class MyTableEntity : TableEntity
{
public MyTableEntity() { }
public MyTableEntity(string partitionKey, string rowKey)
{
this.PartitionKey = partitionKey;
... | 1.945772 | 0944bfb1bb0d49f45e80fcc042013ea3 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842378 | {
"extension": "c-sharp",
"max_stars_count": "18.0",
"max_stars_repo_name": "AmalieRask131/femdesign-api",
"max_stars_repo_path": "FemDesign.Core/Bars/Buckling/BucklingLength.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161598"
} | starcoder | // https://strusoft.com/
using System.Globalization;
using System.Xml;
using System.Xml.Serialization;
using FemDesign.GenericClasses;
namespace FemDesign.Bars.Buckling
{
/// <summary>
/// buckling_record
/// </summary>
[System.Serializable]
public partial class BucklingLength
{
[XmlAt... | 2.73676 | 4e6d854fc18b27b9c28ab8be56588bc2 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842379 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "AAU-projects/P3-drive-school-logger",
"max_stars_repo_path": "DriveLogGUI/Windows/EditUserInfoForm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161599"
} | starcoder | using System;
using System.Data;
using System.Drawing;
using System.Windows.Forms;
using DriveLogCode;
using DriveLogCode.DataAccess;
using DriveLogCode.Objects;
using DriveLogGUI.CustomControls;
using DriveLogGUI.Properties;
namespace DriveLogGUI.Windows
{
public partial class EditUserInfoForm : Form
{
... | 2.096021 | 501f51f24bef5a10812a52e36597d0f9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842380 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Franciuiz/Arkanoid_Unity3d",
"max_stars_repo_path": "Assets/GameBooster/Utils/Attributes/Editor/ConditionalHidePropertyDrawer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161600"
} | starcoder | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace GameBooster{
[CustomPropertyDrawer(typeof(ConditionalHideAttribute))]
public class ConditionalHidePropertyDrawer : PropertyDrawer {
public override void OnGUI (Rect position, SerializedProperty property, ... | 2.424532 | e091fb735a4dd416ec939c943961aebe |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842381 | {
"extension": "c-sharp",
"max_stars_count": "447.0",
"max_stars_repo_name": "samezi-but/ARDesktop",
"max_stars_repo_path": "Assets/ThirdParty/uDesktopDuplication/Examples/Scripts/UddSceneManager.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161601"
} | starcoder | <gh_stars>100-1000
using UnityEngine;
using UnityEngine.SceneManagement;
public class UddSceneManager : MonoBehaviour
{
public static UddSceneManager instance { get; set; }
[SerializeField] string[] scenes;
[SerializeField] int sceneNo = 0;
void Awake()
{
if (!instance) {
inst... | 2.112132 | 4c9b88cfd6398585769a466504db32e8 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842382 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "StillLearnin/mileage-tracker",
"max_stars_repo_path": "Mileage Tracker/Types/TripInfo.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161602"
} | starcoder | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MileageTracker.Types
{
public class TripInfo : BaseInfo
{
#region Destination
/// <summary>
/// Store for ... | 2.39314 | c1fef874077d4bfe0852a05f4e1933fb |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842383 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "BioFluidix/Poly2Tri",
"max_stars_repo_path": "Poly2Tri/TriangulationPoint.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161603"
} | starcoder | <filename>Poly2Tri/TriangulationPoint.cs
/* Poly2Tri
* Copyright (c) 2009-2010, Poly2Tri Contributors
* http://code.google.com/p/poly2tri/
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:... | 2.855413 | da5a5fc61a15baded5869f44e3554323 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842384 | {
"extension": "c-sharp",
"max_stars_count": "67.0",
"max_stars_repo_name": "anaparthi-k/dotnet-nquery",
"max_stars_repo_path": "Src/NQuery/AST/Query/TableReference.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161604"
} | starcoder | <filename>Src/NQuery/AST/Query/TableReference.cs
namespace NQuery.Compilation
{
internal abstract class TableReference : AstNode
{
}
} | 1.2319 | 14790b27f346a57d97f126a9e28af89a |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842385 | {
"extension": "c-sharp",
"max_stars_count": "5.0",
"max_stars_repo_name": "Erisa/MicrosoftBot",
"max_stars_repo_path": "Helpers/TimeHelpers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161605"
} | starcoder | <filename>Helpers/TimeHelpers.cs
namespace Cliptok.Helpers
{
public class TimeHelpers
{
public static string TimeToPrettyFormat(TimeSpan span, bool ago = true)
{
if (span == TimeSpan.Zero) return "0 seconds";
if (span.Days > 3649)
return "a long time";
... | 3.190053 | 107c4e1f9c341faaf212cc5bb065ce8e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842386 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "210913-USF-NET/P1-Tristan-Postley",
"max_stars_repo_path": "UI/Program.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161606"
} | starcoder | <reponame>210913-USF-NET/P1-Tristan-Postley
using System;
using Serilog;
using StoreBL;
using DL;
using Models;
namespace UI
{
class Program
{
static void Main(string[] args)
{
//Logger
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
... | 1.685866 | 287cd7423b8829a0f026eaaef6f997ba |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842387 | {
"extension": "c-sharp",
"max_stars_count": "10.0",
"max_stars_repo_name": "zhll2046/HanaTranslator-Src",
"max_stars_repo_path": "Translator/DBUtilsMSSQL.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161607"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Odbc;
using System.Data;
using System.Data.SqlClient;
namespace Translator
{
public class DbUtilMSSQL : IDisposable
{
private string mDatabase;
private string mConn... | 2.80894 | 34768687521b53da5f295e3d41e0adf9 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842388 | {
"extension": "c-sharp",
"max_stars_count": "17.0",
"max_stars_repo_name": "johang88/triton",
"max_stars_repo_path": "Triton.Graphics/Resources/ResourceSerializers.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161608"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Triton.Graphics.Resources
{
public static class ResourceSerializers
{
public static void Init(Triton.Resources.ResourceManager resourceManager, Backend backend, Triton.IO.FileSystem fileSy... | 2.123143 | 5c57a1b57c34ed3c1965f718807bc3d4 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842389 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Gman8r/PrideBot",
"max_stars_repo_path": "PrideBot/Repository/ModelRepository.Score.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161609"
} | starcoder | <gh_stars>0
using PrideBot.Models;
using System;
using System.Collections.Generic;
using Microsoft.Data.SqlClient;
using System.Text;
using System.Threading.Tasks;
using System.Linq;
using System.Data;
namespace PrideBot.Repository
{
public partial class ModelRepository
{
public async Task<Score> Get... | 2.2856 | 568651ac169395901d2176abc933c5f6 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842390 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "RodrigoMedeirosRS/CsharpSQLite",
"max_stars_repo_path": "System.Data.SQLite/Tools/Orm.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161610"
} | starcoder | using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using System.Text;
namespace System.Data.SQLite.Tools
{
public static class Orm
{
public const int DefaultMaxStringLength = 140;
public const string ImplicitPkName = "Id";
public const string ImplicitIndexSuffix = "Id";
public st... | 2.539231 | 4df427d8a53ce3be81c7447859152044 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842391 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "ErikMuir/Bravura",
"max_stars_repo_path": "Bravura.Common/Extensions/StringExtensions.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161611"
} | starcoder | <reponame>ErikMuir/Bravura
namespace Bravura.Common
{
public static class StringExtensions
{
public static string TrimToNull(this string val)
=> string.IsNullOrWhiteSpace(val) ? null : val.Trim();
public static string SafeTrim(this string val)
=> val == null ? null : val... | 2.251667 | a72196f234a3c74415b48ad85caa050b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842392 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "lantis-of-china/UnityFramework",
"max_stars_repo_path": "ClientFramework/HotFixLogic/HotFixLogic/FrameWork/DllFrameWork/GameScript/GameProject/ScriptProject/GeneralAll/TipMessageType.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1... | starcoder | <reponame>lantis-of-china/UnityFramework
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/// <summary>
/// 提示消息类型
/// </summary>
public enum TipMessageType
{
/// <summary>
/// 版本错误
/// </summary>
VersionError = -1,
/// <summary>
/// 服务器已满
/// </summar... | 1.976991 | cdf35ac7c76f68f00c4b4c8f92a0e50b |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842393 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "qorthos/com.qorthos.bracedframework",
"max_stars_repo_path": "Editor/KenShapeImporter/KenShapeAssetImporterEditor.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161613"
} | starcoder | <reponame>qorthos/com.qorthos.bracedframework<filename>Editor/KenShapeImporter/KenShapeAssetImporterEditor.cs
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
using UnityEngine;
using UnityEditor;
using UnityEditor.AssetImporters;
using BracedF... | 1.943061 | e22b9a9c47f01a54b84243d15daa2c30 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842394 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "dogefun/OriginText",
"max_stars_repo_path": "OriginText/form.Designer.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161614"
} | starcoder | namespace OriginText
{
partial class form
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param na... | 2.121552 | 465777fb2f39da85619d7873d0e8dbe1 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842395 | {
"extension": "c-sharp",
"max_stars_count": "1.0",
"max_stars_repo_name": "dtsudo/DT-Danmaku-2",
"max_stars_repo_path": "Dependencies/AgateLib/Agate031/Source/Tests/CoreTests/TgzProviderTester.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161615"
} | starcoder | <filename>Dependencies/AgateLib/Agate031/Source/Tests/CoreTests/TgzProviderTester.cs
using System;
using System.Collections.Generic;
using System.Linq;
using AgateLib;
using AgateLib.DisplayLib;
using AgateLib.Geometry;
using AgateLib.Utility;
namespace Tests.TgzProviderTester
{
class TgzProviderTester ... | 2.442131 | ba561ecbc2a7a8c310e945514f1d949c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842396 | {
"extension": "c-sharp",
"max_stars_count": "15.0",
"max_stars_repo_name": "SugdenM/AspNetCore6WebAPIFundamentals",
"max_stars_repo_path": "CityInfo.API/Services/PaginationMetadata.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161616"
} | starcoder | namespace CityInfo.API.Services
{
public class PaginationMetadata
{
public int TotalItemCount { get; set; }
public int TotalPageCount { get; set; }
public int PageSize { get; set; }
public int CurrentPage { get; set; }
public PaginationMetadata(int totalItemCount, int p... | 2.72157 | 2b799f9dffcc93db34cc6337be154658 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842397 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Varorbc/alipay-sdk-net-all",
"max_stars_repo_path": "AlipaySDKNet/Response/AlipayUserSocialinfoQueryResponse.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161617"
} | starcoder | <filename>AlipaySDKNet/Response/AlipayUserSocialinfoQueryResponse.cs
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayUserSocialinfoQueryResponse.
/// </summary>
public class AlipayUserSocialinfoQu... | 1.904707 | 44f4a3dc2535b2388feefc861a035c0e |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842398 | {
"extension": "c-sharp",
"max_stars_count": "4.0",
"max_stars_repo_name": "NamedEngine/Runtime",
"max_stars_repo_path": "Assets/Scripts/Language/Variables/TopDownPlayer/FlipXIfNotPresent.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161618"
} | starcoder | <reponame>NamedEngine/Runtime
using Player;
using UnityEngine;
namespace Language.Variables.TopDownPlayer {
public class FlipXIfNotPresent : SpecialVariable<bool> {
PlayerTopDownAnimation _playerAnimation;
void SetPlayerAnimation() {
_playerAnimation = BoundGameObject.GetComponent<Pla... | 2.407813 | 938774692ef688f2486c456bbf912b5c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842399 | {
"extension": "c-sharp",
"max_stars_count": "39.0",
"max_stars_repo_name": "Banandana/LineSharp",
"max_stars_repo_path": "LINE/gen-csharp/LINE/Datatypes/Product.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161619"
} | starcoder | <reponame>Banandana/LineSharp
/**
* Autogenerated by Thrift Compiler (0.9.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
us... | 1.237942 | dca8d29b178e1c98c219a7f87ffa0175 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842400 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "Floglor/Biolab",
"max_stars_repo_path": "Assets/Scripts/General/Subject.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161620"
} | starcoder | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
namespace General
{
public abstract class Subject : MonoBehaviour
{
private readonly List<Observer> _observers = new List<Observer>();
public void RegisterObserver(Observer observer)
{
_observers.Add(observer... | 2.141809 | 03d5676cc93b907a4e75a447a501374c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842401 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "nickkimbrough/yamb",
"max_stars_repo_path": "YAMB/Services/StartupService.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161621"
} | starcoder | using Discord;
using Discord.Commands;
using Discord.WebSocket;
using Microsoft.Extensions.Configuration;
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace YAMB.Services
{
public class StartupService
{
private readonly IServiceProvider _provider;
private readonly D... | 2.198329 | 9246d58a96b4d33a8b0272f2e2e1ea05 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842402 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "steele123/Trials-Of-Titan",
"max_stars_repo_path": "Library/TitanCore/Core/WorldEffect.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161622"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utils.NET.Geometry;
using Utils.NET.IO;
namespace TitanCore.Core
{
public enum WorldEffectType
{
Blast,
Bomb,
BombBlast,
LevelUp,
HealLaser,
WarriorAbility,
Alche... | 2.689667 | 819773c469f1eb07c14fd275f0f017cd |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842403 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "returner/asp-net-core-jwt-identity",
"max_stars_repo_path": "AspNetCoreJwtIdentity/Controllers/User/UserController.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161623"
} | starcoder | using AspNetCoreJwtIdentity.Constants;
using AspNetCoreJwtIdentity.Helpers;
using BusinessLayer.Commands.Users;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SharedModel.Contract.Request;
using SharedModel.Contract.Response;
using SharedModel.Payloads;
using Swashbuckle... | 2.098743 | 3b2f341c5a00e735b6a459ed66a0241c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842404 | {
"extension": "c-sharp",
"max_stars_count": "6.0",
"max_stars_repo_name": "optivem/optivem-commons-cs",
"max_stars_repo_path": "template/microservice/src/Infrastructure/Atomiv.Template.Infrastructure.Domain.Repositories/Products/ProductReadonlyRepository.cs",
"provenance": "train-00027-of-00045.jsonl.gz:1616... | starcoder | <reponame>optivem/optivem-commons-cs<gh_stars>1-10
using Microsoft.EntityFrameworkCore;
using Atomiv.Template.Core.Domain.Products;
using Atomiv.Template.Infrastructure.Domain.Persistence.Common;
using System.Threading.Tasks;
using System.Collections.Generic;
using Atomiv.Template.Infrastructure.Domain.Persistence.Rec... | 2.42908 | a95162c764d82d3a92cd3aeae4bb8bda |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842405 | {
"extension": "c-sharp",
"max_stars_count": "8.0",
"max_stars_repo_name": "sipsorcery/Vp8.Net",
"max_stars_repo_path": "src/ArrPtr.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161625"
} | starcoder | //-----------------------------------------------------------------------------
// Filename: ArrPtr.cs
//
// Description: This class can be used where the common C pattern of using
// a pointer to an array is employed. For example:
//
// MODE_INFO *mip; /* Base of allocated array */
// MODE_INFO* mi; /* Corres... | 2.937238 | 419a545611e8a4078b28797abdf23d2c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842406 | {
"extension": "c-sharp",
"max_stars_count": "42.0",
"max_stars_repo_name": "ethanedits/Universal-Unity-ESP",
"max_stars_repo_path": "Universal-Unity-ESP/Render.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161626"
} | starcoder | <gh_stars>10-100
using UnityEngine;
namespace Universal_Unity_ESP
{
public class Render : MonoBehaviour
{
public static GUIStyle StringStyle { get; set; } = new GUIStyle(GUI.skin.label);
public static Color Color
{
get { return GUI.color; }
set { GUI.color = value; }
}
public static void DrawStrin... | 2.612806 | 552800e1c22f9006f4c2aee749f7e775 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842407 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "knoepdan/Bom",
"max_stars_repo_path": "Source/Bom/CoreTest/SimpleTests.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161627"
} | starcoder | <reponame>knoepdan/Bom<gh_stars>0
using System;
using System.Linq;
using Xunit;
using Bom.Core.TestUtils;
using Bom.Core.Testing;
using Ch.Knomes.Struct.Testing;
namespace Bom.Core
{
public class SimpleTests
{
[Fact]
public void Database_clean_does_not_throw()
{
try
... | 1.917327 | 9692257ee63426649be398b6d55ce45c |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842408 | {
"extension": "c-sharp",
"max_stars_count": "112.0",
"max_stars_repo_name": "telerik/JustMockLite",
"max_stars_repo_path": "Telerik.JustMock.DemoLib/FooImplementFullSerialization.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161628"
} | starcoder | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Telerik.JustMock.DemoLib
{
[Serializable]
public class FooImplementSerializationAttributeAndInterface : ISerializable
{
public virtual i... | 2.242023 | 2e360564d64be6a29293248e39762c08 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842409 | {
"extension": "c-sharp",
"max_stars_count": "0.0",
"max_stars_repo_name": "andvant/Noteapp",
"max_stars_repo_path": "src/Core/Dtos/NoteRequest.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161629"
} | starcoder | <filename>src/Core/Dtos/NoteRequest.cs
namespace Noteapp.Core.Dtos
{
public class NoteRequest
{
public string Text { get; set; }
public bool Locked { get; set; }
public bool Archived { get; set; }
public bool Pinned { get; set; }
public bool Published { get; set; }
}... | 1.735289 | c8184c0eade51ca197ee6062758c5937 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842410 | {
"extension": "c-sharp",
"max_stars_count": "29.0",
"max_stars_repo_name": "dmilov/script-runtime-service-for-vsphere",
"max_stars_repo_path": "src/Endpoint/VMware.ScriptRuntimeService.APIGateway/Runspace/Impl/Statistics/RunspaceStats.cs",
"provenance": "train-00027-of-00045.jsonl.gz:161630"
} | starcoder | <reponame>dmilov/script-runtime-service-for-vsphere<filename>src/Endpoint/VMware.ScriptRuntimeService.APIGateway/Runspace/Impl/Statistics/RunspaceStats.cs
// **************************************************************************
// Copyright 2020 VMware, Inc.
// SPDX-License-Identifier: Apache-2.0
// ***********... | 2.013874 | 0d26ce584e70b27d5ccc3b14728cd097 |
2023-09-08T23:13:54.396Z | 2023-09-08T23:13:54.396Z | 8842411 | {
"extension": "c-sharp",
"max_stars_count": "2.0",
"max_stars_repo_name": "badpaybad/opendotnet-ecommerce-platform",
"max_stars_repo_path": "Core.FrontEnd/Areas/Admin/Views/AdminProduct/Index.cshtml",
"provenance": "train-00027-of-00045.jsonl.gz:161631"
} | starcoder | <reponame>badpaybad/opendotnet-ecommerce-platform
@using DomainDrivenDesign.Core
@model Core.FrontEnd.Areas.Admin.Models.ProductListAdminPage
@{
ViewBag.Title = "List product";
Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
var defaultLang = EngineeCurrentContext.GetDefaultLanguage();
var curre... | 2.109022 | 4e9fb73e73dac3c871c32e2fcb5460db |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.